SU1001103A1 - Program interruption device - Google Patents

Program interruption device Download PDF

Info

Publication number
SU1001103A1
SU1001103A1 SU813350752A SU3350752A SU1001103A1 SU 1001103 A1 SU1001103 A1 SU 1001103A1 SU 813350752 A SU813350752 A SU 813350752A SU 3350752 A SU3350752 A SU 3350752A SU 1001103 A1 SU1001103 A1 SU 1001103A1
Authority
SU
USSR - Soviet Union
Prior art keywords
inputs
register
elements
output
input
Prior art date
Application number
SU813350752A
Other languages
Russian (ru)
Inventor
Владимир Вячеславович Мельшиян
Валерий Филиппович Федорков
Александр Иванович Гурский
Геннадий Витальевич Никитин
Виктор Владимирович Ильинский
Иван Дмитриевич Якушев
Original Assignee
Предприятие П/Я В-8466
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 Предприятие П/Я В-8466 filed Critical Предприятие П/Я В-8466
Priority to SU813350752A priority Critical patent/SU1001103A1/en
Application granted granted Critical
Publication of SU1001103A1 publication Critical patent/SU1001103A1/en

Links

Landscapes

  • Bus Control (AREA)

Description

Устройство относится к вычислительной технике и может быть использовано в системах прерывания цифровых вычислительных машин.The device relates to computer technology and can be used in interrupt systems of digital computers.

Известно устройство для прерывания 5 программ, содержащее регистр прерываний, регистр масок, блок приоритета, элементы ИЛИ, шифратор, блок предсказания приоритетов, полусумматоры, триггер, элемент И, сумматор и регистр. 10 Недостатком устройства является низкая достоверность выходной информации.A device for interrupting 5 programs is known, comprising an interrupt register, a mask register, a priority block, OR elements, an encoder, a priority prediction block, half adders, a trigger, an AND element, an adder, and a register. 10 The disadvantage of this device is the low reliability of the output information.

Наиболее близким к предлагаемому по технической сущности является устрой- 15 ство, содержащее регистр прерываний, регистр маски, узел приоритета, шифратор, схему сравнения, дешифратор нечетности кода, выход наличия прерывания, контрольный выход, выход кода прерывания и узел анализа состояний регистров, включающий группы элементов И, И-НЕ, и элемент ИЛИ.The closest to the proposed technical essence is ustroy- 15 GUSTs comprising register interrupt mask register, the priority of the node encoder, a comparison circuit, odd code decoder, the output availability interrupt control output, and the interrupt code output node registers the analysis conditions including the group elements AND, AND NOT, and the element OR.

Недостатком известного устройства является низкая достоверность выходной' информации.A disadvantage of the known device is the low reliability of the output 'information.

Цель изобретения - повышение достоверности функционирования устройства программ.The purpose of the invention is to increase the reliability of the functioning of the device programs.

Поставленная цель достигается тем, что устройство для прерывания программ, содержащее регистр прерываний, регистр маски, схему сравнения, две группы элементов И и элемент ИЛИ, причем выходы регистров маски и прерываний подключены соответственно к первым и вторым входам элементов И первой группы, выходы которой подключены к входам элемента ИЛИ, информационные входы регистра маски подключены к соответствующим входам группы информационных входов устройства содержит два триггера, первый и второй элементы И, третью, четвертую, шестую и седьмую группы элементов И, группу элементов ИЛИ, регистр разрешенных прерываний;This goal is achieved in that a device for interrupting programs containing an interrupt register, a mask register, a comparison circuit, two groups of AND elements and an OR element, and the outputs of the mask and interrupt registers are connected respectively to the first and second inputs of the AND elements of the first group, the outputs of which are connected to the inputs of the OR element, the information inputs of the mask register are connected to the corresponding inputs of the group of information inputs of the device contains two triggers, the first and second elements And, the third, fourth, sixth and seventh th group of AND gates, OR element group, interrupt enable register;

