[go: up one dir, main page]

SU1642463A1 - Extreme numbers detector - Google Patents

Extreme numbers detector Download PDF

Info

Publication number
SU1642463A1
SU1642463A1 SU894651344A SU4651344A SU1642463A1 SU 1642463 A1 SU1642463 A1 SU 1642463A1 SU 894651344 A SU894651344 A SU 894651344A SU 4651344 A SU4651344 A SU 4651344A SU 1642463 A1 SU1642463 A1 SU 1642463A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
inputs
output
trigger
multiplexer
Prior art date
Application number
SU894651344A
Other languages
Russian (ru)
Inventor
Александр Евгеньевич Горбель
Николай Федорович Сидоренко
Борис Владимирович Остроумов
Василий Иванович Петренко
Original Assignee
Предприятие П/Я М-5156
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 Предприятие П/Я М-5156 filed Critical Предприятие П/Я М-5156
Priority to SU894651344A priority Critical patent/SU1642463A1/en
Application granted granted Critical
Publication of SU1642463A1 publication Critical patent/SU1642463A1/en

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано в информационных вычислительных системах. Цель изобретени  - расширение функциональных возможностей устройства за счет определени  экстремальных чисел с учетом их абсолютной величины и знака Устройство содержит блок 1 сравнени , регистры 2 и 3, коммутатор 4, мультиплексор 5, блок 6 записи, триггер 7 и элементы ИСКЛЮЧАЮЩЕЕ ИЛИ 8, И 9, НЕ 10. Устройство определ ет одновременно максимальное и минимальное числа из последовательно поступающих на вход устройства чисел с учетом их знака. Кроме того, устройство обеспечивает возможность определени  экстремальных чисел по модулю. 1 з„п„ ф-лы, 3 ил. с SBThe invention relates to computing and can be used in information computer systems. The purpose of the invention is to expand the functionality of the device by determining the extreme numbers, taking into account their absolute size and sign. The device contains comparison unit 1, registers 2 and 3, switch 4, multiplexer 5, recording unit 6, trigger 7 and elements EXCLUSIVE OR 8, and 9 , NOT 10. The device simultaneously determines the maximum and minimum numbers of the consecutively entering numbers at the device input, taking into account their sign. In addition, the device provides the ability to determine extreme numbers by absolute value. 1 з „п„ ф-л, 3 Il. with SB

Description

05 4 ГчЭ05 4 GcHE

4 ОЭ СО4 OE CO

J1J1

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

Цель изобретени  - расширение фунциональных возможностей устройства путем обеспечени  возможности определени  экстремальных чисел с учетом их абсолютных величин и знака.The purpose of the invention is to expand the functional capabilities of the device by making it possible to determine extreme numbers with regard to their absolute values and sign.

На фиг о 1 представлена функциональна  схема устройства, дл  определени  экстремальных чисел; на фиг.2 временна  диаграмма формировани  сигналов записи экстремальных чисел в первый и второй регистры; на фиг.З - функциональна  схема блока записи.Fig. 1 shows a functional diagram of the device for determining extreme numbers; 2, a timing diagram of the formation of the signals for writing extreme numbers into the first and second registers; on fig.Z - functional diagram of the recording unit.

Устройство дл  определени  экстремальных чисел содержит блок 1 сравнени , первый 2 и второй 3 регистры, коммутатор 4, мультиплексор 5, блокThe device for determining extremal numbers contains a block 1 of comparison, the first 2 and second 3 registers, switch 4, multiplexer 5, block

6 записи, Т-триггер 7, элементы ИС- КЛЮЧАЮШЕЕ ИЛИ 8, И 9 и НЕ 10, информационные входы 11.1-11.ti устройства , тактовый вход 12 устройства и выходы максимального 13.1-13.п и минимального 14.1-140п чисел.6 records, T-flip-flop 7, elements of the IS-KEY or 8, AND 9 and NOT 10, information inputs 11.1-11.ti devices, clock input 12 devices and outputs of the maximum 13.1-13.p and minimum 14.1-140p numbers.

