mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
sv: fix two struct access bugs
- preserve signedness of struct members - fix initial width detection of struct members (e.g., in case expressions)
This commit is contained in:
parent
1aab608cff
commit
a9c8ca21d5
5 changed files with 102 additions and 1 deletions
|
@ -370,6 +370,9 @@ namespace AST
|
|||
|
||||
// Helper for setting the src attribute.
|
||||
void set_src_attr(RTLIL::AttrObject *obj, const AstNode *ast);
|
||||
|
||||
// struct helper exposed from simplify for genrtlil
|
||||
AstNode *make_struct_member_range(AstNode *node, AstNode *member_node);
|
||||
}
|
||||
|
||||
namespace AST_INTERNAL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue