Skip to main content
Article
100%
HD

When checking a computer or memory, the most common method is to throw random test patterns at it. Yet, if those patterns are too similar, hidden errors—especially those involving multiple cells at once—can slip through. Researchers from Applied Sciences introduced a “controlled random testing” approach. The core idea is to verify how different a new pattern is from those already used, using a metric called Hamming distance, which counts the bit positions where two binary strings differ. To boost its power, they converted binary patterns into symbols of non‑binary numeral systems—quaternary, octal and hexadecimal. Thus, if two patterns are at least N symbols apart in that domain, they are guaranteed to be at least N bits apart in binary form. The outcome is a more diverse test set that can spot multicell faults with fewer trials. Simulations show that, compared to traditional methods, this technique cuts down the number of required tests and raises the chance of catching critical errors, making embedded devices and memory systems safer. In practice, it’s like mixing a recipe’s ingredients thoroughly: the better the blend, the tastier (and more reliable) the final product.

Bonus
100%
HD

Hamming distance, introduced by Richard Hamming in 1950, is a discrete measure of dissimilarity between two binary strings of equal length. In hardware testing, it is crucial because each differing bit represents a potential state change of the device under test. The proposed method exploits representing binary patterns in numeral systems with a base higher than 2. By converting a binary sequence into quaternary (base‑4), octal (base‑8) or hexadecimal (base‑16) symbols, the string length is compressed: for example, 8 bits become 2 hexadecimal symbols. This compression allows rapid calculation of Hamming distance in the symbolic domain, reducing computational complexity from O(n) to O(n/ logâ‚‚b), where b is the numeral base. Moreover, guaranteeing a minimum distance D in the symbolic domain implies a minimum distance D·logâ‚‚b in the original binary representation, since each differing symbol corresponds to logâ‚‚b differing bits. The controlled generation procedure starts from an initial pool of patterns, iteratively selecting new patterns that satisfy the minimum‑distance constraint relative to all previously accepted patterns. Greedy or backtracking algorithms can be employed, with acceptable average complexity for test sets of moderate size (on the order of thousands). Simulations on DRAM memory models showed a 30‑40% reduction in the number of patterns needed to detect multicell faults compared to purely random sequences, while maintaining comparable fault coverage. This approach is especially beneficial for embedded systems where time and energy resources are limited, and for safety‑critical applications where certification demands rigorous test‑coverage proofs. Future extensions to more complex non‑binary systems (e.g., Reed‑Solomon codes) could further enhance test efficiency by leveraging the algebraic structure of symbols to generate patterns with optimized distance properties.

Ask AI

Explore key aspects of this story with 3 quick insights

Source

Authors:
Ireneusz MrozekMarek KopczewskiVyacheslav N. Yarmolik
Date Published:
Original Article www.mdpi.com
Fact-check verified on 16/02/2026
Read our Editorial Guidelines & AI Ethics Policy
Creative Commons License CC BY-NC-SA 4.0

Keep exploring

Discover the full archive of science bites or head back to home

Riconnessione al server... Aggiornamento della sessione in corso
Connessione interrotta Impossibile stabilire il collegamento
Sessione aggiornata Ricarica per visualizzare i contenuti