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);
|
Net *net_a_msb = inst->GetInput1Bit(0);
|
||||||
if (net_cin->IsGnd())
|
if (net_cin->IsGnd())
|
||||||
cell = module->addShr(inst_name, IN1, IN2, OUT, false);
|
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);
|
cell = module->addSshr(inst_name, IN1, IN2, OUT, true);
|
||||||
}
|
|
||||||
else
|
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());
|
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);
|
import_attributes(cell->attributes, inst);
|
||||||
|
@ -3167,7 +3166,7 @@ struct VerificPass : public Pass {
|
||||||
{
|
{
|
||||||
// |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
|
// |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
|
||||||
log("\n");
|
log("\n");
|
||||||
#ifdef VERIFIC_SYSTEMVERILOG_SUPPORT
|
#ifdef VERIFIC_SYSTEMVERILOG_SUPPORT
|
||||||
log(" verific {-vlog95|-vlog2k|-sv2005|-sv2009|-sv2012|-sv} <verilog-file>..\n");
|
log(" verific {-vlog95|-vlog2k|-sv2005|-sv2009|-sv2012|-sv} <verilog-file>..\n");
|
||||||
log("\n");
|
log("\n");
|
||||||
log("Load the specified Verilog/SystemVerilog files into Verific.\n");
|
log("Load the specified Verilog/SystemVerilog files into Verific.\n");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue