From c80b4132776273feddd2ba64bb4c4476b4ae2f17 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Tue, 1 Jul 2025 19:40:04 +0200 Subject: [PATCH] Make it more as in PR #1513 --- himbaechel/uarch/gatemate/pack_io.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/himbaechel/uarch/gatemate/pack_io.cc b/himbaechel/uarch/gatemate/pack_io.cc index 92bf0117..737072f6 100644 --- a/himbaechel/uarch/gatemate/pack_io.cc +++ b/himbaechel/uarch/gatemate/pack_io.cc @@ -326,11 +326,9 @@ void GateMatePacker::pack_io_sel() cells.push_back(&ci); } - std::vector, 9>> ddr(uarch->dies); // 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, 9>> ddr( + uarch->dies, std::array, 9>{} + ); auto set_out_clk = [&](CellInfo *cell, CellInfo *target) -> bool { NetInfo *clk_net = cell->getPort(id_CLK); if (clk_net) {