aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-11-17 04:41:42 +0100
committerTristan Gingold <tgingold@free.fr>2021-11-17 04:41:42 +0100
commit17d918428511b7c8079564c1b31f4dfcf79483b8 (patch)
treef467182dc1c09001e9203c3e3472482b28779437 /src/synth
parentc5a6b553f4e4a7517ce8de8575b7c7d5710c070c (diff)
downloadghdl-17d918428511b7c8079564c1b31f4dfcf79483b8.tar.gz
ghdl-17d918428511b7c8079564c1b31f4dfcf79483b8.tar.bz2
ghdl-17d918428511b7c8079564c1b31f4dfcf79483b8.zip
Add comments
Diffstat (limited to 'src/synth')
-rw-r--r--src/synth/netlists.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/netlists.adb b/src/synth/netlists.adb
index 24c39df50..31a3321b2 100644
--- a/src/synth/netlists.adb
+++ b/src/synth/netlists.adb
@@ -1215,6 +1215,8 @@ package body Netlists is
-- There is now at least one attribute for INST.
Instances_Table.Table (Inst).Has_Attr := True;
+ -- Get (or create and get) an entry for INST. If created, it will be
+ -- No_Attribute (returned by attribute_build_value).
Attribute_Maps.Get_Index (Module_Rec.Attrs.all, Inst, Idx);
Prev := Attribute_Maps.Get_Value (Module_Rec.Attrs.all, Idx);