Skip to content

Commit

Permalink
If imported module has parameters it is not a blackbox
Browse files Browse the repository at this point in the history
  • Loading branch information
akashlevy committed Jan 17, 2025
1 parent ef710ed commit da726a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontends/verific/verific.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit da726a4

Please sign in to comment.