[go: up one dir, main page]

SU439812A1 - Device for interrupting programs - Google Patents

Device for interrupting programs

Info

Publication number
SU439812A1
SU439812A1 SU1799936A SU1799936A SU439812A1 SU 439812 A1 SU439812 A1 SU 439812A1 SU 1799936 A SU1799936 A SU 1799936A SU 1799936 A SU1799936 A SU 1799936A SU 439812 A1 SU439812 A1 SU 439812A1
Authority
SU
USSR - Soviet Union
Prior art keywords
inputs
group
circuit
output
interrupt
Prior art date
Application number
SU1799936A
Other languages
Russian (ru)
Inventor
Геннадий Васильевич Никулин
Владимир Львович Тиме
Юрий Петрович Павлов
Original Assignee
Предприятие П/Я Г-4783
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 Предприятие П/Я Г-4783 filed Critical Предприятие П/Я Г-4783
Priority to SU1799936A priority Critical patent/SU439812A1/en
Application granted granted Critical
Publication of SU439812A1 publication Critical patent/SU439812A1/en

Links

Landscapes

  • Bus Control (AREA)

Description

(54) УСТРОЙСТВО ДЛЯ ПРЕРЫВАНИЯ ПРОГРАММ(54) DEVICE FOR INTERRUPTION OF PROGRAMS

Изобретение относитс  к вычислительной технике и, в частности, к устройствам дл  прерывани  программ.The invention relates to computing and, in particular, to devices for interrupting programs.

Известно устройство дл  прерывани  программ , содержащее регистр прерывани , схему сбора сигналов прерываний, соединепнуго с выходом прерывани  устройства, шифратор, регистр зандиты, входы которого соединены с первой грунпой входов устройства, а выходы - с первой группой входов схемы вы влени  разрещенных прерываний.A device for interrupting programs is known comprising an interrupt register, a circuit for collecting interrupt signals connected to the interrupt output of the device, an encoder, a register of sandwiches whose inputs are connected to the first ground inputs of the device, and exits to the first group of inputs of the enabled interrupt detection circuit.

Известное устройство дл  нрерывани  программ имеет недостаток: при поступлении сигналов с большой длительностью и с дребезгом фронтов необходимо вводить в состав устройства специальные формирователи, что увеличивает затраты оборудовани  и снижает надежность устройства.The known device for interrupting programs has a drawback: when signals are received with a long duration and with front chatter, special drivers must be incorporated into the device, which increases equipment costs and reduces device reliability.

Цель изобретени  - повышение надежности устройства.The purpose of the invention is to increase the reliability of the device.

Поставленна  цель достигаетс  тем, что устройство содержит триггеры управлени , первую , вторую, третью и четвертую группы схем «И, первую, вторую и третью группы инверторов , инвертор управлени , первый и второй элементы задержки, причем втора  группа входов устройства соединена со входами соответствующей первой группы инверторов, треть  группа входов устройства соединена с первыми входами соответствующей второй группыThe goal is achieved by the fact that the device contains control triggers, the first, second, third and fourth groups of circuits "And, the first, second and third groups of inverters, the control inverter, the first and second delay elements, and the second group of inputs of the device is connected to the inputs of the corresponding first groups of inverters, the third group of inputs of the device is connected to the first inputs of the corresponding second group

инверторов, вторые входы которых соединены с выходом первого элемента задержки; выходы первой и второй групп инверторов соединены с единичными входами соответствующих триггеров управлени , втора  и треть  группы входов устройства соединены с первыми входами соответствующей первой группы схем «И, вторые входы которых соединены через инвертор управлени  с опросным входом устройства, соединенным со входом второго элемента за0 держки, выход которого соединен с ответным выходом устройства, со входом второго элемента задержки и с первыми входами второй группы схем «И, вторые входы которых соеди5 йены с соответствующими входами шифратора; выходы второй группы схем «И соединены с пулевыми входами соответствующих триггеров управлени  и триггеров регистра прерывани , единичные входы триггеров управлени  inverters, the second inputs of which are connected to the output of the first delay element; the outputs of the first and second groups of inverters are connected to the single inputs of the corresponding control triggers, the second and third groups of device inputs are connected to the first inputs of the corresponding first AND circuit, the second inputs of which are connected via a control inverter to the interrogative input of the device , the output of which is connected to the response output of the device, to the input of the second delay element and to the first inputs of the second group of circuits "And, the second inputs of which are connected to the yen with the corresponding they encoder inputs; the outputs of the second group of "AND" circuits are connected to the bullet inputs of the corresponding control triggers and interrupt register triggers, the single inputs of the control triggers

