diff options
author | William D. Jones <thor0505@comcast.net> | 2020-12-07 02:15:51 -0500 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-02-12 10:36:59 +0000 |
commit | 138519d820cd25cdd6700fabf13e855d67030e1a (patch) | |
tree | 03f6fcad66e6347dc1ebf31f9a65ce19add8dc3c /machxo2 | |
parent | 8a94a3451f88ca6632991ef3f2a61e4ed9a4ac5b (diff) | |
download | nextpnr-138519d820cd25cdd6700fabf13e855d67030e1a.tar.gz nextpnr-138519d820cd25cdd6700fabf13e855d67030e1a.tar.bz2 nextpnr-138519d820cd25cdd6700fabf13e855d67030e1a.zip |
machxo2: Fix place phase segfault. Placement suceeds with warning of no clock.
Diffstat (limited to 'machxo2')
-rw-r--r-- | machxo2/arch.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/machxo2/arch.cc b/machxo2/arch.cc index d9753528..6c7efbe5 100644 --- a/machxo2/arch.cc +++ b/machxo2/arch.cc @@ -86,6 +86,8 @@ Arch::Arch(ArchArgs args) : args(args) } if (!package_info) log_error("Unsupported package '%s' for '%s'.\n", args.package.c_str(), getChipName().c_str()); + + bel_to_cell.resize(chip_info->height * chip_info->width * max_loc_bels, nullptr); } bool Arch::isAvailable(ArchArgs::ArchArgsTypes chip) { return get_chip_info(chip) != nullptr; } |