We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b31cf9 commit 3247d50Copy full SHA for 3247d50
backends/smt2/smt2.cc
@@ -460,7 +460,7 @@ struct Smt2Worker
460
{
461
RTLIL::SigSpec sig_a, sig_b;
462
RTLIL::SigSpec sig_y = sigmap(cell->getPort(ID::Y));
463
- bool is_signed = type == 'U' ? false : cell->getParam(ID::A_SIGNED).as_bool();
+ bool is_signed = type == 'U' ? false : cell->hasParam(ID::A_SIGNED) && cell->getParam(ID::A_SIGNED).as_bool();
464
int width = GetSize(sig_y);
465
466
if (type == 's' || type == 'S' || type == 'd' || type == 'b') {
0 commit comments