From: Eddie Hung Date: Tue, 14 Apr 2020 19:39:10 +0000 (-0700) Subject: tests: add testcases from #1876 X-Git-Tag: working-ls180~650^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e7121cc15c33875b7da7bd54c246689f6cb25ea7;p=yosys.git tests: add testcases from #1876 --- diff --git a/tests/various/bug1876.ys b/tests/various/bug1876.ys new file mode 100644 index 000000000..7995eedcf --- /dev/null +++ b/tests/various/bug1876.ys @@ -0,0 +1,60 @@ +read_verilog < 0; +endmodule +EOT + + +design -reset +read_verilog <((-3'sd0)>>(4'sd2)))}}; + + assign y8 = (-(!($signed({3{p9}})<(p4?b4:b5)))); +endmodule +EOT + + +design -reset +read_verilog <