verific: don't try to import attributes from nullptr

This commit is contained in:
N. Engelhardt 2023-11-14 15:05:24 +01:00
parent c11744b4ef
commit 5fb1264db5
1 changed files with 3 additions and 0 deletions

View File

@ -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;