Блок 6 записи содержит Т-триггер 15, первый 16, второй М и третий 18 элементы И, первый 19 и второй 20 элементы ИЛИ, элемент НЕ 21, информационный , вход 22, рход 23 запрета, адресный вход 24 и первый 25 и второй 26 выходы.Record block 6 contains T-flip-flop 15, first 16, second M and third 18 elements AND, first 19 and second 20 elements OR, element 21, information, input 22, prohibition 23, address input 24 and first 25 and second 26 exits.

Устройство дл  определени  экстремальных чисел работает следующим образом.A device for determining extreme numbers works as follows.

Перед началом работы на установочный вход триггера 15 блока 6 записи поступает импульс, по которому триггер 15-устанавливаетс  в исходное состо ние (цепь установки не показана ) о Состо ние регистров 2 и 3 и триггера 7 на момент начала работы устройства безразлично Дл  определенности будем считать, что триггер и регистры 3 и 2 наход тс  в исходном состо нии.Before starting to work, the setup input of trigger 15 of recording unit 6 receives a pulse, according to which trigger 15 is reset (setting circuit not shown) о State of registers 2 and 3 and trigger 7 at the moment the device starts working is indifferent. For definiteness, we assume that the trigger and registers 3 and 2 are in the initial state.

В начальный момент времени первый тактовый импульс на входе 12 устройства , совпадающий с поступлением первого числа на информационные входы устройства 11.1-11„п, поступает на информационный вход 22 блока 6 записио Так как триггер 15 находитс  в исходном состо нии, нулевым сигналом с его пр мого выхода закрыты эле менты И 16 и 18, вследствие чего блок не реагирует на управл ющиеAt the initial moment of time, the first clock pulse at the input 12 of the device, which coincides with the arrival of the first number at the information inputs of the device 11.1-11, p, arrives at the information input 22 of the recording unit 6. Since the trigger 15 is in the initial state, the zero signal with its output elements 16 and 18 are closed at the output of the output, as a result of which the unit does not respond to the control

5five

00

5five

сигналы по входу 23 запрета и адресному входу 24„signals on input 23 of the ban and the address input 24 "

Единичный сигнал с инверсного выхода триггера 15 разрешает прохождение сигнала с информационного входа 22 блока записи через элемент И 17 и элементы ИЛИ 19 и 20 на оба выхода блока записи, Этот же сигнал с выхода элемента И 17 поступает на Свход триггера 15, который по заднему Лронту этого импульса устанавливаетс  в единицу, блокиру  прохождение последующих импульсов с информационного входа 22 блока через элемент И 17 и элементы ИЛИ 19 и 20 на первый 25 и второй 26 выходы блока и разреша  прохождение последующих импульсов с входа 22 через элемент И 16 или 18 под управлением сигналов на входах 23 и 24 на один из выходов 25 блока записиA single signal from the inverse output of the trigger 15 permits the passage of the signal from the information input 22 of the recording unit through the element 17 and the elements OR 19 and 20 to both outputs of the recording unit. The same signal from the output of the element 17 also goes to the output of the trigger 15 of this pulse is set to one, blocking the passage of subsequent pulses from information input 22 of the block through the element AND 17 and elements OR 19 and 20 to the first 25 and second 26 outputs of the block and allowing the passage of subsequent pulses from input 22 through the element 16 Do 18 under control of signals at the inputs 23 and 24 on one of the recording unit 25 outputs

