aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/fasm.cc
diff options
context:
space:
mode:
Diffstat (limited to 'nexus/fasm.cc')
-rw-r--r--nexus/fasm.cc11
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