aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-utils.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-04-22 08:15:48 +0200
committerTristan Gingold <tgingold@free.fr>2020-04-22 08:15:48 +0200
commit4bb12b30a53326ac6e3177bc4016317181dd7f7e (patch)
tree17071b82d97c10af35e50a9c6239b189fd8f511a /src/synth/netlists-utils.ads
parent7dcc937f7269ea972b890084419512b0d40785e0 (diff)
downloadghdl-4bb12b30a53326ac6e3177bc4016317181dd7f7e.tar.gz
ghdl-4bb12b30a53326ac6e3177bc4016317181dd7f7e.tar.bz2
ghdl-4bb12b30a53326ac6e3177bc4016317181dd7f7e.zip
netlists: infere tri gate.
Diffstat (limited to 'src/synth/netlists-utils.ads')
-rw-r--r--src/synth/netlists-utils.ads4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/synth/netlists-utils.ads b/src/synth/netlists-utils.ads
index e4981b38a..aeeb5cc78 100644
--- a/src/synth/netlists-utils.ads
+++ b/src/synth/netlists-utils.ads
@@ -85,6 +85,10 @@ package Netlists.Utils is
-- disconnect and free it.
procedure Disconnect_And_Free (I : Input);
+ -- Disconnect an input and return the previous driver.
+ function Disconnect_And_Get (I : Input) return Net;
+ function Disconnect_And_Get (Inst : Instance; I : Port_Idx) return Net;
+
-- Return true IFF L and R is the same net.
-- Either because L = R (obvious case) or because both are the same
-- selection of the same net.