aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/arch.h
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2020-10-12 13:40:24 +0100
committerDavid Shah <dave@ds0.me>2020-11-30 08:45:27 +0000
commitdf3866a80033feb2ba3cd01f14f8830e1f49cb1a (patch)
tree4f18b496d39e5f1d8ae4f987fee30038d8a7e953 /nexus/arch.h
parent518ead2e2dd11ba3bcd19085c2c91178ba9e458c (diff)
downloadnextpnr-df3866a80033feb2ba3cd01f14f8830e1f49cb1a.tar.gz
nextpnr-df3866a80033feb2ba3cd01f14f8830e1f49cb1a.tar.bz2
nextpnr-df3866a80033feb2ba3cd01f14f8830e1f49cb1a.zip
nexus: Add IO packing
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'nexus/arch.h')
-rw-r--r--nexus/arch.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/nexus/arch.h b/nexus/arch.h
index 3beef3cd..2f84b25d 100644
--- a/nexus/arch.h
+++ b/nexus/arch.h
@@ -1429,15 +1429,16 @@ struct Arch : BaseCtx
bool nexus_logic_tile_valid(LogicTileStatus &lts) const;
- CellPinMux get_cell_pinmux(CellInfo *cell, IdString pin) const;
+ CellPinMux get_cell_pinmux(const CellInfo *cell, IdString pin) const;
void set_cell_pinmux(CellInfo *cell, IdString pin, CellPinMux state);
// -------------------------------------------------
- const PadInfoPOD *get_pin_data(const std::string &pin) const;
+ const PadInfoPOD *get_pkg_pin_data(const std::string &pin) const;
Loc get_pad_loc(const PadInfoPOD *pad) const;
- BelId get_pin_bel(const std::string &pin) const;
+ BelId get_pad_pio_bel(const PadInfoPOD *pad) const;
const PadInfoPOD *get_bel_pad(BelId bel) const;
+ std::string get_pad_functions(const PadInfoPOD *pad) const;
// -------------------------------------------------