Visible to Intel only — GUID: hco1410185639094
Ixiasoft
Design Hierarchy and safety IP partitions
Preparing the Design Example in the Intel® Quartus® Prime Software
DC Link Monitor safety IP partition
Creating a Safety IP partition for the DC Link Monitor and PLL Subsystem Component
Creating a Safety IP partition for the PWM Interface Component
Creating a Safety IP LogicLock Region for the DC Link Monitor
Creating a LogicLock Region for the PWM Interface
Creating a Fixed Size and Origin for a LogicLock Region
Removing Precomiled Netlists
Using the Intel® Quartus® Prime Incremental Compilation
Compiling the Design
The Fitter Report
Exporting Safety IP Partition
Generating Safety IP Bitstream Files
Visible to Intel only — GUID: hco1410185639094
Ixiasoft
Using the Design Modification Flow
Use this flow if you improve an algorithm, or fix a bug, or add a new feature in the nonsafety IP. For the design modification flow, you may change any of the nonsafety IP partitions of the design if the safety IP partitions remain unchanged. If you need to make any changes to a safety IP partition, you must use the design creation flow.
For example, use this flow to:
- Change parameters for the FOC algorithm component (algorithm improvement or bug fix).
- Add a timer component to the Nios II system (adding a new feature).
- Change the nonsafety IP partitions of the design.
- Import safety IP partitions. Turn on Design Partition Window to ensure the Intel® Quartus® Prime software preserves the the safety IP place and route that it saves in the design creation flow stage.
- Recompile the complete design.
Note: If the Intel® Quartus® Prime assembler gives an internal error message, there may be a mismatch between the safety IP bitstream in the previously generated .sof file and the .sof from the current compilation. If the error is because of a mismatch, move or rename the .sof file to allow you to rerun the assembler without the internal error. You may then continue to run the partial bitstream comparison where the comparison is expected to fail with an explicit message.
- Post process the .sof file and .psm files that the assembler generates to create the partially preserved bitstream file for the safety IP regions.
- Verify that the Intel® Quartus® Prime software preserves the strictly preserved partition successfully by using the functional safety POF partition verification tool to compare the .ppb file created in the design creation flow and design modification flows for each safety IP partition.
sppv --device=<device name from qsf> [<options>] <design creation flow directory>/<partition-name>.rbf.ppb <design modification flow directory>/<partitionname>.rbf.ppb
Intel includes the functional safety POF partition verification tool in the functional safety data pack but not with the Intel® Quartus® Prime Design SuiteThe verification tool generates a report file named <partition-name> .rbf.ppb.rpt - Alternatively, if you do not have the functional safety POF partition verification tool, compare the MD5.sign checksum files.
Note: The checksum also covers some device option bits that are legal to change without compromising strict preservation. If these bits change the checksums do not match. In this case, use the functional safety POF partition verification tool to detect the location of the mismatch. Commonly, this mismatch is the Intel® Quartus® Prime auto usercode feature (enabled by default). Use the following .qsf setting to disable the auto usercode feature:
set_global_assignment -name USE_CHECKSUM_AS_USERCODE OFF
The safety assessor may archive the md5.sign checksum file for each safety IP when they initially assess a design creation flow design. To verify that the design modification flow uses the .ppb file that the design creation flow generates, check for a match between the checksum that the functional safety POF partition verification tool reports and the checksum in the .md5.sign file both match The functional safety POF partition verification tool then reports the comparison results between the design creation flow and design modification flow as evidence of strict preservation.