5568 - Diamond/MachXO3: How to use the Lattice primitives in this device family?
DescriptionL
Please check the FPGA Libraries Reference Guide.
Open Diamond Software -> Start Page -> Look for the "Reference Guides" -> Diamond [DIAMOND VERSION] FPGA Libraries (PDF version)
Actual Libraries can be found in the following directories which can guide you in instantiations:C:\lscc\diamond\[DIAMOND VERSION]\cae_library\synthesis C:\lscc\diamond\[DIAMOND VERSION]\cae_library\simulation
Solution:
Here's a simple way that you can do to see how some primitives are implemented:
1. Open IP_Express and select any module from the list.
2. Choose VHDL as the module output.
3. Click customize.
4. From the configuration window, click Import IPX to Diamond Project.
5. Right click on the generated IPX and select Open Containing Folder.
6. Open the generated VHD file with the same name as the IPX module.
The generated VHD file is equivalent to the IPX module. You can use either to synthesize the simple design.