diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-08-11 02:55:48 +0200 |
---|---|---|
committer | umarcor <unai.martinezcorral@ehu.eus> | 2021-08-23 16:35:34 +0200 |
commit | 3f31acc7304b03996f045f39b9e1130a4ffdc330 (patch) | |
tree | 22ca4fbdb73ac850b00aa6c9a5fe4d892089520c /testsuite/pyunit | |
parent | 63cd71d89d9e389299cfb1c2faca35463d6502ee (diff) | |
download | ghdl-3f31acc7304b03996f045f39b9e1130a4ffdc330.tar.gz ghdl-3f31acc7304b03996f045f39b9e1130a4ffdc330.tar.bz2 ghdl-3f31acc7304b03996f045f39b9e1130a4ffdc330.zip |
Improved pretty-printing for hierarchy.
Diffstat (limited to 'testsuite/pyunit')
-rw-r--r-- | testsuite/pyunit/Current.vhdl | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/testsuite/pyunit/Current.vhdl b/testsuite/pyunit/Current.vhdl index d364a2b2e..f11ab764a 100644 --- a/testsuite/pyunit/Current.vhdl +++ b/testsuite/pyunit/Current.vhdl @@ -128,15 +128,33 @@ begin genIf: if True generate constant G0 : boolean := False; begin - + inst: IfDummy; elsif False generate constant G1 : boolean := False; begin - + inst: ElsifDummy; else generate constant G2 : boolean := False; begin + inst: ElseDummy; + end generate; + + genFor: for I in 0 to 3 generate + constant G3 : boolean := False; + begin + inst: ForDummy; + end generate; + + genCase: case selector generate + when 0 => + constant G4 : boolean := False; + begin + inst: Case0Dummy; + when others => + constant G5 : boolean := False; + begin + inst: OthersDummy; end generate; end architecture behav; |