SU966694A1 - Microprogramme control device with transition - Google Patents

Microprogramme control device with transition Download PDF

Info

Publication number
SU966694A1
SU966694A1 SU802954372A SU2954372A SU966694A1 SU 966694 A1 SU966694 A1 SU 966694A1 SU 802954372 A SU802954372 A SU 802954372A SU 2954372 A SU2954372 A SU 2954372A SU 966694 A1 SU966694 A1 SU 966694A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
input
register
control
address
Prior art date
Application number
SU802954372A
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 SU802954372A priority Critical patent/SU966694A1/en
Application granted granted Critical
Publication of SU966694A1 publication Critical patent/SU966694A1/en

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Description

(5) МИКРОПРОГРАММНОЕ УСТРОЙСТВО УПРАВЛЕНИЯ С КОНТРОЛЕМ П€РЕХОДОВ(5) FIRMWARE CONTROL DEVICE WITH CONTROL RONES

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

Изобретение относитс  к программному управлению дл  обнаружени  ошибок в пор дке следовани  и контрол  микропрограмм , в частности к устройствам с посто нно Присоединенными микропрограммами .The invention relates to software control for detecting errors in the order and control of firmware, in particular to devices with permanently Attached firmware.

Известно устройство, содержащее запоминающее устройство программы, счет: чйк адреса команд, регистр команд, ;устройство модификаций адреса схемы срёвненй , схемы сверток по nrad 3 A device is known that contains a program's memory device, an account: command address cheek, command register,; device modification of the address of the matching scheme, convolution schemes for nrad 3

В известном устройстве контроль хода программы осуи|ествл ёТс  поэтапно: вначале контролируетс  формирование адреса команды; зачтем П|: оизводитс  контроль правильности обращени  по ад-.In the known device, the monitoring of the progress of the program on the human resources is phased: first, the formation of the command address is controlled; let us count П |: otodits control the correctness of treatment for ad-.

ресу. :. . ;, :. CJ-. ::: ::. ,  resu. :. . ;,: CJ. ::: ::. ,

Необходимость в запоминании контрольных кодов адресЬв команд обуславливает увеличение разр дй эсти всех слов запоминэкйцего устройства., а дл  контрол  формировани  адреса командыThe need to memorize the control codes of the command address causes an increase in the discharge of all the words of the memory device, and to control the formation of the command address

необходимы дополнительные схемь формировани  контрольных кодов.additional control code generation schemes are needed.

Кроме того, недостатком данного устройства  вл етс  невысока  способность обнаружени  ошибок, нарушсиощих нормальный, ход выполнени  программы. Наиболее близким к предлагаемому изобретению  вл етс  микропрограммное устройство с контролем переходов, содержащее блок, пам ти микрокоманд, регистр адреса, регистр Микрокоманд, блок сравнени , блок управлени  переходами и сдвигающий регистр 2. , Оснобным недостатком устройства  вл етс  невозможность контрол  ложных переходов между участками с одинаковой конфигурацией и, в результате, .:-полным совпадением контрольных кодов, а также затрудненный контроль участ20 ,ков т имеющих сход щиес  или параллельные ветви микропрограммы с различной конфигурацией, на что требуетс  допол„нительное количество контрольных мик396 рокоманд, привод щее к существенному снижению быстродействи . Цель изобретени  - расширение функциональных возможностей устройства путем повышени  достоверности контрол  переходов, сокращени  времени обнаружени  сбоев и повышени  быстродействи  за счет неиспользовани  контрольных микрокоманд. Поставленна  цель достигаетс  тем, ЧТО в микропрограммное устройство управ лени  с контролем переходов, содержащее блок пам ти микрокоманд, регистр адреса, регистр микрокоманд, схему сравнени  и блок управлени  переходами , причем информационный выход блока управлени  переходами соединен с первым информационным входом регистра адреса , выход которого соединен с адрес ным входом блока пам ти микрокоманд, информационный.выход блока пам ти микрокоманд соединен с информационным входом регистра микрокоманд, первый выход которого соединен с вторым информационным входом регистра адреса, выход схемы сравнени   вл етс  сигIнальным выходом устройства ,введены ;блок ассоциативной пам ти, регистр контрол , распределитель импульсов, элемент И и элемент ИЛИ, причем вход считывани  блока ассоциативной пам ти подключен к информационному выходу блока управлени  переходами, адресный вход блока ассоциативной пам ти соеди нен с первым выходом регистра микрокоманд , информационный выход блока ассоциативной пам ти соединен с информационным входом регистра контрол , вход занесени  которого соединен с выходом элемента ИЛИ, первый вход которого подключен к выходу элемента И, второй вход элемента ИЛИ соединен с входом начальной установки устройства выход регистра контрол  подключен к первому входу схемы сравнени , второй вход которого соединен с выходом регистра адреса, третий вход схемы срав нени  соединен с выходом разрешени  блока управлени  переходами и первым входом элемента И, второй вход которого соединен с первым выходом распреIn addition, the disadvantage of this device is the low ability to detect errors that violate the normal course of the program. The closest to the proposed invention is a firmware with a transition control containing a block, microinstructor memory, address register, microinstruction register, a comparison block, a transition control block and a shift register 2. A fundamental drawback of the device is the inability to control false transitions between the sections with with the same configuration and, as a result,.: - complete coincidence of control codes, as well as difficult control of the part 20, which have convergent or parallel branches of the microprogram with ary configuration, that is required for complement "tive amount control mik396 rokomand, resulting in a significant reduction in operating speed. The purpose of the invention is to enhance the functionality of the device by increasing the reliability of transition control, reducing the time to detect failures and increasing speed by not using control microcommands. The goal is achieved by introducing a transition-control microprogrammed control device containing a microcommand memory block, an address register, a microcommand register, a comparison circuit, and a transition control block, the information output of the transition control block being connected to the first information input of the address register, the output of which connected to the microcontroller's memory input, informational microcontroller information output connected to the microinstructions register information input, the first output of which is With the second information input of the address register, the output of the comparison circuit is the signal output of the device, an associative memory block, a control register, a pulse distributor, an AND element and an OR element are inputted, the read input of the associative memory block is connected to the information output of the transition control block , the address input of the associative memory block is connected to the first output of the microinstruction register, the information output of the associative memory block is connected to the information input of the control register, the input is entered and which is connected to the output of the element OR, the first input of which is connected to the output of the element AND, the second input of the element OR is connected to the input of the initial setup of the device, the output of the control register is connected to the first input of the comparison circuit, the second input of which is connected to the output of the address register, the third input of the comparison is connected to the resolution output of the transition control unit and the first input of the element I, the second input of which is connected to the first output of the distribution

