aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho/oread/tests/arraggr1.on
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-12-08 05:31:45 +0100
committerTristan Gingold <tgingold@free.fr>2016-12-08 05:31:45 +0100
commite7f223da0ad86e2e00074302256aa43b43a83e9c (patch)
tree1c3eee24d7413e0b962f21d975a771ea4d46ce9b /src/ortho/oread/tests/arraggr1.on
parent7b556be5180c421a13e93e24393f3ab77df8f864 (diff)
downloadghdl-e7f223da0ad86e2e00074302256aa43b43a83e9c.tar.gz
ghdl-e7f223da0ad86e2e00074302256aa43b43a83e9c.tar.bz2
ghdl-e7f223da0ad86e2e00074302256aa43b43a83e9c.zip
Add tests for oread (some are old)
Diffstat (limited to 'src/ortho/oread/tests/arraggr1.on')
-rw-r--r--src/ortho/oread/tests/arraggr1.on12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ortho/oread/tests/arraggr1.on b/src/ortho/oread/tests/arraggr1.on
new file mode 100644
index 000000000..1c1313103
--- /dev/null
+++ b/src/ortho/oread/tests/arraggr1.on
@@ -0,0 +1,12 @@
+type __ghdl_index_type is unsigned (32);
+
+type __ghdl_char is unsigned (8);
+
+type __ghdl_chararray is array [__ghdl_index_type] of __ghdl_char;
+
+private constant _UI00000000 : subarray __ghdl_chararray[__ghdl_index_type'[10]
+ ];
+
+constant _UI00000000 := {__ghdl_char'[110], __ghdl_char'[101],
+ __ghdl_char'[115], __ghdl_char'[116], __ghdl_char'[49], __ghdl_char'[46],
+ __ghdl_char'[118], __ghdl_char'[104], __ghdl_char'[100], __ghdl_char'[0]};