clangformat
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
2635bab2f1
commit
14d53dfec8
@ -59,7 +59,8 @@ static void pack_lut_lutffs(Context *ctx)
|
||||
if (ctx->verbose)
|
||||
log_info("found attached dff %s\n", dff->name.c_str(ctx));
|
||||
auto dff_bel = dff->attrs.find(id_BEL);
|
||||
if (lut_bel != ci->attrs.end() && dff_bel != dff->attrs.end() && lut_bel->second != dff_bel->second) {
|
||||
if (lut_bel != ci->attrs.end() && dff_bel != dff->attrs.end() &&
|
||||
lut_bel->second != dff_bel->second) {
|
||||
// Locations don't match, can't pack
|
||||
} else {
|
||||
lut_to_lc(ctx, ci, packed.get(), false);
|
||||
|
@ -486,7 +486,7 @@ bool Arch::getCellDelay(const CellInfo *cell, IdString fromPort, IdString toPort
|
||||
if (fromPort == id_CLK)
|
||||
return false; // don't include delays that are actually clock-to-out here
|
||||
return lookup_cell_delay(cell->tmg_index, lookup_port(fromPort), lookup_port(toPort), delay);
|
||||
} else if(cell->type == id_DCS) {
|
||||
} else if (cell->type == id_DCS) {
|
||||
if (fromPort == id_SELFORCE || fromPort == id_SEL) {
|
||||
return false;
|
||||
}
|
||||
|
@ -2007,7 +2007,7 @@ struct NexusPacker
|
||||
copy_constraint(ci, id_CLK0, id_DCSOUT);
|
||||
} else if (!have_clk0 && have_clk1) {
|
||||
copy_constraint(ci, id_CLK1, id_DCSOUT);
|
||||
} else if ( have_clk0 && have_clk1) {
|
||||
} else if (have_clk0 && have_clk1) {
|
||||
set_period(ci, id_DCSOUT, std::min(period_clk0, period_clk1));
|
||||
}
|
||||
} else if (ci->type == id_OSC_CORE) {
|
||||
|
Loading…
Reference in New Issue
Block a user