From 8c4e3e91ccd7fc5c994f05e67a4605290d72079e Mon Sep 17 00:00:00 2001 From: Maciej Dudek Date: Fri, 27 May 2022 10:58:24 +0200 Subject: [PATCH] Change write_dcc to work with tilegroups from prjoxide Signed-off-by: Maciej Dudek --- nexus/fasm.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nexus/fasm.cc b/nexus/fasm.cc index 3ed5785e..de03fb82 100644 --- a/nexus/fasm.cc +++ b/nexus/fasm.cc @@ -533,11 +533,10 @@ struct NexusFasmWriter void write_dcc(const CellInfo *cell) { BelId bel = cell->bel; - push_tile(bel.tile); - push_belname(bel); + push_bel(bel); write_bit("DCCEN.1"); // Explicit DCC cell implies a clock buffer write_cell_muxes(cell); - pop(2); + pop(); } // Write config for DCS void write_dcs(const CellInfo *cell)