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.
The makedata.tcl script is generated in the example project. After bitstream generation is complete, locate the script on disk, and source this script in the Tcl Console.
source <path to component_name>_ex/imports/makedata.tcl
source sem_ultra_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 <path to component_name>_ex/<component_name>_ex.runs/impl_1
cd sem_ultra_0_ex/sem_ultra_0_ex.runs/impl_1
If classification and correction by replace are enabled (used in the example outlined in these steps):
makedata -ebc <ebc filename> -ebd <ebd filename> datafile
makedata -ebc sem_0_sem_ex.ebc -ebd sem_0_sem_ex.ebd datafile
If correction by replace is enabled:
makedata -ebc <ebc filename> datafile
makedata -ebc sem_0_sem_ex.ebc datafile
If classification is enabled:
makedata -ebd <ebd filename> datafile
makedata -ebd sem_0_sem_ex.ebd datafile
The command creates the VMF, BIN and MCS files.