0 соединены с третьими входами соответствующей первой группы схем «И, выходы которых соединены с единичными входами соответстрЛЮщих триггеров регистра прерывани , единичные выходы которых соединены со входами схемы сбора сигналов прерывани  п со второй 0 is connected to the third inputs of the corresponding first group of AND circuits, the outputs of which are connected to the single inputs of the corresponding triggers of the interrupt register, the single outputs of which are connected to the inputs of the interrupt signal acquisition circuit n from the second

5 грунпой входов схемы вы влени  разрещенных прерываний, выходы которой, кроме первого и последнего, соединены с первыми входами соответствующей третьей группы схем «И 5 ground inputs of the circuit for detecting allowed interruptions, the outputs of which, except the first and last, are connected to the first inputs of the corresponding third group of schemes “AND

0 п через соответствующую третью группу инверторов - с первыми входами соответствующей четвертой группы схем выходы каждой из четвертой группы схем «И соединены со вторыми входами одной из третьей и одной из четвертой групп схем «И, св занных с последующим выходом схемы вы влени  разрешенных прерываний, первый выход которой соединен с соответствующим входом шифратора и через соответствующнй инвертор третьей группы инверторов - со вторыми входами одной из третьей и одной из четвертой групп схем «И, св занных с последующим выходом схемы вы влени  разрешенных прерываний, последний выход которой соединен с первым входом соответствующей схемы «И из третьей группы схем «И, второй вход которой соединен с выходом одной из четвертой группы схем «И, св занной с предыдущим выходом схемы вы влени  разрещенных прерываний; выходы третьей группы схем «И соединены со входами шифратора, выходы которого соединены с выходами устройства .0 p through the corresponding third group of inverters — with the first inputs of the corresponding fourth group of circuits — the outputs of each of the fourth group of circuits “And” are connected to the second inputs of one of the third and one of the fourth groups of “And circuits connected with the subsequent output of the detection circuit for allowed interrupts, the first output of which is connected to the corresponding input of the encoder and through the corresponding inverter of the third group of inverters to the second inputs of one of the third and one of the fourth groups of AND circuits connected with the subsequent output of c We allowed the detection of interrupts, the latter output is connected to a first input circuit corresponding "And from the third group schemes" And, the second input coupled to an output of one of the fourth group of circuits "and associated with the previous output of the circuit for detecting interrupt resolutions Display resolution; the outputs of the third group of circuits "And connected to the inputs of the encoder, the outputs of which are connected to the outputs of the device.

Блок-схема предлагаемого устройства дл  прерывани  программ приведена иа чертелсе.The block diagram of the proposed device for interrupting programs is shown in the drawing.

Устройство содержит регистр прерывани  /, триггеры прерывани  2i-Зп , первую группу схем «И 3i--t3,i , схему 4 вы влени  разрещенных прерываний, вторую группу схем «И , третью группу схем «И , четвертую группу схем «И 7j -7i , первую , вторую 1-Sj и третью группу инверторов 9j-9„, шифратор 10, схему /./ сбора сигналов прерывани , регистр защиты 12, инвертор опроса 75, первый элемент задержки 14, второй элемент задержки :75, триггеры управлени  The device contains the interrupt register /, triggers interrupt 2i-3p, the first group of circuits "And 3i - t3, i, circuit 4 for detecting allowed interrupts, the second group of circuits" And, the third group of circuits "And, the fourth group of circuits" And 7j - 7i, first, second 1-Sj and third group of inverters 9j-9 ', encoder 10, circuit /./ collection of interrupt signals, protection register 12, polling inverter 75, first delay element 14, second delay element: 75, control triggers

На чертеже обозначены следующие шины: перва  группа входных шин ./7, втора  группа входных шин,/5г -18 п , треть  группа входных щин , выходна  шина прерывани  ., шина ответов 20, опросна  шина 2/, выходные шины 22 устройства, выходные шины ,25)-23п схемы вы влени  разрешенных прерываний.The drawing shows the following tires: the first group of input buses ./7, the second group of input tires, / 5g -18 n, the third group of input bushes, the output interrupt bus., The answer bus 20, the polling bus 2 /, the device output tires 22, the output tires, 25) -23p patterns for detecting allowed interrupts.

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

При отсутствии сигналов прерывани  устройство находитс  в исходном состо нии.In the absence of interrupt signals, the device is in the initial state.

