aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-builders.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-11-28 05:54:08 +0100
committerTristan Gingold <tgingold@free.fr>2019-11-28 05:54:08 +0100
commitbfa61a8886ec2d3ff20f55b6192eea5c808a07ea (patch)
tree8e04f4777a7152f17558048bf0cd4fdcaf6c4f0e /src/synth/netlists-builders.ads
parente9448d5bfebee7a46e20fb99540cad2e5f4160b1 (diff)
downloadghdl-bfa61a8886ec2d3ff20f55b6192eea5c808a07ea.tar.gz
ghdl-bfa61a8886ec2d3ff20f55b6192eea5c808a07ea.tar.bz2
ghdl-bfa61a8886ec2d3ff20f55b6192eea5c808a07ea.zip
netlists: add Get_Design.
Diffstat (limited to 'src/synth/netlists-builders.ads')
-rw-r--r--src/synth/netlists-builders.ads2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/netlists-builders.ads b/src/synth/netlists-builders.ads
index 9e97abeac..776b74111 100644
--- a/src/synth/netlists-builders.ads
+++ b/src/synth/netlists-builders.ads
@@ -36,6 +36,8 @@ package Netlists.Builders is
-- Create a builder for Design. Must be called once.
function Build_Builders (Design : Module) return Context_Acc;
+ function Get_Design (Ctxt : Context_Acc) return Module;
+
-- Set the parent for the new instances.
procedure Set_Parent (Ctxt : Context_Acc; Parent : Module);