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.ads15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/synth/netlists.ads b/src/synth/netlists.ads
index a516efee4..55afc39be 100644
--- a/src/synth/netlists.ads
+++ b/src/synth/netlists.ads
@@ -332,8 +332,23 @@ package Netlists is
procedure Set_Attribute
(Inst : Instance; Id : Name_Id; Ptype : Param_Type; Pv : Pval);
+ procedure Set_Input_Port_Attribute (M : Module;
+ Port : Port_Idx;
+ Id : Name_Id;
+ Ptype : Param_Type;
+ Pv : Pval);
+ procedure Set_Output_Port_Attribute (M : Module;
+ Port : Port_Idx;
+ Id : Name_Id;
+ Ptype : Param_Type;
+ Pv : Pval);
+
-- Return the first attribute for INST. Returns No_Attribute if none.
function Get_First_Attribute (Inst : Instance) return Attribute;
+ function Get_First_Input_Port_Attribute (M : Module; Port : Port_Idx)
+ return Attribute;
+ function Get_First_Output_Port_Attribute (M : Module; Port : Port_Idx)
+ return Attribute;
-- Get name/type/value of an attribute.
function Get_Attribute_Name (Attr : Attribute) return Name_Id;