diff options
Diffstat (limited to 'src/synth/netlists-utils.ads')
-rw-r--r-- | src/synth/netlists-utils.ads | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/synth/netlists-utils.ads b/src/synth/netlists-utils.ads index b8ccb3e93..f8749749f 100644 --- a/src/synth/netlists-utils.ads +++ b/src/synth/netlists-utils.ads @@ -42,8 +42,13 @@ package Netlists.Utils is function Get_Input_Width (M : Module; I : Port_Idx) return Width; function Get_Output_Width (M : Module; I : Port_Idx) return Width; + -- Return the net (driver) connected to input IDX of INSTANCE. function Get_Input_Net (Inst : Instance; Idx : Port_Idx) return Net; + -- Return the instance that drives input IDX of INST. + function Get_Input_Instance (Inst : Instance; Idx : Port_Idx) + return Instance; + -- Return True iff ID describe a constant. function Is_Const_Module (Id : Module_Id) return Boolean; function Is_Const_Net (N : Net) return Boolean; |