5569 - iCEcube2: How to use RGB pins of an ICE40 device as an input?
Description:
In order to use the iCE40 open drain (RGB , IR) pins for general purpose functionality, you need to instantiate the SB_IO_OD primitive in the design. The details for the SB_IO_OD primitive can be found from the "iCE Technology library" from iCECube2 help. If the SB_IO_OD primitive is not instantiated and you try locking the open drain pins, then the tool will show the following error during PAR Error Message:
E2792: Instance <"x"> incorrectly constrained at SB_IO_OD location
Solution:
The Verilog instantiation example for the SB_IO_OD and other primitives can be found in "iCE Technology library" document.https://www.latticesemi.com/view_document?document_id=52206
Related Articles
Lattice Radiant: How do I use the RGB pins on iCE40UltraPlus as GPIO?
The SB_IO_OD primitive is only available for the iCECube2 SW, you will have to use BB_OD as this is the equivalent primitive for the opendrain buffer in Radiant. Note that for Radiant, BB_OD is automatically mapped in the netlist/design whenever you ...
731 - Lattice ispLEVER: How do I set up the VREF pins for use with the IOs?
Lattice ispLEVER: To set up a device's VREF pins using ispLEVER: Start up DESIGN PLANNER. In Design Planner, select VIEW, SPREADSHEET VIEW. In Spreadsheet View, select PREFERENCE, VREF LOCATIONS... In the Vref Setting window, enter a name in the VREF ...
1871 - LatticeXP2: Can the PROGRAMn and DONE pins be used as general purpose input/output?<br>
The PROGRAMn and DONE pins on the LatticeXP2 can be either dedicated for device configuration, or they can become General Purpose I/O (GPIO). The CFG0 input pin to the FPGA controls how these pins behave. You can find full details in LatticeXP2 ...
ECP5 / Diamond 3.14: Why does my design get a Map device oversize error related to PLL for LFE5U-12F in with Diamond 3.14, but completes map successfully in earlier releases of Diamond software?
In Diamond version 3.14, there is a bug where it incorrectly limits the number of PLLs in the device to 0 for LFE5U-12F. Example error message: ERROR - (device oversize error). The number of PLL components needed (1) exceeds the number available. ...
All Nexus / Device Constraint Editor: How can the user set the DONE, INITN, and PROGRAMN pins of Nexus devices as GPIO during user mode?
Users need to program the feature row with the .fea file generated during the design flow (Note: If changes are made on the Global settings, user needs to rerun the design flow to re-generate a new .fea file that reflects the changes on the Global ...