diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-09-04 15:07:30 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-09-04 15:07:30 +0200 |
commit | 01ef34c147dd3e3e3d13864f9c726727a4013207 (patch) | |
tree | 472d5471b0e816959cadc25d883b1556221407e0 /tests/various/constmsk_test.v | |
parent | f5a40e70431bc09072ca79c22c356ec0c0c9bb8b (diff) | |
download | yosys-01ef34c147dd3e3e3d13864f9c726727a4013207.tar.gz yosys-01ef34c147dd3e3e3d13864f9c726727a4013207.tar.bz2 yosys-01ef34c147dd3e3e3d13864f9c726727a4013207.zip |
Added tests/various/constmsk_test.ys
Diffstat (limited to 'tests/various/constmsk_test.v')
-rw-r--r-- | tests/various/constmsk_test.v | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/various/constmsk_test.v b/tests/various/constmsk_test.v new file mode 100644 index 000000000..0d0e58fef --- /dev/null +++ b/tests/various/constmsk_test.v @@ -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 |