diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-01-17 16:04:06 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-01-17 16:04:06 +0100 |
commit | 383fc4f226fb6b8a05a9ca201c699fce119dda1d (patch) | |
tree | 5169830ceaf7207f8e84ae1b6c9b8a3b16ddb0d5 /src/synth/synth-insts.adb | |
parent | 73ef601ad03a28dace91be8a8055232874f45f63 (diff) | |
download | ghdl-383fc4f226fb6b8a05a9ca201c699fce119dda1d.tar.gz ghdl-383fc4f226fb6b8a05a9ca201c699fce119dda1d.tar.bz2 ghdl-383fc4f226fb6b8a05a9ca201c699fce119dda1d.zip |
synth-insts: apply attributes to entities and architectures. Fix #1609
Diffstat (limited to 'src/synth/synth-insts.adb')
-rw-r--r-- | src/synth/synth-insts.adb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/synth/synth-insts.adb b/src/synth/synth-insts.adb index 8b815b286..d83b8fbc1 100644 --- a/src/synth/synth-insts.adb +++ b/src/synth/synth-insts.adb @@ -1532,6 +1532,10 @@ package body Synth.Insts is end if; if not Is_Error (Syn_Inst) then + Synth_Attribute_Values (Syn_Inst, Entity); + end if; + + if not Is_Error (Syn_Inst) then Synth_Declarations (Syn_Inst, Get_Declaration_Chain (Arch)); end if; if not Is_Error (Syn_Inst) then @@ -1540,6 +1544,10 @@ package body Synth.Insts is end if; if not Is_Error (Syn_Inst) then + Synth_Attribute_Values (Syn_Inst, Arch); + end if; + + if not Is_Error (Syn_Inst) then Synth_Verification_Units (Syn_Inst, Entity); end if; if not Is_Error (Syn_Inst) then |