SU1280608A1 - Device for comparing numbers - Google Patents

Device for comparing numbers Download PDF

Info

Publication number
SU1280608A1
SU1280608A1 SU853905335A SU3905335A SU1280608A1 SU 1280608 A1 SU1280608 A1 SU 1280608A1 SU 853905335 A SU853905335 A SU 853905335A SU 3905335 A SU3905335 A SU 3905335A SU 1280608 A1 SU1280608 A1 SU 1280608A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
register
output
trigger
inputs
Prior art date
Application number
SU853905335A
Other languages
Russian (ru)
Inventor
Игорь Айдемирович Айдемиров
Любовь Николаевна Матвеева
Омар Магадович Омаров
Original Assignee
Дагестанский Политехнический Институт
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Дагестанский Политехнический Институт filed Critical Дагестанский Политехнический Институт
Priority to SU853905335A priority Critical patent/SU1280608A1/en
Application granted granted Critical
Publication of SU1280608A1 publication Critical patent/SU1280608A1/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано в цифровых вычислительных машинах. Цель изобретени  расширение области применени  за счет возможности сравнени  с эталоном и совмещени  процессов записи и сравнени  чисел. Устройство содержит регистр эталона, кольцевые регистры сдвига, схемы сравнени , триггеры, элементы И, блок приоритета. Устройство позвол ет производить поразр дное сравнение кодов, записанных в кольцевые регистры сдвига, с эталоном и блокировки сравнени  в тех регистрах , в которых произошло несовпадение с эталоном. В регистры, исключенные из дальнейшего сравнени ,возможна запись новых кодов при управлении сигналами с блока приоритета.. 2 ил. (/The invention relates to automation and computing and can be used in digital computers. The purpose of the invention is the expansion of the field of application due to the possibility of comparing with the standard and combining the processes of recording and comparing numbers. The device contains a master register, ring shift registers, comparison circuits, triggers, AND elements, priority block. The device allows bit-wise comparison of the codes recorded in the ring shift registers with the reference and comparison locks in those registers in which a mismatch with the reference occurred. In registers excluded from further comparison, it is possible to write new codes when controlling signals from a priority block. 2 Il. (/

Description

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано в цифровых вычислительных машинах.The invention relates to automation and computing and can be used in digital computers.

Цель изобретени  - расширение области применени  за счет возможности сравнени  с эталоном и совмещени  процессов записи и сравнени  чисел.The purpose of the invention is to expand the field of application due to the possibility of comparing with the standard and combining the processes of recording and comparing numbers.

На фиг. 1 изображена функциональна  схема устройства; временна  диаграмма работы устройства; на фиг.2 схема приоритетного блока.FIG. 1 shows a functional diagram of the device; time diagram of the device; 2 a priority block diagram.

Устройство (фиг. 1) содержит регистр 1 эталона, кольцевые регистры 2 сдвига, схемы 3 сравнени , элементы И 4 блокировки, триггеры 5, элементы И 6 анализа, триггеры 7, блок 8 приоритета, элементы И 9 выбора режима, вход 10 начальной установки 11 тактовых импульсов,информационную шину 12, вход 13 выбора режима, вход 14 кода эталона и вход 15 разрешени  записи.The device (Fig. 1) contains a register of 1 standard, ring shift registers 2, comparison circuits 3, interlocking elements AND 4, triggers 5, analysis elements AND 6, triggers 7, priority block 8, mode selection elements 9, initial setup input 10 11 clock pulses, information bus 12, mode selection input 13, reference code input 14 and recording resolution input 15.

Устройство работает следующим образом .The device works as follows.

В регистре 1 эталона находитс  .эталонный двоичньй код, в регистрахIn the register of the standard there is a reference binary code, in the registers

2- коды, сравниваемые с эталоном. На вход 10 подаетс  импульс, устанавливающий триггеры 5 в 1, а триггеры 7 - в О. Установка триг- .геров 5 в 1 разрешает сдвиг в регистрах 2. На шину 11 подаютс  синхроимпульсы , поступающие на синхро- вход сдвига регистра 1 эталона и через элементы И 4 - на синхровходы сдвига регистра 2, что вызывает последовательный сдвиг информации во всех регистрах. Схемы 3 сравнени  сравнивают разр д информации на выходе регистра 1 эталона с соответствующим разр дом информации на выходах регистров 2. В случае несовпадени  разр да эталона с разр дом на выходе регистра 2 на выходе схемы2- codes, compared with the standard. A pulse is applied to the input 10, which sets the triggers 5 to 1, and the triggers 7 to the O. Setting the triggers 5 to 1 allows the shift in the registers 2. On the bus 11, the clock pulses are fed to the synchro input of the shift of the standard 1 and through And 4 elements - on the shift register register 2 inputs, which causes a sequential shift of information in all registers. Circuit 3 comparisons compare the bit of information at the output of register 1 of the standard with the corresponding bit of information at the outputs of registers 2. In case of a discrepancy between the discharge of the standard and the bit at the output of register 2 at the output of the circuit

3сравнени  по вл етс  уровень 1,3 comparisons appear level 1,

поступающий через открытый элемент И 6 на вход установки триггера 7 и вход сброса триггера 5. Уровень 1 с выхода триггера 7 поступает на вход блока приоритета, а уровень логического нул  с выхода триггера 5 закрывает элементы И 4 и 6, прекраща  сдвиг в соответствующем регистре 2 и блокиру  дальнейшее поступление сигналов несовпадени  на входы триггеров 5 и 7.Поскольку в кажcoming through an open element And 6 to the input of the trigger setup 7 and the reset input of the trigger 5. Level 1 from the trigger output 7 enters the input of the priority block, and the logic zero level from the trigger output 5 closes the And 4 and 6 elements, stopping the shift in the corresponding register 2 and block the further receipt of the mismatch signals to the inputs of the triggers 5 and 7. Since each

дом из регистров 2 несовпадение фиксируетс  независимо, на входы блока 8 поступает сразу несколько единичных сигналов с выходом триггераthe house of registers 2 the mismatch is fixed independently; several single signals are simultaneously fed to the inputs of block 8 with the trigger output

7. Блок приоритета выбирает лишь7. The priority block selects only

один (например самый левый по схеме) из поступивших сигналов, т.е. единичный сигнал по вл етс  лишь на одном выходе блока приоритета, соответствующем самому левому (по схеме ) из его входов, на которые поданы единичные уровни. Этот сигнал с выхода блока приоритета поступает на один вход соответствующего элемента И 9, открыва  его« После этого на информационную шину может быть подан новый код дл  записи в соответствующий регистр 2. Запись производитс  подачей стробирующего импуль са на вход 13. Этот стробирующий импульс через открытый элемент И 9 поступает на синхровход записи регистра 2, записыва  в него информацию , поданную на шину 12, а поступа  на вход сброса триггера 7, i сбрасывает его в О. После этого блок 8 приоритета выбирает новый (самый левый из оставшихс ) триггер 7, открывает соответствующий элемент И 9. дл  записи информации в новый регистр 2.и т.д. пока имеютс  установленные в 1 триггеры 7.Про- . цесс записи информации в регистры 2, в которых произошло несовпадение с эталоном, может происходить одновременно (и независимо) с продолжением сравнени  с эталоном содержимого других регистров. По окончании цикла сравнени  код эталона за , нимает в регистре 1 прежнее поло.- жение (то же, что и до начала сравнени ) за счет того, что в каждом такте сравнени  разр д, вьщаваемый из последнего разр да регистра наone (for example, the leftmost one according to the scheme) of the incoming signals, i.e. a single signal appears only at one output of a priority block corresponding to the left-most (according to the scheme) of its inputs to which unit levels are applied. This signal from the output of the priority block is fed to one input of the corresponding element AND 9, opening it. After this, a new code can be fed to the information bus to write to the corresponding register 2. The recording is performed by applying a gate pulse to input 13. This gate pulse through an open element 9 enters the synchronization input of register 2, recording information supplied to bus 12, and entering the reset input of trigger 7, i resets it to O. After this, priority block 8 selects a new one (the leftmost one) trigger 7, opens the corresponding AND 9 element. to write information to the new register 2. etc. while there are set in 1 triggers 7.Pro. The process of recording information in registers 2, in which a mismatch with the standard occurred, can occur simultaneously (and independently) with the continuation of comparison with the standard of the contents of other registers. At the end of the comparison cycle, the reference code is, in register 1, the former position (the same as before the commencement of the comparison) due to the fact that in each step of the comparison the bit from the last bit of the register to

его выход, подаетс  с выхода на последовательный информационный вход регистра и записываетс  в его первый разр д. Аналогично в регистрах 2, в которых не было несовпадени ,its output is fed from the output to the serial information input of the register and is written to its first bit. Similarly, in registers 2, in which there was no discrepancy,

коды занимают по окончании цикла то же положение, что и до его начала. О результатах сравнени  кода, записанного в данном регистре 2 (произошло или не произошло несовпадение),codes at the end of the cycle occupy the same position as before it began. About the results of comparing the code recorded in this register 2 (a mismatch occurred or did not occur),

можно судить ПО СОСТОЯНИЮ соответствующего триггера 5. Если триггер 5 по окончании цикла сравнени  осталс  в единичном состо нии, код в регистре 2 совпадает . с эталоном. Поcan be judged by the status of the corresponding trigger 5. If the trigger 5 at the end of the comparison cycle remained in one state, the code in register 2 is the same. with reference. By

312806084312806084

состо нию соответствующего триггера нени  с эталондм и совмещени  процессов записи и сравнени  чисел, в него введены п элементов И анализа, п дополнительных триггеров, блок приори- 7 - то же, то в соответствующем реги- тета и регистр эталона, информацион7 можно -судить о том, записан ли новый код в регистр 2 или нет. Если триггер 5 обращен в О и триггерthe condition of the corresponding trigger of the standards and the combination of the processes of recording and comparing numbers, n parameters of the analysis are entered into it, n additional triggers, the priority block 7 is the same, then the corresponding register and the register of the standard can be judged whether new code is in register 2 or not. If trigger 5 is turned into O and trigger

стре 2 бьшо несовпадение с эталоном, и в него мог быть записан новый код. Окончив одии цикл сравнени , можно начать новый, как описано.There was a mismatch with the standard, and a new code could be written to it. After finishing the comparison cycle, you can start a new one as described.

Claims (2)

Изобретение относитс  к автомати ке и вычислительной технике и может быть использовано в цифровых вычислительных машинах. Цель изобретени  - расширение об ласти применени  за счет возможности сравнени  с эталоном и совмещени  процессов записи и сравнени  чисел. На фиг. 1 изображена функциональ на  схема устройства; временна  диа грамма работы устройства; на фиг.2 схема приоритетного блока. Устройство (фиг. 1) содержит регистр 1 эталона, кольцевые регистры 2 сдвига, схемы 3 сравнени , элементы И 4 блокировки, триггеры 5, элементы И 6 анализа, триггеры 7, блок 8 приоритета, элементы И 9 выбора режима, вход 10 начальной уста новки 11 тактовых импульсов,информационную шину 12, вход 13 выбора режима, вход 14 кода эталона и вход 15 разрешени  записи. Устройство работает следующим об разом. В регистре 1 эталона находитс  .эталонный двоичньй код, в регистрах 2- коды, сравниваемые с эталоном. На вход 10 подаетс  импульс, устанавливающий триггеры 5 в 1, а триггеры 7 - в О. Установка триг .геров 5 в 1 разрешает сдвиг в регистрах 2. На шину 11 подаютс  синхроимпульсы , поступающие на синхровход сдвига регистра 1 эталона и через элементы И 4 - на синхровходы сдвига регистра 2, что вызывает последовательный сдвиг информации во всех регистрах. Схемы 3 сравнени  сравнивают разр д информации на выходе регистра 1 эталона с соответствующим разр дом информации на вых дах регистров 2. В случае несовпаде ни  разр да эталона с разр дом на выходе регистра 2 на выходе схемы 3сравнени  по вл етс  уровень 1, поступающий через открытый элемент И 6 на вход установки триггера 7 и вход сброса триггера 5. Уровень 1 с выхода триггера 7 поступает на вход блока приоритета, а уровень логического нул  с выхода триггера 5 закрывает элементы И 4 и 6, прекраща  сдвиг в соответствующем регистре 2 и блокиру  дальнейшее поступ ление сигналов несовпадени  на входы триггеров 5 и 7.Поскольку в каждом из регистров 2 несовпадение фиксируетс  независимо, на входы блока 8 поступает сразу несколько единичных сигналов с выходом триггера 7. Блок приоритета выбирает лишь один (например самый левый по схеме) из поступивших сигналов, т.е. единичный сигнал по вл етс  лишь на одном выходе блока приоритета, соответствующем самому левому (по схеме ) из его входов, на которые поданы единичные уровни. Этот сигнал с выхода блока приоритета поступает на один вход соответствующего элемента И 9, открыва  его« После этого на информационную шину может быть подан новый код дл  записи в соответствующий регистр The invention relates to automation and computing and can be used in digital computers. The purpose of the invention is to expand the field of application due to the possibility of comparing with the standard and combining the processes of recording and comparing numbers. FIG. 1 shows the functional scheme of the device; time diagram of the device; 2 a priority block diagram. The device (Fig. 1) contains a register of 1 standard, ring shift registers 2, comparison circuits 3, interlocking elements AND 4, triggers 5, analysis elements AND 6, triggers 7, priority block 8, mode selection elements 9, input 10 of the mouth 11 clock pulses, information bus 12, mode selection input 13, reference code input 14 and recording resolution input 15. The device works as follows. In register 1 of the standard there is a reference binary code, in registers 2 there are codes comparing with the standard. A pulse is applied to the input 10, which sets the triggers 5 to 1, and the triggers 7 to the O. Setting the triggers 5 to 1 allows the shift in the registers 2. On the bus 11, the clock pulses are applied to the shift register register 1 of the standard and through the And 4 elements - to the synchronous inputs of the shift of the register 2, which causes a sequential shift of information in all registers. Circuit 3 compares the bit of information at the output of register 1 of the standard with the corresponding bit of information at the outputs of registers 2. If the discharge of the pattern does not coincide with the bit at the output of register 2, level 1 appears at the output of the comparison circuit 3 element 6 to the input of the trigger setup 7 and the trigger reset input 5. Level 1 from the trigger output 7 enters the priority block input, and the logical zero level from the trigger trigger output 5 closes the elements 4 and 6, stopping the shift in the corresponding register 2 and blocking The earliest receipt of the mismatch signals to the inputs of the triggers 5 and 7. Since in each of the registers 2 the mismatch is fixed independently, the inputs of block 8 receive several single signals at once with the output of the trigger 7. The priority block selects only one (for example, the leftmost one according to the scheme) signals, i.e. a single signal appears only at one output of a priority block corresponding to the left-most (according to the scheme) of its inputs to which unit levels are applied. This signal from the output of the priority block is fed to one input of the corresponding element AND 9, opening it. “After this, a new code can be fed to the information bus to write to the corresponding register 2. Запись производитс  подачей стробирующего импуль са на вход 13. Этот стробирующий импульс через открытый элемент И 9 поступает на синхровход записи регистра 2, записыва  в него информацию , поданную на шину 12, а поступа  на вход сброса триггера 7, i сбрасывает его в О. После этого блок 8 приоритета выбирает новый (самый левый из оставшихс ) триггер 7, открывает соответствующий элемент И 9. дл  записи информации в новый регистр 2.и т.д. пока имеютс  установленные в 1 триггеры 7.Процесс записи информации в регистры 2, в которых произошло несовпадение с эталоном, может происходить одновременно (и независимо) с продолжением сравнени  с эталоном содержимого других регистров. По окончании цикла сравнени  код эталона занимает в регистре 1 прежнее поло.жение (то же, что и до начала сравнени ) за счет того, что в каждом такте сравнени  разр д, вьщаваемый из последнего разр да регистра на его выход, подаетс  с выхода на последовательный информационный вход регистра и записываетс  в его первый разр д. Аналогично в регистрах 2, в которых не было несовпадени , коды занимают по окончании цикла то же положение, что и до его начала. О результатах сравнени  кода, записанного в данном регистре 2 (произошло или не произошло несовпадение), можно судить ПО СОСТОЯНИЮ соответствующего триггера 5. Если триггер 5 по окончании цикла сравнени  осталс  в единичном состо нии, код в регистре 2 совпадает . с эталоном. По 312 состо нию соответствующего триггера 7 можно -судить о том, записан ли новый код в регистр 2 или нет. Если триггер 5 обращен в О и триггер 7 - то же, то в соответствующем реги стре 2 бьшо несовпадение с эталоном, и в него мог быть записан новый код. Окончив одии цикл сравнени , можно начать новый, как описано. Формула изобретени  Устройство дл  сравнени  чисел, содержащее п кольцевых регистров г сдвига, где п - количество сравниваемых чисел, п схем сравнени , п элементов И блокировки, п - элементов И выбора режима, л триггеров, причем вход начальной установки устройства подключен к входам установки в единичное состо ние триггеров, выход i-ro триггера, где i 1,2,,..,п, соединен с первым входом i-ro элемента И блокировки, вход выбора режима устройства подключен к первым входам элемента И выбора режима,первые входы всех схем сравнени  объединены , информационные входы регистров подключены к информационной шине устройства, отличающеес  тем, что, с целью расширени  области применени J за счет возможности срав84 нени  с эталондм и совмещени  процессов записи и сравнени  чисел, в него введены п элементов И анализа, п дополнительных триггеров, блок приоритета и регистр эталона, информационные входы которого подключены к входам кода эталона устройства, а выход старшего разр да подключен к первым входам всех схем сравнени ,второй вход i-й схемы сравнени  соединен с выходом старшего разр да i-ro кольцевого регистра сдвига, а выход подключен к первому входу i-ro элемента И анализа, второй вход которого подключен к выходу i-ro триггера, выход i-ro элемента И анализа соединен с входами установки в нулевое и еднничнов состо ние соответственно i-ro триггера и i-ro дополнительного тригIrepa , выход которого соединен ,с i-м входом блока приоритета, i-й выход которого подключен к второму входу i-ro элемента И выбора режима,выход которого соединен с входом разрешени  записи i-ro кольцевого регистра сдвига, вход сдвига которого соединен с выходом i-ro элемента И блокировки , вторые входы всех элементов И блокировки и вход сдвига регистра эталона подключены к входу тактовых импульсов устройства.2. Recording is performed by applying a strobe pulse to input 13. This strobe pulse through the open element I 9 arrives at the synchronization input of the register 2 record, records information supplied to the bus 12, and enters the reset input of the trigger 7, i resets it to O After this, the priority block 8 selects a new (leftmost of the remaining) trigger 7, opens the corresponding AND 9 element. To write information to the new register 2. etc. the triggers set in 1 are still present. The process of recording information in registers 2, in which a mismatch with the standard has occurred, can occur simultaneously (and independently) with the continuation of comparison with the standard of the contents of other registers. At the end of the comparison cycle, the reference code occupies the previous position in register 1 (the same as before the beginning of the comparison) due to the fact that at each comparison step the bit generated from the last bit of the register to its output is output from the serial information input of the register is recorded in its first bit. Similarly, in registers 2, in which there was no discrepancy, the codes occupy the same position at the end of the cycle as before its beginning. The results of the comparison of the code recorded in this register 2 (a mismatch occurred or did not occur) can be judged by the status of the corresponding trigger 5. If the trigger 5 at the end of the comparison cycle remained in one state, the code in register 2 matches. with reference. According to the 312 state of the corresponding trigger 7, it is possible to judge whether the new code is written to register 2 or not. If trigger 5 is set to O and trigger 7 is the same, then in the corresponding register 2 there was a mismatch with the standard, and a new code could be written to it. After finishing the comparison cycle, you can start a new one as described. Apparatus of the Invention A device for comparing numbers, containing n ring registers, r shift, where n is the number of compared numbers, n comparison circuits, n blocking elements, n –– mode selection elements, l triggers, the input of the initial installation of the device connected to the installation inputs a single state of the trigger, the output of the i-ro trigger, where i 1,2 ,, .., p, is connected to the first input of the i-ro element And blocking, the input for selecting the device mode is connected to the first inputs of the element AND for selecting the mode, the first inputs of all comparison schemes are combined, inform The register inputs are connected to the device information bus, characterized in that, in order to expand the field of application J due to the possibility of comparing with standards and combining the processes of recording and comparing numbers, n parameters of the analysis, n additional triggers, priority block and the reference register, whose information inputs are connected to the device reference code inputs, and the high-order output is connected to the first inputs of all comparison circuits, the second input of the i-th comparison circuit is connected to the high-output output i -ro annular shift register, and the output is connected to the first input of the i-ro element of the analysis, the second input of which is connected to the output of the i-ro trigger, the output of the i-ro element of the analysis And is connected to the inputs of the installation in the zero and single states, respectively ro trigger and i-ro additional trigger Irepa, the output of which is connected, with the i-th input of the priority block, the i-th output of which is connected to the second input of the i-ro element AND mode selection, the output of which is connected to the recording enable input of the i-ro ring register shift, the shift input of which is connected to the output of the i-ro ele And the interlocks, the second inputs of all the elements And the interlocks and the shift input of the reference register are connected to the clock input of the device.
SU853905335A 1985-05-30 1985-05-30 Device for comparing numbers SU1280608A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU853905335A SU1280608A1 (en) 1985-05-30 1985-05-30 Device for comparing numbers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU853905335A SU1280608A1 (en) 1985-05-30 1985-05-30 Device for comparing numbers

Publications (1)

Publication Number Publication Date
SU1280608A1 true SU1280608A1 (en) 1986-12-30

Family

ID=21180737

Family Applications (1)

Application Number Title Priority Date Filing Date
SU853905335A SU1280608A1 (en) 1985-05-30 1985-05-30 Device for comparing numbers

Country Status (1)

Country Link
SU (1) SU1280608A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 466508, кл. G 06 F 7/04, 1975. Авторское свидетельство СССР № 620976, кл. G 06 F 7/02, 1977. *

Similar Documents

Publication Publication Date Title
JPH01302449A (en) Dual port memory circuit
US4365318A (en) Two speed recirculating memory system using partially good components
US5031128A (en) Logic analyzer with double triggering action
SU1280608A1 (en) Device for comparing numbers
SU1511843A1 (en) Device for detecting failures in stepping electric drive
SU1280449A2 (en) Programmer for writing information in semiconductor memory elements
SU1180904A1 (en) Device for checking logical units
AU643512B2 (en) A sequencer for generating binary output signals
SU1246101A1 (en) Device for synchronizing the recording of information
SU1176327A1 (en) Microprogram control device
SU1129723A1 (en) Device for forming pulse sequences
SU1451775A1 (en) Buffer storage
SU1019600A1 (en) Device for forming pulse sequences
SU1157540A1 (en) Device for comparing numbers
SU1089576A1 (en) Device for classifying n-bit binary combinations
SU1661768A1 (en) Digital unit testing device
SU1439602A1 (en) Device for monitoring discrete-action devices
SU930274A1 (en) Device for programme-control of actuators
SU1649531A1 (en) Number searcher
SU1305687A1 (en) Device for checking logic units
SU1208536A1 (en) Programmable controller
SU604160A1 (en) Arrangement for automatic equalizing of discrete messages through parallel channels
SU1663738A1 (en) Device for detecting failures in stepping electrical drive
SU1198461A1 (en) Programmed control device
SU1259267A1 (en) Logic analyzer