mirror of https://github.com/YosysHQ/yosys.git
Don't blow up constants unneccessarily in Verilog frontend
This commit is contained in:
parent
dab1612f81
commit
6bc94b7eb2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue