SU1376084A1 - Microprogram control device - Google Patents

Microprogram control device Download PDF

Info

Publication number
SU1376084A1
SU1376084A1 SU864117530A SU4117530A SU1376084A1 SU 1376084 A1 SU1376084 A1 SU 1376084A1 SU 864117530 A SU864117530 A SU 864117530A SU 4117530 A SU4117530 A SU 4117530A SU 1376084 A1 SU1376084 A1 SU 1376084A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
input
address
counter
multiplexer
Prior art date
Application number
SU864117530A
Other languages
Russian (ru)
Inventor
Вячеслав Сергеевич Харченко
Петр Евгеньевич Марков
Григорий Николаевич Тимонькин
Сергей Николаевич Ткаченко
Андрей Валерьевич Михайлов
Original Assignee
Харьковское Высшее Военное Командно-Инженерное Училище Ракетных Войск Им.Маршала Советского Союза Крылова Н.И.
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 Харьковское Высшее Военное Командно-Инженерное Училище Ракетных Войск Им.Маршала Советского Союза Крылова Н.И. filed Critical Харьковское Высшее Военное Командно-Инженерное Училище Ракетных Войск Им.Маршала Советского Союза Крылова Н.И.
Priority to SU864117530A priority Critical patent/SU1376084A1/en
Application granted granted Critical
Publication of SU1376084A1 publication Critical patent/SU1376084A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

Изобретение относитс  к цифровой автоматике и вычислительной технике и может быть использовано дл  прст1)оени  микропрограммных управл ю- пщх устройств ЭВМ и контроллеров АСУ ТП. Цель изобретени  - расширение области применени  за счет обеспечени  обработки различных типов прерываний . Микропрограммное устройство управлени  содержит блок пам ти 1 микрокоманд, счетчик 2 адреса, регистр 3 микроопераций, счетчик 4 возврата, мультиплексоры 5 и 6, блоки 7 и 8 прерываний, шифраторы 9, 10, блрк 11 дешифраторов, триггеры 12, 13., генератор тактовых импульсов 14, элементы ИЛИ 15 и 16 элементы И 17- 22 19. 3 ил.,1 табл. с $ (Л Од « 00 Pui.i 26The invention relates to digital automation and computer technology and can be used for the design of microprogrammed computer controllers and controllers for automated process control systems. The purpose of the invention is to expand the scope of application by providing processing of various types of interrupts. The microprogram control unit contains a memory block of 1 microinstructions, a counter of 2 addresses, a register of 3 microoperations, a counter of 4 return, multiplexers 5 and 6, blocks 7 and 8 of interrupts, encoders 9, 10, blrk 11 decoders, triggers 12, 13., clock generator pulses 14, elements OR 15 and 16 elements AND 17-22 19. 3 Il., 1 tab. with $ (L od “00 Pui.i 26

Description

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано в ЭВМ и вычислительных системах с микропрограммным управлением , а также в АСУ технологическими процессами.The invention relates to automation and computing and can be used in computer and microprogrammed computer systems, as well as in process control systems.

Цель изобретени  - расширение области применени  за счет обеспечени  обработки различных типов прерыванийThe purpose of the invention is to expand the scope by providing processing of various types of interrupts.

На фиг. 1 приведена функциональна  схема предлагаемого микропрограммного устройства управлени ; на фиг.2 - функциональна  схема блока прерываний по разрешенному (или недопустимому ) запросу;, на фиг. 3 - временна  диаграмма работы устройства.FIG. 1 is a functional diagram of the proposed firmware control device; FIG. 2 is a functional block diagram of an interrupt upon permitted (or invalid) request; FIG. 3 - time diagram of the device.

Предлагаемое устройство (фиг.1) содержит блок 1 пам ти микрокоманд (ПЗУ) с пол ми 1.1 метки линейной микрокоманды (МК), 1.2 адреса, 1.3 кода логических условий, 1.4 кода микроопераций, 1.5 конца микропрограммы (МП) прерывани , 1.6 конца команда , счетчик 2 адреса, регистр 3 микроопераций, счетчик 4 возврата,. мультиплексор 5 логических условий, мультиплексор 6 адреса, блоки 7 и 8 прерываний соответственно по разрешенному и недопустимому запросам, первый 9 и второй 10 шифраторы, блок 11 дешифраторов, триггер 12.ошибки, триггер 13 пуска, генератор 14 тактовых импульсов с выходами 14.1 и 14.2 первый элемент ИЛИ 15, второй элемент ИЛИ 16, первый 17, второй 18 и тре- . тий 19 элементы И, вход 20 пуска устрой cTisa, вход 21 кода операций устройства (он же  вл етс  вторым информационным входом мультиплексора 6 адреса ), вход 22 прерываний устройства, вход 23 логических условий устройства , выход 24 микрооперации конца работы выхода 25 микроопераций устройс ва, выход 26 ошибки- устройства, управл ющий 27, первый 28 и второй 29 информационные входы блока 7 прерывани  по разрешенному запросу, первый 30 и второй 31 информационные входы блока 8, п тьш 32, третий 33, четвертый 34, первый 35 информационные и четвертый 36, п тый 37, первый - третий 38-40 управл ющие входы мультиплексора 6, управл ющий вход 41 блока 8 прерывани  по недопустимому запросу, выходы 42 и 43 соответственно блоков 7 прерывани  по разрешенному и 8 прерывани  по недопустимому запросу.The proposed device (Fig. 1) contains a block of 1 microinstructions memory (ROM) with the fields 1.1 labels of a linear microcommand (MK), 1.2 addresses, 1.3 codes of logical conditions, 1.4 codes of microoperations, 1.5 ends of the interprogram (MP), 1.6 ends of the command , counter 2 addresses, register 3 micro-operations, counter 4 returns ,. multiplexer 5 logical conditions, multiplexer 6 addresses, blocks 7 and 8 interrupts, respectively, by allowed and invalid requests, the first 9 and second 10 encoders, block 11 decoders, trigger 12. errors, trigger 13 start, generator 14 clocks with outputs 14.1 and 14.2 the first element OR 15, the second element OR 16, the first 17, the second 18 and three. 19 And elements, cTisa device start input 20, device operation code input 21 (it is also the second information input of the address multiplexer 6), device interrupt input 22, device logic conditions input 23, output 24 micro-operations of the device operation output 25 , error output 26 — devices controlling 27, first 28 and second 29 informational inputs of interrupt block 7 by permitted request, first 30 and second 31 informational inputs of block 8, five, 32, third 33, fourth 34, first 35 informational and fourth 36, fifth 37, first - the third 38-40 control inputs of the multiplexer 6, the control input 41 of the interrupt unit 8 upon an invalid request, the outputs 42 and 43, respectively, of the interruption unit 7 upon the permitted request and 8 interruption upon an invalid request.

00

00

5five

00

5five

00

5five

00

5five

Блок 7 (8) прерывани  по разрешенному (недопустимому) запросу (фиг.2) содержит первый (второй) блок 44 элементов И, третий (четвертый) элемент ИЛИ 45, четвертьм (п тьш) элемент И 46.Interrupt block 7 (8) by the allowed (invalid) request (FIG. 2) contains the first (second) block 44 of the elements AND, the third (fourth) element OR 45, the quarter (five) element AND 46.

На временной диаграмме (фиг. 3) использованы обозначени , введенные на фиг.. 1 и 2.The time diagram (Fig. 3) uses the notation entered in Figs. 1 and 2.

Функциональное назначение элементов и св зей микропрограммного- устройства управлени  следующее (фиг. 1).The functional purpose of the elements and connections of the firmware-control device is as follows (Fig. 1).

Блок 1 пам ти микрокоманд (ПЗУ) предназначен дл  хранени  МК, реализуемых устройством МП, ПЗУ статического типа, информаци  на выходе каждого по вл етс  после подачи адреса на его вход и сохран етс  на выходе до сн ти  входного сигнала. На выходе п ол  1 .1 блок а 1 считываетс  сигнал метки линейной микрокоманды (единичный только в случае линейной МК). Если в поле 1.1 записан нуль (т.е. МК ветвлени ), то на выходе пол  1.2 блока 1 считываетс  адрес очередной МК, а в поле 1.3 хранитс  код провер емого логического услови . Если же в  чейке блока 1 записана линейна  МК, т.е. в поле 1,1 записана единица , то с выходов полей 1 .2 -и 1.3 считываютс  коды разрешенных и недопустимых запросов на прерывание. С выхода пол  1 ..4 считываетс  код очередной микрооперации. С выхода пол  1.5 блока 1 считываетс  сигнал конца МП прерывани , который  вл етс  единичным только в последних МК МП прерываний .Block 1 of the microinstructions memory (ROM) is intended for storing the MCs implemented by the MP device, a static type ROM, information at the output of each appears after the address is given at its input and remains at the output until the input signal is removed. At the output of p. 1 .1 block a 1, a linear microcommand tag signal is read (one only in the case of linear MK). If zero is written in field 1.1 (i.e., branching MC), then the output of the next MC is read at the output of field 1.2 of block 1, and the code of the checked logical condition is stored in field 1.3. If in the cell of block 1 linear MK is written, i.e. In the 1.1 field, the unit is written, then the codes of allowed and invalid interrupt requests are read from the outputs of the fields 1 .2 and 1.3. From the output of the floor 1 .. 4 the code of the next micro-operation is read. From the output of field 1.5 of block 1, the signal of the end of the interrupt MT is read, which is single only in the last MC of the interrupt MC.

С выхода пол  1.6 считываетс  сигнал конца команды, единичный только в последний МК рабочих МП. Счетчик 2 адреса предназначен дл  формировани  и вьщачи адреса очередной МК. Управл ет работой счетчика 2 сигнал с выхода элемент а ИЛИ 15. При единичном значении этого сигнала в счетчик 2 заноситс  адресный код с его информационного входа. Он определ етс  адресом очередной МК. При нулевом значении сигнала управлени  с выхода элемента ИЛИ 15 счетчик 2 увеличивает свое содержимое на единицу (формирование адреса МК следующей за линейной МК). Новый адресный код формируетс  счетчиком 2 по заднему фронту каждого тактового импульса с выхода 14.1 генератора 14, поступающего на синхровход счетчика 2.From the output of field 1.6, the command end signal is read, single only in the last MC of the working MP. Counter 2 addresses is designed to form and retrieve the address of the next MC. Controls the operation of counter 2, the signal from the output of element a OR 15. With a single value of this signal, counter 2 records the address code from its information input. It is determined by the address of the next MC. At a zero value of the control signal from the output of the element OR 15, the counter 2 increases its content by one (the formation of the address MK following the linear MK). A new address code is generated by a counter 2 on the falling edge of each clock pulse from the output 14.1 of the generator 14 arriving at the synchronous input of the counter 2.

Регистр 3 микроопераций предназначен дл  приема, хранени  и выдачи на вход блока 11 дешифраторов очередног микрооперационного кода с выхода пол  1.4 кода микроопераций ПЗУ 1. За- пись в регистр 3 кода очередной микрооперации производитс  только по заднему фронту тактового импульса с выхода 14.2 генератора 14, поступающего на синхровход регистра 3.Register 3 of micro-operations is designed to receive, store and output to the block 11 decoders the next micro-operation code from the output of field 1.4 of the code of micro-operations of ROM 1. Register the code of the next micro-operation in register 3 only on the falling edge of the clock pulse from output 14.2 of the generator 14 entering on register sync 3.

Счетчик 4 возврата предназначен дл  формировани , хранени  и выдачи на вход 32 мультиплексора 6 адреса возврата к прерванной рабочей МП. По заднему фронту импульса с выхода элемента И 19, поступающего на вход синхронизации счетчика 4, в последний записываетс  адрес считываемой в это врем  линейной МК, который посту пает на информационный вход счетчика 4 с выхода счетчика 2. Этот импульс формируетс  элементом И 19 в результате коньюнкции сигнала прерывани  и тактового импульса, поступающих соот ветственно с выхода элемента ИЛИ 16 и выхода 14.2 генератора 14. После записи адреса считываемой линейной МК (не последней в рабочей МП) в счетчик 4 устройство выполн ет МП прерывани . Из пол  1.5 последней МК этой МП считываетс  сигнал конца МП прерывани . Единичный сигнал конъюнкции этого сигнала и тактового импульса с выхода 14.2 генератора 14, формируемый элементом И 18, поступает на счетный вход счетчика 4 и задним фронтом увеличивает его содержимое на единицу. Таким образом счетчик 4 формирует адрес МК следующей за линейной МК, после которой была выполнена МП прерывани .The return counter 4 is designed to form, store, and return to the input 32 of multiplexer 6 a return address to the interrupted working MP. On the falling edge of the pulse from the output of the AND 19 element, which arrives at the synchronization input of counter 4, the address of the linear MC read at this time is written to the latter, which is fed to the information input of counter 4 from the output of counter 2. This pulse is formed by the AND 19 element as a result of the conjunction the interrupt signal and the clock pulse coming respectively from the output of the OR 16 element and the output 14.2 of the generator 14. After the address of the readable linear MK (not the last in the working MP) is written to the counter 4, the device performs an MP interrupt. From the floor 1.5 of the last MK of this MP, the signal of the end of the MP of the interrupt is read. The unit signal of the conjunction of this signal and the clock pulse from the output 14.2 of the generator 14, formed by the element 18, enters the counting input of the counter 4 and increases its content by one with the falling edge. Thus, counter 4 forms the MK address following the linear MK, after which the interrupt MT was performed.

Мультиплексор 5 логических условий осуществл ет передачу на свой выход значени  того логического услови  с входа 23 устройства, код которого записан в поле 1.3 блока 1 и поступает на адресный вход мультиплексора 5, Мультиплексор 5 работает только в том случае, если на его управл ющем инверсном входе отсутствует единичный сигнал метки линейной МК с выхода пол  1.1 блока 1.The logical conditions multiplexer 5 transmits to its output the values of that logical condition from the input 23 of the device, the code of which is recorded in the field 1.3 of block 1 and arrives at the address input of the multiplexer 5, the multiplexer 5 only works if its control inverse there is no single linear MK tag signal from the output of field 1.1 of block 1.

Мультиплексор 6 адреса предназначен дл  подачи на информационный вход счетчика 2 адресного кода с одного из своих информационных входов 21, 32, 33, 34, 35 в соответствии с кодом управлени  на управл ющих вхоThe address multiplexer 6 is designed to supply the information input of the counter 2 with an address code from one of its information inputs 21, 32, 33, 34, 35 in accordance with the control code on the control inputs.

дах 36, 37, 38, 39, 40. Алгоритм работы мультиплексора 6 адреса описываетс  сл едующим выражением36, 37, 38, 39, 40. The operation algorithm of the address multiplexer 6 is described by the following expression

,,

А,,У40A ,, v40

АзгУз.Уз7 +AzgUz.Uz7 +

..

10ten

1515

2Q 25 302Q 25 30

WW

5050

5five

А - БлокиA - Blocks

где А . - адресный код на i-м информационном входе мультиплексо- ра 6;where a. - the address code at the i-th information input of multiplexer 6;

единичный сигнал на j-м управл ющем входе мультиплексора 6;a single signal at the jth control input of the multiplexer 6;

адресный код на выходе мультиплексора 6.address code at the output of the multiplexer 6.

7 разрешенных и 8 недопустимых запросов (фиг. 2) предназначены дл  формировани  сигналов прерывани  рабочей МП соответственно по разрешенному или недопустимому запросу.7 allowed and 8 invalid requests (Fig. 2) are designed to generate interrupt signals of the working MP, respectively, by permitted or invalid request.

Сигнал запроса по вл етс  на одном из входов 22 устройства и далее поступает н-а первый вход соответствующего элемента И блока 44 элементов И; На вход 29 (31) блока 7(8) поступает код разрешенных (недопустимых) запросов с соответствующих выходов полей 1.2 и 1.3 блока 1. Если на втором входе элемента И блока 44 б удет единица , то соответствующий запрос на первом входе того же элемента И будет разрешенным (недопустимым). При этом импульс с выхода соответствующего J5 элемента И блока 44, пройд  через элемент ИЛИ 45, поступает на второй вход елемента И 46. На его первом входе, т.е. на входе 27 (41) блока 7(8) присутствует сигнал метки линейной МК с выхода пол  1.1 блока 1. Если этот сигнал единичный, то на выходе элемента И 46, т.е. на выходе 42(43) блока 7(8), по вл етс  сигнал прерывани  по разрешенному (не- 45 допустимому) запросу.A request signal appears on one of the inputs 22 of the device and then the first input of the corresponding element AND of the AND block 44 enters; The input 29 (31) of block 7 (8) receives the code of allowed (invalid) requests from the corresponding outputs of fields 1.2 and 1.3 of block 1. If the second input of the And element of the block 44 has one, then the corresponding request at the first input of the same element And will be allowed (invalid). In this case, the pulse from the output of the corresponding element J5 AND block 44, passed through the element OR 45, goes to the second input of the element I 46. At its first input, i.e. at the input 27 (41) of block 7 (8) there is a linear MK tag signal from the output of the field 1.1 of block 1. If this signal is single, then the output of the element 46, i.e. at the output 42 (43) of block 7 (8), an interrupt signal appears upon the permitted (non-45 permissible) request.

Шифраторы 9 и 10 предназначены дл  преобразовани  унитарного кода запросов на прерывани , поступающего на их входы с входа 22 устройства , в код адреса первой МК соответствующей МП прерывани . Шифратор 9 при этом выдает на информационный вход 33 мультиплексора 6 адреса код первой МК МП прерывани  по разрешенному запросу, а шифратор 10 вьщает на информационный вход 34 мультиплексора 6 код первой МК МП прерывани  по недопустимому запросу.The encoders 9 and 10 are designed to convert the unitary code of interrupt requests that come to their inputs from the device input 22 into the address code of the first MC of the corresponding MT. The encoder 9, in this case, sends the code of the first MC of an interrupt to the information input 33 of multiplexer 6 of an address according to an allowed request, and the encoder 10 sends the code of the first MC of an interrupt of an invalid request to information of 34 of multiplexer 6.

513513

Блок 11 дешифратора предназначен дл  преобразовани  микрооперационного кода, хранимого в поле 1.4 блока 1 и считываемого с выхода регистра 3 микроопераций на вход блока 11, в унитарные коды (коды несовместимых микроопераций), поступающие с выходов дешифраторов блока 11 на выход 25 микроопераций устройства. Выход 24 микрооперации конца работы выхода одного из дешифраторов блока 11, кроме того, соединен с нулевьм входом триггера 13 пуска. Использование бло The decoder unit 11 is designed to convert the micro-operation code stored in the field 1.4 of unit 1 and read from the output of micro-operation register 3 to the input of unit 11 into unitary codes (codes of incompatible micro-operations) received from the outputs of the decoder unit 11 to the output 25 of the device’s micro-operations. The output 24 of the micro-operation of the end of the work output of one of the decoders of the block 11, in addition, is connected with the zero input of the trigger trigger 13. Use blo

ка 11 дешифраторов позвол ет сущест- с рые реализуютс  устройством. Б таб-11 descramblers allow the hardware to be implemented. B tab-

2020

30thirty

венно сократить разр дность пол  1.4 блока 1 и регистра 3 микроопераций. Число дешифраторов блока 11 определ етс  числом полей несовместимых микроопераций.to reduce the field depth of 1.4 block 1 and the register of 3 micro-operations. The number of decoders of block 11 is determined by the number of fields of incompatible micro-operations.

Триггер 12 ошибки предназначен дл  хранени  сигнала ошибки, который выдаетс  на выход 26 устройства во врем  выполнени  МП прерывани  по недопустимому запросу на прерывание. , Триггер 12 устанавливаетс  в единичное состо ние сигналом прерывани  по недопустимому запросу, поступающему на единичный вход триггера с выхода блока 8. В нулевое состо ние триггер 12 устанавливаетс  сигналом с выхода элемента И 17, который осуществл ет конъюнкцию сигнала конца МП прерывани  с выхода пол  1.5 блока 1 и так- тового импульса с выхода 14.1 генератора 14.Error trigger 12 is designed to store the error signal that is output to the device output 26 during the execution of an interrupt MF upon an invalid interrupt request. Trigger 12 is set to one state by an interrupt signal upon an unacceptable request received by a single trigger input from the output of block 8. To the zero state, trigger 12 is set by a signal from an output of an element 17, which performs the conjunction of the end of the interrupt signal MP from the field 1.5 output. unit 1 and the time pulse from output 14.1 of generator 14.

Триггер 13 пуска управл ет работой генератора 14 тактовых импульсов. Он устанавливаетс  в единичное состо ние сигналом пуска с входа 20 устройства. После выполнени  устройством программы , на его выходе 24 по вл етс  сигнал микрооперации конца работы, который , поступа  на нулевой вход триггера 13, запрещает таким образом работу генератора 14 тактовых импульсов и останавливает тем самым устройство.A start trigger 13 controls the operation of the clock pulse generator 14. It is set to the one state by the start signal from the input 20 of the device. After the device executes the program, at its output 24 a micro-operation signal appears at the end of the operation, which, arriving at the zero input of the trigger 13, thus prohibits the operation of the generator 14 clock pulses and thereby stops the device.

Генератор 14 тактовых импульсов предназначен дл  формировани  на своих выходах 14.1 и 14.2 последователь- - ностей сдвинутых относительно друг 50 друга по фазе тактовых импульсов, синхронизирующих работу устройства,The generator 14 clock pulses is designed to form at its outputs 14.1 and 14.2 sequences shifted relative to each other 50 by the phase of the clock pulses synchronizing the operation of the device,

Элемент ИЛИ 15 предназначен дл  формировани  сигнала управл1ени  счетлице приведены их условные обозначени  и отличи  в содержимом соответст вующих  чеек блока 1.The element OR 15 is designed to form the control signal of the counter and their symbols and the differences in the content of the corresponding cells of block 1 are shown.

В исходном состо нии все элементы пам ти наход тс  в нулевом состо нии (цепи установки исходного дл  просто ты условно не показаны).In the initial state, all the memory elements are in the zero state (the initial circuit for the installation is simply not shown conventionally).

В одном только поле 1.6 конца команды нулевой  чейки (с нулевым ад- 25 ресом) блока 1 записана единица. Сиг нал с выхода этого пол  в исходном состо нии присутствует на управл юще входе 39 мультиплексора 6 адреса, ко торый пропускает на информационный вход счетчика 2 код первой рабочей МП с,входа 21 кода операций устройст ва. Этот же сигнал с выхода пол  1.6 через элемент ИЛИ 15 поступает на уп равл ющий вход счетчика 2, разреша  таким образом запись в него адресног кода с выхода мультиплексора 6.Only field 1.6 of the end of the zero-cell command (with zero address- 25 res) of unit 1 is recorded as one. The signal from the output of this field is present in the initial state at the control input 39 of the multiplexer 6 of the address, which passes to the information input of the counter 2 the code of the first working MP s, the input 21 of the operation code of the device. The same signal from the output of field 1.6 through the OR 15 element is fed to the control input of counter 2, thus allowing the address code from the output of multiplexer 6 to be written to it.

Рассмотрим работу устройства в первом режиме.Consider the operation of the device in the first mode.

При поступлении на вход 24 пуска устройства импульса (фиг. 3) триггерUpon receipt at the input 24 of the launch device of the pulse (Fig. 3) trigger

13устанавливаетс  в единичное состо  ние и разрешает работу генератора13 is set to one and permits the operation of the generator

14тактовых импульсов. По заднему фронту первого тактового импульса . с выхода 14.1 генератора 14 в счетчик 2 заноситс  с информационного входа адрес первой МК первой рабочей МП. Пусть это будет МК типа А. Тогда сигнал с выхода пол  1.1 блока 1 запретит работу мультиплексора 5 логических условий. Информаци  с выходов полей 1.2 и 1.3 блока 1 будет поступать на входы 28 и 30 соответственно блоков 7 разрешенных и 8 недопустимы запросов на прерывани . При работе в14-stroke pulses. On the falling edge of the first clock pulse. from the output 14.1 of the generator 14 to the counter 2 is entered from the information input the address of the first MC of the first working MP. Let it be MK of type A. Then the signal from the output of the field 1.1 of the block 1 will prohibit the operation of the multiplexer 5 logical conditions. Information from the outputs of fields 1.2 and 1.3 of block 1 will be fed to inputs 28 and 30, respectively, of blocks 7 allowed and 8 invalid interrupt requests. When working in

4040

4545

14тактовых импульсов. По заднему фронту первого тактового импульса . с выхода 14.1 генератора 14 в счетчик 2 заноситс  с информационного входа адрес первой МК первой рабочей МП. Пусть это будет МК типа А. Тогда сигнал с выхода пол  1.1 блока 1 запретит работу мультиплексора 5 логических условий. Информаци  с выходов полей 1.2 и 1.3 блока 1 будет поступать на входы 28 и 30 соответственно блоков 7 разрешенных и 8 недопустимых запросов на прерывани . При работе в14-stroke pulses. On the falling edge of the first clock pulse. from the output 14.1 of the generator 14 to the counter 2 is entered from the information input the address of the first MC of the first working MP. Let it be MK of type A. Then the signal from the output of the field 1.1 of the block 1 will prohibit the operation of the multiplexer 5 logical conditions. Information from the outputs of fields 1.2 and 1.3 of block 1 will be fed to inputs 28 and 30, respectively, of blocks 7 allowed and 8 invalid interrupt requests. When working in

чиком 2 адреса. Сигнал формируетс  на 55первом режиме разрешенных или недовыходе элемента ИЛИ 15, если хот  быпустимых запросов на прерывание вChick 2 addresses. The signal is formed on the first 55 mode of the allowed or under output of the element OR 15, if at least acceptable interrupt requests are in

на одном из четырех его входов при-устройство не поступает и сигналыat one of its four inputs, the device is not received and signals

сутствует единичный сигнал.прерывани  блоками 7 ff 8 не формируЭлемент ИЛИ 16 формирует сигнал управлени  счетчиком 2 адреса и счетчиком 4 возврата при переходе устройства в режим прерывани  по сигналамраз- решенного или недопустимого запросов7 поступающих соответственно на первый и второй входы элемента ИЛИ 16.there is no single interrupt signal in units of 7 ff 8 not forming. The OR element 16 generates a control signal for the counter 2 addresses and the return counter 4 when the device switches to the interrupt mode according to the signals of allowed or unacceptable requests 7 received respectively at the first and second inputs of the OR 16 element.

Устройство (фиг. 1) может работать в следующих режимах: реализации рабочей МП; реализации МП прерывани  по разрешенному запросу; реализации МП прерывани  по недопустимому запросу.The device (Fig. 1) can operate in the following modes: the implementation of the working MP; implementations of interrupt MP on allowed request; implementations of interrupt MPs by invalid request.

Вьщелим 4 основных типа МК, кото0Let's select 4 main types MK, which

00

0 лице приведены их условные обозначени  и отличи  в содержимом соответствующих  чеек блока 1.0 face shows their symbols and the differences in the contents of the corresponding cells of block 1.

В исходном состо нии все элементы пам ти наход тс  в нулевом состо нии (цепи установки исходного дл  простоты условно не показаны).In the initial state, all the memory elements are in the zero state (the initial circuit for the sake of simplicity is conventionally not shown).

В одном только поле 1.6 конца команды нулевой  чейки (с нулевым ад- 5 ресом) блока 1 записана единица. Сигнал с выхода этого пол  в исходном состо нии присутствует на управл ющем входе 39 мультиплексора 6 адреса, ко- торый пропускает на информационный вход счетчика 2 код первой рабочей МП с,входа 21 кода операций устройства . Этот же сигнал с выхода пол  1.6 через элемент ИЛИ 15 поступает на управл ющий вход счетчика 2, разреша  таким образом запись в него адресного кода с выхода мультиплексора 6.Only field 1.6 of the end of the zero-cell command (with zero ad- 5res) of block 1 is written down to one. The signal from the output of this field in the initial state is present at the control input 39 of the multiplexer 6 of the address, which passes to the information input of the counter 2 the code of the first working MP s, the input 21 of the operation code of the device. The same signal from the output of field 1.6 through the OR 15 element is fed to the control input of counter 2, thus allowing the entry into it of the address code from the output of multiplexer 6.

Рассмотрим работу устройства в первом режиме.Consider the operation of the device in the first mode.

При поступлении на вход 24 пуска устройства импульса (фиг. 3) триггерUpon receipt at the input 24 of the launch device of the pulse (Fig. 3) trigger

13устанавливаетс  в единичное состо ние и разрешает работу генератора13 is set to one and permits the operation of the generator

14тактовых импульсов. По заднему фронту первого тактового импульса . с выхода 14.1 генератора 14 в счетчик 2 заноситс  с информационного входа адрес первой МК первой рабочей МП. Пусть это будет МК типа А. Тогда сигнал с выхода пол  1.1 блока 1 запретит работу мультиплексора 5 логических условий. Информаци  с выходов полей 1.2 и 1.3 блока 1 будет поступать на входы 28 и 30 соответственно блоков 7 разрешенных и 8 недопустимых запросов на прерывани . При работе в14-stroke pulses. On the falling edge of the first clock pulse. from the output 14.1 of the generator 14 to the counter 2 is entered from the information input the address of the first MC of the first working MP. Let it be MK of type A. Then the signal from the output of the field 1.1 of the block 1 will prohibit the operation of the multiplexer 5 logical conditions. Information from the outputs of fields 1.2 and 1.3 of block 1 will be fed to inputs 28 and 30, respectively, of blocks 7 allowed and 8 invalid interrupt requests. When working in

00

5five

5первом режиме разрешенных или недо1ютс . По заднему фронту второго тактового импульса с выхода 14.2 генератора 14 в регистр 3 заноситс  с выхода пол  1.4 ПЗУ 1 код микрооперации. Далее этот код микрооперации дешиф-. рируетс  блоком 11 дешифраторов и поступает на выход 25 микроопераций устройства. По заднему фронту очередного тактового импульса с выхода 14.1 Q сора 6 (т.е. с выхода пол  1.2 блока5 The first mode is allowed or not available. On the falling edge of the second clock pulse from the output 14.2 of the generator 14 into the register 3, the code of the micro-operation is entered from the output of the field 1.4 ROM 1. Further, this micro-code is decrypted-. It is interleaved by a block of 11 decoders and is fed to the output of 25 micro-operations of the device. On the falling edge of the next clock pulse from the output of 14.1 Q, the crap 6 (i.e., from the output of field 1.2 of the block

генератора 14 счетчик 2 адреса, на : управл ющем входе которого отсутствует единичный сигнал с выхода элемента ИЛИ 15, увеличивает свое содержимое на единицу и формирует таким об- is разом адрес следующей  чейки блока 1. Пусть в ней будет записана МК типа В. Тогда в поле 1.2 блока 1 записан код провер емого логического услови , который поступает на адресный А вход 20 мультиплексора 5. На инверсном управл ющем входе последнего сигнал метки линейной МК отсутствует и мультиплексор 5 пропускает на свой выход зна1 ), либо увеличиваетс  содержимое на единицу (т.е. адрес следующей МК формируетс  как и при считывании МК типа А) . В последней МК рабочей МП (МК Ипа С) сигнал конца команды с выхода пол  1.6 блока поступает через элемент ИЛИ 15 на управл ющий вход счетчика 2, разреша  в него запись с входа 41 мультиплексора 6. Сигнал конца команды поступает также на выход 25 микроопераций устройства и на управл ющий вход 39 мультиплексора 6 адреса. Так как устройство работает в первом режиме и сигналовgenerator 14, the counter 2 addresses, on: whose control input there is no single signal from the output of the element OR 15, increases its content by one and thus forms the address of the next cell of block 1. Let the type B MC be recorded in it. Then field 1.2 of block 1 recorded the code of the checked logical condition that goes to the address A input 20 of the multiplexer 5. At the inverse control input of the last signal, the linear MK tag is missing and the multiplexer 5 passes the output sign 1) or increases the content by units nitsu (i.e., the next address is formed as an IC for reading and MC type A). In the last MK of the working MP (MK Ipa C), the signal of the command end from the output of the 1.6 block floor is fed through the OR 15 element to the control input of counter 2, allowing entry from the input 41 of the multiplexer 6 to it. The signal of the command end also goes to the output 25 of the device’s micro-operations and to the control input 39 of the address multiplexer 6. Since the device works in the first mode and signals

тора в регистр 3 записываемс  микро- операдионный код МК типа В. По заднему фронту следующего импульса с выхода 14.1 генератора 14 при единичном или нулевом значении провер емого логического услови  в счетчике 2 соответственно либо производитс  запись адресного кода с выхода мультиплек1 ), либо увеличиваетс  содержимое на единицу (т.е. адрес следующей МК формируетс  как и при считывании МК типа А) . В последней МК рабочей МП (МК Ипа С) сигнал конца команды с выхода пол  1.6 блока поступает через элемент ИЛИ 15 на управл ющий вход счетчика 2, разреша  в него запись с входа 41 мультиплексора 6. Сигнал конца команды поступает также на выход 25 микроопераций устройства и на управл ющий вход 39 мультиплексора 6 адреса. Так как устройство работает в первом режиме и сигналовthe torus to register 3 is recorded by the micro-operandion code MK of type B. On the falling edge of the next pulse from output 14.1 of generator 14, when a single or zero value of the checked logical condition in counter 2, respectively, either the address code is written from the output of the multiplex1), or the content is increased by unit (i.e., the address of the following MC is formed as in the case of reading type A MC). In the last MK of the working MP (MK Ipa C), the signal of the command end from the output of the 1.6 block floor is fed through the OR 15 element to the control input of counter 2, allowing entry from the input 41 of the multiplexer 6 to it. The signal of the command end also goes to the output 25 of the device’s micro-operations and to the control input 39 of the address multiplexer 6. Since the device works in the first mode and signals

чение провер емого логического уело- 25 прерывани  нет, то мультиплексор 6There is no interruption of the checked logical level, then multiplexer 6

ВИЯ. Если оно единичное, то этот сигнал через элемент ИЛИ 15 поступает на управл ющий вход счетчика 2, разреша  в него запись с выхода мультиплексора 6 адреса. Этот же единичный сигнал с выхода мультиплексора 5 поступает на управл ющий вход 38 мультиплексора 6, на информационном входе 35 которого присутствует адресньй код с выхода пол  1.2 блока 1. Информаци  с выходов полей 1.2 и 1.3, кроме того, поступает на входы 29 и 31 блоков 7 и 8. Однако на их выходах 26 и 41 при наличии на входе 22 прерываний устройства какого-нибудь запроса ложный сигнал прерывани  не возникает из-за отсутстви  единичного сигнала метки линейной МК в МК типаVIA. If it is single, then this signal through the element OR 15 is fed to the control input of counter 2, allowing it to be recorded from the output of multiplexer 6 address. The same single signal from the output of multiplexer 5 is fed to the control input 38 of multiplexer 6, informational input 35 of which contains an address code from the output of field 1.2 of block 1. Information from the outputs of fields 1.2 and 1.3 also goes to inputs 29 and 31 of blocks 7 and 8. However, at their outputs 26 and 41, if there is any request at the input 22 of the device interrupts, a false interrupt signal does not occur due to the lack of a single signal of the linear MK mark in the type MC

