SU1111161A1 - Firmware control unit - Google Patents

Firmware control unit Download PDF

Info

Publication number
SU1111161A1
SU1111161A1 SU833603454A SU3603454A SU1111161A1 SU 1111161 A1 SU1111161 A1 SU 1111161A1 SU 833603454 A SU833603454 A SU 833603454A SU 3603454 A SU3603454 A SU 3603454A SU 1111161 A1 SU1111161 A1 SU 1111161A1
Authority
SU
USSR - Soviet Union
Prior art keywords
group
input
inputs
register
outputs
Prior art date
Application number
SU833603454A
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 SU833603454A priority Critical patent/SU1111161A1/en
Application granted granted Critical
Publication of SU1111161A1 publication Critical patent/SU1111161A1/en

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Abstract

МИКРОПРОГРАММНОЕ УСТРОЙСТВО УПРАВЛЕНИЯ, .содержащее блок пам ти микрокоманд, регистр адреса, регистр микрокоманд , генератор тактовых импульсов , блок контрол  условий, первый и второй счетчики и шифратор, содержащий входной дешифратор, п элементов ИЛИ (и 1,2,...) и (vi-1)/2 л дешифраторов, причем перва  группа входов блока контрол  условий соединена с группой выходов кода адреса регистра микрокоманд, группа информационных входов которого соединена с первой группой информационных выходов блока пам ти микрокоманд, группа адресных входов которого соединена с группой информационных выходов регистра адреса, группа информационных входов которого соединена с группой выходов блока контрол  условий, втора  группа входов которого  вл етс  группой входов кода логических условий устройства, группа выходов кода операции регистра микрокоманд  вл етс  группой выходов кода опера- ций устройства, вход разрешени  записи регистра микрокоманд соеда1нен с входами разрешени  записи первого и второго счетчиков и выходом заема второго счетчика счетный вход которого соединен со, счетным входом первого сметчика, входом синхронизации регистра микрокоманд, входом синхронизации регистра адреса и выходом генератора тактовых импульсов, вход установки в О р.егистра адреса  вл етс  входом начальной установки устройства и соединен с входом установки в О второго счетчика, групг па информационных входов которого соединена с второй группой информационных выходов блока пам ти микрокоманд , треть  группа информационных выходов которого соединена с групV ) пой информационных входов первого счетчика, группа информационных выходов которого соединена с входами (и -1) /2 дешифраторов, группа выходов кода управлени  регистра микрокоманд соединена с.группой входов входного дешифратора, выходы i-го дешифратора (,2,..., (и-1)/2) соединены соответственно с i -ми входами п элементов ИЛИ, выходы которых  вл ютс  управл ющими выходами устOi ройства, стробирующий вход г-го дешифратора соединен с г-м выходом ;входного дешифратора, о т л и ч а ющ е ее   тем, что, с целью упрощени  устройства, выход бита управлени  формированием управл ющих сигналов регистра микрокоманд соединен j с входом управлени  направлением сче;та первого счетчика.FIRMWARE CONTROL MICROPROGRAMME., Containing a microinstructor memory block, address register, microinstruction register, clock generator, condition control unit, first and second counters and an encoder containing an input decoder, n elements OR (and 1,2, ...) and (vi-1) / 2 l decoders, with the first group of inputs of the condition control block connected to the output group of the microinstructions register address code, the group of information inputs of which are connected to the first group of information outputs of the microinstruction memory block; which is connected to the group of information outputs of the address register, the group of information inputs of which is connected to the group of outputs of the condition control unit, the second group of inputs of which is the group of inputs of the logic conditions code of the device, the output group of the operation codes of the microcommand register is the output group of the operations code of the device, the enable input of the register of microinstructions is connected to the enable inputs of the recording of the first and second counters and the output of the loan of the second counter whose counting input is connected to , the counting input of the first estimator, the sync input of the microinstructions register, the synchronization input of the address register and the output of the clock pulse generator, the setup input in the O. register address is the input of the initial setup of the device and connected to the setup input of the second counter, the group pa informational inputs of which connected to the second group of information outputs of the microinstructions memory block, the third group of information outputs of which is connected to the group V) information inputs of the first counter, information group the ion outputs of which are connected to the inputs (and -1) / 2 decoders, the group of outputs of the micro-command register control code is connected with the group of inputs of the input decoder, the outputs of the i-th decoder (, 2, ..., (and-1) / 2) respectively, connected to the i-th inputs of the OR elements, whose outputs are the control outputs of the device; the strobe input of the th-th decoder is connected to the th-th output; the input decoder, which is in order to simplify the device, the output of the control bits of the formation of control signals of the register of microsomers j is connected to the input of the control sche direction, that the first counter.

Description

