aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-10-06 13:10:00 +0200
committerTristan Gingold <tgingold@free.fr>2019-10-06 13:10:00 +0200
commit7748a70eb1aa9da5b8033a8955d8827385893075 (patch)
tree85738f420b4b0255b229bba96b01bbfad215527e /src/synth/netlists.adb
parent3d35074b10658634d0e1a280575fa6af0b08730f (diff)
downloadghdl-7748a70eb1aa9da5b8033a8955d8827385893075.tar.gz
ghdl-7748a70eb1aa9da5b8033a8955d8827385893075.tar.bz2
ghdl-7748a70eb1aa9da5b8033a8955d8827385893075.zip
netlists: remove get_parent renaming for input.
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 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;