SU758155A1 - Program interrupting device - Google Patents

Program interrupting device Download PDF

Info

Publication number
SU758155A1
SU758155A1 SU782608855A SU2608855A SU758155A1 SU 758155 A1 SU758155 A1 SU 758155A1 SU 782608855 A SU782608855 A SU 782608855A SU 2608855 A SU2608855 A SU 2608855A SU 758155 A1 SU758155 A1 SU 758155A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
trigger
output
state
inputs
Prior art date
Application number
SU782608855A
Other languages
Russian (ru)
Inventor
Boris S Arshanskij
Original Assignee
Boris S Arshanskij
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 Boris S Arshanskij filed Critical Boris S Arshanskij
Priority to SU782608855A priority Critical patent/SU758155A1/en
Application granted granted Critical
Publication of SU758155A1 publication Critical patent/SU758155A1/en

Links

Landscapes

  • Bus Control (AREA)

Description

Изобретение относится к области вычислительной техники и может найти применение в вычислительных машинах.The invention relates to the field of computer technology and can find application in computers.

Известны устройства, для опре- 5 деления приоритетности управляющих сигналов и прерывания программ, содержащие в каждом разряде два триггера четыре элемента И и элемент Не£Л*Known devices for determining the priority of control signals and interrupting programs, containing in each category two triggers four elements And and an element He £ A *

Недостаток этих устройств состойт в их сложности.The disadvantage of these devices is their complexity.

Наиболее близким к данному по сущности технического решения задачи является устройство управления прерыванием, содержащее два тригге- 1Д ра, три элемента И, элемент ИЛИ, формирователь сигналов и интегратор, причем первые вход и выход первого триггера являются соответственно входом запроса и выходом запроса уст-. Д ройства, второй вход соединен с первыми входами синхронизации устройства, формирователя сигналов и первого элемента И, второй вход которого подключен ко второму выходу первого триггера, а третий вход - к первым входам второго триггера, второго и •третьего элементов И, второму входу формирователя сигналов и второму входу синхронизацииустройства, ин- -30 версный выход первого элемента И подключен ко второму входу второго триггера, первый и второй выходы которого соединены соответственно со вторыми входами второго и третьего элемента И, третьим входом соединен.ного с первым выходом первого триггера, а выходом - со входом интегратора, соединенного с соответствующим выходом устройства, выход второго элемента И соединен с соответствующим входом элемента ИЛИ, выход которого является управляющим выходом устройства (2).Closest to this essentially technical solution to the problem is an interrupt control device containing two triggers - 1D RA, three AND elements, an OR element, a signal conditioner and an integrator, the first input and output of the first trigger being the request input and the output of the request. Devices, the second input is connected to the first synchronization inputs of the device, the signal conditioner and the first AND element, the second input of which is connected to the second output of the first trigger, and the third input - to the first inputs of the second trigger, the second and • third AND elements, the second input of the signal conditioner and to the second input of the device synchronization, an in -30 version output of the first element And is connected to the second input of the second trigger, the first and second outputs of which are connected respectively to the second inputs of the second and third element And, tr the input connected to the first output of the first trigger, and the output to the input of an integrator connected to the corresponding output of the device, the output of the second AND element is connected to the corresponding input of the OR element, the output of which is the control output of the device (2).

Недостаток этбго устройства заключен в.его сложности и большом объеме оборудования.The disadvantage of this device is its complexity and the large amount of equipment.

Целью изобретения является упрощение устройства.The aim of the invention is to simplify the device.

Поставленная цель достигается тем, что в устройстве, содержащем элемент ИЛИ, выход которого является выходом запроса устройства, и в каждом разряде два триггера и эле- мент И, выходом соединенного с соответствующим входом элемента ИЛИ, причем первый и второй входы первого триггера являются соответственно входом запроса и первым входом синхронизации устройства, первый выходThis goal is achieved by the fact that in the device containing the OR element, the output of which is the output of the device request, and in each category two triggers and the And element, the output connected to the corresponding input of the OR element, the first and second inputs of the first trigger are respectively the input request and the first input of the device synchronization, the first output

