SU1277109A1 - Device for interrupting programs - Google Patents

Device for interrupting programs Download PDF

Info

Publication number
SU1277109A1
SU1277109A1 SU853890453A SU3890453A SU1277109A1 SU 1277109 A1 SU1277109 A1 SU 1277109A1 SU 853890453 A SU853890453 A SU 853890453A SU 3890453 A SU3890453 A SU 3890453A SU 1277109 A1 SU1277109 A1 SU 1277109A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
elements
inputs
trigger
Prior art date
Application number
SU853890453A
Other languages
Russian (ru)
Inventor
Владимир Ильич Шеремет
Валерий Иванович Анисимов
Дмитрий Васильевич Иванов
Людмила Ростиславовна Наймарк
Юрий Сергеевич Савостьянов
Original Assignee
Предприятие П/Я В-2962
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 Предприятие П/Я В-2962 filed Critical Предприятие П/Я В-2962
Priority to SU853890453A priority Critical patent/SU1277109A1/en
Application granted granted Critical
Publication of SU1277109A1 publication Critical patent/SU1277109A1/en

Links

Abstract

Изобретение относитс  к цифровой вычислительной технике и предназначено дл  реализации систем прерывани  в многомашинных вычислительных системах. Цель изобретени  - повышение быстродействи . Устройство содержит регистр прерываний, регистр маски, п ть групп элементов И, два элемента ИЛИ, п ть триггеров, дешифратор адреса, блок вьфаббтки обобщенного сигнала прерывани ,регистр вывода, устройство приоритета,, шифратор , п ть элементов И и два элемента задержки. Новым  вл етс  введение дешифратора адреса, регистра вывода, устройства приоритета, ши , фратора, четырех триггеров, двух эЛементов задержки, трех элементов И и элементов ИЛИ и вьтолнение р да соединений . 3 ил. WThe invention relates to digital computing and is intended to implement interrupt systems in multi-machine computing systems. The purpose of the invention is to increase speed. The device contains an interrupt register, a mask register, five groups of AND elements, two OR elements, five flip-flops, an address decoder, a block of generalized interrupt signal, an output register, a priority device, an encoder, five AND elements and two delay elements. The introduction of an address decoder, an output register, a priority device, a switch, a four-way switch, four triggers, two delay elements, three AND elements and OR elements and the execution of a series of connections is new. 3 il. W

Description

