mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
Implement SV structs.
This commit is contained in:
parent
aafaeb66df
commit
0b6b47ca67
9 changed files with 508 additions and 203 deletions
|
@ -143,7 +143,7 @@ namespace AST
|
|||
AST_GENCASE,
|
||||
AST_GENBLOCK,
|
||||
AST_TECALL,
|
||||
|
||||
|
||||
AST_POSEDGE,
|
||||
AST_NEGEDGE,
|
||||
AST_EDGE,
|
||||
|
@ -156,7 +156,9 @@ namespace AST
|
|||
AST_PACKAGE,
|
||||
|
||||
AST_WIRETYPE,
|
||||
AST_TYPEDEF
|
||||
AST_TYPEDEF,
|
||||
AST_STRUCT,
|
||||
AST_STRUCT_ITEM
|
||||
};
|
||||
|
||||
struct AstSrcLocType {
|
||||
|
@ -306,6 +308,7 @@ namespace AST
|
|||
|
||||
// helpers for enum
|
||||
void allocateDefaultEnumValues();
|
||||
void annotateTypedEnums(AstNode *template_node);
|
||||
};
|
||||
|
||||
// process an AST tree (ast must point to an AST_DESIGN node) and generate RTLIL code
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue