aboutsummaryrefslogtreecommitdiffstats
path: root/mistral/arch.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-05-09 13:16:22 +0100
committergatecat <gatecat@ds0.me>2021-05-15 14:54:33 +0100
commit5d191f8297e338e5ac678bdbdfcb176a2a7a8cc3 (patch)
tree3159919cb5f1699e25772e4fe1eabae6f0aa4803 /mistral/arch.h
parent96f16c8635b37aa58f275e63df5172902bedf8f5 (diff)
downloadnextpnr-5d191f8297e338e5ac678bdbdfcb176a2a7a8cc3.tar.gz
nextpnr-5d191f8297e338e5ac678bdbdfcb176a2a7a8cc3.tar.bz2
nextpnr-5d191f8297e338e5ac678bdbdfcb176a2a7a8cc3.zip
mistral: Add IO packing
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'mistral/arch.h')
-rw-r--r--mistral/arch.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/mistral/arch.h b/mistral/arch.h
index b818f001..790c6782 100644
--- a/mistral/arch.h
+++ b/mistral/arch.h
@@ -316,6 +316,8 @@ struct Arch : BaseArch<ArchRanges>
bool isBelLocationValid(BelId bel) const override;
+ BelId bel_by_block_idx(int x, int y, IdString type, int block_index) const;
+
// -------------------------------------------------
WireId getWireByName(IdStringList name) const override;
@@ -403,7 +405,8 @@ struct Arch : BaseArch<ArchRanges>
// -------------------------------------------------
- bool is_io_cell(IdString cell_type) const; // io.cc
+ bool is_io_cell(IdString cell_type) const; // io.cc
+ BelId get_io_pin_bel(const CycloneV::pin_info_t *pin) const; // io.cc
// -------------------------------------------------