diff --git a/himbaechel/uarch/gatemate/bitstream.cc b/himbaechel/uarch/gatemate/bitstream.cc index d65d8d78..72c4cd31 100644 --- a/himbaechel/uarch/gatemate/bitstream.cc +++ b/himbaechel/uarch/gatemate/bitstream.cc @@ -221,7 +221,7 @@ struct BitstreamBackend { ChipConfig cc; cc.chip_name = device; - int bank[uarch->dies][9] = {0}; + std::vector> bank(uarch->dies, std::vector(9, 0)); for (auto &cell : ctx->cells) { CfgLoc loc = get_config_loc(cell.second.get()->bel.tile); auto ¶ms = cell.second.get()->params; diff --git a/himbaechel/uarch/gatemate/pack_clocking.cc b/himbaechel/uarch/gatemate/pack_clocking.cc index f3d347b0..63e01d30 100644 --- a/himbaechel/uarch/gatemate/pack_clocking.cc +++ b/himbaechel/uarch/gatemate/pack_clocking.cc @@ -329,7 +329,7 @@ void GateMatePacker::remove_clocking() void GateMatePacker::pack_pll() { - int pll_index[uarch->dies] = {0}; + std::vector pll_index(uarch->dies, 0); log_info("Packing PLLss..\n"); for (auto &cell : ctx->cells) { CellInfo &ci = *cell.second;