Во второй и третий режимы работы устройство может перейти только после считывани  линейной МК, котора  не должна  вл тьс  последней в рабочей МП. В пол х 1.2 и 1.3 линейных МК рабочих МП записаны коды разрешенных и недопустимых прерьшаний. В последних МК рабочих МП и всех МК МП прерывани  это нулевые коды. Они подаютс  соответственно на входы 29 и 31 блоков 7 разрешенных и 8 недопустимых запросов. Запросы на прерывани  поступают на вход 22 устройства, а затем входы 28 и 30 блоков 7 и 8The device can go to the second and third modes of operation only after reading the linear MK, which should not be the last in the working MP. In fields x 1.2 and 1.3 of the linear MK of working MPs, codes of allowed and unacceptable cancellations are recorded. In the latest MC working MP and all MC MP interrupt is zero codes. They are fed to inputs 29 and 31 of blocks of 7 authorized and 8 invalid requests, respectively. Requests for interrupts are received at input 22 of the device, and then inputs 28 and 30 of blocks 7 and 8

В на входах 27 и 42 блоков 7 и В. Таким образом, только на одном управл - только после формировани  генераторомB on inputs 27 and 42 of blocks 7 and B. Thus, only on one control - only after being formed by the generator

14 тактового импульса -на выходе- 14.1     14 clock pulse -on-14.1

(Поток запросов на прерывание должен быть ординарным. Исключение составл ют запросы недопустимьш дл  любой МП. Один из таких запросов может по витьс  вместе с неразрешенным или разрешенным запросом. Мультиплексор 6 адреса в последнем случае пропустит на свой выход код операции, соответствующей этому недопустимому запроющем входе 38 мультиплексора 6 присутствует единичный сигнал. Поэтому мультиплексор 6 адреса пропускает на информационный вход счетчика 2 адресный код со своего входа 35, т.е с выхода пол  1.2 блока .(The interrupt request flow must be ordinary. The exception is invalid requests for any MP. One of such requests may appear together with an unresolved or allowed request. The address multiplexer 6 in the latter case will miss the operation code corresponding to this invalid input input on its output 38, a single signal is present at multiplexer 6. Therefore, address multiplexer 6 transmits the address code from its input 35 to the information input of counter 2, that is, from the output of field 1.2 of the block.

При нулевом значении провер емого логического услови  единичный сигнал на выходе элемента ИЛИ 15 не по вл етс  и, следовательно, отсутствует на управл ющем входе счетчика 2 адреса .At a zero value of the checked logical condition, a single signal at the output of the element OR 15 does not appear and, therefore, is absent at the control input of the counter 2 of the address.

По заднему фронту очередного так- тового импульса с выхода 14.2 генера-On the falling edge of the next time pulse from the output 14.2 of the

5050

5555

су). Дл  того, чтобы поступивший запрос был разрешенным (т.е. мог прервать рабочую МП) необходимо, чтобы тот вход 22 устройства, на которомsu). In order for the incoming request to be allowed (i.e., to interrupt the working MP), it is necessary that the input 22 of the device on which

00

ч h

5five

пропускает на информационный вход счетчика 2 код новой МП (адрес первой ее МК) с входа 21 кода операций устройства . Дальнейша  работа в первом режиме аналогична.passes to the information input of counter 2 the code of the new MP (the address of its first MC) from the input 21 of the operation code of the device. Further work in the first mode is similar.

Во второй и третий режимы работы устройство может перейти только после считывани  линейной МК, котора  не должна  вл тьс  последней в рабочей МП. В пол х 1.2 и 1.3 линейных МК рабочих МП записаны коды разрешенных и недопустимых прерьшаний. В последних МК рабочих МП и всех МК МП прерывани  это нулевые коды. Они подаютс  соответственно на входы 29 и 31 блоков 7 разрешенных и 8 недопустимых запросов. Запросы на прерывани  поступают на вход 22 устройства, а затем входы 28 и 30 блоков 7 и 8The device can go to the second and third modes of operation only after reading the linear MK, which should not be the last in the working MP. In fields x 1.2 and 1.3 of the linear MK of working MPs, codes of allowed and unacceptable cancellations are recorded. In the latest MC working MP and all MC MP interrupt is zero codes. They are fed to inputs 29 and 31 of blocks of 7 authorized and 8 invalid requests, respectively. Requests for interrupts are received at input 22 of the device, and then inputs 28 and 30 of blocks 7 and 8

только после формировани  генераторомonly after forming by generator

5050

