aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue2002/synth_bug.ref
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-03-12 18:52:46 +0100
committerTristan Gingold <tgingold@free.fr>2022-03-12 18:52:46 +0100
commitaff48727a4d0ad4058b7d43a86ebd6ed24b9cc6d (patch)
tree96160d9e79f6ac2fb30efe411dfda4c81ffc8f9b /testsuite/synth/issue2002/synth_bug.ref
parentb6f0ff834c3b221ab5b2380c871d76c83808493b (diff)
downloadghdl-aff48727a4d0ad4058b7d43a86ebd6ed24b9cc6d.tar.gz
ghdl-aff48727a4d0ad4058b7d43a86ebd6ed24b9cc6d.tar.bz2
ghdl-aff48727a4d0ad4058b7d43a86ebd6ed24b9cc6d.zip
testsuite/synth: add test for #2002
Diffstat (limited to 'testsuite/synth/issue2002/synth_bug.ref')
-rw-r--r--testsuite/synth/issue2002/synth_bug.ref6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/synth/issue2002/synth_bug.ref b/testsuite/synth/issue2002/synth_bug.ref
new file mode 100644
index 000000000..3f74c866d
--- /dev/null
+++ b/testsuite/synth/issue2002/synth_bug.ref
@@ -0,0 +1,6 @@
+module bug
+ (output [33:0] o);
+ localparam [33:0] n1_o = 34'b0000000000000000000000000001111100;
+ assign o = n1_o;
+endmodule
+