aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-02-23 08:40:53 +0100
committerTristan Gingold <tgingold@free.fr>2020-02-23 08:40:53 +0100
commit536b6b43951f42ce3a7b80d58467ce816d6850d4 (patch)
tree631d42046eaa3cd243680161bfdef78a629fb75d /src/synth/netlists.ads
parent3e544b19d7f3d866587f5da9bfef3bfc430440ca (diff)
downloadghdl-536b6b43951f42ce3a7b80d58467ce816d6850d4.tar.gz
ghdl-536b6b43951f42ce3a7b80d58467ce816d6850d4.tar.bz2
ghdl-536b6b43951f42ce3a7b80d58467ce816d6850d4.zip
netlists: rework memories to fix port orders, add a loop.
Diffstat (limited to 'src/synth/netlists.ads')
-rw-r--r--src/synth/netlists.ads2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/netlists.ads b/src/synth/netlists.ads
index f4462fbb6..8683d6943 100644
--- a/src/synth/netlists.ads
+++ b/src/synth/netlists.ads
@@ -102,6 +102,8 @@ package Netlists is
type Instance is private;
No_Instance : constant Instance;
+ type Instance_Array is array (Int32 range <>) of Instance;
+
-- Hash INST (simply return its index).
function Hash (Inst : Instance) return Hash_Value_Type;