ice40: Don't assert on unknown extra_config bits if they are 0
Bits are 0 by default anyway, so if they are unknown (because icestorm is too od) but we want them at 0 ... it's not much of an issue. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
49ae495344
commit
582410629b
@ -153,7 +153,11 @@ static void set_ec_cbit(chipconfig_t &config, const Context *ctx, const BelConfi
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
NPNR_ASSERT_FALSE_STR("failed to config extra cell config bit " + name);
|
if (value)
|
||||||
|
NPNR_ASSERT_FALSE_STR("failed to config extra cell config bit " + name);
|
||||||
|
else
|
||||||
|
log_warning("failed to config extra cell config bit %s to zero (ignored, maybe update icestorm ?)\n",
|
||||||
|
name.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
void configure_extra_cell(chipconfig_t &config, const Context *ctx, CellInfo *cell,
|
void configure_extra_cell(chipconfig_t &config, const Context *ctx, CellInfo *cell,
|
||||||
|
Loading…
Reference in New Issue
Block a user