Таким образом, первый тактовый импульс на входе 12 устройства вызывает по вление импульсов на обоих выходах блока записи, которые поступают на С-входы регистров 2 и 3 соответственно и записывают в них одновременно первое число из числовой последовательности, поступающее на входы 11.1-11.11 устройства. Первый тактовый импульс с входа 12 устройства поступает, кроме блока 6 записи , на второй вход элемента И 9. Прохождение этого импульса через элемент И 9 на С-вход триггера 7 определ етс  сигналом с выхода мультиплексора 5,поступающим через элемент НЕ 10 на первый вход элемента И 9.При наличии , нулевого сигнала на выходе мультиплексора 5 триггер по переднему фронту сигнала, поступающего на его С-вход, измен ет свое состо ние на противоположное, а если сигнал на выходе мультиплексора 5 5 - единичный, то сигнал с элемента НЕ 10 блокирует элемент И 9 и триггерThus, the first clock pulse at the input 12 of the device causes the appearance of pulses at both outputs of the recording unit, which are fed to the C inputs of registers 2 and 3, respectively, and they simultaneously record the first number from the numeric sequence received at the inputs 11.1-11.11 of the device. The first clock pulse from the input 12 of the device enters, besides the recording block 6, the second input of the And 9 element. The passage of this pulse through the And 9 element to the C input of the trigger 7 is determined by a signal from the output of multiplexer 5 received through the HE 10 element to the first input element 9. If there is a zero signal at the output of multiplexer 5, the trigger on the leading edge of the signal arriving at its C input changes its state to the opposite, and if the signal at the output of multiplexer 5 5 is single, then the signal from the element is NOT 10 blocks element 9 and rigger

7не мен ет своего состо ни . Значение сигнала на выходе мультиплексора 5 зависит от абсолютной величины и знака первого числа.7 does not change its state. The value of the signal at the output of multiplexer 5 depends on the absolute value and the sign of the first number.

Допустим, что число, поступившее в пелвом такте работы, - положительное.Let us assume that the number received in the work cycle is positive.

8этом случае, так как регистры 2 и 3 наход тс  в исходном состо нии, триггер 7 не измен ет своего состо ни In this case, since registers 2 and 3 are in the initial state, trigger 7 does not change its state

по первому тактовому импульсу. Триггер 7 находитс  в исходном состо нии, и нулевым сигналом с его выхода открыт первый канал коммутатора 4. С выхо0on the first clock pulse. The trigger 7 is in the initial state, and the first channel of the switch 4 is opened with a zero signal from its output. From output 0

5five

00

00

5five

дов коммутатора 4 модуль числа,Dov Switch 4 module number,

ход щегос  в регистре 2, поступает на вторую группу входов блока 1 сравнени . Этот же сигнал с выхода триггера 7 поступает на адресный вход блока 6 записи, подготавлива  к открытию его первый канал, и на адресный вход A3 мультиплексора 50the move in register 2 is fed to the second group of inputs of unit 1 of the comparison. The same signal from the output of the trigger 7 is fed to the address input of the recording unit 6, preparing its first channel for opening, and to the address input A3 of the multiplexer 50

Дальнейша  работа устройства зависит от знака и модул  числа, поступа щего на информационные входы 11.1- 11„п устройства Открывание соответствующего канала мультиплексора 5 и по вление на его выходе единичного или нулевого сигнала завис т отFurther operation of the device depends on the sign and modulus of the number arriving at the information inputs 11.1-11 of the device. Opening the corresponding channel of the multiplexer 5 and the appearance of a single or zero signal at its output depends on

знака числа на информационном входе 11 „ 1 устройства, поступающего на его второй адресный вход;the sign of the number on the information input 11 „1 of the device arriving at its second address input;

результата сравнени  знака числа на входе 11.1 устройства со знаком числа, наход щегос  в регистре 2 или 3, на элементе ИСКЛЮЧАЮЩЕЕ ИЛИ 8 (первые разр ды регистров 2 и 3  вл ютс  знаковыми, причем положительному числу соответствует ноль в знакр- вом разр де, отрицательному - единица ) , поступающего на адресный вход А 1 мультиплексора 5;the result of comparing the sign of the number at the input 11.1 of the device with the sign of the number in register 2 or 3 on the element EXCLUSIVE OR 8 (the first bits of registers 2 and 3 are significant, and a positive number corresponds to zero in the sign digit, negative - unit) arriving at the address input A 1 of multiplexer 5;

состо ни  триггера 7, определ ющего сигнал на адресном входе A3 мультиплексора 5, т„е. определ ющего какое число (максимальное или минимальное ) предстоит записать;the state of trigger 7 defining the signal at address input A3 of multiplexer 5, i.e. which determines which number (maximum or minimum) to write;

