diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-06-28 07:32:40 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-06-28 07:32:40 +0200 |
commit | 9652c2bdfe75e90784910a0dd7d0f03dd97e0067 (patch) | |
tree | 9437c7411fab2e65276564a105aa2b7be03faf68 /src/synth/netlists.ads | |
parent | 05d5d620dc14192f0e9538a012b0b1b19508f0cd (diff) | |
download | ghdl-9652c2bdfe75e90784910a0dd7d0f03dd97e0067.tar.gz ghdl-9652c2bdfe75e90784910a0dd7d0f03dd97e0067.tar.bz2 ghdl-9652c2bdfe75e90784910a0dd7d0f03dd97e0067.zip |
synth: add get_input_net helper.
Diffstat (limited to 'src/synth/netlists.ads')
-rw-r--r-- | src/synth/netlists.ads | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/netlists.ads b/src/synth/netlists.ads index f84f0c78e..a3c6cfe7c 100644 --- a/src/synth/netlists.ads +++ b/src/synth/netlists.ads @@ -235,6 +235,8 @@ package Netlists is function Get_Param_Uns32 (Inst : Instance; Param : Param_Idx) return Uns32; procedure Set_Param_Uns32 (Inst : Instance; Param : Param_Idx; Val : Uns32); + function Get_Input_Net (Inst : Instance; Idx : Port_Idx) return Net; + -- Input function Get_Input_Parent (I : Input) return Instance; function Get_Parent (I : Input) return Instance renames Get_Input_Parent; |