Achronix Speedster22i User Macro Guide Manuale Utente Pagina 168

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 224
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 167
Memories BRAM80KECC
Speedster22i Macro Cell Library
AchronixSemiconductorProprietary PAGE 151
BRAM80KECC Modes of Operation
There are three modes of operation for the BRAM80KECC block defined by the
encoder_enableanddecoder_enableparametershowninTable645
: BRAM80KECCModes
ofOp
eration.
Table 6-45: BRAM80KECC Modes of Operation
encoder_enable decoder_enable BRAM80KECC Operation Mode
1’b0 1’b0 Unsupported mode of operation
1’b0 1’b1 ECC decode-only mode
1’b1 1’b0 ECC encode-only mode
1’b1 1’b1 Normal ECC encode/decode mode
ECC Encode/Decode Operation Mode
The ECC Encode/Decode operation mode utilizes both the ECC Encoder and the ECC
Decoder.The32bituserdataiswrittenintothememoryviathedin[31:0] inputs.TheECC
Encoder generates the 7bit error correction syndrome and writes it into the memory
alongside the data word via the Parity (d
inp) and Extended Parity (d inpx) inputs.During
readoperations,the ECCDecoderreadsthe 32bit userdataand the7bitsyndromedatato
generate an error correction mask.The ECC decoder will correct any single bit error and
detect, but not correct, any twobit error. If the ECC de
coder detects a single bit error, it
automaticallycorrectstheerrorandplacesthecorrecteddataonthedout[31:0]pins aswellas
assertsthesbit_errorflag.The memorylocationcontaining the errorisnotcorrected.Ifthe
ECCdecoderdetectsatwobiterror,iswillplacetheuncorrecteddataonthedou
t[31:0]pins
andassertthedbit_errorflagonecycleafterthethedatawordisread.
ECC Encode-Only Operation Mode
The ECC EncodeOnly operation has the ECC Encoder enabled and the ECC Decoder
disabled.Thismodeallowstheusertowritethe userprovided32bitdataalongsidethe7bit
errorcorrectionsyndrometothememoryduringwriteoperations.Readoperationsallowthe
user to read the 32bit us
er data alongside the error syndrome directly out of the memory
withoutcorrectingthedata.TheEncodeOnlycanbeusedasabuildingblocktohaveerror
correctionforoffchipmemories.
ECC Decode-Only Operation Mode
The ECC DecodeOnly operation has the ECC Encoder disabled and the ECC Decoder
enabled.This mode bypasses the ECC Encoder and allows the user to write 40bit data
directly into the BRAM80KECC memory during write operations.Read operations use the
memory’sdoutpx[2:0] anddoutp[3:0]bitsas a7bitsy
ndromefor errorcorrection.The ECC
decoderwill correctanysingle biterrorand detect,butnot correct, anytwobiterror.If the
ECC decoder detects a single bit error, it automatically corrects the error and places the
corrected data on the dout[31:0] pins as well as asserts the sbit_error flag. The memory
loca
tion containing the error is not corrected.If the ECC decoder detects a twobiterror,is
willplacetheuncorrecteddataonthedout[31:0]pinsandassertthedbit_errorflagonecycle
afterthethedatawordisread.TheEncodeOnlycanbeusedasabuildingblocktohav
eerror
correctionforoffchipmemories.
Vedere la pagina 167
1 2 ... 163 164 165 166 167 168 169 170 171 172 173 ... 223 224

Commenti su questo manuale

Nessun commento