результата сравнени  модул  числа на информационных входах 11.2-ll.n устройства, поступающего на первую группу входов блока 1 сравнени , с модулем числа, поступающего на вторую группу входов этого блока с выхода коммутатора 40the result of comparing the number module at the information inputs 11.2-ll.n of the device arriving at the first group of inputs of the comparison unit 1 with the module of the number arriving at the second group of inputs of this block from the output of the switch 40

Значени  сигналов на выходе мультиплексора 5 в зависимости от перечисленных условий приведены L таблицеThe values of the signals at the output of multiplexer 5, depending on the listed conditions, are given in the L table.

Как видно из таблицы, единичный сигнал на выходе мультиплексора 5 при определении наибольшего числа (триггер 7 находитс  в состо нии нул ) по вл етс  в следующих случа х:As can be seen from the table, a single signal at the output of multiplexer 5, when determining the largest number (trigger 7 is in the zero state), appears in the following cases:

число на входе устройства больше числа в регистре 2 по модулю и оба числа положительные;the number at the input of the device is greater than the number in register 2 modulo and both numbers are positive;

число на входе устройства положительное , а число в регистре 2 отрицательное;the number at the input of the device is positive, and the number in register 2 is negative;

число на входе устройства меньше числа в регистре 2 по модулю и оба числа отрицательные.the number at the input of the device is less than the number in register 2 modulo and both numbers are negative.

42463 42463

10ten

1515

2020

2525

При определении наименьшего числа (триггер 7 находитс  в состо нии единицы ) единичный сигнал по вл етс  на выходе мультиплексора 5, еслиIn determining the smallest number (trigger 7 is in the state of one), a single signal appears at the output of multiplexer 5, if

число на входе устройства меньше числа в регистре 3 по модулю и оба числа положительные;the number at the input of the device is less than the number in register 3 modulo and both numbers are positive;

число на входе устройства отрицательное , а число в регистре 3 положительное;the number at the device input is negative, and the number in register 3 is positive;

число на входе устройства больше числа в регистре 3 по модулю и оба числа отрицательныеthe number at the input of the device is greater than the number in register 3 by the module and both numbers are negative

Следовательно, схема анализа чисел , включающа  блок 1 сравнени , элемент ИСКЛЮЧАЮЩЕЕ ИЛИ 8 и мультиплексор 5, обеспечивает вы вление наибольшего и наименьшего из чисел, поступивших на вход устройствами наход щихс  в регистрах 2 и 3 соответственно , при любых знаках анализируемых чисел.Consequently, the number analysis scheme, which includes the comparison unit 1, the EXCLUSIVE OR 8 element and multiplexer 5, provides the detection of the largest and smallest of the numbers entered at the input by the devices in registers 2 and 3, respectively, for any signs of the analyzed numbers.

Наличию экстремального числа соответствует по вление единичного сигнала на выходе мультиплексора 50The presence of an extremal number corresponds to the appearance of a single signal at the output of the multiplexer 50

Пусть число, поступившее на ин- формационные входы 11.1-11.П устройное . Тогда за врем  от момента подачи на входы 11.1-11.П числа до переднего фронта второго тактового импульса на тактовом входе 12 устройства на выходе мультиплексора 5 в соответствии с п. 8 таблицы устанав- 5 ливаетс  нулевой сигнал, который поступает на вход запрета блока 6 записи и блокирует его работу, а также через элемент НЕ 10 разблокирует элемент И 9. Второй тактовый импульс поступает на второй вход элемента И 9, а с выхода этого элемента- на тактовый вход триггера 7. По переднему фронту этого импульса триггер 7 переключаетс  в единичное состо ние Единичным сигналом с выхода триггера 7 у коммутатора 4 открываетс  второй канал и на вторую группу входов блока сравнени  поступает модуль первого числа из регистра 3, блок 6 записи подготавливаетс  к открытию второго канала и на адресном входе A3 мультиплексора 5 также устанавливаетс  единица. Так как число на входе устройства отрицательное , а число, наход щеес  в регистре 3, положительное, то в соответствии сп„ 16 таблицы на выходе мультиплексора 5 с некоторой задерж0Let the number received at the information inputs 11.1-11. Then during the time from the moment of supplying the inputs 11.1-11. The number to the leading edge of the second clock pulse at the clock input 12 of the device at the output of the multiplexer 5, in accordance with item 8 of the table, the zero signal is set, which is fed to the inhibit input of block 6 records and blocks its operation, as well as through the element NOT 10 unlocks the element AND 9. The second clock pulse goes to the second input of the element 9, and from the output of this element to the clock input of the trigger 7. On the leading edge of this pulse, the trigger 7 switches to a single condition A single signal from the output of the trigger 7 at the switch 4 opens the second channel and the first number module of the comparison unit receives the first number module from register 3, the recording unit 6 is prepared for opening the second channel and a one is also installed at the address input A3 of the multiplexer 5. Since the number at the input of the device is negative, and the number in register 3 is positive, then according to cn 16 of the table at the output of multiplexer 5 with some delay 0