регистр адреса и блок выработки обобщенного сигнала прерывания, причем пер4 вые входы первого и второго элементов И, первые входы элементов И второй третьей групп, первая группа входов 5 схемы сравнения и первый вход блока выработки обобщенного сигнала прерывания подключены к соответствуюшим входам группы информационных входов устройства, тактовый вход первого Тригге- 10 ра й первые входы элементов И четвертой группы соединены с тактовым входом устройства, выходы элементов И четвертой группы подключены соответственно к второму входу блока выработ- 15 ки обобщенного сигнала прерывания, тактовому входу регистра маски, тактовому входу регистра разрешенных прерываний, к вторым входам первого и второго элементов И, к вторым входам элементов 20 И второй и третьей групп и к первым 'входам элементов И пятой и шестой (групп, выходы первого и второго элементов И подключены соответственно к входу установки в нуль и к входу установки 25 в единицу второго триггера, прямой и инверсный выходы которого соединены соответственно с третьими входами эле^-с ментов И третьей группы и с первыми входами элементов И седьмой группы, jg вторые входы которой подключены к вхо дам сигналов прерывания устройства, выходы третьей и седьмой групп элементов И соединены соответственно с первыми и вторыми входами соответствующих элементов ИЛИ группы, выходы которой подключены к входам установки в единицу соответствующих разрядов регистра прерываний, выходы второй группы элементов И подключены к входам установки в нуль соответствующих разрядов, регистра прерываний, выходы первой группы элементов И соединены с информационными входами регистра разрешенных прерываний, выходы регистра разрешенных прерываний и регистра маски соединены с вторыми входами элементов И соответственно пятой и шёстой групп, выходы пятой и шестой групп элементов И подключены к информационным выходам устройства, выход элемента ИЛИ соединен с третьим входом блока выработки обобщенного сигнала прерывания, выход которого подключен к выходу прерывания устройства.the address register and the unit for generating a generalized interrupt signal, the first inputs of the first and second elements AND, the first inputs of the elements And the second third groups, the first group of inputs 5 of the comparison circuit and the first input of the unit for generating the generalized interrupt signal connected to the corresponding inputs of the group of information inputs of the device, the clock input of the first Trigger is the 10th and the first inputs of the elements of the fourth group are connected to the clock input of the device, the outputs of the elements of the fourth group are connected respectively to the second input of the unit to generate a generalized interrupt signal, the clock input of the mask register, the clock input of the register of allowed interrupts, to the second inputs of the first and second AND elements, to the second inputs of the 20 AND elements of the second and third groups and to the first 'inputs of the AND elements of the fifth and sixth ( groups, the outputs of the first and second elements AND are connected respectively to the input of the installation to zero and to the input of the installation 25 in the unit of the second trigger, the direct and inverse outputs of which are connected respectively to the third inputs of the elements of the third group and the first inputs the elements of AND elements of the seventh group, jg whose second inputs are connected to the inputs of the device interrupt signals, the outputs of the third and seventh groups of AND elements are connected respectively to the first and second inputs of the corresponding elements of the OR group, the outputs of which are connected to the unit inputs of the corresponding bits of the interrupt register, the outputs of the second group of elements AND are connected to the inputs of setting to zero the corresponding bits, the interrupt register, the outputs of the first group of elements AND are connected to the information inputs of the register allowed interrupts, the outputs of the register of allowed interrupts and the register of the mask are connected to the second inputs of the AND elements, respectively, of the fifth and sixth groups, the outputs of the fifth and sixth groups of elements AND are connected to the information outputs of the device, the output of the OR element is connected to the third input of the unit for generating a generalized interrupt signal, the output of which connected to the interrupt output of the device.

5S5s

Кроме того, блок выработки обойденного сигнала прерывания содержит триггер, элемент И, элемент И-НЕ, элементIn addition, the block generating the bypassed interrupt signal contains a trigger, an AND element, an NAND element, an element

ИЛИ, инвертор, генератор тактовых импульсов и счетчик, причем первый и второй входы элемента И подключены соответственно к первому и второму входам блока, вход инвертора и первый вход элемента И-НЕ объединены и подключены к третьему входу блока, выходы инвертора и элемента И соединены соответственно с первым и вторым входами элемента ИЛИ, выход которого подключен к входу установки в единицу триггера, выход триггера соединен с вторым входом элемента И-НЕ, выход которого соединен с входом установки в нуль счетчика, выход генератора соединен со счетным входом счетчика, первый и второй выходы которого подключены соответственно к выходу и к входу установки в нуль триггера.OR, an inverter, a clock and a counter, the first and second inputs of the AND element connected respectively to the first and second inputs of the block, the inverter input and the first input of the AND gate NOT combined and connected to the third input of the block, the outputs of the inverter and the AND element connected respectively with the first and second inputs of the OR element, the output of which is connected to the installation input to the trigger unit, the trigger output is connected to the second input of the AND-NOT element, the output of which is connected to the installation input to the counter zero, the generator output is connected with a counter counter input, the first and second outputs of which are connected respectively to the output and to the zero input of the trigger.

На чертеже представлена функциональная схема устройства для прерывания программ. J The drawing shows a functional diagram of a device for interrupting programs. J

Устройство содержит группу входов 1 прерываний устройства, схему 2 сравнения, регистр 3 адреса, триггер 4, группы элементов И 5-11, группу элементов ИЛИ 12, элементы И 13 и 14, триггер 15, регистр 16. маски, регистр 17 прерыва- , ний, регистр 18 разрешенных прерываний, элемент ИЛИ 19, блок 20 выработки обобценного сигнала прерывания, включающий в себя элемент И 21, инвертор 22, элемент ИЛИ 23, триггер 24, генератор 2 5 тактовых импульсов, элемент И-НЕ 26, счетчик 2 7, выход 28 прерывания устройства, группу информационных входов 29 устройства, тактовый вход 30 устройства, информационные выходы 31 устройства.The device contains a group of inputs 1 of the device interrupt, a comparison circuit 2, address register 3, trigger 4, group of elements 5-11, group of elements OR 12, elements 13 and 14, trigger 15, register 16. masks, register 17 interrupt-, register, enabled interrupt 18, OR element 19, block 20 generating an invalid interrupt signal, which includes AND 21, inverter 22, OR 23, trigger 24, clock generator 2 5, AND-NOT 26 element, counter 2 7 , the output 28 of the interrupt device, a group of information inputs 29 of the device, the clock input 30 of the device, in ormatsionnye outputs 31 of the device.

Устройство работает в двух режимах, программно устанавливаемых цифровой вычислительной машиной (ЦВМ): в основном режиме и режиме контроля.The device operates in two modes programmatically set by a digital computer (digital computer): in the main mode and the control mode.

В основном режиме ожидания внешних запросов на прерывание ЦВМ с помощью схемы 2, триггера 4, группы элементов И 5 и регистра 3 подключает устройство к каналу связи и устанавливает режим ' Неконтроль. Для этого по командам про_граммы-супервизора (программы диспетчера) ЦВМ из группы входов 29, связанных с выходной информационной магистралью ЦВМ, в устройство поступает математический адрес устройства, который сравнивается в схеме 2 сравнения с физическим адресом устройства, жестко прошитым в регистр^ 3 адреса и факт сравнения с выхода схемы 2 сравнения посту1001103 6 пает на информационный вход триггера 4, где фиксируется управляющим сигналом ЦВМ, поступающим на тактовый вход триггера 4 в качестве сигнала сопровождения математического адреса. Выход триггера 5 4 соединен с входами группы элементов И 5-и в случае сравнения адресов, высокий уровень логической единицы с выхода триггера 4 разрешает прохождение в устройство через группу элементов И 5 10 управляющих сигналов ЦВМ, поступающих с входа 30. После этого программа-супервизор ЦВМ устанавливает триггер 15 в состояние нуля, а в регистр 16 засылается код маски для поразрядной конь-'5 юктивной фильтрации запросов на прерыванние с учетом их приоритетов. Программное обнуление триггера 14 осуществляется через элемент И 13, сигнал с выхода которого поступает на вход установки в нуль ч 20 триггера 15.In the main standby mode of external requests for interruption of a digital computer using circuit 2, trigger 4, group of elements And 5 and register 3 connects the device to the communication channel and sets the mode to 'Uncontrolled'. For this, by the commands of the supervisor program (supervisor program) of the digital computer from the group of inputs 29 connected to the output information line of the digital computer, the device receives the mathematical address of the device, which is compared in comparison circuit 2 with the physical address of the device, hard-coded into register ^ 3 addresses and the fact of comparison from the output of the comparison circuit 2 is sent to the information input of trigger 4, where it is fixed by the control signal of the digital computer supplied to the clock input of trigger 4 as a signal for tracking the mathematical address. The output of trigger 5 4 is connected to the inputs of the group of AND 5 elements; in the case of address comparison, the high level of the logical unit from the output of trigger 4 allows the computer to receive 10 control signals from the input 30 from the input 30. After that, the supervisor The digital computer sets the trigger 15 to zero, and the mask code is sent to register 16 for the bitwise horse - 5 filtering of requests for interruptions based on their priorities. Software resetting of the trigger 14 is carried out through the element And 13, the signal from the output of which is fed to the input of the installation at zero hours 20 of the trigger 15.

Код в регистр 16 из ЦВМ поступает также через группу входов 29 и фиксируется сопровождающим управляющим ЦВМ, посту- 25 .пающим с выходов группы элементов И 5, на тактовый вход регистра маски 16. Триггер 15, установленный в нуль, высоким уровнем с инверсного выхода разрешает прохождение через группу элементов И 8, группу элементов ИЛИ 12 на входы поразрядной установки в единицу регистра 17 асинхронных сигналов-запросов на прерывание от внешних устройств, других ЦВМ и г. д., поступающих из группы входов 1. При этом уровень логического нуля с прямого выхода триггера 15 блокирует прохождение сигналов через группу элементов И 9, сигналы поразрядного обнуления регистра 17 поступают через группу элементов И 7. Каждому внешнему абоненту присвоен уровень приоритета и отведен свой канал (разряд в регистре 17 прерываний). Сигналы-запросы на прерывание фиксируются в регистре 17 прерываний и поразрядно логически умножаются на код регистра 16 на элементах И 6, где выявляются разрешенные маской прерывания, которые с выходов элементов И 6 поступают на информационные входы регистра 18, а также на входы элемента ИЛИ 19. На выходе элемента ИЛИ 19 появляется сигнал логической единицы, когда хотя бы в одном разряде единица в регистре прерываний 17 совпала с единицей соответствующего разряда регистра 16 маски. Этот сигнал поступает на третий вход блока 20 выработ ки обобщенного сигнала прерывания. В отсутствие прерываний (исходное состояние) сигнал уровня логического нуля с выхода элемента ИЛИ 19 через третий вход блока 20, инвертор 22, элемент ИЛИ 23 жестко устанавливает триггер 24 в единичное состояние по входу установки в единицу. Одновременно этот сигнал с выхода элемента ИЛИ 10 через третий вход узла 20 вырабатывает вместе с сигналом логической единицы с выхода триггера 24, ня вы-, ходе элемента И-НЕ 26 сигнал уровня логической единицы, который жестко обнуляет по выходу установки в нуль счетчик 27 и блокирует счет импульсов генератора 2 5, поступающих на тактовый вход счетчика 27. При появлении на выходе первого элемента ИЛИ 19 сигнала уровня логической единицы, свидетельствующего о наличии разрешенного маской прерывания (прерываний), этот сигнал через третий вход блока 20, инвертор 22, элемент ИЛИ 23 снимает сигнал высокого уровня с выхода установ— ки в нуль триггера 24. При этом триггер 24 остается в единичном состоянии до прихода управляющего сигнала положительной полярности на его вход установки в нуль. Одновременно сигнал уровня логической единицы с выхода элемента ИЛИ 19 через третий вход блока 20, ' совместно с сигналом уровня логической единицы с выхода триггера 24 вырабатывает на выходе элемента И-НЕ 26 сигнал уровня логического нуля, который разблокировываег счетчик 2 7. Первый импульс с генератора 2 5, поступающий на счетный вход счетчика 2 7, выработает не первом выходе счетчика 2 7 импульс, который выдается в ЦВМ в качестве обобщенного сигнала прерывания. Следующий импульс с генератора 25 вырабатывает импульсный сигнал на втором выходе г счетчика 27, который поступает на вход установки в нуль триггера 24 и обнуляет его. Уровень логического нуля с выхода триггера 24 через элемент И-НЕ 26 вновь обнуляет счетчик 27. Получив обобщенный сигнал прерывания, ЦВМ подключает устройство к каналу связи через блок 1, после чего управляющим сигналом с выхода группы элементов И 5, поступающим''на тактовый вход регистра 18, переписывает с выходов группы элементов И 6 код разрешенных прерываний в регистр 18. Затем ЦВМ через группы элементов И 10 и 11 по группе выходов 31 устройΊ ства считывает информацию соответственно с выходов регистра 18 разрешенных прерываний и регистра 16 маски. После этого программа-супервизор ЦВМ производит анализ по приоритету содержимого регистра 18 разрешенных прерываний и определяет запросившего ее абонента старшего по приоритету в случае наличия более одного разрешенного Запроса в регистре 18. Затем программасупервизор обнуляет разряд регистра 17 прерываний, соответствующий запросившему абоненту, а также обнуляет все . разряды регистра 16 маски более низких приоритетов, но открывает разряды регистра маски более старших по приоритету относительно запросившего. При этом сигнал уровня логического нуля с выхода элемента ИЛИ 19, поступающий на третий вход блока 20, устанавливает блок 20 в исходное состояние, т. е. счетчик 27 через элемент И-НЕ 26 обнуляется и блокируется, а триггер 24 через инвертор 22. и второй элемент ИЛИ 23 устанавливается в единичное состояние. Затем команда программысупервизора для увеличения надежности через первый и второй входы блока 20; связанные Соответственно с группой входов 29, через элемент И 21, элемент ИЛИ 23 подтверждает установку триггера 24 в единичное состояние. Устройство готово к приему нового сигнала запроса более высокого по приоритету относительно запросившего. После этого ЦВМ уходит на программу обработки запросившего ее абонента. Регистр 18 служит для промежуточного запоминания разрешающих маской запросов, поэтому во время считывания ЦВМ его состояние не изменяется. Введение регистра исключает потерю повторных заявок, так как в начале программы обработки разрешенного маской запроса, код с выхода группы элементов И 6 переписывается в регистр 18, а разрешенный маской разряд регистра 17 программно гасится и регистр 17 по этому разряду может принимать новые заявки.The code in register 16 from the digital computer also enters through the group of inputs 29 and is fixed by the accompanying control digital computer, which receives 25. From the outputs of the group of elements And 5, to the clock input of the mask register 16. Trigger 15, set to zero, allows a high level from the inverse output to passing through the group of elements AND 8, the group of elements OR 12 at the inputs of the bitwise installation in the register unit 17 asynchronous interrupt request signals from external devices, other digital computers, etc. coming from the group of inputs 1. At the same time, the level of logical zero from direct out Yes, trigger 15 blocks the passage of signals through the group of elements And 9, the signals of bitwise zeroing of the register 17 are received through the group of elements And 7. Each external subscriber is assigned a priority level and a channel is assigned (discharge in the register of 17 interruptions). Interrupt request signals are fixed in the interrupt register 17 and bitwise logically multiplied by the register code 16 on the And 6 elements, where interrupts allowed by the mask are detected, which from the outputs of the And 6 elements go to the information inputs of the register 18, as well as to the inputs of the OR element 19. At the output of the OR element 19, a logical unit signal appears when the unit in at least one bit in the interrupt register 17 coincides with the unit in the corresponding bit in the mask register 16. This signal is fed to the third input of the generalized interrupt signal generating unit 20. In the absence of interruptions (initial state), the logic level zero signal from the output of the OR element 19 through the third input of the block 20, the inverter 22, the OR element 23 rigidly sets the trigger 24 to a single state at the input of the unit. At the same time, this signal from the output of the OR element 10 through the third input of the node 20 generates, together with the signal of the logical unit, from the output of the trigger 24, the output is the course of the AND-NOT 26 element, the signal of the level of the logical unit, which hardly resets the counter 27 to the zero output and blocks the count of pulses of the generator 2 5 received at the clock input of the counter 27. When the output of the first element OR 19, the signal level of the logical unit, indicating the presence of the mask allowed interrupts (interrupts), this signal through the third input of block 20, inverter 22, OR element 23 removes a high-level signal from the zero output of trigger 24. In this case, trigger 24 remains in a single state until a control signal of positive polarity arrives at its zero input. At the same time, the logic level signal from the output of the OR element 19 through the third input of block 20, 'together with the logic level signal from the output of the trigger 24, generates a logic zero level signal at the output of the AND-NOT 26 element, which unlocks the counter 2 7. The first pulse from the generator 2 5, arriving at the counting input of the counter 2 7, will generate not the first output of the counter 2 7 pulse, which is issued to the computer as a generalized interrupt signal. The next pulse from the generator 25 produces a pulse signal at the second output of the counter 27, which is fed to the input of the zero to the trigger 24 and resets it. The logic zero level from the output of the trigger 24 through the AND-NOT 26 element again resets the counter 27. Having received a generalized interrupt signal, the digital computer connects the device to the communication channel through block 1, after which the control signal from the output of the And 5 group of elements arrives at the clock input register 18, overwrites the code of allowed interrupts from the outputs of the group of elements And 6 to register 18. Then, the computer reads the information from the outputs of the register 18 of allowed interrupts and register 16 of the mask through the group of elements And 10 and 11 according to the group of outputs 31 of the device. After that, the computer supervisor program analyzes the priority of the contents of register 18 of allowed interrupts and determines the highest priority subscriber who requested it if there is more than one allowed Request in register 18. Then the program supervisor resets the discharge of register 17 of interruptions corresponding to the requested subscriber, and also resets everything . bits of register 16 of the mask are of lower priority, but opens the bits of the register of the mask of higher priority in relation to the requestor. In this case, the signal of the logic zero level from the output of the OR element 19, supplied to the third input of the block 20, sets the block 20 to its initial state, i.e., the counter 27 is reset and blocked through the AND-NOT 26 element, and the trigger 24 through the inverter 22. and the second element OR 23 is set to a single state. Then, the supervisor program command to increase reliability through the first and second inputs of block 20; associated Accordingly with the group of inputs 29, through the element And 21, the element OR 23 confirms the installation of the trigger 24 in a single state. The device is ready to receive a new request signal with a higher priority than the requestor. After that, the digital computer goes to the processing program of the subscriber who requested it. The register 18 serves for the intermediate storage of requests allowing the mask, so during the reading of the digital computer its state does not change. The introduction of the register eliminates the loss of repeated applications, since at the beginning of the program processing the request mask allowed, the code from the output of the group of elements And 6 is written into register 18, and the bit of register 17 allowed by the mask is programmatically extinguished and register 17 can receive new applications from this category.

В режиме Контроль ЦВМ программно устанавливает триггер 15 в единичное состояние через элемент И 14. ТоГ выхода триггера 15 поступает на входы группы элементов И 9 и разрешает стробирование информации из ЦВМ, поступающей из группы-входов 29. Сигналы с вы5 ходов элементов И 9 через группу элементов ИЛИ 12 поступают на соответствующие входы установки в единицу разрядов регистра 17, имитируя сигналы внешних заявок на .прерывание.In the Control mode, the digital computer sets the trigger 15 in a single state through the And 14 element. The output toggle of the 15 trigger goes to the inputs of the And 9 element group and allows the gate of the information from the digital computer coming from the input group 29. The signals from the outputs of the And 9 elements through the group OR elements 12 are supplied to the corresponding inputs of the installation in the unit of bits of the register 17, simulating the signals of external applications for. interruption.

В режиме Контроль ЦВМ программно заносит сигналы, имитирующие внешние прерывания в регистр 17 прерываний, обрабатывает их с использованием регистра 16 маски по вышеописанному 15 алгоритму и контролирует таким образом исправность трактов прохождения запросов на прерывание, а также осуществляет контроль функционирования схемы блока 20 выработки обобщенного сигн-а20 ла прерывания.In the Monitoring mode, the computer programmatically enters signals simulating external interrupts into the interrupt register 17, processes them using the mask register 16 according to the above algorithm 15 and thus monitors the serviceability of the interrupt request paths, and also monitors the functioning of the circuit of the generalized signal generating unit 20 A20 la interruption.

Применение предлагаемого изобретений позволяет повышать достоверность функционирования устройства.The use of the proposed invention improves the reliability of the operation of the device.

Claims (2)

Устройство относитс  к вычислительной технике и может быть использовано в системах прерывани  цифровых вычислительных машин. Известно устройство дл  прерывани  программ, содержащее регистр прерываний , регистр масок, блок приоритета, элементы ИЛИ, шифратор, блок предсказани  приоритетов, полусумматоры, трит гер, элемент И, сумматор и регистр. Недостатком устройства  вл етс  низ ка  достоверность выходной информации. Наиболее близким к предлагаемому по технической сущности  вл етс  устрой ство, содержащее регистр прерываний, регистр маски, узеп приоритета, шифратор , схему сравнени , дешифратор нечетности кода, выход наличи  прерывани , контрольный выход, выход кода прерывани  и узел анализа состо ний регистров, включакогай группы элементов И, И-НЕ, и элемент ИЛИ. Недостатком известного устройства  вл етс  низка  достоверность выходной информации. Цель изобретени  - повышение достоверности функционировани  устройства программ. Поставленна  цель, достигаетс  тем, что устройство дл  прерывани  программ, содержащее регистр прерываний, регистр маски, схему сравнени , две группы элементов И и элемент ИЛИ, причем выходы регистров маски и прерьгоаний подключены соответственно к первым и вторым Входам элементов И первой группы , выходы которой подключены JK входам элемента ИЛИ, информациотшые входы регистра маски подключены к соответствук цим входам группы информационных входов устройства содержит два триггера, первый и второй элементы И, третью, четвертую, шестую и седьмую группы элементов И, группу элементов ИЛИ, регистр разрешенных прерываний, регистр адреса и блок вьфаботки обобщенного сигнала прерывани , причем пер4 вые входы первого и второго элементов И, первые входы элементов И второй и третьей групп, перва  группа входов схемы сравнени  и первый вход блока выработки обобщенного сигнала прерывани  подключены к соответствующим входам группы информационных входов уст ройства, тактовый вход первого триггера и первые входы элементов И четвертой группы соединены с тактовьпи входом jTsтройства, выходы элементов И четвертой группы подключены соответственно к второму ВХОДУ блока выработки обойденного сигнала прерьшани , TEI товому входу регистра маски, тактовому входу регистра разрешенных прерываний, к вторым входам первого и второго элементов И, к Вторым входам элементов И второй и третьей групп и к первым |входам элементов И п той и шестой групп, выходы первого и второго элементов И подключены соответственно к вход установки в нуль и к входу установки в единицу второго триггера, пр мой и инверсный выходы которого соединены соответственно с третьими входами элементов И третьей группы и с первыми входами элементов И седьмой группы, вторые входы .которой подключены к входам сигналов прерьгоани  устройства, выходы третьей и седьмой групп элементов И соединены соответственно с первыми и вторыми входами соответствук ших элементов ИЛИ группы, вькоды которой подключены к входам установки в единицу соответствующих разр дов регистра прерываний, выходы второй груп пы элементов И подключены к входам установки в нуль соответствующих разр дов , регистра прерываний, вькоды первой группы элементов И соединены с информационными входами регистра разрешенных прерьтаний, выходы регистра разрешенных прерываний и регистра маски соединены с вторыми входами элементов И соответственно п той и шестой групп, выходы п той и шестой групп элементов И подключены к информационным выходам устройства, выход элемента ИЛИ соединен с третьим входом блока выработки обобщенного сигнала прерывани , выход которого подключен к выходу прерьшани  устройства. Кроме того, блок выработки обойценного сигнала прерывани  содержит триггер , элемент И, э лемент И-НЕ, элемент ИЛИ, инвертор, генератор тактовых импульсов и счетчик, причем первый и второй входы элемента И подключены соответственно к первому и второму входам блока, вход инвертора и первый вход элемента И-НЕ объединены и подключены к третьему входу блока, выходы инвертора и элемента И соединены соответственно с первым и вторым входами элемента ИЛИ, выход которого подключен к входу з становки в единицу триггера, выход триггера соединен с вторым входом элемента И-НЕ, выход которого соединен с входом установки в нуль счетчика, выход генератора соединен со счетным входом счетчика, первый и второй выходы которого подключены соответственно к выходу и к входу установки в нуль триггера. На чертеже представлена функциональна  схема устройства дл  прерьгоани  программ. Устройство содержит группу входов 1 прерываний устрюйства, схему 2 сравнени , регистр 3 адреса, триггер 4, группы элементов И 5-11, группу элементов ИЛИ 12, элементы И 13 и 14, триггер 15, регистр 16, маски, регистр 17 прерьта- , НИИ, регистр 18 разрешенных прерываний, элемент ИЛИ 19, блок 20 выработки обо&ценного сигнала прерывани , включающий в себ  элемент И 21, инвертор 22, элемент ИЛИ 23, триггер 24, генератор 25 тактовых импульсов, элемент И-НЕ 26, счетчик 27, выход 28 прерывани  устройства, группу информационных входов 29 устройства, тактовый вход 30 устройства, информационные выходы 31 устройства. Устройство работает в двух режимах, программно устанавливаемых цифровой вычислительной машиной (ЦВМ): в основном режиме и режиме контрол . В основном режиме ожидани  внешних запросов на прерывание ЦВМ с помошью схемы 2, триггера 4, группы элементов И 5 и регистра 3 подключает устройство к каналу св зи и устанавливает режим Н.еконтроль. Дл  этого по командам про граммы-супервизора (программы диспетче-; ра) ЦВМ из группы входов 29, св занных с выходной информационной магистралью ЦВМ, в устройство поступает математический адрес устройства, который сравниваетс  в схеме 2 сравнени  с физическим адресом устройства, жестко прошитым в perwcrp 3 адреса и факт сравнеди  с выхода схемы 2 сравнени  поступает на информационный вход триггерЬ. 4, где фиксируетс  управп клцим сигнало ЦВМ, поступающим на тактовый вход три гера 4 в качестве сигнала сопровождени математического адреса. Выход триггера 4 соединен о входами группы элементов И 5-и в случав сравнени  адресов, высо кий уровень логической единицы с выхода триггера 4 разрешает прохождение в устройсгео через группу элеме ггов И 5 управл к цкх сигналов ЦВМ, поступающих с вкода 30. После этого программа-супервизор ЦВМ устанавливает триггер 15 в состо ние нул , а в регистр 16 за сылаетс  код маски дл  поразр дной кон юктивной фильтрации запросов на npepH ние с учетом их приоритетов. Программн обнуление триггера 14 осуществл етс  через элемент И 13, сигнал с выхода кот рого поступает на вход jcTaHOBKU в нуль т ггера 15. Код в регистр 16 из ЦВМ поступает также через групп у входов 2 9 и фиксируетс сопровождающим управл нлцим ЦВМ, посту . пающим с выходов группы элементов И 5, на тактовый вход регистра маски 16. Триггер 15, установленный в нуль, высоким уровнем с инверсного выхода разрешает прохождение через группу элементов И 8, группу элементов ИЛИ 12 на входы поразр дной установки в единицу регистра 17 асинхронных сигналов-запросов на прерывание от внешних устройств других ЦВМ и т. д., поступающих из группы входов 1. При этом уровень логического нул  с пр мого выхода триггера 15 блокирует прохождение сигналов через группу элементов И 9, сигналы поразр дного обнулени  регистра 17 поступают через группу элементов И 7. Каждому внешнему абоненту присвоен уровень приоритета и отведен свой канал (разр д в регистре 17 прерываний). Сигналы-запросы на прерьгоание фиксируютс  в регистре 17 прерываний и поразр дно логически умножаютс  на код регистра 16 на элементах И 6, где вы вл ютс  разрешенные маской прерывани , которые с выходов элементов И 6 поступают на информационные входы регистра 18, а также на входы элемента ИЛИ 19. На выходе элемента ИЛИ 19 по вл етс  сигнал логической единицы , когда хот  бы в одном разр де единица в регистре прерьшаний 17 совпала с единицей соответствующего разр да регистра 16 маски. Этот сигнал поступает на третий вход блока 20 выработки обобщенного сигнала прерьтани . В отсутствие прерываний (исходное состо ние ) сигнал уровн  логического нул  с выхода элемента ИЛИ 19 через третий вход блока 2О, инвертор 22, элемент ИЛИ 23 жестко устанавливает триггер 24 в единичное состо ние по ВХОДУ установки в единицу. Одновременно этот сигнал с выхода элемента ИЛИ 1О через третий вход узла 2О вырабатьтает вместе с сигналом логической единицы с выходу триггера 24, нч вы-, ходе элемента И-НЕ 26 сигнал уровн  логической единицы, который жестко обнул ет по выходу установки в нуль счетчик 27 и блокирует счет импульсов ген&ратора 25, поступающих на тактовый вход счетчика 27. При по влении на выходе первого элемента ИЛИ 19 сигнала уровн  логической единицы, свидетельствующего о наличии разрешенного маской прерывани  (прерываний), этот сигнал через третий вход блока 2 О, инвертор 22, элемент ИЛИ 23 снимает скгнал высокого уровн  с выхода установки в нуль триггера 24. При этом триггер 24 остаетс  в едиш1чном состо нии до прихода управл ющего сигнала положительной пол рности на его вход установки в нуль. Одновременно сигнал уровн  логической единицы с выхода элемента ИЛИ 19 через третий вход блока 20, совместно с сигналом уровн  логической единицы с выхода триггера 24 вырабатывает на выходе элемента И-НЕ 26 сит нал уровн  логического нул , который разбпокировываег счетчик 27. Первый импульс с генератора 25, поступающий на счетный вход счетчика 27, выработает не первом выходе счетчика 27 импульс, который выдаетс  в ЦВМ в качестве обобщенного сигнала прерьгоани . Следующий импульс с генератора 25 вырабатьтает импульсный сигнал на втором выходесчетчика 27, который поступает на вход установки в нуль триргера 24 и обнул ет его. Уровень логического нул  с выхода триггера 24 через элемент И-НЕ 26 вновь обнул ет счетчик 27. Получив обобщенный сигнал прерываЕШ , ЦВМ подключает устройств о к каналу св зг через блок 1, после чего управл ющим сигналом с выхода группы элементов И 5, поступающим на так,товый вход регистра 18, переписывает с вводов груш1Ы элементов И 6 код разрешенных прерываний в регистр 18. Затем ЦВМ через группы элементов И 10 и 11 по группе выходов 31 устройства считывает информацию соответствен но с выходов регистра 18 разрешенных прерываний и регистра 16 маски. После этого программа-супервизор ЦВМ производит анализ по приоритету содержимого регистра 18 разрешенных прерываний и определ ет запросившего ее абонента старшего по приоритету в случае наличи  более одного разрешенного запроса в регистре 18. Затем программасупервизор обнул ет разр д регистра 17 прерываний, собтветствуюший запросившему абоненту, а также обнул ет все , разр ды регистра 16 маски более низких приоритетов, но открывает разр ды регистра маски более старших по приоритету относительно запросившего. При этом сигнал уровн  логического нул  с выхода элемента ИЛИ 19, поступающий на третий вход блока 2 О, устанавливает блок 20 в исходное состо ние, т. е. счетчик 27 через элемент И-НЕ 26 обнул етс  и блокируетс , а триггер 24 через инвертор 22. и второй элемент ИЛИ 23 устанавливаетс  в единичное состо ние. Затем команда программысупервизора дл  увеличени  надежности через первый и второй входы блока 2О; св зашП)1е Соответственно с группой входов 29, через элемент И 21, элемент ИЛИ 23 подтверждает установку триггера 24 в единичное состо ние. Устройство готово к приему нового сигнала запроса более вьюокого по приоритету относительно запросившего. После этого ЦВМ уходит на программу обработки запросившего ее абонента. Регистр 18 служит дл  промежуточного запоминани  разрешанлцих маской запросов, поэтому во врем  считывани  ЦВМ его состо ние не измен етс . Введение регистра исклю чает потерю повторных за вок, так как в начале программы обработки разрешенного маской запроса, код с выхода группы элементов И 6 переписываетс  в регистр 18, а разрешенный маской разр д регистра 17 программно гаситс  и регистр 17 по этому разр ду может при нимать новые за вки. В режиме Контроль ЦВМ программно устанавливает триггер 15 в единичное состо ние через элемент И 14. Тор да уровень логического нул  с инверсног выхода триггера 15 запрещает прохожде ние в устройство через группу элементо И 8 внешних сигналов прерывани , поступаюших по группе входов 1. Высокий Уровень логической единицы с пр мого выхода триггера 15 поступает на входы группы элементов И 9 и разрешает стробирование информации из ЦВМ, поступаюшей из группы-входов 29. Сигналы с выходов элементов И 9 через группу элементов ИЛИ 12 поступают на соответствующие входы установки в единицу разр дов регистра 17, имитиру  сигналы Внешних за вок на .прерывание. В режиме Контроль ЦВМ программно заносит сигналы, имитирующие внешние прерывани  в регистр 17 прерьшаний , обрабатывает их с использованием регистра 16 маски по вьпиеописанному алгоритму и контролирует таким образом исправность трактов прохождени  запросов на прерьтание, а также осуществл ет контроль функционировани  схемы блока 2О выработки обобщенного сигн-ал а прерывани . Применение предлагаемого изобретени$ позвол ет повьш ать достоверность функционировани  устройства. Формула изобретени  1.Устройство дл  прерывани  программ , содержащее регистр прерываний, регистр маски, схему сравнени , две группы элементов И и элемент ИЛИ, причем выходы регистров маски и прерываний подключены соответственно к первым и вторым входам элементов И первой группы , выходы которой подключены к входам элемента ИЛИ, информационные входы регистра маски подключены к соответствующим входам группы информационных входов устройства, отличающеес  тем, что, с целью повьппени  достоверности функционировани , оно содержит два триггера, первый и второй элементы И, третью, четвертую, п тую, шестую и седьмую группы элементов И, группу элементов ИЛИ, регистр разрешенных прерываний, регистр адреса и блок выработки обобщенного сигнала прерывани , причем первые входы первого и второго элементов И, первые входы элементов И второй и третьей групп, перва  группа входов схемы сравнени  и первый вход бпока выработки обо&денного сигнала прерывани  подключены к соответствуюшим входам группы информационных вхо- дов устройства, тактовый вход первого триггера и первые входы элементов И четвертой группы соединены с тактовым входом устройства, выходы элементов  l и четвертой группы подключены соотёетственно к второму входу блока выработки обо&цениого сигнала прерывани , тактовому ВХОДУ регистра маски, тактовому входу регистра разрешенных прерьюаний, к вторым входам первого и второго элеэлеМентовМ , к.вторым входам элементов И йторой и третьей групп и к первьпи входам элементов И п той и шехттой групп, Выходь первого и второго элементов И подключены соответственно к входу установки в нуль и к входу установки в единицу второго триггера, пр мой и ин версный выходы которого соединены соогветст1 енно с третьими входами элементов И третьей группы и с первыми входами элементов И седьмой группы, вторые входы которой подключены к входам сигналов прерывани  устройства, выходы элементов И третьей и седьмой групп ссэединены соответственно с первыми и вторыми входами соответствующих элементов ИЛИ группы, выходы которой подключены к входам установки в единицу соответствующих разр дов регистра прерываний , выходы элементов И второй группы подключены к входам установки в нуль соответсгвуюших разр дов регистра прерываний, выходы элементов И первой группы соединены с информационными входами регистра разрешенных прерываний , выходы регистра разрешенных прерываний и регистра маски соединены с вторыми входами элементов И соответственно п той и шестой групп, выходы | элементов И п той и шестой групп подключены к информационным Евыходам устЮЗ1О ройства, выход элемента ИЛИ соединен с третьим входом блока выработки обобшенного сигнала прерывани , выход которого подключен к выходу прерывани  устройства. 2. Устройство пб п. 1, о т л и ч а ю щ е е с   тем, что блок выработки обобщенного сигнала прерывани  содержит триггер, элемент И, элемент И-НЕ, элемент ИЛИ, инвертор, генератор тактовьЕх импульсов и счетчик, причем первый и второй входы элемента И подключены соответственно к первому и второму входам блока, вход инвертора и первый вход элемента И-НЕ объединены и подключены к третьему ВХОДУ блока, выходы инверггора и элемента И соединены соответственно с первым и вторым входами элемента ИЛИ, выход которого подключен к входу установки в единицу триггера , выход триггера соединен с вторым входом элемента И-НЕ, выход которого соединен с входом установки в нуль счетчика , выход генератора соединен со счетным входом счетчика, первый и второй выходы которого подключены соответственно к выходу блока и к входу установки в нуль триггера. Источники информации, прин тые во внимание при экспертизе 1.Авторское свидетельство СССР № 7361О1, кл G 06 F 9/46, 198О. The device relates to computing technology and can be used in digital computer interruption systems. A device for interrupting programs is known comprising an interrupt register, a mask register, a priority block, OR elements, an encoder, a priority prediction block, half adders, a trit ger, an AND element, an adder, and a register. The disadvantage of the device is low accuracy of the output information. The closest to the proposed technical entity is a device containing an interrupt register, mask register, priority node, encoder, comparison circuit, code oddity decoder, interrupt status output, control output, interrupt code output, and the register analysis node, including elements AND, and-NOT, and the element OR. A disadvantage of the known device is the low accuracy of the output information. The purpose of the invention is to increase the reliability of the operation of the device programs. The goal is achieved by the fact that a device for interrupting programs that contains an interrupt register, a mask register, a comparison circuit, two groups of AND elements and an OR element, with outputs of the mask and preregional registers connected to the first and second Inputs of the AND elements of the first group, the outputs of which the JK inputs of the OR element are connected, the information inputs of the mask register are connected to the corresponding inputs of the group of information inputs of the device contains two flip-flops, the first and second elements AND, the third, fourth, sixth and the seventh group of elements is AND, the group of elements OR, the register of enabled interrupts, the address register and block of the generalized interrupt signal, the first inputs of the first and second elements AND, the first inputs of elements AND of the second and third groups, the first group of inputs of the comparison circuit and the first input of the block the generation of the generalized interrupt signal is connected to the corresponding inputs of the group of information inputs of the device, the clock input of the first trigger and the first inputs of the elements AND of the fourth group are connected to the clock input of the jT device , the outputs of elements AND of the fourth group are connected respectively to the second INPUT of the bypass signal generation unit, TEI to the new input of the mask register, the clock input of the register of enabled interrupts, to the second inputs of the first and second elements And, to the Second inputs of the And elements of the second and third groups and to the first the inputs of the elements of the And the fifth and sixth groups, the outputs of the first and second elements of And are connected respectively to the input of the setup to zero and to the input of the installation in the unit of the second trigger, the direct and inverse outputs of which are connected to Responsibly with the third inputs of the elements of the third group and with the first inputs of the elements of the seventh group, the second inputs of which are connected to the inputs of the signals from the device's distortion, the outputs of the third and seventh groups of elements of AND are connected respectively to the first and second inputs of the corresponding elements of the OR group, whose codes connected to the installation inputs to the unit of the corresponding bits of the interrupt register, the outputs of the second group of elements AND are connected to the installation inputs to the zero of the corresponding bits of the interrupt register The codes of the first group of elements I are connected to the information inputs of the register of allowed interrupts, the outputs of the register of allowed interrupts and the mask register are connected to the second inputs of the elements AND of the fifth and sixth groups respectively, the outputs of the fifth and sixth groups of elements AND are connected to the information outputs of the device, the output of the element OR is connected to the third input of the generator generating a generalized interrupt signal, the output of which is connected to the output of the device interruption. In addition, the generation of the countercurrent interrupt signal contains a trigger, an AND element, an AND-NO element, an OR element, an inverter, a clock generator and a counter, with the first and second inputs of the AND element connected to the first and second inputs of the block, the inverter input and the first input of the NAND unit is combined and connected to the third input of the unit, the outputs of the inverter and the AND element are connected respectively to the first and second inputs of the OR element, the output of which is connected to the input of the unit in the trigger unit, the output of the trigger is connected to orym input of AND-NO element whose output is connected to the setting input of the counter to zero, the generator output is connected to the counting input of the counter, the first and second outputs of which are connected respectively to the output and to the input of setting to zero the trigger. The drawing shows the functional diagram of the device for prergo programs. The device contains a group of inputs 1 interrupt devices, circuit 2 comparison, register 3 addresses, trigger 4, groups of elements AND 5-11, group of elements OR 12, elements And 13 and 14, trigger 15, register 16, masks, register 17 prerta-, SRI, interrupt enable register 18, element OR 19, valuable signal generation interrupt signal unit 20, including AND 21, inverter 22, OR 23 element, trigger 24, 25 clock generator, AND-26 element, counter 27 , a device interrupt output 28, a group of device information inputs 29, a device clock input 30, and Information outputs 31 devices. The device operates in two modes, programmatically installed by a digital computer (DVM): in the main mode and the control mode. In the main standby mode, the external interrupt request of the digital computer using the circuit 2, trigger 4, group of elements 5 and register 3 connects the device to the communication channel and sets the mode N. to control. To do this, the commands of the supervisor program (controller program) of the digital computer from the input group 29 connected to the output information highway of the digital computer, the device receives the mathematical address of the device, which is compared in the comparison circuit 2 with the physical address of the device hard-coded The perwcrp 3 addresses and the fact are compared with the output of the comparison circuit 2 is fed to the information input of the trigger. 4, where the control signal of the digital computer is detected at the clock input of three 3 as the tracking signal of the mathematical address. The output of the trigger 4 is connected to the inputs of a group of elements AND 5, in the case of a comparison of addresses, a high level of the logical unit from the output of the trigger 4 permits the passage in the device through the group of elements of the AND 5 controls of the digital computers signals coming from code 30. After that, the program The supervisor DVR sets the trigger 15 to the zero state, and to register 16 the mask code is transmitted to alternate concurrent filtering of npePH requests according to their priorities. Software zeroing of the trigger 14 is performed through the element AND 13, the signal from the output of which enters the jcTaHOBKU input to the zero of the player 15. The code to the register 16 from the digital computer also enters through the groups at the inputs 2 9 and is fixed by the accompanying control of the digital computer, the post. pushes from the outputs of the group of elements AND 5 to the clock input of the register of the mask 16. The trigger 15, set to zero, a high level from the inverse output permits the passage through the group of elements AND 8, the group of elements OR 12 to the inputs of a bit set to unit 17 of the asynchronous signals - interrupt requests from external devices of other digital computers, etc., coming from a group of inputs 1. At the same time, the logic zero level from the direct output of the trigger 15 blocks the passage of signals through a group of elements 9, zero-zero signals 17 and fed through a group of AND gates 7. Each external subscriber is assigned a priority level and a retracted channel (discharge in the register 17, the interrupt). Interrogation request signals are fixed in interrupt register 17 and bitwise logically multiplied by register code 16 on AND 6 elements, where you are allowed by an interrupt mask, which from the outputs of the AND 6 elements arrive at the information inputs of the register 18, as well as at the inputs of the element OR 19. At the output of the element OR 19, a signal of a logical unit appears, when at least in one bit the unit in the register of interferences 17 coincided with the unit of the corresponding bit of register 16 of the mask. This signal is fed to the third input of the unit 20 for generating a generalized interruption signal. In the absence of interruptions (initial state), the signal of the logic level zero from the output of the element OR 19 through the third input of the block 2O, the inverter 22, the element OR 23 rigidly sets the trigger 24 to the unit state on the INPUT of the unit. At the same time, this signal from the output of the element OR 1O through the third input of the node 2O produces, together with the signal of the logical unit from the output of the trigger 24, on the output of the N-26 element, the signal of the level of the logical unit, which is hard on the output of the zero setting of the counter 27 and it blocks the pulse of the gene & 25 rator arriving at the clock input of the counter 27. When the output at the output of the first element OR 19 of the signal is a level of a logical unit, indicating the presence of an interrupt (interrupts) enabled by the mask, this signal through the third input Lok 2 O, an inverter 22, an OR gate 23 takes the high level skgnal output setting to zero the trigger 24. This trigger 24 remains in edish1chnom state before the arrival of a control signal of positive polarity at its set input to zero. At the same time, the logic unit level signal from the output of the OR 19 element through the third input of block 20, together with the logic unit level signal from the trigger output 24, produces at the output of the NAND 26 element a logic zero level, which is processed by the counter 27. First impulse from the generator 25 arriving at the counting input of the counter 27, will not pulse the first output of the counter 27, which is output to the digital computer as a generalized pre-ganoi signal. The next pulse from generator 25 produces a pulse signal at the second output of counter 27, which is fed to the input of the setup to zero of the triger 24 and zeroed it. The logic zero level from the trigger output 24 through the IS-NOT element 26 re-embeds the counter 27. After receiving the generalized signal interrupts, the digital computer connects the device to the communication channel via block 1, then the control signal from the output of the group of elements And 5, arriving at thus, the input input of register 18 rewrites the interrupt code into the register 18 from the inputs of the AND 6 pears of the elements. Then the digital computer reads the information from the outputs of the 18 enabled interrupts and mask register 16 through the groups of device outputs 31 and the device outputs 31. After this, the supervisor DVM analyzes the priority of the contents of the register 18 allowed interrupts and determines which subscriber has the highest priority subscriber in case there are more than one allowed request in register 18. Then the supervisor program nulls the interrupt register register 17 corresponding to the requesting subscriber, and also zeros everything, register bits 16 of a mask of lower priorities, but opens bits of the register of a mask of higher priority with respect to the requester. In this case, the logic level zero signal from the output of the OR element 19, which arrives at the third input of the 2 O block, sets the block 20 to the initial state, i.e. the counter 27 through the AND-NE element 26 is zeroed and blocked, and the trigger 24 through the inverter 22. and the second element OR 23 is set to one. Then a supervisor program command to increase reliability through the first and second inputs of block 2; CAB) 1E Corresponding with the group of inputs 29, through the element AND 21, the element OR 23 confirms the setting of the trigger 24 in the unit state. The device is ready to receive a new request signal of a higher priority level relative to the requester. After that, the digital computer goes to the processing program of the subscriber who requested it. Register 18 is used for intermediate memorization of the query request mask, so its state does not change during the reading of the CVM. The introduction of the register excludes the loss of repeated orders, since at the beginning of the processing program allowed by the mask request, the code from the output of the group of elements And 6 is rewritten in register 18, and the mask-enabled register register 17 is programmatically quenched and register 17 can take on this bit new applications In the Control mode, the digital computer sets the trigger 15 in a single state through the element And 14. At the same time, the logical zero level from the inverse output of the trigger 15 prohibits the passage into the device through the element group AND 8 external interrupt signals coming in from the input 1 group. units from the direct output of trigger 15 are fed to the inputs of a group of elements AND 9 and allow gating information from a digital computer coming from a group of inputs 29. Signals from the outputs of elements AND 9 through a group of elements OR 12 arrive at respectively favoring inputs of bits in the register unit 17, for simulating signals Outer wok on .preryvanie. In the Control mode, the digital computer programmatically enters signals that simulate external interruptions into the error register 17, processes them using the mask register 16 according to the algorithm described, and thus monitors the health of the interruption request paths, and also monitors the operation of the circuit for generating a generalized signal. al interrupts The application of the present invention allows to increase the reliability of the operation of the device. Claim 1. Device for interrupting programs, containing interrupt register, mask register, comparison circuit, two groups of AND elements and OR element, with outputs of mask and interrupt registers connected to the first and second inputs of AND elements of the first group, whose outputs are connected to inputs element OR, the information inputs of the mask register are connected to the corresponding inputs of the group of information inputs of the device, characterized in that, in order to ensure the reliability of operation, it contains two gera, first and second elements AND, third, fourth, fifth, sixth and seventh groups of elements AND, group of elements OR, register of allowed interrupts, address register and generating unit of generalized interrupt signal, with first inputs of the first and second elements AND, first inputs Elements of the second and third groups, the first group of inputs of the comparison circuit and the first input of the output of the signal of the interrupt signal are connected to the corresponding inputs of the group of information inputs of the device, the clock input of the first trigger and the first inputs of And the fourth group is connected to the clock input of the device, the outputs of the l and fourth group elements are connected respectively to the second input of the generation of the interrupt signal, the clock INPUT of the mask register, the clock input of the register of allowed interrupts, to the second inputs of the first and second elements, to. the second inputs of the elements of the second and third groups and to the first inputs of the elements of both the fifth and the second groups, the output of the first and second elements AND are connected respectively to the installation input to zero and to the installation input and into the unit of the second trigger, the direct and inverse outputs of which are connected in accordance with the third inputs of the AND elements of the third group and with the first inputs of the AND elements of the seventh group, the second inputs of which are connected to the inputs of the device interrupt signals, the outputs of the AND elements of the third and seventh groups are connected respectively, with the first and second inputs of the corresponding OR elements of the group, the outputs of which are connected to the installation inputs of the corresponding bits of the interrupt register, the outputs of the AND elements of the second group are connected us to zero setting inputs sootvetsgvuyushih bits of the interrupt register, and outputs elements of the first group are connected to the data inputs of the interrupt enable register, outputs interrupt enable register and mask register are connected to second inputs of AND gates respectively the fifth and sixth groups, the outputs | The elements of the fifth and sixth groups are connected to the information outputs of the device, the output of the element OR is connected to the third input of the generation of the generalized interrupt signal, the output of which is connected to the interrupt output of the device. 2. Device pb p. 1, that is, so that the block for generating a generalized interrupt signal contains a trigger, an AND element, an AND-NOT element, an OR element, an inverter, a clock generator, and a counter, and the first and second inputs of the AND element are connected respectively to the first and second inputs of the block, the input of the inverter and the first input of the element AND –NAY are combined and connected to the third INPUT of the block, the outputs of the inverter and the AND element are connected respectively to the first and second inputs of the OR element whose output is connected to unit setup input trigger, a trigger output connected to a second input of AND-NO element whose output is connected to the input for setting the counter to zero, the generator output is connected to the counting input of the counter, the first and second outputs of which are connected respectively to the output unit and to an input of setting to zero the trigger. Sources of information taken into account during the examination 1. USSR author's certificate No. 7361О1, cl G 06 F 9/46, 198О. 2.Авторское свидетельство СССР № 744575, кл. G 06 F 9/46, 198О (прототип).2. USSR author's certificate number 744575, cl. G 06 F 9/46, 198O (prototype).
SU813350752A 1981-10-27 1981-10-27 Program interruption device SU1001103A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU813350752A SU1001103A1 (en) 1981-10-27 1981-10-27 Program interruption device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU813350752A SU1001103A1 (en) 1981-10-27 1981-10-27 Program interruption device

