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 {
127
127
// }
128
128
break ;
129
129
}
130
+ extra_args (args, argidx, design);
130
131
131
132
log_header (design, " Executing AUTONAME pass.\n " );
132
133
Original file line number Diff line number Diff line change @@ -171,17 +171,20 @@ module \top
171
171
end
172
172
end
173
173
EOT
174
- # wires all named for being cell outputs
174
+ # wires are named for being cell outputs
175
175
logger -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
+
176
180
# $name gets shortest name (otherwise bcd_$__unknown_B)
177
181
logger -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
179
182
# another output wire
180
183
logger -expect log "Rename wire .e in top to or_Y_.or_B_Y" 1
181
184
# $name3 named for lowest fanout wire (otherwise a_$__unknown_A_Y_$and_A)
182
185
logger -expect log "Rename cell .name3 in top to or_Y_.or_B_Y_.and_B" 1
183
186
# $c gets shortest name, since the cell driving it doesn't have known port
184
187
# directions
185
188
logger -expect log "Rename wire .c in top to or_Y_.or_B_A" 1
186
- debug autoname t:$and
189
+ debug autoname
187
190
logger -check-expected
You can’t perform that action at this time.
0 commit comments