3
0
Fork 0
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:
Akash Levy 2025-01-17 01:14:40 -08:00
parent ef710eda5c
commit da726a4e54

View file

@ -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;