При поступлении старшего по приоритету сигнала прерывани  без дребезга, например, по входу/5г триггер 5,- регистра прерывани  / через схему устанавливаетс  в состо ние «1. Сигнал с триггера 2, поступает на схему 4 вы влени  разрешенных прерываний . С выхода 23i этой схемы сигнал поступает через инвертор di на схему , а также на схему Сигнал, снимаемый с выхода схемы через схемы -т-f-«H 7j ,, блодирует все схемы 6t-i-61. Так как сигнал, снимаемый с выхода 231  вл етс  самым старшим по приоритету, то только на выходе схемы 61 по витс  единичный сигнал . Этот сигнал поступает на вход шифратора 10, на выходах 22 которого формируетс  When a higher priority interrupt signal is received, for example, on input 5g, trigger 5, the interrupt register /, through the circuit, is set to state "1. The signal from trigger 2 goes to circuit 4 for detecting allowed interrupts. From the output 23i of this circuit, the signal goes through the di inverter to the circuit, as well as to the circuit. The signal taken from the circuit output through the circuits -t-f- «H 7j ,, blocks all 6t-i-61 circuits. Since the signal taken from output 231 is the highest priority, a single signal is output only at the output of circuit 61. This signal is fed to the input of the encoder 10, the outputs of which 22 are formed

код старшего по приоритету сигнала прерывани .higher priority interrupt code.

Сигнал с единичного выхода триггера 2,поступает на схему // сбора сигналов прерываний , с выхода которой .7:9 поступает в вычислительную машину. По этому сигналу вычислительна  машина формирует сигнал опроса, по которому производитс  считывание в вычислительную машину номера старшего по приоритету прерывани . Кроме того, сигнал опроса поступает на опросный вход 21 устройства прерывани  и через инвертор опроса ./i5 - на вход схемы , а также через второй элемент задержки 75 - на шину ответов 20 и на вход схемы . Величина задержки элемента J6 равна суммарной задержке прохождени  сигнала через схему 4 вы влени  разрешенных прерываний, схемы , и шифратор JO. При этом с выхода схемы снимаетс  сигнал, который сбрасывает триггер 2i и устанавливает в состо ние «О триггер управлени  . Сигнал, снимаемый с единичного выхода тр-иггера управлени  16i, блокирует дальнейшее поступление сигнала прерывани  на вход триггера 2 , через схему 3. до тех пор, пока не кончитс  сигнал на шине М В 1от момент, когда сигнал прерывани  на шине/5; прекратитс , триггер 7 i через инвертор .8i устанавливаетс  в состо ние «1.The signal from the single output of the trigger 2 enters the circuit // of the collection of interrupt signals, from the output of which .7: 9 enters the computer. By this signal, the computer generates a polling signal, which is used to read the number of the highest priority interrupt number to the computer. In addition, the interrogation signal is fed to the interrogator input 21 of the interrupt device and through the interrogation inverter ./i5 to the circuit input, as well as through the second delay element 75 to the response bus 20 and to the circuit input. The magnitude of the delay of the J6 element is equal to the total delay of the signal passing through the scheme 4 identifying the allowed interrupts, the scheme, and the JO encoder. In this case, a signal is removed from the output of the circuit, which resets the trigger 2i and sets the state to the control trigger. The signal taken from the single output of the rs-igger control 16i blocks further receipt of the interrupt signal at the input of the trigger 2 through circuit 3. until the signal on the bus M B 1 terminates at the moment when the interrupt signal on the bus / 5; stop, the trigger 7 i through the inverter .8i is set to the state "1.

Таким образом, предлагаемое устройство при поступлении сигнала прерывани  формирует сразу код номера старшего по приоритету прерывани . Формирование этого кода производитс  на комбинационной схеме, что позвол ет , с одной стороны, уменьшить врем , необходимое дл  его получени , а с другой - разгрузить вычислительную машину. Как  сно из описани  работы устройства, длительность сигналов прерывани  без дребезга фронтов может быть сколь угодно большой. Это обсто тельство позвол ет отказатьс  от дополнительных формирователей, обычно используемых в известных устройствах.Thus, the proposed device, upon receipt of the interrupt signal, immediately forms the code of the number of the higher priority interrupt. The formation of this code is performed on a combinational circuit, which allows, on the one hand, to reduce the time required to receive it, and on the other hand, to unload the computer. As is clear from the description of the operation of the device, the duration of interrupt signals without chatter of fronts can be arbitrarily long. This circumstance makes it possible to refuse additional formers commonly used in known devices.