делител  импульсов, второй, третий и четвертый выходы которого подключены к входам занесени  соответственно регистра микрокоманд, схемы сравнени  и. регистра адреса, установочный вход схемы сравнени  и установочные входы регистра микрокоманд, регистра адреса и распределител  импульсов соединеныpulse divider, the second, third and fourth outputs of which are connected to the inputs of the entry of the register of micro-commands, the comparison circuit and. the address register, the setup input of the comparison circuit and the setup inputs of the micro-register register, the address register and the pulse distributor are connected

дополн емый к адресной части микрокоманды при вычислении адреса следующей микрокоманды в регистре 2 адреса и выборе контрольного адреса из блока 6 ассоциативной пам ти.complemented to the microcommand's address part when calculating the address of the next microcommand in register 2 of the address and selecting the control address from block 6 of the associative memory.

С третьего выхода регистра 3 микрокоманд на вход 17 блока Ц управлени  с входом начальной установки устройства . Достоверность контрол  повышаетс  за счет того, что принцип контрол  в предлагаемом устройстве исключает ситуации , когда ложный переход может быть не обнаружен. Кроме того, сокращение времени обнаружени  сбоев св зано с более частой проверкой правильности следовани  микропрограммы и повышение быстродействи  достигаетс  за счет исключени  из микропрограммы контрольных микрокоманд . На фиг. 1 изображена схема устройства ,- на фиг. 2 - схема блока управлени  переходами; на фиг. 3 схема сравнени ; на фиг. 4 - схема распределител ; на фиг. 5 - пример алгоритма микропрограммы, выполн емой устройством . Микропрограммное устройство управлени  с контролем переходов содержит блок 1 пам ти микрокоманд, регистр 2 адреса, регистр 3 микрокоманд, блок 4 управлени  переходами, схему 5 сравнени , блок 6 ассоциативной пам ти, регистр 7 контрол , элементы 8 И, 9 ИЛИ, распределитель импульсов. Выход блока 1 пам ти микрокоманд . подключен к входу регистра 3 микрокоманд . С первого выхода регистра 3 микрокоманд на выход 14 устройства передаетс  операционна  часть микрокоманды , в ко.торой кодируютс  микроприказы , осуществл ющие воздействие на управл емую микропрограммным устройством систему. Адресна  часть микрокоманды без младшего разр да с четвертого выхода регистра 3 микрокоманд поступает на адресные входы регистра 2 адреса и блока 6 ассоциативной пам ти. Младший разр д адресной части микрокоманды с второго выхода регистра 3 микрокоманд поступает на вход 15 блока Ц управлени  переходами. С выхода 18 блока управлени  переходами, соединенным с первыми адресными входами регистра 2 адреса и блока 6 ассоциативной пам ти , задаетс  младший разр д адреса. 5Эбб переходами задаетс  номер одного из провер емых условий, значени  которых поступают из управл емых микропрограммным устройством операционных схем на вход блока управлени  переходами с 5 входа 12 устройства. Управл ющий выход 1б блока i управлени  переходами подключен к входу элемента 8 И и разрешающему входу 27 схемы 5 сравнени . Выход блока 6 ассоци- 0 ативной пам ти соединен с информационным входом регистра 7 контрол , выходом соединенным с информационным входом 2k схемы 5 сравнени . Выход регистра 2 адреса подключен к входу блока 1 пам ти микрокоманд и другому информационному входу 25 схемы 5 сравнени , с выхода которого на выход 13 устройства поступает сигнал ошибки. Вход занесени  регистра 7 контрол  соединен с выходом элемента 9 ИЛИ, один вход которого подключен к выходу элемента 8 И, а другой соединен одновременно с входами 19 и 28 начальной установки распределител  10 и схемы 5 сравнени , соответствующими входами регистра 2 адреса и регистра 3 микрокоманд и подключен к входу 11 начальной установки устройства. Первый 20, второй 21, третий 22, четвертый 23, выходы распределител  10 подключены, соответственно, к второму входу элемента 8 И, входу занесени  регистра 3 микрокоманд, входу 26 занесени  схемы 5 сравнени  и входу занесени  регистраУ2 адреса. Блок Ц управлени  переходами . (фиг. 2) содержит дешифратор 29, группу элементов 30 И, число которых в группе равно количеству анализируемых логических условий (п) плюс.один элемент 31 ИЛИ и элемент 32 НЕ. Первый вход первого элемента 30 И соединен с входом 15 блока k управлени  переходами, а первые входы оставшихс  (п) элементов 30 И соединены с соответствующими входами 12 логических условий. Другие входы всех (п+1) элементов 30 И соединены с соответствующими выходами дешифратора 29. Кроме того, первый выход дешифратора 29 через элемент 32 НЕ соединен с управл ющим выходом 16 блока t. Выходы всех элементов30 И соединены с входами элемента 31 ИЛИ, выход которого подключен к информационному выходу 18 блока t. Информационные .входы дешифратора соединены с входом 17 блока Ц. Схема 5 сравнени  (фиг. 3) содержит схему 33 совпадени  с информационными входами, подключенными к входам 24 и 25 схемы 5 сравнени , элемент 3 И и триггер 35. Входы элемента 3 И соединены с входами 27 занесени , 6 начальной установки и с выходом схемы 33 совпадени . Выход элемента 3 И соединен с установочным входом триггера 35 вход сброса которого соединен с входом 28 схемы 5 сравнени . триггера 35 подключен к выходу 13 устройства. Схема 33 совпадени  может быть построена на элементах И. Распределитель 10 (фиг. А) содержит генератор Зб тактовых импульсов, двоичный счетчик 37 и дешифратор 38. Выход генератора 36 подключен к счетному входу счетчика 37 и к стробирующему инверсному входу дешифратора 38. Выход счетчика 37 подключен к информационному входу дешифратора 38, ,с выхода которого снимаютс  синхросерии, поступающие на выходы 20, 21, 22 и 23 распределител  10 синхронизации. Вход сброса счетчика 37 соединен с входом 19. На фиг. 5 символами А; Обозначены микрокоманды, в которых производ тс  условные переходы. Символом М помечена микрокоманда, в которой не производитс  условный переход. Устройство работает следующим образом Принцип работы устройства построен на том, что при выполнении микропрограммы в точках осуществлени  условных переходов производитс  сравнение текущего адреса, содержащегос  в ре гистре 2 адреса, с контрольным, хран щимс  в регистре 7 контрол . Выбор контрольного адреса из блока 6 ассоциативной пам ти и занесение его в регистр 7 контрол  дл  текущего перехода осуществл ютс  при выполнении предыдущего перехода. Одновременно с проведением контрол  на текущем пере; оде из блока 6 ассоциативной пам ти выбираетс  и заноситс  в регистр 7 контрольный адрес дл  использовани  его в следующем переходе и т. д. Исключение составл ет только первый условный переход в микропрограмме, так как он не имеет предыдущего. Дл  него контрольный адрес подготавливаетс  по сигналу начальной установки. Сравнение текущего адреса с контрольным осуществл етс  в схеме 5 сравнени , который в случае не совпадени  указанных адресов вырабатывает сигнал ошибки.From the third output of the register 3 microinstructions to the input 17 of the control module C with the input of the initial installation of the device. The reliability of the control is increased due to the fact that the principle of control in the proposed device eliminates situations where a false transition may not be detected. In addition, shortening the detection time for malfunctions is associated with more frequent checking of the correctness of following the microprogram and improving the speed by eliminating control microcommands from the microprogram. FIG. 1 shows a diagram of the device; in FIG. 2 is a diagram of a transition control unit; in fig. 3 is a comparison circuit; in fig. 4 is a diagram of the distributor; in fig. 5 is an example of a firmware algorithm executed by a device. The microprogram control unit with transition control contains a block of 1 microinstructor memory, a register of 2 addresses, a register of 3 microcommands, a block 4 of transition control, a comparison circuit 5, a block 6 of associative memory, a control register 7, elements 8 AND 9, OR, a pulse distributor. The output of block 1 of memory microinstructions. connected to the register input of 3 microinstructions. From the first output of the register 3 microinstructions, the operational part of the microcommand is transmitted to the output 14 of the device, into which the second micro-orders are encoded, affecting the system controlled by the firmware. The address part of a microcommand without a low-order bit from the fourth output of the register 3 micro-commands arrives at the address inputs of the register 2 addresses and block 6 of the associative memory. The low-order bit of the address part of the micro-command from the second output of the register 3 micro-commands is fed to the input 15 of the transition control unit C. From the output 18 of the transition control block, connected to the first address inputs of the address register 2 and the associative memory block 6, the lower-order address is set. The 5Ebb transitions are given the number of one of the tested conditions, the values of which are transferred from the operational schemes controlled by the firmware device to the input of the transition control unit from the 5th input 12 of the device. The control output 1b of the transition control unit i is connected to the input of the element 8 And and the enable input 27 of the comparison circuit 5. The output of the associated memory block 6 is connected to the information input of the control register 7, the output connected to the information input 2k of the comparison circuit 5. The output of the address 2 register is connected to the input of the microcommand memory block 1 and another information input 25 of the comparison circuit 5, from the output of which an error signal arrives at the output 13 of the device. The input of the register 7 control is connected to the output of element 9 OR, one input of which is connected to the output of element 8 AND, and the other is connected simultaneously to the inputs 19 and 28 of the initial installation of the distributor 10 and the comparison circuit 5, the corresponding inputs of the address register 2 and the micro-command register 3 and connected to the input 11 of the initial installation of the device. The first 20, the second 21, the third 22, the fourth 23, the outputs of the distributor 10 are connected, respectively, to the second input of the element 8 I, the register entry register 3 microcommands, the input 26 entry of the comparison circuit 5 and the address register entry 2 of the address. Transition Control Block Q (Fig. 2) contains a decoder 29, a group of elements 30 And, the number of which in the group is equal to the number of the analyzed logical conditions (n) plus. One element 31 OR and element 32 NOT. The first input of the first element 30 I is connected to the input 15 of the transition control unit k, and the first inputs of the remaining (n) elements 30 I are connected to the corresponding inputs 12 of the logic conditions. The other inputs of all (n + 1) elements 30 And are connected to the corresponding outputs of the decoder 29. In addition, the first output of the decoder 29 through the element 32 is NOT connected to the control output 16 of block t. The outputs of all elements 30 And connected to the inputs of the element 31 OR, the output of which is connected to the information output 18 of the block t. The information inputs of the decoder are connected to the input 17 of the block C. The comparison circuit 5 (Fig. 3) contains a circuit 33 coinciding with the information inputs connected to the inputs 24 and 25 of the comparison circuit 5, element 3 And trigger 30. The inputs of element 3 And are connected to the inputs 27 of the entry, 6 of the initial installation and the output of the circuit 33 match. The output of the element 3 And is connected to the installation input of the trigger 35, the reset input of which is connected to the input 28 of the comparison circuit 5. trigger 35 is connected to output 13 of the device. The coincidence circuit 33 can be built on elements I. The distributor 10 (FIG. A) contains a clock pulse generator B, a binary counter 37 and a decoder 38. The output of generator 36 is connected to the counting input of counter 37 and to the gate inverse of the decoder 38. Counter output 37 connected to the information input of the decoder 38, from which output the sync series arriving at the outputs 20, 21, 22 and 23 of the timing distributor 10 are removed. The reset input of the counter 37 is connected to the input 19. In FIG. 5 characters A; Marked microcommands in which conditional transitions are made. The symbol M is marked with a microinstruction in which no conditional transition is performed. The device works as follows. The principle of operation of the device is based on the fact that when the firmware is executed at the points of conditional jumps, the current address contained in the register 2 addresses is compared with the control one stored in register 7 of the control. The selection of the control address from block 6 of the associative memory and its entry into the control register 7 for the current transition are made upon executing the previous transition. Simultaneously with the control on the current re; One of the associative memory block 6 is selected and entered into the register 7 control address for use in the next transition, and so on. The only exception is the first conditional transition in the microprogram, since it has no previous one. For this, the control address is prepared by the initial setup signal. The comparison of the current address with the control one is carried out in the comparison circuit 5, which, in the event that the indicated addresses do not coincide, produces an error signal.

