SU1151962A1 - Microprogram control device - Google Patents

Microprogram control device Download PDF

Info

Publication number
SU1151962A1
SU1151962A1 SU833654671A SU3654671A SU1151962A1 SU 1151962 A1 SU1151962 A1 SU 1151962A1 SU 833654671 A SU833654671 A SU 833654671A SU 3654671 A SU3654671 A SU 3654671A SU 1151962 A1 SU1151962 A1 SU 1151962A1
Authority
SU
USSR - Soviet Union
Prior art keywords
register
output
inputs
switch
address
Prior art date
Application number
SU833654671A
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 SU833654671A priority Critical patent/SU1151962A1/en
Application granted granted Critical
Publication of SU1151962A1 publication Critical patent/SU1151962A1/en

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Abstract

1. МИКРОПРОГРАММНОЕ УСТРОЙСТВО УПРАВЛЕНИЯ, содержащее два блока пам ти, микрокоманд, коммутатор, регистр микрокоманд и блок проверки условий , причем выход кода микроопераций регистра микрокоманд  вл етс  выходом устройства, группа выходов кода логических условий регистра микрокоманд соединена с первой группой входов блока проверки условий, втора  группа входов которого  вл етс  группой входов логических условий устройства, информационный вход регистра микрокоманд соединен с выходом коммутатора, первый и второй информационные входы которого соединены соответственно с выходами кодов операций и логических условий первого и второго блоков пам ти микрокоманд, первый и второй выходы блока проверки условий соединены соответственно с первым и вторым управл ющими входами коммутатора , отличающеес  тем, что, с целью сокращени  оборудовани , оно содержит первьй и в.торой блоки формировани  адреса, причем, первый и второй управл ющие входы первого и второго блоков формировани  адреса соединены соответственно с первым и вторым выходами блока проверки условий , выходы первого и второго блоков формировани  адреса соединены соответственно с адресными входами первого и второго блоков пам ти микрокоманд, выходы кода адреса которых соединены соответственно с информационными вхо (Л дами первого и второго блоков формировани  адреса. 2. Устройство по п. 1, отличающее с   тем, что каждый из блоков формировани  адреса содержит регистр, коммутатор и сумматор, причем выход регистра соединен с информационным входом сумматора и  вл ел етс  выходом блока, информационный вход регистра соединен с выходом со коммутатора, первый и второй управОд л ющие входы которого  вл ютс  соотtc ветственно первым и вторым управл ющими входами блока, первый информационный вход коммутатора соединен с выходом сумматора, вход переноса которого подключен к шине единичного потенциала, второй информационный вход коммутатора  вл етс  информа- ,ционным входом блока.1. MICROPROGRAMMING CONTROL DEVICE containing two memory blocks, micro-instructions, a switch, a micro-command register and a condition checker, the output of the microoperations code of the micro-register is an output of the device, the output group of the micro-command register of the micro-instructions register is connected to the first input group of the condition checker, the second group of inputs of which is a group of inputs of the logical conditions of the device, the information input of the register of microinstructions is connected to the output of the switch, the first and second information the inputs of which are connected respectively to the outputs of the operation codes and logical conditions of the first and second microcommand memory blocks, the first and second outputs of the condition check block are connected respectively to the first and second control inputs of the switch, characterized in that, in order to reduce the equipment, it contains the first and the second address generation units, wherein the first and second control inputs of the first and second address generation units are connected respectively to the first and second outputs of the condition testing unit, the outputs of the first and second address generation units are connected respectively to the address inputs of the first and second microcommand memory blocks, the outputs of the address code of which are connected respectively to information inputs (L dami of the first and second address generation units). 2. The device according to claim 1, wherein each of the address generation units comprises a register, a switch and an adder, the register output being connected to the information input of the adder and being the output of the block, the information input of the register connected to the output from the switch, the first and the second control inputs of which are respectively the first and second control inputs of the block, the first information input of the switch is connected to the output of the adder, the transfer input of which is connected to the potential potential bus, the second second information input of switch is informa-, insulating the input unit.

Description

Изобретение относитс  к вычислительной технике и может быть использовано при построении управл ющих автоматов. Известно микропрограммное устройство управлени , содержащее блок пам ти , регистр микрокоманд, состо щий из пол  микроопераций, пол  логических условий и адресного пол , счетчи адреса микрокоманд и блок проверки условий, включающий дешифратор, группу элементов И и элемент ИЖ 1 Недостатком этого устройства  вл етс  низкое быстродействие,, так как длительность автоматного тока складьшаетс  из времени счета в счетчике адреса микрокоманд, времени выборки микрокоманды из блока пам ти и времени ее выполнени  в операционном автомате. Известно также микропрограммное устройство управлени , содержащее блок пам ти, регистр микрокоманд, состо щий из пол  микрокоманд, пол  логических условий и двух адресных полей, коммутатор, группу элементов И, элемент ИЛИ и элемент НЕ L2J. Хот  в сравнении с предыдущим устройством данное устройство и имеет несколько более высокое быстродействие (в нем длительность автомат ного такта уменьшена на врем  счета в счетчике адреса микрокоманды), однако оно также обладает низким быстродействием , так как в нем выборка следующей микрокоманды не может быть осуществлена во врем  выполнени  в операционном автомате предьщущей микрокоманды. Наиболее близким по технической сущности к Изобретению  вл етс  микропрограммное устройство управлени , содержащее два блока пам ти, коммутатор, регистр и блок проверки условий, причем первый и второй информационные входы коммутатора соеди нены с выходами соответственно первого и второго блоков пам ти, выход коммутатора соединен с информационным входом регистра, первый выход которого  вл етс  информационным выходом устройства, второй выход соединен с информационным входом блока проверки, условий, третий выход  вл етс  адресным входом блоков пам ти второй информационный вход блока про верки условий  вл етс  группой входо условий устройства, первый и второй выходы блока проверки условий соеди2J нены соответственно с первым и втоipbiM разрешающими входами коммутатора 3J. Известное устройство обеспечивает значительно более высокое быстродействие по отношению к предыдущим, так как в нем длительность автоматического такта существенно сокращена за счет распараллеливани  процессов выполнени  текущей микрокоманды и выборки следующей. Однако недостатком его  вл етс  большое количество используемого оборудовани , поскольку суммарна  емкость двух блоков пам ти значительно превьшает минимально необходимую емкость пам ти, требуемую дл  размещени  микропрограмм (минимально необходима  емкость пам ти при использовании микропрограммных устройств управлени  равна числу операторных вершин в граф-схемах рё ализуемых : ими микропрограмм). Цель изобретени  - сокращение количества используемого оборудовани . Поставленна  цель достигаетс  тем, что в микропрограммное устройство управлени , содержащее два блока пам ти микрокоманд, коммутатор, регистр микрокоманд и блок проверки условий, причем выход кода микроопераций регистра микрокоманд  вл етс  выходом устройства, группа вьпсодов кода логических условий регистра микрокоманд соединена с первой группой входов блока проверки условий, втора  группа входов которого  вл етс  группой входов логических условий устройства, информационный вход регистра микрокоманд соединен с выходом коммутатора, первый и второй информационные входы которого соединены соответственно с выходами кодов операций и логических условий первого и второго блоков пам ти микрокоманд , первый и второй выходы блока проверки условий соединены соответственно с первым и вторым управл ющими входами коммутатора, вв1едены первый и второй блоки формировани  адреса , причем первый и второй управл ющие входы первого и второго блоков формировани  адреса соединены соответственно с первым и вторым выходами блока проверки условий, выходь первого и второго блоков формировани  адреса соединены соответственйо с адресными входами первого и второго блоков пам ти микрокоманд, выходы кода адреса которых соединены соответственно с информационными входам первого и второго блоков формировани  адреса. Кроме того, каждый из блоков фор мировани  адреса содержит регистр, коммутатор и сумматор, причем В.ЫХОД регистра соединен с информационным входом сумматора и  вл етс  выходом блока, информационньй вход регистра соединен с выходом коммутатора , первый и второй управл ющие входы которого  вл ютс  соответстве нно первым и вторым управл ющими входами блока, первый информационный вход коммутатора соединен с выходом сумматора, вход переноса кото рого подключен к шине единичного потенциала, второй информационный вход коммутатора  вл етс  информационным входом блока. На фиг. 1 приведена структурна  схема предлагаемого микропрограммно го устройства управлени ; на фиг.2 функциональна  схема блока проверки условий; на фиг. 3 - функциональна  схема блока формировани  адреса; на фиг. 4 и 5 - соответственно граф-схема микропрограммы и принцип ее размещени  в блоках пам ти предлагаемого устройства; на фиг. 6 принцип размещени  в блоках пам ти предлагаемого устройства микропрограммы , приведенной в описании известного устройства L3 J; на фиг 7 размещение этой микропрограммы в блоках пам ти известного устройства на фиг. 8 - график уменьшени  объема при применении предлагаемого устройства в сравнении с известным устройством в зависимости от процентного отношени  числа условных вершин к операторным в граф-схемах используемых в них микропрограмм. Микропрограммное устройство упра лени  (фиг. 1) содержит первый 1 и второй 2 блоки формировани  адреса , первый 3 и второй 4 блоки пам ти микрокоманд, коммутатор 5, регистр 6 микрокоманд, блок 7 проверки условий, выходы 8 и 9 первого и второго блоков формировани  адреса , выходы 10 и 11 кода операций и логических условий соответственно первого и второго блоков пам ти микрокоманд, выходы 12 и 1:3 кода ад реса соответственно первого и второго блоков пам ти микрокоманд, выход 14 устройства, группу 15 выходов кода логических условий регистра микрокоманд, группу 16 входов логических условий, первый 17 и второй 18 выходы блока проверки условий. Блок проверки условий (фиг. 2) Содержит дешифратор 19, группу элементов И / ( К - число логических условий), элемент ИЛИ 21 и элемент НЕ 22. Блок формировани  адреса (фиг, 3) содержит сумматор 23, коммутатор 24, регистр 25 и вход 26 переноса сумматора , подключенный к шине единичного потенциала. Работу устройства рассмотрим на примере выполнени  микропрограммы, граф-схема которой изображена на фиг. 4. Здесь у{(где i 1,10  вл етс  Управл ющей частью i-й 1 шкрокоман- ды, d: (где j 1, 3)-кодом j-ro провер емого логического услови , В г, (где п 0,5) и С„(где m 0,3) адресами  чеек соответственно блоков 3 и 4 пам ти, по которомы хран тьс  микрокоманды, при этом здесь предполагаетс , что отличие значений адресов В„ от и С от С, составл ет единицу. Размещение микponporpaMhfti в блоках 3 и 4 пам ти предлагаемого устройства показано на фиг. 5, В устройстве адрес следующей микрокмоанды, считываемый из блока пам ти (первого 3 или второго 4), равен либо адресу предыдущей микрокоманды этого блока, увеличенному на единицу, либо определ етс  полем адреса предыдущей микрокоманды соседнего блока пам ти. Устройство работает следу1с цим образом. В исходном состо нии регистр 6 обнул етс , а в регистр первого блока 1 формировани  адреса заноситс  начальный адрес B,j выполн емой микропрограммы (цепи синхронизации, обнулени  и занесени  адреса В на чертежах с целью упрощени  не показаны ) . Так как на первый информационный вход блока 7 проверки условий поступает нулевой код, то на первом 17 и втором 18 выходах этого блока устанавливаютс  сигналы логической единицы и логического нул  соответственно . Сигнал логической единицы разрешает запись через коммутатор 5 управл ющий части у микрокоманды. считанной из первого блока 3 пам ти по адресу Bj, в регистр 6, а также запись адреса В. в регистр первого блока t формировани  адреса с выхода сумматора и адреса с выхода 12 первого блока 3 пам ти в регистр второго блока 2 формировани  адреса (дл  .считываемой в данный момент микрокоманды этот адрес  вл етс  нулевь м) . За , пись информации в регистры блоков f и 2 формировани  адреса и в регистр 6 осуществл етс  одним импульсом. Микр команда, считанна  из первого блока 3 пам ти по адресу Ъ, становитс  текущей и выполн етс . Одновременно с ее выполнением происходит считывание следующей микрокоманды из первог блока 3 пам ти по адресу Б, а также микрокоманды из второго блока 4 пам  ти по нулевому адресу. Однако поскол ку в поле кода провер емого логического уровн  текущей микрокоманды находитс  нулевой код, то на первом -17 и втором t8 выходах блока 7 проверки условий логические сигналы не измен ютс . Это приводит к тому, что в регистр 6 будет записано значение у,, микрокоманды, считанной из первого блока 3 пам ти по адресу 6,. Так как в поле кода провер емого логического услови  этой микрокоманды также находитс  нулевой код, то следующей записанной в. регистр 6 микрокомандой будет микрокоманда, считанна  с первого блока 3 пам ти по адресу В, при этом в регистр первого блока 1 формировани  адреса будет записан адрес В с выхода его сумматора, а в регистр второго блока 2 формировани  адреса - адрес Се с выхода 12 первого блока 3 Пам ти. Во врем  выполнени  этой микрокоманды будет одновременно происходить считывание двух возможных следующих микрокоманд из первого блока 3 пам ти по адресу В, .и второго блока 4 пам ти по адресу Cj. Так как в иоле кода провер емого логического услови  текущей микрокоманды находитс  код услови Ы, то в зависимости от его выполнени  или невыполнени  буд изменены или не изменены логические сигналы на вькодах 17 и 18 блока 7 проверки условий. Так, если условие Х выполй етс ,-то на первом 17 и втором :i8 вь1ходах блока 7. проверки условий вырабатываютс  сигналы логи ческого нул  и логической единицы соответственно. Они разрешат запись микрокоманды, считанной по адресу С из второго блока 4 пам ти в регистр 6, адреса В с выхода 13 второго блока 4 пам ти в регистр первого блока 1 формировани  адреса и адреса Ц в регистр второго блока 2 формировани  адреса с выхода его сумматора. Если же условие oi не выполн етс , то на первом 17 и втором 18 выходах блока 7 проверки условий останутс  сигналы логической единицы и логического нул  соответственно . По ним разрешаетс  запись значени  у микрокоманды, считанной из первого блока 3 пам ти по адресу Bj , адреса В. - в регистр первого блока 1 формировани  адреса с выхода его сумматора, нулевого адреса - с выхода 12 первого блока 3 пам ти в регистр второго блока 2 формировани  адреса. Подобным образом устройство работает и при выполнении других микрокоманд . В таблице, изображенной на фиг. 5, О, и 1 в поле кода провер емого логического услови  означают нулевой и единичньй коды соответственно . Значение кода О используетс  дл  записи в регистр 6 управл ющей части и кода провер емого логического услови  следующей микрокоманды , считанной из первого блока 3 пам ти, а значение 1 - дл  записи в регистр 6 управл ющей части и кода провер емого логического услови  следующей микрокомнды, считанной из второго блока 4 пам ти. Использование этих кодов позвол ет разместить в блоках 3 и 4 пам ти устройства любую микропрограмму. Оценим требуемую суммарную емкость двух блоков пам ти предлагаемого устройства по отношению к требуемой суммарной емкости двух блоков известного (фиг. 6 и 7) устройства. Пусть в микропрограммах, размещаемых в двух блоках пам ти, содержитс  X операторных и У условньк вершин. При этом необходимо учитывать, что во второй блок пам ти известного устройства помещаютс  микрокоманды, которые могут выполн тьс  после условных вершин. Тогда число микрокоманд, расположенных в первом блоке пам ти известного устройства будет определ тьс  разностью Х-У и, следовательно, требуема  емкость первого блока па- . 7, м ти известного устройства будет равна этому значению. Во втором же блоке пам ти хранитс  У микрокоманд что как правило значительно меньше Х-У, Однако, так как значени  адресо микрокоманд, хранимых во втором блоке пам ти, определ ютс  значени ми адресов соответствующих микрокоманд хранимых в первом блоке пам ти, то емкость второго блока пам ти должна быть почти такой же как и первого. Как показано на фиг. 7, во втором блоке пам ти хранитс  всего две микрокоманды , но они расположены не по адресам В, В,а по адресам Bj и БЗ и емкость второго блока пам ти поэтому составл ет 6  чеек, что можно считать примерно равно емкости перво го блока пам ти. Таким образом, суммарна  емкость двух блоков пам ти Известного у,рсаства будет равна (Х-У) 2. В предлагаемом устройстве суммар на  емкость двух блоков пам ти останетс  равной X (фиг.6). Суммарна  емкость двух блоков пам ти в предлагаемом устройстве будет меньше, чем в известном устройстве в К раз, где К определ етс  соотношением ( Х-У)--2 ( 1 - )2. От значени  - , Т.е. от соотношени  числа условных вершин к числу операторных, в реализуемых микропрограммах будет зависить конкретное I значение К. На фиг. 8 представлена У зависимость К от - 100%. Из графика видно, что при значени х - 100% в пределах 20-30% объем пам ти при использовании предлагаемого устройства уменьшаетс  в 1,6-1,4 раза по сравнению с известным устройством. А поскольку основные затраты оборудовани  при построении микропрограммных устройств управлени  идут на управл ющую пам ть, то применение предлагаемого устройства более экономично по сравнению с известным устройством, при этом быстродействие его останетс  таким же. Пусть в предлагаемом и в известном устройствах число микрокома нд, расположенных во втором блоке пам ти, в 2 раз меньше, чем число микроко- манд, расположенных в первом блоке пам ти, тогда длина адресного пол  микрокоманд, расположенных в первом блоке пам ти предлагаемого устройства , меньше, чем длина адресного пол  микрокоманд, расположенных в првом блоке пам ти известного устройства на m разр дов. При больших объемах первого блока пам ти и малых объемах второго блока пам ти этот факт также приводит к значительному сокращению оборудовани .The invention relates to computing and can be used in the construction of control automata. A firmware control device is known that contains a memory block, a micro-command register consisting of micro-operations floor, logical conditions and an address field, micro-instructions address counts and a condition-checking unit including a decoder, a group of elements AND and an IL 1 element. The disadvantage of this device is a low speed, since the duration of the automatic current is the sum of the counting time in the micro-command address counter, the micro-command sampling time from the memory block and its execution time in the automatic machine. It is also known a firmware control device containing a memory block, a micro-command register consisting of a field of micro-commands, a field of logical conditions and two address fields, a switch, a group of elements AND, an element OR, and an element NOT L2J. Although in comparison with the previous device, this device has a slightly higher speed (in it the duration of the automatic cycle is reduced by the counting time in the microcommand address counter), but it also has a low speed, since it cannot be used to sample the next microcommand. execution time in the operating machine of the previous microcommand. The closest in technical essence to the Invention is a firmware control device comprising two memory blocks, a switch, a register and a condition check block, with the first and second information inputs of the switch connected to the outputs of the first and second memory blocks, respectively; the output of the switch is connected to the information input of the register, the first output of which is the information output of the device, the second output is connected to the information input of the verification unit, conditions, the third output is addressable in Odom memory blocks ti second information input of the verification environment unit is a group of conditions of entry device, first and second output condition checking block soedi2J Nena respectively with the first and vtoipbiM enabling input switch 3J. The known device provides a significantly higher speed in relation to the previous ones, since in it the duration of the automatic clock is significantly reduced due to parallelization of the execution of the current microcommand and the selection of the next one. However, its drawback is the large amount of equipment used, since the total capacity of the two memory blocks significantly exceeds the minimum required memory capacity required for microprogram placement (the minimum required memory capacity when using firmware control devices is equal to the number of operator vertices in the graphs : their firmware). The purpose of the invention is to reduce the amount of equipment used. The goal is achieved by the fact that a microprogrammed control device containing two microinstructions memory blocks, a switch, a microinstructions register and a conditional verification unit, the microoperations code register of the microcommands is output of the device, the group of microprograms of logic codes of the register of microcommands is connected to the first group of inputs the condition test unit, the second group of inputs of which is the group of inputs of the logical conditions of the device, the information input of the micro-register register is connected to the switch output the first and second informational inputs of which are connected respectively to the outputs of the operation codes and logical conditions of the first and second microcommand memory blocks, the first and second outputs of the condition checker are connected respectively to the first and second control inputs of the switch, the first and second address generation blocks are inserted , wherein the first and second control inputs of the first and second address generation units are connected respectively to the first and second outputs of the condition testing unit, the output of the first and second blocks The shackles of the formation of the address are connected respectively to the address inputs of the first and second memory blocks of microinstructions, the outputs of the address code of which are connected respectively to the information inputs of the first and second blocks of the formation of the address. In addition, each of the address formation blocks contains a register, a switch, and an adder, with the B.OUT register connected to the information input of the adder and the output of the block, the information input of the register connected to the output of the switch, the first and second control inputs of which are first and second control inputs of the block, the first information input of the switch is connected to the output of the adder, the transfer input of which is connected to the single potential bus, the second information input of the switch is information input block. FIG. 1 shows a flowchart of the proposed firmware control device; FIG. 2 is a functional diagram of a condition checking unit; FIG. in fig. 3 is a functional diagram of an address generation unit; in fig. 4 and 5, respectively, the diagram of the microprogram and the principle of its placement in the memory blocks of the proposed device; in fig. 6 principle of placement in the memory blocks of the proposed firmware device described in the description of the known device L3 J; Fig. 7 shows the placement of this firmware in the memory blocks of the known device; 8 is a graph of volume reduction when using the proposed device in comparison with the known device depending on the percentage of the number of conditional vertices to the operator ones in the graph-schemes of the microprograms used in them. The microprogram control device (Fig. 1) contains the first 1 and second 2 blocks of the address generation, the first 3 and second 4 blocks of the microinstructions memory, the switch 5, the register of the microinstructions 6, the conditioner 7, the outputs 8 and 9 of the first and second formation blocks addresses, outputs 10 and 11 of the operation code and logical conditions of the first and second microinstructions memory units, outputs 12 and 1: 3 of the address code of the first and second microcommands memories, respectively, output 14 of the device, group 15 outputs of the logic register register of microinstructions , a group of 16 inputs of logical conditions, the first 17 and second 18 outputs of the condition checker. The condition checker (Fig. 2) contains a decoder 19, a group of elements And / (K is the number of logical conditions), an OR element 21 and a NOT element 22. The address generation unit (Fig 3) contains an adder 23, a switch 24, a register 25 and adder transfer input 26 connected to a single potential bus. The operation of the device will be considered on the example of the execution of the microprogram, the graph-diagram of which is shown in FIG. 4. Here y {(where i 1,10 is the control part of the i-th 1 shkrokomandy, d: (where j 1, 3) is the code j-ro of the checked logical condition, V g, (where n 0 , 5) and C "(where m is 0.3) the addresses of the cells of blocks 3 and 4 of memory, respectively, along which the microcommands are stored, while here it is assumed that the difference between the values of addresses B and C and C is one. The placement of micponporpaMhfti in blocks 3 and 4 of the memory of the proposed device is shown in Fig. 5. In the device, the address of the next micro command, read from the memory block (first 3 or second 4), is equal to either the previous address The commands of this block, incremented by one, or determined by the address field of the previous microcommand of the adjacent memory block. The device works next. In the initial state, register 6 is zeroed out, and the initial address B, j is entered into the register of the first address generation unit 1 firmware (synchronization circuit, zeroing and entering the address B in the drawings for the purpose of simplification are not shown). Since the first information input of the condition verification unit 7 receives a zero code, the signals of a logical unit and a logical zero, respectively, are set at the first 17 and second 18 outputs of this block. The signal of the logical unit allows recording via the switch 5 controlling parts of the microcommand. read from the first memory block 3 at address Bj, into register 6, and also writing address B. to the register of the first address formation block t from the adder output and the address from output 12 of the first memory block 3 to the register of the second address formation block 2 (for currently readable microcommand, this address is null m). Over, information is written into the registers of the blocks f and 2 of the formation of the address and into the register 6 by a single pulse. The micro command read from the first memory block 3 at address b becomes the current one and is executed. Simultaneously with its execution, the next microcommand from the first memory block 3 at address B is read, as well as the microcommands from the second memory block 4 at the zero address. However, because in the code field of the checked logic level of the current microcommand there is a zero code, the logical signals do not change on the first -17 and second t8 outputs of the condition checking unit 7. This leads to the fact that register 6 will contain the value of y, a micro-command read from the first memory block 3 at address 6 ,. Since the zero code is also found in the code field of the checked logical condition of this microcommand, the next one written in. The micro-command register 6 will be a micro-command read from the first memory block 3 at address B, while the address of the output of its adder will be written to the register of the first address generation block 1, and the address Ce from the first 12 output will be written to the register of the second address generation block 2 block 3 Memory. During the execution of this microcommand, two possible next microcommands from the first memory block 3 at address B, and the second memory block 4 at address Cj will be simultaneously read. Since the condition code S is in the code field of the checked logical condition of the current microcommand, depending on its execution or non-fulfillment, the logical signals on codes 17 and 18 of the conditioner 7 are changed or not. So, if condition X is fulfilled, then on the first 17 and second: i8 in the 7th loop of the condition 7. The conditions are generated and the signals of logical zero and logical unit are generated, respectively. They will allow the recording of a microcommand read by address C from the second memory block 4 to register 6, addresses B from output 13 of the second memory block 4 to the register of the first block 1 generating the address and address C to the register of the second block 2 generating the address from the output of its adder . If the condition oi is not fulfilled, then at the first 17 and second 18 outputs of the condition checker 7 there will remain signals of the logical unit and logical zero, respectively. They are allowed to write the value of the microcommand read from the first memory block 3 at address Bj, address B. - to the register of the first address generation block 1 from the output of its adder, zero address from the output 12 of the first memory block 3 to the register of the second block 2 address formation. Similarly, the device works when performing other microinstructions. In the table shown in FIG. 5, О, and 1 in the code field of the checked logical condition mean zero and one codes, respectively. The value of code O is used to write to the register 6 of the controlling part and the code of the checked logical condition of the next microcommand read from the first block 3 of memory, and the value 1 to write to the register 6 of the controlling part and the code of the checked logical condition of the next microcommand read from the second memory block 4. The use of these codes allows any firmware to be placed in blocks 3 and 4 of the device memory. Let us estimate the required total capacity of two memory blocks of the proposed device with respect to the required total capacity of two blocks of the known (Fig. 6 and 7) device. Suppose there are X operator vertices in the firmware located in two memory blocks, and conditional vertices. It should be borne in mind that microcommands that can be executed after conditional vertices are placed in the second memory block of a known device. Then the number of microinstructions located in the first memory block of the known device will be determined by the difference X-Y and, therefore, the required capacity of the first block is pa-. 7, m ti known device will be equal to this value. In the second memory block, the microinstructions are stored in Y, which is usually much smaller than XY, However, since the address values of microinstructions stored in the second memory block are determined by the address values of the corresponding microinstructions stored in the first memory block, the capacity of the second the memory block should be almost the same as the first one. As shown in FIG. 7, only two microcommands are stored in the second memory block, but they are not located at addresses B, B, but at addresses Bj and BZ and the capacity of the second memory block is therefore 6 cells, which can be considered approximately equal to the capacity of the first memory block ti. Thus, the total capacity of the two memory blocks of the Known y, device will be (X-Y) 2. In the proposed device, the total capacity of the two memory blocks will remain equal to X (Fig. 6). The total capacity of the two memory blocks in the proposed device will be less than in the known device K times, where K is defined by the ratio (X-Y) - 2 (1 -) 2. From the value - Ie. on the ratio of the number of conditional vertices to the number of operator vertices, the specific I value of K will depend on the implemented firmware. In FIG. 8 shows the dependence of K on - 100%. It can be seen from the graph that at values of -100% within 20-30%, the memory capacity when using the proposed device decreases 1.6-1.4 times as compared with the known device. And since the main expenses of the equipment when building firmware control devices go to the control memory, the application of the proposed device is more economical than the known device, while its speed will remain the same. Suppose that in the proposed and known devices the number of microcomms located in the second memory block is 2 times less than the number of microcommands located in the first memory block, then the length of the address field of microcommands located in the first memory block of the proposed device , less than the length of the address field of microinstructions located in the right memory block of the known device by m bits. With large volumes of the first memory block and small volumes of the second memory block, this fact also leads to a significant reduction in hardware.

J6 /S---J6 / S ---

N    N

-f

/7/ 7

ZfZf

ISIS

I II I

tftf

((

Фиг.2 M-2 M-

flzjflzj

ii

im)im)

2S2S

fifi

/7 /5 .5/ 7/5 .5

CADCAD

ФцъЛFCL

flepSbiu Sfw побитаflepSbiu Sfw beat

второй SMK пан тиsecond smk pang

fkptuif пам тиfkptuif memory

Bmopw SKOK namtmuBmopw SKOK namtmu

В.1 9з IB.1 9z I

ПерМ длаи пан тиPerm dlai panti

-гул-gool

ипun

второй SflOK «7IW/Wsecond SflOK "7IW / W

Claims (2)

1. МИКРОПРОГРАММНОЕ УСТРОЙСТВО УПРАВЛЕНИЯ, содержащее два блока памяти, микрокоманд, коммутатор, регистр микрокоманд и блок проверки условий, причем выход кода микроопераций регистра микрокоманд является выходом устройства, группа выходов кода логических условий регистра микрокоманд соединена с первой группой входов блока проверки условий, вторая группа входов которого является группой входов логических условий устройства, информационный вход регистра микрокоманд соединен с выходом коммутатора, первый и второй информационные входы которого соединены соответственно с выходами кодов операций и логических условий первого и второго блоков памяти микрокоманд, первый и второй выходы блока проверки условий соединены соответственно с первым и вторым управляющими входами коммутатора, отличающееся тем, что, с целью сокращения оборудования, оно содержит первый и в.торой блоки формирования адреса, причем, первый и второй управляющие входы первого и второго блоков формирования адреса соединены соответственно с первым и вторым выходами блока проверки условий, выходы первого и второго блоков формирования адреса соединены соответ ственно с адресными входами первого и второго блоков памяти микрокоманд, выходы кода адреса которых соединены соответственно с информационными входами первого и второго блоков формирования адреса.1. A microcontroller control device comprising two memory blocks, microcommands, a switch, a microcommand register, and a condition checking unit, the microoperation code output of the microcommand register being the device output, a group of microcontrol register logic condition code outputs connected to the first group of inputs of the condition checking unit, the second group the inputs of which is a group of inputs of the logical conditions of the device, the information input of the micro-command register is connected to the output of the switch, the first and second information inputs which are connected respectively to the outputs of the operation codes and logical conditions of the first and second blocks of memory of the microcommands, the first and second outputs of the condition checking block are connected respectively to the first and second control inputs of the switch, characterized in that, in order to reduce equipment, it contains the first and the second. the second address generation units, the first and second control inputs of the first and second address generation units being connected respectively to the first and second outputs of the condition checking unit, the outputs of the first and second address generation units respectively connected with the address inputs of the first and second memory blocks of microinstructions, the address code which outputs connected respectively to the data inputs of the first and second address generation units. 2. Устройство поп. 1, отличающее с я тем, что каждый из блоков формирования адреса содержит регистр, коммутатор и сумматор, причем выход регистра соединен с информационным входом сумматора и является выходом блока, информационный вход регистра соединен с выходом коммутатора, первый и второй управляющие входы которого являются соответственно первым и вторым управляющими входами блока, первый информационный вход коммутатора соединен с выходом сумматора, вход переноса которого подключен к шине единичного потенциала, второй информационный вход коммутатора является информационным входом блока.2. The device pop. 1, characterized in that each of the address generation blocks contains a register, a switch, and an adder, wherein the register output is connected to the information input of the adder and is the output of the block, the information input of the register is connected to the output of the switch, the first and second control inputs of which are respectively the first and the second control inputs of the block, the first information input of the switch is connected to the output of the adder, the transfer input of which is connected to the unit potential bus, the second information input of the switch S THE information input unit. Λ >Λ> 1 11519621 1151962
SU833654671A 1983-09-19 1983-09-19 Microprogram control device SU1151962A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU833654671A SU1151962A1 (en) 1983-09-19 1983-09-19 Microprogram control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU833654671A SU1151962A1 (en) 1983-09-19 1983-09-19 Microprogram control device

Publications (1)

Publication Number Publication Date
SU1151962A1 true SU1151962A1 (en) 1985-04-23

Family

ID=21086276

Family Applications (1)

Application Number Title Priority Date Filing Date
SU833654671A SU1151962A1 (en) 1983-09-19 1983-09-19 Microprogram control device

Country Status (1)

Country Link
SU (1) SU1151962A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1. Майоров С.А., Новиков Г.И. Структура ЭВМ.Л., Машиностроение, 1979, с. 321, рис. 107. 2.Путков В.Н., Сбросов Н.И., Бекетов С.В. Электронные вычислительные устройства, Минск, Вышэйша школа, 1981, с. 225, рис. 9.14. 3.Авторское свидетельство СССР № 964640, кл. G 06 F 9/22, 1981 (прототип). *

Similar Documents

Publication Publication Date Title
US3689895A (en) Micro-program control system
SU1082341A3 (en) Control device in data processing system
US4047245A (en) Indirect memory addressing
EP0217479A2 (en) Information processing unit
SU1151962A1 (en) Microprogram control device
JPH0320776B2 (en)
US5001629A (en) Central processing unit with improved stack register operation
US4888685A (en) Data conflict prevention for processor with input/output device
JPS6410854B2 (en)
SU1460728A1 (en) Device for determining the probability of operability of a structurally complex system
SU1552189A1 (en) Device for monitoring programs
RU2071111C1 (en) Control device
SU1166109A2 (en) Microprogram control unit
SU890442A1 (en) Device for testing rapid-access storage units
SU1564603A1 (en) Device for processing indistinct information
SU1295411A1 (en) Device for simulating discrete systems
SU1226453A1 (en) Microprogram control device
SU1188743A1 (en) Device for simulating checked object
SU1536380A1 (en) Microprogram control device
EP0231948A2 (en) Simulation system
RU2042189C1 (en) Device for microprogram control
SU1151961A1 (en) Microprogram control device
KR0163726B1 (en) Multi-ram-break-condition set circuit using external memory
SU868763A1 (en) Logic unit testing device
SU1003091A1 (en) Recording operation control device