(Поток запросов на прерывание должен быть ординарным. Исключение составл ют запросы недопустимьш дл  любой МП. Один из таких запросов может по витьс  вместе с неразрешенным или разрешенным запросом. Мультиплексор 6 адреса в последнем случае пропустит на свой выход код операции, соответствующей этому недопустимому запро5(The interrupt request flow must be ordinary. The exception is invalid requests for any MP. One of such requests may occur together with an unresolved or allowed request. The address multiplexer 6 in the latter case will miss the operation code corresponding to the invalid request for its output

су). Дл  того, чтобы поступивший запрос был разрешенным (т.е. мог прервать рабочую МП) необходимо, чтобы тот вход 22 устройства, на которомsu). In order for the incoming request to be allowed (i.e., to interrupt the working MP), it is necessary that the input 22 of the device on which

по вилс  единичный сигнал запроса, был соединен с первым входом того элемента И из блока 44 элементов И, на втором входе которого присутствует единичный сигнал с соответствующего разр да полей 1.2, 1,3 линейной МК. При этом сигнал с выхода соответствующего элемента И, пройд  через элемент ИЛИ 45, поступает на второй вход ю генератора 14, поступающего на второйon the wils a single request signal, was connected to the first input of that element And from the block 44 elements And, on the second input of which there is a single signal with the corresponding bit field 1.2, 1.3 linear MK. The signal from the output of the corresponding element And, having passed through the element OR 45, is fed to the second input of the generator 14, which enters the second

2525

30thirty

элемента И 46, на первом входе которого единичный сигнал метки линейной МК с выхода пол  1.1. блока 1. Таким образом, блок 7 разрещенных запросов формирует сигнал прерывани , по которому устройство переходит во второй режим работы. Дл  того, чтобы поступивший на вход 22 запрос был недопустимым , необходимо выполнение тех же условий, что и дл  разрешенного запроса, только уже дл  элементов И блока 8. Блок 8 недопустимых запросов формирует сигнал прерьгоани  и перехода устройства к третьему режиму работы таким же образом, как и блок 1.element I 46, at the first input of which is a single signal of a linear MK tag from the output of the field 1.1. block 1. Thus, the block of 7 allowed requests generates an interrupt signal, by which the device switches to the second mode of operation. In order for the request received at input 22 to be invalid, it is necessary to fulfill the same conditions as for the allowed request, only already for elements AND of block 8. The invalid request block 8 generates a signal for interrogation and device transition to the third mode of operation in the same way as block 1.

При переходе устройства во второй режим работы сигнал прерывани , сформированный блоком 7, поступает на управл ющий вход 36 мультиплексора 6 и через элементы ИЛИ 16 и 15 на управл ющий вход счетчика 2, разреша  запись с выхода мультиплексора 6. Последний по единичному сигналу на своем управл ющем входе 36 пропускает на информационный вход счетчика 2 код операции прерывани , сформированный по поступившему запросу шифратором 9. Сигнал прерывани  поступает также через элемент ИЛИ 16 на второй вход элемента И 19.When the device enters the second mode of operation, the interrupt signal generated by block 7 is fed to the control input 36 of multiplexer 6 and through the OR elements 16 and 15 to the control input of counter 2, allowing recording from the output of the multiplexer 6. The last one by its single signal Input 36 transmits to the information input of counter 2 an interrupt operation code generated by the encoder 9 upon an incoming request. The interrupt signal also passes through the OR element 16 to the second input of the AND 19 element.

По очередному тактовому импульсу с выхода 14.2 генератора 14 в регистр 3 записываетс  микрооперационный код линейной МК рабочей МП. Этот же импульс поступает на первый вход элемента И 19 и далее на синхровход счетчика 4 возврата. По этому импульсу в него с выхода счетчика 2 заноситс  адрес уже считанной линейной МК. По заднему фронту следующего тактово- го импульса с выхода 14.1 генератора 14 в счетчик 2 с выхода мультиплексора 6 заноситс  код операции прерывани  (адрес первой МК) и далее устройство работает так же у как и в первом режиме . Отличие состоит лишь в том, что в линейных МК коды разрешенных и недопустимых прерываний нулевые (МКOn the next clock pulse from the output 14.2 of the generator 14, the micro-operation code MK of the working MP is recorded in the register 3. The same pulse arrives at the first input of the element And 19 and further to the synchronous input of the counter 4 return. On this pulse, the address of the already readable linear MK is entered into it from the output of counter 2. On the trailing edge of the next clock pulse from the output 14.1 of the generator 14 to the counter 2 from the output of the multiplexer 6, the interrupt operation code (address of the first MK) is entered and then the device operates in the same way as in the first mode. The only difference is that in linear MK codes of allowed and invalid interrupts are zero (MK

вход элемента И 18, выход которого соединен со счетным входом счетчика 4 возврата, последний увеличивает свое содержимое на единицу. Поэтомуthe input element And 18, the output of which is connected to the counting input of the counter 4 return, the latter increases its content by one. therefore

15 же заднему фронту в регистр 3 зано-i. ситс  последний микрооперационный код МП прерывани . Сигнал конца МП прерывани  с выхода пол  1.5 блока 1, . кроме того, поступает на выход 2515 is the back edge of the register 3 zano-i. the latest micro-operation interrupt MP code is set. The signal of the end of the interrupt MT from the output of floor 1.5 of block 1,. also arrives at exit 25

20 микроопераций устройства, управл ющий вход 39 мультиплексора 6 и через элемент ИЛИ 15 на управл ющий вход счетчика 2 адреса. Таким образом, на информационном входе счетчика 2 присутствует адресньш код с входа 32 мультиплексора 6. Этот код из счетчика 4 возврата  вл етс  адресом следующей МК прерванной рабочей МП и заноситс  в счетчик 2 по заднему фронту очередного тактового импульса с выхода 14.1 генератора 14. Далее устройство снова работает в первом режиме.20 micro-operations of the device, control input 39 of multiplexer 6 and through the OR 15 element to the control input of counter 2 addresses. Thus, the information input of counter 2 contains the address code from input 32 of multiplexer 6. This code from return counter 4 is the address of the next MC of the interrupted working MP and is entered into counter 2 on the falling edge of the next clock pulse from output 14.1 of the generator 14. Next, the device works in the first mode again.

В третьем режиме, т.е. по сигналу недопустимого прерывани , сформированному блоком 8, устройство .работает аналогично второму режиму. Отличие лишь в том, что сигнал недопустимого прерывани  устанавливает триггер 12 ошибки в единичное состо ние и на выходе 26 устройства по вл етс  единичный сигнал. Сигнал конца МП прерьшани , считываемой из пол  1.5 последней МК МП прерывани  по недопустимому запросу поступает на первый вход элемента И 17. По очередному тактовому импульсу с выхода 14.1 генератора 14 в счетчик 2 записываетс  адресный код с выхода счетчика 4 возврата , а единичный сигнал с выхода элемента И 17 обнул ет триггер 12. Сигнал ошибки на выходе 26 устройства при этом исчезает.In the third mode, i.e. according to the invalid interrupt signal generated by block 8, the device operates similarly to the second mode. The only difference is that the signal of an unacceptable interruption sets the error trigger 12 to one state and a single signal appears at the device output 26. The signal of the end of the interrupt signal MP read from the 1.5 field of the last MC of the interrupt MP arrives at the first input of the element I 17. At the next clock pulse from the output 14.1 of the generator 14, the counter code 2 records the address code from the output of the return counter 4, and a single signal from the output element And 17 zeroed trigger 12. The error signal at the output 26 of the device disappears.

Заканчивает свою работу устройство после записи в регистр 3 микрооперационного кода последней МК последней МП программы. При этом на выходе 24 выхода блока 11 дешифраторов возникает сигнал конца работы, которьм поступает на нулевой вход триггераThe device finishes its work after writing to the register 3 of the micro-operation code of the last MC of the last MP program. In this case, at the output 24 of the output of the block 11 of the decoders, a signal of the end of the work arises, which arrives at the zero input of the trigger

3535

4040

4545

5five

типа Д) и поэтому сигналы прерываний во втором режиме по витьс  не могут. В поле 1.5 конца МП прерывани  последней МК МП прерьюани  записана единица . При считывании этой МК из ПЗУ 1 сигнал конца МП прерывани  поступает на первый вход элемента И 18. По заднему фронту импульса с выхода 14.2Type D) and therefore the interrupt signals in the second mode cannot appear. In the 1.5 field of the end of the MT of the interrupt of the last MC When reading this MC from ROM 1, the signal of the end of the interrupt MF is fed to the first input of the element And 18. On the falling edge of the pulse from output 14.2

5five

00

вход элемента И 18, выход которого соединен со счетным входом счетчика 4 возврата, последний увеличивает свое содержимое на единицу. Поэтомуthe input element And 18, the output of which is connected to the counting input of the counter 4 return, the latter increases its content by one. therefore

же заднему фронту в регистр 3 зано-i. ситс  последний микрооперационный код МП прерывани . Сигнал конца МП прерывани  с выхода пол  1.5 блока 1, . кроме того, поступает на выход 25same falling edge in register 3 zano-i. the latest micro-operation interrupt MP code is set. The signal of the end of the interrupt MT from the output of floor 1.5 of block 1,. also arrives at exit 25

0 микроопераций устройства, управл ющий вход 39 мультиплексора 6 и через элемент ИЛИ 15 на управл ющий вход счетчика 2 адреса. Таким образом, на информационном входе счетчика 2 присутствует адресньш код с входа 32 мультиплексора 6. Этот код из счетчика 4 возврата  вл етс  адресом следующей МК прерванной рабочей МП и заноситс  в счетчик 2 по заднему фронту очередного тактового импульса с выхода 14.1 генератора 14. Далее устройство снова работает в первом режиме.0 device micro-operations, control input 39 of multiplexer 6 and through the OR 15 element to the control input of counter 2 addresses. Thus, the information input of counter 2 contains the address code from input 32 of multiplexer 6. This code from return counter 4 is the address of the next MC of the interrupted working MP and is entered into counter 2 on the falling edge of the next clock pulse from output 14.1 of the generator 14. Next, the device works in the first mode again.

В третьем режиме, т.е. по сигналу недопустимого прерывани , сформированному блоком 8, устройство .работает аналогично второму режиму. Отличие лишь в том, что сигнал недопустимого прерывани  устанавливает триггер 12 ошибки в единичное состо ние и на выходе 26 устройства по вл етс  единичный сигнал. Сигнал конца МП прерьшани , считываемой из пол  1.5 последней МК МП прерывани  по недопустимому запросу поступает на первый вход элемента И 17. По очередному тактовому импульсу с выхода 14.1 генератора 14 в счетчик 2 записываетс  адресный код с выхода счетчика 4 возврата , а единичный сигнал с выхода элемента И 17 обнул ет триггер 12. Сигнал ошибки на выходе 26 устройства при этом исчезает.In the third mode, i.e. according to the invalid interrupt signal generated by block 8, the device operates similarly to the second mode. The only difference is that the signal of an unacceptable interruption sets the error trigger 12 to one state and a single signal appears at the device output 26. The signal of the end of the interrupt signal MP read from the 1.5 field of the last MC of the interrupt MP arrives at the first input of the element I 17. At the next clock pulse from the output 14.1 of the generator 14, the counter code 2 records the address code from the output of the return counter 4, and a single signal from the output element And 17 zeroed trigger 12. The error signal at the output 26 of the device disappears.

Заканчивает свою работу устройство после записи в регистр 3 микрооперационного кода последней МК последней МП программы. При этом на выходе 24 выхода блока 11 дешифраторов возникает сигнал конца работы, которьм поступает на нулевой вход триггераThe device finishes its work after writing to the register 3 of the micro-operation code of the last MC of the last MP program. In this case, at the output 24 of the output of the block 11 of the decoders, a signal of the end of the work arises, which arrives at the zero input of the trigger

5five

00

5five

5five

13 пуска и обнул ет его, запреща  таким образом работу генератора 14 тактовых импульсов.13 start and zero it, prohibiting thus the operation of the generator 14 clock pulses.

Таким образом, предлагаемое уст- ройство позвол ет осуществл ть анализ на допустимость поступающих на него запросов на прерывание, т.е. работать в режиме контрол  и диагностировани . Кроме того, обслуживание запросов на прерывание ускор етс  за счет обеспечени  дл  каждой МК, при которой возможно прерывание, права на прерывани  максимально возможного числа различных запросов. Thus, the proposed device allows an analysis of the admissibility of incoming interrupt requests, i.e. work in the control and diagnostics mode. In addition, the servicing of interrupt requests is accelerated by providing for each MC, at which an interrupt is possible, the right to interrupt as many different requests as possible.

Claims (1)

Формула изобретени Invention Formula Микропрограммное устройство управлени , содержащее блок пам ти микрокоманд , счетчик адреса, мультиплек- сор адреса, мультиплексор логических условий, регистр микроопераций, триг гер пуска, триггер ошибки, генератор тактовых импульсов, причем информационный выход счетчика адреса соеди- нен с адресным входом блока пам ти микрокоманд, выход пол  адреса которого соединен с первым информационным входом мультиплексора адреса, выход которого соединен с информацион- ным входом счетчика адреса, выход пол  микроопераций блока пам ти микрокоманд соединен с информационным входом регистра микроопераций, вход запуска устройства соединен с входом установки в 1 триггера пуска, пр - мой выход которого соединен с входом запуска генератора тактовых импульсов , первый и второй выходы которого соединены соответственно с входом синхронизации счетчика адреса и с входом синхронизации регистра микроопераций , выход метки линейной микрокоманды блока пам ти микрокоманд соединен со стробирующим входом плексора логических условий, выход которого соединен с первым управл ющим входом мультиплексора адреса, выход пол  логических условий блока пам ти микрокоманд соединен с адресным входом мультиплексора логических условий, вход логических условий устройства соединен с информационным входом мультиплексора логических условий , пр мой выход триггера ошибки соединен с выходом ощибки устройст- ва, выходы признаков Конец микропрограммы прерывани  и Конец команды блока пам ти микрокоманд соеA microprogram control device containing a microcommand memory block, an address counter, an address multiplexer, a logic conditions multiplexer, a micro-operation register, a trigger, an error trigger, a clock generator, and the information output of the address counter is connected to the address of the memory block microinstructions, the output of the address field of which is connected to the first information input of the address multiplexer, the output of which is connected to the information input of the address counter, the output of the microoperations floor of the microcool memory unit Mand is connected to the micro-operation register information input, the device start input is connected to the installation input of 1 start trigger, the forward output of which is connected to the clock generator start input, the first and second outputs of which are connected to the address counter clock input and microoperations, the output label of the linear microcommand of the microcommand memory block is connected to the gate input of the logical conditions plexor, the output of which is connected to the first control input of address multiplexer, the output of the logic conditions of the microcommand memory block is connected to the multiplexer address input of the logic conditions, the logical conditions input of the device is connected to the information input of the multiplexer logic conditions, the forward error trigger output is connected to the output of the device error, the outputs of the signs Interrupt microprogram end and End of the microinstructions memory block command с Q 15from Q 15 20 25 5 0 5 20 25 5 0 5 00 5five динены соответственно с вторым и третьим управл ющими входами мультиплексора адреса и подключены к одноименным выходам устройства, вход кода операции устройства соединен с вторым информационным входом мультиплексора адреса, отличающеес  тем, что:, с целью расширени  области применени  за счет обеспечени  обработки различных типов прерываний, оно дополнительно содержит блок дешифраторов, первый и второй шифраторы, счетчик возврата , с первого по четвертый элементы ИЛИ, с первого по п тый злементы И, первый и второй блоки элементов И, причем выход метки линейной микрокоманды блока пам ти микрокоманд соединен с первыми входами четвертого и п того элементов И, вход прерываний устройства соединен с входами первого и второго шифраторов и с первыми входами первого и второго блоков элементов И, выход пол  адреса блока пам ти микрокоманд соединен с вторым входом первого блока элементов И, выход которого соединен с входами третьего элемента ИЛИ, выход которого соединен с вторым входом четвертого элемента И, выход которого соединен с первым входом второго элемента ИЛИ и с четвертым управл ющим входом мультиплексора адреса, выход пол  логических условий блока пам ти микрокоманд соединен с вторым входом второго блока элементов И, выход которого соединен с входами четвертого элемента ИЛИ, выход которого соединен с вторым входом п того элемента И, выход которого соединен с входом установки в 1 триггера ошибки,с п тым управл ющим входом мультиплексора адреса и с вторым вхо дом второго элемента ИЛИ, выход мультиплексора логических условий соединен с первым входом первого элемента ИЛИ, первый выход генератора тактовых импульсов соединен с первым входом первого элемента И, второй выход генератора тактовых импульсов соединен с первыми входами второго и третьего элементов И, выходы меток Конец микропрограммы прерываний и Конец команды блока пам ти микрокоманд соединены соответственно с вторым и третьим входами первого элемента ИЛИ, выход которого соединен с входом счета-записи счетчика адреса , выход второго элемента ИЛИ соединен с четвертым входом первого элемента ИЛИ и с вторым входом третьего элемента И, выход которого соединен , с входом синхронизации счетчика возврата , выход Метки микропрограммы прерывани  блока пам ти микрокоманд соединен с вторыми входами первого элемента И и второго элемента И, вы- JQ ход первого элемента И соединен с входом установки в О триггера ошибки, выход второго элемента И соединен с суммирующим счетным входом счетчика Возврата, выходы первого и второго 15Dineny respectively with the second and third control inputs of the address multiplexer and connected to the device outputs of the same name, the input of the operation code of the device is connected to the second information input of the address multiplexer, characterized in that: in order to expand the scope by providing processing of various types of interrupts, it additionally contains a decoder block, first and second encoders, a return counter, first to fourth elements OR, first to fifth elements And, first and second blocks of elements And, The output of the label of the linear microcommand of the microcommand memory block is connected to the first inputs of the fourth and fifth elements And, the interrupt input of the device is connected to the inputs of the first and second encoders and to the first inputs of the first and second blocks of elements And, the output address field of the microcommand memory block is connected to the second input of the first block of elements AND, the output of which is connected to the inputs of the third element OR, the output of which is connected to the second input of the fourth element AND, the output of which is connected to the first input of the second element OR and the fourth control input of the address multiplexer, the output of the logical conditions of the microcommand memory block is connected to the second input of the second block of AND elements, the output of which is connected to the inputs of the fourth OR element, the output of which is connected to the second input of the fifth AND element, the output of which is connected to the installation input in 1 error trigger, with the fifth control input of the address multiplexer and with the second input of the second OR element, the output of the logic conditions multiplexer is connected to the first input of the first OR element, the first output is generated the clock pulse is connected to the first input of the first element AND, the second output of the clock generator is connected to the first inputs of the second and third elements AND, the labels outputs the end of the microprogram of interrupts and the end of the command of the microcommand memory block are connected respectively to the second and third inputs of the first element OR, the output which is connected to the input of the counting record of the address counter, the output of the second element OR is connected to the fourth input of the first element OR and to the second input of the third element AND, the output of which is connected, to the synchronization input of the return counter, the output of the microinstructions memory interrupt microprogram Label is connected to the second inputs of the first element AND and the second element AND, you- JQ the course of the first element And is connected to the installation input in O of the error trigger, the output of the second element I is connected to the summing counting input Return counter, first and second outputs 15 Содержимое пол  1.1 метки линейной МКContents field 1.1 label linear MK Содержимое пол  1.2 адреса очередной МКContents floor 1.2 addresses of the next MK Содержимое пол  1.3 кода провер емого логического услови The contents of field 1.3 of the code being verified are logical conditions Содержимое пол  1.4 кода микроопера1щйContents floor 1.4 microscope code Содержимое пол  1.5 конца команды прерывани Contents floor 1.5 end of interrupt command Содержимое пол  1.6 конца рабочей командыContents floor 1.6 end of working team ПримечаниеNote Типы команд:Types of commands: А - линейна  МК рабочих МП (адрес следующей за ней МК формируетс  счетчиком-2 увеличением своего содержимого на единицу) ;A is a linear MC of working MPs (the address of the next MC is generated by a counter-2 by increasing its content by one); В - МК ветвлени  (адрес следующей за ней МК записанB - MK branching (the address of the following MK is recorded в поле 1.2, если значение логического услови , код которого записан в поле 1.3 блока 1 - единичное/ в противном случае адрес следующей МК формируетс  как и- в случае линейной МК) ;in field 1.2, if the value of the logical condition, the code of which is recorded in field 1.3 of block 1, is one (otherwise the address of the next MC is formed as in the case of linear MC); С - последн   МК в рабочей МП; она всегда линейна, но в ее поле 1.2 и 1.3 записаны нулевые коды, запрещающие прерывать данную МК по любому запросу;C - the last MK in the working MP; it is always linear, but zero and 1.2 codes are written in its field 1.2 and 1.3, which prohibit interrupting this MC by any request; D - линейна  МК в МП прерывани , в ее пол х 1.2 и 1.3 записываютс  нулевые коды, что позвол ет исключить прерывани  МП прерываний; единица в поле 1.5 записана только в последней (всегда линейной) микрокоманде МП прерывани .D is a linear MK in the MP of interruptions; in its fields x 1.2 and 1.3, zero codes are written, which makes it possible to exclude interruptions of the MP interrupts; the unit in field 1.5 is recorded only in the last (always linear) microcommand MP interrupt. шифраторов соединены соответственно с третьим и четвертым информационными входами мультиплексора адреса, информационный ВЫХОД счетчика адреса соединен с информационным входом счетчи. ка возврата, информационньй выход которого соединен с п тьм информационным входом мультиплексора адреса, выход регистра микрооперации соединен с входом блока дешифратора, выход которого подключен к выходу микроопераций устройства, кроме того, первый выход блока дешифратора соединен.с входом установки в О триггера пуска.the encoders are connected respectively to the third and fourth information inputs of the address multiplexer, the information OUTPUT of the address counter is connected to the information input of the counter. A return, the information output of which is connected to the Fifth information input of the address multiplexer, the output of the micro-operation register is connected to the input of the decoder unit, the output of which is connected to the output of the device microoperations, and the first output of the decoder unit is connected to the start triggering switch. Код разре- Адресный шенных кодCode allowed Address code и недопус- Код логи- тимых пре- ческого ус- рываний лови and non-admissible code of the logical termination of catching Коды микрооперацийCodes of micro-operations 0(1)0 (1)
SU864117530A 1986-06-16 1986-06-16 Microprogram control device SU1376084A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU864117530A SU1376084A1 (en) 1986-06-16 1986-06-16 Microprogram control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU864117530A SU1376084A1 (en) 1986-06-16 1986-06-16 Microprogram control device

Publications (1)

Publication Number Publication Date
SU1376084A1 true SU1376084A1 (en) 1988-02-23

Family

ID=21256572

Family Applications (1)

Application Number Title Priority Date Filing Date
SU864117530A SU1376084A1 (en) 1986-06-16 1986-06-16 Microprogram control device

Country Status (1)

Country Link
SU (1) SU1376084A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1183964, кл. G 06 F 9/22, 1984. Авторское свидетельство СССР № 1208556, кл. G 06 F 9/22, 1984. *

Similar Documents

Publication Publication Date Title
SU1376084A1 (en) Microprogram control device
SU1476465A1 (en) Microprogram control unit
SU1481712A1 (en) Asynchronous program-control unit
SU1659983A1 (en) Programmable controller
SU1179338A1 (en) Microprogram control device
SU1142833A1 (en) Microprogram control device
SU1702370A1 (en) Microprogram control device with checking
SU1161942A1 (en) Multiprogram control device
SU1272333A1 (en) Multimicroprogram control device with checking
SU1305679A1 (en) Microprogram control device with checking
SU1649539A1 (en) Device of microprogramm control
SU1683019A2 (en) Program debugger
SU1647519A1 (en) Modular device for programmed testing and control
SU1215114A1 (en) Interface for linking computer with using equipment
SU1332318A1 (en) Multistep microprogramming control device
SU1397908A1 (en) Microprogram control device
SU1166109A2 (en) Microprogram control unit
SU1183964A1 (en) Microprogram control device
SU1285471A1 (en) Control device for checking
SU1553984A1 (en) Microprogram processor
SU1208556A1 (en) Microprogram device with check
SU1180888A1 (en) Microprogram control device
SU1633402A1 (en) Microprogrammed control device
SU1310816A1 (en) Microprogram control device
SU696454A1 (en) Asynchronous control device