diff options
| author | Claire Wolf <claire@symbioticeda.com> | 2020-04-15 20:36:40 +0200 |
|---|---|---|
| committer | Claire Wolf <claire@symbioticeda.com> | 2020-04-16 12:11:07 +0200 |
| commit | e1fb12a4b9e1d0685a1a1b060f2887f79b3c297f (patch) | |
| tree | f4928c7e4c62b041ae1ac3a88f205abb855d247e /frontends/ast/ast.cc | |
| parent | 4711fea6c085e773d65f10c630f8d7a698f5b323 (diff) | |
| download | yosys-e1fb12a4b9e1d0685a1a1b060f2887f79b3c297f.tar.gz yosys-e1fb12a4b9e1d0685a1a1b060f2887f79b3c297f.tar.bz2 yosys-e1fb12a4b9e1d0685a1a1b060f2887f79b3c297f.zip | |
Add LookaheadRewriter for proper bitselwrite support
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
Diffstat (limited to 'frontends/ast/ast.cc')
| -rw-r--r-- | frontends/ast/ast.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/frontends/ast/ast.cc b/frontends/ast/ast.cc index 2b6002548..4cf329f75 100644 --- a/frontends/ast/ast.cc +++ b/frontends/ast/ast.cc @@ -218,6 +218,7 @@ AstNode::AstNode(AstNodeType type, AstNode *child1, AstNode *child2, AstNode *ch realvalue = 0; id2ast = NULL; basic_prep = false; + lookahead = false; if (child1) children.push_back(child1); @@ -310,6 +311,10 @@ void AstNode::dumpAst(FILE *f, std::string indent) const fprintf(f, " reg"); if (is_signed) fprintf(f, " signed"); + if (basic_prep) + fprintf(f, " basic_prep"); + if (lookahead) + fprintf(f, " lookahead"); if (port_id > 0) fprintf(f, " port=%d", port_id); if (range_valid || range_left != -1 || range_right != 0) |
