Creating the External Memory Programming File for SSI Devices - 4.1 English

Soft Error Mitigation Controller Product Guide (PG036)

Document ID
PG036
Release Date
2022-05-04
Version
4.1 English

If the solution requires external data storage to support error classification or error correction by replace, an additional Tcl script is called to post-process special write_bitstream output files into a SPI flash programming file. This makedata.tcl script is generated in the example project. After bitstream generation is complete, source this script in the Tcl Console.

source <path to component_name>_ex/imports/makedata.tcl

source sem_0_ex/imports/makedata.tcl

Next, locate the implementation results directory. Click the Design Runs tab, select the implementation run, and note the Run directory indicated in the Implementation Run Properties window. From the Tcl Console, navigate to the implementation results directory to run the makedata script over the write_bitstream output files.

cd <component_name>_ex/<component_name>_ex.runs/impl_1

cd sem_0_ex/sem_0_ex.runs/impl_1

The essential bits files, EBC and EBD files, are created during bitstream generation. A separate EBC and EBD file is generated for each SLR in the target device. Depending on which options are enabled, the following command generates the necessary files. These examples show the general path and the specific instances used in this example flow. The number of files specified after the -ebc or -ebd switch corresponds to the number of SLRs in the target device.

If classification and correction by replace are enabled (used in the example outlined in these steps):

makedata -ebc <file0> <file1> <file2> <file3> -ebd <file0> <file1> <file2> <file3> datafile

makedata -ebc sem_0_sem_example_0.ebc sem_0_sem_example_1.ebc

sem_0_sem_example_2.ebc sem_0_sem_example_3.ebc -ebd

sem_0_sem_example_0.ebd sem_0_sem_example_1.ebd

sem_0_sem_example_2.ebd sem_0_sem_example_3.ebd datafile

If correction by replace is enabled:

makedata -ebc <file0> <file1> <file2> <file3> datafile

makedata -ebc sem_0_sem_example_0.ebc sem_0_sem_example_1.ebc

sem_0_sem_example_2.ebc sem_0_sem_example_3.ebc datafile

If classification is enabled:

makedata -ebd <file0> <file1> <file2> <file3> datafile

makedata -ebd sem_0_sem_example_0.ebd sem_0_sem_example_1.ebd sem_0_sem_example_2.ebd sem_0_sem_example_3.ebd datafile

The command creates the VMF, BIN and MCS files.