mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-06 17:44:09 +00:00
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)
|
void VerificImporter::import_attributes(dict<RTLIL::IdString, RTLIL::Const> &attributes, DesignObj *obj, Netlist *nl)
|
||||||
{
|
{
|
||||||
|
if (!obj)
|
||||||
|
return;
|
||||||
|
|
||||||
MapIter mi;
|
MapIter mi;
|
||||||
Att *attr;
|
Att *attr;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue