diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-10-17 06:35:04 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-10-17 06:35:04 +0200 |
commit | a87efba0ca0cc55cc26a28371eb1963a2e720498 (patch) | |
tree | a0d18b5bb7b1b3304599ddd35a189ea1c5f138a4 /src/synth/netlists-builders.ads | |
parent | cb024436717e81efcb6cefb7f1c16ecb86e21afa (diff) | |
download | ghdl-a87efba0ca0cc55cc26a28371eb1963a2e720498.tar.gz ghdl-a87efba0ca0cc55cc26a28371eb1963a2e720498.tar.bz2 ghdl-a87efba0ca0cc55cc26a28371eb1963a2e720498.zip |
synth: add netlists-memories to extract memories. Still WIP.
Diffstat (limited to 'src/synth/netlists-builders.ads')
-rw-r--r-- | src/synth/netlists-builders.ads | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/synth/netlists-builders.ads b/src/synth/netlists-builders.ads index b202a952c..4a76e5b52 100644 --- a/src/synth/netlists-builders.ads +++ b/src/synth/netlists-builders.ads @@ -142,10 +142,11 @@ package Netlists.Builders is function Build_Memory (Ctxt : Context_Acc; W : Width) return Net; function Build_Memory_Init (Ctxt : Context_Acc; W : Width; Init : Net) return Net; - function Build_Mem_Rd (Ctxt : Context_Acc; Pport : Net; Addr : Net) - return Instance; + function Build_Mem_Rd + (Ctxt : Context_Acc; Pport : Net; Addr : Net; Data_W : Width) + return Instance; function Build_Mem_Rd_Sync - (Ctxt : Context_Acc; Pport : Net; Addr : Net; Clk : Net) + (Ctxt : Context_Acc; Pport : Net; Addr : Net; Clk : Net; Data_W : Width) return Instance; function Build_Mem_Wr_Sync (Ctxt : Context_Acc; Pport : Net; |