Diamond v3.10 SP3 & above: Is the Soft Error Detection (SED) function supported in ECP5 designs that use Distributed RAM?

Diamond v3.10 SP3 & above: Is the Soft Error Detection (SED) function supported in ECP5 designs that use Distributed RAM?

Description:

No, SED is not supported when ECP5 design uses Distributed RAM. 

 

Due to device limitation, the SED function is not supported on ECP5 product families (ECP5, ECP5-5G, ECP5 Automotive) devices when Distributed RAM is used in the same design. Thus, user will see the following MAP error starting from diamond v3.10 SP3 and above.

 

WARNING - map: Due to this design requires the use of SED function, as well as

Dist SRAM is detected to be used in the design, new PCN is needed.

Please contact Lattice Sales Office to inquire the details. The design flow to

create the final designed bitstream file is not affected.

 

Solution:

Do not enable both SED Function & Distributed RAM in the same design on ECP5 devices. On the affected devices, customers using the SED function will need to ensure that Distributed RAM is not used in the design. If the current design is using Distributed RAM, it needs to be replaced with EBR memory.


User can use Embedded Block RAM (EBR) instead of Distributed RAM with the following ways:

1. Clarity Design:

When opening up the Catalog tab in Clarity Designer, under “Memory Modules” there are 2 types of memory that can be chosen, as shown below:

For a design that uses SED function, the “distributed_xxx” (shown in red box) should not be used; EBR memory should be used instead. If the design is already using Distributed RAM, a new memory should be created with EBR to replace the existing one that is using Distributed RAM.


2. PMI Module Generator:

Similarly, if the memory is created in the PMI Module Generator, there are “distributed_xxx” memory selections in the list, as shown below:

 

For a design that uses SED function, the “distributed_xxx” (shown in red box) should not be used; EBR (shown in blue box) should be used instead. If the design is already using Distributed RAM, a new memory should be created with EBR to replace the existing one that is using Distributed RAM


3. Reveal Inserter:

Reveal “Capture” needs memory to store the data to be displayed. When Reveal Inserter is being added, the following dialog screen can be seen:

For a design that uses SED function, the “Disable all Distributed RAMs” box needs to be checked. If the existing Reveal module did not have Distributed RAM disabled, Reveal Inserter needs to be generated again to replace the existing Reveal module.


4. Inferred Memories:

Lattice Diamond Design Software allows memories to be inferred. Inferred memories could be mapped into Distributed RAM, which would cause SED to not function correctly.

To avoid the use of Distributed RAM when Diamond Software infers memories, if Lattice Synthesis Engine (LSE) is selected as the synthesis tool in the design, customer can disable the use of Distributed RAM.

Go to Project pull-down menu, and select “Active Strategy -> LSE Settings”. The following window will pop up:

Set the “Disable Distributed RAM” setting to “True”, and re-compile the design. This will exclude the use of Distributed RAM in the design.

For designs using Synplify Pro, the customer will need to change the synthesis engine to LSE.

Go to Project pull-down menu, and select “Active Implementation -> Select Synthesis Tool…”. The following window will pop up:

Set the “Synthesis Tool” setting to “Lattice LSE”. Changing synthesis tool will require the modules generated in Clarity Designer to be re-configured. Once re-configured, customer can re-compile the design, and the Distributed RAM will be excluded.

Note: In addition to the 4 methods described above, Distributed RAM can also get instantiated if customer design is using a Lattice IP Core that utilizes Distributed RAM. Since some IP Cores are designed with Distributed RAM generated via PMI Module Generator, disabling Distributed RAM in LSE will not prevent such IP Cores from using Distributed RAM. Please contact Lattice Technical Support if you encounter this issue.