aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/bitstream.cc
diff options
context:
space:
mode:
authorDaniel Serpell <daniel.serpell@gmail.com>2018-12-01 22:27:04 -0300
committerDaniel Serpell <daniel.serpell@gmail.com>2018-12-01 22:27:04 -0300
commitd4b3c1d819703667b604ad144a36415c2f3bcdf5 (patch)
tree6bb98bc9f3e650a31b4f055338bb1facb2ff2ba2 /ice40/bitstream.cc
parentdc549cd56bf1db4342a2bab1fb3fc04ca3a9ceea (diff)
downloadnextpnr-d4b3c1d819703667b604ad144a36415c2f3bcdf5.tar.gz
nextpnr-d4b3c1d819703667b604ad144a36415c2f3bcdf5.tar.bz2
nextpnr-d4b3c1d819703667b604ad144a36415c2f3bcdf5.zip
ice40: Add support for placing SB_LEDDA_IP block.
Signed-off-by: Daniel Serpell <daniel.serpell@gmail.com>
Diffstat (limited to 'ice40/bitstream.cc')
-rw-r--r--ice40/bitstream.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ice40/bitstream.cc b/ice40/bitstream.cc
index e20d372a..87d77b9d 100644
--- a/ice40/bitstream.cc
+++ b/ice40/bitstream.cc
@@ -591,7 +591,8 @@ void write_asc(const Context *ctx, std::ostream &out)
{"CURRENT_MODE", 1}, {"RGB0_CURRENT", 6}, {"RGB1_CURRENT", 6}, {"RGB2_CURRENT", 6}};
configure_extra_cell(config, ctx, cell.second.get(), rgba_params, true, std::string("IpConfig."));
set_ec_cbit(config, ctx, get_ec_config(ctx->chip_info, cell.second->bel), "RGBA_DRV_EN", true, "IpConfig.");
- } else if (cell.second->type == ctx->id("SB_WARMBOOT") || cell.second->type == ctx->id("ICESTORM_LFOSC")) {
+ } else if (cell.second->type == ctx->id("SB_WARMBOOT") || cell.second->type == ctx->id("ICESTORM_LFOSC") ||
+ cell.second->type == ctx->id("SB_LEDDA_IP") ) {
// No config needed
} else if (cell.second->type == ctx->id("ICESTORM_SPRAM")) {
const BelInfoPOD &beli = ci.bel_data[bel.index];