7581' ч7581 'h

второго триггера .соединен с первым входом элемент.?; И, второй вход которого является вторым входом синхронизации устройства, в каждом разряде выход первого триггера соединен с третьим входом элемента И и первым входом второго триггера, второй выход которого подключен к соответствующему адресному выходу устройства и третьему входу первого триггера, четвертый вход которого и третий вход второго триггера являются входом- установки устройства.second trigger .connected to the first input element.?; And, the second input of which is the second synchronization input of the device, in each category the output of the first trigger is connected to the third input of the And element and the first input of the second trigger, the second output of which is connected to the corresponding address output of the device and the third input of the first trigger, the fourth input of which and the third input The second trigger is the input-installation device.

Работа устройства поясняется чертежами .The operation of the device is illustrated by drawings.

На фиг. 1 изображена функциональная схема одного разряда устройства; 15 на фиг. 2 - временные диаграммы работы устройства.In FIG. 1 shows a functional diagram of one discharge of the device; 15 in FIG. 2 - time diagrams of the operation of the device.

Устройство образует один уровень прерывания и его выход может быть связан с одним из входов приоритет- 20 ного устройства системы или непосредственно с входом прерывания процессора.The device forms one interrupt level and its output can be connected to one of the inputs of the system priority device 20 or directly to the processor interrupt input.

Разряд устройства (фиг. 1) содержит два триггера 1 и 2 (Д-триггеры) 25 и трехвходовой элемент 3 И. Кроме этого, в состав устройства входит общий для всех разрядов многовходовой элемент 4 ИЛИ, число входов которой равно разрядности устройства. ,θ Вход сброса каждого триггера 1 соединен с входом 5 запроса (прерывающий вход), вход С - с входом 6 первой синхронизирующей последовательности Т1. Входы установки триггеров 1 и 2 соединены с входом 7 установки уст- Λ ройства. Вход Д триггера 2 соединен с с шиной логического нуля. Прямой выход триггера 2 соединен с входом 8 адреса и Д-входом триггера 1, Входы элемента 3 И соединены с прямым 40 входом триггера 1, инверсным выходом триггера 2 и входом 9 второй синхронизирующей последовательности Т2.The discharge of the device (Fig. 1) contains two triggers 1 and 2 (D-flip-flops) 25 and a three-input element 3 I. In addition, the device includes a multi-input element 4 OR common to all bits, the number of inputs of which is equal to the capacity of the device. , θ The reset input of each trigger 1 is connected to the input 5 of the request (interrupting input), input C to input 6 of the first synchronizing sequence T1. Inputs of flip-flops 1 and 2 are connected to the input 7 Λ roystva Device for installation. The input D of trigger 2 is connected to the logical zero bus. The direct output of trigger 2 is connected to the input 8 of the address and the D-input of trigger 1, the inputs of element 3 are connected to a direct 40 input of trigger 1, the inverse output of trigger 2, and input 9 of the second synchronizing sequence T2.

Выход элемента 3 И соединен с одним иэ входов элемента 4 ИЛИ, остальные 45 входы которого соединены с аналогичными выходами остальных разрядов устройства. Выход элемента 4?ИЛИ соединен • с входом 10 сигнала прерывания.The output of the element 3 AND is connected to one of the inputs of the element 4 OR, the remaining 45 inputs of which are connected to the similar outputs of the remaining bits of the device. Output element 4 ? OR connected • to input 10 of the interrupt signal.

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

В исходное состояние устройство приводится программой начального пуска, которая выводит параллельный код на входы 7, при этом триггеры 2 _ в тех разрядах, которые соответству- ют‘разрешенным прерываниям, устанавливаются в состояние 1, а триггеры 1 в этих разрядах повторяют состояние .входа 5.The device is restored to its initial state by the initial start-up program, which outputs a parallel code to inputs 7, while triggers 2 _ in those bits that correspond to allowed interrupts are set to state 1, and triggers 1 in these bits repeat the state of input 5. .