Рассмотрим работу устройства на кокретном примере выполнени  алгоритма микропрограммы (фиг. 5).Consider the operation of the device on the specific example of the implementation of the firmware algorithm (Fig. 5).

Сигнал начальной установки, поступающий на вход 11 устройства устанавливает 8 ноль регистры 2 адреса и 3. микрокоманд, счетчик 37 в распределителе 10 и триггер 35 в схеме 5 сравнени . Кроме того, по сигналу начальной установки через элемент 9 ИЛИ производитс  занесение контрольного адреса в регистр 7 контрол , необходимого дл  контрол  правильности прохождени  ,микропрограммы при осуществлении перехода А. . .The initial setup signal, which is fed to the device input 11, establishes 8 zero registers 2 addresses and 3. micro-instructions, counter 37 in the distributor 10 and trigger 35 in the comparison circuit 5. In addition, the initial installation signal through item 9 OR makes the entry of the control address into the control register 7, which is necessary to control the correctness of the passage of the microprogram when the transition A. is performed. .

Рассмотрим более детально этот момент .Consider in more detail this moment.

В начале выработки сигнала начальной установки регистр 3 микрокоманд устанавливаетс  в ноль.При этом код номера провер емого услови , поступающего с третьего выхода регистра 3 микрокоманд на вход 17 блока 4 управлени  переходами, равен нулю. Тогда разрешающий единичный потенциал вырабатываетс  только на первом выходе дешифратора 29 в блоке 4 управлени  переходами и таким образом подключает на информационный выход 18 последнего через первый элемент 30 И и элемент 31 ИЛИ сигнал с входа 15, на который поступает младший разр д адресной час ти микрокоманды с второго выхода регистра 3 микрокоманд. Вследствие этого на адресные входы блока 6 ассоциативной пам ти поступает нольный адрес , равный нулю, по которому выбираетс  контрольный;адрес дл  первого перехода в микропрограмме и поступает на информационный вход регистра контрол . Сигнал начальной установки имеет гораздо большую длительность, чем .врем  выборки из пам ти. Это обусловлено тем, что обычно этот сигнал вырабатываетс  от нажати  соответствующей клавиши, а кроме того, его длительность не св зана с временными соотношени ми при работе устройства. Вследствие этого контрольный адрес дл  первого перехода в микропрограмме успеет выбратьс  из блока 6 ассоциативной пам ти к по истечении сигнала начальной установки будет занесен в регистр контрол .At the beginning of the generation of the initial setup signal, the register of 3 micro-instructions is set to zero. At the same time, the code of the number of the condition being checked, coming from the third output of the register of 3 micro-instructions to the input 17 of the transition control block 4, is zero. Then the resolving unit potential is generated only at the first output of the decoder 29 in the transition control block 4 and thus connects to the information output 18 of the latter through the first element 30 And element 31 and OR the signal from input 15, which receives the lower part of the address microcode from second register output 3 microinstructions. As a result, the address inputs of the associative memory unit 6 receive a zero address equal to zero, at which the control address is selected; the address for the first transition in the firmware and enters the information input of the control register. The initial setup signal has a much longer duration than the sampling time from the memory. This is due to the fact that this signal is usually generated by pressing the corresponding key, and in addition, its duration is not related to time relationships when the device is operating. As a consequence, the control address for the first transition in the firmware will have time to be selected from block 6 of the associative memory. After the initial setup signal has expired, it will be entered into the control register.

