mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-03 13:55:48 +00:00
gzip: istream
This commit is contained in:
parent
7c6d2b44a5
commit
6c55df3467
7 changed files with 225 additions and 138 deletions
|
@ -2777,13 +2777,13 @@ bool AstNode::simplify(bool const_fold, int stage, int width_hint, bool sign_hin
|
|||
mux_input = new AstNode(AST_BIT_NOT, mux_input);
|
||||
}
|
||||
AstNode *node = new AstNode(AST_TERNARY, children_list.at(2));
|
||||
// if (str == "bufif0") {
|
||||
// node->children.push_back(AstNode::mkconst_bits(z_const, false));
|
||||
// node->children.push_back(mux_input);
|
||||
// } else {
|
||||
// node->children.push_back(mux_input);
|
||||
// node->children.push_back(AstNode::mkconst_bits(z_const, false));
|
||||
// }
|
||||
if (str == "bufif0") {
|
||||
node->children.push_back(AstNode::mkconst_bits(z_const, false));
|
||||
node->children.push_back(mux_input);
|
||||
} else {
|
||||
node->children.push_back(mux_input);
|
||||
node->children.push_back(AstNode::mkconst_bits(z_const, false));
|
||||
}
|
||||
|
||||
str.clear();
|
||||
type = AST_ASSIGN;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue