From 43861c0ee298c4d2a5cc89a42e816299c7f86138 Mon Sep 17 00:00:00 2001 From: Maciej Kurc Date: Fri, 11 Mar 2022 16:05:37 +0100 Subject: nexus: Added support for the DCS Bel Signed-off-by: Maciej Kurc --- nexus/fasm.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'nexus/fasm.cc') diff --git a/nexus/fasm.cc b/nexus/fasm.cc index c8404587..e2eb2305 100644 --- a/nexus/fasm.cc +++ b/nexus/fasm.cc @@ -536,6 +536,15 @@ struct NexusFasmWriter write_cell_muxes(cell); pop(2); } + // Write config for DCS + void write_dcs(const CellInfo *cell) + { + BelId bel = cell->bel; + push_tile(bel.tile, ctx->id("CMUX_0")); + push_belname(bel); + write_enum(cell, "DCSMODE", "VCC"); + pop(2); + } // Write config for an OXIDE_EBR cell void write_bram(const CellInfo *cell) { @@ -939,6 +948,8 @@ struct NexusFasmWriter write_iol(ci); else if (ci->type == id_DCC) write_dcc(ci); + else if (ci->type == id_DCS) + write_dcs(ci); blank(); } // Handle DCC route-throughs -- cgit v1.2.3