mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #4031 from nakengelhardt/nak/fix_vhdl_blackbox_nullptr
verific: don't try to import attributes from nullptr
This commit is contained in:
commit
191ac91951
|
@ -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