diff options
| author | Tristan Gingold <tgingold@free.fr> | 2021-11-17 21:43:10 +0100 |
|---|---|---|
| committer | Tristan Gingold <tgingold@free.fr> | 2021-11-17 21:43:10 +0100 |
| commit | 29b56efcbdaea0002b4f71e229ee44c1ebe75a08 (patch) | |
| tree | 5d9792f5a8a3532f695a83f20b3e4cf54fc71b5e /src/synth/netlists-utils.adb | |
| parent | d6f1c6a47fb8df07fca517fb68078c324c761a97 (diff) | |
| download | ghdl-29b56efcbdaea0002b4f71e229ee44c1ebe75a08.tar.gz ghdl-29b56efcbdaea0002b4f71e229ee44c1ebe75a08.tar.bz2 ghdl-29b56efcbdaea0002b4f71e229ee44c1ebe75a08.zip | |
synth: put direction into port desc
Diffstat (limited to 'src/synth/netlists-utils.adb')
| -rw-r--r-- | src/synth/netlists-utils.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/netlists-utils.adb b/src/synth/netlists-utils.adb index 45e498663..a73acca6b 100644 --- a/src/synth/netlists-utils.adb +++ b/src/synth/netlists-utils.adb @@ -99,7 +99,7 @@ package body Netlists.Utils is function Get_Inout_Flag (M : Module; I : Port_Idx) return Boolean is begin - return Get_Output_Desc (M, I).Is_Inout; + return Get_Output_Desc (M, I).Dir = Port_Inout; end Get_Inout_Flag; function Get_Input_Net (Inst : Instance; Idx : Port_Idx) return Net is |
