From ee4e30ce8ba11ae889ec3b8b19eef49d5459c69a Mon Sep 17 00:00:00 2001 From: David Shah Date: Sat, 11 Jan 2020 20:02:31 +0000 Subject: nexus/fasm: Fix SLICE lettering Signed-off-by: David Shah --- nexus/fasm.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nexus') 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)); -- cgit v1.2.3