mirror of https://github.com/YosysHQ/yosys.git
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 New Issue