aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/netlists.adb')
-rw-r--r--src/synth/netlists.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/netlists.adb b/src/synth/netlists.adb
index 4d1516510..c22302716 100644
--- a/src/synth/netlists.adb
+++ b/src/synth/netlists.adb
@@ -527,7 +527,7 @@ package body Netlists is
function Get_Port_Idx (O : Net) return Port_Idx
is
pragma Assert (Is_Valid (O));
- Parent : constant Instance := Get_Parent (O);
+ Parent : constant Instance := Get_Net_Parent (O);
begin
return Port_Idx (O - Instances_Table.Table (Parent).First_Output);
end Get_Port_Idx;