При поступлеиии старшего по приоритету сигнала прерывани  с дребезгом фронтов, например , по шине /i5j устройство работает следующим образом.When a higher-priority interrupt signal arrives with edge bouncing, for example, via the i5j bus, the device operates as follows.

Триггер управлени  16j находитс  в единичном состо нии, и с инвертора опроса 13 на схему поступает единичлый сигнал. Схема срабатывает, и триггер 2j регистра прерывани  7 переходит в состо ние «1.The control trigger 16j is in a single state, and from the polling inverter 13 a single signal arrives at the circuit. The circuit is triggered, and the trigger 2j of the interrupt register 7 goes to the state "1.

После того, как данное прерывание будет обслужено, единичный сигнал с выхода схемы 6j поступает на схему , на второй вход которой поступает сигнал опроса через второй элемент задержки 15 с шины 2:1. Выходной сигнал схемы , сбрасывает в нулевое состо ние триггер управлени  16j и триггер 2j. Нулевой сигнал с вы-хода триггера управлени  16j поступает на вход схемы , тем самым блокиру  входной сигнал, если он еще не кончилс . Сигнал опроса через первый элемент задержки iM (задержка которого заведомо больше длительности входного -сигнала, включа  длительность фронтов) и инвертор 8j поступает на единичный вход триггера управлени  16/ и устанавливает его в единичное состо ние, тем самым подготавлиБИЯ устройство к дальнейшей работе.After this interruption is serviced, a single signal from the output of the circuit 6j is fed to the circuit, to the second input of which the interrogation signal arrives through the second delay element 15 from the 2: 1 bus. The output of the circuit resets the control trigger 16j and the trigger 2j to the zero state. The zero signal from the output of control trigger 16j is fed to the input of the circuit, thereby blocking the input signal, if it has not yet ended. The polling signal through the first delay element iM (the delay of which is obviously greater than the duration of the input signal, including the fronts duration) and the inverter 8j enters the single control trigger input 16 / and sets it to the unit state, thereby preparing the device for further work.

Предмет изобретени Subject invention

Устройство дл  прерывани  программ, содержаш ,ее регистр прерывани , схему сбора сигналов прерываний, соединенную с выходом прерывани  устройства, шифратор, регистр заш ,иты, входы которого соединены с первой группой входов устройства, а выходы - с первой группой входов схемы вы влени  разрешенных прерываний, отличающеес  тем, что, с целью повышени  надежности, устройство содержит триггеры управлени , схемы «И, инверторы , инвертор управлени , элементы задержки , причем втора  группа входов устройства соединена со входами соответствуюш,ей первой группы инверторов, треть  группа входов устройства соединена с первыми входами соответствующей второй группы инверторов, вторые входы которых соединены с выходом первого элемента задержки; выходы первой и второй групп инверторов соединены с единичными входами соответствующих триггеров управлени , втора  и треть  группы входов устройства соединены с первыми входами соответствующей первой группы схем «И, вторые входы которых соединены через инвертор управлени  с опросным входом устройства, соединенным со входом второго элемента задержки , выход которого соединен с ответным выходом устройства, со входом второго элемента задержки и с первыми входами второй ;труппы схем «И, вторые входы которых соединены с соответствующими входами шифратора; выходы второй группы схем «И соединены с нулевыми входами соответствующих триггеров управлени  и триггеров регистра прерывани , единичные выходы триггеров управлени  соединены с третьими входами соответствующей первой группы схем «И, выходы которых соединены с единичными входами соответствующих триггеров регистра прерывани , единичные выходы которых соединены со входами схемы сбора сигналов прерывани  и со второй группой входов схемы вы влени  разрешенных прерываний, выходы которой, кроме первого и последнего, соединены с первыми входами соответствующей третьей группы схем «И и через соответствующую третью группу инверторов - с первыми входами соответствующей четвертой группы схем выходы каждой из четвертой группы схем «И соединены со вторыми входами одной из третьей п одной из четвертой групп схем «И, св занных с последующим выходом схемы вы влени  разрешенных прерываний, первый выход которой соединен с соответствующим входом шифратора и через соответствующий инвертор третьей группы инверторов - со вторыми входами одной из третьей и одной из четвертой групп схем «И, св занных с последующим выходом схемы вы влени  разрешенных прерываний, последний выход которой соединен с первым входом соответствующей схемы «И из третьей группы схем «И, второй вход которой соединен с выходом одной из четвертой группы схем «И, св занной с предыдущим выходом схемы вы влени  разрешенных прерываний; выходы третьей группы схем «И соединены со входами шифратора, выходы которого соединены с выходами устройства.A device for interrupting programs containing its interrupt register, an interrupt signal collection circuit connected to the device interrupt output, an encoder, a lock register, and inputs whose inputs are connected to the first group of device inputs and outputs to the first group of inputs of an enabled interrupt detection circuit. , in order to increase reliability, the device contains control triggers, AND circuits, inverters, control inverter, delay elements, the second group of device inputs connected to the corresponding inputs, the first group of inverters to it, the third group of inputs of the device is connected to the first inputs of the corresponding second group of inverters, the second inputs of which are connected to the output of the first delay element; the outputs of the first and second groups of inverters are connected to the single inputs of the corresponding control flip-flops, the second and third groups of device inputs are connected to the first inputs of the corresponding first AND circuit, the second inputs of which are connected via a control inverter to a polling input of the device, connected to the input of the second delay element, the output of which is connected to the response output of the device, to the input of the second delay element and to the first inputs of the second; groups of circuits "And, the second inputs of which are connected to the corresponding the inputs of the encoder; the outputs of the second group of circuits "AND" are connected to the zero inputs of the corresponding control triggers and triggers of the interrupt register; the unit outputs of the control triggers are connected to the third inputs of the corresponding first group of circuits "AND, whose outputs are connected to the single inputs of the corresponding triggers of the interrupt register, whose single outputs are connected to the inputs interrupt signal acquisition circuitry and with the second group of inputs of the detected interrupt detection circuit, the outputs of which, except the first and last, are connected to the first the inputs of the corresponding third group of circuits “And through the corresponding third group of inverters — with the first inputs of the corresponding fourth group of circuits; the outputs of each of the fourth group of circuits,” And are connected to the second inputs of one of the third n of one of the fourth groups of circuits “And, connected with the subsequent output detection of permitted interrupts, the first output of which is connected to the corresponding input of the encoder and through the corresponding inverter of the third group of inverters to the second inputs of one of the third and one of the fourth g An AND circuit connected to the subsequent output of the detected interrupt detection circuit, the last output of which is connected to the first input of the corresponding AND circuit of the third AND circuit, the second input of which is connected to the output of one of the fourth group of the AND circuit with the previous output of the detected interrupt detection scheme; the outputs of the third group of circuits "And connected to the inputs of the encoder, the outputs of which are connected to the outputs of the device.

