projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dab1612
)
Don't blow up constants unneccessarily in Verilog frontend
author
Clifford Wolf
<clifford@clifford.at>
Mon, 24 Feb 2014 11:41:25 +0000
(12:41 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Mon, 24 Feb 2014 11:41:25 +0000
(12:41 +0100)
frontends/ast/genrtlil.cc
patch
|
blob
|
history
diff --git
a/frontends/ast/genrtlil.cc
b/frontends/ast/genrtlil.cc
index bc3783bda202268c233ab6118b65527ca34542df..dda069cb847dad206b2ee9e09a300eabd4a34f74 100644
(file)
--- a/
frontends/ast/genrtlil.cc
+++ b/
frontends/ast/genrtlil.cc
@@
-906,7
+906,7
@@
RTLIL::SigSpec AstNode::genRTLIL(int width_hint, bool sign_hint)
detectSignWidth(width_hint, sign_hint);
is_signed = sign_hint;
- return RTLIL::SigSpec(bitsAsConst(
width_hint, sign_hint
));
+ return RTLIL::SigSpec(bitsAsConst());
}
// simply return the corresponding RTLIL::SigSpec for an AST_IDENTIFIER node