diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2023-01-29 21:11:54 +0100 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2023-01-29 22:35:19 +0100 |
commit | 0cf5006e3bbad476616f09bf1baf8a2953e1c616 (patch) | |
tree | e16fb259db8b9ad79cbd88e8dfc5b9cb7fbeb7a2 /mistral/bitstream.cc | |
parent | f80b871dd54b5215480a8eb00313a7ac16d9e883 (diff) | |
download | nextpnr-0cf5006e3bbad476616f09bf1baf8a2953e1c616.tar.gz nextpnr-0cf5006e3bbad476616f09bf1baf8a2953e1c616.tar.bz2 nextpnr-0cf5006e3bbad476616f09bf1baf8a2953e1c616.zip |
ice40: Rework pull-up attribute copy to SB_IO blocks
We try to copy the attribute only when there is a chance for
the output driver to not be active.
Note that this can _also_ happen when a port is specified as
output but has a TBUF, which the previous code wasn't handling.
We could copy the attribute "all-the-time" but this would
mean if a user specified a `-pullup yes` in the PCF for a
permanently driven output pin, we'd be burning power for
nothing.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'mistral/bitstream.cc')
0 files changed, 0 insertions, 0 deletions