diff options
author | Clifford Wolf <clifford@clifford.at> | 2013-07-12 01:15:37 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2013-07-12 01:15:37 +0200 |
commit | ded769c98cffe5682c0211dba08abc4a1efe3d5a (patch) | |
tree | 04e2f69dd3f943996f2cb1098bcac0de91e0ef68 /tests/simple/vloghammer.v | |
parent | 3cd97a205f30e9c0671b3a909f3371fe02e0f0b2 (diff) | |
download | yosys-ded769c98cffe5682c0211dba08abc4a1efe3d5a.tar.gz yosys-ded769c98cffe5682c0211dba08abc4a1efe3d5a.tar.bz2 yosys-ded769c98cffe5682c0211dba08abc4a1efe3d5a.zip |
Fixed sign handling in ternary operator
Diffstat (limited to 'tests/simple/vloghammer.v')
-rw-r--r-- | tests/simple/vloghammer.v | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/simple/vloghammer.v b/tests/simple/vloghammer.v index eb0e15d02..c97a2be50 100644 --- a/tests/simple/vloghammer.v +++ b/tests/simple/vloghammer.v @@ -57,3 +57,11 @@ module test08(a, b, y); assign y = a == ($signed(b) >>> 1); endmodule +module test09(a, b, c, y); + input a; + input signed [1:0] b; + input signed [2:0] c; + output [3:0] y; + assign y = a ? b : c; +endmodule + |