aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-environment.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-09-11 06:31:00 +0200
committerTristan Gingold <tgingold@free.fr>2019-09-11 06:37:28 +0200
commitdb5c3b1cf051d215ee7f02064464b4b1088ea226 (patch)
treee5aaacca93241b2ca61aa7572deb9bd722663ba0 /src/synth/synth-environment.ads
parent0e5e045b01b6425ae3551ad1c463d8f8f57907d7 (diff)
downloadghdl-db5c3b1cf051d215ee7f02064464b4b1088ea226.tar.gz
ghdl-db5c3b1cf051d215ee7f02064464b4b1088ea226.tar.bz2
ghdl-db5c3b1cf051d215ee7f02064464b4b1088ea226.zip
synth: improve support of return statement.
Diffstat (limited to 'src/synth/synth-environment.ads')
-rw-r--r--src/synth/synth-environment.ads1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/synth/synth-environment.ads b/src/synth/synth-environment.ads
index ea6befb9b..3af1a7318 100644
--- a/src/synth/synth-environment.ads
+++ b/src/synth/synth-environment.ads
@@ -64,6 +64,7 @@ package Synth.Environment is
-- Set the gate for a wire.
-- The gate represent the current value. It is usually an Id_Signal.
procedure Set_Wire_Gate (Wid : Wire_Id; Gate : Net);
+ function Get_Wire_Gate (Wid : Wire_Id) return Net;
-- The current value of WID. For variables, this is the last assigned
-- value. For signals, this is the initial value.