00

5five

00

5five

кон на врем  срабатывани  элементов устанавливаетс  единичный сигнал до окончани  второго тактового импульса на входе 12 устройства.A single signal is set at the response time of the elements until the end of the second clock pulse at the input 12 of the device.

Единичный сигнал с выхода мультиплексора 5 через элемент НЕ 10 блокирует элемент И 9 и прекращает поступление импульса на тактовый вход триггера 7t Этот же сигнал, поступа  на вход запрета блока 6 записи,разрешает прохождение тактового импульса с входа 12 устройства через информационный вход блока 6 записи на его выход второго канала и на тактовый вход регистра 3. По заднему фронту импульса на тактовом входе регистра 3 второе число переписываетс  в него и поступает через открытый второй канал коммутатора 4 на вторую группу входов блока 1 сравнени  Так как знаки и модули чисел, наход щихс  на входе 11.1-11.ri устройства и в регистре 3, станов тс  равными, на выходе мультиплексора 5 в соответствии сп. 13 таблицы устанавливаетс  нулевой сигналA single signal from the output of multiplexer 5 through the element NOT 10 blocks the element AND 9 and stops the pulse to the clock input of the trigger 7t This same signal, entering the inhibit input of the recording unit 6, allows the clock pulse from the input 12 of the device to pass through the information input of the recording unit 6 to its output of the second channel and the clock input of the register 3. On the falling edge of the pulse at the clock input of the register 3, the second number is rewritten into it and fed through the open second channel of the switch 4 to the second group of inputs of the unit 1 cf Avneni Since the signs and modules of the numbers at the input 11.1-11.ri of the device and in register 3 become equal, at the output of multiplexer 5 in accordance with sp. Table 13 sets the zero signal

Пусть в третьем такте работы на входы 11.1-11.и поступает положительное число, большее, чем число, поступившее в первом такте работы. Так как во втором такте работы триггер 7 осталс  в единичном состо нии, то на второй вход элемента ИСКЛЮЧАЮЩЕЕ ИЛИ 8 поступает единица из пер- |Вого разр да регистра 3, а на первый - ноль с входа 11.1, т„е. число на входе заведомо больше числа в регистре 3, и в соответствии с п.13 таблицы на выходе мультиплексора 5, аналогично описанному, до прихода третьего тактового импульса устанавливаетс  нулевой сигнал и разрешает прохождение третьего тактового импульса на тактовый вход триггера 7 через элемент И 9. По переднему фронту этого импульса триггер 7 устанавливаетс  в нулевое состо ние и вследствие этого на вторую группу входов блока 1 сравнени  поступает модуль числа из регистра 2, а на второй вхо элемента ИС ПЮЧДЮЩЕЕ ИЛИ - ноль - знак этого числа. Так как число на рходе устройства положительное, то на выходе элемента ИСКЛЮЧАЮ1ЦЕЕ ИЛИ по вл етс  нулевой сигнал, а на выходе мультиплексора 5 в соответствии с п, 3 таблицы - единичный. Вследствие того, что модуль числаLet in the third cycle of operation at the inputs 11.1-11. And arrive a positive number, greater than the number received in the first cycle of operation. Since in the second cycle of operation the trigger 7 remained in the single state, then the second input of the EXCLUSIVE OR 8 element receives a unit from the first | Vogo bit of the register 3, and the first - zero from the input 11.1, t „e. the number at the input is certainly greater than the number in register 3, and in accordance with item 13 of the table, the output of multiplexer 5, as described above, sets the zero signal before the arrival of the third clock pulse and allows the passage of the third clock pulse to the clock input of the trigger 7 through the AND 9 element. On the leading edge of this pulse, the trigger 7 is set to the zero state and as a result, the second group of inputs of the comparison unit 1 receives the modulus of the number from the register 2, and the second input of the IC element is DRIVER OR zero — the sign of this number but. Since the number at the device's output is positive, a zero signal appears at the output of the EXCLUSIVE OR element, and the output of multiplexer 5 in accordance with n, 3 of the table is one. Due to the fact that the modulus of the number

