摘要 |
<p>VARIABLE WORD LENGTH DECODER A decoder is provided for decoding variable word length (VWL) encoded serial data in which each non-zero word comprises a start bit and an end bit of one state and a number of intervening bits of a different state, the number of such bits representing the magnitude of the word. The decoder comprises a binary counter and means responsive to a start bit of an input word for clearing the counter; responsive to any intervening bits present to enable the counter to count such intervening bits; and responsive to an end bit of said variable word to output the contents of the counter as a parallel binary word. Where the number of intervening bits is one less than the actual magnitude the decoder may include means for adding one to the counter output. The decoder may also detect an additional bit in the input word, representing, for example, its polarity, and provide a corresponding bit in the fixed-length output word.</p> |