aboutsummaryrefslogtreecommitdiffstats
path: root/tests/various
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-06-20 12:03:00 +0200
committerClifford Wolf <clifford@clifford.at>2019-06-20 12:03:00 +0200
commit2428fb7dc2c2f24eab0d4283358e4eb7e8373146 (patch)
tree50111b37b6a5cdb991e96df3edf4f97e2f59b560 /tests/various
parent3b1e5264d8e333937fa9c06075b092bfd27be317 (diff)
parent8b8af10f5e612eb1a39320e20b2d1d6f1e7d45df (diff)
downloadyosys-2428fb7dc2c2f24eab0d4283358e4eb7e8373146.tar.gz
yosys-2428fb7dc2c2f24eab0d4283358e4eb7e8373146.tar.bz2
yosys-2428fb7dc2c2f24eab0d4283358e4eb7e8373146.zip
Merge branch 'unpacked_arrays' of https://github.com/towoe/yosys-sv into towoe-unpacked_arrays
Diffstat (limited to 'tests/various')
-rw-r--r--tests/various/unpacked_arrays.sv4
-rw-r--r--tests/various/unpacked_arrays.ys2
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/various/unpacked_arrays.sv b/tests/various/unpacked_arrays.sv
new file mode 100644
index 000000000..2f4ed0d3f
--- /dev/null
+++ b/tests/various/unpacked_arrays.sv
@@ -0,0 +1,4 @@
+module unpacked_arrays;
+ reg array_range [0:7];
+ reg array_size [8];
+endmodule
diff --git a/tests/various/unpacked_arrays.ys b/tests/various/unpacked_arrays.ys
new file mode 100644
index 000000000..419152d9c
--- /dev/null
+++ b/tests/various/unpacked_arrays.ys
@@ -0,0 +1,2 @@
+read_verilog -sv unpacked_arrays.sv
+stat