projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ada8054
)
Fixed detectSignWidthWorker (ast frontend) for AST_CONCAT
author
Clifford Wolf
<clifford@clifford.at>
Sun, 3 Nov 2013 17:56:45 +0000
(18:56 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Sun, 3 Nov 2013 17:56:45 +0000
(18:56 +0100)
frontends/ast/genrtlil.cc
patch
|
blob
|
history
diff --git
a/frontends/ast/genrtlil.cc
b/frontends/ast/genrtlil.cc
index ff4841ec4472abef669517e7ec3d7090ccf74dbe..ab22b8657fdc733069542d965707dbcf9df4ab72 100644
(file)
--- a/
frontends/ast/genrtlil.cc
+++ b/
frontends/ast/genrtlil.cc
@@
-587,7
+587,7
@@
void AstNode::detectSignWidthWorker(int &width_hint, bool &sign_hint)
for (auto child : children) {
sub_width_hint = 0;
sub_sign_hint = true;
- child->detectSignWidthWorker(
width_hint,
sign_hint);
+ child->detectSignWidthWorker(
sub_width_hint, sub_
sign_hint);
this_width += sub_width_hint;
}
width_hint = std::max(width_hint, this_width);