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
1 changed files with 3 additions and 0 deletions

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;