summaryrefslogtreecommitdiff
path: root/frontends/ast/ast.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-08-06 15:43:46 +0200
committerClifford Wolf <clifford@clifford.at>2014-08-06 15:52:54 +0200
commitd259abbda2b9d568228dc8d0bed2d0b0d88d7b4f (patch)
tree86c90432e4453f030be99a5e30a4c9d10ef53d62 /frontends/ast/ast.h
parentb4f10e342cf400bd2f392a588f28de069ba0f9d8 (diff)
Added AST_MULTIRANGE (arrays with more than 1 dimension)
Diffstat (limited to 'frontends/ast/ast.h')
-rw-r--r--frontends/ast/ast.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/frontends/ast/ast.h b/frontends/ast/ast.h
index 00b044bc..5fb1f0a7 100644
--- a/frontends/ast/ast.h
+++ b/frontends/ast/ast.h
@@ -56,6 +56,7 @@ namespace AST
AST_PARASET,
AST_ARGUMENT,
AST_RANGE,
+ AST_MULTIRANGE,
AST_CONSTANT,
AST_REALVALUE,
AST_CELLTYPE,
@@ -158,6 +159,9 @@ namespace AST
uint32_t integer;
double realvalue;
+ // if this is a multirange memory then this vector contains offset and length of each dimension
+ std::vector<int> multirange_dimensions;
+
// this is set by simplify and used during RTLIL generation
AstNode *id2ast;