summaryrefslogtreecommitdiff
path: root/src/mem/slicc/ast/ObjDeclAST.py
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2012-10-02 14:35:43 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2012-10-02 14:35:43 -0500
commit73eafe484992d488b88c14d94b8909dc488b067b (patch)
treef865555f3aa02cc5ad16c5c6100cb9557176d2a4 /src/mem/slicc/ast/ObjDeclAST.py
parent3c9d3b16d8aed879b1db682b1a7fe64f64b9cd7e (diff)
downloadgem5-73eafe484992d488b88c14d94b8909dc488b067b.tar.xz
ruby: remove some unused things in slicc
This patch removes the parts of slicc that were required for multi-chip protocols. Going ahead, it seems multi-chip protocols would be implemented by playing with the network itself.
Diffstat (limited to 'src/mem/slicc/ast/ObjDeclAST.py')
-rw-r--r--src/mem/slicc/ast/ObjDeclAST.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mem/slicc/ast/ObjDeclAST.py b/src/mem/slicc/ast/ObjDeclAST.py
index 8a967f7b8..389098cd9 100644
--- a/src/mem/slicc/ast/ObjDeclAST.py
+++ b/src/mem/slicc/ast/ObjDeclAST.py
@@ -41,8 +41,6 @@ class ObjDeclAST(DeclAST):
def generate(self):
machineComponentSym = False
- self["chip_object"] = "yes"
-
if "hack" in self:
warning("'hack=' is now deprecated")
@@ -70,9 +68,7 @@ class ObjDeclAST(DeclAST):
# FIXME : should all use accessors here to avoid public member
# variables
- if self.ident == "id":
- c_code = "m_chip_ptr.getID()"
- elif self.ident == "version":
+ if self.ident == "version":
c_code = "m_version"
elif self.ident == "machineID":
c_code = "m_machineID"