aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-12-29 18:32:36 +0100
committerTristan Gingold <tgingold@free.fr>2020-12-29 18:33:58 +0100
commit61315151bc011a063d6a07937fd36068bdff53b6 (patch)
tree2d1fd8cf2e7ac0b0359ffd3a94918963fa0ba31b /src/synth
parent7ca54117b8f757396ba5ef04c83ff1228ca94384 (diff)
downloadghdl-61315151bc011a063d6a07937fd36068bdff53b6.tar.gz
ghdl-61315151bc011a063d6a07937fd36068bdff53b6.tar.bz2
ghdl-61315151bc011a063d6a07937fd36068bdff53b6.zip
trans-chap3: compute size of subelements for unconstrained parent subtypes
Fix #1549
Diffstat (limited to 'src/synth')
-rw-r--r--src/synth/synth-insts.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/synth/synth-insts.adb b/src/synth/synth-insts.adb
index 5c95dce07..3598d594b 100644
--- a/src/synth/synth-insts.adb
+++ b/src/synth/synth-insts.adb
@@ -837,6 +837,7 @@ package body Synth.Insts is
end loop;
if Inst_Obj.Encoding = Name_Parameters then
+ -- Copy values of the generics to module parameters.
declare
Inter : Node;
Vt : Valtyp;