diff options
author | Maciej Kurc <mkurc@antmicro.com> | 2022-03-11 16:05:37 +0100 |
---|---|---|
committer | Maciej Kurc <mkurc@antmicro.com> | 2022-03-16 09:20:15 +0100 |
commit | 43861c0ee298c4d2a5cc89a42e816299c7f86138 (patch) | |
tree | 4555ccf228f5c3a486dcddd302b222dc1fed2f49 /nexus/fasm.cc | |
parent | 74783c0c0951b84e22d6d9e1b578694e77d7cfb4 (diff) | |
download | nextpnr-43861c0ee298c4d2a5cc89a42e816299c7f86138.tar.gz nextpnr-43861c0ee298c4d2a5cc89a42e816299c7f86138.tar.bz2 nextpnr-43861c0ee298c4d2a5cc89a42e816299c7f86138.zip |
nexus: Added support for the DCS Bel
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
Diffstat (limited to 'nexus/fasm.cc')
-rw-r--r-- | nexus/fasm.cc | 11 |
1 files changed, 11 insertions, 0 deletions
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 |