aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-10-06 13:08:09 +0200
committerTristan Gingold <tgingold@free.fr>2019-10-06 13:08:09 +0200
commit3d35074b10658634d0e1a280575fa6af0b08730f (patch)
tree6e8ec3eac749da9855c98740b02746f0fd87f7e0 /src/synth/netlists.adb
parentd44e7227610913a14029ce050aceee887da914dd (diff)
downloadghdl-3d35074b10658634d0e1a280575fa6af0b08730f.tar.gz
ghdl-3d35074b10658634d0e1a280575fa6af0b08730f.tar.bz2
ghdl-3d35074b10658634d0e1a280575fa6af0b08730f.zip
netlists: remove renaming of Get_Parent for Net.
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;