mirror of https://github.com/YosysHQ/nextpnr.git
static: Enable dark node insertion only for non-logic
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
930fef448e
commit
51e703d094
|
|
@ -637,7 +637,7 @@ class StaticPlacer
|
|||
void insert_dark()
|
||||
{
|
||||
log_info("⌁ inserting dark nodes...\n");
|
||||
for (int group = 0; group < int(groups.size()); group++) {
|
||||
for (int group = cfg.logic_groups; group < int(groups.size()); group++) {
|
||||
const auto &cg = cfg.cell_groups.at(group);
|
||||
auto &g = groups.at(group);
|
||||
int dark_count = 0;
|
||||
|
|
@ -1651,7 +1651,7 @@ class StaticPlacer
|
|||
prepare_cells();
|
||||
init_cells();
|
||||
init_nets();
|
||||
// insert_dark();
|
||||
insert_dark();
|
||||
insert_spacer();
|
||||
|
||||
prepare_density_bins();
|
||||
|
|
|
|||
Loading…
Reference in New Issue