From df3866a80033feb2ba3cd01f14f8830e1f49cb1a Mon Sep 17 00:00:00 2001 From: David Shah Date: Mon, 12 Oct 2020 13:40:24 +0100 Subject: nexus: Add IO packing Signed-off-by: David Shah --- nexus/arch.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'nexus/arch.h') 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 <s) 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; // ------------------------------------------------- -- cgit v1.2.3