Skip to content

Commit 493be12

Browse files
committed
AIG generation: ignore Verilog named blocks
Verilog named blocks do not need to be allocated AIG nodes.
1 parent 04b418e commit 493be12

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/trans-netlist/trans_to_netlist.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,10 @@ void convert_trans_to_netlistt::map_vars(
229229
{
230230
return; // ignore modules
231231
}
232+
else if(symbol.type.id() == ID_named_block)
233+
{
234+
return; // ignore Verilog named blocks
235+
}
232236
else if(symbol.is_type)
233237
return; // ignore types
234238
else if (symbol.is_input)

0 commit comments

Comments
 (0)