По окончании сигнала начальной установки распределитель 10 начинаетAt the end of the initial setup signal, the distributor 10 starts

вырабатывать на своих выходах 20-23 четыре сдвинутых, относительно друг друга синхросерии. Синхроимпульс с выхода 20 распределител  10 поступает на вход элемента 8 И, однако занесени  в регистр 7 контрол  не происходит , так как элемент 8 И заблокирован по другому входу запрещающим нулевым потенциалом с управл ющего выхода 16 блока 4 управлени  переходами. Это обусловлено тем, что на входе элемента 32 НЕ в блоке управлени  переходами присутствует разрешающий единичный потенциал с первого выхода дешифратора 29. По синхроимпульсу с выхода 21 распределител  10 происходит занесение из блока 1 пам ти микрокоманд в регистр 3 микрокоманд первой микрокоманды , выбранной по нулевому адресу в регистре 2 адреса. В рассматриваемом случае это микрокоманда А, . Так как в этой микрокоманде присутствует условный переход, то с третьего выхода регистра 3 микрокоманд на вход 17 блока управлени  переходами поступает ненулевой, номер услови , по которому должен осуществитьс  этот переход , вследствие этого разрешающий сигнал вырабатываетс  на одном из выходов дешифратора 29 кроме первого в блоке управлени  переходами и на информационный выход 18 последнего поступает сигнал соответствующего услови . Тогда адрес следующей микроКоманды в регистре 2 адреса и адрес контрольного слова в блоке 6 ассоциативной пам ти модифицируетс  в зависимости от значени  (О или 1) услови , поступающего с информационного выхода 18 блока i управлени  переходами на вход младшего разр да адреса регистра 3 и блока 6, определ   тем самым один из двух адресов продолжени  микропрограммы. Так как на первом выходе дешифратора 29 в блоке k управлени  переходами присутствует запрещающий потенциал, то на управл ющем выходе 16 блока k вырабатываетс  разрешающий потенциал и поступает на разрешающий вход 27 схемы 5 сравнени , на информационных входах которого уже присутствуют сравниваемые текущий и контрольный адреса. Если адреса совпадают , то схема 33 совпадени  выдает на вход элемента. 3 И запрещающий потенциал , если не совпадают - наоборот. Поэтому при поступлении импульса с выхода 22 распределител  10 на вход 26 занесени  схемы 5 и нера.венстве провер емых адресов с выхода элемента 3 И вырабатываетс  сигнал установки триггера 35 и на выход 13 устройства пес- тупает .сигнал ошибки. Если адреса равны - сигнал не вырабатываетс . 5to develop at their outputs 20-23 four shifted relative to each other sync series. The sync pulse from the output 20 of the distributor 10 is fed to the input of the element 8 I, however, it is not registered in the control register 7, because the element 8 I is blocked at another input by an inhibitory zero potential from the control output 16 of the transition control unit 4. This is due to the fact that at the input of the element 32 NOT in the transition control unit there is a resolving potential from the first output of the decoder 29. The sync pulse from the output 21 of the distributor 10 is recorded from the memory module 1 of the micro instructions in the register 3 of the micro instructions of the first micro command selected at the zero address in the register 2 addresses. In this case, it is a microcommand A,. Since there is a conditional transition in this microcommand, from the third output of the register 3 microcommands to the input 17 of the transition control block is non-zero, the number of the condition by which this transition must occur, as a result, the enabling signal is generated on one of the outputs of the decoder 29 except the first one in the block the transition control and the information output 18 of the latter receives a signal corresponding to the condition. Then the address of the next microcommand in register 2 of the address and the address of the control word in block 6 of the associative memory are modified depending on the value (O or 1) of the condition received from information output 18 of block i of the transition control i to the low-order input of address 3 and block 6 , thereby determining one of the two firmware continuation addresses. Since the first output of the decoder 29 in the transition control unit k has a forbidden potential, a control potential is generated at the control output 16 of the block k and is fed to the enable input 27 of the comparison circuit 5, the information inputs of which already have the current and control addresses being compared. If the addresses match, then the match circuit 33 outputs the element. 3 And the forbidding potential, if not the same, is the opposite. Therefore, when a pulse arrives from the output 22 of the distributor 10 to the input 26 of the input of the circuit 5 and the failure of the checked addresses from the output of the element 3, the signal sets the trigger 35, and the output 13 of the device detects an error. If the addresses are equal, no signal is generated. five

По синхроимпульсу с выхода 23 распределител  1 О в регистр 2 адреса заноситс  адрес следующей микрокоманды. В зависимости от значени  услови  с информационного выхода 18 блока k это 0 микрокоманда М или микрокоманда Ат,. Из блока 6 по адресной части микрокоманды с четвертого выхода регистра 3 микрокоманд и значению логического услови  выбираетс  контрольный адрес дл  15 перехода А2 или дл  перехода А. На этом заканчиваетс  цикл выполнени  первой .микрокоманды..The sync pulse from the output 23 of the distributor 1 O into the register 2 of the address is entered into the address of the next microcommand. Depending on the condition value from the information output 18 of the k block, this is 0 microcommand M or microcommand At ,. From block 6, by the address part of the microcommand from the fourth output of the register of 3 microcommands and the value of the logical condition, the control address for 15 transition A2 or for transition A is selected. This completes the execution cycle of the first micro command.

В следующем цикле по импульсу с выхода 20 распределител  10 происходит 20 занесение контрольного адреса в регистр 7 контрол , так как элемент 8 И открыт разрешающим потенциалом с управл ющего выхода 16 блока 4.In the next cycle, a pulse from the output 20 of the distributor 10 takes place 20 entering the control address into the control register 7, since element 8 I is opened by the resolving potential from the control output 16 of block 4.