ю Изобретение относитс  к вычислительной технике и может быть исполь зовано дл  реализации систем прерывани  в многомашинных вычислительны системах Цель изобретени  - повышение быстродействи  устройства. На фиг, 1 изображена структурна  схема устройства дл  прерывани  про грамм на фиг.2 - структурна  схема блока вырабртки обобщенного сигнала прерывани ; на фиг.3 - структурна  схема узла приоритета. Устройство дл  прерывани  програ содержит дешифратор 1, регистр 2 в вода, регистр 3 маски, регистр 4 пр рываний, узел 5 приоритета, шифрато 6, группу элементов И 7, группу эле ментов И 8, группу элементов И 9, группу элементов И 10, группу элементов И 11, блок 12 вьфаботки обоб щенного сигнала прерывани , элемент ИЛИ 13, триггеры 14-19, элементы И ZU-24, элемент ИЛИ 2Ь, элементы 26 и 27 задержки, кодовые выходы 28 устройства, входы 29 сигналов прерываний устройства, информационные входы-выходы 30 устройства, вход 31 сигнала Обмен устройства, вход 32 сигнала Уапись, выход 33 сигнала Требование прерывани  устройства , вход 34 сигнала Предоставление прерывани  устройства, выход 35 сигнала прерывани  устройства, вход 36 сигнала Чтение устройства, выход 37, вход 38 блока 12, Блок 12 выработки обобщенного сигнала прерывани  () содержит элементы И 39-43, элементы НЕ 44 и 45. триггеры 46 и 47, элемент 48 задержки . Узел 5 приоритета (фиг.З) содержит триггеры 49, элементы И 50. Устройство работает следую1цим образом . , Перед началом работы все триггеры и регистры устанавливаютс  в О (цепь установки в О на фиг,1 не показана). Устройство работает в сле дую1С1их режимах; Запись регистра маски, Вьщача прерывани , Прием прерывани , Контроль 1 и Контрол 2. В режиме Запись регистра маски устройство работает следующим образом , На информационных входах-выходах 30 устройства управл юща  ЭВМ выставл ет адрес регистра 3 маски, в р аультате чего на выходе дешифратора 1 по вл етс  единичньш сигнал, который по. переднему фронту сигнала на входе 31, выдаваемому управл ющей ЭВМ, записываетс  в триггер 15. Управл юща  ЭВМ снимает адрес и устанавливает код маски, который записываетс  в регистр 3 передним фронтом с выхода элемента И 21, на входы которого подаютс  сигналы с выхода триггера 15 и сигнал с входа 32, вырабатываемый ЭВМ и сопровождакнций процедуру записи. В режиме Выдача прерывани  управл юща  ЭВМ выставл ет адрес регистра 2 вывода, на первом выходе дешифратора 1 по вл етс  единица, котора  передним фронтом сигнала 31, заноситс  в триггер 14. Сигнал 32, в случае адреса регистра вывода через элемент И 20 заносит код прерывани  в регистр 2 и устанавливает в единичное состо кие тригтер 19.Единичный сигнал пр мого вькодл триггера 19, через элемент И 22 (на второй вход которого в этом режиме подаетс  единичный сигнал с инверсного выхода триггера 17) открывает те элементы И группы элементов И 7, на первые входы которых подаютс  единичные сигналы с выхода регистра 2. Одновременно единичный сигнал с пр мого выхода триггера 19 через элемент 27 задержки устанавливает триггер 19 в нулевое состо ние. Таким образом, на выходах 28 по вл ютс  единичные сигналы, соответствую0;ие коду прерывани  в регистре 2, а длительность этих сигналов определ етс  параметрами элемента 27 задержки. В режиме Прием прерывани  импульсные сигналы на входах 29 сигналов прерываний через элементы И 9 (на вторых входах элементов И присутствует единица с инверсного выхода триггера 17 во всех режимах, кроме режимов Контроль 1 м Контроль 2) передним фронтом занос т единицы в соответствующие разр ды регистра 4, кроме тех разр дов, которые установлены в единицу в регистре 3. Сигналы с выходов регистра 4 поступают на входы элементов ИЛИ 13, и сигнал наличи  прерывани  с выхода элемента ИЛИ 13 поступает на вход 38 блока 12. Одновременно вьисодные сигналы регистра 4 поступают на соответствующие входы узла приоритета.The invention relates to computing and can be used to implement interrupt systems in multi-machine computing systems. The purpose of the invention is to increase the speed of the device. FIG. 1 shows a block diagram of a device for interrupting the programs of FIG. 2 is a block diagram of a generator of a generalized interrupt signal; figure 3 is a block diagram of the priority node. The device for interrupting the program contains a decoder 1, a register 2 in water, a mask register 3, a register 4 are broken, a priority node 5, a cipherto 6, a group of elements And 7, a group of elements And 8, a group of elements And 9, a group of elements And 10, element group 11, block 12, generalized interrupt signal, element OR 13, triggers 14-19, elements AND ZU-24, element OR 2b, delay elements 26 and 27, device code outputs 28, device interrupt signal inputs 29, informational device inputs 30 devices, signal input 31 Device swapping, Signal input 32, signal course 33 Device interrupt requirement, signal input 34 Providing device interrupt, device interrupt signal output 35, signal device input 36, output 37, block 12 input 38, Generalized interrupt signal generation block 12 () contains elements AND 39-43, elements NOT 44 and 45. Triggers 46 and 47, delay element 48. Priority node 5 (FIG. 3) contains triggers 49, elements And 50. The device operates as follows. Before starting, all the triggers and registers are set to O (the setup circuit in O in FIG. 1 is not shown). The device works in the following modes; Recording the mask register, Interrupt, Interrupt reception, Control 1 and Control 2. In the Mask register recording mode, the device operates as follows. At the information inputs-outputs 30 of the device, the control computer sets the register address 3 masks, resulting in the decoder output. 1 a single signal appears, which is. the leading edge of the signal at input 31, output by the control computer, is written to the trigger 15. The control computer removes the address and sets the mask code, which is recorded in register 3 by the leading edge from the output of the And 21 element, to the inputs of which the signals from the trigger output 15 and the signal from input 32, generated by the computer and the procedure for recording. In the Output Interrupt mode, the control computer sets the address of the register 2 of the output. At the first output of the decoder 1, the unit appears which is the leading edge of the signal 31, is entered into the trigger 14. The signal 32, in the case of the output register address, sends the interrupt code through the element 20 into register 2 and sets the trigger 19 into one state. The single signal of the direct trigger 19, through the element 22 (to the second input of which in this mode a single signal is fed from the inverse output of the trigger 17) opens those elements and the group of elements 7 and at first in the moves of which are supplied by single signals from the output of register 2. At the same time, a single signal from the direct output of the trigger 19 through the delay element 27 sets the trigger 19 to the zero state. Thus, at the outputs 28, there are single signals corresponding to 0; they do not have the interrupt code in register 2, and the duration of these signals is determined by the parameters of the delay element 27. In the Interrupt Reception mode, the pulse signals at the inputs 29 of the interrupt signals through the AND 9 elements (the second inputs of the AND elements present a unit from the inverse output of the trigger 17 in all modes except the 1 m Control modes Control 2) leading edge pushes the units into the corresponding register bits 4, except for those bits that are set to one in register 3. Signals from the outputs of register 4 are fed to the inputs of the OR 13 elements, and the signal that there is an interrupt from the output of the OR 13 element is fed to the input 38 of the block 12. Simultaneous signals Register 4 is fed to the corresponding inputs of the priority node.

Сигнал наличи  прерывани  с входа 38 блока 12 поступает на первый вход элемента И 40. При отсутствии сигнала Предоставление прерывани  34, триггер 46 устанавливаетс  в единицу, В случае присутстви  сигнала 34 Предоставление прерывани  (т,е. управл юща  Эдм считывает вектор прерывани  какого-либо другого устройства, запросившего прерывание ранее) триггер 46 устанавливаетс  в единицу только по.сле сн ти  этого сигнала. Таким /образом, на выходе 33 сигнала Требовани  прерывани  устройства по вл етс  единичный сигнал, который посту-, пает на,соответствующий вход управл ющей ЭВМ.В ответ управл юща  ЭВМ выставл ет сигнал Чтение и сигнал 34 Предоставление прерывани , передним фронтом которого незамаскированные 20 The interrupt signal from input 38 of block 12 is fed to the first input of element 40. In the absence of a signal to Interrupt 34, trigger 46 is set to one. In the presence of a signal 34 Interrupt is provided (i.e. the control Edm reads the interrupt vector of any another device that requested an interrupt earlier), trigger 46 is set to one only after removing this signal. In this way / at the output 33 of the Signal Requirement of the device, a single signal appears that goes to the corresponding control computer. In response, the control computer exposes a read signal and a signal 34 Providing the interrupt, the leading edge of which is unguarded.

