Skip to content

Commit

Permalink
verific: expose library name as module attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
mmicko committed Apr 15, 2024
1 parent 7bb2746 commit af94123
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 @@ -1430,6 +1430,7 @@ void VerificImporter::import_netlist(RTLIL::Design *design, Netlist *nl, std::ma
}
import_attributes(module->attributes, nl, nl);
module->set_string_attribute(ID::hdlname, nl->CellBaseName());
module->set_string_attribute(ID(library), nl->Owner()->Owner()->Name());
#ifdef VERIFIC_VHDL_SUPPORT
if (nl->IsFromVhdl()) {
NameSpace name_space(0);
Expand Down

0 comments on commit af94123

Please sign in to comment.