Импульсом с выхода 21 распределите-25 л  10 происходит занесение очередной микрокоманды в регистр 3 микрокоманд. Это микрокоманда М. или А. Так как микрокоманда М не  вл етс  микрокомандой условного перехода, то поле но-jo мера услови  в ней равно нулю. Вследствие этого аналогично описанному на информационный выход 18 блока 4 подаетс  младший разр д адресной части микрокоманды с второго выхода регист- , ра 3 а на управл ющем выходе 16 блока управлени  переходами вырабатывает с  запрещающий потенциал. Импульс с выхода 22 распределител  10 не вызывает никаких действий в схеме 5 сравнени , так как на его входе 27 присутствует запрещающий потенциал. Так как ри выполнении микрокоманды М на выходе 18 блока присутствует младший разр д адресной части микрокоманды, то по импульсу с выхода 23 распредеител  10 в регистр 2 заноситс  адрес, однозначно определ ющиймикрокоманду ...The impulse from the output 21 distribute-25 l 10 the next micro-command is entered into the register of 3 micro-commands. This is the microcommand M. or A. Since the microcommand M is not a microcommand of a conditional transition, the field but-jo is a measure of the condition in it is zero. As a result, similarly to that described at information output 18 of block 4, the low-order bit of the address part of the microcommand is fed from the second output of register 3, and at the control output 16 of the transition control block produces a suppressive potential. The impulse from the output 22 of the distributor 10 does not cause any actions in the comparison circuit 5, since at its input 27 there is a inhibitory potential. Since when micro-command M is executed, the low-order bit of the address part of the micro-command is present at output 18 of the block, then from the output 23 of distributor 10 the address uniquely defining the micro-command is entered into register 2 ...

В следующем третьем цикле по им- пульсу с выхода 20 распределител  10 занесени  в регистр 7 контрол  не происходит , так как элемент 8 И закрыт запрещающим потенциалом с выхода 16 лока k. Этим предохран етс  искаже- ние контрольного адреса в регистре 7, формированного при выполнении микрооманды А. Далее по импульсу с выхода 21 распределител  10 микрокоманда А заноситс  в регистр 3 микрокоманд и дальнейша  работа устройства анало гична работе устройства при выполнении микрокоманды А..In the next third cycle, the pulse from the output 20 of the distributor 10 is entered into the register 7 of the control, since element 8 And is closed by the inhibitory potential from the output 16 of lock k. This prevents distortion of the control address in register 7 formed when micro-command A is executed. Next, the pulse from output 21 of the distributor 10 micro-command A is entered into the register 3 micro-commands and the further operation of the device is similar to the operation of the device when micro-command A.