прерывани  с выхода регистра 4 прерываний записываютс  в соответствующие триггеры 49 узла 5. Эта запись производитс  во избежание смены информации на выходе узла 5 во врем  процедуры вьщачи вектора прерывани  в случае прихода более высокого уровн  приоритета.Сигнал 34 Предоставление прерывани  при наличии сигнала 33 Требование прерывани  устанавливает в единичное состо ние триггер 47, сигнал с инверсного выхода которого, подаваемый на вход элемента И 43, преп тствует дальнейшему распространению сигнала Предоставление прерывани  на выход 35. Одновременно сигнал 34 Предоставлениепрерывани  устанавливает в О триггер 46 и устройство снимает сигнал 33 Требовавание прерывани . В случае,если interrupts from the 4th interrupt register output are written to the corresponding triggers 49 of node 5. This record is made to avoid changing information at the output of node 5 during the interrupt vector procedure if a higher priority level arrives. Signal 34 Providing interrupt when a 33 signal is present Interrupt request sets in one state, trigger 47, the signal from whose inverse output supplied to the input of element And 43, prevents further propagation of the signal. Providing interrupt to the output d 35. At the same time, signal 34 The provision of interruption sets a trigger 46 in O and the device removes the signal 33 Interrupt Requirement. If

данное устройство дл  прерывани  interrupt device

программ не выставл ет сигнал 33 требование прерывани  (т.е. этот ) сигнал был выставлен другим, менее приоритетным устройством), то сигнаЛ Требование прерывани  через элемент 48 задержки и элемент И 43 проходит на выход 35. Элемент 48 задерж ки введен дл  предотвращени  вьщачи кратковременного сигнала 35 при наличин сигнала 33 Требование прерывани . При наличии единицы на пр мом выходе триггера 47 (т.е. наличие сигнала 34 Предоставление прерьшани  в ответ на сигнал 33 Требование прерывани ) и наличии единичного сигнала на входе 36 .сигнала Чтениеprograms do not expose signal 33, the interrupt request (i.e., this) signal was set by another, lower priority device), the signal Termination request through delay element 48 and AND element 43 goes to output 35. Delay element 48 is entered to prevent short-time signal 35 with signal availability 33 Interrupt request. If there is one at the direct output of the trigger 47 (i.e. the presence of a signal 34 Provision of a fault in response to the signal 33 An interrupt request) and the presence of a single signal at the input 36. Of the signal Read

на выходе 37 блока 12 по вл етс  единичный сигна;, который подаетс  на вторые входы элементов М I -, , ныходь которых соединены с соответсгзуюшиьш разр дами информац.ионных нходов-выходов 30 устройства (в предлагаемом устройстве прр н та магистральна  структура, т.е. структура, позвол юща  объедин ть одноименные входы-выходы при помощи монтажного ИЛИ). На первые входы элементов И 1 i подаютс  сигналы с выхода шифратора 6, входами рсоторого  : 1л гатс  выходы узла 5, Временна  задержка между приходом сигнала 34 Предоставление прерьвани  и по влением единичного си:гк,ла .па вьтходе 37 блока 12 обеспечивает окончание переходного процесса в узле 5 и шифраторе 6, чтоA single signal appears at the output 37 of the block 12; it is fed to the second inputs of the elements M I -, the outputs of which are connected to the corresponding bits of the informational ion outputs-outputs 30 of the device (in the proposed device, the main trunk structure, t. e. a structure allowing unification of like inputs-outputs with the help of mounting OR). The first inputs of the And 1 i elements are fed from the output of the encoder 6, the inputs of the rotor: 1L gats of the node 5, the time delay between the arrival of the signal 34 Provision of interruption and the appearance of a single si: rk, la.p. entry 37 of block 12 ensures the end of the transition process at node 5 and encoder 6 that

информации на выходах 30 устройства и тем самым предотвращает прием неверной информации управл ющей ЭВМ. Одновременно сигнал с выхода 37 блока 12 поступает на вторые входы элементов И 10, первые входы которых соединены с соответствующиьги выходами узла 5. Так как к этому времени на выходах узла существует только один вькод, наход щийс  в eдиничкo составе, соответствующий выдаваемому вектору прерывани , то на выходах элементов И 10 по вл етс  только один единичный сигншт , которь  установит в нулевое состо ние соответствующий разр д регистра 4, Наличие единицы в соответствующем триггере 49 узла 5 не-будет вли ть на дальнейшую работу, так как при новом цикле обслуживани  устройства дл  прерывани  програм 1 он будет сброшен сигналом 34 Предоставпение прерывани .information on the device outputs 30 and thus prevents the reception of incorrect information of the control computer. At the same time, the signal from output 37 of block 12 is fed to the second inputs of elements AND 10, the first inputs of which are connected to the corresponding outputs of node 5. Since by this time there is only one code at the outputs of the node, which is in a single composition corresponding to the interrupt vector output, At the outputs of elements 10, there appears only one unit sign, which sets the corresponding register register 4 to the zero state. The presence of one in the corresponding trigger 49 of node 5 will not affect the further operation, since In the new service cycle of the device for interrupting program 1, it will be reset by the signal 34 Interrupt Provision.

