diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-10-27 21:06:08 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-10-27 21:06:08 +0100 |
commit | 497e1e575201f5d3ff68cbd4dc4c0ab9003edf00 (patch) | |
tree | 64a498d78eb6c4d91288c8f73214c77d92422138 /src/synth/netlists-memories.ads | |
parent | 21732824cfea2164654635beb5fb28ebd6b37c35 (diff) | |
download | ghdl-497e1e575201f5d3ff68cbd4dc4c0ab9003edf00.tar.gz ghdl-497e1e575201f5d3ff68cbd4dc4c0ab9003edf00.tar.bz2 ghdl-497e1e575201f5d3ff68cbd4dc4c0ab9003edf00.zip |
netlists: add code to expand dyn_extract gates (WIP).
Diffstat (limited to 'src/synth/netlists-memories.ads')
-rw-r--r-- | src/synth/netlists-memories.ads | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/synth/netlists-memories.ads b/src/synth/netlists-memories.ads index b58ffb29a..f4639c5a6 100644 --- a/src/synth/netlists-memories.ads +++ b/src/synth/netlists-memories.ads @@ -23,4 +23,8 @@ with Netlists.Builders; use Netlists.Builders; package Netlists.Memories is -- Try to convert dyn_insert/dyn_extract to memory ports. procedure Extract_Memories (Ctxt : Context_Acc; M : Module); + + -- Count the number of memidx in a memory address. + function Count_Memidx (Addr : Net) return Natural; + end Netlists.Memories; |