SU1429323A1 - Decoder of codes presented in residual-classes system - Google Patents
Decoder of codes presented in residual-classes system Download PDFInfo
- Publication number
- SU1429323A1 SU1429323A1 SU864168730A SU4168730A SU1429323A1 SU 1429323 A1 SU1429323 A1 SU 1429323A1 SU 864168730 A SU864168730 A SU 864168730A SU 4168730 A SU4168730 A SU 4168730A SU 1429323 A1 SU1429323 A1 SU 1429323A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- inputs
- adder
- information
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Abstract
Изобретение относитс к йвтомати- ке и вычислительной технике и может использоватьс в аппаратуре передачи данных, функционирующей с кодами системы остаточных классов. Цель изобретени -. сокращение объема оборудовани . Поставленна цель достигаетс тем, что устройство дл декодировани кодов, представленных в системе остаточных классов, содержащее блок 15 пам ти, сумматор 32, счетчик 8, ум- .ножители 23, 24 и регистры 7, 19, содержит элементы 1, 13, 21, 22, 26, 28, 30 задержки, элементы И 2,9, счетчики 10,11 триггеры 3,25, дешифраторы 14,16, группы регистров.17,18, регистр 27, блок 20 вычислени коэффициента и элемент ИЛИ 29 с соответствующими св з ми. 1 з.п. ф-лы, 2 ил, §The invention relates to computer and computer engineering and can be used in data transmission equipment operating with residual class system codes. The purpose of the invention is. reduction of equipment. This goal is achieved by the fact that a device for decoding codes represented in the system of residual classes, containing a memory block 15, an adder 32, a counter 8, multipliers 23, 24, and registers 7, 19, contains elements 1, 13, 21, 22, 26, 28, 30 delays, And elements 2.9, counters 10.11 triggers 3.25, decoders 14.16, groups of registers 17,18, register 27, block 20 for calculating the coefficient and the element OR 29 with the corresponding values wm. 1 hp f-ly, 2 silt, §
Description
- -
УстанавнаSet
fiiZ.fiiZ.
юYu
to соto with
N3N3
СОWITH
Изобретение относитс к автомати- :ке и вычислительной технике и может использоватьс в аппаратуре передачи данных, функционирующей с кодами сие темы остаточных классов (СОК).The invention relates to automation and computer technology and can be used in data transmission equipment that operates with residual classes (SSC) codes.
Целью изобретени вл етс сокращение объема оборудовани .The aim of the invention is to reduce the amount of equipment.
На фиг, 1 представлена схема уст- poiScTBa дл декодировани кодов, ;представленных в СОК; на фиг. 2 - I схема блока вычислени коэффициента. Устройство (фиг. 1) содержит элемент 1 задержки, элемент И 2, триггер |3, информационный вход 4 устройства, I установочный 5 и тактовый 6 входы устройства, регистр 7, счетчик 8, ;элемент И 9, счетчики 10 и 11, вход ;12 запуска устройства, элемент 13 .за ;держки, дешифратор 14, блок 15 пам - : ти, дешифратор 16, группы регистров 1 17 и 18, регистр 19, блок 20 вычис- I лени коэффициента, элементы 21 и 22 : задержки, умножители 23 и 24, триггер : 25, элемент 26 задержки, регистр 27, 1 элемент 28 задержки, элемент ШШ 29, ;; элемент 30 задержки, выход 31 оконча ки работы устройства, сумматор 32, выход 33 результата устройства, информационный выход 34 блока 20 вычис лени коэффициента, элементы 35 и 36 задержки.Fig. 1 shows an iSciTBa scheme for decoding the codes represented in the SOC; in fig. 2 - I diagram of the coefficient calculation unit. The device (Fig. 1) contains a delay element 1, an AND 2 element, a trigger | 3, a device information input 4, an I setting 5 and a clock 6 device inputs, a register 7, a counter 8,; an I element 9, counters 10 and 11, an input ; 12 start the device, the element 13. For; holders, the decoder 14, memory block 15: ty, decoder 16, groups of registers 1 17 and 18, register 19, block 20, calculate the first factor, elements 21 and 22: delays, multipliers 23 and 24, trigger: 25, delay element 26, register 27, 1 delay element 28, element ШШ 29, ;; the delay element 30, the output 31 of the device operation end, the adder 32, the output 33 of the device result, the information output 34 of the coefficient calculation unit 20, the delay elements 35 and 36.
Блок 20 вычислени коэффициента (фиг. 2) содержит мультиплексор 37 и 38, выход 39 окончани вычис- лени блока 20, элементы НЕ 40-48, триггеры 49-52, элементы 53-63 задержки , элементы ИЛИ 64-72, счетчики 73-75, сумматоры-вычитатели.76-78, схемы 79 и 80 сравнени , элементы И 81-97, регистры 98 и 99.The coefficient calculation unit 20 (FIG. 2) contains a multiplexer 37 and 38, a computation output 39 output of unit 20, elements NOT 40-48, triggers 49-52, delay elements 53-63, elements OR 64-72, counters 73- 75, adders-subtractors. 76-78, circuits 79 and 80 comparisons, elements AND 81-97, registers 98 and 99.
Сумматоры 32, 76-78 могут быть выполнены на микросхеме КР 1802ИМ1. Сумматор имеет четьфе информационных входа, четыре входа направлени при- ема числа с соответствующего информационного входа, четыре управл ющих входа операции над числами (сложение или вычитание), вход разрешени приема информации, вход разрешени вы- дачи результата, информационный вы- .ход, выход равенства результата нулю выход знака результата. Причем каждому информационному входу соответствует свой вход направлени приема и свой управл ющий вход операции.Adders 32, 76-78 can be performed on the chip KR 1802IM1. The adder has the informational informational inputs, four inputs for receiving numbers from the corresponding information input, four control inputs for operations on numbers (addition or subtraction), information reception permission input, output output resolution input, information output, output equality of the result to zero output of the result sign. Moreover, each information input has its own input of the reception direction and its own control input of the operation.
Если на вход направлени приема подана логическа 1, то информаци с определенного входа при приходеIf logical 1 is fed to the input of the receiving direction, then information from a certain input at arrival
импульса по входу разрешени приема записьгоаетс в сумматор. Если на управл ющий вход операции подаетс логическа 1, то соответствующее число записываетс в сумматор со знаком +, а если - лоГиче.ский О, то со знаком -.The pulse at the receive enable input is written to the adder. If logical 1 is fed to the control input of the operation, then the corresponding number is written to the adder with a + sign, and if it is a logical O, then with a - sign.
В устройстве (фиг. 1) применен принцип декодировани , который основываетс на последовательном позиционном преобразовании числа А по формулеIn the device (Fig. 1), the decoding principle is applied, which is based on the sequential positional transformation of the number A according to the formula
А а,, + . ..,. .. ,And a ,, +. .. ..,
где m;(,N) - модули системы; а, oi. ;where m; (, N) - modules of the system; a, oi. ;
а. - коэффициенты, вычисл емые следующим образом: ( oi; - вычет по модулю т-)but. - coefficients calculated as follows: (oi; - modulo m - deduction)
L llSiiSl-iblSiL llSiiSl-iblSi
ш, sh,
где L 0,1,.2,... подбираетс сwhere L is 0,1, .2, ... is matched with
меньщим значением и таким, чтобы aj имело целое значение .smaller value and such that aj has integer value.
Коэффициент а; вычисл етс следующим образом (,4...);Coefficient a; is calculated as follows (, 4 ...);
а.but.
J-Hi IbilSi. J-Hi IbilSi.
mimi
3 filSi.i.Slii;i5i 3 filSi.i.Slii; i5i
m,m,
atat
I Ll rSi:ii ±Li:1.5xI Ll rSi: ii ± Li: 1.5x
m;,im;, i
Если исключить лю.бые,К-К вычетов, то коэффициенты а, соответствующие этим вычетам, не вычисл ютс , а также модули т,, соответствующие им в вычислени х, участи не принимают. Такой принцип последовательного декодировани позвол ет осуществл ть декодирование в темпе поступлени вычетов о(; .If we exclude any QC of residues, then the coefficients a, corresponding to these residues, are not calculated, and modulated, which correspond to them in the calculation, do not take part. This principle of sequential decoding allows decoding at a rate of arrival of deductions about (;.
Блок 20 вычисл ет коэффициент а; и работает следующим образом.Block 20 calculates the coefficient a; and works as follows.
Элемент 53 задержки задерживает входной импульс на врем срабатыва- ки триггера 49. Элементы 54 и 55 aaдержки задерживают входной импульс на врем срабатывани сумматора 76, Элемент 56 задержки задерживает входной импульс на врем , равное суммарному времени срабатывани счетчика 73 и схемы 79 сравнени . Элемент 57 задержки задерживает входной импульс на врем переключени триггера 50.The delay element 53 delays the input pulse by the trigger response time 49. Elements 54 and 55 a delay delays the input pulse by the response time of the adder 76, the delay Element 56 delays the input pulse by a time equal to the total response time of the counter 73 and the comparison circuit 79. The delay element 57 delays the input pulse by the time it takes to switch the trigger 50.
29323 ;29323;
Если значение числа , равно нулю, то на выходе равенства результата нулю сумматора 76 устанавливаетс единичньш сигнал, разреша прохождение импульса через элемент И 81. С выхода последнего импульс поступает на второй вход элемента ИЛИ 72 и третий вход элемента ИЛИ 71. ВыходIf the value of the number is zero, then the output of the equality of the result to zero of the adder 76 is set to a single signal, allowing the pulse to pass through the AND 81 element. From the last output, the pulse arrives at the second input of the OR 72 element and the third input of the OR 71 element.
Элементы 58 и 59 задержки задерживают д ной импульс элемента ИЛИ 72 устанаввходной импульс на врем срабатывани сумматора 77. Элемент 60 задержки задерживает входной импульс на врем переключени триггера 51. Элементы 61The delay elements 58 and 59 delay the dead pulse of the OR element 72 of the set pulse for the response time of the adder 77. The delay element 60 delays the input pulse for the switching time of the trigger 51. The elements 61
и 62 задержки задерживают входной им- 15 счетчика 73, устанавлива на proand 62 delays delay the input im- 15 counter 73, set to pro
пульс на врем срабатьшани сумматора 78. Элемент 63 задержки за;а;ерживает входной импульс на врем переключени триггера 52. Импульс с входа запуска в начальный момент работы уста- 20 ка 73, схемы 79 сравнени и элеменнавливает счетчики 73 и 74 и регистр 99 в нулевое состо ние, поступлении на вход первого импульса управлени на выходе счетчика 74 по вл етта НЕ 42.pulse at the time of the operation of the adder 78. The delay element 63 for; a; It holds the input pulse for the switching time of the trigger 52. The pulse from the start input at the initial moment of operation of the device 73, the comparison circuit 79 and the element switches the counters 73 and 74 and 99 The zero state, arriving at the input of the first control pulse at the output of the counter 74, manifests HE 42.
Таким образом, на выходах счетчи ков 73 и . 74 по вл етс код числа ед ница. Сформированный схемой сравнес код числа единица, триггер 49 уста-25 ни едини.чный сигнал поступает наThus, at the outputs of the counters 73 and. 74 The unit number code appears. Formed by the circuit, compared the code of the number one, the trigger 49 of the mouth 25 is not a single signal enters the
навливаетс в нулевое состо йие, что разрешает прием информации в сумматор 76 с первого информационного входа и запрещает прием информации, поступающей на его третий информационный вход. Врем задержки импульса управлени , поступак дего на элемент 53 задержки , не менее времени срабатьгаани триггера 49. С выхода элемента 53 задержанный импульс поступает на вход элемента ИЛИ 64 и, пройд через него, на вход элемента 54 задержки и вход разрешени -приема сумматора 76, записыва информацию в сумматор 76 с его первого и второго информацнонньк входов. Импульс с выхода элемента 54 задержки поступает на вход элемента 55 задержки и вход разрешени вьдачи результата сумматора 76, таким образом , в момент окончани импульса на выходе элемента 55 задержки на инфор- .мационном выходе сумматора 76 устанавливаетс значение числа, равное разности числа, поступившего с входа ы;, и числа, поступившего через мульти - плексор 37 с входа ai,, т.е. о/ -а,. На выходах знака результата и равенства результата нулю устанавливаютс соответствующие логические потенциалы . .it returns to the zero state, which permits the reception of information into the adder 76 from the first information input and prohibits the reception of information arriving at its third information input. The delay time of the control pulse is received by dego at delay element 53, not less than the time of triggering trigger 49. From the output of element 53, the delayed pulse arrives at the input of element OR 64 and, having passed through it, at the input of delay element 54 and the enable input-reception of adder 76, writing information to the adder 76 from its first and second information inputs. The pulse from the output of the delay element 54 is fed to the input of the delay element 55 and the resolution input of the result of the adder 76, thus, at the time of the end of the pulse at the output of the delay element 55, the value of the number equal to the difference of the number received from the output 55 the input s ;, and the numbers received through the multiplexer 37 from the input ai ,, i.e. o / aa At the outputs of the sign of the result and the equality of the result to zero, the corresponding logic potentials are established. .
С выхода элемента 55 задержки импульс поступает на входы элементов И 81 и 84.From the output of the element 55 delay pulse arrives at the inputs of the elements And 81 and 84.
ливает в нулевое состо ние регистр 99, выход которого вл етс выходом блока 20. С выхода элемента ИЛИ 71 нмпульс поступает на счетный входcasts the register 99 to the zero state, the output of which is the output of block 20. From the output of the element OR 71 pulses is fed to the counting input
выходе код числа единица, а также поступает на вход элемента 56 задерж-г ки, с временем задержки не менее суммарного времени срабатьгоани счетчита НЕ 42.the output of the code is the number one, and also enters the input of the element 56 of the delay-ki, with a delay time of not less than the total time of operation of the counting HE 42.
Таким образом, на выходах счетчиков 73 и . 74 по вл етс код числа единица . Сформированный схемой сравневход элемента НЕ 42 и элемента И 86, разреша прохождение импульса с выхода элемента 56 задержки через элемент И 86 и элемент ИЛИ 65 на входThus, at the outputs of the counters 73 and. 74, the code for the number one appears. Formed by the scheme of comparison of the HE 42 element and the AND 86 element, allowing the pulse to pass from the output of the delay element 56 through the AND 86 element and the OR 65 element to the input
обнулени счетчика 73 и выход блока 20, что вл етс признаком окончани вычислени коэффициента а.resetting the counter 73 and the output of block 20, which is a sign of the end of the calculation of the coefficient a.
Таким образом, если разность ci -а, равна нулю, то и коэффи1шент ,Thus, if the difference ci -a, is equal to zero, then the coefficient
Рассмотрим работу блока 20, в слу- . чге, когда otj -а, э 0.Consider the operation of block 20, in the case of. chge, when otj-a, e 0.
На выходе равенства результата нулю сумматора 76 устанавливаетс нулевой сигнал и соответственно единичный сигнал на вькоде элемента НЕ 41, который поступает на входы элементов; И 82-84. Таким образом, импульс с выхода элемента 55 задержки через элемент И 81 не проходит, а поступает через элемент И 84 на вход элемента 57 задержки и установочный вход триггера 50 и устанавливает его в нулевое состо ние. Нулевой сигнал с выхода триггера 50 поступает на второй и третий входы направлени приема сумматора 77, а единичный сигнал пос- . тупает на первый вход направлени приема сумматора 77. Импульс с выхода элемента 57 задержки п роходит :черезAt the output of the equality of the result to zero, the adder 76 establishes a zero signal and, accordingly, a single signal in the code of the HE element 41, which is fed to the inputs of the elements; And 82-84. Thus, the pulse from the output of the delay element 55 through the element 81 does not pass, but enters through the element 84 and 84 to the input of the element 57 of the delay and the installation input of the trigger 50 and sets it to the zero state. The zero signal from the output of the trigger 50 is supplied to the second and third inputs of the receiving direction of the adder 77, and the single signal is given by. stupid at the first input of the reception direction of the adder 77. The impulse from the output of the delay element 57 passes: through
элемент ИЛИ 66, поступает на вход элемента 58 задержки и вход разреше- и приема сумматора 77. Информаци , поступивша на первый информационный вход сумматора 77 с информационного вы514293236the element OR 66 is fed to the input of the element 58 of the delay and the input of the resolution and reception of the adder 77. The information received at the first information input of the adder 77 from the information board is 514293236
хода сумматора 76, записываетс в сум-Если/ы,-а /of the adder 76, is written to the sum-If / s, -a /
Рассмотрим работу блока дл следующих случаев:Consider the operation of the block for the following cases:
матер 77 и через период speMerai, равный времени задержки элемента 58 за- Держки, по вл етс на информационном Выходе сумматора 77. С выхода элемента 58 задержки импульс поступает на вход разрешени вьщачи результата сум- Натора 77 и установочный вход триггера 60. На пр мом выходе триггера |50 устанавливаетс единичный сигнал, на инверсном выходе - нулевой сиг- йал. .В результате сумматор подготов- nm, а 0.mater 77 and through the speMerai period equal to the delay time of the delay element 58, appears on the information output of the adder 77. From the output of the delay element 58, the pulse arrives at the input of the resolution of the result of the summer 77 and the trigger setup input 60. the trigger output | 50 is set to a single signal, the inverse output is the zero signal. As a result, the adder is prepared, nm, and 0.
51. od,j, - а, О .51. od, j, - a, O.
В этом, случае единичный сигнал с выхода элемента И 82 поступает на вторые входы элементов И 88 и 89. 10 Значение /odj з, /поступает на тор 77 к с его информационного выхода подаетс на вход схемы 80 сравнени , на другой вход которой поступает значение модул т с входа блоВ этом, случае единичный сигнал с выхода элемента И 82 поступает на вторые входы элементов И 88 и 89. 10 Значение /odj з, /поступает на тор 77 к с его информационного выхода подаетс на вход схемы 80 сравнени , на другой вход которой посту; пает значение модул т с входа блоfieH дл вычитани числа га;, поступив|пего на информационный вход суммато- )5ка 20. На первом выходе схемы 80In this case, a single signal from the output of the And 82 element is fed to the second inputs of the And 88 and 89 elements. 10 Value / odj h, / goes to the torus 77 k from its information output is fed to the input of the comparison circuit 80, to the other input of which the value module from the input block. In this case, a single signal from the output of the element And 82 is fed to the second inputs of the elements 88 and 89. 10 The value of (odj 3, / goes to the torus 77 k from its information output is fed to the input of the comparison circuit 80, to another which entry is a post; the value of the modulus from the input blockH for subtracting the number of hectares; is received by entering the information input sum-) 5ka 20. At the first output of the circuit 80
а 77 с третьего информационногосравнени по вл етс единичный блока 20 из числа, поступивше-нал, если/об -а,/ . т, на ее второмand 77 of the third informational comparison, single block 20 of the number appears, received-cash if / about-a, /. t on her second
го на второй информационный вход свыходе - если а, / т, и наgo to the second information input from the output - if a, / t, and to
выхода сумматора 77. Разность ес -а Гтретьем схемы 80 сравнени едиКожет быть положительной, отрицатель-20ничный сигнал по вл етс в случае,еслиadder 77 output. The difference in eC-a Third of the comparison circuit 80 is one can be positive, the minus-20nich signal appears if
йой или равной нулю. Если о(, -а,0,/oij - а,/ i ш-.yoy or equal to zero. If about (, -a, 0, / oij - a, / i w-.
|го на выходе .знака результата суммато-Пусть /0(а э, / га , тогда на 76 устанавливаетс единичный сиг-первый вход элемента И 88 поступает нал, который по вл етс на выходеединичный сигнал. Импульс с выхода элемента И 82. Так как на выходе эле-25элемента 59 задержки через элементы мента НЕ 40 нулевой сигнал, то нулевойи 88 и ИЛИ 66 поступает на вход зло- сигнал находитс и на выходе элементамента.58 задержки и выход разрешени И 83.приема сумматора 77, в котором осуЕсли oij -а О, то единичный сиг- ществл етс операци а,/ т .The output of the sign of the result is Let / 0 (a e, / ha, then a unit sig is set to 76 — the first input of the AND 88 element is fed on a signal that appears at the output of a single signal. The pulse from the output of the AND 82 element. So as at the output of the 25-element delay 59 through the elements of the ment NOT 40 a zero signal, then the zero 88 and OR 66 enters the evil signal is also at the output of the element .58 the delay and the resolution output And 83. receiving an adder 77, in which -a O, then the single signal operation a, / t.
нал по вл етс на выходе элемента ЗО Выходной импульс элемента 58 задерж- И83,а нулевой сигнал на выходе эле- ки обеспечивает вывод результата вы- мемта И 82.читани на информационный выход сумДп вычислени коэффициентов aj не- матора 77. Этот же импульс поступа- обходимо осуществл ть вычисление поет на установочный вход триггера 50,The signal appears at the output of the AOR element. The output pulse of the element 58 is delayed by I83, and the zero signal at the output of the electric element provides the output of the output of And 82. reading to the information output of the sum of the calculation of the coefficients aj of the math 77. This same input pulse - it is necessary to carry out the calculation singing on the setup input of the trigger 50,
модулю га. В этом процессе участвуют подтвержда факт работы сумматора 77module ha. This process involves confirming the fact of operation of the adder 77
в режиме вычитани .in subtraction mode.
Если результат вьмитани получаетс больше значени т2,то операци вычитани повтор етс , т.е. импульс с выхода элемента 59 задержки вновьIf the result of the increase is greater than the value of p2, then the subtraction operation is repeated, i.e. pulse from the output of delay element 59 again
4040
элементы НЕ 43-46, триггер 50, менты задержки, элементы ИЛИ 66 и 68, сумматор 77, схема 80 сравнени , элементы И 87-91, 93 и 94 и регистр 98.the elements are HE 43-46, the trigger 50, the delayed cops, the elements OR 66 and 68, the adder 77, the comparison circuit 80, the AND elements 87-91, 93 and 94 and the register 98.
Если oLgi -а, О, то вычисление («tj.-а, )niodm.2 производитс путем вычитани т из ui-i а, до тех пор, пока полученный результат будет положительным , но меньшим То-, т.е. высполн - етс условиеIf oLgi-a, O, then the calculation («tj.-a,) niodm.2 is performed by subtracting t from ui-i a, as long as the result obtained is positive, but less than T-, i.e. condition is met
. 0(,) - пга, m,,.. 0 (,) - pga, m ,,.
поступает на вход разрешени приема сумматора 77. Этот процесс продолжаетс до тех пор, пока не вьшолнитс условиеenters the enable input of the adder 77. This process continues until the condition is met
a I - пшд rag. a I - pshd rag.
г -. 2 .л етс значение/ut -а,/, из которого производитс вычитание т до тех пор, пока не будут выполнлтьс следующие услови g. 2. The value of / ut-a, /, from which the subtraction is made t, is completed until the following conditions are met
т„:t „:
т,, тогПусть /odz - а, / - пт, да единичный сигнал с второго выхода Если (oij -а,) - пга т то . схемы 80 сравнени поступает на пер- При результате сг - а, О вычис-вый вход элемента И 91. Импульс сt ,, tPPust / odz - a, / - pt, yes a single signal from the second output If (oij-a,) - pga t then. Comparison circuits 80 are fed to the first- When the result of cr - a, O is the computational input of the element And 91. An impulse with
выхода элемента 59 задержки поступает на второй вход элемента И 91 и с его выхода подаетс на первьй вход элемента ИЛИ 72 и второй вход элемен та ИЛИ 71. Импульс с выхода элемента ИЛИ 72 производит установку регистраthe output of the delay element 59 is fed to the second input of the AND 91 element and from its output is fed to the first input of the OR 72 element and the second input of the OR 71 element. A pulse from the output of the OR 72 element sets the register
5555
//utj,-a,/ - nmj /cii-a,/ nm-i 0.// utj, -a, / - nmj / cii-a, / nm-i 0.
99 в нулевое состо ние, а импульс с выхода элемента РШИ 71 поступает на99 to the zero state, and the pulse from the output of the RSH 71 element goes to
ту блока дл слthat block for cl
- nm, а 0.- nm, and 0.
51. od,j, - а, О .51. od, j, - a, O.
В этом, случае единичный сигнал с выхода элемента И 82 поступает на вторые входы элементов И 88 и 89. 10 Значение /odj з, /поступает на тор 77 к с его информационного выхода подаетс на вход схемы 80 сравнени , на другой вход которой поступает значение модул т с входа бло )5ка 20. На первом выходе схемы 80In this case, a single signal from the output of the And 82 element is fed to the second inputs of the And 88 and 89 elements. 10 Value / odj h, / goes to the torus 77 k from its information output is fed to the input of the comparison circuit 80, to the other input of which the value module from the input of the block) 5ka 20. On the first output of the circuit 80
т.t.
поступает на вход разрешени приема сумматора 77. Этот процесс продолжаетс до тех пор, пока не вьшолнитс условиеenters the enable input of the adder 77. This process continues until the condition is met
a I - пшд rag. a I - pshd rag.
т,, того выхода на пер- льс сt ,, that go on perls with
99 в нулевое состо ние, а импульс с выхода элемента РШИ 71 поступает на99 to the zero state, and the pulse from the output of the RSH 71 element goes to
вход anevjeHTa 56 задержки и счетный вход счетчика 73, В последнем записываетс единица, на выходе схемы 79 сравнени по вл етс единичный сигнал и выходным импульсом элемента И 86 счетчик 73 обнул етс . На выходе блока 20 по вл етс импульс, свидетельствующий об окончании вычислени коэффициента вд, причем а 0. Работа этой части блока 20 уже указана,the anevjeHTa 56 input of the delay and the counting input of the counter 73; In the latter, a unit is recorded, a single signal appears at the output of the comparison circuit 79 and the output pulse of the And 86 element of the counter 73 is zeroed. At the output of block 20, an impulse appears indicating that the calculation of the coefficient g is completed, and a 0. The operation of this part of block 20 is already indicated,
Пусть /сбг- а, / - пга j гаLet / sbg-a, / - pga j ha
гg
тог- выходtog out
да единичный сигнал с третьегоyes a single signal from the third
схемы ВО сравнени поступает на первый j из указанных трех условий (1), нулевой вход элемента И 89, на третий вход которого поступает импульс с выхода элемента 59 задержки. Этот импульс проходит через элемент И 89 и через элемент ИЛИ 68 поступает на вход раз-20 решени записи регистра 98, в который записываетс число, поступившее на его информационный вход с информационного выхода сумматора 77.The comparison circuit VO arrives at the first j of the above three conditions (1), the zero input of the element AND 89, the third input of which receives a pulse from the output of the delay element 59. This pulse passes through the element AND 89 and through the element OR 68 arrives at the input of the register decision record time-20, in which the number entered at its information input from the information output of the adder 77 is recorded.
Импульс с выхода элемента ИЛИ 68 вл етс признаком того, что вычисление значени /o6j- а / по модулю тп, закончено и результат записан в регистр 98.The pulse from the output of the element OR 68 is a sign that the calculation of the value of / o6j-a / modulo mn is complete, and the result is written to register 98.
2. обг - а, «с О,2. OBG - a, “with O,
В этом случае единичный сигнал с выхода элемента И 83 подаетс на входы элементов И 90 и 94.In this case, a single signal from the output of the element And 83 is applied to the inputs of the elements And 90 and 94.
Вычисление значени Calculation of the value
сигнал с выхода элемента И 90 проходит через элемент НЕ 45 и на первый . вход элемента И 94 подаетс единичный сигнал. На второй вход элемента И 94 поступает импульс с выхода элемента 59 задержки, а на его третий вход - единичный сигнал в случае, если (oij- а,) i О, на четвертом входе - единичный сигнал, когда / otj &,/- 25 -nmj/ the signal from the output of the element And 90 passes through the element NOT 45 and to the first. input element And 94 is given a single signal. The second input of the And 94 element receives a pulse from the output of the delay element 59, and its third input is a single signal if (oij-a,) i О, at the fourth input is a single signal when / otj & 25 -nmj /
При. выполнении всех этих условий импульс с. выхода элемента 29 задерж- ;Ки проходит через элемент И 94 и поступает на вход элемента ИЛИ 66 и сумматор 77 вновь продолжает вычис- -ление. Так продолжаетс до tex пор, пока не выполн етс условие (1),At. the fulfillment of all these conditions impulse s. the output element 29 delay; Ki passes through the element And 94 and enters the input element OR 66 and the adder 77 again continues the computation. This continues until tex until condition (1) is satisfied,
30thirty
odaпоoda to
Если //otj - а, / - , то на втором выходе схемы 80 сравнени ус- т;1навливаетс единичный сигнал, и импульс с выхода элемента 59 задержки проходит через элемент И 91 и поступает на входы элементов ИЛИ 71 и 72. В этом случае а 0. Работа этой части блока 20 рассмотрена. Таким образом вычисление а,/imIf // otj - a, / -, then the second output of comparison circuit 80 is set; 1 a single signal is impressed, and the pulse from the output of delay element 59 passes through AND 91 and enters the inputs of OR elements 71 and 72. In this case a 0. The work of this part of block 20 is reviewed. Thus, computing a, / im
модулю tn заканчиваетс при выполнении трех условийmodule tn ends when three conditions are met
oti - а, о;oti - a, o;
/eit- а,/ - пшг 0;(1)/ eit-, / - pshg 0; (1)
//вб 1 / пгог/ : ™2 // WB 1 / PGG /: ™ 2
Дешифраци вьшолнени этих условий осуществл етс элементом И 90. При vLi - а, : О на третий вход элемента И 90 подаетс единичный сигнал. При а,/ - .O нулевые сигналы устанавливаютс на выходах знака результата и равенства результата нулю сумматора 77. Через элементы НЕ 43 и 44 эти сигналы поступают на входы элемента И 87, и в случае выполнени услови - а,/ - nm О на выходе элемента И 87 по вл етс единичный сигнал, поступающий на первый вход элемента И 90.The decoding of these conditions is performed by the element AND 90. When vLi - a,: O, a single signal is sent to the third input of the element 90. With a, / - .O, zero signals are set at the outputs of the sign of the result and the result being equal to zero of the adder 77. Through the HE elements 43 and 44 these signals are fed to the inputs of the And 87 element, and if the condition is met, a, / - nm O output Element And 87 A single signal appears at the first input of Element And 90.
Если выполн етс условие I , I -nm,j I mj , то единичный сигнал С ретьего выхода схемы 80 сравнени поступает на второй вход элемента И 90.If the condition I, I -nm, j I mj is fulfilled, then a single signal C of the output of the comparison circuit 80 is fed to the second input of the AND element 90.
10ten
аbut
В итоге единичный сигнал с выхода элемента И 90 поступает на первый вход элемента И 93, на второй вход которого поступает импульс с выхода элемента 59 задержки, который проходит через элемент И 93 подаетс на второй вход элемента ИЛИ 68 и, пройд через него, обеспечивает запись информации с выхода сумматора 77 в регистр 98. Этот импульс вл етс признаком окончани вычислени значени otj. - а, по модулю т.As a result, a single signal from the output of the AND 90 element arrives at the first input of the AND 93 element, the second input of which receives a pulse from the output of the delay element 59, which passes through the AND 93 element, is fed to the second input of the OR element 68 and, having passed through it, records information from the output of the adder 77 to the register 98. This pulse is a sign of the end of the calculation of the value of otj. - a, modulo t.
При невыполнении хот бы одногоAt default of at least one
из указанных трех условий (1), нулевой of the above three conditions (1), zero
сигнал с выхода элемента И 90 проходит через элемент НЕ 45 и на первый . вход элемента И 94 подаетс единичный сигнал. На второй вход элемента И 94 поступает импульс с выхода элемента 59 задержки, а на его третий вход - единичный сигнал в случае, если (oij- а,) i О, на четвертом входе - единичный сигнал, когда / otj &,/- -nmj/ the signal from the output of the element And 90 passes through the element NOT 45 and to the first. input element And 94 is given a single signal. The second input of the And 94 element receives a pulse from the output of the delay element 59, and its third input is a single signal if (oij-a,) i О, at the fourth input is a single signal when / otj & -nmj /
При. выполнении всех этих условий импульс с. выхода элемента 29 задерж- ;Ки проходит через элемент И 94 и поступает на вход элемента ИЛИ 66 и сумматор 77 вновь продолжает вычис- ление. Так продолжаетс до tex пор, пока не выполн етс условие (1),At. the fulfillment of all these conditions impulse s. output element 29 delay; Ki passes through the element And 94 and enters the input element OR 66 and the adder 77 again continues the calculation. This continues until tex until condition (1) is satisfied,
3535
4040
4545
Если //otj - а, / - , то на втором выходе схемы 80 сравнени ус- т;1навливаетс единичный сигнал, и импульс с выхода элемента 59 задержки проходит через элемент И 91 и поступает на входы элементов ИЛИ 71 и 72. В этом случае а 0. Работа этой части блока 20 рассмотрена. Таким образом вычисление а,/imIf // otj - a, / -, then the second output of comparison circuit 80 is set; 1 a single signal is impressed, and the pulse from the output of delay element 59 passes through AND 91 and enters the inputs of OR elements 71 and 72. In this case a 0. The work of this part of block 20 is reviewed. Thus, computing a, / im
закончено.it is finished.
1one
Име значение а,/т, производитс вычисление коэффициента а по формулеHaving the value a, / t, the coefficient a is calculated by the formula
.(. (
5050
m,m,
где N 0,1,2,...where N 0,1,2, ...
5555
Непосредственное де11ение и вычитание замен етс опера ци ми сложени и вычитани . Реализуетс следующий алгоритм.Immediate deletion and subtraction are replaced by addition and subtraction operations. The following algorithm is implemented.
1. Из значени /ot - а,/П) вычитаетс т, столько раз, пока разность , не станет отрицательной.1. From the value of / ot - а, / П) is subtracted t, as many times as the difference becomes negative.
2.К последующей разности добавл етс га столько раз, пока сумма не станет положительной.2. Ha is added to the subsequent difference so many times until the sum becomes positive.
3.Затем над полученной положи- тельной суммой производ тс операции3. Then, over the received positive amount, operations are performed.
(пп. 1 и 2), т.е. производитс вычитание т,, суммирование с га. Это продолжаетс до тех пор, пока резуль|тат вычитани или суммировани не (Sections 1 and 2), i.e. subtraction t, sum per ha. This continues until the result of the subtraction or summation is
станет равным нулю.will become zero.
j А. Осуществл етс подсчет общего числа операций вычитани , в результате чего получаем значение коэффи- |цивнта а.j A. The total number of subtraction operations is calculated, and as a result we get the value of the coefficient | a.
i Указанный алгоритм реализуетс (при помощи элементов НЕ 47 и 48,триг irepoB 51 и 52, элементов 60-63 за- вдержки, элементов ИЛИ 67, 69-71, счетчика 75, сумматора 78, элементов }И 92, 95-97, регистра 99. I На первый .информационный вход сум |матора 78 поступает значение числа :с йыхода регистра 98, на второй информационный вход - с выхода: муль- типлексора 38, на третий информационный вход сумматора 78 подаетс значение модул т, на четвертый информационный вход поступает информаци с выхода сумматора 78.i The specified algorithm is implemented (using the elements NOT 47 and 48, the irepoB 51 and 52 trig, the elements 60-63 of the delay, the elements OR 67, 69-71, the counter 75, the adder 78, the elements} And 92, 95-97, register 99. I The value of the number enters the first .informational input of the accumulator 78: from the register 98 output, the second information input - from the output: multiplexer 38, the modulus value is supplied to the third information input of the adder 78, Receives information from the output of the adder 78.
После окончани вычислени значени обг - а, по модулю , с выхода длемента ИЛИ 68 импульс поступает на установочньй вход триггера 51, вход элемента 60 задержки и через элемент ИЛИ 69 на установочный вход триггера 52, а также на вход установки счетчика 75, в результате чего последний устанавливаетс в нулевое состо ние.After the calculation is completed, the modulus, modulo, from the output of the OR 68 pulse is fed to the installation input of the trigger 51, the input of the delay element 60 and through the OR 69 element to the installation input of the trigger 52, as well as to the installation input of the counter 75, resulting in the latter is set to the zero state.
Нулевой сигнал с пр мого выхода триг- до вход триггера 52, подтвержда режим гера 51 поступает на чет вертый вход направлени приема сумматора 78, за- преща прием числа с его четвертого информационного входа и разреша с первого входа. Нулевой сигнал с пр - j мого выхода триггера 52 запрещает прием информации с третьего информационного входа и разрешает прием с второвьиитани сумматора 78, через элемент ИЛИ 70 - на вход элемента 63 задержки, через элемент ИЛИ 67 - на вход разрешени приема сумматора 78 и вход элемента 61 задержки и через элемент И 92 на счетный вход счетчит ка 75, которьй осуществл ет счет этого импульса. Так продолжаетс до тех пор, пока результат операции The zero signal from the direct output of the trigger to the input of the trigger 52, confirming the mode of the generator 51 goes to the fourth input of the receiving direction of the adder 78, prohibiting the reception of a number from its fourth information input and allowing it from the first input. A zero signal from the right output of trigger 52 prohibits reception of information from the third information input and allows reception from the second of the adder 78, through the OR 70 element to the input of the delay element 63, through the OR 67 element to the admission input of the adder 78 and the input of the element 61 delays and through the element I 92 to the counting input, counting 75, which counts this pulse. This continues until the result of the operation
го информационного входа сумматора 78,of the information input of the adder 78,
на первый, третий и ч етвёртый управл - Q а,/mj-nij. не становитс ющие входы операции которого поступает единичный сигнал, а на второй управл ющий вход операции - нулевой сигнал.on the first, third and fourth control - Q a, / mj-nij. the non-becoming inputs of the operation of which receive a single signal, and the second control input of the operation receive a zero signal.
На этом этап подготовки выполнени .операции /обг- а, / т.;-т , заканчиваетс .55 Триггер 51 осуществл ет управление поступлени информации, т.е. либо с выхода регистра 98, либо с выхода сум- At this stage, the preparation of the execution of the operation / OBG, / T.; - t, ends. 55 The trigger 51 controls the receipt of information, i.e. either from the output of register 98 or from the output of
вьиитани сумматора 78, чере мент ИЛИ 70 - на вход элемен задержки, через элемент ИЛИ вход разрешени приема сумма и вход элемента 61 задержки элемент И 92 на счетный вход ка 75, которьй осуществл ет этого импульса. Так продолжа тех пор, пока результат оперViyitani adder 78, OR or 70 - to the input of the delay element, through the OR input resolution input sum and input of the delay element 61 AND 92 element to the counting input 75, which carries this pulse. So on, as long as the result of the operas
тельным или равным нулю. Как результат станет отрицатель на выходе знака результат матора 78 устанавливаетс н сигнал, который через элем НЕ 47 поступает на вход элемен разреша прохождение через импульса с выхода элемента 6 ки, С выхода элемента И 97 иequal to or zero. As a result there will be a negative at the output of the sign, the result of the mat 78 is set to a signal that through the element NOT 47 enters the input of the element allowing passage through the pulse from the output of the element 6 ki, From the output of the element And 97 and
00
5five
0 5 0 5
00
5five
матора 78, триггер 52 управл ет режимом работы (вычитание или суммирование ) , а счетчик 75 осуществл ет подсчет операций вычитани . Начинаетс . вь,1полнениё операции , следующим образом.Matrix 78, trigger 52 controls the mode of operation (subtraction or summation), and counter 75 counts the subtraction operations. Starts. First, the operation is as follows.
С выхода элемента 60 задержки импульс через элемент ИЛИ 67 поступает на вход разрешени приема сумматора 78, на вход элемента 61 задержки и первый вход элемента И 92, на второй вход которого с инверсного выхода триггера 52 в режиме вычитани сумматора 78 поступает единичный сигнал. Таким образом, при выполнении операции вычитани импульс записи через элемент И 92 поступает на счетный вход счетчика, осуществл ющего подсчет этих импульсов.From the output of the delay element 60, a pulse passes through the OR element 67 to the input of the admission reception of the adder 78, to the input of the delay element 61 and the first input of the element 92, to the second input of which from the inverse output of the trigger 52 in the subtraction mode of the adder 78 receives a single signal. Thus, when performing the operation of subtraction, the write pulse through the element 92 is fed to the counting input of the counter, which counts these pulses.
С выхода элемента 61 задержки импульс подаетс на вход разрешени вьщачи результата сумматора 78, вход элемента 62 задержки и установочный вход триггера 51, устанавливает его в единичное состо ние, запреща прием информации сумматором 78 с первого информационного входа.и разреша прием с четвертого.From the output of the delay element 61, a pulse is applied to the resolution input of the result of the adder 78, the input of the delay element 62 and the setup input of the trigger 51, sets it to one state, prohibiting the reception of information by the adder 78 from the first information input and allowing reception from the fourth.
Если результат операции /icij -л, . -т положительный, то на выходе знака результата сумматора 78 устанавливаетс единичцый с игнал, а на выходе равенства результата - нулевой сигнал. На выходах элемента И 96 и элемента НЕ 47 по вл ютс нулевые сигналы. С вых.ода элемента 62 за- - держки через элементы И 96 и ИЛИ 69 импульс поступает на установочныйIf the result of the operation / icij -l,. is positive, then the output of the sign of the result of the adder 78 is set to one with ignals, and the output of the equality of the result is a zero signal. At the outputs of element 96 and element 47, zero signals appear. From the output of the element 62 of the delay, the pulse through the elements AND 96 and OR 69 impulse goes to the installation
вход триггера 52, подтвержда режим trigger entry 52, confirming mode
а,/mj-nij. не становитс a, / mj-nij. does not become
вьиитани сумматора 78, через элемент ИЛИ 70 - на вход элемента 63 задержки, через элемент ИЛИ 67 - на вход разрешени приема сумматора 78 и вход элемента 61 задержки и через элемент И 92 на счетный вход счетчит ка 75, которьй осуществл ет счет этого импульса. Так продолжаетс до тех пор, пока результат операции viitani of the adder 78, through the OR 70 element - to the input of the delay element 63, through the OR 67 element - to the input of the reception resolution of the adder 78 and the input of the delay element 61, and through the And 92 element to the counting input, counting 75, which counts this pulse. This continues until the result of the operation
отрицательным или равным нулю. Как только результат станет отрицательным, то на выходе знака результата сумматора 78 устанавливаетс нулевой сигнал, который через элемент НЕ 47 поступает на вход элемента И 97 разреша прохождение через него импульса с выхода элемента 62 задержки , С выхода элемента И 97 импульсnegative or equal to zero. As soon as the result becomes negative, then the output of the sign of the result of the adder 78 is set to a zero signal, which through the element NOT 47 enters the input of the element AND 97 allowing the pulse through it from the output of the delay element 62, With the output of the element 97
та а . . Пор док вьиислени а, аналогичен указанному пор дку вычислени а . После окончани вычислени коэффициента а- в регистр 99 записываетс его числовое значение и сформированный элементом ИЛИ 71 импульс поступает на счетный вход счетчика 74 (добавл в его содержимое единицу) и на входta . The order of the analysis of a is similar to the specified order of calculation of a. After the calculation of the coefficient a- is completed, its numerical value is written to the register 99 and the pulse formed by the element OR 71 is fed to the counting input of the counter 74 (adding one to its contents) and to the input
10 элемента 56 задержи. Если число на выходах счетчика 71 (равное i-1) не равно числу на выходах счетчика 73, то на выходе схемы 79 сравнени устанавливаетс нулевой сигнал, и, соот 5 ветственно, единичный сигнал уо вл - етс на выходе элемента . Таким образом, импульс с выхода элемента 56 задержки проходит через элемент И 85 и поступает на вход запуска дл 10 elements 56 hold up. If the number at the outputs of the counter 71 (equal to i-1) is not equal to the number at the outputs of the counter 73, then a zero signal is set at the output of the comparison circuit 79, and, accordingly, a single signal vo is at the element output. Thus, a pulse from the output of delay element 56 passes through AND 85 and enters the trigger input for
проходит через элемент И 96;20 вычислени коэффициента а; . При этомpasses through the element AND 96; 20 calculating the coefficient a; . Wherein
триггер 49 остаетс в единичном состо нии , т.е. сумматор 76 принимает информацию с выхода регистра 99.trigger 49 remains in a single state, i.e. adder 76 receives information from register output 99.
Так продолжаетс до тех пор, пока .25 на выходах счетчика 73 не по витс значение числа i-1, В этом случае на выходе схемы 79 сравнени по вл етс единичньш сигнал. Импульс с выхода элемента 56 задержки через элементThis goes on until .25 at the outputs of the counter 73 does not look at the value of the number i-1. In this case, a single signal appears at the output of the comparison circuit 79. The pulse from the output of the element 56 delay through the element
30 И 86 устанавливает счетчик 73 в нуле- вое состо ние и поступает на выход окончани вычислени блока 20, вл сь признаком окончани вычислени ко- эффициента.30 and 86 sets the counter 73 to the zero state and arrives at the output of the end of the calculation of block 20, which is a sign of the end of the calculation of the coefficient.
Устройство (фиг. 1) работает следующим образом.The device (Fig. 1) works as follows.
Элемент 13 задерживает входной импульс на врем не менее суммарного времени срабатывани счетчика 8 иElement 13 delays the input pulse for a time not less than the total response time of counter 8 and
40 блока 15 пам ти. Блок 15 пам ти слу- жит дл хранени значений модулей системы остаточных классов-. Элемент 21 задержки .осуществл ет задержку входного импульса на врем срабаты45 вани регистра 27, а элемент 22 - задержку на врем срабатывани регистра 7. Элемент 26 задержки осуществл ет задержку входного импульса па врем операции в умножителе 23.40 blocks of 15 memory. The memory unit 15 serves to store the values of the modules of the system of residual classes. The delay element 21 delays the input pulse by the time the register 45 is triggered, and the element 22 delays the response time of the register 7. The delay element 26 delays the input pulse pa the operation time in the multiplier 23.
Элемент 28 задержки задерживает входной импульс на врем сум 1ирова- ни в сумматоре 32. Элемент 30 эадер - ки задерживает входной импульс на врем срабатывани сумматора 32. Элемент 35 задержки формирует выходной импульс с задержкой на врем сраба тывани счетчика 10. Элемент 36 задерживает входной импульс на врем , равное сумме времен срабатывани The delay element 28 delays the input pulse by the time of the runout in the adder 32. The power supply element 30 delays the input pulse by the response time of the adder 32. The delay element 35 forms the output pulse with a delay by the counting time of the counter 10. The element 36 delays the input pulse for the time equal to the sum of the response times
поступает на установочный триггера 52, в результате чего сумматор 71 переводитс в режим суммировани , прохождение шшульсов через элемент И 92 запрещаетс . Следовательно, счетчик 75 считает только импульсы, характеризуюп1ие режим вычитани . Импульс с вькода элемента И 97 через элемент ИЛИ 70 поступает через элемент 63 задержки, элемент ИЛИ 67 на вход разрешени приема сумматора 78. Если результат суммировани вновь отрицательн,ый, то процесс суммировани повтор етс до тех пор, пока результат не становитс положительным или равным нулю.enters the setup trigger 52, as a result of which the adder 71 is switched to the summation mode, the passing of the shulses through the AND 92 element is prohibited. Consequently, the counter 75 counts only the pulses, which characterize the subtraction mode. The pulse from element ID 97 through OR element 70 comes through delay element 63, element OR 67 to the receive enable input of adder 78. If the result of the summation is again negative, then the process of summation repeats until the result becomes positive or equal to zero.
Если результат положительньй, то импульс снова с выхода элемента 62 задержкиIf the result is positive, then the impulse is again from the output of delay element 62
сумматор 78 переходит в режим .вычитани , через элемент И 92 разрешаетс прохождение импульсов на счетный вход счетчика 75. the adder 78 goes into the subtracting mode, through the element 92 and the passage of pulses to the counting input of the counter 75 is allowed.
II
Указанные процессы продолжаютс These processes continue.
до тех пор, пока в конце одной из операций суммировани или вычитани результат не станет равным нулю. Тогда на выходе равенства результата нулю сумматора 78 устанавливаетс единичный сигнал, который разрешает прохождение импульсов через элемент И 95 и запрещает их прохождение через элементы И 96 и 97. Импульс с выхода элемента 62 задержки через элемент И 95 поступает на вход записи регистра 99 и через элемент ИЛИ 71 на первый вход элемента 56 задержки и счетный вход счетчика 73. В регистр 99 записываетс число с выхода счетчика 75, которое и вл етс коэффициентом ag.until at the end of one of the operations of summation or subtraction the result becomes equal to zero. Then, at the output of the equality of the result to zero, the adder 78 establishes a single signal that permits the passage of pulses through the element AND 95 and prohibits their passage through the elements 96 and 97. The pulse from the output of the delay element 62 through the element 95 enters the input of the register record 99 and through the element OR 71 to the first input of the delay element 56 and the counting input of the counter 73. The register 99 records the number from the output of the counter 75, which is the coefficient ag.
Коэффициент а- начинает вычисл тьс с момента прихода на вход блока .20 (i-1)-го импульса. К этому моменту на входе блока 20 присутствует число т- . Значение коэффициента ужеThe coefficient a- begins to be calculated from the moment it arrives at the input of the .20 (i-1) -th pulse unit. At this point at the input of block 20 there is a number of t-. Coefficient value already
3535
.получено, счетчик 73 находитс в ну- левом состо нии, а на выходах мультиплексоров 37 и 38 по вл етс информаци с входом а, и т, соответственно. С приходом на вход блока 20 (i-1)-го импульса он подсчитываетс счетчиком 74, на выходе которого по вл етс код числа i-1, а также этот поступает на вход элемента 53 задержки и установочный вход триггера 49, начинаетс процесс вычислени коэффициен 55Once received, the counter 73 is in the zero state, and at the outputs of multiplexers 37 and 38, information appears with input a, and m, respectively. When a block of 20 (i-1) -th pulse arrives at the input, it is counted by counter 74, at the output of which appears the code of the number i-1, and also this is fed to the input of delay element 53 and the setup input of trigger 49, the process of calculating the coefficient 55
3535
13141314
счетчика 8, блока 15 пам ти, регистра 18.counter 8, memory block 15, register 18.
Если при поступлении на вход 4 устройства вычета 6i; на вход 12 уст- | ойства подаетс импульс управлени , го этот вычет участвует в декодиро- Ьании кода, а при отсутствии импульса управлени в ьтет о/; и соЬтветствую |ций- eify модуль тп; дл декодировани устройством не воспринимаютс . В начальный момент на вход 5 устройства поступает короткий импульс, соторый устанавливает триггер 3, ;четчики 8, 10 и 11, регистры 7, 17, ,. .17ц.2, 18,.. .18, J 27 в нуле- ое состо ние, поступает на вход бло jca 20 вычислени коэффициента, а в | егистр 19 записывает число с значе- Йием единица. На информационньй вход 4 устройства подаетс значение вычета ci, . С входа 6 тактовых импульсов начинают поступать тактовые импульсы йричем на вход 12 поступает импульс.If, on admission to input 4, the device deduction 6i; at the entrance of 12 mouth- | A control pulse is applied, this deduction participates in decoding the code, and in the absence of a control pulse, there is a charge about /; and the corresponding | e-module tp; are not perceived by the device for decoding. At the initial moment, a short pulse arrives at the input 5 of the device, which establishes trigger 3,; cheaters 8, 10, and 11, registers 7, 17,,. .17ts.2, 18, ... .18, J 27 to the zero state, is input to the block jca 20 of the coefficient calculation, and to | Register 19 writes a number with a value of 1. The information input 4 of the device is given the value of the deduction ci,. From the input of 6 clock pulses, the clock pulses of the irits begin to arrive at the input 12.
совпадающий с тактовым по длительное-25 15 пам ти. С приходом первого импульти и временному положению.coinciding with the clock for long-25 15 memory. With the arrival of the first impuls and temporary position.
Наличие нулевого сигнала на пр мом выходе триггера 3 предотвращает прохождение импульсов управлени че- ез элемент И 9, а единичньш сигнал на его инверсном выходе разрешает их прохождение через элемент И 2. Импульсы с элемента И 2 поступают на вход элемента 22 задержки и вход записи регистра 7, в результате значение вычета «i, с информационного йхода 4 записываетс в регистр 7. Так как значение коэффициента а, равно значению вычета oi, , то дальнейших операций по вычислению а, не производитс , а начинаетс процесс вычислени следующих коэффициентов а;.The presence of a zero signal at the direct output of the trigger 3 prevents the passage of control pulses through element 9, and a single signal at its inverse output permits their passage through element 2. The pulses from the element 2 enter the input of the delay element 22 and the register entry input 7, as a result, the value of the deduction "i, from information input 4 is written to register 7. Since the value of the coefficient a is equal to the value of the deduction oi,, then no further operations are performed on the calculation of a, but the process of calculating the following coefficients begins Comrade;
С выхода регистра 7 информаци iiocTynaeT на первый информационный ; вход сумматора 32 и второй информа- :ционньй вход блока 20 вычислени коэффициента , на первый информационньй вход которого подаетс информаци с информационного входа 4 устройства.From the release of register 7, information iiocTynaeT to the first information; the input of the adder 32 and the second information: the input of the coefficient calculation unit 20, to the first information input of which information is fed from the information input 4 of the device.
Импульс, задержанный элементом 22 задержки, поступает через элемент ИЛИ 29 на вход разрешени приема сум- матора 32 и вход элемента 28 задержки. Так как с триггера 25 на первьтй вход разрешени приема сумматора 32 пода- етс единичный сигнал, а на : торой- и третий входы разрешени приема сум- м,атора 32 - нулевой сигнал, то послеThe pulse delayed by the delay element 22 is fed through the OR element 29 to the input of the reception resolution of the summator 32 and the input of the delay element 28. Since from the trigger 25 to the first input of the receive resolution of the adder 32 a single signal is given, and to: the second and third inputs of the receive resolution of the sum, the ator 32 - a zero signal, after
1414
поступлени импульса с выхода элемента 28 задержки на вход элемента 30 задержки на установочный вход триггера 25 и вход разрешени вьщачи результата Значение коэффициента по вл етс на информационном выходе сумматора 32 и поступает на выход 33 устройства и информационный вход сумматора 32. Импульс с выхода элемента 28 задержки также устанавливает триггер 25 в единичное состо ние, в результате чего на первьй вход разрешени приема сумматора 32 подаетс ну- левой сигнал, а на его второй и третий входы разрешений приема - единичный сигнал, т.е. сумматор 32 готов к прин тию информации, поступающей на его вторые и третьи информационные . входы.the arrival of a pulse from the output of the delay element 28 to the input of the delay element 30 to the installation input of the trigger 25 and the resolution enable input. The coefficient value appears at the information output of the adder 32 and enters the device output 33 and the information input of the adder 32. Pulse from the output of the delay element 28 It also sets the trigger 25 to the single state, as a result of which a first signal is sent to the first receive enable input of the adder 32, and a single signal to the second and third leads of the receive enable, i.e. adder 32 is ready to receive information arriving at its second and third information. entrances.
Тактовые импульсы с входа 6 тактовых импульсов устройства поступают . на счетный вход счетчика 8, выходными сигналами которого управл етс блокClock pulses from the input of 6 clock pulses of the device are received. on the counting input of the counter 8, the output of which is controlled by the block
са на выходе счетчика 8 по вл етс код числа, соответствующий единице, и на выходах блока 15 устанавливаетс значение га, и, соответственно, с при0 ходом i-ro импульса устанавливаетс значение т. С выходов, блока 15 пам ти информаци подаетс на информационные входы регистров 18, .,.18|, и 27. Импульсы с входа 12 устройства пос тупают на счетный вход счетчика 11, считающего до К, Счетчик 11 осуществл ет подсчет этих импульсов, поступающих также через элемент 1 задержки на установочный вход триггера 3,A number code corresponding to one appears at the output of counter 8, and the output of block 15 is set to m, and, accordingly, with the i-ro pulse, the value of t is set. From the outputs, memory block 15, information is fed to the information inputs the registers 18,.,. 18 |, and 27. The pulses from the input 12 of the device arrive at the counting input of the counter 11, counting up to K, the Counter 11 performs the counting of these pulses, also coming through the delay element 1 to the installation input of the trigger 3,
0 первый импульс устанавливает его в единичное состо ние, в результате чего предотвращаетс их прохождение через элемент И 2 и разрешаетс прохождение остальных импульсов через0, the first pulse sets it to the unit state, as a result of which they are prevented from passing through the AND 2 element and the remaining pulses are allowed to pass through
5 элемент И 9.5 element and 9.
Выходные сигналы счетчика 11 управл ют работой дешифратора 16, на стробирующий вход которого поступает импульс, задержанньй элементом 13 задержки. При записи в счетчик 11 первого импульса на первом выходе дешифратора 16 по вл етс единичный сигнал, который поступает на вход записи регистра 18. При поступлении второго импульса управлени единичный сигнал подаетс на вход записи реги-. стра 182 и так продолжаетс до прихода (К-1)-го импульса управлени . Импульс с выхода элемента 13 задержкиThe output signals of the counter 11 control the operation of the decoder 16, to the gate input of which a pulse arrives, delayed by the delay element 13. When writing to the counter 11 of the first pulse, a single signal appears at the first output of the decoder 16, which arrives at the register recording input 18. When the second control pulse arrives, the single signal is fed to the recording input register-. 182 and so on until the (K-1) -th control pulse arrives. The pulse from the output of the element 13 delay
00
5five
также поступает на вход записи регистра 27 и вход элемента 21 задержки, с выхода которого он поступает на вход разрешени приема умножител 24 на второй информационный вход которого подаетс число с выхода регистра 19, значение которого в начальный момент-времени равно единице, на первый информационный вход поступает число с выхода регистра 27. Таким образом, после прихода первого импульса с входа 12 происходит перемножение и на выходе умножител 24 устанавливаетс код числа, равного та also enters the input of the register 27 and the input of the delay element 21, from the output of which it enters the input of the reception permission of the multiplier 24 to the second information input of which is fed a number from the output of the register 19, whose value at the initial moment-time is equal to one, to the first information input the number comes from the output of the register 27. Thus, after the arrival of the first pulse from the input 12, multiplication occurs and the output of the multiplier 24 sets the code of the number equal to
С приходом второго импульса с входа 2 и второго тактового импульса в счетчики 8 и 11 записьтаетс код, соответствующий числу два, и в регистры 18 и 27 записываетс значение m . Импульс через элемент И 9 поступает иа вход элемента 36 задержки и вход записи регистра 19, а информаци с выходов умножител 24 записываетс в регистр 19, т.е; после прихода второго импульса управлени в регистр 19 записываетс значение т,. Этот же импульс с выхода элемента И 9, задержанный элементами 13 и 21 задержки на врем , равное времени срабатывани , счетчика 11, дешифратора 16 и регистра 27, подаетс на вход разрешени приема умножител 24, а так как к этому времени на одном входе умножител уже присутствуе код числа т,, а на другом входе т, то на выходе умножител устанавливаетс число, равное т, т, которое With the arrival of the second pulse from input 2 and the second clock pulse, the code corresponding to the number two is written to the counters 8 and 11, and the value m is written to the registers 18 and 27. The pulse through the element And 9 enters the input element 36 of the delay and the recording entry register 19, and the information from the outputs of the multiplier 24 is recorded in the register 19, i.e.; after the arrival of the second control pulse, the value m in the register 19 is recorded. The same impulse from the output of the AND 9 element, delayed by the delay elements 13 and 21, equal to the response time, the counter 11, the decoder 16 and the register 27, is fed to the input of the reception of the multiplier 24, and since by that time the input of the multiplier If the code of the number t, and at the other input, t, then at the output of the multiplier a number is set equal to t, t, which
приходом третьего импульса с входа 12 записываетс в регистр 19.the arrival of the third pulse from input 12 is written to register 19.
Второй импульс с выхода элемента И 9 поступает на вход элемента 36 задержки , выходной импульс которого вл етс импульсом, по которому блок 20 вычислени коэффициента начинает .вычислени .The second pulse from the output of the element AND 9 is fed to the input of the delay element 36, the output pulse of which is the pulse from which the coefficient calculating unit 20 starts calculating.
На первый информационный вход блока 20 поступают значени вычетов (rf; с информационного входа 4 устройства. На второй информационный вход этого блока с выхода регистра 7 подаетс значение а,, на третий информационный вход блока 20 с выхода регистра 17, поступает значение а, с выходаThe first information input of block 20 receives the values of deductions (rf; from the information input 4 of the device. The second information input of this block from the output of the register 7 is given the value a, to the third information input of the block 20 from the output of the register 17, the value comes a, from the output
и так даand so yes
регистраregister
17 значение17 meaning
22
а.but.
лее, соответственно, на к-й информационный вход блока 20 поступает значение аNext, respectively, the kth information input of block 20 receives the value a
киki
с выхода регистра 17цfrom the register 17c
к , 1 .k, 1.
т сt with
10ten
1515
2020
2525
30thirty
3535
4040
4545
5050
5555
На (к+1)-и информационный вход блока 20 подаетс значение т с выхода регистра 18, , на (к+2)-й вход - значение m и так далее, соответственно, с выхода регистра 18., на (2к-1)-й вход поступает значение т:. На 2к-й информа ционный вход поступает значение модул т: с регистра 27.The (k + 1) -and information input of block 20 is given the value m from the output of register 18, the (k + 2) -th input is the value of m, and so on, respectively, from the output of register 18., to (2k-1 ) -th input enters the value of t :. The modulo value is fed to the 2nd information input: from register 27.
После окончани вьиислени коэффициента а. на информационном выходе блока 20 по вл етс значение а, аAfter the termination of the coefficient a. on the information output of block 20, the value a appears, and
,на его управл ющем выходе - импульс, свидетельствующий о том,что вь1числёние ,, on its control output, an impulse, indicating that the calculation of
коэффициента а закончено. Информаци с информационного выхода бйока 20 поступает на информационный вход регистров 17, ... 1 7 ,,. и информационный вход умножител 23, на другой информационный вход которого подаетс значение т, с выхода регистра 19. Первьй импульс с выхода окончани вычислени блока 20 поступает на элемент 35 задержки и счетный вход счетчика 10, на выходах которого по вл етс значение . 1, по которому с выход дешифратора 14 поступает сигнал на вход записи регистра .17 , т.е. после прихода первого импульса с выхода блока 20 значение а с информационного выхода 34 блока 20 записываетс в регистр 17,, после прихода второго импульса , с выхода окончани вычислени блокаcoefficient a is complete. Information from the information output of the bioca 20 arrives at the information input of the registers 17, ... 1 7 ,,. and the information input of the multiplier 23, to the other information input of which the value m is fed, from the output of the register 19. The first pulse from the output of the calculation end of the block 20 is fed to the delay element 35 and the counting input of the counter 10, on the outputs of which a value appears. 1, which from the output of the decoder 14 receives a signal at the input of the register record .17, i.e. after the arrival of the first pulse from the output of block 20, the value a from information output 34 of block 20 is written to register 17, after the arrival of the second pulse, from the output of the end of the calculation of the block
20 17„20 17 „
значение а- записываетс в регистрthe value a is written to the register
,, и так далее, соответственно, с приходом (к-1)-го импульса - в ре- гистр 17 к-о..,, and so on, respectively, with the arrival of the (k-1) th pulse - into the register of 17 k-o.
Первый импульс с выхода окончани вычислени блока 20 поступает также на вход элемента 26 задержки и вход разрешени приема умножител 23, в , котором осуществл етс операци акт, , результат выполнени которой поступ - ет на его выход. Импульс, задержанный элементом 26 задержки, через элемент ИЖ 29 поступает на элемент 28 задержки и вход разрешени приема сум матора 32. К этому времени сумматор подготовлен дл суммировани чисел, поступаюш х на его второй и третий информационные входы.The first pulse from the output of the calculation end of the block 20 is also fed to the input of the delay element 26 and the input resolution of the multiplier 23, in which the operation is performed, the result of which goes to its output. The impulse delayed by the delay element 26, through the IL 29 element, arrives at the delay element 28 and the reception enable input of summator 32. By this time, the adder is prepared for summing the numbers supplied to its second and third information inputs.
На третий информационный вход сум-. матора 32 на второй поступает значение а., аOn the third information input sum-. Mator 32 on the second comes the value of a., and
результат а.х m,result a.x m,
выхода умножител 23output multiplier 23
При поступлении на вход разрешени вьщачи результата сумматора 32 импульса с элемента 28 задержки на вькоде сумматора 32 уста17When a resolution arrives at the input of the result of the adder 32 pulses from the delay element 28 in the code of the adder 32,
навпиваетс вычисленное значение а -t-a-iin,.The calculated value is a -t-a-iin ,.
С приходом третьего импульса на ;Вход 12 устройства и третьего такто- 1ВОГО импульса на тактовый вход 6 в счетчики 8 и, 11 записываетс значение 3, в регистры 18,, 18, 183 27 - соответственно значени гаWith the arrival of the third pulse on the; Device input 12 and the third clock of YOUR pulse on the clock input 6, the counters 8 and 11 record the value 3, and the registers 18, 18, 183 27 correspond to the values of ha
1 one
mm
гg
Л-, в регистр 19 - значение m,m. За-Ш |тем производитс вычисление блоком 20 коэффициента а,, который записываетс 17, -умножитель 23 осуще|в регистр 11 ,L-, in register 19 - the value of m, m. For-W | the calculation is made by the block 20 of the coefficient a ,, which is written 17, the multiplier 23 is implied | to the register 11,
|ствл ет перемножение значений а, и| multiplies the values of a, and
..
Затем сумматор 32 производит суммирование и на его выходе устанав- |ливаетс величина, равна ,+ ,Then the adder 32 performs the summation and at its output the value is set, is equal to, +,
i сли, например, третий импульс на I вход 12 не поступил, третий тактовый импульс подаетс на счетный вход счет чика 8, на выходе которого по вл етс код, соответствукнций дифре три, то в счетчик 11 записьюаетс код, соответствующий цифре два. С выхода блока 15 пам ти значение модул га в 1регистр 18, не запишетс . С приходом четвертого импульса управлени на выходе счетчика 8 по вл етс код цифры четыре, а на выходах счетчика 11 - код цифры три. В регистры 18,, 27 записываетс значение модул га. |На выходе сумматора 32 устанавливает- с число значениемIf, for example, the third pulse has not arrived at I input 12, the third clock pulse is fed to the counting input of counter 8, the output of which has a code corresponding to the diffraction three, then the code corresponding to digit two is recorded in counter 11. From the output of memory block 15, the value of the module in 1 register 18 will not be recorded. With the arrival of the fourth control pulse, the digit code four appears at the output of the counter 8, and the code of the digit three at the outputs of the counter 11. Registers 18 ,, 27 record the value of the modulus. | At the output of the adder 32 sets-with number value
1515
2020
; а, , гп +а т, ,; a, gp + a t,,
После поступлени к-го импульса на вход 12 устройства и завершени вычислени сумматором 32 на выходе элемента 30 задержки по вл етс импульс , свидетельствуниций о том, что вычисление закончено и окончательный результат может быть считан с выхода 33 устройства.After the arrival of the kth pulse at the device input 12 and the completion of the calculation by the adder 32, a pulse appears at the output of the delay element 30, indicating that the calculation is completed and the final result can be read from the device output 33.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864168730A SU1429323A1 (en) | 1986-12-25 | 1986-12-25 | Decoder of codes presented in residual-classes system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864168730A SU1429323A1 (en) | 1986-12-25 | 1986-12-25 | Decoder of codes presented in residual-classes system |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1429323A1 true SU1429323A1 (en) | 1988-10-07 |
Family
ID=21275717
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU864168730A SU1429323A1 (en) | 1986-12-25 | 1986-12-25 | Decoder of codes presented in residual-classes system |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1429323A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4996527A (en) * | 1989-09-29 | 1991-02-26 | The Boeing Company | Pipelined residue to mixed base converter and base extension processor |
-
1986
- 1986-12-25 SU SU864168730A patent/SU1429323A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство ctCP № 1267625, кл. Н 03 М 7/18, l985. Авторское свидетельство СССР № 1388996, кл. Н 03 М 7/18, 1986. * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4996527A (en) * | 1989-09-29 | 1991-02-26 | The Boeing Company | Pipelined residue to mixed base converter and base extension processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1429323A1 (en) | Decoder of codes presented in residual-classes system | |
US3990071A (en) | Data transmission system using frequency permutation codes | |
SU1280624A1 (en) | Device for multiplying the floating point numbers | |
SU960807A2 (en) | Function converter | |
SU1633400A1 (en) | Arithmetic moduli processing device | |
SU708344A1 (en) | Converter of binary code into binary-decimal one and vice versa | |
SU1605254A1 (en) | Device for performing fast walsh-adamar transform | |
RU2029434C1 (en) | Device for formation of remainder by arbitrary modulus of number | |
SU1658150A2 (en) | Device for square root extraction | |
SU1573459A1 (en) | Device for comptuting discrete fourier transform and convolution | |
SU935954A1 (en) | Device for calculating differential equations | |
SU732892A1 (en) | Stochastic functional converter | |
SU1764065A1 (en) | Device for summing m n-digit numbers entering in series | |
RU2023346C1 (en) | Device for formation of remainder by optional modulus of number | |
SU1756881A1 (en) | Modulo arithmetic unit | |
SU1043662A1 (en) | Fourier coefficient computing device | |
SU982014A1 (en) | Adaptive computer of mathematical expectation estimate | |
SU1140115A1 (en) | Device for calculating value of polynominal of degree n | |
SU693435A1 (en) | Storage | |
SU1432558A1 (en) | Device for separating correlograms | |
SU1735855A1 (en) | Multiprocessor system debugger | |
SU1458872A1 (en) | Device for multiplying by coefficients | |
SU1259251A1 (en) | Dividing device | |
SU744544A1 (en) | Code converting device | |
RU1784975C (en) | Arithmetic-integrating device |