From b6fbeb0969773770af79fe4bd8f5b15c863ef90b Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Mon, 26 Feb 2018 15:26:01 +0100 Subject: [PATCH] Add handling of verific OPER_REDUCE_NOR Signed-off-by: Clifford Wolf --- frontends/verific/verific.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontends/verific/verific.cc b/frontends/verific/verific.cc index 1a16f7508..e85e6cf71 100644 --- a/frontends/verific/verific.cc +++ b/frontends/verific/verific.cc @@ -478,6 +478,12 @@ bool VerificImporter::import_netlist_instance_cells(Instance *inst, RTLIL::IdStr return true; } + if (inst->Type() == OPER_REDUCE_NOR) { + SigSpec t = module->ReduceOr(NEW_ID, IN, SIGNED); + module->addNot(inst_name, t, net_map_at(inst->GetOutput())); + return true; + } + if (inst->Type() == OPER_LESSTHAN) { Net *net_cin = inst->GetCin(); if (net_cin->IsGnd())