mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
abc9_ops: assert on $specify2 properties
This commit is contained in:
parent
74f49b1f55
commit
3d6603792d
|
@ -572,7 +572,10 @@ void prep_lut(RTLIL::Design *design, int maxlut)
|
||||||
continue;
|
continue;
|
||||||
log_assert(cell->getParam(ID(SRC_WIDTH)) == 1);
|
log_assert(cell->getParam(ID(SRC_WIDTH)) == 1);
|
||||||
log_assert(cell->getParam(ID(DST_WIDTH)) == 1);
|
log_assert(cell->getParam(ID(DST_WIDTH)) == 1);
|
||||||
|
SigBit s = cell->getPort(ID(SRC));
|
||||||
SigBit d = cell->getPort(ID(DST));
|
SigBit d = cell->getPort(ID(DST));
|
||||||
|
log_assert(s.wire->port_input);
|
||||||
|
log_assert(d.wire->port_output);
|
||||||
if (o == SigBit())
|
if (o == SigBit())
|
||||||
o = d;
|
o = d;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue