SU862144A1 - Microprogram processor with checking - Google Patents

Microprogram processor with checking Download PDF

Info

Publication number
SU862144A1
SU862144A1 SU802869691A SU2869691A SU862144A1 SU 862144 A1 SU862144 A1 SU 862144A1 SU 802869691 A SU802869691 A SU 802869691A SU 2869691 A SU2869691 A SU 2869691A SU 862144 A1 SU862144 A1 SU 862144A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
register
address
signal
Prior art date
Application number
SU802869691A
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 SU802869691A priority Critical patent/SU862144A1/en
Application granted granted Critical
Publication of SU862144A1 publication Critical patent/SU862144A1/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

{54) МИКРОПРОГРАММНЫЙ ПРОЦЕССОВ С КОНТРОЛЕМ{54) FIRMWARE PROCESSES WITH CONTROL

.,:, .-,: .,:, .- ,:

Микропрограммный процессор с кбит ролем относитс  к области цифровой вычислительной техники и может быть использован в ЭВМ- с микропрограммньш управлением.The microprocessor processor with a kbit role belongs to the field of digital computing and can be used in a computer with firmware control.

Известен микропрограммный процессор с контролем, содержащий операдиг онный блок, регистры адресов микрокоманд и собственно микрокоманд/ блок пам ти микрокоманд, узел qpaaнени г триггер фиксации сбо  и логические элементы И, ИЛИ, НЕ A microprocessor processor with a control is known, which contains an operadig block, registers of microinstructions and the microcommands proper / microinstructions memory block, a qpaanan node, a flip-flop trigger and logic elements AND, OR, NOT

Недостатком устройства  вл ютс  низка  достоверность функционировани  и низка  оперативность контрол .The disadvantage of the device is low reliability of operation and low efficiency of control.

Наиболее близкнм по технической сущности и достигаемому эффекту из известных устройств к изобретению .  вл етс  микропрограммный процессор, содержащий опергщионный блок, блок пам ти микрокоманд, регистр «1кро-. команд, два регистра адреса, регистр кода операций, блок сравнени , триггер фиксации.сбо , дес ть элементов И, четыре элемента ИЛИ, два элемента НЕ, элемент задержки. Шдход кода операции- операционного блока соединен с входом регистра кода операции, выход которого соединен с первым входом первого, элемента И, второй входThe closest in technical essence and the achieved effect of the known devices to the invention. is a microprogrammed processor containing an operative block, a microinstruction memory block, the register "1cro. commands, two address registers, an operation code register, a comparison block, a commit trigger, ten AND elements, four OR elements, two NOT elements, a delay element. Shdhod operation code-operational block is connected to the input of the operation code register, the output of which is connected to the first input of the first, element And, the second input

которого соединеи е выходом начала оп шдии-рперационноро блока и пер1зым вход торвого элемента ИЛИ, Выс ход первого элемента. И соединен сwhich is connected with the output of the start of the operational unit and the first input of the toric element OR, the output of the first element. And connected to

пёржй входом первого регистра адреса , второй вход которого соединен с BUxoscnit второго элемента И, а - С перевес вхсцдами блока па111 МЯ7И, третьего И четвертого элементов . В1сбд третьего элемента И соединен с выходом чтени  микрокоманд опероциойного блоха, вторым входом блока па1у01ти микрокоманд, а также через элемент задержки с The first input is the first register of the address, the second input of which is connected to the BUxoscnit of the second element I, and - C the overweight of the block pa111 МЯ7И, the third and fourth elements. B1sbd of the third element I is connected to the reading output of microcommands of the operocyclic flea, the second input of the block of paу01ti microcommands, and also through the delay element with

1 первым входом п того элемента и. &лсод третьего элемейта И соединен с neipf at входом второго «чэегистра . Выход блока пам ти микрокома1|д соединен с входом регистра1 the first input of the p element and. & lsod of the third element And is connected to the neipf at the input of the second "chaeogistra. The output of the microcoma1 memory unit | d is connected to the register input

2 иткрокоманд, выход м крокоманд соединен , с первым входом операционного О Охв адресный выход - с вторым входом операщюнного блока и первым входом sfottoro элемента И, выход 2 ith commands, the output of the crocs is connected, with the first input of the operating room O Roo address output - with the second input of the operating unit and the first input of the sfottoro element And, the output

25 логических условий - с первым входом swKMBHta И. второй вход второго эледлевта и через первый элемент BE соеди е .с выходом первого элемента Wra, «торой вход которого соединен 25 logical conditions - with the first input swKMBHta I. the second input of the second eledlev and through the first element BE connect it with the output of the first element Wra, "the second input of which is connected

за с vt yeojUfXt конца операции операционного блока, первым входом седьмого эле мента И, третьим входом первого регистра адреса, вторым входом второго регистра адреса, выход которого соединен с вторым входом п того элемента И. Второй вход седьмого элемента И соединен с адресным выходом регист ра микрокоманд, выход - с первым вхо дом второго элемента ИЛИ, выход кото рого соединен с первым входом блока сравнени . Второй вход второго элемента ИЛИ соединен с выходом шестого элемента И, второй вход которого сое динен с выходом элемента задержки и первым входом третьего элемента ИЛИ, второй вход которого соединен с выхо дом первого элемента ИЛИ и вторым входом четвертого элемента И, выход которого соединен с третьим входом второго элемента ИЛИ. Первый вход восьмого элемента И соединен с выходом регистра кода операций, а выход - с первым входом четвертого эле мента ИЛИ, второй вход которого соединен с выходом п того элемента И, а выход - с вторым входом блока срав нени , третий вход которого соединен с выходом дев того рлемента И, первый вход которого соединен с выходо третьего элемента ИЛИ. Второй вход дев того элемента И через второй эле мент НЕ соединен с выходом метки регис-рра микрокоманд и первым входом дес того элемента И, второй вход которого соединен с выходом логических условий регистра микрокоманд, а третий вход - с выходом логических усло вий операционного блока, третий вход которого соединен с выходом триггера фиксации сбо , вход которого соединен с выходом блока сравнени . Выход дес того элемента И соединен с четвертым входом первого регистра адреса Г2. Недостатком устройства  вл етс  низка  оперативность контрол  соответстви  выполн емой микропрограммы той микропрограмме, код которой записан в регистре кода операции. Целью изобретени   вл етс  повышение оперативности контрол  и достоверности функционировани  микропрограммного процессора. Поставленна  цель достигаетс  тем, что в микропрограммный процессор с контролем дополнительно введены триггер признака, сумматор по модулю два, одиннадцатый и двенадцатый элементы И, п тый элемент ИЛИ. Первый вход сумматора по модулю два соединен с выходом логических условий операционного блока, выход - с четвертым входом второго элемента ИЛИ, второй вход сумматора по модулюдва - с выходом одХиннадцатого эле мента И,первый вход которого соедине с выходом логических условий регистра микрокоманд, второй вход одинна,дцатого элемента И - с выходом двенадцатого элемента И, четвертым входом блока сравнени  и первым входом п того элемента ИЛИ, второй вход которого соединен с выходом первого элемента ИЛИ, а выход - с вторым входом восьмого элемента И. Первый вход двенадцатого элемента И соединен с выходом второго элемента НЕ, второй вход - с единичным выходом триггера признака, единичный вход которого соединен с выходом метки регистра микрокоманд. Нулевой вход триггера признака соединен с выходом дев того элемента И, а нулевой выход - с третьими входами п того и шестого элементов И, третий вход двенадцатого элемента И соединен с выходом элемента задержки. Сущность изобретени  состоит в повышении оперативности контрол  за счет увеличени  числа проверок соответстви  выполн емой микропрограммы заданному коду операции, а также в повышении достоверности функционировани  за счет осуществлени  контрол  правильности ветвлени  NgiKpoпрограммы . При этом контроль соответстви  выполн емой микропрограмкы заданному коду операции и контроль правильности выполнени  ветвлений в микропрограмме осуществл ютс  одновре1 ванно общими средствами проверки. Однако временный контроль реализуетс  после считывани  первой микрокоманды, следующей за очередным ветвлением и в микропрограмме. Это позвол ет повысить оперативность контрол  соответстви  заданного кода операции выполн емой Л4икро про грамме и довести ее до среднего времени между ветвлени ми , а также повысить достоверность функционировани  за счет организации контрюл  ветвлений. На чертеже приведена функциональна  схема микропрограммного процессора с контролем. На чертеже использованы следующие обозначени : операционный блок 1, выходы логических условий, начала операции, конца операции, кода операции и чтени  микрокоманд 2-6 соответственно , первь1й элемент ИЛИ 7, и регистр кода операций 8, первый элемент НЕ 9, первый элемент И 10, второй элемент И 11, дес тый элемент И 12, первый регистр адреса 13, блок пг1М ти микрокоманд 14, регистр микрокоманд 15 с пол ми адресными 16, микрокоманд 17, логических условий 18, метки 19, седьмой элемент И 20, второй элемент НЕ 21, одиннадцатый элемент И 22, сумматор по модулю два 23, триггер признака 24, двенадцатый элемент И 25, элемент задержки 26, шестой элемент И 27, второй элемент ИЛИ 28, третий элемент И 29, второй регистр адреса 30, петый элемент И 31, четаертый элемент И 32, четвертый элемент ИЛИ 33, третий элемент ИЛИ . 34j дев тый элемент И 35, п тый элемент ИЛИ 36, восьмой элемент И 37, триггер фиксации сбо  38, блок сравне НИН 39, первый - четвертый входы 4043 блока сравнени  соответственно,for vt yeojUfXt at the end of the operation of the operation unit, the first input of the seventh element I, the third input of the first address register, the second input of the second address register, the output of which is connected to the second input of the fifth element I. The second input of the seventh element I is connected to the address output of the register microinstructions, the output is from the first input of the second OR element, the output of which is connected to the first input of the comparison unit. The second input of the second OR element is connected to the output of the sixth AND element, the second input of which is connected to the output of the delay element and the first input of the third OR element, the second input of which is connected to the output of the first OR element and the second input of the fourth AND element, the output of which is connected to the third the input of the second element OR. The first input of the eighth AND element is connected to the output of the operation code register, and the output to the first input of the fourth OR element, the second input of which is connected to the output of the fifth AND element, and the output to the second input of the comparison unit, the third input of which is connected to the output The second input is And, the first input of which is connected to the output of the third element OR. The second input of the ninth element AND through the second element is NOT connected to the output of the regis-pp microinstruction label and the first input of the tenth element I, the second input of which is connected to the output of the logical conditions of the microinstruction register, and the third input - to the output of the logical conditions of the operation unit, the third input of which is connected to the output of the latching trigger, the input of which is connected to the output of the comparison unit. The output of the tenth element I is connected to the fourth input of the first register of the address G2. The drawback of the device is the low efficiency of monitoring the compliance of the executed firmware with the firmware whose code is recorded in the operation code register. The aim of the invention is to increase the speed of control and reliability of the operation of the microprogrammed processor. This goal is achieved by the fact that the trigger trigger, modulo two, eleventh and twelfth elements AND, the fifth element OR are additionally introduced into the microprogrammed processor with control. The first input of the modulo two adder is connected to the output of the logic conditions of the operating unit, the output is connected to the fourth input of the second OR element, the second input of the adder is modulated to the output of one XI-XIII element AND, the first input of which is connected to the output of the logical conditions of the microinstruction register, the second input of the eleventh And element with the output of the twelfth And element, the fourth input of the comparison unit and the first input of the fifth OR element, the second input of which is connected to the output of the first OR element, and the output to the second input of the eighth ele element I. The first input of the twelfth element I is connected to the output of the second element NOT, the second input is connected to the single output of the trigger of the sign, the single input of which is connected to the output of the register of microinstructions. The zero input of the trigger of the sign is connected to the output of the ninth And element, and the zero output to the third inputs of the fifth and sixth And elements, the third input of the twelfth And element is connected to the output of the delay element. The essence of the invention consists in increasing the control efficiency by increasing the number of checks of the compliance of the executed microprogram with the specified operation code, as well as in increasing the reliability of operation by controlling the correctness of the branch of the NgiK program. At the same time, the control of the correspondence of the executed firmware to the specified code of operation and the control of the correctness of the execution of the branches in the microprogram are carried out simultaneously by the general means of verification. However, time control is implemented after reading the first microcommand following the next branch and in the microprogram. This makes it possible to increase the efficiency of monitoring the correspondence of a given operation code to an L4 and D program, and bring it up to the average time between branches, as well as increase the reliability of operation by organizing control branches. The drawing shows a functional diagram of a microprogrammed processor with control. The following notation is used in the drawing: operational unit 1, outputs of logical conditions, operation start, operation end, operation code and microcommand reading 2-6, respectively, the first element OR 7, and the operation code register 8, the first element is NOT 9, the first element is AND 10 , the second element And 11, the tenth element And 12, the first register of the address 13, the block pg1M of micro-commands 14, the register of micro-commands 15 with the address field 16, the micro-commands 17, logical conditions 18, marks 19, the seventh element And 20, the second element NOT 21, the eleventh element And 22, the modulo two 23, trig The sign 24, the twelfth element And 25, the delay element 26, the sixth element And 27, the second element OR 28, the third element And 29, the second register address 30, the loop element And 31, the four-element element AND 32, the fourth element OR 33, the third element OR . 34j, the ninth element AND 35, the fifth element OR 36, the eighth element AND 37, the latch trigger 38, the block compared to the NIN 39, the first - the fourth inputs 4043 of the comparison block, respectively

выход 44 блока сравнени .output 44 of the comparison unit.

Первый регистр адреса 13 предназначен дл  хранени  адреса Очередной микрокоманды во врем  выполнени  текущей микрокоманды.The first register of address 13 is intended to store the address of the next micro-command during the execution of the current micro-command.

Второй регистр адреса 30 предназначен дл  хранени  кода адреса, поступившего с первого регистра адреса 13 на врем  считывани  микрокоманды из блока пам ти микрокоманд 14The second register of address 30 is designed to store the code of the address received from the first register of address 13 for the time of reading the microcommand from the memory of microcommand 14.

Микропрограммный процессор работа ет следуквдим образом.The microprocessor processor works in the following way.

Выполнение каждой команды разделено на два цикла: цикл выборки команды и цикл ее исполнени  в соответствии с кодом операции. Первый цикл  вл етс  общим дл  всех команд, в то врем  как цикл исполнени  состоитиз различных микропрограмм дл  различных команд.The execution of each command is divided into two cycles: the cycle of selecting the command and the cycle of its execution in accordance with the operation code. The first cycle is common to all commands, while the execution cycle consists of various firmware for various commands.

В конце цикла выборки командал и адресных преобразований код операций поступает в регистр кода операций 8, и операционный блок 1 формирует сигнал начала операции. По этому сигналу код операции поступает через первый элемент И 10 в П1ервый регистр адреса 13.At the end of the sampling cycle, the command and address conversions the operation code goes to the operation code register 8, and the operation unit 1 generates a signal to start the operation. On this signal, the operation code enters through the first element AND 10 in the first address register 13.

Правидьность записи кода операции в регистр адреса 13 контролируетс  путем сравнени  его содержимого с содержимым регистра кода операций 8 по сигналу начала операции, поступающего из операционного блока 1.The validity of the operation code entry in the address register 13 is monitored by comparing its contents with the contents of the operation code register 8 by the operation start signal from the operation unit 1.

По этому сигналу гшрес первой микрокоманды с выхода первого регистра адреса 13 поступает через четвертый элемент И 32 на третий вход второго элемента ИЛИ 28 и далее на первый вход 40 блока сравнени  39.This signal Gshres of the first microcommand from the output of the first register of address 13 enters through the fourth element AND 32 to the third input of the second element OR 28 and further to the first input 40 of the comparison unit 39.

Одновременно с этим сигнгш Начала операции с выхода первого элемента ИЛИ 7 поступает через п тый элемент ИЛИ 36 на второй вход восьмого элемента И 37, разреша  прохождение кода операции с выхода регистра кодг операции 8 через четвертый элемент ИЛИ 33 на второй вход блока сравнени  39. Далее происходит сравнение указанных кодов по сигналу начала опера1дии, который поступает с выхода первого элемента ИЛИ 7 через третий элемент ИЛИ 34 и открытый дев тый элемент И 35 на третий вход 42 блока сравнени  39. Если коды не совпадают то на выходе 44 блока сравнени  39 формируетс  сигнал, который поступает на вход триггера фиксации сбо  38 и запрещает дгшьнейшую работу операционного блока 1. Если коды совпадают, то работа процессора продолжаетс . На выходе чтени  микрокоманд 6 операционного блока 1 формируетс  сигнал, по которому происходит считывание микрокоманды по соотJ ветствующему адресу из блока пам ти макрокоманд 14. Этот же сигнал поступает на второй вход третьего элемента И 29, и адрес микрокоманды записываетс  во второй регистр адреса 30. Через врем  f (врем  считывани  одной микрокоманды из блока пам ти микрокоманд 14) в адресном Simultaneously, the start of the operation from the output of the first element OR 7 goes through the fifth element OR 36 to the second input of the eighth element AND 37, allowing the operation code from the output of the kodg register of operation 8 to pass through the fourth element OR 33 to the second input of the comparison block 39. Further these codes are compared according to the start of operation signal, which comes from the output of the first element OR 7 through the third element OR 34 and the open ninth element AND 35 to the third input 42 of the comparison block 39. If the codes do not match then the output 44 of the comparison block audio signal 39 is generated, which is supplied to the trigger input of fixing SRB dgshneyshuyu 38 and prohibits operation of the operation unit 1. If the codes match, the operation proceeds processor. At the readout output of microcommands 6 of the operation unit 1, a signal is generated by which the microcommand is read at the corresponding address from the memory block of macro commands 14. The same signal goes to the second input of the third element And 29, and the microcommand address is written to the second address register 30. Through the time f (the read time of one microcommand from the microcommand memory block 14) in the address

0 поле 16 регистра микрокоманд 15 форкируетс  адрес следующей микрокоманды , который поступает на первый вход второго элемента И 11, открытый элементом НЕ 9. (во врем  выполнени  0 the field 16 of the register of microinstructions 15 forks the address of the next microcommand that arrives at the first input of the second element 11, opened by the element NOT 9. (during execution

5 микропрогрсиу1МЫ сигнала на выходах начала и конца операции и выходе элемента ИЛИ 7 отсутствуют), и на второй вход операционного блока 1. Проход  через элемент И 11, адрес 5 microprograms of the signal at the start and end of the operation and the output of the element OR 7 are absent), and to the second input of the operation unit 1. Pass through the element 11, address

0 записываетс  в первый регистр адреса 13.0 is written to the first register of address 13.

На первый вход операционного блока 1 поступает операционна  часть считанной микрокоманды с пол  микрокоманд 17 регистра микрокоманд 15.At the first input of the operation unit 1, the operation part of the readable micro-command is received from the field of micro-commands 17 of the register of micro-commands 15.

5five

С пол  логических условий 18 pe гистра кмкрокоманд 15 считываетс  адрес исполн емой микрокоманды, который поступает на первый вход шестого элемента И 27. В это врем  на From the logical conditions of 18 pe of the gist of kmcrospectives 15, the address of the executable microcommand is read, which is fed to the first input of the sixth element And 27. At this time,

0 его второй вход.поступает сигнал с выхода чтени  1«|крокоманд 6 через элемент задержки 26, а на третий вход - единичный сигнал с нулевого выхода триггера признака 24. Адрес 0 its second input. A signal comes from the reading output 1 "| of the co-operations 6 through the delay element 26, and the third input receives a single signal from the zero output of the trigger of sign 24. Address

5 выполн емой микрокоманды через второй элемент ИЛИ 28 поступает на первый вход 40 блока сравнени  39. После записи адреса выполн емой микрокоманды во второй регистр адреса 30 5 of the executed microcommand through the second element OR 28 enters the first input 40 of the comparison unit 39. After the address of the executed microcommand is written into the second register of the address 30

0 через врем  Tj на первый вход п того элемента И 31 поступит сигнал, разрешающий- передачу адреса, записанного во йтором регистре адреса, на второй вход четвертого элемента ИЛИ 33. Передача адреса возможна, посколь5 ку на третий вход п того элемента И 31 поступает единичный сигнал с нулевого выхода триггера признака 240 through time Tj, the first input of the fifth element AND 31 will receive a signal allowing the transfer of the address recorded in the second address register to the second input of the fourth element OR 33. Address transmission is possible, since the third input of the fifth element AND 31 receives a single signal from zero output of trigger 24

Через четвертый элемент ИЛИ 33 Through the fourth element OR 33

0 адрес, записанный во второй регистр адреса 30, поступает на второй вход 41 блока сравнени  39.0, the address recorded in the second register of address 30 is fed to the second input 41 of the compare block 39.

С выхода элемента задержки 26 чербэ BpeMsfj сигнал считывани  мик5 рокоманд поступает на первый вход дев того элемента И 35 через третий элемент ИЛИ 34, на второй вход которого поступает разрешающий сигнал с выхода метки 19 регистра микрокоО манд 15. Сформированный сигнал с выхода дев того элемента И 35 поступает на третий вход 42 блока сравнени  39. При этом контролируетс  правильность считывани  микрокоманды путем сравнени  поступивших на его первыеFrom the output of the delay element 26 cherbe BpeMsfj, the mic5 rocomand read signal is fed to the first input of the ninth element AND 35 through the third element OR 34, the second input of which receives the enabling signal from the output of label 19 of the microcircuit register 15. The formed signal from the output of the ninth element And 35 is fed to the third input 42 of the comparison block 39. At the same time, the correctness of the read of the microcommand is controlled by comparing the incoming

5five

ва входа кодов. В зависимости от езультатов сравнени  кодов адресов работа процессора аналогична описанной выше. В дальнейшем при считывании икрокоманд из блока пам ти микрокоманд 14 контроль пор дка и правильности их считывани  осуществл етс  аналогично.va entry codes. Depending on the comparison of the address codes, the processor's operation is similar to that described above. In the future, when reading irokomando from the microcommand memory unit 14, the control of the order and accuracy of their reading is carried out in a similar way.

При выполнении микрокоманды ветвлени  в поле логических условий. 18 регистра.микрокоманд 15 записываетс  код провер емого логического услови . Он поступает на второй вход дес того элемента И 12, на первый его вход поступает единичное значение с выхода метки 19 регистра микрокоманд 15, а на третий - значение провер емого логического услови . В результате формируетс  (модифицируетс ) адрес следующей Микрокоманды. Единичным сигналом с выхода Метки 19 регистра микрокоманд 15 триггер признака 24 устанавливаетс  в единичное состо ние, и на его единичном выходе по вл етс  разрешающий сигнал, который поступает на второй вход двенадцатого элемента И 25..When executing a microcommand, branching in the field of logical conditions. 18 of the register of microcommands 15, the code of the logical condition being verified is recorded. It arrives at the second input of the tenth element I 12, at its first input it receives a single value from the output of label 19 of the register of microcommands 15, and the third - the value of the checked logical condition. As a result, the next Microcommand address is formed (modified). A single signal from the output of the Mark 19 of the microinstructions register 15, the trigger of the sign 24 is set to the single state, and at its single output appears the enabling signal, which is fed to the second input of the twelfth element 25.

При этом не происходит сравнени  значений кодов, записанных в поле логических условий 18 регистра микрокоманд 15, и содержимого второго регистра адреса 30, поскольку на второй вход дев того элемента И 35 поступает нулевое значение с выхода метки 19 регистра микрокоманд 15 и сигнал на разрешение сравнени  отсутствует . На третий вход шестого элемента И 27 поступает нулевой сигнал с нулевого выхода триггера признака 24, запреща  передачу информации в блок сравнени  39. После считывани  первой микрокоманды после ветвле 1и  в поле метки 19 регистра микрокоманд 15 по вл етс  нулевой сигнал, который инвертируетс  вторым элементом НЕ 21 и поступает на первый вход Двенадцатого элемента И 25, на второй вход которого поступает единичный сигнал с выхода триггера признака 24 и с выхода чтени  микрокоманд 6. На выходе формируетс  сигнсш разрешени , который поступает на второй вход одиннадцатого элемента И 22. На первый вход элемента И 22 поступает контрольный признак, записанный в поле логических условий 18 первой микрокоманды после ветвлений. В качестве контрольного признака выступает код операции, модифицированный значением провер емого логического услови . Модифицированный таким образом код поступает иа второй вход сумматора по модулю два 23, на первый вход которого поступает значение пров  емого логического услови . На выходе сумматора по модулю два 23 в результате формируетс  фактическое значение кода операции, которое поступает на етвертый вход второго элемента ИЛИ 28 и далее на первый вход iO блока сравнени  39.There is no comparison of the values of the codes recorded in the field of logical conditions 18 of the register of microinstructions 15 and the contents of the second register of address 30, since the second input of the ninth And 35 element receives the zero value from the output of the label 19 of the register of microcommands 15 and there is no signal for resolution comparison . The third input of the sixth element And 27 receives the zero signal from the zero output of the trigger of sign 24, prohibiting the transmission of information to the comparison block 39. After reading the first microcommand after branch 1 and in the field 19 of the register of microcommands 15, a zero signal appears that is inverted by the second element NOT 21 and arrives at the first input of the Twelfth element I 25, to the second input of which a single signal is received from the output of the trigger of the sign 24 and from the reading output of the microcommands 6. At the output, a permission signal is generated, which goes to The second input is the eleventh element AND 22. The first input element AND 22 receives the control sign recorded in the field of logical conditions 18 of the first micro-command after branching. The control code is the operation code modified by the value of the logical condition being checked. The code modified in this way arrives at the second input of the modulo two 23, the first input of which receives the value of the logical condition to be carried out. At the output of the modulo two 23, the result is the actual value of the operation code, which is fed to the fourth input of the second element OR 28 and then to the first input of the iO comparison block 39.

Сигнал разрешени  с выхода двенадцатого элемента И 25 поступает также на первый вход п того элемента ИЛИ 36 и с его выхода на второй вход восьмого элемента И 37. В )езультатеThe resolution signal from the output of the twelfth element And 25 is also fed to the first input of the fifth element OR 36 and from its output to the second input of the eighth element And 37. B)

действительное значение .кода опе рации с.выхода регистра кода операци 8 через четвертый, элемент ИЛИ 33 поступает на второй вход 41 блока сравнни  39. Одновременно с этим на четвертый его вход 43 поступает сигнал на разрешение сравнени  кодов с выхода элемента И 35, а затем сигналом с выхода элемента И 35 триггер признака 24 устанавливаетс  в нуль. Далее работа процессора аналогична описанной выше.the actual value of the operation code from the output of the register of the operation code 8 through the fourth, the OR element 33 is fed to the second input 41 of the compare 39 block. At the same time, its fourth input 43 receives a signal to allow comparison of the codes from the output of the And 35, and then the signal from the output of the element 35 and the trigger of the sign 24 is set to zero. Further, the processor is similar to that described above.

Одновременно с контролем соответстви  выполн емой микропрограммы заданному коду операции осуществл етс  контроль правильности ветвлений .Simultaneously with the control of the correspondence of the executed firmware to the specified code of operation, the control of the correctness of the branches is carried out.

При ошибочном переходе nOJby4eHный в результате суммировани  контрольного признака и значени  провер емого логического услови  код не совпадает с требуекым кодом операции и на выходе 44 блока сравнени  39 формируетс  сигнал отказа.If the nOJby4eH transition is erroneous as a result of the summation of the checkpoint and the value of the logical condition being checked, the code does not match the required operation code and the output 44 of the comparison unit 39 generates a failure signal.

В да льнейшем процессор реализует оставшуюс  часть микропрограмлы, осуществл   контроль правильности считывани  и пор дка следовани  микрокоманд и провер   принадлежность микрокоманд заданной микропрограмме по описанным выше алгоритмам.In this case, the processor implements the remaining part of the microprogram by checking the correctness of the reading and order of the microinstructions and verifying that the microinstructions belong to the given microprogram according to the algorithms described above.

При считывании последней микрокоманды в поле логических условий 18 регистра глнкро.команд 15 записываетс  адрес считанной микрокоманды, а в адресном поле 16 - код выполн емой операции. По сигналу считывани , задержанному элементом задержки 26, блок сравнени  39, аналогично описанному выше, осуществл ет сравнение кодов, поступивших из пол  логичес ких условий 18 регистра микрокоманд 15 и второго регистра адреса 30.When reading the last microcommand, the address of the read microcommand is recorded in the field of logical conditions 18 of the register of the glcro. Commands 15, and the code of the operation being performed is written in the address field 16. According to the read signal delayed by the delay element 26, the comparison unit 39, similarly to that described above, compares the codes received from the field of the logical conditions 18 of the microcommand register 15 and the second address register 30.

Claims (2)

1.Авторское свидетельство СССР 512471, кл. G 06 F 15/00,1. Author's certificate of the USSR 512471, cl. G 06 F 15/00, G 06 F 9/16, 1975.G 06 F 9/16, 1975. 2.Авторское свидетельство СССР по эа вке 2756704/18-24,2. USSR author's certificate on the certificate 2756704 / 18-24, кл. G 06 F 15/20, G 06 F 11/00, 1978 (прототип).cl. G 06 F 15/20, G 06 F 11/00, 1978 (prototype). NXNX ii NN ЧH ±1± 1 jfc: W jfc: W fe5fe5 febfeb ЧH r kr k ШЛSHL «S4"S4 ЧH
SU802869691A 1980-01-15 1980-01-15 Microprogram processor with checking SU862144A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU802869691A SU862144A1 (en) 1980-01-15 1980-01-15 Microprogram processor with checking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU802869691A SU862144A1 (en) 1980-01-15 1980-01-15 Microprogram processor with checking

Publications (1)

Publication Number Publication Date
SU862144A1 true SU862144A1 (en) 1981-09-07

Family

ID=20872243

Family Applications (1)

Application Number Title Priority Date Filing Date
SU802869691A SU862144A1 (en) 1980-01-15 1980-01-15 Microprogram processor with checking

Country Status (1)

Country Link
SU (1) SU862144A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5355469A (en) * 1990-07-30 1994-10-11 Delphi Data, A Division Of Sparks Industries, Inc. Method for detecting program errors

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5355469A (en) * 1990-07-30 1994-10-11 Delphi Data, A Division Of Sparks Industries, Inc. Method for detecting program errors

Similar Documents

Publication Publication Date Title
US4181942A (en) Program branching method and apparatus
US4179731A (en) Microprogrammed control system
KR920006845A (en) Pipeline computer systems
GB1097449A (en) A digital electronic computer system
US5812809A (en) Data processing system capable of execution of plural instructions in parallel
US4027291A (en) Access control unit
US5008807A (en) Data processing apparatus with abbreviated jump field
GB1594014A (en) Microprogramme system with fixed jump addressing
US4204634A (en) Storing partial words in memory
DK165528B (en) ARCHITECTURE FOR DISTRIBUTED BOARD STOCK
US3553655A (en) Short forward conditional skip hardware
SU862144A1 (en) Microprogram processor with checking
JPS5938677B2 (en) Control word transfer control device
US4400776A (en) Data processor control subsystem
KR900002436B1 (en) Bypass control system for pipeline processing
SU1007109A1 (en) Microprogramme processor with self-checking
SU943730A1 (en) Microprogram control device
EP0167333A2 (en) Data processing apparatus with data type classifier
SU1103238A1 (en) Control device having transition checking
SU1130865A1 (en) Firmware control device
SU1273934A1 (en) Device for checking transitions
SU802963A1 (en) Microprogramme-control device
SU896629A1 (en) Microprogramme processor
SU1297063A1 (en) Device for controlling,checking and diagnostic testing
SU744572A1 (en) Microprogramme control device