diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-04-22 08:15:48 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-04-22 08:15:48 +0200 |
commit | 4bb12b30a53326ac6e3177bc4016317181dd7f7e (patch) | |
tree | 17071b82d97c10af35e50a9c6239b189fd8f511a /src/synth/netlists-utils.ads | |
parent | 7dcc937f7269ea972b890084419512b0d40785e0 (diff) | |
download | ghdl-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.ads | 4 |
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. |