SU1799936A 1972-06-23 1972-06-23 Device for interrupting programs SU439812A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU1799936A SU439812A1 (en) 1972-06-23 1972-06-23 Device for interrupting programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU1799936A SU439812A1 (en) 1972-06-23 1972-06-23 Device for interrupting programs

Publications (1)

Publication Number Publication Date
SU439812A1 true SU439812A1 (en) 1974-08-15

Family

ID=20518762

Family Applications (1)

Application Number Title Priority Date Filing Date
SU1799936A SU439812A1 (en) 1972-06-23 1972-06-23 Device for interrupting programs

Country Status (1)

Country Link
SU (1) SU439812A1 (en)

Similar Documents

Publication Publication Date Title
SU439812A1 (en) Device for interrupting programs
KR900019327A (en) Motor rotation speed control circuit
SU447711A1 (en) Device for decoding a pulse code
SU558273A1 (en) Two-channel time pulse separation device
SU487385A1 (en) Digital comparator
SU1672433A1 (en) Data input device
RU2006926C1 (en) Device for analog data input in digital computer
SU283686A1 (en) DEVICE FOR PROGRAM INTERRUPTION
SU792257A1 (en) Apparatus for monitoring signal train
SU1495832A1 (en) Device for counting piece objects
SU1539815A1 (en) Emergency alarm device
SU373740A1 (en) ALL-UNION
SU384102A1 (en) DEVICE FOR ENTERING INFORMATION IN A DIGITAL COMPUTER MACHINE
SU1179276A1 (en) Device for monitoring parameters
SU1555852A1 (en) Sensor keyboard
SU1474778A1 (en) Device for recording actuation of repeated reconnection automatic control
SU752811A1 (en) Counter checking device
SU1725394A1 (en) Counting device
SU1078613A1 (en) Device for translating codes
SU1383422A1 (en) Device for counting piece articles
SU462192A1 (en) Device for control and accounting of vehicles
SU1677862A1 (en) Sensor switch
SU1434421A1 (en) Information input device
SU382089A1 (en) DEVICE FOR INTERRUPTION OF PROGRAMS
SU943781A1 (en) Device for reading graphic data