3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-24 13:18:56 +00:00

Support for arrays with swapped ranges within structs

This also corrects the implementation of C type arrays within structs.

Fixes #3550
This commit is contained in:
Dag Lem 2022-11-12 08:48:25 +01:00
parent a217450524
commit bab88630c2
3 changed files with 118 additions and 11 deletions

View file

@ -203,7 +203,7 @@ namespace AST
// if this is a multirange memory then this vector contains offset and length of each dimension
std::vector<int> multirange_dimensions;
std::vector<bool> multirange_swapped; // true if range is swapped, not used for structs
std::vector<bool> multirange_swapped; // true if range is swapped
// this is set by simplify and used during RTLIL generation
AstNode *id2ast;