aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-utils.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-06-28 19:08:32 +0200
committerTristan Gingold <tgingold@free.fr>2019-06-28 19:08:32 +0200
commitec43db0fb7543b62ab9d326e978cceb70defe58e (patch)
tree22eed14e17fedfbd140525f2aab2fa6660297217 /src/synth/netlists-utils.ads
parent40c7b033a8e005503a5719901ac420bd39145a7b (diff)
downloadghdl-ec43db0fb7543b62ab9d326e978cceb70defe58e.tar.gz
ghdl-ec43db0fb7543b62ab9d326e978cceb70defe58e.tar.bz2
ghdl-ec43db0fb7543b62ab9d326e978cceb70defe58e.zip
synth: disp_vhdl: merge literals.
Diffstat (limited to 'src/synth/netlists-utils.ads')
-rw-r--r--src/synth/netlists-utils.ads3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/synth/netlists-utils.ads b/src/synth/netlists-utils.ads
index 493e27e92..4a017ec3c 100644
--- a/src/synth/netlists-utils.ads
+++ b/src/synth/netlists-utils.ads
@@ -33,6 +33,9 @@ package Netlists.Utils is
function Get_Input_Net (Inst : Instance; Idx : Port_Idx) return Net;
+ -- Return True iff ID describe a constant.
+ function Is_Const (Id : Module_Id) return Boolean;
+
-- Return True iff O has at least one sink (ie is connected to at least one
-- input).
function Is_Connected (O : Net) return Boolean;