1 11 Изобретение относитс  к области автоматики и вычислительной техники, в частности к микропрограммным устройствам управлени , и может быть использовано в цифровых вычислительных системах, а также терминальной аппаратуре. Известно микропрограммное управл ющее устройство, содержащее блок пам ти микрокоманд, регистр микрокоманд , регистр адреса, блок проверки условий, группу элементов И, регистр блокировки, генератор импульсов, эле мент И til . Недостатком данного устройства  вл етс  ограниченньм набор комбинаций микроприказов, вьщаваемых в каждой отдельной микрокоманде. Наиболее близким по технической сущности к предлагаемому  вл етс  микропрограммное управл ющее устройство , содержащее блок пам ти микрокоманд , регистр адреса, регистр.микроко манд .генератор тактовых импульсов, блок контрол  условий,первый и второй счетчики и шифратор,причем перва  группа входов блока контрол  условий соединена с группой выходов кода адреса регистра микрокоманд, группа информационных входов которого соединена с первой группой информационных выхо дов блока пам ти микрокоманд, группа адресных входов которого соединена с группой информационных выходов регистра адреса, группа информационных входов которого соединена с rpyn пой выходов блока контрол  условий, втора  группа входов которого соединена с группой входов кода логических условий устройства, группа выходов кода операций регистра микрокоманд соединена с группой выходов кода операций устройства, а группа выходов шифратора соединена с группой управл ющих выходов устройства, перва  группа входов шифратора соединена с группой выходов кода управлени  регистра микрокоманд, вход разреще-. НИН записи которого соединен с входа ми разрешени  записи первого и второ го счетчиков и с выходом заема второ го счетчика, счетный вход которого соединен со счетным входом первого счетчика, с входом синхронизации регистра микрокоманд, с выходом генера тора тактовых импульсов и входом синхронизации регистра адресаi вход установки в ноль которого соединен с входом начальной установки устрой12 ства и с входом установки в ноль второго счетчика, группа информационных входов которого соединена с второй группой информационных выходов блока пам ти микрокоманд, треть  группа информационных выходов которого соединена с группой информационных входов первого счетчика, группа информационных выходов которого соединена с второй группой входов шифратора . Шифратор содержит входной дещифратор п элементов ИЛИ (, 2,...) и (п-1), дешифраторов, причем выходы j-ro дешифратора (, 2,... (-1) ) соединены соответственно с j-ми входами п элементов ИДИ, вьпсоды которых соединены соответственно с выходами группы выходов шифратора, группа входов (и-1)( дешифраторов соединена с второй группой входов шифратора, управл ющий вход j-ro дешифратора соединен с J-M вьпсодом входного дешифратора, группа входов которого соединена с первой группой входов шифратора 2. Недостатком данного устройства  вл етс  его сложность, обусловленна , большим оборудованием шифратора. Цель изобретени  - упрощение устройства . Поставленна  цель достигаетс  тем, что в микропрограммном устройстве управлени , содержащем блок пам ти микрокоманд, регистр адреса, регистр микрокоманд, генератор тактовых импульсов , блок контрол  условий, первый и второй счетчики и шифратор, содержащий входной дешифратор, м-элементов ИЛИ (,2,...) и (и -1)i/2 дешифраторов, причем перва  группа входов блока контрол  условий соединена с группой выходов кода адреса регистра микрокоманд, группа информационных входов которого соединена с первой группой информационных выходов блока пам ти микрокоманд, группа адресньк входов которого соединена с группой информационных выходов регистра адреса, группа инфор|мацио21ных входов которого соединена с. группой выходов блока контрол  условий, втора  группа входов которого  вл етс  группой входов кода логических условий устройства, группа выходов кода операции регистра микрокоманд  вл етс  группой выходов кода операций устройства, вход разрешени  записи регистра микрокоманд соединен с входами разрешени 1 11 The invention relates to the field of automation and computer technology, in particular to firmware control devices, and can be used in digital computing systems, as well as terminal equipment. A firmware control device containing a microinstructions memory block, a microinstructions register, an address register, a condition checker, a group of elements AND, a lock register, a pulse generator, and an element til is known. The disadvantage of this device is the limited set of combinations of micro-orders made in each individual micro-command. The closest in technical essence to the present invention is a firmware control device comprising a microcommand memory block, an address register, a microcontroller register, a clock pulse generator, a condition monitoring unit, first and second counters, and an encoder, the first group of condition control inputs connected to the group of outputs of the code of the address of the microinstruction register, the group of information inputs of which is connected to the first group of information outputs of the microinstructions memory block, the group of address inputs of which are connected There is no reference to the group of information outputs of the address register, the group of information inputs of which are connected to rpyn of the outputs of the condition control unit, the second group of inputs of which are connected to the group of inputs of the logical conditions code of the device, the output group of the opcode of the microcommand register, and the group the encoder outputs are connected to the device control output group, the first group of encoder inputs are connected to the output group of the micro-command register control code, the input is enabled. The NIN records of which are connected to the resolution inputs of the records of the first and second counters and with the output of the loan of the second counter, the counting input of which is connected to the counting input of the first counter, with the synchronous input of the micro-command register, with the output of the clock generator and the synchronous input of the address register and the input installation to zero which is connected to the input of the initial installation of the device and to the installation input to zero of the second counter, the group of information inputs of which is connected to the second group of information outputs of the block the memory of microinstructions, the third group of information outputs of which is connected to the group of information inputs of the first counter, the group of information outputs of which is connected to the second group of inputs of the encoder. The encoder contains the input descrambler n elements OR (, 2, ...) and (p-1), decoders, and the outputs of the j-ro decoder (, 2, ... (-1)) are connected respectively to the j-th inputs of the IDN elements whose vpdsody are connected respectively to the outputs of the encoder's output group, a group of inputs (and-1) (the decoders are connected to the second group of inputs of the encoder, the control input j-ro of the decoder is connected to the JM ropspe of the input decoder, the group of inputs of which is connected to the first group inputs of the encoder 2. The disadvantage of this device is its complexity, due to Enna, large equipment of the encoder. The purpose of the invention is to simplify the device. The goal is achieved by the fact that in the microprogrammed control device containing the microcommand memory block, the address register, the microinstruction register, the clock generator, the condition monitoring unit, the first and second counters and the encoder, containing the input decoder, m-elements OR (, 2, ...) and (and -1) i / 2 decoders, with the first group of inputs of the condition control block connected to the output group of the microinders register address code code, the information input group which is connected to the first group of information outputs of the microinstructions memory block, the group of addresses of the inputs of which is connected to the group of information outputs of the address register, the group of information inputs of which are connected to a group of outputs of a condition monitoring unit, the second group of inputs of which is a group of inputs of the logical conditions code of a device, a group of outputs of an operation code of a microcommand register is a group of outputs of an operation code of a device, the enable input of a register of microcommands is connected to an enable input

311311

записи первого и второго счетчиков и выходом заема второго счетчика, счетный вход которого соединен со счетным входом первого счетчика, входом синхронизации регистра микрокоманд , входом синхронизации регистра адреса и с выходом генератора. тактовых импульсов, вход установки в О регистра адреса  вл етс  входом начальной установки устройства и соединен с входом установки в О второго счетчика, группа информационных входов которого соединена с второй группой информационных выходов блока пам ти микрокоманд, треть  группа информационных выходов которого соединена с группой информационных входов первого счетчика, группа информационных выходов которого соединена с входами (п-1)/2 дешифраторов , группа вькодов кода управлени  регистра микрокоманд соединена с группой входов входного дешифратора, выходы i-ro дешифратора (,2,..., (10-1)1/2) соединены соответственно с i-ми входами tq элементов ИЛИ, выходы которых  вл ютс  управл ющими выходами устройства, стробирующий вход i-ro дешифратора соединен с i-м выходом входного дешифратора выход бита управлени  формированием управл ющих сигналов регистра микрокоманд соединен с входом управлени  направлением счета первого счетчика.records of the first and second counters and the loan output of the second counter, the counting input of which is connected to the counting input of the first counter, the synchronization input of the register of microinstructions, the synchronization input of the address register and the generator output. clock pulses, the installation input in the O register of the address is the input of the initial installation of the device and connected to the installation input in the O second counter, the group of information inputs of which are connected to the second group of information outputs of the microcommand memory block, the third group of information outputs of which are connected to the group of information inputs the first counter, the group of information outputs of which is connected to the inputs (p-1) / 2 decoders, the group of codes of the micro-command register control code is connected to the group of inputs output decoder, the outputs of the i-ro decoder (, 2, ..., (10-1) 1/2) are connected respectively to the i-th inputs tq of the OR elements, the outputs of which are the control outputs of the device, the gate input i-ro The decoder is connected to the i-th output of the input decoder. The output of the control control signal generation bit of the micro-register register is connected to the control input of the counting direction of the first counter.

На фиг. 1 изображена схема устройства; на фиг. 2 - схема блока контрол  у словйй; на фиг. 3 - схема шифратора; на фиг. 4 - временна  диаграмма работы устройства.FIG. 1 shows a diagram of the device; in fig. 2 is a diagram of the control unit of the words; in fig. 3 - encoder scheme; in fig. 4 - time diagram of the device.

Микропрограммное управл ющее устройство содержит блок 1 пам ти микрокоманд , регистр 2 микрокоманд, регистр 3 адреса, блок 4 контрол  условий , генератор 5 импульсов, первый 6 и второй 7 счетчики, шифратор 8, группу выходов 9 и группу входов 10 устройства, вход 11 начальной установки , группу выходов 12 устройства.The microprogram control device contains a block of 1 memory of micro-instructions, a register of 2 micro-instructions, a register of 3 addresses, a block 4 of condition monitoring, a generator of 5 pulses, the first 6 and second 7 counters, an encoder 8, a group of outputs 9 and a group of inputs 10 of the device, input 11 initial installation, a group of outputs 12 devices.

Блок 4 контрол  условий (фиг. 2) содержит группы элементов 13 И и 14 ИЛИ.The condition control unit 4 (FIG. 2) contains groups of elements 13 AND and 14 OR.

Шифратор 8 (фиг. 3) содержит (входной дешифратор 15, группу дешифраторов 16 и группу элементов 17 ИЛИThe encoder 8 (Fig. 3) contains (input decoder 15, a group of decoders 16 and a group of elements 17 OR

На фиг. 4 обозначено: 18 - сигнал начальной установки на входе 11 устройства; 19 - импульсы на выходе генератора 5 импульсов; 20 - сигнал зйема на управл ющем выходе счетчи14FIG. 4 marked: 18 - the signal of the initial installation at the input 11 of the device; 19 - pulses at the output of the generator 5 pulses; 20 - signal of the output at the control output of the counter 14

ка 7; 21, 22, 23, 24 - сигналы на четвертом, третьем, первом и втором выходах шифратора 8 соответственно.ka 7; 21, 22, 23, 24 - signals on the fourth, third, first and second outputs of the encoder 8, respectively.

Микропрограммное управл ющее уст5 ройство работает следующим образом. Дл  приведени  устройства в исходное состо ние на его вход 11 подаетс  сигнал 18, по которому регистр 3 адреса и счетчик 7 устанавливают0 с  в О. По нулевому адресу из блока 1 пам ти микрокоманд выбираетс  начальна  микрокоманда и поступает на информационные входы регистра 2 микрокоманд. На выходе заема счетчи5 ка 7 вырабатываетс  сигнал 20 заема и поступает на входы разрешени  записи регистра 2 микрокоманд и счетчиков 6 и 7. По импульсу 19 соответствующие части микрокоманды занос тс The firmware control device operates as follows. To bring the device into the initial state, a signal 18 is sent to its input 11, by which the register 3 addresses and the counter 7 are set to 0 s in O. At the zero address from the micro-instruction memory block 1, the initial micro-instruction is selected and fed to the information inputs of the micro-command register 2. At the exit of the loan, the counter 7 generates a signal 20 of the loan and enters the inputs of the resolution of the recording of the register of 2 microcommands and counters 6 and 7. By impulse 19, the corresponding parts of the microcommand are entered

0 в регистр 2 микрокоманд и счетчики 6 и 7.0 in the register 2 microinstructions and counters 6 and 7.

Кажда  микрокоманда состоит из трек частей - адресной, операционной и управл ющей.Each microinstruction consists of a track of parts — address, operational, and control.

5 В адресной части микрокоманды кроме кода, по которому определ етс  адрес следующей микрокоманды, содержитс  один разр д, значение которого определ ет тип перехода (условный5 In the address part of the microcommand, in addition to the code by which the address of the next microcommand is determined, contains one bit, the value of which determines the type of transition (conditional

0 или безусловный) к следующей микрокоманде . Адресна  часть микрбкоманды поступает с группы выходов кода адреса регистра 2 микрокоманды на первую группу входов блока 4 контро , л  условий.0 or unconditional) to the next microinstruction. The address part of the micr command comes from the group of outputs of the code of the address of register 2 microcommands to the first group of inputs of block 4 of the control, conditions.

Операционна  часть микрокоманды содержит код операции, которую выполн ют операционные схемы, управл емые данным микропрограммным управл ющимThe microcommand operation part contains an operation code that is executed by the operating circuits controlled by the given firmware manager.

Q устройством. Операционна  часть микрокоманды поступает с группы выходов кода операции регистра 2 микрокоманд на группу выходов 9 устройства.Q device. The operational part of the microcommand comes from the group of outputs of the operation code of register 2 microcommands to the group of outputs 9 of the device.

В управл ющей части микрокомандыIn the control part of microcommand

5 задаетс  информаци  о комбинации и числе микроприказов, которые вьдают-. с  при выполнении данной микрокоманды .5 sets information about the combination and the number of micro orders that drop. c when executing this microcommand.

Дл  более четкого понимани  рас-For a clearer understanding of

П смотрим дальнейшую работу устройства дл  случа , когда максимальное число микроприказов, выдаваемых в одной микрокоманде, равно, например, четырем.:We look at the further operation of the device for the case when the maximum number of micro-orders issued in one micro-command is, for example, four .:

Полный набор комбинаций из четы5A full set of combinations of four

рех микроприказов представлен в табл. 1. Микроприказы обозначены пор дковыми номерами - 1 - 4. Из 1т-абл. 1 видно, что общее число ком7111 характера дл  комбинаций микроприказов любого из восьми участков вьще ленной зоны табл.1. Таким образом, набор комбинаций микроприказов, представленный в табл. 2,  вл етс  функционально полным дл  работы устройства в данном случае. В соответствии с табл. 2 производитс  распределение полей в управл ющей части микрокоманды и построение шифратора 8. Управл юща  часть микрокоманды включает в себ  три пол  и бит управлени  направлением счета. В пер вом поле задаетс  номер строки в соответствии с табл. 2-. Номер строки оказываетс  занесенным в регистр 2 микрокоманд и поступает с его управл ющих выходов на входы шифратора 8. Во втором поле управл ющей части микрокоманды задаетс  номер колонки согласно табл. 2. Номер колонки оказываетс  занесенным в счетчик 6 и поступает с его выходов на входы шиф ратора 8. В третьем поле задаетс  количество микроприказов, выдаваемых в микрокоманде. Это поле оказываетс  занесенным в счетчик 7. Бит управлени  направлением счета поступает на соответствуюп й вход счетчика 6. Входной дешифратор 15  вл етс  де 1щифратором строк в соответствии с табл. 2. На его входы поступают сигналы с управл ющих выходов регистра 2 микр6ш)манд. Каждому- из группы дешифраторов 16 соответствует строка в табл. 2; первому - нулева , второму - перва  и т.д.Соединение выходов кавдого дешифратора .16 с входами группы элементов 17 ИЛИ соответст вует расположению микроприказов в со ответствующей строке. Например, .первый - четвертый выходы первого дешиф ратора соединены соответственно с входами первого - четвертого элементов 17 ИЛИ, а первый - четвертый вы ходы второго дешифратора 16 соединены соответственно с входами первого, второго, четвертого и третьего элементов 17 ИЛИ и т.д. Например, дл  выполнени  текущей микрокоманды необходимо четьфе мик- ротакта, причем в первом - четвертом микротактах единичный сигнал должен присутствовать соответственно на четвертом, третьем, первом и втором выходах шифратора 8. Такую прследовательность микроприказов можно получить, осуществл   циклический перебор слева нап-раво комбинадни микроприказов в первой строке табл. 2, начина  с второй колонки. Поэтому номер строки, поступающий с группы выходов кода управлени  регистра 2 микрокоманд на входы шифратора 8, равен единице, а номер колонки на выходах счетчика 6 двойке . Код в счетчике 7, определ ющий количество вьщаваемых микроприказов , равен тройке (на единицу :меньше числа выдаваемых микроприказов ). Значение бита управлени  направлением счета равно нулю, что соответствует режиму счета с прибавлением счетчика 6. По номеру строки, равному единице, единичный сигнал вырабатываетс  на втором выходе входного дешифратора 15, в результате чего выбираетс  второй дешифратор 16. По номеру колонки, равному двойке, единичный сигнал вырабатываетс  на третьем выходе второго дешифратора 16. Сигнал с третьего выхода второго дешифратора 16 поступает на вход чет вертого элемента 17 ИЛИ, в результате чего вырабатываетс  сигнал 21 и присутствует в течение первого микротакта . Во втором микротакте по импульсу 19и при нулевом значении сигнала 20к содержтюму счетчика 6 прибавл етс  единица, а от содержимого счетчика 7 вычитаетс  единица. Содержимое регистра 2 микрокоманд не измен етс . В результате номер колонки в счетчике 6 становитс  равным тройг ке, а код в счетчике 7 - двум. По .номеру колонки, раиному тройке, единичный сигнал вырабатываетс  на четвертом выходе второго дешифратора 16. Этот сигнал поступает на вход третьего элемента 17 ИЛИ, в результате чего вырабатываетс  сигнал 22. В третьем микротакте по импульсу 19 к счетчлку 6 прибавл етс  единица , в результате чего его содержимое переполн етс . Старша  единица выходит за пределы разр дной сетки, а в счетчике 6 остаетс  код, равный нулю.Из счетчика 7 вычитаетс  единица , в результате чего его содержимое становитс  равным единице. По нулевому номеру колонки единичный сигнал выpaбaтfaiвaeтc  на первом выходе второго дешифратора 16, в результате чего вырабатываетс  сигнал 23. В четвертом микротакте по импульсу 19 к содержимому счетчика 6 прибавл етс  единица. По номеру колонки , равному единице, единичный сигнал вырабатываетс  на втором выходе второго дешифратора 16, в результате чего вырабатываетс  сигнал 24. Из счетчика 7 вычитаетс  единица. Содержимое счетчика 7 становитс  равным нулю, в результате чего вырабатываетс  сигнал 20.rex micro-orders are presented in table. 1. Micro orders are designated by serial numbers - 1 - 4. Out of 1t-abl. As can be seen from Fig. 1, the total number of comic character for combinations of micro-orders of any of the eight sections of the enhanced zone of Table 1. Thus, a set of combinations of micro-orders, presented in Table. 2 is functionally complete for the operation of the device in this case. In accordance with the table. 2, the fields are distributed in the control part of the microcommand and the encoder 8 is built. The control part of the microcommand includes three fields and an account direction control bit. In the first field, the row number is specified in accordance with Table. 2-. The line number is entered in the register of 2 micro-commands and comes from its control outputs to the inputs of the encoder 8. In the second field of the control part of the micro-command, the column number is set according to the table. 2. The column number is entered into counter 6 and is fed from its outputs to the inputs of the encoder 8. In the third field, the number of micro-orders issued in the micro-command is specified. This field is entered into the counter 7. The control bit of the counting direction is fed to the corresponding input of the counter 6. The input decoder 15 is the decryptor of the strings in accordance with the table. 2. Its inputs receive signals from the control outputs of the register 2 mikr6sh) mand. Each of the group of decoders 16 corresponds to the row in the table. 2; the first is null, the second is first, etc. The connection of the outputs of the decoder's .16 code to the inputs of the group of elements 17 OR corresponds to the location of the micro orders in the corresponding row. For example, the first to fourth outputs of the first decoder are connected respectively to the inputs of the first to fourth elements 17 OR, and the first to fourth outputs of the second decoder 16 are connected respectively to the inputs of the first, second, fourth and third elements 17 OR, etc. For example, to execute the current microcommand it is necessary to have a microcode loop, and in the first and fourth microtacks a single signal must be present on the fourth, third, first and second outputs of the encoder 8. Such a sequence of micro orders can be obtained by looping from left to right to the combination of micro orders. in the first line of the table. 2, starting with the second column. Therefore, the line number coming from the group of outputs of the control code of the register of 2 microinstructions to the inputs of the encoder 8 is equal to one, and the column number at the outputs of the counter 6 is two. The code in counter 7, which determines the number of executed micro orders, is equal to three (by one: less than the number of issued micro orders). The value of the counting direction control bit is zero, which corresponds to the counting mode with the addition of counter 6. At the line number equal to one, a single signal is produced at the second output of the input decoder 15, as a result of which the second decoder 16 is selected. At the column number equal to two, the single the signal is produced at the third output of the second decoder 16. The signal from the third output of the second decoder 16 is fed to the input of the fourth element 17 OR, with the result that the signal 21 is generated and is present for first microtack. In the second micro-clock, by pulse 19 and at zero value of the signal 20k, the content of counter 6 is one, and one is subtracted from the contents of counter 7. The contents of register 2 microinstructions are unchanged. As a result, the column number in counter 6 becomes triple, and the code in counter 7 becomes two. According to the column number, the triple three, a single signal is generated at the fourth output of the second decoder 16. This signal enters the input of the third element 17 OR, as a result of which the signal 22 is generated. In the third micro-pulse, a pulse is added to pulse 6 to 6, as a result what its contents overflow with. The highest unit goes beyond the limits of the bit grid, and in the counter 6 there remains a code equal to zero. From the counter 7 the unit is subtracted, as a result of which its content becomes equal to one. According to the zero number of the column, a single signal is generated at the first output of the second decoder 16, as a result of which a signal 23 is generated. In the fourth micro-pulse, pulse 1 is added to the content of counter 6. By a column number equal to one, a single signal is produced at the second output of the second decoder 16, as a result of which a signal 24 is produced. One is subtracted from counter 7. The contents of counter 7 become zero, with the result that a signal 20 is generated.

В очередном микротакте по импульсу 1 9 и при единичном значении сигнала 20 в регистр 2 микрокоманд, счетчик 6 и счетчик 7 заноситс  следующа  микрокоманда.In the next micro-clock pulse 1 9 and with a single value of signal 20, the next micro-command is entered into register 2 of micro-instructions, counter 6 and counter 7.

До этого момента времени по адресной части текущей микрокоманды в блоке 4 контрол  условий формировалс  адрес следующей микрокоманды. Если разр д, указывающий на тип перехода , равен нулю (безусловный переход ) , то элементы 13 И оказываютс  закрытыми и адрес следующей микрокоманды определ етс  непосредственно из адресной части текущей микрокоманды . При условном переходе элементы 13 И открыты, и адрес следующей микрокоманды формируетс  в зависимости от значени  сигналов условий , поступающих из операционных схем на вход 10 устройства. По импульсу 19 сформированньй блоком 4 контрол  условий адрес заноситс  в регистр 3 адреса, в результате чего из блока 1 пам ти микрокоманд выбираетс  соответствующа  микрокоманда Таким образом, заносима  в регистр 2 и счетчики 6 и 7 микрокоманда оказываетс  заранее подготовленной. Например , дл  выполнени  этой микрокоманды необходима последовательность из четырех микроприказов, при которой единичный сигнал должен присутствовать на четвертом, второй, первом и третьем выходах шифратора 8. Такую последовательность микроприказов можно получить, осуществл   циклический перебор справа налево комбинаций микроприказов в первой строке табл. 2, Up to this point in time, the address of the next microcommand was formed on the address part of the current microcommand in the condition monitoring unit 4. If the bit indicating the type of transition is zero (unconditional transition), then AND elements 13 are closed and the address of the next micro-command is determined directly from the address part of the current micro-command. In the conditional transition, the elements 13A are open, and the address of the next microcommand is formed depending on the value of the condition signals received from the operating circuits to the input 10 of the device. The pulse 19 is formed by the condition control unit 4, the address is entered into the address register 3, as a result of which the appropriate microcommand is selected from the microinstructions memory 1 1. Thus, the microcontrols are entered into the register 2 and the microcommand counters 6 and 7 are prepared in advance. For example, to perform this microcommand, a sequence of four micro orders is needed, in which a single signal must be present on the fourth, second, first and third outputs of the encoder 8. Such a sequence of micro orders can be obtained by looping through the right to left combinations of micro orders in the first row of the table. 2,

начина  со второй колонки. В этом случае номер строки, номер колонки и число выдаваемых микроприказов имеют те же значени , что и при выполне-, НИИ предьиущей микрокоманды. Значение бита управлени  направлением счета равно единице, что соответствует режиму счета с вычитанием счетчика 6 Выполнение этой микрокоманды (наstarting with the second column. In this case, the line number, column number, and the number of micro-orders that are issued have the same values as when executed by the scientific research institute of the preceding micro-command. The value of the control direction bit is equal to one, which corresponds to the counting mode with subtraction of the counter 6 Execute this microcommand (on

фиг. 4 дл  упрощени  не показано) производитс  аналогично предыдущей, за исключением того, что из счетчика 6 в каждом микротакте вычитаетс  единица. Единичный сигнал последовательно вырабатываетс  на четвертом, втором, первом и третьем выходах щифратора 8.FIG. 4 for simplicity, not shown) is produced in the same way as the previous one, except that one is subtracted from counter 6 in each micro-tact. A single signal is sequentially generated at the fourth, second, first, and third outputs of the equalizer 8.

Принцип работы устройства, показанный дл  случа  с четырьм  микроприказами , закономерен дл  любого количества микроприказов. При этом истинно следующее соотношение:The principle of operation of the device, shown for the case with four micro-orders, is logical for any number of micro-orders. Moreover, the following relation is true:

о л- (±±)about l- (± dist)

2 а .2 a.

где S - количество комбинаций микроприказов функционально полного набора дл  работы устройства (содержимое табл. 2);where S is the number of combinations of micro orders for a functionally complete set for operation of the device (contents of Table 2);

п - максимальное число микроприказов , вьщаваемых в одной микрокоманде.n - the maximum number of micro-orders executed in one microcommand.

Например, при п равном 3, 4,5 значение S равно соответственно 1,3,12. . В данном устройстве по сравнению с прототипом дл  построени  шифратора необходимо в два раза меньше дешифраторов . Соответственно сокращаетс  в два раза количество входов элементов ИЛИ и соответствующих св зей . Введение в микрокоманду бита управлени  направлением счета компенсируетс  сокращением на один разр д пол  номера строки в управл ющей части микрокоманды.For example, when n is equal to 3, 4.5, the value of S is respectively 1,3,12. . In this device, in comparison with the prototype, it is necessary to build an encoder in half the number of decoders. Accordingly, the number of inputs to the OR elements and the corresponding links is halved. The introduction of the counting direction control bit into a microcommand is compensated for by reducing by one bit the field number in the control part of the microcommand.

Таким образом, предложенное устройство имеет более простую конструкцию по сравнению с прототипом.Thus, the proposed device has a simpler design compared to the prototype.

99912129991212

1212

11eleven

10ten

юYu

10ten

(риг. Г(rig. G

{риг.2{rig.2

фиг.Зfig.Z

ФигЛFy

Claims (1)

МИКРОПРОГРАММНОЕ УСТРОЙСТВО УПРАВЛЕНИЯ, содержащее блок памяти (Микрокоманд, регистр адреса, регистр микрокоманд ' генератор тактовых импульсов, блок контроля условий, первый и второй счетчики и шифратор, содержащий входной дешифратор, η элементов ИЛИ (и=1,2,...) и (и-1)! /2 ч дешифраторов, причем первая группа входов блока контроля условий соединена с группой выходов кода адреса регистра микрокоманд, группа информационных входов которого соединена с первой группой информационных выходов блока памяти микрокоманд, группа адресных входов которого соединена с группой информационных выходов регистра адреса, группа информационных входов которого соединена с группой выходов блока контроля условий, вторая группа входов которого является группой входов кода логических условий устройства, группа выходов кода операции регистра микрокоманд является группой выходов кода опера- ций устройства, вход разрешения записи регистра микрокоманд соединен с входами разрешения записи первого и второго счетчиков и выходом заема второго счетчика,счетный вход которого соединен со, счетным входом первого Счетчика, входом синхронизации регистра микрокоманд, входом синхронизации регистра адреса и выходом генератора тактовых импульсов, вход установки в 0 р.егистра адреса является входом начальной установки устройства и соединен с входом установки в 0 второго счетчика, группа информационных входов которого соединена с второй группой информационных выходов блока памяти микрокоманд, третья группа информационных g выходов которого соединена с. группой информационных входов первого счетчика, группа информационных выводов которого соединена с входами (и -1)</2 дешифраторов, группа выходов кода управления регистра микрокоманд соединена с.группой входов входного дешифратора, выходы τ-го дешифратора (£=1,2,..., (и-1)1/2) соединены соответственно c i-ми входами η элементов ИЛИ, выходы которых являются управляющими выходами устройства, стробирующий вход г-го дешифратора соединен с г~м выходом входного дешифратора, отличающ е е с я тем, что, с целью упрощения устройства, выход бита управления формированием управляющих сигналов регистра микрокоманд соединен -\с входом управления направлением сче;та первого счетчика.FIRMWARE CONTROL DEVICE containing a memory unit (microcommands, address register, microcommand register 'clock generator, condition control unit, first and second counters and an encoder containing an input decoder, η OR elements (and = 1,2, ...) and (and-1)! / 2 h of decoders, the first group of inputs of the condition control unit connected to the group of outputs of the address code of the micro-register register, the group of information inputs of which connected to the first group of information outputs of the micro-command memory, group of address inputs of which connected to the group of information outputs of the address register, the group of information inputs of which is connected to the group of outputs of the condition control unit, the second group of inputs of which is the group of inputs of the code of the logical conditions of the device, the group of outputs of the operation code of the register of microcommands is the group of outputs of the operation code of the device, permission input the micro-register register is connected to the recording permission inputs of the first and second counters and the loan output of the second counter, the counting input of which is connected to the counting input the first Counter, the input of the register of micro registers, the input of the synchronization of the address register and the output of the clock pulse generator, the input to the 0 r. of the address register is the input of the initial installation of the device and is connected to the installation input to 0 of the second counter, the group of information inputs of which are connected to the second group of information the outputs of the memory block of microcommands, the third group of information g outputs of which are connected to. the group of information inputs of the first counter, the group of information outputs of which is connected to the inputs (and -1) </ 2 of the decoders, the group of outputs of the control code of the micro-register register is connected to the group of inputs of the input decoder, the outputs of the τth decoder (£ = 1,2 ,. .., (and-1) 1/2) are connected respectively with the ith inputs of η OR elements, the outputs of which are the control outputs of the device, the gating input of the ith decoder is connected to the ith output of the input decoder, which differs from the fact that, in order to simplify the device, the output of the control bit By adjusting the control signals of the micro-command register, it is connected - \ with the input for controlling the direction of counting; that of the first counter. 1911111 “D OS1911111 “ D OS
SU833603454A 1983-06-10 1983-06-10 Firmware control unit SU1111161A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU833603454A SU1111161A1 (en) 1983-06-10 1983-06-10 Firmware control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU833603454A SU1111161A1 (en) 1983-06-10 1983-06-10 Firmware control unit

Publications (1)

Publication Number Publication Date
SU1111161A1 true SU1111161A1 (en) 1984-08-30

Family

ID=21067763

Family Applications (1)

Application Number Title Priority Date Filing Date
SU833603454A SU1111161A1 (en) 1983-06-10 1983-06-10 Firmware control unit

Country Status (1)

Country Link
SU (1) SU1111161A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1. Авторское свидетельство СССР №949657, кл. G 06 F 9/22, 1982. 2 Авторское свидетельство СССР по за вке № 3502484/18-24, кл. G 06 F 9/22 (прототип). *

Similar Documents

Publication Publication Date Title
SU1111161A1 (en) Firmware control unit
US4637037A (en) Biphase signal receiver
SU1233155A1 (en) Microprogram control device with check
SU1136161A1 (en) Microprogram control unit
SU1124298A1 (en) Processor with firmware control
SU1430959A1 (en) Device for monitoring microprogram run
SU970367A1 (en) Microprogram control device
SU1137467A1 (en) Microprogram control device
SU1062702A1 (en) Firmware control unit
SU949657A1 (en) Microprogram control device
SU1226455A1 (en) Microprogram control device
SU1273939A1 (en) Microprocessor
SU1134935A1 (en) Firmware control unit
SU1029178A2 (en) Microprogrammed control device
SU1376084A1 (en) Microprogram control device
SU1188737A1 (en) Device for generating addresses
SU1247870A1 (en) Microprogram control device
SU920726A1 (en) Microprogramme-control device
SU1543407A1 (en) Device folr checking sequence of signal transmission
SU1260953A1 (en) Microprogram control device
SU1278846A1 (en) Microprogram control device
SU1290490A1 (en) Digital variable delay line
SU1363481A1 (en) Code converter
SU1322480A1 (en) Device for determining number of ones in binary number
SU802963A1 (en) Microprogramme-control device