Триггер 47 устанавливаетс  в нуобеспечивает неизменность выдаваемой левое состо ние положительнь1 ; фронтом сигнала И 42. который образуетс; при сн тии сигнала 36 Чтение. При сн тии сигнала Чтение, кроме того, закрываютс  элементы И 11 и прекращаетс  выдача вектора прерывани  на выходы 30 устройства., после чего управл юща  ЭВМ снимает сигнал 34 Предоставление прерывани  и самым разрешает устройству выставить (при наличии необслуженных запросов на прерывание в регистре 4 прерываний ) следующий сигнал 33 запроса Требование прерьшани . 512 Режим Контроль начинаетс  обращением управл ющей ЭВМ по адресу регистра маски более приоритетного устройства, чем контролируемое (если оно имеетс ). При этом в регистре маски занос тс  все единицы, Затем управл юща  ЭВМ производит запись по адресу, соответствующему возбуждению третьего (в режиме Контроль 1) или четвертого (в режиме Контроль 2) выхода дешифратора 1 адреса контролируемого устройства. При этом устанавливаетс  в единичное состо ние триггер 16. Положительный фронт сигнала с выхода триггера 16 устанавливает в единичное состо ние триггер 17, а в режиме Контроль 1 - и триггер 18. В режи ,ме Контроль 2 триггер 18 устанавливаетс  в Нулевое состо ние. Сигнал с пр мого выхода триггера 17 через элемент 26 задержки устанавливает триггер 17 в нулевое состо ние через врем , необходимое дл  выполнени  операций контрол . Затем управл юща  ЭВМ выполн ет операцию записи в регистр 2, при этом нулевой сигнал с инверсного выхода триггера 17 запрещает прохождение сигналов 29 прерываний на вход регистра Д и через элемент И 22 запрещает про хождение сигналов прерываний на выходы 28. Так как после записи кода прерывани  в регистр 2 вывода на пр мом вьпсоде триггера 19 по вл етс  единичный сигнал, то в режиме Контроль 1 через элемент И 23 на вторы входы элементов И 8 подаютс  разрешающие сигналы, а в режиме Контрол 2 разрешающие сигналы подаютс  на элементы И 8 через элемент И 24. Та ким образом, на входах регистра 4 по вл ютс  сигналы прерывани  в соответствии с кодом прерывани  зане сением в регистр 2 и в соответствии с режимом Контроль 1 ИЛИ Контрол , 2. Дальнейша  работа устройства аналогична, работе в режиме, Прием прерывани . Управл юща  ЭВМ принимает вектор прерывани  и в случае, если ЭВМ pa ботает в режиме Контроль, сравнивает полученный вектор прерывани  с выведенной информацией (код регистр 3 маски,, код регистра 2 вывода, режим Контроль 1 или 2), затем производит запись нового состо ни  (определ емого программой) в 9 егистры масок более приоритетных устройств, чем контролируемое, и возвращаетс  к выполнению прерванной программы. В.случае, если ЭВМ не переходила режимы Контроль 1 или Контроль , то управл юща  ЭВМ переходит к ыполнению программы, задаваемой ветором прерывани . ормула изобретени  Устройство дл  прерывани  программ, содержащее регистр прерываний, регистр маски, п ть групп элементов И, первый элемент ИЛИ, два элемента И, два триггера и блок выработки обобщенного сигнала прерывани , причем группа информационртых входов регистра маски подключено, к группе информационных входов устройства, выходы элементов И первой группы подключены к нулевым входам соответствующих разр дов регистра прерываний, выходы элементов И второй группы подключены к кодовым выходам устройства, тактовый вход первого триггера соединен с входом сигнала Обмен устройства, блок выработки обобщенного сигнала прерывани  содержит первый элемент И, первый элемент НЕ и первый триггер , отличающеес  тем, что с целью повышени  быстродействи , в него введены дешифратор,регистр выхода,узел приоритета, шифратор, четыре триггера, два элемента задержки , три элемента И и второй элемент ИЛИ, причем информационные входывыходы устройства соединены с входами дешифратора, регистра вывода и с выходами элементов И третьей группы , дервый и второй выходы дешифратора соединены с информационными входами первого и второго триггеров соответственно , третий выход дешифратора соединен с первым выходом первого элемента ИЛИ и с информационным входом третьего триггера, четвертый выход дешифратора соединен с вторым входом первого элемента ИЛИ, выход которого соединен с информационным входом четвертого триггера, тактовые входы второго и четвертого триггеров соединены с входом сигнала Обмен устройства, пр мые выходы первого и второго триггеров соедине::; ны с первыми входами первого и второго элементов И соответственно,вторые входы которых соединены с входом сигнала Запись устройства, пр мой выход четвертого триггера соединен с такторым входом третьего триггера и с тактовым входом п того триггера, пр мой выход четвертого триггера соединен с первыми входами третьего и четвертого элементов И и с входом первого элемента задержки, выход которого соединен с нулевым входом п того триггера, выход первого элемента И соединен с тактовым входом регистра вывода и с единичным входом шестого триггера, выход которого соединен с вторыми входами третьего и четвертого элементов И, с первым входом п того элемента И и с входом второго элемента задержки, выход которого соединен с нулевым входом шестого триггера, инверсный выход п того триггера соединен с вторым входом п того элемента И и с первыми входами элементов И третьей группы, вторые входы которых соединены с входами сигналов прерывани  устройства, выход п того элемента И соединен с первыми входами элементов И второй группы, выходы регистра вывода соединены с первыми входами элементов И первой группы, с вторыми входами элементов И второй группы, пр мой и инверсный выходы третьего триггера соединены с третьими входами третьег и четвертого элементов И соответственно , выход третьего элемента И соединен с вторыми входами с первого по n/2-й ( h- число запросов) элементов И первой , выход четвертого элемента И соединен с вторыми входами с( h/2 + 1 )-го по h-и элементов И первой группы, выход второго элемента И соединен с тактовым входом регистра маски, информационные входы регистра маски соедиены с выходами элементов И четвертой группы, выходы регистра маски соединены с нулевыми входами регистра прерываний, выходы элементов И третьей группы объединены с выходами одноименных элементов И п той группы и соединены с тактовыми входами регистра прерываний, выходы регистра прерываний соединены с группой вхо ,дов узла приоритета и с входами второго элемента ИЛИ, выходы узлаA trigger 47 is set to but it provides the immutability of the left state being positive1; the front of the signal AND 42. which is formed; at removal of a signal 36 Reading. When the signal is removed, the Reading also closes the And 11 elements and stops outputting the interrupt vector to the device 30 outputs, after which the control computer removes the signal 34 Providing the interrupt and most allows the device to set (if there are unserved requests for interruption in the 4 interrupt register) ) next signal 33 request 512 The Monitoring mode starts with the reference of the control computer at the mask register address of a higher priority device than the controlled one (if it exists). In this case, in the mask register, all units are entered, Then the control computer records at the address corresponding to the excitation of the third (in the Control 1 mode) or the fourth (in the Control 2 mode) output of the decoder 1 of the monitored device address. In this case, the trigger 16 is set to one. A positive edge of the signal from the output of the trigger 16 sets the trigger 17 to one, and in the Control 1 mode, the trigger 18. In the Control 2 mode, the trigger 18 is set to the Zero state. The signal from the direct output of the trigger 17 through the delay element 26 sets the trigger 17 to the zero state after the time required to perform the control operations. The control computer then performs a write operation to register 2, while the zero signal from the inverse output of the trigger 17 prohibits the interrupt signals 29 from entering the register D and through the And 22 element prohibiting the passage of the interrupt signals to the outputs 28. As after writing the interrupt code In the output 2 register, a single signal appears on the forward edge of the flip-flop 19, in the Control 1 mode, through the AND 23 element, the second inputs of the And 8 elements are given the enable signals, and in the Control 2 mode, the enabling signals are sent to the And 8 elements through the elements m AND 24. Thus, at the inputs of register 4, interrupt signals appear in accordance with the interruption code in register 2 and in accordance with the control 1 mode or the control, 2. Further operation of the device is similar, in the mode, interrupt reception . The control computer accepts the interrupt vector and, if the computer is working in the Control mode, compares the received interrupt vector with the output information (mask register 3 code, output register 2 code, Control 1 or 2), then writes a new state (defined by the program) in 9 of the heads of the masks of higher priority devices than the controlled ones, and returns to the execution of the interrupted program. B. In case, if the computer did not go into Control 1 or Control, then the control computer proceeds to execute the program set by the interrupt wind. Formula of the Invention A device for interrupting programs containing an interrupt register, a mask register, five groups of AND elements, the first OR element, two AND elements, two triggers and a generating unit for a generalized interrupt signal, the group of informational inputs of the mask register connected to the device information input group , the outputs of the elements And the first group are connected to the zero inputs of the corresponding bits of the interrupt register, the outputs of the elements And the second group are connected to the code outputs of the device, the clock input of the first three The gamer is connected to the signal exchange device input, the generating unit for the generalized interrupt signal contains the first element AND, the first element NOT and the first trigger, characterized in that in order to improve speed, a decoder, an output register, a priority node, an encoder, four triggers, two delay elements, three AND elements and a second OR element, the information output outputs of the device being connected to the inputs of the decoder, the output register and the outputs of the AND elements of the third group, the first and second outputs of the decoder are connected with the information inputs of the first and second triggers, respectively, the third output of the decoder is connected to the first output of the first OR element and the information input of the third trigger, the fourth output of the decoder is connected to the second input of the first OR element, the output of which is connected to the information input of the fourth trigger, clock inputs of the second and the fourth flip-flops are connected to the signal input of the device exchange; the direct outputs of the first and second flip-flops are connected ::; with the first inputs of the first and second elements And, respectively, the second inputs of which are connected to the signal input device recording, the direct output of the fourth trigger is connected to the third input of the third trigger and the clock input of the fifth trigger, the fourth output of the third trigger and the fourth element And with the input of the first delay element, the output of which is connected to the zero input of the fifth trigger, the output of the first element And is connected to the clock input of the output register and to the single input of the sixth an igger, the output of which is connected to the second inputs of the third and fourth elements I, to the first input of the fifth element I and to the input of the second delay element, the output of which is connected to the zero input of the sixth trigger, the inverse output of the fifth trigger And and with the first inputs of elements AND of the third group, the second inputs of which are connected to the inputs of the interrupt signals of the device, the output of the fifth element AND connected to the first inputs of elements AND of the second group, the outputs of the output register are connected to the first inputs elements of the first group, with the second inputs of the elements of the second group, the direct and inverse outputs of the third trigger are connected to the third inputs of the third and fourth elements AND, respectively, the output of the third element I is connected to the second inputs from the first to n / 2th (h- the number of requests for elements I and the first, the output of the fourth element I, and connected to the second inputs from (h / 2 + 1) -th through the h elements of the AND group of the first group, the output of the second element I connected to the clock input of the mask register, information inputs of the mask register with element outputs and h of the fourth group, the outputs of the mask register are connected to the zero inputs of the interrupt register, the outputs of elements AND of the third group are combined with the outputs of the same elements of the And fifth group and connected to the clock inputs of the register of interrupts, the outputs of the register of interruptions are connected to the input group of the priority node and the second element OR, node outputs

приоритета соединены с группой входов шифратора и с первыми входами элементов И п то11 группы, выходы шифратора соединены с первыми входами элементов И четвертой группы, вторые входы которых соединены с вторыми входами одноименных элементов И п той группы, блок выработки обобщенного сигнала прерывани  дополнительно содержит второй,третий,четвертый и priority connected to the group of inputs of the encoder and with the first inputs of elements And group 11, the outputs of the encoder connected with the first inputs of elements AND of the fourth group, the second inputs of which are connected to the second inputs of the same elements And fifth group, the generation unit of the generalized interrupt signal further comprises the second, third, fourth and

0 п тый элементыИ,второй элемент fIF,второй триггер и элемент задержки,причем в блоке выработки обобщенного сигнала прерывани  выход первого элемёнта И соединен с едипичньи вхо5 дом первого триггера, нулевой вход которого соединен с входом первого элемента НЕ, с первыми входами второго и третьего элементов И и через элемент задержки с первым входом 0 fifth elements, the second element fIF, the second trigger and the delay element; moreover, in the generating unit of the generalized interrupt signal, the output of the first element I is connected to the single input of the first trigger, the zero input of which is connected to the input of the first element NO, with the first inputs of the second and third And elements and through the delay element with the first input

0 четвертого элемента И, второй вход которого .соединен с нулевы выходом второго триггера, нулевой вход которого соединен с выходом третьего элемента И, выход второго элемента НЕ 0 of the fourth And element, the second input of which is connected to the zero output of the second trigger, the zero input of which is connected to the output of the third And element, the output of the second element is NOT

5 соединен с вторым входом третьего элемента И, выход первого элемента НЕ соединен с первым входом первого элемента И, выход второго элемента И соединен с единичным входом второ0 го триггера, пр мой выход которого соединен с первым входом п того элемента И, второй вход которого соединен с входом второго элемента НЕ, второй вход второго элемента И сое5 динен с выходом первого триггера и  вл етс  выходом требовани  прерывани  устройства, вход предоставлени  прерывани  которого соединен с входом первого элемента НЕ блока вы0 работки обобщенного сигнала прерывани  и с тактовым входом узла приоритета , выход п того элемента И блока выработки обобщенного сигнала прерывани  соединен с вторыми входами 5 is connected to the second input of the third element I, the output of the first element is NOT connected to the first input of the first element I, the output of the second element I is connected to the single input of the second trigger, the direct output of which is connected to the first input of the fifth element I and the second input connected with the input of the second element NOT, the second input of the second element I, is connected to the output of the first trigger and is the output of the interrupt request of the device, the input of the interruption of which is connected to the input of the first element of the HE block general the interrupt signal and the clock input of the priority node, the output of the fifth element AND of the generator of the generalized interrupt signal is connected to the second inputs

5 элементов И четвертой и п той групп, выход второго элемента ИЛИ соединен с вторым входом первого элемента И блока выработки обобщенного сигнала прерывани , вход сигнала Чтение устройства соединен с входом второго элемента НЕ блока выработки обобщенного сигнала прерывани , выход четвертого элемента И которого  вл етс  выходом прерывани  устройства.5 elements of the fourth and fifth groups, the output of the second element OR is connected to the second input of the first element AND the generation unit of the generalized interrupt signal, the input signal Read device is connected to the input of the second element NOT of the generation unit of the generalized interrupt signal, the output of the fourth element And which is the output interrupt the device.

uf.tuf.t

/w/ w

RR

ww

&Фиг .& FIG.

Claims (1)

Формула изобретени Invention Formula Устройство дл  прерывани  программ, содержащее регистр прерываний, регистр маски, п ть групп элементов И, первый элемент ИЛИ, два элемента И, два триггера и блок выработки обобщенного сигнала прерывани , причем группа информационртых входов регистра маски подключено, к группе информационных входов устройства, выходы элементов И первой группы подключены к нулевым входам соответствующих разр дов регистра прерываний, выходы элементов И второй группы подключены к кодовым выходам устройства, тактовый вход первого триггера соединен с входом сигнала Обмен устройства, блок выработки обобщенного сигнала прерывани  содержит первый элемент И, первый элемент НЕ и первый триггер , отличающеес  тем, что с целью повышени  быстродействи , в него введены дешифратор,регистр выхода,узел приоритета, шифратор, четыре триггера, два элемента задержки , три элемента И и второй элемент ИЛИ, причем информационные входы- выходы устройства соединены с входами дешифратора, регистра вывода и с выходами элементов И третьей группы , дервый и второй выходы дешифратора соединены с информационными входами первого и второго триггеров соответственно , третий выход дешифратора соединен с первым выходом первого элемента ИЛИ и с информационным входом третьего триггера, четвертый выход дешифратора соединен с вторым входом первого элемента ИЛИ, выход которого соединен с информационным входом четвертого триггера, тактовые входы второго и четвертого триггеров соединены с входом сигнала Обмен устройства, пр мые выходы первого и второго триггеров соедине::; ны с первыми входами первого и второго элементов И соответственно,вторые входы которых соединены с входом сигнала Запись устройства, пр мой выход четвертого триггера соединен с такторым входом третьего триггера и с тактовым входом п того триггера, пр мой выход четвертого триггера соединен с первыми входами третьего и четвертого элементов И и с входом первого элемента задержки, выход которого соединен с нулевым входом п того триггера, выход первого элемента И соединен с тактовым входом регистра вывода и с единичным входом шестого триггера, выход которого соединен с вторыми входами третьего и четвертого элементов И, с первым входом п того элемента И и с входом второго элемента задержки, выход которого соединен с нулевым входом шестого триггера, инверсный выход п того триггера соединен с вторым входом п того элемента И и с первыми входами элементов И третьей группы, вторые входы которых соединены с входами сигналов прерывани  устройства, выход п того элемента И соединен с первыми входами элементов И второй группы, выходы регистра вывода соединены с первыми входами элементов И первой группы, с вторыми входами элементов И второй группы, пр мой и инверсный выходы третьего триггера соединены с третьими входами третьег и четвертого элементов И соответственно , выход третьего элемента И соединен с вторыми входами с первого по n/2-й ( h- число запросов) элементов И первой , выход четвертого элемента И соединен с вторыми входами с( h/2 + 1 )-го по h-и элементов И первой группы, выход второго элемента И соединен с тактовым входом регистра маски, информационные входы регистра маски соеди- ены с выходами элементов И четвертой группы, выходы регистра маски соединены с нулевыми входами регистра прерываний, выходы элементов И третьей группы объединены с выходами одноименных элементов И п той группы и соединены с тактовыми входами регистра прерываний, выходы регистра прерываний соединены с группой вхо- ,дов узла приоритета и с входами второго элемента ИЛИ, выходы узлаA device for interrupting programs containing the interrupt register, mask register, five groups of AND elements, the first OR element, two AND elements, two triggers, and a generic interrupt signal generation unit, the group of information inputs of the mask register connected to the device information input group, outputs the elements of the first group are connected to the zero inputs of the corresponding bits of the interrupt register, the outputs of the elements of the second group are connected to the code outputs of the device, the clock input of the first trigger is connected to input home signal exchange device, the generation unit of the generalized interrupt signal contains the first element AND, the first element NOT and the first trigger, characterized in that in order to increase speed, a decoder, an output register, a priority node, an encoder, four triggers, two delay elements are entered into it , the three elements And the second element OR, and the information inputs and outputs of the device are connected to the inputs of the decoder, the output register and the outputs of the elements of the third group, the first and second outputs of the decoder are connected to the information the inputs of the first and second triggers, respectively, the third output of the decoder is connected to the first output of the first OR element and to the information input of the third trigger, the fourth output of the decoder is connected to the second input of the first OR element, the output of which is connected to the information input of the fourth trigger, clock inputs of the second and fourth triggers connected to the signal input of the device exchange; direct outputs of the first and second flip-flops are connected ::; with the first inputs of the first and second elements And, respectively, the second inputs of which are connected to the signal input device recording, the direct output of the fourth trigger is connected to the third input of the third trigger and the clock input of the fifth trigger, the fourth output of the third trigger and the fourth element And with the input of the first delay element, the output of which is connected to the zero input of the fifth trigger, the output of the first element And is connected to the clock input of the output register and to the single input of the sixth an igger, the output of which is connected to the second inputs of the third and fourth elements I, to the first input of the fifth element I and to the input of the second delay element, the output of which is connected to the zero input of the sixth trigger, the inverse output of the fifth trigger And and with the first inputs of elements AND of the third group, the second inputs of which are connected to the inputs of the interrupt signals of the device, the output of the fifth element AND connected to the first inputs of elements AND of the second group, the outputs of the output register are connected to the first inputs elements of the first group, with the second inputs of the elements of the second group, the direct and inverse outputs of the third trigger are connected to the third inputs of the third and fourth elements AND, respectively, the output of the third element I is connected to the second inputs from the first to n / 2th (h- the number of requests for the elements I and the first, the output of the fourth element I, and connected to the second inputs from (h / 2 + 1) -th through the h elements of the AND group of the first group, the output of the second element I connected to the clock input of the mask register - En with outputs of elements And of the fourth group, the outputs of the mask register are connected to the zero inputs of the interrupt register, the outputs of elements AND of the third group are combined with the outputs of the same elements of the And fifth group and are connected to the clock inputs of the register of interruptions, the outputs of the register of interruptions are connected to the input and output group of the priority node and the second element OR the node outputs 00 5five 00 5five 00 5five 00 5five приоритета соединены с группой входов шифратора и с первыми входами элементов И п то11 группы, выходы шифратора соединены с первыми входами элементов И четвертой группы, вторые входы которых соединены с вторыми входами одноименных элементов И п - той группы, блок выработки обобщенного сигнала прерывани  дополнительно содержит второй,третий,четвертый и п тый элементыИ,второй элемент fIF ,второй триггер и элемент задержки,причем в блоке выработки обобщенного сигнала прерывани  выход первого элем ёнта И соединен с едипичньи вхо- дом первого триггера, нулевой вход которого соединен с входом первого элемента НЕ, с первыми входами второго и третьего элементов И и через элемент задержки с первым входом четвертого элемента И, второй вход которого .соединен с нулевы выходом второго триггера, нулевой вход кото- рого соединен с выходом третьего элемента И, выход второго элемента НЕ соединен с вторым входом третьего элемента И, выход первого элемента НЕ соединен с первым входом первого элемента И, выход второго элемента И соединен с единичным входом второго триггера, пр мой выход которого соединен с первым входом п того элемента И, второй вход которого соединен с входом второго элемента НЕ, второй вход второго элемента И соединен с выходом первого триггера и  вл етс  выходом требовани  прерывани  устройства, вход предоставлени  прерывани  которого соединен с входом первого элемента НЕ блока выработки обобщенного сигнала прерывани  и с тактовым входом узла приоритета , выход п того элемента И блока выработки обобщенного сигнала прерывани  соединен с вторыми входами элементов И четвертой и п той групп, выход второго элемента ИЛИ соединен с вторым входом первого элемента И блока выработки обобщенного сигнала прерывани , вход сигнала Чтение устройства соединен с входом второго элемента НЕ блока выработки обобщенного сигнала прерывани , выход четвертого элемента И которого  вл етс  выходом прерывани  устройства.priority connected to the group of inputs of the encoder and with the first inputs of elements And group 11, the outputs of the encoder connected with the first inputs of elements AND of the fourth group, the second inputs of which are connected to the second inputs of the same elements And p - that group, the generating unit of the generalized interrupt signal additionally contains the second , the third, fourth and fifth elements, the second element fIF, the second trigger and the delay element; moreover, in the generating unit of the generalized interrupt signal, the output of the first element I is connected to the single input the first trigger, the zero input of which is connected to the input of the first element NOT, to the first inputs of the second and third elements I and through the delay element to the first input of the fourth element I, the second input of which is connected to the zero output of the second trigger, the zero input of which is connected to the output of the third element And, the output of the second element is NOT connected to the second input of the third element And, the output of the first element is NOT connected to the first input of the first element And, the output of the second element And is connected to the single input of the second trigger, direct output which is connected to the first input of the fifth element AND, the second input of which is connected to the input of the second element NOT, the second input of the second element AND is connected to the output of the first trigger and is the output of the interrupt demand of the device, the input providing the interruption of which is connected to the input of the first element NOT generating a generalized interrupt signal and with a clock input of the priority node, the output of the fifth element And the generating unit of the generalized interrupt signal is connected to the second inputs of the elements of the fourth and fifth groups, the output Here, the second element OR is connected to the second input of the first element AND the generation unit of the generalized interrupt signal, the input signal of the device is connected to the input of the second element NOT of the general generation interrupt signal generation unit, the output of the fourth element I of which is the output interrupt device. /w/ w ww RR J6J6 .t.t Ркдактор Е.КопчаRkdaktor E. Kopcha Составитель М.Кудр шовCompiled by M. Kudr seam Техред И.Попович Корректор Е.РошкоTehred I.Popovich Proofreader E.Roshko Заказ 6667/42 Тираж 671ПодписноеOrder 6667/42 Circulation 671 Subscription ВНИИПИ Государственного комитета СССРVNIIPI USSR State Committee по делам изобретений и открытий 113035, Москва, Ж-35, Раушска  наб., д. 4/5for inventions and discoveries 113035, Moscow, Zh-35, Raushsk nab., 4/5 Производственно-полиграфическое предпри тие, г.Ужгород, ул.Проектна ,4Production and printing company, Uzhgorod, Projecto st., 4 Фиг.FIG.
SU853890453A 1985-04-23 1985-04-23 Device for interrupting programs SU1277109A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU853890453A SU1277109A1 (en) 1985-04-23 1985-04-23 Device for interrupting programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU853890453A SU1277109A1 (en) 1985-04-23 1985-04-23 Device for interrupting programs

Publications (1)

Publication Number Publication Date
SU1277109A1 true SU1277109A1 (en) 1986-12-15

Family

ID=21175348

Family Applications (1)

Application Number Title Priority Date Filing Date
SU853890453A SU1277109A1 (en) 1985-04-23 1985-04-23 Device for interrupting programs

Country Status (1)

Country Link
SU (1) SU1277109A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 955063, кл. G 06 F 9/46, 1982. Авторское свидетельство СССР № 1001103, кл. G 06 F9/46, 1983. *

Similar Documents

Publication Publication Date Title
SU1277109A1 (en) Device for interrupting programs
SU1109752A1 (en) Firmware control unit
SU1179337A1 (en) Microprogram control device
SU1278858A1 (en) Device for storing processor states
SU1405042A1 (en) Data input device
SU1195364A1 (en) Microprocessor
SU1357939A1 (en) Timer
SU1179356A1 (en) Information input-output device
SU1290319A1 (en) Device for servicing interruption interrogations
SU1661762A1 (en) Microprogramming control device
SU1022158A1 (en) Computing device
SU1251055A1 (en) Synchronizing device
SU1596341A1 (en) Computer to computer interface
SU1339569A1 (en) Device for forming interruption signal in program debugging
SU1275441A1 (en) Microprogram control device
SU1234839A1 (en) Device for distributing jobs among processors
SU1332318A1 (en) Multistep microprogramming control device
SU1368889A1 (en) Periphery signal processor
SU1176337A1 (en) Interface
SU1221666A1 (en) Device for exchanging information between digital and analog computer
SU1168945A1 (en) Device for interrupting programs
SU1418652A1 (en) Programmed control device
SU1334162A1 (en) Checking and control system
SU1290490A1 (en) Digital variable delay line
SU1244668A1 (en) Interface for linking processor with k peripherals