aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/cells.h
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-10-01 15:23:12 +0100
committerDavid Shah <davey1576@gmail.com>2018-10-01 15:23:12 +0100
commitd770eb672fcaf303d391d4fb22e57b13dd130ca5 (patch)
tree6a0ec0a0c80d7182872a3ced569f82cc43fc34c7 /ecp5/cells.h
parent931c78b1bbb6acbc4f9c8058ed450bf9464cb603 (diff)
downloadnextpnr-d770eb672fcaf303d391d4fb22e57b13dd130ca5.tar.gz
nextpnr-d770eb672fcaf303d391d4fb22e57b13dd130ca5.tar.bz2
nextpnr-d770eb672fcaf303d391d4fb22e57b13dd130ca5.zip
ecp5: Helper functions for distributed RAM support
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ecp5/cells.h')
-rw-r--r--ecp5/cells.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ecp5/cells.h b/ecp5/cells.h
index d2ea5490..c68d1dd3 100644
--- a/ecp5/cells.h
+++ b/ecp5/cells.h
@@ -49,6 +49,8 @@ inline bool is_l6mux(const BaseCtx *ctx, const CellInfo *cell) { return cell->ty
void ff_to_slice(Context *ctx, CellInfo *ff, CellInfo *lc, int index, bool driven_by_lut);
void lut_to_slice(Context *ctx, CellInfo *lut, CellInfo *lc, int index);
void ccu2c_to_slice(Context *ctx, CellInfo *ccu, CellInfo *lc);
+void dram_to_ramw(Context *ctx, CellInfo *ram, CellInfo *lc);
+void dram_to_ram_slice(Context *ctx, CellInfo *ram, CellInfo *lc, int index);
NEXTPNR_NAMESPACE_END