342 - Lattice Diamond: How can I edit the LatticeECP2/M PCS auto-configuration to support a SERDES clock multiplier that is not available in the IPexpress GUI?
It is possible to manually edit the PCS auto-configuration file to support clock multipliers not available in the IPexpress session
It is recommended that you carefully read TN1124 before editing the auto-configuration file. Based on the Attribute Cross-Reference Table in TN1124, you can modify the clock multiplier (CH[0:3]_REFCK_MULT) in the auto-configuration file to obtain the desired multiplier factor.
The following steps show how to obtain a X25 clock multiplier at 2.5 Gbps (100 MHZ reference clock) in Generic 8b10b Mode since IPexpress does not provide X25 as an option in this mode:
- Generate the IPexpress model with data Rate =2.5Gbps and pick any available multiplier (example X20, 125 MHZ refclk )
- Modify the CH#_REFCK_MULT entries in the auto-configuration file. Replace the '#' character with the appropriate channel number. For example, to run Channel 1 at 25X: CH1_REFCK_MULT "25X". The reference clock is now 100 MHZ to maintain a 2.5 Gbps full data rate.
This will reprogram the channel Reference Clock multiplier so that it will multiply the 100MHz REFCLK input by 25.
Note that all channels you edit need to have the same multiplier number preceding "X". In the example above, that number is 25.
For example, other channels can have a CH#_REFCLK_MULT of either "25X" (full rate) or "25XH" (half rate).
Related Articles
3898 - Diamond / IPExpress: Why is IPexpress disabled for ECP5?
Solution: LatticeECP5 is supported by Clarity Designer, a new tool within the Lattice Diamond software environment that addresses the need to be able to generate and plan multiple design blocks within a customer's design. Clarity Designer is used for ...
2352 - All FPGAs: Does Lattice Diamond support a parameterized module other than the fixed parameter module generated by IPexpress?
Description: Yes, Lattice Diamond supports a Parameterized Module Instantiation (PMI) flow. PMI modules include PLL, RAM, ROM, FIFO, ADD/SUB, DSP blocks, etc. They can be instantiated easily in Lattice Diamond or ispLEVER. For the details of the ...
732 - Lattice Diamond: What is the purpose of the .lpc file generated by IPExpress ?
Lattice Diamond: The .lpc (Lattice Parameter Configuration) file is a text file that contains values entered for IPexpress modules and IP cores. It has two main functions: It is used by IPexpress to store the user-selected values of settings for ...
906 - Diamond: How is the configuration file (.txt) generated by IPExpress being used?
Diamond: When the PCS (Physical Coding Sub-layer) architectural block, or IPs that make use of PCS block, are generated through IPExpress, a configuration file (.txt) is generated at the same time. The configuration file contains the necessary ...
3837 - Lattice Diamond: Is the USE EDGE preference available in the tool for MachXO2 devices?<br>
Solution: The USE EDGE preference is not available for MachXO2 devices in Lattice Diamond software. The only way to support the edge is through the design - ECLKSYNC and DDR modules only.