mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-22 00:26:40 +00:00
If imported module has parameters it is not a blackbox
This commit is contained in:
parent
ef710eda5c
commit
da726a4e54
|
@ -228,6 +228,9 @@ RTLIL::SigBit VerificImporter::net_map_at(Net *net)
|
|||
|
||||
bool is_blackbox(Netlist *nl)
|
||||
{
|
||||
if (nl->HasParameters())
|
||||
return false;
|
||||
|
||||
if (nl->IsBlackBox() || nl->IsEmptyBox())
|
||||
return true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue