I have a Lattice ICE40_8K breakout board and would like to know how to setup a pin pair as LVDS mode inputs.
If setting up as normal single pins is done thus:
SB_IO #(.PIN_TYPE(6'b0000_00)) _io (
.PACKAGE_PIN(pin),
.INPUT_CLK(clk),
.D_IN_0(rd));
How do I modify that to be LVDS input pin, and how is the additional pin allocated.
Thanks
EDIT:
Would it be something like?:
SB_IO #(.PIN_TYPE(6'b0000_00), .IO_STANDARD("SB_LVDS_INPUT")) _io (
.PACKAGE_PIN(pin),
.INPUT_CLK(clk),
.D_IN_0(rd));
I understand the LVDS inputs are only in Bank 3, can anyone point me to what the pin list is for bank 3, so I can choose one ...
Thanks
Lattice TN1253 explains how to use LVDS inputs. There are Verilog code examples starting at page 15. The same Verilog code should also work with Project IceStorm.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With