diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-08-06 15:43:46 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-08-06 15:52:54 +0200 |
commit | d259abbda2b9d568228dc8d0bed2d0b0d88d7b4f (patch) | |
tree | 86c90432e4453f030be99a5e30a4c9d10ef53d62 /frontends/ast/ast.h | |
parent | b4f10e342cf400bd2f392a588f28de069ba0f9d8 (diff) | |
download | yosys-d259abbda2b9d568228dc8d0bed2d0b0d88d7b4f.tar.gz yosys-d259abbda2b9d568228dc8d0bed2d0b0d88d7b4f.tar.bz2 yosys-d259abbda2b9d568228dc8d0bed2d0b0d88d7b4f.zip |
Added AST_MULTIRANGE (arrays with more than 1 dimension)
Diffstat (limited to 'frontends/ast/ast.h')
-rw-r--r-- | frontends/ast/ast.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/frontends/ast/ast.h b/frontends/ast/ast.h index 00b044bc4..5fb1f0a73 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; |