mirror of https://github.com/YosysHQ/yosys.git
verific: don't try to import attributes from nullptr
This commit is contained in:
parent
c11744b4ef
commit
5fb1264db5
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue