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