aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-builders.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-07-19 08:29:07 +0200
committerTristan Gingold <tgingold@free.fr>2019-07-19 18:48:23 +0200
commit932a2beb675d155b1e71804d7e18f61e166d26bb (patch)
tree93f173cad8f4d4d41bdaaf0f9bad171a7c3ba502 /src/synth/netlists-builders.ads
parent51fb29f988e3d4d2cf2192fcc0f0a64d07f9d91e (diff)
downloadghdl-932a2beb675d155b1e71804d7e18f61e166d26bb.tar.gz
ghdl-932a2beb675d155b1e71804d7e18f61e166d26bb.tar.bz2
ghdl-932a2beb675d155b1e71804d7e18f61e166d26bb.zip
synth: add concatn gate
Diffstat (limited to 'src/synth/netlists-builders.ads')
-rw-r--r--src/synth/netlists-builders.ads5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/synth/netlists-builders.ads b/src/synth/netlists-builders.ads
index 654fc6e9a..67d200ead 100644
--- a/src/synth/netlists-builders.ads
+++ b/src/synth/netlists-builders.ads
@@ -73,6 +73,10 @@ package Netlists.Builders is
function Build_Concat3 (Ctxt : Context_Acc; I0, I1, I2 : Net) return Net;
function Build_Concat4 (Ctxt : Context_Acc; I0, I1, I2, I3 : Net)
return Net;
+ -- NBR_INPUTS is the number of inputs ports, W is the width of the
+ -- output.
+ function Build_Concatn (Ctxt : Context_Acc; W : Width; Nbr_Inputs : Uns32)
+ return Net;
function Build_Trunc
(Ctxt : Context_Acc; Id : Module_Id; I : Net; W : Width) return Net;
@@ -131,6 +135,7 @@ private
M_Monadic : Module_Arr (Monadic_Module_Id);
M_Compare : Module_Arr (Compare_Module_Id);
M_Concat : Module_Arr (Concat_Module_Id);
+ M_Concatn : Module;
M_Const_UB32 : Module;
M_Const_UL32 : Module;
M_Const_Z : Module;