Claims (5)
1. Способ сжатия N-разрядного сигнала на К разрядов, в котором сигнал представлен в формате с дополнением до двух и К<N, причем разряд 1 сигнала является наименее значащим разрядом, а разряд N сигнала является наиболее значащим разрядом, заключающийся в том, что выводят N-K наиболее значащих разрядов сигнала, если разряд К сигнала равен "0", добавляют "1" к N-K наиболее значащим разрядам сигнала и выводят результат упомянутого добавления, если разряд К сигнала равен "I", и если разряды с К-1 по разряд 1 сигнала не равны "0", и определяют нечетность или четность N-K наиболее значащих разрядов сигнала, если разряд К сигнала равен "I", и если разряды с К-1 по разряд 1 сигнала все равны "0", и если четные, то добавляют "1" к N-K наиболее значащим разрядам сигнала и выводят результат упомянутого добавления, а если нечетные, то выводят N-K наиболее значащих разрядов сигнала.1. A method of compressing an N-bit signal into K bits, in which the signal is presented in a format with an addition of up to two and K <N, wherein bit 1 of the signal is the least significant bit, and bit N of the signal is the most significant bit, namely, that output the NK most significant bits of the signal if the bit K of the signal is "0", add "1" to the NK most significant bits of the signal and output the result of the addition if the bit K of the signal is "I", and if bits K-1 to bit 1 of the signal is not equal to "0", and odd or even nK of the most significant bits of the signal, if bit K of the signal is "I", and if bits K-1 to bit 1 of the signal are all "0", and if even, then add "1" to the NK most significant bits of the signal and output the result of the above addition, and if it is odd, then NK of the most significant bits of the signal are output.
2. Способ по п. 1, отличающийся тем, что при определении нечетности или четности проверяют разряд К+1 сигнала, причем сигнал является нечетным, если разряд К+1 равен "I", и сигнал является четным, если разряд К+1 равен "0". 2. The method according to p. 1, characterized in that when determining the oddness or parity, check the discharge K + 1 of the signal, the signal is odd if the discharge K + 1 is "I", and the signal is even if the discharge K + 1 is "0".
3. Система для сжатия N-разрядного сигнала на К разрядов, в которой сигнал представлен в формате с дополнением до двух и K<N, причем разряд 1 сигнала является наименее значащим разрядом, а разряд N сигнала является наиболее значащим разрядом, содержащая первое средство для определения того, равен ли "0" разряд К сигнала, и если это так, для вывода N-K наиболее значащих разрядов сигнала, второе средство для определения того, равен ли "1" разряд К сигнала, и если это так, для определения, не равны ли все разряды с К-1 по разряд 1 сигнала "0", и если это так, добавления "1" в N-K наиболее значащих разрядов сигнала и выведения результатов упомянутого добавления, и третье средство для определения того, равен ли "1" разряд К сигнала, и если это так, определения, равны ли "0" все разряды с К-1 по разряд 1, и если это так, определения нечетности или четности N-K наиболее значащих разрядов сигнала, и если они нечетные, добавления "1" к N-K наиболее значащим разрядам сигнала и выведения результата упомянутого добавления, а если они четные, выведения N-K наиболее значащих разрядов сигнала. 3. A system for compressing an N-bit signal into K bits, in which the signal is presented in a format with an addition of up to two and K <N, wherein bit 1 of the signal is the least significant bit, and bit N of the signal is the most significant bit, containing the first means for determining whether the "0" bit of the signal K is equal, and if so, to output the NK most significant bits of the signal, the second means for determining whether the "1" bit of the signal K is equal, and if so, for determining, are not whether all bits from K-1 to bit 1 of the signal "0", and if so, to adding “1” to NK of the most significant bits of the signal and deriving the results of the above addition, and third means for determining whether “1” is the bit K of the signal, and if so, determining whether “0” are all bits with K-1 by bit 1, and if so, determine the oddness or parity of the NK most significant bits of the signal, and if they are odd, add “1” to the NK most significant bits of the signal and display the result of the addition, and if they are even, output the NK of the most significant bits signal.
4. Система по п. 3, отличающаяся тем, что третье средство для определения нечетности или четности содержит средство для проверки разряда К+1 сигнала, причем сигнал является нечетным, если разряд К+1 равен "1", и сигнал является четным, если разряд К+1 равен "0". 4. The system according to p. 3, characterized in that the third means for determining the oddness or parity contains means for checking the discharge K + 1 of the signal, the signal being odd if the discharge K + 1 is "1", and the signal is even if bit K + 1 is "0".
5. Система для сжатия N-разрядного сигнала на К разрядов, в которой сигнал выражен в формате с дополнением до двух и K<N, причем разряд 1 сигнала является наименее значащим разрядом, а разряд N сигнала является наиболее значащим разрядом, содержащая первое средство ИЛИ для определения того, равен ли "1" один или более разрядов с 1 по К-1, причем первое средство ИЛИ имеет первый выход, первое средство ИЛИ-НЕ для определения того, равны ли одновременно "0" сигнал на упомянутом первом выходе и разряд К+1 сигнала, причем первое средство ИЛИ-НЕ имеет второй выход, второе средство ИЛИ для определения того, равен ли "1" сигнал на упомянутом первом выходе или упомянутом втором выходе, причем второе средство ИЛИ имеет третий выход, первое средство И для определения того, равны ли одновременно "1" сигнал на упомянутом третьем выходе и разряд К сигнала, причем второе средство И имеет четвертый выход, сумматор для добавления сигнала на упомянутом четвертом выходе к N-K наиболее значащим разрядам сигнала и вывода результата упомянутого добавления. 5. A system for compressing an N-bit signal into K bits, in which the signal is expressed in a complement of two and K <N, and bit 1 of the signal is the least significant bit, and bit N of the signal is the most significant bit, containing the first means OR to determine whether "1" is equal to one or more bits from 1 to K-1, with the first means OR having a first output, the first means OR NOT to determine whether the signal at the first output and the discharge are equal at the same time K + 1 signal, and the first means OR NOT has a second an output, second OR means for determining whether the “1” signal is equal to said first output or said second output, wherein the second OR means has a third output, first means AND to determine whether the “1” signal is equal at the same time to the third output and a signal discharge K, wherein the second means And has a fourth output, an adder for adding a signal at said fourth output to NK to the most significant bits of the signal and outputting the result of said addition.