File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ struct AutonamePass : public Pass {
127127 // }
128128 break ;
129129 }
130+ extra_args (args, argidx, design);
130131
131132 log_header (design, " Executing AUTONAME pass.\n " );
132133
Original file line number Diff line number Diff line change @@ -171,17 +171,20 @@ module \top
171171 end
172172end
173173EOT
174- # wires all named for being cell outputs
174+ # wires are named for being cell outputs
175175logger -expect log "Rename wire .d in top to or_Y" 1
176+ logger -expect log "Rename cell .name2 in top to or_Y_.or_B" 1
177+ debug autoname t:$or
178+ logger -check-expected
179+
176180# $name gets shortest name (otherwise bcd_$__unknown_B)
177181logger -expect log "Rename cell .name in top to a_.__unknown_A" 1
178- logger -expect log "Rename cell .name2 in top to or_Y_.or_B" 1
179182# another output wire
180183logger -expect log "Rename wire .e in top to or_Y_.or_B_Y" 1
181184# $name3 named for lowest fanout wire (otherwise a_$__unknown_A_Y_$and_A)
182185logger -expect log "Rename cell .name3 in top to or_Y_.or_B_Y_.and_B" 1
183186# $c gets shortest name, since the cell driving it doesn't have known port
184187# directions
185188logger -expect log "Rename wire .c in top to or_Y_.or_B_A" 1
186- debug autoname t:$and
189+ debug autoname
187190logger -check-expected
You can’t perform that action at this time.
0 commit comments