mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-21 21:33:40 +00:00
Clean up Verific
This commit is contained in:
parent
db83aaee09
commit
f76fd9280b
1 changed files with 2 additions and 3 deletions
|
@ -1007,9 +1007,8 @@ bool VerificImporter::import_netlist_instance_cells(Instance *inst, RTLIL::IdStr
|
|||
Net *net_a_msb = inst->GetInput1Bit(0);
|
||||
if (net_cin->IsGnd())
|
||||
cell = module->addShr(inst_name, IN1, IN2, OUT, false);
|
||||
else if (net_cin == net_a_msb) {
|
||||
else if (net_cin == net_a_msb)
|
||||
cell = module->addSshr(inst_name, IN1, IN2, OUT, true);
|
||||
}
|
||||
else
|
||||
log_error("Can't import Verific OPER_SHIFT_RIGHT instance %s: carry_in is neither 0 nor msb of left input\n", inst->Name());
|
||||
import_attributes(cell->attributes, inst);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue