3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-02 17:30:24 +00:00

Added tests/various/constmsk_test.ys

This commit is contained in:
Clifford Wolf 2014-09-04 15:07:30 +02:00
parent f5a40e7043
commit 01ef34c147
3 changed files with 68 additions and 0 deletions

View file

@ -0,0 +1,4 @@
module test(input [3:0] A, output [3:0] Y1, Y2);
assign Y1 = |{A[3], 1'b0, A[1]};
assign Y2 = |{A[2], 1'b1, A[0]};
endmodule