Skip to content

Commit

Permalink
Merge pull request #3984 from YosysHQ/module_hdlname
Browse files Browse the repository at this point in the history
verific: save original module name
  • Loading branch information
mmicko authored Oct 5, 2023
2 parents 6b8203f + 268fe92 commit a54e6f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontends/verific/verific.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1275,6 +1275,7 @@ void VerificImporter::import_netlist(RTLIL::Design *design, Netlist *nl, std::ma
log("Importing module %s.\n", RTLIL::id2cstr(module->name));
}
import_attributes(module->attributes, nl, nl);
module->set_string_attribute(ID::hdlname, nl->CellBaseName());
const char *param_name ;
const char *param_value ;
MapIter mi;
Expand Down

0 comments on commit a54e6f2

Please sign in to comment.