5five

5five

,. ,

на втором входе блока 1 сравнени  больше , чем на первом, на выходе этого блока сравнени  формируетс  единичный сигнал, который через открытый первый канал мультиплексора 5 проходит на его выход и снимает блокировку с входа запрета блока 6 записи . Импульс с тактового входа 12 устройства проходит через открытый первый канал блока 6 записи и своим задним фронтом записывает в регистр 2 число, поступившее в третьем такте работы.at the second input of comparison unit 1 is larger than at the first, a single signal is generated at the output of this comparison unit, which passes through the open first channel of multiplexer 5 to its output and removes blocking from the inhibit input of recording unit 6. The pulse from the clock input 12 of the device passes through the open first channel of the recording unit 6 and, with its falling edge, writes to the register 2 the number received in the third cycle of operation.

Пусть в четвертом такте поступает на входы 11.1-11оП устройства положительное число, большее числа, поступившего в третьем такте0 Тогда, так как триггер 7 осталс  в нулевом Q состо нии в предыдущем такте работы, после по влени  числа на входах 11.1- 11.п в соответствии с п. 3 таблицы на выходе мультиплексора 5 устанавливаетс  единица и блокирует поступление тактового сигнала на вход триггера 7, который не измен ет своего состо ни  в данном такте работы Тактовый импульс поступает через открытый первый канал блока 6 записи на тактовый вход регистра 2, и по его заднему фронту в регистр 2 записываетс  новое число.In the fourth cycle, let the device receive a positive number greater than the number received in the third cycle at the inputs 11.1-11 of the device. Then, as the trigger 7 remained in zero state in the previous operation cycle, after the appearance of the number at the inputs 11.1-11. In accordance with clause 3 of the table, a unit is set at the output of multiplexer 5 and blocks the receipt of a clock signal at the trigger input 7, which does not change its state in a given clock cycle. The clock pulse goes through the open first channel of the recording unit 6 to the clock input register 2, and at its trailing edge in the register 2 is recorded the new number.

00

,. ,

5five

00

5five

5five

