diff --git a/himbaechel/uarch/gatemate/pack_io.cc b/himbaechel/uarch/gatemate/pack_io.cc index ea416bd4..6cbb14a4 100644 --- a/himbaechel/uarch/gatemate/pack_io.cc +++ b/himbaechel/uarch/gatemate/pack_io.cc @@ -326,10 +326,8 @@ void GateMatePacker::pack_io_sel() cells.push_back(&ci); } - std::pair ddr[uarch->dies][9]; // for each bank - for (int i = 0; i < uarch->dies; ++i) - for (int j = 0; j < 9; ++j) - ddr[i][j] = {nullptr, nullptr}; + std::vector>> ddr( + uarch->dies, std::vector>(9, {nullptr, nullptr})); auto set_out_clk = [&](CellInfo *cell, CellInfo *target) -> bool { NetInfo *clk_net = cell->getPort(id_CLK);