Если во втором цикле по импульсу с выхода 21 распределител  10 в регистр 3 микрокоманды заноситс  микрокоманда А-З, то так как микрокоманда А, так же как и микрокоманда А  вл етс  микрокомандой условного перехода , код номера услови  в ней ненулевой . Вследствие этого сигнал на управл ющем выходе 16 блока k остаетс  в разрешенном состо нии, а на информационный выход 18 блока 4 поступает значение логического услови  в соответствии с номером, приход щим на вхо 17 блока Ц управлени  переходами. В дальнейшем работа аналогична работе при выполнении микрокоманд А и А Если в прототипе ложный переход между участками микропрограммы с одинаковой конфигурацией остаетс  невы вленным из-за совпадени  их контрольных кодов то в предлагаемом устройстве така  ситуаци  полностью исключаетс  из-за того, что контроль в отличие от прототипа ведетс  не по отдельным участ:кам микропрограммы, а в каждой точке перехода; кроме того, каждому переходу , соответствует вполне определенна  микрокоманда, определ ема  содержимым регистра адреса и имеюща  определенное значение адресной части, вследствие чего из блока ассоциативной пам ти выбираетс  .контрольный адрес именно следующего перехода. Поэтому в случае ложного перехода адрес микрокоманды , при которойосуществл етс  следующий переход, всегда будет отличатьс  от контрольного.If in the second cycle, the pulse from output 21 of the distributor 10 is entered into register 3 of the micro-command micro-command A-3, then since micro-command A, like micro-command A, is a micro-command of the conditional transition, the code of the condition number in it is non-zero. As a consequence, the signal at the control output 16 of the block k remains in the permitted state, and the information output 18 of block 4 receives the value of the logical condition in accordance with the number that arrives at input 17 of the transition control block C. Further, the operation is similar to the operation when executing micro-commands A and A. If in the prototype a false transition between microprogram sections with the same configuration remains undetected due to the coincidence of their control codes, then in the proposed device this situation is completely eliminated due to the fact that, unlike the prototype is not carried out on separate parts: firmware, but at each transition point; In addition, each transition corresponds to a well-defined micro-command, determined by the contents of the address register and having a certain value of the address part, as a result of which the control address of the next transition is selected from the associative memory block. Therefore, in the case of a false transition, the microcommand address, in which the next transition takes place, will always be different from the control one.

Кроме того, в устройстве использован контроль, совершенно не завис щий от конфигураций алгоритмов микропрограмм , в отличие от прототипа, где при контроле участков со сход щимис  или параллельными ветв ми микропрограмм, невозможно определить код контрольной микрокоманды, вследствие чего приходитс  дополнительно вводить контрольные микро рманды в каждую ветвь, что приводит к значительному снижению быстродействи .In addition, the device uses a control that is completely independent of the configurations of the firmware algorithms, in contrast to the prototype, where it is impossible to determine the code of the control microcommand when controlling the sections with converging or parallel branches of the microprograms, as a result each branch, which leads to a significant decrease in speed.

Claims (2)

