aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists.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.ads
parent51fb29f988e3d4d2cf2192fcc0f0a64d07f9d91e (diff)
downloadghdl-932a2beb675d155b1e71804d7e18f61e166d26bb.tar.gz
ghdl-932a2beb675d155b1e71804d7e18f61e166d26bb.tar.bz2
ghdl-932a2beb675d155b1e71804d7e18f61e166d26bb.zip
synth: add concatn gate
Diffstat (limited to 'src/synth/netlists.ads')
-rw-r--r--src/synth/netlists.ads8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/synth/netlists.ads b/src/synth/netlists.ads
index 324d55a31..6cf021ec1 100644
--- a/src/synth/netlists.ads
+++ b/src/synth/netlists.ads
@@ -226,6 +226,14 @@ package Netlists is
-- Instance
function New_Instance (Parent : Module; M : Module; Name : Sname)
return Instance;
+ -- For instances non-fixed number of inputs/outputs/params.
+ function New_Var_Instance (Parent : Module;
+ M : Module;
+ Name : Sname;
+ Nbr_Inputs : Port_Nbr;
+ Nbr_Outputs : Port_Nbr;
+ Nbr_Params : Param_Nbr)
+ return Instance;
-- Mark INST as free, but keep it in the module.
-- Use Remove_Free_Instances for a cleanup.