aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ast/ast.h
diff options
context:
space:
mode:
authorClaire Wolf <clifford@clifford.at>2020-04-21 18:46:52 +0200
committerGitHub <noreply@github.com>2020-04-21 18:46:52 +0200
commit9e1afde7a02e6d3a65c106f74920dcad9e678a04 (patch)
treee521580ec3e49a3e5ead7c834bc8e9664a950d58 /frontends/ast/ast.h
parentabc8f1fcb65bb99ef4bf6fc6c6aa3126c333c68f (diff)
parentd32e56a3d1bdb36a77c0c3afad2eb4493292480b (diff)
downloadyosys-9e1afde7a02e6d3a65c106f74920dcad9e678a04.tar.gz
yosys-9e1afde7a02e6d3a65c106f74920dcad9e678a04.tar.bz2
yosys-9e1afde7a02e6d3a65c106f74920dcad9e678a04.zip
Merge pull request #1851 from YosysHQ/claire/bitselwrite
Improved rewrite code for writing to bit slice
Diffstat (limited to 'frontends/ast/ast.h')
-rw-r--r--frontends/ast/ast.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/frontends/ast/ast.h b/frontends/ast/ast.h
index 3dd40238f..3f6329112 100644
--- a/frontends/ast/ast.h
+++ b/frontends/ast/ast.h
@@ -202,6 +202,9 @@ namespace AST
// this is used by simplify to detect if basic analysis has been performed already on the node
bool basic_prep;
+ // this is used for ID references in RHS expressions that should use the "new" value for non-blocking assignments
+ bool lookahead;
+
// this is the original sourcecode location that resulted in this AST node
// it is automatically set by the constructor using AST::current_filename and
// the AST::get_line_num() callback function.
@@ -352,6 +355,7 @@ namespace AST_INTERNAL
extern AST::AstNode *current_always, *current_top_block, *current_block, *current_block_child;
extern AST::AstModule *current_module;
extern bool current_always_clocked;
+ struct LookaheadRewriter;
struct ProcessGenerator;
}