diff options
author | David Shah <dave@ds0.me> | 2018-10-31 11:30:09 +0000 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2018-10-31 11:30:09 +0000 |
commit | c782f07b1bbb98d133cfa3c747fa591986abb1cb (patch) | |
tree | fc5810985ec12635da29b2582d182be787842fd1 /ecp5/cells.h | |
parent | db0646be8ac646fc678b967b1bc656e721aa5f0e (diff) | |
download | nextpnr-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.h | 4 |
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 |