aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam D. Jones <thor0505@comcast.net>2021-02-02 03:37:04 -0500
committergatecat <gatecat@ds0.me>2021-02-12 10:36:59 +0000
commitf18df5ed59f7c119fba8cdd264d329e5ea8fd9b6 (patch)
treeb472963202eb1ff4ae07aaaa48fd4fcc665bc2f4
parentda1b15d6f5a80653f7de848532227bfa58191998 (diff)
downloadnextpnr-f18df5ed59f7c119fba8cdd264d329e5ea8fd9b6.tar.gz
nextpnr-f18df5ed59f7c119fba8cdd264d329e5ea8fd9b6.tar.bz2
nextpnr-f18df5ed59f7c119fba8cdd264d329e5ea8fd9b6.zip
machxo2: Don't write out config bits for cells without location info.
-rw-r--r--machxo2/bitstream.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/machxo2/bitstream.cc b/machxo2/bitstream.cc
index a499d8a3..a095333a 100644
--- a/machxo2/bitstream.cc
+++ b/machxo2/bitstream.cc
@@ -200,7 +200,8 @@ void write_bitstream(Context *ctx, std::string text_config_file)
for (auto &cell : ctx->cells) {
CellInfo *ci = cell.second.get();
if (ci->bel == BelId()) {
- log_warning("found unplaced cell '%s' during bitstream gen\n", ci->name.c_str(ctx));
+ log_warning("found unplaced cell '%s' during bitstream gen. Not writing to bitstream.\n", ci->name.c_str(ctx));
+ continue;
}
BelId bel = ci->bel;
if (ci->type == id_FACADE_SLICE) {