mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-05 17:14:08 +00:00
Correctly treat empty modules as blackboxes in Verific
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
f6ff311a1d
commit
55bda2b2c6
|
@ -130,7 +130,7 @@ RTLIL::SigBit VerificImporter::net_map_at(Net *net)
|
|||
|
||||
bool is_blackbox(Netlist *nl)
|
||||
{
|
||||
if (nl->IsBlackBox())
|
||||
if (nl->IsBlackBox() || nl->IsEmptyBox())
|
||||
return true;
|
||||
|
||||
const char *attr = nl->GetAttValue("blackbox");
|
||||
|
|
Loading…
Reference in a new issue