3.6.1.26 Error Correction Code

Syntax
#pragma HLS memory impl variable(<var_name>) ecc(true|false)
Description
This pragma enables generating Error Correction Code (ECC) protected memory.
Parameters
ParameterValueOptionalDefaultDescription
variablestringNoVariable name
ecctrue|falseyesfalsetrue for enabling ECC
Position
Before the global / local variable declaration.
Examples
#pragma HLS memory impl variable(x) ecc(true)
int x[100];