mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
Merge pull request #1851 from YosysHQ/claire/bitselwrite
Improved rewrite code for writing to bit slice
This commit is contained in:
commit
9e1afde7a0
17 changed files with 1431 additions and 15 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue