Pipelined Diagonal Matrix Codes for Error Correction in Embedded Memories
Received: 11 May 2025 | Revised: 6 July 2025 and 14 July 2025 | Accepted: 19 July 2025 | Online: 6 October 2025
Corresponding author: C. H. Kavya
Abstract
Semiconductor memories are the basic storage elements for advanced FPGAs. However, with technology scaling due to high packing densities, the temperature of the device rises drastically, creating temporary or permanent faults that manifest as errors in the stored data. Permanent errors cannot be corrected, but temporary errors can. If the data in the memory is critical, such as data used during satellite or missile launch, patient data, etc., there is a need for Error-Detecting and Correcting (EDAC) code. Memories are represented as a matrix that stores data in rows. EDAC codes correct random (errors at various distributed locations) and burst errors (a sequence of erroneous bits within a row). The Hamming code represents the basis for any EDAC code. This work focuses on a single code used to identify 8-bit erroneous data and correct for 6 and 7 random bit errors and 8 burst errors. The matrix code utilizes a memory representation and Hamming code to detect and correct errors, taking care to increase the code rate with less area and delay. In addition, a pipelining technique is used to reduce power dissipation, which also helps to increase the speed of the design. The codes were modeled in Verilog HDL and verified for the Zynq 7000 series FPGA using Xilinx Vivado 2023.2. The results were verified for technological parameters, such as area in terms of LUTs, critical path delay, power dissipation, etc., and for non-technological parameters such as code rate, bit overhead, detection capability, correction capability, etc. The proposed pipelined matrix code was better in most aspects compared to existing designs.
Keywords:
bit overhead, code rate, errors, Hamming code, multiple cell upset, single error correction, syndrome bitsDownloads
References
A. J. Olazábal and J. P. Guerra, "Multiple Cell Upsets Inside Aircrafts. New Fault-Tolerant Architecture," IEEE Transactions on Aerospace and Electronic Systems, vol. 55, no. 1, pp. 332–342, Oct. 2019.
J. Gracia-Morán, L. J. Saiz-Adalid, D. Gil-Tomás, and P. J. Gil-Vicente, "Improving Error Correction Codes for Multiple-Cell Upsets in Space Applications," IEEE Transactions on Very Large Scale Integration (VLSI) Systems, vol. 26, no. 10, pp. 2132–2142, Jul. 2018.
"IEEE Standard for Error Correction Coding of Flash Memory Using Low-Density Parity Check Codes." IEEE.
J. Samanta, J. Bhaumik, and S. Barman, "Compact and power efficient SEC-DED codec for computer memory," Microsystem Technologies, vol. 27, no. 2, pp. 359–368, Feb. 2021.
A. M. A. Hamdoon, Z. G. Mohammed, and E. A. Mohammed, "Design and implementation of single bit error correction linear block code system based on FPGA," TELKOMNIKA (Telecommunication Computing Electronics and Control), vol. 17, no. 4, pp. 1785–1795, Aug. 2019.
S. Liu, P. Reviriego, J. A. Maestro, and L. Xiao, "Fault tolerant encoders for Single Error Correction and Double Adjacent Error Correction codes," Microelectronics Reliability, vol. 81, pp. 167–173, Feb. 2018.
A. Sánchez-Macián, P. Reviriego, and J. A. Maestro, "Hamming SEC-DAED and Extended Hamming SEC-DED-TAED Codes Through Selective Shortening and Bit Placement," IEEE Transactions on Device and Materials Reliability, vol. 14, no. 1, pp. 574–576, Mar. 2014.
A. Dutta and N. A. Touba, "Multiple Bit Upset Tolerant Memory Using a Selective Cycle Avoidance Based SEC-DED-DAEC Code," in 25th IEEE VLSI Test Symmposium (VTS’07), Berkeley, CA, USA, May 2007, pp. 349–354.
P. Reviriego, J. Martínez, S. Pontarelli, and J. A. Maestro, "A Method to Design SEC-DED-DAEC Codes With Optimized Decoding," IEEE Transactions on Device and Materials Reliability, vol. 14, no. 3, pp. 884–889, Sep. 2014.
W. Zhou, H. Zhang, H. Wang, and Y. Wang, "Designing scrubbing strategy for memories suffering MCUs through the selection of optimal interleaving distance," International Journal of Computational Science and Engineering, vol. 19, no. 1, pp. 53–63, Jan. 2019.
C. Argyrides, D. K. Pradhan, and T. Kocak, "Matrix Codes for Reliable and Cost Efficient Memory Chips," IEEE Transactions on Very Large Scale Integration (VLSI) Systems, vol. 19, no. 3, pp. 420–428, Mar. 2011.
M. S. Sunita and V. S. K. Bhaaskaran, "Matrix Code Based Multiple Error Correction Technique for N-Bit Memory Data," International Journal of VLSI Design & Communication Systems, vol. 4, no. 1, pp. 29–37, Feb. 2013.
J. Gracia-Moran, L. J. Saiz-Adalid, J. C. Baraza-Calvo, and P. Gil, "Correction of Adjacent Errors with Low Redundant Matrix Error Correction Codes," in 2018 Eighth Latin-American Symposium on Dependable Computing (LADC), Foz do Iguaçu, Brazil, Oct. 2018, pp. 107–114.
V. Badole and A. Udawat, "Implementation of multidirectional parity check code using hamming code for error detection and correction," International Journal of Research in Advent Technology, vol. 2, no. 5, pp. 1–6, 2014.
S. Tambatkar, S. N. Menon, V. Sudarshan, M. Vinodhini, and N. S. Murty, "Error detection and correction in semiconductor memories using 3D parity check code with hamming code," in 2017 International Conference on Communication and Signal Processing (ICCSP), Chennai, India, Apr. 2017, pp. 0974–0978.
T. Maheswari and M. P. Sukumar, "Error Detection and Correction in SRAM Cell Using Decimal Matrix Code," IOSR Journal of VLSI and Signal Processing, vol. 5, no. 1, pp. 9–14, Jan. 2015.
J. Guo, L. Xiao, Z. Mao, and Q. Zhao, "Enhanced Memory Reliability Against Multiple Cell Upsets Using Decimal Matrix Code," IEEE Transactions on Very Large Scale Integration (VLSI) Systems, vol. 22, no. 1, pp. 127–135, Jan. 2014.
A. Ahilan and P. Deepa, "Modified Decimal Matrix Codes in FPGA configuration memory for multiple bit upsets," in 2015 International Conference on Computer Communication and Informatics (ICCCI), Coimbatore, India, Jan. 2015, pp. 1–5.
S. Manoj and C. Babu, "Improved error detection and correction for memory reliability against multiple cell upsets using DMC & PMC," in 2016 IEEE Annual India Conference (INDICON), Bangalore, India, Dec. 2016, pp. 1–6.
S. Sharma and P. Vijayakumar, "An HVD based error detection and correction of soft errors in semiconductor memories used for space applications," in 2012 International Conference on Devices, Circuits and Systems (ICDCS), Coimbatore, Mar. 2012, pp. 563–567.
Md. S. Rahman, M. S. Sadi, S. Ahammed, and J. Jurjens, "Soft error tolerance using Horizontal-Vertical-Double-Bit Diagonal parity method," in 2015 International Conference on Electrical Engineering and Information Communication Technology (ICEEICT), Savar, Bangladesh, May 2015, pp. 1–6.
W. Toghuj, "Modifying Hamming code and using the replication method to protect memory against triple soft errors," TELKOMNIKA (Telecommunication Computing Electronics and Control), vol. 18, no. 5, pp. 2533–2542, Oct. 2020.
S. Dey, Aurangozeb, and M. Hossain, "Low-Latency Burst Error Detection and Correction in Decision-Feedback Equalization," IEEE Open Journal of Circuits and Systems, vol. 2, pp. 91–100, 2021.
J. Li, P. Reviriego, L. Xiao, C. Argyrides, and J. Li, "Extending 3-bit Burst Error-Correction Codes With Quadruple Adjacent Error Correction," IEEE Transactions on Very Large Scale Integration (VLSI) Systems, vol. 26, no. 2, pp. 221–229, Oct. 2018.
J. Athira and B. Yamuna, "FPGA Implementation of an Area Efficient Matrix Code with Encoder Reuse Method," in 2018 International Conference on Communication and Signal Processing (ICCSP), Chennai, India Apr. 2018, pp. 0254–0257.
L. J. Saiz-Adalid, J. Gracia-Morán, D. Gil-Tomás, J. C. Baraza-Calvo, and P. J. Gil-Vicente, "Ultrafast Codes for Multiple Adjacent Error Correction and Double Error Detection," IEEE Access, vol. 7, pp. 151131–151143, 2019.
T. A. Gulliver and V. K. Bhargava, "A systematic (16,8) code for correcting double errors and detecting triple-adjacent errors," IEEE Transactions on Computers, vol. 42, no. 1, pp. 109–112, Jan. 1993.
K. Neelima and C. Subhas, "Half diagonal matrix codes for reliable embedded memories," International journal of health sciences, pp. 11664–11677, May 2022.
N. Koppala and C. Subhas, "Low overhead optimal parity codes," TELKOMNIKA (Telecommunication Computing Electronics and Control), vol. 20, no. 3, Jun. 2022, Art. no. 501.
N. K and C. Subhas, "Proficient Adjacent Error Correcting Codes," in 2023 IEEE 3rd International Conference on Applied Electromagnetics, Signal Processing, & Communication (AESPC), Bhubaneswar, India, Nov. 2023, pp. 1–5.
K. Neelima and C. Subhas, "Modified Proficient Adjacent Error Correcting Codes," e-Prime - Advances in Electrical Engineering, Electronics and Energy, vol. 5, Sep. 2023, Art. no. 100277.
N. Koppala, N. A. Kumar, S. Satyam, and N. V. Teja, "Proficient matrix codes for error detection and correctionin 8-port network on chip routers," Indonesian Journal of Electrical Engineering and Computer Science, vol. 29, no. 3, Mar. 2023, Art. no. 1336.
N. K and C. Subhas, "Modified Matrix Codes for Shielding Memories against Adjacent Errors," ASEAN Engineering Journal, vol. 14, no. 2, pp. 19–25, May 2024.
L. Jordanova, L. Laskov, and D. Dobrev, "Influence of BCH and LDPC Code Parameters on the BER Characteristic of Satellite DVB Channels," Engineering, Technology & Applied Science Research, vol. 4, no. 1, pp. 591–595, Feb. 2014.
Downloads
How to Cite
License
Copyright (c) 2025 Kavya CH, Varadarajan S

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain the copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) after its publication in ETASR with an acknowledgement of its initial publication in this journal.