2238 - LatticeECP2/M, ECP3: LatticeMico System provides an option to <b>clone</b> a platform. When should I use this feature?

2238 - LatticeECP2/M, ECP3: LatticeMico System provides an option to <b>clone</b> a platform. When should I use this feature?

Description:

LatticeMico System provides a framework for connecting a LaticeMico32 or LatticeMico8 processor to a set of peripherals. The number of peripherals and the complexity of the connections can vary dramatically. Each LatticeMico System platform is targeted to a particular FPGA family (i.e. LatticeECP2/M, or LatticeECP3).

You may have a LatticeMico System project that you want to target to a new FPGA family. You may have a LatticeMico System project that you want to alter slightly. This is the time you need to use the clone feature. Cloning makes a carbon copy of the current configuration of your project. During the cloning process you have the opportunity to change fundamental attributes of the source platform.

Parameters that can be changed at the outset of the cloning process are:

  • Platform Frequency
  • Arbitration Scheme
  • Device family parameters

After making any desired changes to the fundamental properties a new platform is created with identical functionality of the source project.

Cloning is the preferred, and least error prone method for copying a LatticeMico System project. Lattice does not recommend simply copying the platform subdirectory into a different location, as it is a guaranteed recipe to get a non-functional platform.

With the cloning process complete you are free to make the minor tweaks to the platform you desire.

If you are cloning a platform that contains device specific IP and you selected a new FPGA family, you need to rerun IPexpress. This guarantees the IP is matched to the new FPGA family. If you do not run IPexpress, you will encounter problems during synthesis or during EDIF netlist translation.