3.6.1.26 Error Correction Code
(Ask a Question)- Syntax
#pragma HLS memory impl variable(<var_name>) ecc(true|false)
- Description
- This pragma enables generating Error Correction Code (ECC) protected memory.
- Parameters
Parameter Value Optional Default Description variable
string No Variable name ecc
true|false
yes false
true
for enabling ECC- Position
- Before the global / local variable declaration.
- Examples
#pragma HLS memory impl variable(x) ecc(true) int x[100];