mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-14 09:56:16 +00:00
Don't blow up constants unneccessarily in Verilog frontend
This commit is contained in:
parent
dab1612f81
commit
6bc94b7eb2
1 changed files with 1 additions and 1 deletions
|
@ -906,7 +906,7 @@ RTLIL::SigSpec AstNode::genRTLIL(int width_hint, bool sign_hint)
|
||||||
detectSignWidth(width_hint, sign_hint);
|
detectSignWidth(width_hint, sign_hint);
|
||||||
|
|
||||||
is_signed = 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
|
// simply return the corresponding RTLIL::SigSpec for an AST_IDENTIFIER node
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue