diff options
author | William D. Jones <thor0505@comcast.net> | 2021-02-02 03:37:04 -0500 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-02-12 10:36:59 +0000 |
commit | f18df5ed59f7c119fba8cdd264d329e5ea8fd9b6 (patch) | |
tree | b472963202eb1ff4ae07aaaa48fd4fcc665bc2f4 /machxo2 | |
parent | da1b15d6f5a80653f7de848532227bfa58191998 (diff) | |
download | nextpnr-f18df5ed59f7c119fba8cdd264d329e5ea8fd9b6.tar.gz nextpnr-f18df5ed59f7c119fba8cdd264d329e5ea8fd9b6.tar.bz2 nextpnr-f18df5ed59f7c119fba8cdd264d329e5ea8fd9b6.zip |
machxo2: Don't write out config bits for cells without location info.
Diffstat (limited to 'machxo2')
-rw-r--r-- | machxo2/bitstream.cc | 3 |
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) { |