При изменении в каком-либо разря 60 де состояния входа 5 от 0 к ”1 (фиг. 2) триггер 1 под действием импульса последовательности Т1 меняет свое состояние аналогичным образом. 65When the state of input 5 changes from 0 to 1 in a discharge 60 de (Fig. 2), trigger 1 under the influence of a pulse of the sequence T1 changes its state in a similar way. 65

В результате на входе С триггера ’ '2 появляется положительный перепад уровня, который необходим для срабатывания Д-триггера. Благодаря связи Д-входа с шиной 0, триггер 2 переходит в состояние 0”. После этого на двух входах элемента И 3 появляются 1, и при поступлении ио входу 9 импульса Т2 вырабатывается сигнал прерывания, поступающий на вход 10. Со следующим импульсом Т1 триггер 1 вследствие связи своего Д-входа с выходом триггера 2, находящегося уже в состоянии О, переходит также в состояние 0, и сигнал прерывания на входе 10 больше не формируется. В тех же разрядах, в которых триггеры 2 устанавливаются первоначально в состояние ''О'1, триггер 1 не отслеживает состояние входа 5, находясь постоянно в состоя нии 0, что препятствует формированию элементом И 3 сигнала прерывания.As a result, at the input C of the trigger '' 2, a positive level difference appears, which is necessary for the triggering of the D-trigger. Due to the connection of the D-input with bus 0, trigger 2 goes into state 0 ”. After that, 1 appears at the two inputs of the And 3 element, and when the pulse 9 T2 is input to input 9, an interrupt signal is generated that goes to input 10. With the next pulse T1, trigger 1 due to the connection of its D-input with the output of trigger 2, which is already in state O also goes into state 0, and the interrupt signal at input 10 is no longer generated. In the same digits in which the triggers 2 are initially set to the state '' O ' 1 , trigger 1 does not monitor the state of input 5, being constantly in state 0, which prevents the And 3 element from generating an interrupt signal.

Стробирование элемента И 3 необходимо для того, чтобы исключить помеху на входе 10 в момент установки исходного состояния.The gating element And 3 is necessary in order to exclude interference at the input 10 at the time of installation of the initial state.

Управляющая программа, включаемая по прерыванию, вводит в процессор по входу 8 параллельный код, характеризующий состояние триггеров 2. Сравни вая этот код с кодом начальной установки, программа определяет те раз ряды, в которых триггеры 2 перешли из состояния 1 в 0, что соответствует поступлению запроса, и передает управление соответствующей функциональной программе. После отра ботки последней управляющая программа восстанавливает состояние 1 соответствующего триггера 2 устройст ва. Меняя код начальной установки, произвольным образом маскируют поступающие запросы, так как обслуживаются только те, которым соответствуют 1 в этом коде.The control program, which is switched on by interruption, enters a parallel code at input 8 that characterizes the state of triggers 2. Comparing this code with the initial installation code, the program determines those times in which triggers 2 went from state 1 to 0, which corresponds to request, and transfers control to the corresponding functional program. After processing the latter, the control program restores state 1 of the corresponding trigger 2 of the device. Changing the initial installation code, randomly mask incoming requests, since only those that correspond to 1 in this code are served.

Таким образом, устройство, обладая простой конструкцией, обеспечивает формирование сигнала прерывания при переходе прерывающего входа из активного в пассивное состояние (при переходе шины из состояния 0 в 1) вне зависимости от времени пребывания в первом состоянии, что не накладывает ограничений сверху на длительность сигнала запроса. Снизу длительность сигнала запроса ограничена только электрическими параметрами элементной базы· устройства (длительность сигнала должна быть достаточной для надежного переключения триггера 1).Thus, the device, having a simple design, provides the formation of an interrupt signal when the interrupt input goes from active to passive state (when the bus goes from state 0 to 1), regardless of the time spent in the first state, which does not impose upper restrictions on the duration of the request signal . From below, the duration of the request signal is limited only by the electrical parameters of the element base · of the device (the signal duration must be sufficient for reliable switching of trigger 1).

