mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-23 04:38:55 +00:00
Added AST_MULTIRANGE (arrays with more than 1 dimension)
This commit is contained in:
parent
b4f10e342c
commit
d259abbda2
5 changed files with 80 additions and 6 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue