mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-25 23:33:42 +00:00
Add LookaheadRewriter for proper bitselwrite support
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
This commit is contained in:
parent
4711fea6c0
commit
e1fb12a4b9
4 changed files with 144 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue