diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-07-17 06:12:59 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-07-17 06:12:59 +0200 |
commit | 13b255a60d2dc00a1cecc2a2f3dbbd4b2313a919 (patch) | |
tree | 505543a74001516d6fbad5dbc2079ba19e0ff1c5 /src/synth | |
parent | c51e2781d5ddb177bc6e6d35a3ca083ef06899d9 (diff) | |
download | ghdl-13b255a60d2dc00a1cecc2a2f3dbbd4b2313a919.tar.gz ghdl-13b255a60d2dc00a1cecc2a2f3dbbd4b2313a919.tar.bz2 ghdl-13b255a60d2dc00a1cecc2a2f3dbbd4b2313a919.zip |
synth: add comments.
Diffstat (limited to 'src/synth')
-rw-r--r-- | src/synth/synth-environment.adb | 1 | ||||
-rw-r--r-- | src/synth/synth-environment.ads | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/synth-environment.adb b/src/synth/synth-environment.adb index 0331ae4c9..6a6229e9f 100644 --- a/src/synth/synth-environment.adb +++ b/src/synth/synth-environment.adb @@ -297,6 +297,7 @@ package body Synth.Environment is pragma Assert (Asgn_Rec.Chain = No_Assign); P : Phi_Type renames Phis_Table.Table (Phis_Table.Last); begin + -- Chain assignment in the current sequence. Asgn_Rec.Chain := P.First; P.First := Asgn; P.Nbr := P.Nbr + 1; diff --git a/src/synth/synth-environment.ads b/src/synth/synth-environment.ads index 6dc040c11..83c1d9866 100644 --- a/src/synth/synth-environment.ads +++ b/src/synth/synth-environment.ads @@ -67,6 +67,7 @@ package Synth.Environment is -- The initial net for the wire. Gate : Net; + -- Current assignment (if there is one). Cur_Assign : Assign; end record; |