При совпадении состо ни  триггера 7, определ ющего режим выбора экстремального числа (нулевое состо ние - выбор максимального числа, единичное - выбор минимального числа), с поступлением на входы 11„1-11.п устройства соответствующего экстре- .мального числа(как описано на приме- ре работы устройства в четвертом такте) переключени  триггера 7 в (противоположное состо ние не происходит , так как, если поступившее число оказалось, например, максимальным , анализировать это число на предмет вы влени  минимального числа нет необходимости„If the state of the trigger 7, which determines the mode of selecting an extremal number (the zero state selects the maximum number, the single number selects the minimum number), coincides with the input of the 11 "1-11.p device, the corresponding extremum number (as described in the example of device operation in the fourth clock cycle) switching of the trigger 7 into (the opposite state does not occur, since if the received number turned out to be, for example, the maximum, it is not necessary to analyze this number in order to detect the minimum number ”

Временна  диаграмма сигналов на информационных входах 11.I-11,п и тактовом входе 12 устройства, а также на выходах мультиплексоров 5, блока 6 записи, триггера 7 и элементов И 9 и ИЛИ 10 при работе во втором, третьем и четвертом тактах приведена на фиг„ 2,The time diagram of the signals at the information inputs 11.I-11, p and the clock input 12 of the device, as well as at the outputs of multiplexers 5, recording block 6, trigger 7 and elements AND 9 and OR 10 when operating in the second, third and fourth cycles is shown in FIG 2,

Дальнейша  работа устройства аналогична описанной выше.Further operation of the device is similar to that described above.

Таким образом, устройство дл  определени  экстремальных чисел позвол ет определ ть одновременно максимальное и минимальное числа из после довательно поступающих на вход устройства чисел с учетом их знака.Thus, the device for determining extreme numbers allows determining at the same time the maximum and minimum numbers of successively incoming numbers at the device input, taking into account their sign.

Кроме того, устройство обеспечивает возможность определени  экстремальных чисел по модулю. Дл  этого необходимо на вход 11.1 знака устройства подать в течение цикла работы посто нный уровень нул , либо единицы . В первом случае в регистре 2 будет выдел тьс  максимальное, а в регистре 3 - минимальное по модулю число, во втором случае - наоборот.In addition, the device provides the ability to determine extreme numbers by absolute value. To do this, the input 11.1 of the device sign must be given during the work cycle a constant level zero, or one. In the first case, in register 2, the maximum will be allocated, and in register 3, the minimum absolute value, in the second case, vice versa.

Claims (1)

Формула изобретениInvention Formula 1 Устройство дл  определени  экстремальных чисел, содержащее два регистра, коммутатор, блок сравнени  и триггер, выход которого подключен к управл ющему входу коммутатора, информационные выходы которого подключены к входам первой группы блока сравнени ,, входы второй группы которого соединены с информационными входами первого и второго регистров, выходы разр дов которых соединены соответственно с информационными входами первой и второй групп коммутатора и  вл ютс  соответственно выходами максимального и минимального числа устройства, отличающеес  тем, что, с целью расширени  функциональных возможностей путем определени  экстремальных чисел с учетом их абсолютной величины и знака, в него введены мультиплексор , блок записи, элемент ИСКЛЮЧАЮЩЕЕ ИЛИ, элемент И, элемент НЕ, причем информационные входы первого регистра  вл ютс  входами числа устрой- ства, вход знака числа устройства подключен к входам знака первого и второго регистров, первому управл ющему входу мультиплексора и первому входу элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, вто- рой вход которого соединен со знаковым выходом коммутатора, а выход - с вторым управл ющим входом мультиплексора , третий управл ющий вход которого подключен к выходу триггера и адресному вхолу блока записи, вход запрета которого соединен с выходом мультиплексора и через элемент НЕ с первым входом элемента I, выход которого соединен со счетным входом триггера , а второй вход  вл етс  тактовым входом устройства и соединен с информационным входом блока записи, первый и второй выходы которого соединены соответственно с тактовыми входами первого и второго регистров, выход Больше блока сравнени  соединен с первым и вторым информационными входами мультиплексора, третий и четвертый информационные входы которого соединены с выходом Меньше блока сравнени , входы логического нул  и логической единицы устройства соединены соответственно с п тым, шестым, седьмым и восьь ым информационными входами мультиплексора.1 A device for determining extreme numbers containing two registers, a switch, a comparison unit and a trigger whose output is connected to the control input of the switch, whose information outputs are connected to the inputs of the first group of the comparison unit, the inputs of the second group of which are connected to the information inputs of the first and second the registers whose bit outputs are connected respectively to the information inputs of the first and second switch groups and are respectively the maximum and minimum number of outputs Features, in order to extend the functionality by defining extreme numbers with regard to their absolute size and sign, a multiplexer, a recording unit, an EXCLUSIVE OR element, an AND element, an NOT element, and the first register information inputs are inputs the device number, the sign input of the device number is connected to the sign inputs of the first and second registers, the first control input of the multiplexer and the first input of the EXCLUSIVE OR element, the second input of which is connected to the sign the output of the switch, and the output with the second control input of the multiplexer, the third control input of which is connected to the trigger output and the address gap of the recording unit whose inhibit input is connected to the output of the multiplexer and NOT to the first input of the I element whose output is connected to the counting trigger input, and the second input is the clock input of the device and is connected to the information input of the recording unit, the first and second outputs of which are connected respectively to the clock inputs of the first and second registers, output More the comparison unit is connected to the first and second information inputs of the multiplexer, the third and fourth information inputs of which are connected to the output Less than the comparison block, the inputs of the logical zero and the logical unit of the device are connected respectively to the fifth, sixth, seventh and eighth information inputs of the multiplexer. 2 о Устройство по По 1, отли.- чающеес  тем, что блок записи содержит триггер, с первого по третий элементы И, первый и второй элементы ИЛИ и элемент НЕ, причем первые входы первого, второго и третьего элементов И соединены между собой и подключены к информационному входу блока, второй вход первого элемента И соединен с вторым входом третьего элемента И и подключен к входу запрета блока, третий вход тре- тъего элемента II подключен к адрес-1 ному входу блока и через элемент НЕ соединен с третьим входом первого элемента И, пр мой выход триггера соединен с четвертыми входами первого и третьего элементов И, а инверсный выход триггера подключен к второму входу второго элемента И, выход которого соединен со счетным входом триггера и с первыми входами первого и второго элементов ИЛИ, выходы первого и третьего элементов И соединены соответственно с вторыми входами первого и второго элементов ИЛИ, выходы которых  вл ютс  соответственно первым и вторым выходами блока записи2 о The device according to 1, differing from the fact that the recording block contains a trigger, the first and third elements are AND, the first and second elements are OR, and the element is NOT, with the first inputs of the first, second and third elements AND are interconnected and connected to the information input of the block, the second input of the first element I is connected to the second input of the third element AND and connected to the input of the block inhibit, the third input of the third element II is connected to the address-1 input of the block and through the element is NOT connected to the third input of the first element AND , right, my trigger output with one with the fourth inputs of the first and third elements, and the inverse output of the trigger is connected to the second input of the second element, whose output is connected to the counting input of the trigger and with the first inputs of the first and second elements OR, the outputs of the first and third elements AND are connected respectively to the second inputs the first and second elements OR, whose outputs are respectively the first and second outputs of the recording unit
SU894651344A 1989-02-15 1989-02-15 Extreme numbers detector SU1642463A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU894651344A SU1642463A1 (en) 1989-02-15 1989-02-15 Extreme numbers detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU894651344A SU1642463A1 (en) 1989-02-15 1989-02-15 Extreme numbers detector

Publications (1)

Publication Number Publication Date
SU1642463A1 true SU1642463A1 (en) 1991-04-15

Family

ID=21429122

Family Applications (1)

Application Number Title Priority Date Filing Date
SU894651344A SU1642463A1 (en) 1989-02-15 1989-02-15 Extreme numbers detector

Country Status (1)

Country Link
SU (1) SU1642463A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР р 1300458,. кл. С 06 F 7/04, 1987. Авторское свидетельство СССР ,№ 1064277, кл„ G 06 F 7/04, 1983. *

Similar Documents

Publication Publication Date Title
SU1642463A1 (en) Extreme numbers detector
SU1575192A1 (en) Device for assigning space in external memory
SU1606972A1 (en) Device for sorting data
SU1354223A1 (en) Image recognition device
SU1667080A1 (en) Pulse sequence checking device
SU1223222A1 (en) Device for sorting numbers
SU641444A1 (en) Maximum difference determining device
SU1587511A1 (en) Logic analyser
SU1476472A1 (en) Unit for functional check of duplicated computers
SU1483448A1 (en) Extremum locator
SU494745A1 (en) Device for the synthesis of multi-cycle scheme
SU1118991A1 (en) Information input device
SU1059559A1 (en) Device for implementing input of information from discrete-type transduers
SU1310803A1 (en) Device for storing numbers
SU1553977A1 (en) Device for checking pulse sequences
SU1057957A1 (en) Device for determining statistical characteristics
SU1019637A1 (en) Counting device
SU1180896A1 (en) Signature analyser
SU1081803A1 (en) Counter
SU1057926A1 (en) Multichannel program-time unit
SU1753469A1 (en) Device for sorting of numbers
SU1394451A1 (en) Device for recording discrete signals
SU482712A1 (en) Device for measuring a series of time intervals
SU962920A1 (en) Device for determining extremum number
SU1144109A1 (en) Device for polling information channels