3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-08 20:21:25 +00:00

Add #1135 testcase

This commit is contained in:
Eddie Hung 2019-06-27 11:02:52 -07:00
parent 7c14678ec0
commit 18acb72c05
2 changed files with 25 additions and 4 deletions

View file

@ -32,3 +32,13 @@ module pmux2shiftx_test (
endcase
end
endmodule
module issue01135(input [7:0] i, output o);
always @*
case (i[6:3])
4: o <= i[0];
3: o <= i[2];
7: o <= i[3];
default: o <= 1'b0;
endcase
endmodule