diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-09-17 02:16:28 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-09-17 02:16:28 +0200 |
commit | b3a28203e95f68bd1007c4c11b44187ecabbf593 (patch) | |
tree | 114e02aa47dae4a5776692b81daeed24d25df97d /src/synth/netlists-utils.ads | |
parent | 2ab83662516b7466e1870548cb8906e0842bb3ca (diff) | |
download | ghdl-b3a28203e95f68bd1007c4c11b44187ecabbf593.tar.gz ghdl-b3a28203e95f68bd1007c4c11b44187ecabbf593.tar.bz2 ghdl-b3a28203e95f68bd1007c4c11b44187ecabbf593.zip |
synth: fold addition on constant nets.
Diffstat (limited to 'src/synth/netlists-utils.ads')
-rw-r--r-- | src/synth/netlists-utils.ads | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/synth/netlists-utils.ads b/src/synth/netlists-utils.ads index 2f2570f3e..165e986d8 100644 --- a/src/synth/netlists-utils.ads +++ b/src/synth/netlists-utils.ads @@ -44,6 +44,7 @@ package Netlists.Utils is -- Return True iff ID describe a constant. function Is_Const_Module (Id : Module_Id) return Boolean; + function Is_Const_Net (N : Net) return Boolean; -- Return True iff O has at least one sink (ie is connected to at least one -- input). |