From f18df5ed59f7c119fba8cdd264d329e5ea8fd9b6 Mon Sep 17 00:00:00 2001 From: "William D. Jones" Date: Tue, 2 Feb 2021 03:37:04 -0500 Subject: machxo2: Don't write out config bits for cells without location info. --- machxo2/bitstream.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- cgit v1.2.3