run clangformat
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
41914876ef
commit
4a4025192a
@ -781,8 +781,10 @@ struct Router2
|
||||
WireScore next_score;
|
||||
next_score.delay = curr.score.delay + cfg.get_base_cost(ctx, next, uh, crit_weight);
|
||||
next_score.cost = curr.score.cost + score_wire_for_arc(net, i, phys_pin, next, uh, crit_weight);
|
||||
next_score.togo_cost =
|
||||
const_mode ? 0 : cfg.estimate_weight * get_togo_cost(net, i, next_idx, src_wire, true, crit_weight);
|
||||
next_score.togo_cost = const_mode
|
||||
? 0
|
||||
: cfg.estimate_weight * get_togo_cost(net, i, next_idx, src_wire,
|
||||
true, crit_weight);
|
||||
if (was_visited_bwd(next_idx, next_score.delay)) {
|
||||
// Don't expand the same node twice.
|
||||
continue;
|
||||
|
@ -240,7 +240,8 @@ class Ecp5Packer
|
||||
ci->disconnectPort(id_M);
|
||||
ci->ports.erase(id_M);
|
||||
}
|
||||
if (di && di->driver.cell != nullptr && di->driver.cell->type == id_TRELLIS_COMB && di->driver.port == id_F) {
|
||||
if (di && di->driver.cell != nullptr && di->driver.cell->type == id_TRELLIS_COMB &&
|
||||
di->driver.port == id_F) {
|
||||
CellInfo *comb = di->driver.cell;
|
||||
if (comb->cluster != ClusterId()) {
|
||||
// Special procedure where the comb cell is part of an existing macro
|
||||
|
@ -19,9 +19,9 @@
|
||||
*/
|
||||
|
||||
#include <algorithm>
|
||||
#include <cinttypes>
|
||||
#include <iostream>
|
||||
#include <iterator>
|
||||
#include <cinttypes>
|
||||
#include "cells.h"
|
||||
#include "design_utils.h"
|
||||
#include "log.h"
|
||||
@ -673,8 +673,8 @@ static void set_net_constant(const Context *ctx, NetInfo *orig, NetInfo *constne
|
||||
uc_init &= (1LL << uc_init_len) - 1;
|
||||
|
||||
if (ctx->verbose)
|
||||
log_info("%s lut config modified from 0x%" PRIX64 " to 0x%" PRIX64 "\n", ctx->nameOf(uc), it_param->second.intval,
|
||||
uc_init);
|
||||
log_info("%s lut config modified from 0x%" PRIX64 " to 0x%" PRIX64 "\n", ctx->nameOf(uc),
|
||||
it_param->second.intval, uc_init);
|
||||
|
||||
it_param->second = Property(uc_init, uc_init_len);
|
||||
uc->ports[user.port].net = nullptr;
|
||||
|
@ -1321,8 +1321,8 @@ struct NexusPacker
|
||||
NetInfo *cin = ci->getPort(id_CIN);
|
||||
if (cin) {
|
||||
if (cin->driver.cell && cin->driver.cell->type != id_CCU2) {
|
||||
log_error("CCU2 '%s' CIN net '%s' driven by non-CCU2 cell '%s'.\n",
|
||||
ctx->nameOf(ci), ctx->nameOf(cin), ctx->nameOf(cin->driver.cell));
|
||||
log_error("CCU2 '%s' CIN net '%s' driven by non-CCU2 cell '%s'.\n", ctx->nameOf(ci),
|
||||
ctx->nameOf(cin), ctx->nameOf(cin->driver.cell));
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user