Skip to content

Commit

Permalink
verific: don't try to import attributes from nullptr
Browse files Browse the repository at this point in the history
  • Loading branch information
nakengelhardt committed Nov 14, 2023
1 parent c11744b commit 5fb1264
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontends/verific/verific.cc
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,9 @@ static const std::string verific_unescape(const char *value)

void VerificImporter::import_attributes(dict<RTLIL::IdString, RTLIL::Const> &attributes, DesignObj *obj, Netlist *nl)
{
if (!obj)
return;

MapIter mi;
Att *attr;

Expand Down

0 comments on commit 5fb1264

Please sign in to comment.