aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/pyunit/Current.vhdl
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-08-11 11:48:00 +0200
committerumarcor <unai.martinezcorral@ehu.eus>2021-08-23 16:35:34 +0200
commitb34f3e885407693a2839771fd469af4ce2b40978 (patch)
tree06ebd51682dbeaa005d13533386b9b8475efc921 /testsuite/pyunit/Current.vhdl
parent3abbfe34b529af865d6549bb3e6ed47ea1ab1e37 (diff)
downloadghdl-b34f3e885407693a2839771fd469af4ce2b40978.tar.gz
ghdl-b34f3e885407693a2839771fd469af4ce2b40978.tar.bz2
ghdl-b34f3e885407693a2839771fd469af4ce2b40978.zip
Improvements for case generate statements.
Diffstat (limited to 'testsuite/pyunit/Current.vhdl')
-rw-r--r--testsuite/pyunit/Current.vhdl17
1 files changed, 16 insertions, 1 deletions
diff --git a/testsuite/pyunit/Current.vhdl b/testsuite/pyunit/Current.vhdl
index c0c66b0e9..1f1e6c51c 100644
--- a/testsuite/pyunit/Current.vhdl
+++ b/testsuite/pyunit/Current.vhdl
@@ -151,9 +151,24 @@ begin
begin
inst: component Case0Dummy;
- when others =>
+ when 1 | 2 =>
constant G5 : boolean := False;
begin
+ inst: component Case12Dummy;
+
+ when 3 to 4 =>
+ constant G6 : boolean := False;
+ begin
+ inst: component Case34Dummy;
+
+ when 5 to 6 | 8 to 9 =>
+ constant G7 : boolean := False;
+ begin
+ inst: component Case5689Dummy;
+
+ when others =>
+ constant G8 : boolean := False;
+ begin
inst: component OthersDummy;
end generate;
end architecture behav;