aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ast/ast.h
diff options
context:
space:
mode:
authorclairexen <claire@symbioticeda.com>2020-06-04 18:26:07 +0200
committerGitHub <noreply@github.com>2020-06-04 18:26:07 +0200
commit352731df4e0bf344cd20533a5561bc8ba3e07853 (patch)
tree12c29d3b7b87037b1b0e3a768b764801b7e34d9f /frontends/ast/ast.h
parentba99c0ea8140131a95ed3d5467c5b2c93d16552e (diff)
parent0d3f7ea011288e1a1fadd4ae27f1e8a57d729053 (diff)
downloadyosys-352731df4e0bf344cd20533a5561bc8ba3e07853.tar.gz
yosys-352731df4e0bf344cd20533a5561bc8ba3e07853.tar.bz2
yosys-352731df4e0bf344cd20533a5561bc8ba3e07853.zip
Merge pull request #2041 from PeterCrozier/struct
Implementation of SV structs.
Diffstat (limited to 'frontends/ast/ast.h')
-rw-r--r--frontends/ast/ast.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/frontends/ast/ast.h b/frontends/ast/ast.h
index 8932108e3..6d556fae2 100644
--- a/frontends/ast/ast.h
+++ b/frontends/ast/ast.h
@@ -143,7 +143,7 @@ namespace AST
AST_GENCASE,
AST_GENBLOCK,
AST_TECALL,
-
+
AST_POSEDGE,
AST_NEGEDGE,
AST_EDGE,
@@ -156,7 +156,10 @@ namespace AST
AST_PACKAGE,
AST_WIRETYPE,
- AST_TYPEDEF
+ AST_TYPEDEF,
+ AST_STRUCT,
+ AST_UNION,
+ AST_STRUCT_ITEM
};
struct AstSrcLocType {
@@ -306,6 +309,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