mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-20 12:53:39 +00:00
Index struct/union members within corresponding wire chunks
This guards against access to bits outside of struct/union members via dynamic indexing.
This commit is contained in:
parent
79043cb849
commit
0d3423ddea
5 changed files with 68 additions and 32 deletions
|
@ -380,6 +380,7 @@ namespace AST
|
|||
|
||||
// struct helper exposed from simplify for genrtlil
|
||||
AstNode *make_struct_member_range(AstNode *node, AstNode *member_node);
|
||||
AstNode *get_struct_member(const AstNode *node);
|
||||
|
||||
// generate standard $paramod... derived module name; parameters should be
|
||||
// in the order they are declared in the instantiated module
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue