diff options
Diffstat (limited to 'src/synth/netlists.adb')
-rw-r--r-- | src/synth/netlists.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/netlists.adb b/src/synth/netlists.adb index c22302716..6597be8ed 100644 --- a/src/synth/netlists.adb +++ b/src/synth/netlists.adb @@ -572,7 +572,7 @@ package body Netlists is function Get_Port_Idx (I : Input) return Port_Idx is pragma Assert (Is_Valid (I)); - Parent : constant Instance := Get_Parent (I); + Parent : constant Instance := Get_Input_Parent (I); begin return Port_Idx (I - Instances_Table.Table (Parent).First_Input); end Get_Port_Idx; |