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