The XilSEM library configuration options is available through the CIPS Customize IP dialog box in the Vivado Design Suite are shown in the following figure.
Within CIPS, the fundamental feature of the XilSEM library can be enabled. This feature is the soft error mitigation of the configuration RAM through a scan-based process automated by integrated logic and managed by the XilSEM library, which reads back the configuration RAM and uses ECC and CRC to detect and correct soft errors. Some of the features of CRAM Scan can be configured through properties as shown in the following table.
Property Name | Supported Values | Default Value | Description |
---|---|---|---|
CONFIG.PS_PMC_CONFIG {SEM_MEM_ENABLE_SCAN_AFTER 1} |
1 (Immediate start) 0 (Deferred start) |
1 (Immediate start) |
Immediate start: Enables automatic start of the configuration RAM scanning after boot. Deferred start: Start of the scan during mission |
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. The
NPI registers considered for scan are static. Post boot if you modify any the NPI
configuration registers, the scan fails with SHA mismatch errors. In this case,select the
Deferred start option. After the configuration, start the scan using the APIs
XSem_CmdNpiStartScan
for monolithic
XSem_Ssit_CmdNpiStartScan
for SSIT devices. Some of the features of the
NPI Scan can be configured thorough properties as shown in Table: XilSEM NPI Properties.
The following are the different configuration options for CRAM scan.
- Scan strategy:
- Immediate start: Enables automatic start of CRAM scanning after boot.
- Deferred start:Start of the CRAM scan during mission based on your request.
- ECC Method:
- HW ECC: The value calculated during the first scan will be used as golden ECC values.
- SW ECC: Tool generated values are used as golden ECC for CRAM scan.
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
Use the following two mechanism to identify if cryptographic acceleration block is disabled in your device.
- Read device Manual
- During run time, XilSEM on PLM updates bit-31 in
SEM_NPI_SCAN_STATUS
register. The following bit status indicates if cryptographic acceleration block is present.- 0: cryptographic acceleration is present
- 1: cryptographic acceleration is not present
- If you try to perform NPI scan requests when cryptographic acceleration block is disabled, you will get error notification. CRAM scan has no relevance to cryptographic acceleration block and is functional.
The following are the different configuration options for NPI scan.
- Scan strategy:
- Immediate start: Enables automatic start of NPI scanning after boot.
- Deferred start: Start of the NPI scan during mission based on your request.
- SHA Method:
- 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.
Property Name | Supported Values | Default Value | Description |
---|---|---|---|
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 80 } | >=80 msec && <=1000 msec | 80 msec | The interval in milliseconds at which the NPI scan is repeated. Recommended to use 80 msec. |
Additional XilSEM library properties as referenced below are available.
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 is not triggered for status and error information. Enabled: PMC_PL_GPO is triggered for status and error information. |