В предлагаемомустройстве сбой в текущем переходе обнаруживаетс  уже в следующем переходе, в отличие от прототипа , где сбой обнаруживаетс  только 11 в конце участка, который может иметь большое количество переходов. В результате этого в предлагаемом устройстве в несколько раз сокращаетс  врем  вы влени  сбо , а следовательно,при этом уменьшаетс  и величина непроизводительно тер емого времени выполнени  микропрограмм Кроме того, исключение из микропро граммы контрольных микрокоманд повышает быстродействие устройства. Формула изобретени  - о Микропрограммное устройство управлени  с контролем переходов, содержащее блок пам ти микрокоманд, регистр адреса, регистр микрокоманд, схему сравнени  и блок управлени  переходами , причем инфэрмационный выход блока управлени  переходами соединен с первым информационным входом регистра адреса , выход которого соединен с адрес ным входом блока пам ти микрокоманд, информационный выход блока пам ти микрокоманд соединен с информационным входом регистра микрокоманд, первый выход которого соединен с вторым информационным входом регистра адреса, выход схемы сравнени   вл етс  сигнальным выходом устройства, о т л и ч а ю щ е ее   тем, что, с целью расширени  функциональных возможностей устройства -Путем повышени  достоверности контрол  переходов, сокращени  времени обнаружени  сбоев и повышени  быстродействи  за счет неиспользовани  контрольных микрокоманд, в устрой ство введены блок ассоциативной пам ти , регистр контрол , распределитель gi импульсов,, элемент; И и элемент ИЛИ, причем вход считывани  блока ассоциативной пам ти соединен с информационным выходом блока управлени  переходами , адресный вход блока ассоциативной пам ти соединен с первым выходом , регистра микрокоманд, информационный выход блока ассоциативной пам ти соединен с информационным входом регистра контрол , вход занесени  которого соединен с выходом элемента ИЛИ, первый вход которого соединен с выходом элемента И, второй вход элемента ИЛИ соединен с входом начальной установки устройства, выход регистра контрол  соединен с первым входом схемы сравнени , второй вход которой соединен с выходом регистра адреса, третий вход схемы сравнени  соединен с выходом разрешени  блока управлени  переходами и с первым входом элемента И, второй вход которого соединен с первым выходом распределител  импульсов, второй , третий и четверть1Й выходы которого соединены с входами занесени  соответственно регистра микрокоманд, схемы сравнени  и регистра адреса, установочный вход схемы сравнени  и установочные входы регистра микрокоманд, регистра адреса и распределител  импульсов соединены с входом начальной установки устройства. Источники информации, прин тые во внимание при экспертизе 1.Пужинцев Н. Д. .Аппаратный конт- роль управл ющих цифровых вычислительных машин. М,, Советское радио, 1966 . с. 36А. . In the proposed device, a failure in the current transition is already detected in the next transition, in contrast to the prototype, where a failure is detected only 11 at the end of the segment, which may have a large number of transitions. As a result, in the proposed device, the detection time of a failure is reduced several times, and therefore, the amount of unproductively lost microprogram execution time is also reduced. In addition, the exclusion of control microcommands from the microprogram improves the speed of the device. Claims - A firmware control device with transition control containing a microinstructor memory block, an address register, a microinstruction register, a comparison circuit and a transition control block, the information output of the transition control block connected to the first information input of the address register whose output is connected to the address the input of the micro-command memory block, the information output of the micro-command memory block is connected to the micro-command register information input, the first output of which is connected to the second address register output, the output of the comparison circuit is the signal output of the device, which is so that, in order to expand the functionality of the device, by increasing the reliability of control of transitions, reducing the time for detecting failures and improving performance by failure to use control microinstructions, an associative memory block, a control register, a dispenser gi of pulses, an element are entered into the device; And the OR element, the read input of the associative memory block is connected to the information output of the transition control block, the address input of the associative memory block is connected to the first output of the microinstruction register, the information output of the associative memory block is connected to the information input of the control register, the entry of which connected to the output of the OR element, the first input of which is connected to the output of the AND element, the second input of the OR element is connected to the input of the initial setup of the device, the output of the control register of the connection En with the first input of the comparison circuit, the second input of which is connected to the output of the address register, the third input of the comparison circuit is connected to the output of the resolution of the transition control unit and the first input of the element I, the second input of which is connected to the first output of the pulse distributor, the second, third and quarter IV outputs which are connected to the inputs of the entry of the register of microinstructions, the comparison circuit and the address register, the installation input of the comparison circuit and the installation inputs of the register of microinstruction, the address register and the distributor pulses are connected to the input of the initial installation of the device. Sources of information taken into account in the examination 1. NDPuzhintsev. Hardware control of digital computers. M ,, Soviet Radio, 1966. with. 36A. . 2.Авторское свидетельство СССР N° 711573, кл. G Об F 9/22, G Об F 11/00, 1977 (прототип).2. USSR author's certificate N ° 711573, cl. G About F 9/22, G About F 11/00, 1977 (prototype).
SU802954372A 1980-06-16 1980-06-16 Microprogramme control device with transition SU966694A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU802954372A SU966694A1 (en) 1980-06-16 1980-06-16 Microprogramme control device with transition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU802954372A SU966694A1 (en) 1980-06-16 1980-06-16 Microprogramme control device with transition

Publications (1)

Publication Number Publication Date
SU966694A1 true SU966694A1 (en) 1982-10-15

Family

ID=20907481

Family Applications (1)

Application Number Title Priority Date Filing Date
SU802954372A SU966694A1 (en) 1980-06-16 1980-06-16 Microprogramme control device with transition

Country Status (1)

Country Link
SU (1) SU966694A1 (en)

Similar Documents

Publication Publication Date Title
US3660646A (en) Checking by pseudoduplication
US5241547A (en) Enhanced error detection scheme for instruction address sequencing of control store structure
US4059749A (en) Digital monitor
US5440604A (en) Counter malfunction detection using prior, current and predicted parity
SU966694A1 (en) Microprogramme control device with transition
SU1325417A1 (en) Monitoring device
SU898431A1 (en) Microprogramme-control device
SU708348A1 (en) Arrangement for computing the difference of two numbers
SU1280627A1 (en) Microprogram control device with checking
SU1007109A1 (en) Microprogramme processor with self-checking
SU1430959A1 (en) Device for monitoring microprogram run
RU1795460C (en) Device for determining number of unities in binary code
SU610110A1 (en) Information validity checking arrangement
SU1267415A1 (en) Microprogram control device
SU1087999A1 (en) Device for checking microinstruction sequence
SU1365091A1 (en) Microprogram processor
SU1629910A1 (en) Microprogram control unit
SU1176346A1 (en) Device for determining intersection of sets
SU1020826A1 (en) Microprogram control device
SU1617442A1 (en) Device for monitoring the running of programs
SU1068937A1 (en) Firmware control unit
SU943728A1 (en) Microprogram control device
SU802963A1 (en) Microprogramme-control device
SU830386A1 (en) Microprogramme-control device
SU1702370A1 (en) Microprogram control device with checking