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:
Miodrag Milanović 2023-11-20 15:37:01 +01:00 committed by GitHub
commit 191ac91951
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;