A newbie here, to TinyFPGA and to Verilog (I’m an Ada programmer by trade)
My first attempt is to control an LED via a pushbutton, as in this discussion but inverted (push button to light LED).
All is OK so long as I use a 100k external pullup, but as I read the documentation
- the FPGA provides an internal (weak?) pullup,
- the default is for all pins to be set to input with internal pull-up.
This isn’t happening; without the external pullup, the input pin is just seeing noise (the LED is fully on when the button is pushed, half intensity when not).
How do I configure the internal pullup, if indeed that’s possible? advisable? I’ve looked on the web but most of the resources are for much more complex configurations, & I’d rather start small!