aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/fasm.cc
diff options
context:
space:
mode:
authorD. Shah <dave@ds0.me>2021-01-27 20:47:02 +0000
committerD. Shah <dave@ds0.me>2021-01-27 20:49:14 +0000
commitb87ab0ee9de093b5302de7997e94e10dae6655b4 (patch)
tree0e6e7b789cd121d7c726df777f9563bde1e66764 /nexus/fasm.cc
parent75ee2fc4e6ede1ad731b9451fd606c61f5892801 (diff)
downloadnextpnr-b87ab0ee9de093b5302de7997e94e10dae6655b4.tar.gz
nextpnr-b87ab0ee9de093b5302de7997e94e10dae6655b4.tar.bz2
nextpnr-b87ab0ee9de093b5302de7997e94e10dae6655b4.zip
Make RelSlice uncopyable
Signed-off-by: D. Shah <dave@ds0.me>
Diffstat (limited to 'nexus/fasm.cc')
-rw-r--r--nexus/fasm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/nexus/fasm.cc b/nexus/fasm.cc
index f320405d..9e43972b 100644
--- a/nexus/fasm.cc
+++ b/nexus/fasm.cc
@@ -186,7 +186,7 @@ struct NexusFasmWriter
{
int r = bel.tile / ctx->chip_info->width;
int c = bel.tile % ctx->chip_info->width;
- auto bel_data = ctx->bel_data(bel);
+ auto &bel_data = ctx->bel_data(bel);
r += bel_data.rel_y;
c += bel_data.rel_x;
std::string s = stringf("R%dC%d_%s", r, c, ctx->nameOf(ctx->bel_data(bel).name));