aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-utils.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/netlists-utils.adb')
-rw-r--r--src/synth/netlists-utils.adb2
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