aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-01-09 08:39:12 +0100
committerTristan Gingold <tgingold@free.fr>2021-01-09 09:17:50 +0100
commit3064b81281132863c0597aa5b14b6bde487253b1 (patch)
tree45e590e87ae1e2b3f855156261e13b09226c9b24 /testsuite
parentd2990978f76425b736e01c936e878048e4801f65 (diff)
downloadghdl-3064b81281132863c0597aa5b14b6bde487253b1.tar.gz
ghdl-3064b81281132863c0597aa5b14b6bde487253b1.tar.bz2
ghdl-3064b81281132863c0597aa5b14b6bde487253b1.zip
testsuite/sanity: improve 004all08 (add sized bit strings)
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/sanity/004all08/all08.vhdl6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/sanity/004all08/all08.vhdl b/testsuite/sanity/004all08/all08.vhdl
index 4a47baddd..c3f5f8dba 100644
--- a/testsuite/sanity/004all08/all08.vhdl
+++ b/testsuite/sanity/004all08/all08.vhdl
@@ -250,11 +250,11 @@ architecture behav of reg_tb is
begin
case n is
when 0 =>
- return x"0000_0000";
+ return 32x"0000_0000";
when 1 =>
- return x"0000_0001";
+ return 32d"1";
when 2 =>
- return x"1111_1111";
+ return 32sb"1";
when 3 | 4 =>
return data_type'(x"3333_4444");
when 5 to 7 =>