mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-08 08:51:56 +00:00
fix(parse): #5234 adjust width of rhs according to lhs
This commit is contained in:
parent
c0577890f0
commit
11b829ba70
3 changed files with 32 additions and 1 deletions
10
tests/sat/fminit_noexpand.ys
Normal file
10
tests/sat/fminit_noexpand.ys
Normal file
|
@ -0,0 +1,10 @@
|
|||
read_verilog -sv <<EOF
|
||||
module thing(input [2:0] in, output reg [2:0] out);
|
||||
assign out = in;
|
||||
endmodule
|
||||
EOF
|
||||
|
||||
select -assert-count 0 t:$eq
|
||||
fminit -set out 1'b1
|
||||
select -assert-count 1 t:$eq
|
||||
select -assert-count 1 t:$eq r:A_WIDTH=1 %i
|
Loading…
Add table
Add a link
Reference in a new issue