diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2018-11-17 13:04:14 +0100 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2018-11-19 18:20:20 +0100 |
commit | 519d4e2af8d8e7d8e2d1d873b9cd9681ef83cc62 (patch) | |
tree | 5e911d4d1f31aab7674febad083a3ead03e1c15d /ice40/bitstream.cc | |
parent | d8e4c21d96bfca7da60d0c445a1fdba48f46e9e1 (diff) | |
download | nextpnr-519d4e2af8d8e7d8e2d1d873b9cd9681ef83cc62.tar.gz nextpnr-519d4e2af8d8e7d8e2d1d873b9cd9681ef83cc62.tar.bz2 nextpnr-519d4e2af8d8e7d8e2d1d873b9cd9681ef83cc62.zip |
ice40: Add support for SB_GB_IO
During packing we replace them by standard SB_IO cells and create the
'fake' SB_GB that matches that IO site global buffer connection.
It's done in a separate pass because we need to make sure the nextpnr iob
have been dealt first so we have our final Bel location on the SB_IO.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'ice40/bitstream.cc')
-rw-r--r-- | ice40/bitstream.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ice40/bitstream.cc b/ice40/bitstream.cc index d2c2ac16..44d385e4 100644 --- a/ice40/bitstream.cc +++ b/ice40/bitstream.cc @@ -514,6 +514,7 @@ void write_asc(const Context *ctx, std::ostream &out) } input_en = (input_en & !used_by_pll_out) | used_by_pll_pad; + input_en |= cell.second->ioInfo.global; if (ctx->args.type == ArchArgs::LP1K || ctx->args.type == ArchArgs::HX1K) { set_config(ti, config.at(iey).at(iex), "IoCtrl.IE_" + std::to_string(iez), !input_en); |