aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-utils.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-09-15 07:08:18 +0200
committerTristan Gingold <tgingold@free.fr>2019-09-15 07:08:18 +0200
commita4754febc694fd9836fd73050016175c4de92860 (patch)
tree3eaf42bd66ad600fe774200e7c650d5edf9d42af /src/synth/netlists-utils.ads
parent251587405f6f760f069f1a3624296b7cb933b38e (diff)
downloadghdl-a4754febc694fd9836fd73050016175c4de92860.tar.gz
ghdl-a4754febc694fd9836fd73050016175c4de92860.tar.bz2
ghdl-a4754febc694fd9836fd73050016175c4de92860.zip
synth: minor refactoring about const gates.
Diffstat (limited to 'src/synth/netlists-utils.ads')
-rw-r--r--src/synth/netlists-utils.ads2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/netlists-utils.ads b/src/synth/netlists-utils.ads
index d98eca7ac..2f2570f3e 100644
--- a/src/synth/netlists-utils.ads
+++ b/src/synth/netlists-utils.ads
@@ -43,7 +43,7 @@ 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;
+ function Is_Const_Module (Id : Module_Id) return Boolean;
-- Return True iff O has at least one sink (ie is connected to at least one
-- input).