Сигнал прерывания формируется только в том случае, если в момент изменения состояния шины триггер 2 соответствующего разряда находится в состоянии 1, что дает возможность при необходимости блокироват* запросы прерывания.An interrupt signal is generated only if at the moment of changing the bus state the trigger 2 of the corresponding discharge is in state 1, which makes it possible to block * interrupt requests if necessary.

Claims (1)

Устройство «ля прерывания программ, содержащее элемент ИЛИ, выход которого является выходом запроса устройства, и в каждом разряде два триггера и элемент И, выходом соединенный с соответствующим входом элемента ИЛИ, причем первый и второй входы первого триггера являются соответственно входом запроса и первым входом синхронизации устройства, первый выход второго триггера соединен с первым входом элемента И, второй вход которого является вторым входом синхронизации устройства, отличающееся тем, что, с целью упрощения устройства, в каждом разряде выход первого триггера соединен с третьим входом элемента И и первым входом второго триггера, второй выход которого подключенA device for interrupting programs, containing an OR element, the output of which is the output of the device request, and in each category two triggers and an AND element connected to the corresponding input of the OR element, the first and second inputs of the first trigger are respectively the request input and the first synchronization input device, the first output of the second trigger is connected to the first input of the And element, the second input of which is the second synchronization input of the device, characterized in that, in order to simplify the device, each the discharge, the output of the first trigger is connected to the third input of the And element and the first input of the second trigger, the second output of which is connected 5 ίκ соответствующему адресному выходу устройства и третьему входу первого триггера, четвертый вход которого и третий вход второго триггера являются входом установки устройства.5 ίκ corresponding to the address output of the device and the third input of the first trigger, the fourth input of which and the third input of the second trigger are the installation input of the device.
SU782608855A 1978-05-03 1978-05-03 Program interrupting device SU758155A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU782608855A SU758155A1 (en) 1978-05-03 1978-05-03 Program interrupting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU782608855A SU758155A1 (en) 1978-05-03 1978-05-03 Program interrupting device

Publications (1)

Publication Number Publication Date
SU758155A1 true SU758155A1 (en) 1980-08-23

Family

ID=20761659

Family Applications (1)

Application Number Title Priority Date Filing Date
SU782608855A SU758155A1 (en) 1978-05-03 1978-05-03 Program interrupting device

Country Status (1)

Country Link
SU (1) SU758155A1 (en)

Similar Documents

Publication Publication Date Title
EP0443557B1 (en) Interrupt controller capable of realizing interrupt nesting function
SU758155A1 (en) Program interrupting device
JPH0340409B2 (en)
US6195715B1 (en) Interrupt control for multiple programs communicating with a common interrupt by associating programs to GP registers, defining interrupt register, polling GP registers, and invoking callback routine associated with defined interrupt register
SU641436A1 (en) Channel control device
SU1571595A2 (en) Device for addressing memory units
SU924710A2 (en) Program interrupting device
US5349387A (en) Apparatus for detecting polarity of an input signal
SU1432535A1 (en) Device for interfacing subscribers with computer
SU660050A1 (en) Arrangement for control of interruption of programs
SU1104516A1 (en) Multilevel interruption unit
SU1061142A1 (en) Device for starting programs
SU1658154A1 (en) Multichannel prioritizer
SU645158A1 (en) Programme interrupting device
JPH0644234B2 (en) Task management device
SU1270759A2 (en) Variable priority device
SU1226452A2 (en) Microprogram control device
SU840906A1 (en) Multichannel priority device
SU1174926A1 (en) Multilevel interruption device
JPH07120343B2 (en) Multiprocessor system
SU1580363A1 (en) Multichannel priority device
SU666543A1 (en) Multichannel device for handling interrogates with absolute priority
SU771670A1 (en) Multichannel device for interrupting programs
SU1098001A1 (en) Interruption controller
SU1394215A1 (en) Device for timing microprocessor input/output