aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/fasm.cc
diff options
context:
space:
mode:
Diffstat (limited to 'nexus/fasm.cc')
-rw-r--r--nexus/fasm.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/nexus/fasm.cc b/nexus/fasm.cc
index d2492983..7db5a1ba 100644
--- a/nexus/fasm.cc
+++ b/nexus/fasm.cc
@@ -154,7 +154,7 @@ struct NexusFasmWriter
BelId bel = cell->bel;
int z = ctx->bel_data(bel).z;
int k = z & 0x1;
- char slice = 'A' + (z >> 8);
+ char slice = 'A' + (z >> 3);
push_tile(bel.tile, id_PLC);
push(stringf("SLICE%c", slice));
if (cell->params.count(id_INIT))
@@ -172,7 +172,7 @@ struct NexusFasmWriter
BelId bel = cell->bel;
int z = ctx->bel_data(bel).z;
int k = z & 0x1;
- char slice = 'A' + (z >> 8);
+ char slice = 'A' + (z >> 3);
push_tile(bel.tile, id_PLC);
push(stringf("SLICE%c", slice));
push(stringf("FF%d", k));