diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-10-14 16:49:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-14 16:49:15 +0200 |
commit | 2daa56859f51631992cc172ccddad55e741b0c3d (patch) | |
tree | ead6747321cd878dbba0543ef2e07ec02fc7a7ab /frontends/ast/ast.h | |
parent | e909f29ca32f29352b8e05518bca1d181808e524 (diff) | |
parent | e84cedfae4211244da45ef51a84213874579117e (diff) | |
download | yosys-2daa56859f51631992cc172ccddad55e741b0c3d.tar.gz yosys-2daa56859f51631992cc172ccddad55e741b0c3d.tar.bz2 yosys-2daa56859f51631992cc172ccddad55e741b0c3d.zip |
Merge pull request #1448 from YosysHQ/daveshah1-sv-experiments
Typedef support (with wrong syntax)
Diffstat (limited to 'frontends/ast/ast.h')
-rw-r--r-- | frontends/ast/ast.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/frontends/ast/ast.h b/frontends/ast/ast.h index 0ec249ab9..918d178c7 100644 --- a/frontends/ast/ast.h +++ b/frontends/ast/ast.h @@ -148,7 +148,10 @@ namespace AST AST_INTERFACEPORTTYPE, AST_MODPORT, AST_MODPORTMEMBER, - AST_PACKAGE + AST_PACKAGE, + + AST_WIRETYPE, + AST_TYPEDEF }; // convert an node type to a string (e.g. for debug output) @@ -174,7 +177,7 @@ namespace AST // node content - most of it is unused in most node types std::string str; std::vector<RTLIL::State> bits; - bool is_input, is_output, is_reg, is_logic, is_signed, is_string, is_wand, is_wor, range_valid, range_swapped, was_checked, is_unsized; + bool is_input, is_output, is_reg, is_logic, is_signed, is_string, is_wand, is_wor, range_valid, range_swapped, was_checked, is_unsized, is_custom_type; int port_id, range_left, range_right; uint32_t integer; double realvalue; |