aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/cells.h
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2018-10-31 11:30:09 +0000
committerDavid Shah <dave@ds0.me>2018-10-31 11:30:09 +0000
commitc782f07b1bbb98d133cfa3c747fa591986abb1cb (patch)
treefc5810985ec12635da29b2582d182be787842fd1 /ecp5/cells.h
parentdb0646be8ac646fc678b967b1bc656e721aa5f0e (diff)
downloadnextpnr-c782f07b1bbb98d133cfa3c747fa591986abb1cb.tar.gz
nextpnr-c782f07b1bbb98d133cfa3c747fa591986abb1cb.tar.bz2
nextpnr-c782f07b1bbb98d133cfa3c747fa591986abb1cb.zip
ecp5: Add IO buffer insertion
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'ecp5/cells.h')
-rw-r--r--ecp5/cells.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ecp5/cells.h b/ecp5/cells.h
index a5229fe0..9c2ff3cf 100644
--- a/ecp5/cells.h
+++ b/ecp5/cells.h
@@ -52,6 +52,10 @@ 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, CellInfo *ramw, int index);
+// Convert a nextpnr IO buffer to a TRELLIS_IO
+void nxio_to_tr(Context *ctx, CellInfo *nxio, CellInfo *trio, std::vector<std::unique_ptr<CellInfo>> &created_cells,
+ std::unordered_set<IdString> &todelete_cells);
+
NEXTPNR_NAMESPACE_END
#endif