12 Facts About Unit-distance code

1.

Binary-reflected Gray Unit-distance code represents the underlying scheme of the classical Chinese rings puzzle, a sequential mechanical puzzle mechanism described by the French Louis Gros in 1872.

FactSnippet No. 1,548,789
2.

Balanced Gray Unit-distance code can be constructed, that flips every bit equally often.

FactSnippet No. 1,548,790
3.

Typical use of Gray Unit-distance code counters is building a FIFO data buffer that has read and write ports that exist in different clock domains.

FactSnippet No. 1,548,791
4.

The input and output counters inside such a dual-port FIFO are often stored using Gray Unit-distance code to prevent invalid transient states from being captured when the count crosses clock domains.

FactSnippet No. 1,548,792
5.

One possibility is to start with a balanced Gray Unit-distance code and remove pairs of values at either the beginning and the end, or in the middle.

FactSnippet No. 1,548,793

Related searches

Gray code Art
6.

The -Gray Unit-distance code produced by the above algorithm is always cyclical; some algorithms, such as that by Guan, lack this property when k is odd.

FactSnippet No. 1,548,794
7.

Gray code is uniform or uniformly balanced if its transition counts are all equal, in which case we have for all k Clearly, when, such codes exist only if n is a power of 2.

FactSnippet No. 1,548,795
8.

Example, a balanced 4-bit Gray Unit-distance code has 16 transitions, which can be evenly distributed among all four positions, making it uniformly balanced:.

FactSnippet No. 1,548,796
9.

Whereas a balanced 5-bit Gray Unit-distance code has a total of 32 transitions, which cannot be evenly distributed among the positions.

FactSnippet No. 1,548,797
10.

An example of an 8-bit Beckett–Gray Unit-distance code can be found in Donald Knuth's Art of Computer Programming.

FactSnippet No. 1,548,798
11.

Yet another kind of Gray code is the single-track Gray code developed by Norman B Spedding and refined by Hiltgen, Paterson and Brandestini in "Single-track Gray codes".

FactSnippet No. 1,548,799
12.

The Gray Unit-distance code nature is useful, as only one sensor will change at any one time, so the uncertainty during a transition between two discrete states will only be plus or minus one unit of angular measurement the device is capable of resolving.

FactSnippet No. 1,548,800