Combinational Circuits Testing Based on Hsiao Codes with Self-Dual Check Functions
Abstract
:1. Introduction
2. The Hsiao Codes
- The value of the number of data symbols m is the selected item.
- All columns are assigned to check symbols in the check matrix with weight r = 1 (their number is where k is the number of check symbols and the number of rows in the matrix).
- All columns are selected sequentially with an odd weight value r = 3, 5, 7, … corresponding to data symbols columns with an odd weight r = 3; then, columns are selected with an odd of weight r = 5, and so on, until m columns have been selected with an odd weight.
3. Structure of the Concurrent Error-Detection Circuit
4. Experiments with Benchmarks
5. Discussion
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Gavzov, D.V.; Sapozhnikov, V.V.; Sapozhnikov, V.V. Methods for Providing Safety in Discrete Systems. Autom. Remote Control 1994, 55, 1085–1122. [Google Scholar]
- Ubar, R.; Raik, J.; Vierhaus, H.-T. Design and Test Technology for Dependable Systems-on-Chip (Premier Reference Source); Information Science Reference; IGI Global: Hershey, PA, USA; New York, NY, USA, 2011; p. 578. [Google Scholar]
- Dubrova, E. Fault-Tolerant Design; Springer Science+Business Media: New York, NY, USA, 2013; p. XV+185. [Google Scholar] [CrossRef]
- Hahanov, V. Cyber Physical Computing for IoT-driven Services; Springer International Publishing AG: New York, NY, USA, 2018; p. 279. [Google Scholar]
- Bestemyanov, P.F. Methods of Providing Hardware Safety for Microprocessor Train Control Systems. Russ. Electr. Eng. 2020, 91, 531–536. [Google Scholar] [CrossRef]
- Drozd, O.; Romankevich, V.; Kuznietsov, M.; Drozd, M.; Martynyuk, O. Using Natural Version Redundancy of FPGA Projects in Area of Critical Applications. In Proceedings of the IEEE 11th International Conference on Dependable Systems, Services and Technologies, Kyiv, Ukraine, 14–18 May 2020; pp. 58–64. [Google Scholar] [CrossRef]
- Reynolds, D.A.; Meize, G. Fault Detection Capabilities of Alternating Logic. IEEE Trans. Comput. 1978; C-27, 1093–1098. [Google Scholar]
- Aksjonova, G.P. Restoration in Duplicated Units by the Method of Data Inversion. Autom. Remote Control 1987, 144–153. [Google Scholar]
- Goessel, M.; Dmitriev, A.V.; Sapozhnikov, V.V.; Sapozhnikov, V.V. A Functional Fault-Detection Self-Test for Combinational Circuits. Autom. Remote Control 1999, 60, 1653–1663. [Google Scholar]
- Sogomonyan, E.S.; Gössel, M. Design of Self-Testing and On-Line Fault Detection Combinational Circuits with Weakly Independent Outputs. J. Electron. Test. Theory Appl. 1993, 4, 267–281. [Google Scholar] [CrossRef]
- Saposhnikov, V.V.; Morosov, A.; Saposhnikov, V.V.; Göessel, M. A New Design Method for Self-Checking Unidirectional Combinational Circuits. J. Electron. Test. Theory Appl. 1998, 12, 41–53. [Google Scholar] [CrossRef]
- Matrosova, A.Y.; Levin, I.; Ostanin, S.A. Self-Checking Synchronous FSM Network Design with Low Overhead. VLSI Des. 2000, 11, 47–58. [Google Scholar] [CrossRef]
- Saposhnikov, V.V.; Moshanin, V.; Saposhnikov, V.V.; Goessel, M. Experimental Results for Self-Dual Multi-Output Combinational Circuits. J. Electron. Test. Theory Appl. 1999, 14, 295–300. [Google Scholar] [CrossRef]
- Dmitriev, A.; Saposhnikov, V.; Sapozhnikov, V.; Goessel, M.; Moshanin, V.; Morosov, A. New Self-Dual Circuits for Error Detection and Testing. VLSI Des. 2000, 11, 1–21. [Google Scholar] [CrossRef]
- Efanov, D.V.; Pogodina, T.S. Self-Dual Digital Devices with Calculations Testing by Modified Hamming Code. In Proceedings of the 2023 Conference of Russian Young Researchers in Electrical and Electronic Engineering (EIConRus), St. Petersburg, Russia, 24–27 January 2023; pp. 72–77. [Google Scholar]
- Efanov, D.; Pogodina, T. Properties Investigation of Self-Dual Combinational Devices with Calculation Control Based on Hamming Codes. Inform. Autom. 2023, 22, 349–392. [Google Scholar] [CrossRef]
- Efanov, D.; Sapozhnikov, V.; Sapozhnikov, V.; Osadchy, G.; Pivovarov, D. Self-Dual Complement Method up to Constant-Weight Codes for Arrangement of Combinational Logical Circuits Concurrent Error-Detection Systems. In Proceedings of the 17th IEEE East-West Design & Test Symposium (EWDTS’2019), Batumi, Georgia, 13–16 September 2019; pp. 136–143. [Google Scholar] [CrossRef]
- Efanov, D.V.; Pivovarov, D.V. The Hybrid Structure of a Self-Dual Built-In Control Circuit for Combinational Devices with Pre-Compression of Signals and Checking of Calculations by Two Diagnostic Parameters. In Proceedings of the 19th IEEE East-West Design & Test Symposium (EWDTS’2021), Batumi, Georgia, 10–13 September 2021; pp. 200–206. [Google Scholar] [CrossRef]
- Goessel, M.; Morozov, A.V.; Sapozhnikov, V.V.; Sapozhnikov, V.V. Logic Complement, a New Method of Checking the Combinational Circuits. Autom. Remote Control 2003, 1, 153–161. [Google Scholar] [CrossRef]
- Goessel, M.; Morozov, A.V.; Sapozhnikov, V.V.; Sapozhnikov, V.V. Checking Combinational Circuits by the Method of Logic Complement. Autom. Remote Control 2005, 66, 1336–1346. [Google Scholar] [CrossRef]
- Göessel, M.; Ocheretny, V.; Sogomonyan, E.; Marienfeld, D. New Methods of Concurrent Checking, 1st ed.; Springer Science+Business Media B.V.: Dordrecht, The Netherlands, 2008; p. 184. [Google Scholar]
- Hamming, R.W. Error Detecting and Correcting Codes. Bell Syst. Tech. J. 1950, 29, 147–160. [Google Scholar] [CrossRef]
- Hsiao, M.Y. A Class of Optimal Minimum Odd-Weight-Column SEC-DED Codes. IBM J. Res. Dev. 1970, 14, 395–401. [Google Scholar] [CrossRef]
- Tshagharyan, G.; Harutyunyan, G.; Shoukourian, S.; Zorian, Y. Experimental Study on Hamming and Hsiao Codes in the Context of Embedded Applications. In Proceedings of the 15th IEEE East-West Design & Test Symposium, Novi Sad, Serbia, 29 September–2 October 2017; pp. 25–28. [Google Scholar] [CrossRef]
- Sim, M.T.; Zhuang, Y. Design of Two Interleaved Error Detection and Corrections Using Hsiao Code and CRC. In Proceedings of the IECON 2020 The 46th Annual Conference of the IEEE Industrial Electronics Society, Singapore, 18–21 October 2020. [Google Scholar] [CrossRef]
- Aymen, F.; Belgacem, H.; Chiraz, K.A. New Efficient Self-Checking Hsiao SEC-DED Memory Error Correcting Code. In Proceedings of the ICM 2011 Proceeding, Hammamet, Tunisia, 19–22 December 2011; pp. 1–5. [Google Scholar] [CrossRef]
- Novac, O.; Vari-Kakas, S.; Hathazi, F.; Curila, M.; Curila, S. Aspects Regarding the Implementation of Hsiao Code to the Cache Level of a Memory Hierarchy with FPGA Xilinx Circuits. In Advanced Techniques in Computing Sciences and Software Engineering; Elleithy, K., Ed.; Springer: Dordrecht, The Netherlands, 2010; pp. 539–543. [Google Scholar] [CrossRef]
- Novac, O.C.; Sztrik, J.; Vari-Kakas, S.; Kim, C.-S. Reliability Increasing Method Using a SEC-DED Hsiao Code to Cache Memories, Implemented with FPGA Circuits. J. Comput. Sci. Control. Syst. 2011, 4, 59–62. [Google Scholar]
- Sahana, A.R.; Chiraag, V.; Suresh, G.; Thejaswini, P.; Nandi, S. Application of Error Detection and Correction Techniques to Self-Checking VLSI Systems: An Overview. In Proceedings of the 2023 IEEE Guwahati Subsection Conference (GCON), Guwahati, India, 23–25 June 2023. [Google Scholar] [CrossRef]
- Chioktour, V.; Kakarountas, A. Adaptive BIST for Concurrent On-Line Testing on Combinational Circuits. Electronics 2022, 19, 3193. [Google Scholar] [CrossRef]
- Fujiwara, E. Code Design for Dependable Systems: Theory and Practical Applications; J. Wiley & Sons: Hoboken, NJ, USA, 2006; p. 720. [Google Scholar]
- Moshanin, V.; Saposhnikov, V.V.; Saposhnikov, V.V.; Gossel, M. Synthesis of Self-Dual Multi-Output Combinational Circuits for On-Line Testing. In Proceedings of the 2nd IEEE International On-Line Testing Workshop, Biarritz, France, 8–10 July 1996. [Google Scholar]
- Drozd, A.; Kharchenko, V.; Antoshchuk, S.; Sulima, J.; Drozd, M. Checkability of the Digital Components in Safety-Critical Systems: Problems and Solutions. In Proceedings of the 9th IEEE East-West Design & Test Symposium, Sevastopol, Ukraine, 9–12 September 2011; pp. 411–416. [Google Scholar] [CrossRef]
- Sapozhnikov, V.V. Synthesis of Train Traffic Control Systems at Railway Stations with the Exception of Dangerous Failures; Publishing House «Nauka»: Moscow, Russia, 2021; p. 229. [Google Scholar]
k | Nr | mmax |
---|---|---|
4 | 4 | |
5 | 11 | |
6 | 26 | |
7 | 57 | |
8 | 120 | |
9 | 247 | |
10 | 502 |
Pair Number | ax1x2x3x4x5 | TRC7 0/1 B | TRC7 0/1 A | TRC7 0/1 C | Pair Number | ax1x2x3x4x5 | TRC7 0/1 B | TRC7 0/1 A | TRC7 0/1 C |
---|---|---|---|---|---|---|---|---|---|
1 | 000000 | 1/0 | 0/1 | 1/0 | 17 | 010000 | 1/0 | 1/0 | 0/1 |
111111 | 1/1 | 1/1 | 1/1 | 101111 | 1/1 | 1/1 | 1/1 | ||
2 | 000001 | 1/0 | 1/0 | 0/1 | 18 | 010001 | 1/0 | 1/0 | 0/1 |
111110 | 0/1 | 0/1 | 0/1 | 101110 | 1/1 | 1/1 | 1/1 | ||
3 | 000010 | 1/0 | 0/1 | 1/0 | 19 | 010010 | 1/0 | 1/0 | 0/1 |
111101 | 1/1 | 1/1 | 1/1 | 101101 | 1/1 | 1/1 | 1/1 | ||
4 | 000011 | 1/0 | 0/1 | 1/0 | 20 | 010011 | 1/0 | 0/1 | 1/0 |
111100 | 1/0 | 1/0 | 0/1 | 101100 | 1/1 | 1/1 | 1/1 | ||
5 | 000100 | 1/0 | 1/1 | 1/1 | 21 | 010100 | 1/0 | 1/1 | 1/1 |
111011 | 1/1 | 0/1 | 1/1 | 101011 | 1/1 | 1/0 | 1/1 | ||
6 | 000101 | 1/0 | 0/1 | 1/0 | 22 | 010101 | 1/0 | 0/0 | 0/0 |
111010 | 1/0 | 1/0 | 0/1 | 101010 | 0/0 | 0/1 | 0/0 | ||
7 | 000110 | 1/0 | 0/1 | 1/0 | 23 | 010110 | 1/0 | 0/1 | 1/0 |
111001 | 1/1 | 1/1 | 1/1 | 101001 | 1/1 | 1/1 | 1/1 | ||
8 | 000111 | 1/0 | 0/1 | 1/0 | 24 | 010111 | 1/0 | 1/0 | 0/1 |
111000 | 1/0 | 1/0 | 0/1 | 101000 | 0/0 | 0/0 | 0/0 | ||
9 | 001000 | 1/0 | 1/0 | 0/1 | 25 | 011000 | 1/0 | 1/0 | 0/1 |
110111 | 1/1 | 1/1 | 1/1 | 100111 | 1/1 | 1/1 | 1/1 | ||
10 | 001001 | 1/0 | 1/0 | 0/1 | 26 | 011001 | 1/0 | 1/0 | 0/1 |
110110 | 1/1 | 1/1 | 1/1 | 100110 | 1/1 | 1/1 | 1/1 | ||
11 | 001010 | 1/0 | 1/0 | 0/1 | 27 | 011010 | 1/0 | 1/0 | 0/1 |
110101 | 1/1 | 1/1 | 1/1 | 100101 | 1/1 | 1/1 | 1/1 | ||
12 | 001011 | 1/0 | 0/1 | 1/0 | 28 | 011011 | 1/0 | 0/1 | 1/0 |
110100 | 1/1 | 1/1 | 1/1 | 100100 | 1/1 | 1/1 | 1/1 | ||
13 | 001100 | 1/0 | 1/1 | 1/1 | 29 | 011100 | 1/0 | 1/1 | 1/1 |
110011 | 1/1 | 1/0 | 1/1 | 100011 | 1/1 | 1/0 | 1/1 | ||
14 | 001101 | 1/0 | 0/0 | 0/0 | 30 | 011101 | 1/0 | 0/0 | 0/0 |
110010 | 0/0 | 0/1 | 0/0 | 100010 | 0/0 | 0/1 | 0/0 | ||
15 | 001110 | 1/0 | 0/1 | 1/0 | 31 | 011110 | 1/0 | 0/1 | 1/0 |
110001 | 1/1 | 1/1 | 1/1 | 100001 | 1/1 | 1/1 | 1/1 | ||
16 | 001111 | 1/0 | 1/0 | 0/1 | 32 | 011111 | 1/0 | 1/0 | 0/1 |
110000 | 0/0 | 0/0 | 0/0 | 100000 | 0/0 | 0/0 | 0/0 |
Pair Number | ax1x2x3x4x5 | TRC7 0/1 B | TRC7 0/1 A | TRC7 0/1 C | Pair Number | ax1x2x3x4x5 | TRC7 0/1 B | TRC7 0/1 A | TRC7 0/1 C |
---|---|---|---|---|---|---|---|---|---|
1 | 000000 | 1/0 | 1/1 | 1/1 | 17 | 010000 | 1/0 | 1/1 | 1/1 |
111111 | 1/1 | 1/0 | 1/1 | 101111 | 1/1 | 0/1 | 1/1 | ||
2 | 000001 | 1/0 | 1/0 | 0/1 | 18 | 010001 | 1/0 | 0/0 | 0/0 |
111110 | 0/1 | 0/1 | 0/1 | 101110 | 0/0 | 0/1 | 0/0 | ||
3 | 000010 | 1/0 | 1/1 | 1/1 | 19 | 010010 | 1/0 | 1/1 | 1/1 |
111101 | 1/1 | 1/0 | 1/1 | 101101 | 1/1 | 0/1 | 1/1 | ||
4 | 000011 | 1/0 | 0/1 | 1/0 | 20 | 010011 | 1/0 | 1/1 | 1/1 |
111100 | 1/0 | 1/0 | 0/1 | 101100 | 1/1 | 1/0 | 1/1 | ||
5 | 000100 | 1/0 | 1/0 | 0/1 | 21 | 010100 | 1/0 | 0/1 | 1/0 |
111011 | 1/1 | 1/1 | 1/1 | 101011 | 1/1 | 1/1 | 1/1 | ||
6 | 000101 | 1/0 | 0/1 | 1/0 | 22 | 010101 | 1/0 | 1/0 | 0/1 |
111010 | 1/0 | 1/0 | 0/1 | 101010 | 1/1 | 1/1 | 1/1 | ||
7 | 000110 | 1/0 | 1/1 | 1/1 | 23 | 010110 | 1/0 | 1/1 | 1/1 |
111001 | 1/1 | 1/0 | 1/1 | 101001 | 1/1 | 1/0 | 1/1 | ||
8 | 000111 | 1/0 | 0/1 | 1/0 | 24 | 010111 | 1/0 | 1/1 | 1/1 |
111000 | 1/0 | 1/0 | 0/1 | 101000 | 1/1 | 0/1 | 1/1 | ||
9 | 001000 | 1/0 | 1/1 | 1/1 | 25 | 011000 | 1/0 | 1/1 | 1/1 |
110111 | 1/1 | 0/1 | 1/1 | 100111 | 1/1 | 0/1 | 1/1 | ||
10 | 001001 | 1/0 | 0/0 | 0/0 | 26 | 011001 | 1/0 | 0/0 | 0/0 |
110110 | 0/0 | 0/1 | 0/0 | 100110 | 0/0 | 0/1 | 0/0 | ||
11 | 001010 | 1/0 | 1/1 | 1/1 | 27 | 011010 | 1/0 | 1/1 | 1/1 |
110101 | 1/1 | 0/1 | 1/1 | 100101 | 1/1 | 0/1 | 1/1 | ||
12 | 001011 | 1/0 | 1/1 | 1/1 | 28 | 011011 | 1/0 | 1/1 | 1/1 |
110100 | 1/1 | 1/0 | 1/1 | 100100 | 1/1 | 1/0 | 1/1 | ||
13 | 001100 | 1/0 | 0/1 | 1/0 | 29 | 011100 | 1/0 | 0/1 | 1/0 |
110011 | 1/1 | 1/1 | 1/1 | 100011 | 1/1 | 1/1 | 1/1 | ||
14 | 001101 | 1/0 | 1/0 | 0/1 | 30 | 011101 | 1/0 | 1/0 | 0/1 |
110010 | 1/1 | 1/1 | 1/1 | 100010 | 1/1 | 1/1 | 1/1 | ||
15 | 001110 | 1/0 | 1/1 | 1/1 | 31 | 011110 | 1/0 | 1/1 | 1/1 |
110001 | 1/1 | 1/0 | 1/1 | 100001 | 1/1 | 1/0 | 1/1 | ||
16 | 001111 | 1/0 | 1/1 | 1/1 | 32 | 011111 | 1/0 | 1/1 | 1/1 |
110000 | 1/1 | 0/1 | 1/1 | 100000 | 1/1 | 0/1 | 1/1 |
Indicator | m | Total with k = 5 | ||||||
---|---|---|---|---|---|---|---|---|
5 | 6 | 7 | 8 | 9 | 10 | 11 | ||
27 | 0 | 24 | 0 | 0 | 0 | 1 | 52 | |
462 | 462 | 330 | 165 | 55 | 11 | 1 | 1486 | |
ω, % | 5.844 | 0 | 7.273 | 0 | 0 | 0 | 100 | 3.499 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Efanov, D.V.; Pogodina, T.S.; Aripov, N.M.; Boltayev, S.T.; Azizov, A.R.; Ametova, E.K.; Shakirova, F.F. Combinational Circuits Testing Based on Hsiao Codes with Self-Dual Check Functions. Computation 2025, 13, 15. https://doi.org/10.3390/computation13010015
Efanov DV, Pogodina TS, Aripov NM, Boltayev ST, Azizov AR, Ametova EK, Shakirova FF. Combinational Circuits Testing Based on Hsiao Codes with Self-Dual Check Functions. Computation. 2025; 13(1):15. https://doi.org/10.3390/computation13010015
Chicago/Turabian StyleEfanov, Dmitry V., Tatiana S. Pogodina, Nazirjan M. Aripov, Sunnatillo T. Boltayev, Asadulla R. Azizov, Elnara K. Ametova, and Feruza F. Shakirova. 2025. "Combinational Circuits Testing Based on Hsiao Codes with Self-Dual Check Functions" Computation 13, no. 1: 15. https://doi.org/10.3390/computation13010015
APA StyleEfanov, D. V., Pogodina, T. S., Aripov, N. M., Boltayev, S. T., Azizov, A. R., Ametova, E. K., & Shakirova, F. F. (2025). Combinational Circuits Testing Based on Hsiao Codes with Self-Dual Check Functions. Computation, 13(1), 15. https://doi.org/10.3390/computation13010015