Publications (1)

Publication Number Publication Date
SU1001103A1 true SU1001103A1 (en) 1983-02-28

Family

ID=20981371

Family Applications (1)

Application Number Title Priority Date Filing Date
SU813350752A SU1001103A1 (en) 1981-10-27 1981-10-27 Program interruption device

Country Status (1)

Country Link
SU (1) SU1001103A1 (en)

Similar Documents

Publication Publication Date Title
US4504906A (en) Multiprocessor system
US4779195A (en) Interrupt system using masking register in processor for selectively establishing device eligibility to interrupt a particular processor
EP0196911A2 (en) Local area networks
JPH0734179B2 (en) Automatic flight controller with multiple heterogeneous data processing channels.
SU1001103A1 (en) Program interruption device
US3911409A (en) Data processing interface system
RU2486581C1 (en) Parallel computing circuit with programmable architecture
SU1550524A1 (en) Device for interfacing processor and external unit
SU877542A1 (en) Interrupting device
SU1116432A1 (en) Firmware processor with fast interruption tools
SU1661766A1 (en) Fault simulation device
RU1798798C (en) System of multiple computers
SU960824A1 (en) Device for checking data transfer between channel and processor
SU1287157A1 (en) Control device for starting programs
SU877540A1 (en) Device for controlling progarm start
RU2230355C2 (en) Device for priority servicing of requests
SU783782A2 (en) Device for exchange of information of control computer with control objects
SU1636847A2 (en) Data exchange device
SU736101A1 (en) Program interruption device
SU790352A1 (en) Pulse counter with controllable scaling factor
SU864288A1 (en) Device for servicing requests
SU1310835A1 (en) Computer-computer interface
SU1215111A1 (en) Device for checking driving signals of interface
SU736093A1 (en) Decimal number comparing arrangement
SU1383387A2 (en) Device for determining the shortest route of autonomous transport robot