Fix VerificImporter asymmetric memories error message
authorClifford Wolf <clifford@clifford.at>
Wed, 2 Jan 2019 14:05:23 +0000 (15:05 +0100)
committerClifford Wolf <clifford@clifford.at>
Wed, 2 Jan 2019 14:05:23 +0000 (15:05 +0100)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
frontends/verific/verific.cc

index 61d9d593cf17a82f3796ee07ae4f52d6ee294c18..5280a2b9c12c81582b1baaf4a04d876a776bd725 100644 (file)
@@ -1201,7 +1201,7 @@ void VerificImporter::import_netlist(RTLIL::Design *design, Netlist *nl, std::se
                {
                        RTLIL::Memory *memory = module->memories.at(RTLIL::escape_id(inst->GetOutput()->Name()));
                        if (memory->width != int(inst->Input2Size()))
-                               log_error("Import of asymmetric memories of this type is not supported yet: %s %s\n", inst->Name(), inst->GetInput()->Name());
+                               log_error("Import of asymmetric memories of this type is not supported yet: %s %s\n", inst->Name(), inst->GetOutput()->Name());
 
                        RTLIL::SigSpec addr = operatorInput1(inst);
                        RTLIL::SigSpec data = operatorInput2(inst);