-
Notifications
You must be signed in to change notification settings - Fork 995
Open
Description
Steps to reproduce the issue
read_verilog <<EOT
module top(
input wire in,
output wire out1, out2
);
wire int1, int2;
assign int1 = in;
assign out1 = in;
assign out2 = int2;
endmodule
EOT
dump
opt_clean
dump
Expected behavior
Both dump outputs should contain
connect \int1 \in
connect \out1 \in
connect \out2 \int2
Actual behavior
Second dump output instead contains
connect \int2 \out2
connect \int1 \in
connect \out1 \in
Notably, the connection between out2 and int2 has been reversed. I played around with connecting a few different types of signals and only saw this occur for an undriven signal driving an output wire.
Metadata
Metadata
Assignees
Labels
No labels