1239 - Lattice ispLEVER: Lattice Diamond: Why do I get "invalid hex parity digit" errors with ispLEVER/Diamond bitgen?
Lattice ispLEVER: Lattice Diamond: This typically happens when you specify the Memory Initial Hex Value that is larger than the data-width of the Memory. All the Lattice EBR blocks need 18-bit initial data for each address location, but they internally use 5 Hexadecimal values (20-bit) to represent the initial data. This means that the most significant two bits of INITVAL must always be set to 0 as shown below:
hex[0] = bit[3:0];
hex[1] = bit[7:4];
hex[2] = bit[11:9];
hex[3] = bit[15:12];
hex[4] = {00,bit[17:16]
Make sure that the hex[4] value does not exceed 3 as this will make the initial value invalid. We recommend that you take advantage of the Memory Generation Tool (MemGen) to assist in creating and editing memory initialization (.mem) files.
Related Articles
7733 - 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. ...
2385 - Modelsim: After executing the orc_cmpl.bat ModelSim VHDL library compilation script, why do I get errors about unexpanded library elements when I compile my design?
The following online software documents explain how to compile the VHDL source library files for the stand-alone ModelSim flow: from the Lattice Diamond software tool: select Help-> Lattice Diamond Help. In the new pop-up web browser, select ...
346 - Lattice Diamond: Where can I find a description of Synplify errors and warnings?
In Synplify, select Help->Error Messages An Online Help - Message Viewer window appears. Select the Index tab on the left portion of the window. Select each of the following for more information: error messages, errors, warning messages, and warnings ...
2153 - ispLEVER to Diamond: error generated when migrating a schematic-based design?
Description: The normal procedure to migrate a design to Lattice Diamond is by using the “Import ispLEVER Project..” option in the Lattice Design software. While importing, when you check “Copy design source to Implementation’s Source Directory”, all ...
1712 - Diamond: How can user get estimated timing of my design before running place and route?
In both ispLEVER and Lattice Diamond tools, user can generate the timing using the static timing analysis tool after map, and before place and route. The static timing analyzer (TRCE) will generate timing using estimated models, as well as the fanout ...