SU641445A1 - Number comparing device - Google Patents

Number comparing device

Info

Publication number
SU641445A1
SU641445A1 SU772459659A SU2459659A SU641445A1 SU 641445 A1 SU641445 A1 SU 641445A1 SU 772459659 A SU772459659 A SU 772459659A SU 2459659 A SU2459659 A SU 2459659A SU 641445 A1 SU641445 A1 SU 641445A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
register
trigger
high level
elements
Prior art date
Application number
SU772459659A
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 SU772459659A priority Critical patent/SU641445A1/en
Application granted granted Critical
Publication of SU641445A1 publication Critical patent/SU641445A1/en

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Description

Изобретение относитс  к области автоматики и вычислительной техники и может быть использовано дл  сравнени  чисел, представленных в двоичном коде с заранее заданными порогами. Известно устройство дл  сравнени  чисел , содержащее счетчик, источник синхроимпульсов , преобразователь, коммутирующую матрицу и элементы И, ИЛИ {}. Однако это устройство не позвол ет сравнивать числа, представленные в унитарном коде с двум  порогами (заранее известными значени ми кода). Наиболее близким по технической сущности к изобретению  вл етс  устройство, содержащее п-разр дные регистры, группу элементов И, элементы И, ИЛИ и триггеры (2. Входы первого регистра соединены с информационными входами устройства, а выходы каждого i-ro разр да первого регистра подключены к первому входу i-ro элемента И группы (где i l,2,..jn). Входы второго регистра соединены со входами пороговых значений, а выходы каждого 1-го разр да второго регистра подключены ко вторым входам i-x элементов И группы. Недостатком этого устройства  вл етс  его сложность. Целью изобретени   вл етс  упрощение устройства. Эта цель достигаетс  тем, что в предложенном устройстве выходы элементов И группы соединены со входами элемента ИЛИ,. ;выход которого подключбн к первому входу первого элемента Инк счетному входу первого триггера, инверсный выход которого соединен с первым входом второго элемента И, со вторым входом первого элемента И и с блокирующим входом первого триггера. Выход первого элемента И подключен к первому входу йторого триггера. Входы установки в нулевое состо ние триггеров соединены с шиной управлени . Пр мой выход второго триггера подключен ко второму входу второго элемента И. Функциональна  схема устройства приведена на чертеже. Устройство содержит п-разр дные регистры 1,2, группу элементов И 3, элемент ИЛИ 4, элемент И 5, триггеры 6, 7, элемент И 8, входные 9, 10 и выходные 1-13 шины.The invention relates to the field of automation and computer technology and can be used to compare numbers represented in binary code with predetermined thresholds. A device for comparing numbers is known, comprising a counter, a source of clock pulses, a converter, a switching matrix, and AND, OR {} elements. However, this device does not allow comparison of the numbers represented in the unitary code with two thresholds (known in advance of the code values). The closest in technical essence to the invention is a device containing n-bit registers, a group of elements AND, elements AND, OR and triggers (2. The inputs of the first register are connected to the information inputs of the device, and the outputs of each i-ro bit of the first register connected to the first input of the i-ro element of AND group (where il, 2, .. jn). The inputs of the second register are connected to the inputs of threshold values, and the outputs of every 1st bit of the second register are connected to the second inputs of ix elements of AND group. this device is his False. The aim of the invention is to simplify the device. In the proposed device, the outputs of the elements AND groups are connected to the inputs of the OR element, the output of which is connected to the first input of the first element of Inc. to the counting input of the first trigger The input of the second element is And, with the second input of the first element And, and with the blocking input of the first trigger. The output of the first element And is connected to the first input of the second trigger. The installation inputs to the zero state of the flip-flops are connected to the control bus. The direct output of the second trigger is connected to the second input of the second element I. The functional diagram of the device is shown in the drawing. The device contains p-bit registers 1,2, a group of elements And 3, an element OR 4, an element And 5, triggers 6, 7, an element And 8, input 9, 10 and output 1-13 tires.

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

До начала работы в регистры 2 занос тс  значени  порогов Л ив (Л В), чему соответствуют определенные положени  двух «единиц в i и j X разр дах (i j), а тактовый импульс по шине 9 переводит триггеры 6 и 7 в состо ние «О. Сравниваемое число поступает по шине 10 на вход регистра 1, и осуществл ете сдвиг единицы с нулевого разр да направо на.определенное положение. Если X А, т.; е. единица в регистре 1 находитс  в меньшем разр де, чем единица, соответствующа  значению порога А в регистре 3, то все элементы И группы 3 закрыты и состо ни  триггеров 6 и 7 не измен ютс . Таким образом, на выходной шине 11 формируетс  высокий уровень . При X А, т. е. «единица в регистре 1 и «единица, соответствующа  порогу А в регистре 2, наход тс  в одинаковых разр да, на выходе i-ro элемента И группы 3 по вл етс  высокий уровень, который через. элемент ИЛИ 5 поступает на счетный вход триггера 6 и на первый вход элемента И 5 в течение времени, пока на счетный вход триггера подаетс  высокий уровень, его состо ние не измен етс , так как триггер по счетному входу срабатывает от заднего фронта импульса. Таким образом, на шине 11 снова присутствует высокий уро вень.Prior to work in registers 2, the threshold values of L iV (L B) are recorded, to which certain positions of two "units in i and j correspond to the bits (ij) correspond, and the clock pulse on bus 9 sets triggers 6 and 7 to" ABOUT. The number to be compared is fed via bus 10 to register 1, and shifting the unit from zero to the right to a certain position. If X A, t .; If the unit in register 1 is smaller than the unit corresponding to the threshold value A in register 3, then all elements of group 3 are closed and the states of triggers 6 and 7 do not change. Thus, a high level is formed on the output bus 11. At X A, i.e., "the unit in register 1 and" the unit corresponding to threshold A in register 2, are at the same bit, the output of the i-th element AND of group 3 appears high, which is through. the element OR 5 is fed to the counting input of trigger 6 and to the first input of the element AND 5 for a time until a high level is applied to the counting input of the trigger, its state does not change, since the trigger on the counting input is triggered from the trailing edge of the pulse. Thus, high level is again present on bus 11.

. При Л X и «единицы в регистре 1 оказываютс  между «единицами, наход щи Aиc  в регистре 2. В одном цикле измерени  «единица в регистре I перемещаетс  с нулевого разр да направо последовательно , т. е. прежде чем произойдет второй случай надо считать, что первый случай уже имел место. Таким образом, на всех выходах вентилей элементов И группы 3 формируетс  низкий уровень. В процессе сн ти  высокого уровн  со счетного входа триггера 6 задний фронт импульса переводит его в противоположное состо ние, а .состо ние триггера 7 не измен етс .. At L X and "units in register 1, there are between" units that are Aic in register 2. In one measurement cycle, "unit in register I moves from zero to right to sequential, i.e., before the second case occurs, that the first case has already taken place. Thus, at all outputs of the gates of the elements And of group 3 a low level is formed. In the process of removing a high level from the counting input of trigger 6, the falling edge of the pulse transfers it to the opposite state, and the state of trigger 7 does not change.

На первый и второй вход элемента И 8 подаетс  высокий уровень. В результате он открываетс , и на шине 12 формируетс  высокий уровень, а на шине 11 - низкий уровень.A high level is applied to the first and second input of the And 8 element. As a result, it opens, and a high level is formed on the tire 12, and a low level on the tire 11.

При X В на выходе -го элемента И группы 3 по вл етс  высокий уровень, через элемент ИЛИ 4 он подаетс  на второй вход элемента И 5, на первый вход которого ужеWhen X B, the output of the AND element of group 3 appears high, through the OR 4 element it is fed to the second input of the AND element 5, to the first input of which

поступает высокий уровень с триггера. 6. На выходе элемента И 5 по вл етс  высокий уровень, который, поступа  на единичный вход триггера 7, переводит его в состо ние «I. При этом па шине 13 присутствует высокий уровень.enters a high level with a trigger. 6. At the output of the element And 5 appears a high level, which, entering the single input of the trigger 7, translates it into the state "I. At the same time, bus 13 has a high level.

При X В «единица в регистре I находитс  правее «единицы, соответствующей В в регистре 2, и на всех выходах элементов И группы 3 - низкий уровень.With X B, the unit in register I is to the right of the unit corresponding to B in register 2, and at all outputs of elements AND of group 3 it is a low level.

Состо ние триггеров не измен етс , и на шине 13 остаетс  высокий уровень.The state of the triggers does not change, and the bus 13 remains at a high level.

Таким образом, описанное устройство дает возможность сравнивать код, поступающий в виде унитарного кода, с двум  порогами и выдает сигнал трех видов при выполнении условий , В.Thus, the described device makes it possible to compare a code arriving in the form of a unitary code with two thresholds and generates a signal of three types when conditions are met, B.

Claims (2)

1.Авторское свидетельство СССР1. USSR author's certificate № 460547, М. Кл.2 G 06 F 7/04, 02.01.73.No. 460547, M. Kl.2 G 06 F 7/04, 02.01.73. 2.Авторское свидетельство СССР2. USSR author's certificate № 458823, М. Кл.2 О 06 F 7/04, 16.05.72.No. 458823, M. Kl.2 O 06 F 7/04, 16.05.72. оПOP
SU772459659A 1977-03-05 1977-03-05 Number comparing device SU641445A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU772459659A SU641445A1 (en) 1977-03-05 1977-03-05 Number comparing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU772459659A SU641445A1 (en) 1977-03-05 1977-03-05 Number comparing device

Publications (1)

Publication Number Publication Date
SU641445A1 true SU641445A1 (en) 1979-01-05

Family

ID=20698292

Family Applications (1)

Application Number Title Priority Date Filing Date
SU772459659A SU641445A1 (en) 1977-03-05 1977-03-05 Number comparing device

Country Status (1)

Country Link
SU (1) SU641445A1 (en)

Similar Documents

Publication Publication Date Title
SU641445A1 (en) Number comparing device
SU666645A1 (en) Error-checking binary counter
SU1201855A1 (en) Device for comparing binary numbers
SU911510A1 (en) Device for determining maximum number
SU840887A1 (en) Extremum number determining device
SU871166A1 (en) Device for checking parallel binary code for parity
SU1444760A1 (en) Device for squaring a sequential series of numbers
SU543936A1 (en) Device for comparing binary numbers with tolerances
SU987616A1 (en) Device for serial discriminating unities from n-digit binary code
SU651339A1 (en) Maximum number determining arrangement
SU928342A1 (en) Device for sorting numbers
SU966690A1 (en) Device for discriminating extremum from nm-digital binary codes
SU1275762A1 (en) Pulse repetition frequency divider
SU419813A1 (en) DEVICE FOR MEASUREMENT AND REGISTRATION OF AN ALTERNATIVE VARIABLE PULSE PROCESS OF COMPLEX FORM
SU650071A1 (en) Device for group cimpensatiob of binary numbers
SU1649533A1 (en) Numbers sorting device
SU593211A1 (en) Digital computer
SU746530A2 (en) Device for checking parallel binary code for evennes
SU746502A1 (en) Device for comparing mn-digit binary numbers
SU980089A1 (en) Number comparing device
SU1030797A1 (en) Device for sorting mn-digit numbers
SU1126956A1 (en) Firmware device for processing interruptions
SU1160280A1 (en) Device for measuring concentration of petroleum products in water
SU997038A1 (en) Device for parity check of parallel code
SU1096638A1 (en) Device for determining maximum sequence from nm-bit binary numbers