Configuration - 2021.1 English

Xilinx Standalone Library Documentation OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2021-06-16
Version
2021.1 English

The XilSEM library configuration options available through the CIPS v3.0 Customize IP dialog box in the Vivado Design Suite 2021.1 are shown in the following figure.

Figure 1. XilSEM Library Configuration within CIPS v3.0 Customize IP Dialog Box in Vivado Design Suite 2021.1

From within CIPS, the fundamental feature of the XilSEM library can be enabled. This feature is the soft error mitigation of Configuration RAM through a scan-based process automated by integrated logic and managed by the XilSEM library, which reads back Configuration RAM and uses ECC and CRC to detect and correct soft errors. If this feature is enabled in CIPS, the default behavior is to begin operation automatically after boot, calculate golden checksums using hardware resources, and then enable the process for error detection and correction. These options can also be accessed through properties applied to the design.

Table 1. XilSEM CRAM Properties
Property Name Supported Values Default Value Description
CONFIG.PS_PMC_CONFIG {SEM_MEM_SCAN 0}

0 (Disabled)

1 (Enabled)

0 (Disabled)

Disabled: No Configuration RAM scan is enabled.

Enabled: Configuration RAM scan is enabled.

CONFIG.PS_PMC_CONFIG {SEM_MEM_ENABLE_SCAN_AFTER 0}

0 (Immediate start)

1 (Deferred start)

0 (Immediate start)

Immediate start: Enables automatic start of Configuration RAM scanning after boot.

Deferred start: Start of the scan during mission based on user request.

CONFIG.PS_PMC_CONFIG {SEM_MEM_GOLDEN_ECC_SW 0}

0 (HW ECC)

1 (SW ECC)

0 (HW ECC)

HW ECC: Hardware computes the golden ECC values during calibration.

SW ECC: Tool generated values are used as golden ECC values for Configuration RAM scan.

CONFIG.PS_PMC_CONFIG {SEM_ERROR_HANDLE_OPTIONS {Detect only}}

{Detect only}

{Detect and correct}

{Detect and correct}

Detect only: No correction is done for all correctable errors. All errors are reported to the user.

Detect & correct: Correction is enabled for all correctable errors. Uncorrectable/CRC errors are reported to the user.

Advanced features of the XilSEM library can be accessed through properties applied to the design. The XilSEM library provides an optional feature for the soft error mitigation of NPI Registers, provided the supplemental hardware resources required for this feature are accessible. This feature is a scan-based process automated by integrated logic and managed by the XilSEM library, which reads back NPI Registers and uses SHA to detect errors.

NPI Register scan requires XilSEM library use of PMC cryptographic acceleration. The following are some of the scenarios in which the XilSEM library cannot offer this optional feature:

  • User operation of the SHA block in the PMC for purposes of the user design
  • Device is programmed for “no end-user accessible” cryptographic functions
Table 2. XilSEM NPI Properties
Property Name Supported Values Default Value Description
CONFIG.PS_PMC_CONFIG {SEM_NPI_SCAN 0}

0 (Disabled)

1 (Enabled)

0 (Disabled)

Disabled: No NPI scan is enabled.

Enabled: NPI scan is enabled.

CONFIG.PS_PMC_CONFIG {SEM_NPI_ENABLE_SCAN_AFTER 0}

0 (Immediate start)

1 (Deferred start)

0 (Immediate start)

Immediate start: Enables automatic start of NPI scanning after boot.

Deferred start: Start of the NPI scan during mission based on your request.

BITGEN.GENERATESWSHA

False (HW SHA)

True (SW SHA)

True (SW SHA)

HW SHA: The value calculated during the first scan will be used as golden SHA.

SW SHA: Tool generated values are used as golden SHA for NPI scan.

CONFIG.PS_PMC_CONFIG {SEM_TIME_INTERVAL_BETWEEN_SCANS 100 } >=100 msec && <=1000 msec 100 msec The interval in milliseconds at which the NPI scan is repeated. Recommended to use 100 msec.

Additional XilSEM library properties as referenced below are available.

Table 3. Additional XilSEM Library Properties
Property Name Supported Values Default Value Description
CONFIG.PS_PMC_CONFIG {PMC_GPO_ENABLE 0}

0 (Disabled)

1 (Enabled)

0 (Disabled)

Disabled: PMC_PL_GPO will not be triggered for status and error information.

Enabled: PMC_PL_GPO will be triggered for status and error information.