mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-02-16 04:43:16 +00:00
Make code more c++ compliant
This commit is contained in:
@@ -221,7 +221,7 @@ struct BitstreamBackend
|
||||
{
|
||||
ChipConfig cc;
|
||||
cc.chip_name = device;
|
||||
int bank[uarch->dies][9] = {0};
|
||||
std::vector<std::vector<int>> bank(uarch->dies, std::vector<int>(9, 0));
|
||||
for (auto &cell : ctx->cells) {
|
||||
CfgLoc loc = get_config_loc(cell.second.get()->bel.tile);
|
||||
auto ¶ms = cell.second.get()->params;
|
||||
|
||||
@@ -329,7 +329,7 @@ void GateMatePacker::remove_clocking()
|
||||
|
||||
void GateMatePacker::pack_pll()
|
||||
{
|
||||
int pll_index[uarch->dies] = {0};
|
||||
std::vector<int> pll_index(uarch->dies, 0);
|
||||
log_info("Packing PLLss..\n");
|
||||
for (auto &cell : ctx->cells) {
|
||||
CellInfo &ci = *cell.second;
|
||||
|
||||
Reference in New Issue
Block a user