aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-07-11 19:24:59 +0200
committerClifford Wolf <clifford@clifford.at>2013-07-11 19:24:59 +0200
commitb380c8c790233f9237b503656cfd28fd5e65eff5 (patch)
treed7a717de0615f1de66c38acfc753c404a603f1f2 /tests
parenta9fefc6ce1c0c351f88e61ec2a01ec64fc30d28f (diff)
downloadyosys-b380c8c790233f9237b503656cfd28fd5e65eff5.tar.gz
yosys-b380c8c790233f9237b503656cfd28fd5e65eff5.tar.bz2
yosys-b380c8c790233f9237b503656cfd28fd5e65eff5.zip
Another vloghammer related bugfix
Diffstat (limited to 'tests')
-rw-r--r--tests/simple/vloghammer.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/simple/vloghammer.v b/tests/simple/vloghammer.v
index 09987e7c9..eb0e15d02 100644
--- a/tests/simple/vloghammer.v
+++ b/tests/simple/vloghammer.v
@@ -50,3 +50,10 @@ module test07(a, b, y);
assign y = 2'b11 != a+b;
endmodule
+module test08(a, b, y);
+ input [1:0] a;
+ input [1:0] b;
+ output y;
+ assign y = a == ($signed(b) >>> 1);
+endmodule
+