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 f7edc80c7..8f2898dfd 100644 --- a/src/synth/netlists-utils.ads +++ b/src/synth/netlists-utils.ads @@ -40,12 +40,17 @@ package Netlists.Utils is function Get_Id (Inst : Instance) return Module_Id; + -- For the yosys plugin: name of a port function Get_Input_Name (M : Module; I : Port_Idx) return Sname; function Get_Output_Name (M : Module; I : Port_Idx) return Sname; + -- For the yosys plugin: width of a port function Get_Input_Width (M : Module; I : Port_Idx) return Width; function Get_Output_Width (M : Module; I : Port_Idx) return Width; + -- For the yosys plugin: true if an output is also an input. + function Get_Inout_Flag (M : Module; I : Port_Idx) return Boolean; + -- Return the net (driver) connected to input IDX of INSTANCE. function Get_Input_Net (Inst : Instance; Idx : Port_Idx) return Net; |