aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists.ads
diff options
context:
space:
mode:
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.