aboutsummaryrefslogtreecommitdiffstats
path: root/tests/various/pmux2shiftx.v
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-06-27 11:54:34 -0700
committerEddie Hung <eddie@fpgeh.com>2019-06-27 11:54:34 -0700
commit440f173aef421f30c6ce63822532dbb8a1b231af (patch)
treeec14c261f6efb62e6c9c8f0460c2c6f32d874419 /tests/various/pmux2shiftx.v
parent83f143015bc21423877d5074f11ce156073dfdf1 (diff)
parenteab8384ec7108db62573567f9fbceca62adfdbe5 (diff)
downloadyosys-440f173aef421f30c6ce63822532dbb8a1b231af.tar.gz
yosys-440f173aef421f30c6ce63822532dbb8a1b231af.tar.bz2
yosys-440f173aef421f30c6ce63822532dbb8a1b231af.zip
Merge remote-tracking branch 'origin/master' into xaig
Diffstat (limited to 'tests/various/pmux2shiftx.v')
-rw-r--r--tests/various/pmux2shiftx.v10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/various/pmux2shiftx.v b/tests/various/pmux2shiftx.v
index fec84187b..563394080 100644
--- a/tests/various/pmux2shiftx.v
+++ b/tests/various/pmux2shiftx.v
@@ -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