diff options
author | David Shah <dave@ds0.me> | 2020-01-11 20:02:31 +0000 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2020-11-30 08:45:27 +0000 |
commit | ee4e30ce8ba11ae889ec3b8b19eef49d5459c69a (patch) | |
tree | f7b769f88f784f5fb5be592c8655f7fd69ebcbbc | |
parent | 1ff42e9936f1ae037b5bb3b6fba4761e94d831a4 (diff) | |
download | nextpnr-ee4e30ce8ba11ae889ec3b8b19eef49d5459c69a.tar.gz nextpnr-ee4e30ce8ba11ae889ec3b8b19eef49d5459c69a.tar.bz2 nextpnr-ee4e30ce8ba11ae889ec3b8b19eef49d5459c69a.zip |
nexus/fasm: Fix SLICE lettering
Signed-off-by: David Shah <dave@ds0.me>
-rw-r--r-- | nexus/fasm.cc | 4 |
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)); |