<tnt>
and I've seen it be closer to 128 than 11 :p
<whitequark>
oh 128 ua
<whitequark>
that eplains why the glasgow leds shine so bright after startup
<daveshah>
Incidentally, up5k IO pins also support 3.3k, 6.8k or 10k nominal
<maikmerten>
can the internal pullups "deliver" that continously or is there a reasonable chance of damage when hard-pulling those to GND?
<daveshah>
All of these were pretty accurate, within 10% when I measured
<daveshah>
They will be fine hard pulled to ground
<tnt>
daveshah: really ? I thought that was u4k only and the up5k didn't have that.
<tnt>
In icecube I think that option is not there for the up5k.
<maikmerten>
daveshah, thanks!
<daveshah>
tnt: it is
<daveshah>
I think the datasheet omits it
<daveshah>
u4k doesn't support it. The only documented support is for ultralite
<daveshah>
But icecube (and nextpnr) both support it for up5k and it works
<tnt>
oh yeah, sorry, got confused.
<tnt>
how do you configure it ?
<daveshah>
`-pullup yes -pullup-resistor 3P3K` in the pcf for example
<tnt>
maikmerten: something that got me though is that if you have an IO that's constrained, and in the port list of your top module but that you don't assign to anything, it gets mapped to a hard 0 rather than Z.
<daveshah>
Or the PULLUP_RESISTOR attribute
<tnt>
good to know.
<maikmerten>
tnt, good to know indeed
<daveshah>
Oops I mean `-pullup_resistor` in the pcf too
<daveshah>
It's a good hack if you accidentally put a too low LED resistor on a board
<daveshah>
Just use a 6.8K or 10K built in pullup and switch between 0 or Z
<daveshah>
and enjoy nice dim LEDs
<maikmerten>
(I have a Cyclone-II dev board with a button that pulls an I/O hard to GND that I use for reset. Pin configured to weak pullup. Fun was had observing the board reset when getting off the chair.)
<tnt>
daveshah: or save a resistor all together :p
<tnt>
maikmerten: that's a bit weak :p
<maikmerten>
yeah :-)
<maikmerten>
nothing multi-sampling the input wouldn't solve, though ;-)
_whitelogger has joined #yosys
attie has quit [Ping timeout: 240 seconds]
_whitelogger has joined #yosys
attie has joined #yosys
unkraut has quit [Remote host closed the connection]
craigo has joined #yosys
emeb_mac has joined #yosys
emeb_mac has quit [Quit: Leaving.]
maikmerten has quit [Quit: Leaving]
citypw has quit [Ping timeout: 240 seconds]
X-Scale has joined #yosys
adjtm has quit [Ping timeout: 265 seconds]
attie has quit [Ping timeout: 268 seconds]
adjtm has joined #yosys
cr1901_modern has quit [Ping timeout: 240 seconds]