SU1188742A1 - Microprogram control device - Google Patents

Microprogram control device Download PDF

Info

Publication number
SU1188742A1
SU1188742A1 SU833651472A SU3651472A SU1188742A1 SU 1188742 A1 SU1188742 A1 SU 1188742A1 SU 833651472 A SU833651472 A SU 833651472A SU 3651472 A SU3651472 A SU 3651472A SU 1188742 A1 SU1188742 A1 SU 1188742A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
trigger
register
address
Prior art date
Application number
SU833651472A
Other languages
Russian (ru)
Inventor
Юрий Соломонович Ицкович
Татьяна Ивановна Максименко
Инесса Николаевна Титова
Борис Захарович Фурман
Любовь Петровна Храмцова
Галина Игоревна Чудинова
Original Assignee
Предприятие П/Я Г-4152
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 Предприятие П/Я Г-4152 filed Critical Предприятие П/Я Г-4152
Priority to SU833651472A priority Critical patent/SU1188742A1/en
Application granted granted Critical
Publication of SU1188742A1 publication Critical patent/SU1188742A1/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

УСТРОЙСТВО ДЛЯ МИКРОПРОГРАММНОГО УПРАВЛЕНИЯ, содержащее дешифратор признака услойного перехода, первый и второй элементы И, счетчик адреса , коммутатор условий, блок пам ти микропрограмм , регистр микрокоманд, регистр возврата и дешифратор микрокоманд, причем выход счетчика адреса соединен с информационным входом регистра возврата, адресным входом блока пам ти микропрограмм , выход которого соединен с информационным входом регистра микрокоманд, управл ющим входом коммутатора условий, входом дешифратора признака условного перехода, первый и второй выходы дешифратора микрокоманд соединены соответственно с входом записи регистра возврата и выходом микроопераций устройства, вход задани  условий устройства соединен с информационным входом коммутатора условий, выход которого соединен с первым входом первого элемента И, выход дешифратора признака условного перехода соединен с вторым входом первого элемента И, инверсный выход которого соединен с первым входом второго элемента И, выход второго элемента И соединен со счетным входом счетчика адреса , отличающеес  тем, что, с целью повышени  быстродействи , в него введены блок задани  режимов коммутатор адреса, кольцевой регистр сдвига, блок сравнени , счетчик циклов, триггер начала отладки, триггер конца отладки, счетный триггер, элемент НЕ, четыре элемента ИЛИ и восемь элементов И, причем выходы начала и конца программы микропрограммы блока задани  режимов соединены соответственно с первым информационным входом коммутатора адреса и первым входом блока сравнени , выходы числа циклов, задани  режима отладки, начальной установки, пуска, задани  циклического режима, ограничени  циклов и тактовый выход блока задани  режимов соединены соответственно с информационным входом счетчика циклов первым входом третьего элемента И, первым входом первого элемента ИЛИ, входом записи счетчика циклов, первым входом четвертого элемента И, первым входом п того эле.мента И и первым входом шестого элемента И, i выходы задани  режима отладки, начальной установки, пуска циклического режима и так (Л товый выход блока задани  режимов соединены соответственно с первым входом седьмого элемента И, первым входом второго элемента ИЛИ, первым входом третьего элемента ИЛИ и входом синхронизации кольцевого регистра сдвига, выход седьмого элемента И соединен с вторым входом первого элемента ИЛИ, выход которого соединен с входом начальной установки кольцевого регистра сдвига, вторым входом шестоОС го элемента И нулевым входом триггера 00 конца отладки, единичным входом триггера начала отладки, входом установки нул  счет4;ib чика адреса и через элемент НЕ с входом установки нул  счетного триггера, первый, Ю второй, третий и четвертый выходы кольцевого регистра сдвига соединены соответственно с первым входом восьмого элемента И, первым входом дев того элемента И, первым входом дес того элемента И и нулевым входом триггера начала отладки, единичный выход которого соединен с вторым входом третьего элемента И, первый и второй выходы кольцевого распределител  импульсов соединены соответственно с входом записи регистра микрокоманд и с вторым входом второго элемента И, выход третьегоMICROPROGRAM CONTROL DEVICE containing a signaling transition code decoder, AND first and second elements, address counter, condition switch, microprogram memory block, microinstructions register, return register and microinstrumenter decoder, the output of the address counter being connected to the information input of the return register, address input of the microprogram memory unit, the output of which is connected to the information input of the microinstructions register, the control input of the condition switch, the decoder input of the conditional transfer flag The water, the first and second outputs of the micro-command decoder are connected respectively to the input of the return register entry and the device micro-operations output, the device condition-assignment input is connected to the information input of the conditions switch, the output of which is connected to the first input of the first element, And the decoder output of the conditional transition sign is connected to the second input The first element And, the inverse output of which is connected to the first input of the second element And, the output of the second element And connected to the counting input of the address counter, distinguishing This is because, in order to improve speed, a mode assignment switch, an annular shift register, a comparison block, a cycle counter, a debugging start trigger, a debugging end trigger, a counting trigger, a NOT element, four OR elements and eight AND elements are introduced into it , the outputs of the beginning and end of the microprogram program of the mode setting unit are connected respectively to the first information input of the address switch and the first input of the comparison unit, the outputs of the number of cycles, setting the debugging mode, initial setting, starting, The cyclic mode, cycle limits and clock output of the mode setting unit are connected respectively to the information input of the cycle counter by the first input of the third element AND, the first input of the first element OR, the recording input of the cycle counter, the first input of the fourth element AND, the first input of the fifth element AND and the first input of the sixth element, And, i, the outputs of setting the debug mode, initial setting, starting the cyclic mode, and so (The output of the block for setting the modes is connected respectively to the first input of the seventh element And, the first input of the second element OR, the first input of the third element OR, and the synchronization input of the ring shift register, the output of the seventh element AND is connected to the second input of the first OR element, the output of which is connected to the input of the initial installation of the ring shift register, the second input of the sixth OS element AND zero input of the 00 debugging end trigger, single trigger input of the start of debugging, input of the zero setting of account 4; ib address and through the element NOT with the zero setting input of the counting trigger, first, second, third and third the third outputs of the ring shift register are connected respectively to the first input of the eighth element And, the first input of the ninth element And, the first input of the tenth element And and the zero input of the start of debugging trigger, the unit output of which is connected to the second input of the third element And, the first and second outputs of the ring the pulse distributor is connected respectively to the input of the register of microinstructions and with the second input of the second element I, the output of the third

Description

элемента И соединен с управл ющим входом коммутатора адреса и первым входом четвертого элемента ИЛИ, второй вход которого соединен с пр мым выходом первого элемента И, выход четвертого элемента ИЛИ соединен с вторым входом дев того элемента И, выход которого соединен с входом записи счетчика адреса, второй выход дешифратора микрокоманд, выходы блока пам ти микропрограмм и регистра возврата соединены соответственно с вторым управл ющим входом, вторым и третьим информационными входами коммутатора адреса, информационный выход которого соединен с информационным входом счетчика адреса, информационный выход счетчика адреса соединен с вторым входом блока сравнени , выход которого соединен с вторым входом дес того элемента И, выход которого соединен с единичным входом триггера конца отладки, пр мой выход триггера конца отладки соединен с вторым входом восьмого элемента И, выход которого соединен с вторым входом второго элемента ИЛИ, выход которого соединен с единичным входом триггера конца отладки, пр мой выход которого соединен с вторым входом седьмого элемента И, выход шестого элемента И соединен с тактовым входом счетного триггера, пр мой выход которого соединен с вторым входом четвертого элемента И и счегным входом счетчика циклов, выход переполнени  которого соединен с вторым входом п того элемента И, выход которого соединен с инверсным входом четвертого элемента И, выход которого соединен с вторым входом третьего элемента ИЛИ, выход которого соединен с нулевым входом триггера конца отладки.element AND is connected to the control input of the address switch and the first input of the fourth OR element, the second input of which is connected to the forward output of the first AND element, the output of the fourth OR element is connected to the second input of the ninth AND element, the output of which is connected to the write input of the address counter, the second output of the microinstructor decoder, the outputs of the microprogram memory unit and the return register are connected respectively to the second control input, the second and third information inputs of the address switch, the information output of which It is connected to the information input of the address counter, the information output of the address counter is connected to the second input of the comparator unit, the output of which is connected to the second input of the tenth AND element, the output of which is connected to the single trigger input of the debug end, the direct output of the debug end trigger is connected to the second input the eighth And element, the output of which is connected to the second input of the second OR element, the output of which is connected to the single input of the flashing end of the debugger end, the direct output of which is connected to the second input of the seventh And element, the output of the sixth element And is connected to the clock input of the counting trigger, the direct output of which is connected to the second input of the fourth element And and the counting input of the cycle counter, the overflow output of which is connected to the second input of the fifth element And whose output is connected to the inverse input of the fourth element And the output of which is connected to the second input of the third OR element, the output of which is connected to the zero input of the trigger of the end of debugging.

1one

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано в специализированных процессорах .The invention relates to automation and computing and can be used in specialized processors.

Цель изобретени  - повышение быстродействи  путем исполнени  микропрограммы по част м с произвольным заданием адреса начала части микропрограммы, адреса конца части микропрограмм и количества циклов повторени  этой части.The purpose of the invention is to increase the speed by executing the firmware in parts with an arbitrary setting of the address of the beginning of the firmware part, the address of the end of the firmware part and the number of repetition cycles of this part.

На чертеже представлена структурна  схема устройства.The drawing shows a block diagram of the device.

Устройство содержит блок 1 задани  режимов , выполненный в виде набора тумблерных регистров и генераторов тактовых и одиночных импульсов, трехпозиционный многоразр дный коммутатор 2 адреса, счетчик 3 адреса, блок 4 пам ти микропрограмм , регистр 5 микрокоманд, дешифратор 6 микрокоманд, выход которого  вл етс  выходом устройства, регистр 7 возврата, дешифратор 8 признака условного перехода, многопозиционный одноразр дный коммутатор 9 условий, вход которого  вл етс  входом устройства, кольцевой сдвиговый регистр 10, блок 11 сравнени  , счетчик 12 циклов, триггер 13 начала отладки, триггер 14 конца отладки, триггер 15 останова отладки , счетный триггер 16, элементы И 17- 24 с двум  входами каждый, элемент И 25 с пр мым и инверсным выходом, элемент И 26 с двум  пр мыми и одним инверсным входом, элементы ИЛИ 27-30 и элемент НЕ 31.The device contains a mode setting unit 1, made in the form of a set of toggle registers and clock and single pulse generators, a three-position multi-bit switch 2 addresses, an address counter 3, a microprogram memory block 4, a micro-command register 5, a decoder 6 micro-instructions whose output is output device, return register 7, conditional branch decoder 8, multi-position single-bit condition switch 9, whose input is the device input, ring shift register 10, comparison block 11, count IR 12 cycles, debug start trigger 13, debug end trigger 14, debug stop trigger 15, counting trigger 16, AND 17-24 elements with two inputs each, AND 25 element with direct and inverse output, AND 26 element with two direct and one inverse input, the elements OR 27-30 and the element NOT 31.

Принцип действи  устройства заключаетс  в следующем.The principle of operation of the device is as follows.

В рабочем режиме на выходе режима отладки блока 1 задани  режимов формируетс  нулевой сигнал. В этом режиме при поступлении импульсного положительного сигнала с выхода начальной установки блока 1 этот сигнал через элемент 28 ИЛИ поступает на входы начальной установки счетчика 3 адреса и кольцевого сдвигового регистра 10, устанавлива  один из его разр дов в единичное состо ние,In the operating mode, a zero signal is generated at the output of the debugging mode of the mode setting unit 1. In this mode, upon receipt of a pulsed positive signal from the output of the initial installation of block 1, this signal through element 28 OR enters the inputs of the initial installation of the counter 3 of the address and the ring shift register 10, sets one of its bits to one.

в остальные - в нулевое. Воздействие этого сигнала на другие элементы устройства в указанном режиме не имеет существенного Значени . После окончани  сигнала начальной установки единичный сигнал передвигаетс  в кольцевом сдвиговом регистре 10 под воздействием импульсов, поступающих с тактового выхода блока 1 задани  режимов. При этом на четырех выходах регистра 10 формируетс  гребенка импульсов , сдвинутых друг относительно друга и образующих соответственно четыре рабочие фазы в пределах одного интервала повторени ,  вл ющегос  микротакто.м работы устройства.in the rest - in zero. The effect of this signal on other elements of the device in this mode is not significant. After the end of the initial setup signal, the single signal is moved in the ring shift register 10 under the influence of pulses from the clock output of the mode setting unit 1. At the same time, at four outputs of register 10, a comb of pulses is formed, shifted relative to each other and forming respectively four working phases within one repetition interval, which is a micro tactom of operation of the device.

В течение указанного микротакта происходит формирование очередной микрокоманды на выходе дешифратора 6 микрокоманд ,  вл ющегос  выходом устройства в целом, следующим образом.During this micro-tact, the next micro-command is formed at the output of the decoder of 6 micro-commands, which is the output of the device as a whole, as follows.

Содержимое счетчика 3 адреса поступает на вход блока 4 пам ти микропрограммы , с выхода которого код очереднойThe contents of the 3 address counter are fed to the input of the 4 microprogram memory, from the output of which the code

0 микрокоманды записываетс  в регистр 5 микрокоманд сигналом первой фазы кольцевого регистра 10. Сигнал регистра 5 микрокоманд поступает на дешифратор 6 микрокоманд , а с его выхода управл ющие сигналы поступают на выход устройства. Сигналом третьей фазы кольцевого регистра 10, проход щим через один из элементов И 17 или 18, измен етс  содержимое счетчика 3 адреса и на выходе блока 4 пам ти микропрограммы формируетс  код микрокоманды дл  следующего микротакта работы устройства. Формирование адреса в счетчике 3 дл  следующего микротакта зависит от типа микрокоманды, сформированной в текущем микротакте. В устройстве может быть сформировано два типа микрокоманд: проста  микрокоманда и условный переход, отличаю щиес  признаком условного перехода в коде микрокоманды. Если в текущем микротакте из блока 4 пам ти микропрограммы выбрана проста  микрокоманда, то на выходе дешифратора 8 признака условного перехода формируетс  нулевой сигнал, обусловливающий по вление единичного сигнала на ийверсном выходе элемента И 25, который разрешает прохождение через элемент И 17 сигнала третьей фазы кольцевого регистра 10 на счетный вход счетчика 3 адреса, в результате чего к содержимому счетчика прибавл етс  единица. В следующем микротакте устройство формирует микрокоманду, адрес которой отличаетс  на единицу от адреса текущей простой микрокоманды. Если в текущем микротакте из блока 4 пам ти микропрограммы выбрана команда условного перехода, то на выходе дещифратора 8 признака условного перехода формируетс  единичный сигнал, поступающий на элемент И 25. Одновременно на управл ющий вход коммутатора 9 поступает из блока 4 пам ти микропрограммы код номера услови . При этом коммутатор 9 пропускает на второй вход элемента И 25 сигнал одного из условий со своего входа, номер которого закодирован в микрокоманде . Если это условие выполнено, то на элемент И 25 поступает единичный сигнал услови , а на его выходе формируетс  единичный сигнал, который проходит через элемент ИЛИ 27 на элемент И 18, обеспечива  прохождение сигнала третьей фазы кольцевого регистра 10 на вход записи счетчика 3 адреса. При этом в счетчик 3 адреса записываетс  адрес, поступающий на его информационный вход из блока 4 пам ти микропрограммы через коммутатор 2, что и обеспечивает переход устройства в адрес микропрограммы, указанный в текущей микрокоманде условного перехода. В случае, если условие, провер емое в текущей микрокоманде , оказываетс  невыполненным, то к содержимому счетчика 3 прибавл етс  единица аналогично изложенному выше при простой команде. При переходе из основной микропрограммы к стандартной микроподпрограмме формируетс  команда фиксации адреса, по которой управл ющим сигналом третьего выхода дешифратора 6 в регистр 7 возврата записываетс  текущее значение адреса из счетчика 3. В следующем микротакте формируетс  команда условного перехода-и выполн етс  переход к стандартной микропрограмме , в конце которой выполн етс  переход к микрокоманде возврата. При исполнении микрокоманды возврата дешифратор 6 микрокоманд формирует сигнал на своем втором выходе, поступающий на управл ющий вход коммутатора 2 и перевод щий его в режим пропускани  сигнала от регистра 7 возврата. Затем выполн етс  безусловный переход по адресу, хран щемус  в регистре 7 возврата. После возврата в указанный адрес происходит формирование последующих микрокоманд до конца микропрограммы. В режиме отладки на выходе отладки блока 1 задани  режимов устанавливаетс  единичный сигнал. В этом режиме при поступлении импульсного положительного сигнала с выхода начальной установки блока 1 этот сигнал поступает через элемент ИЛИ 29 на вход триггера 15 и устанавливает его в единичное состо ние. Сигнал триггера 15 через элемент И 21 и элемент ИЛИ 28 поступает на вход начальной установки кольцевого сдвигового регистра 10 и удерживает его в исходном состо нии в течение любого времени по желанию оператора. При этом устройство не работает и находитс  в режиме ожидани  до формировани  единичного импульсного сигнала на выходе пуска блока 1. Одновременно сигнал начальной установки устанавливает в единичное состо ние триггер 13 начала микропрограммы , в нулевое состо ние триггер 14 конца микропрограммы. При этом выходной сигнал триггера 13 через открытый элемент 19 И поступает на коммутатор 2 и переключает его в режим пропускани  кода с выхода начала микропрограммы блока 1 задани  режимов. Кроме того, выходной сигнал триггера 13 через элементы И 19 и ИЛИ 27 поступает на элемент И 18, подготавлива  его к пропусканию сигнала на вход записи счетчика 3. При формировании единичного импульсного сигнала на выходе пуска блока 1 сигнал , поступа  на вход записи счетчика 12 циклов, записывает в него число циклов, поступающее с соответствующего выхода блока 1. Одновременно сигнал пуска через элемент ИЛИ 30 устанавливает триггер 16 в нулевое состо ние, что приводит в действие кольцевой сдвиговый регистр 10, который под воздействием тактового сигнала блока 1 начинает действовать аналогично изложенному выше. В первом микротакте сигналом первой фазы кольцевого регистра 10 в регистр 5 микрокоманд записываетс  пуста  микрокоманда из нулевой  чейки блока 4 пам ти микропрограммы, соответствующа  нулевому состо нию счетчика 3 адреса. Сигналом третьей фазы регистра 10 через элемент И 18 записываетс  в счетчик 3 адреса через коммутатор 2 адреса начала микропрограммы с соответствующего выхода блока 1 задани  режимов. Сигнал четвертой фазы кольцевого регистра 10сбрасывает триггер 13 начала микропрограммы в нулевое состо ние и переводит коммутатор 2 и элемент 27 ИЛИ в рабочий режим, обеспечива  замыкание цепей дл  выполнени  условных переходов устройством аналогично изложенному выше. Во втором и последующих микротактах устройство формирует микрокоманды анало гично рабочему режиму, изложенному выще, однако начина  с микрокоманды, установленной на выходе начала микропрограммы блока 1. При этом адрес исполн емой микрокоманды со счетчика 3 поступает на блок 11сравнени , на второй вход которого поступает конечный адрес микропрограммы, ус тановленный на соответствующем выходе блока 1 задани  режимов. Когда микропрограмма, формируема  устройством , достигает адреса, равного конечному адресу, на выходе блока 11 сравнени  формируетс  единичный сигнал, поступающий на элемент И 20. При этом сигнал второй фазы кольцевого регистра 10, в котором выполн етс  последн   микрокоманда, через элемент И 20 поступает на триггер 14 конца микропрограммы и устанавливает его в единичное состо ние. Выходной сигнал триггера 14 открывает элемент И 22. После выполнени  конечной микрокоманды в следующем микротакте сигнал первой фазы кольцевого регистра 10 проходит через элементы И 22 и ИЛИ 29 и устанавливает триггер 15 в единичное состо ние. Выходной сигнал триггера 15, проход  через элементы И 21 и ИЛИ 28 устанавливает устройство в исходное состо ние аналогично сигналу начальной установки блока 1. Если на выходе циклического режима блока 1 не установлен единичный сигнал, то чередование микрокоманд на выходе устройства на этом заканчиваетс , после чего работа устройства может быть повторена аналогично изложенному выше, однако с другими значени ми начала и конца микропрограммы , устанавливаемыми в блоке 1. Если на выходе циклического режима блока 1 установлен единичный сигнал, то после первого цикла исполнени  микропрограммы от начального до конечного адреса, как изложено выще, сигнал с выхода элемента ИЛИ 28 открывает элемент И 24, через который тактовый сигнал блока 1 поступает на счетный вход триггера 16 и переводит его в единичное состо ние. Выходной сигнал триггера 16 через элемент И 16 и элемент ИЛИ 30 сбрасывает триггер 15 в нулевое состо ние. После чего работа устройства повтор етс  от начального адреса до конечного аналогично изложенному выще циклу работы. Нулевой сигнал с выхода элемента ИЛИ 28 через инвертор 31 устанавливает счетный триггер 16 в нулевое состо ние. Таким образом, на выходе триггера 16 формируетс  в конце каждого цикла работы микропрограммы положительный импульс, поступающий, кроме элемента И 16, также на счетный вход счетчика 12 циклов, который работает в режиме обратного счета и после каждого цикла уменьшает свое содержимое на единицу. Повторение циклов формировани  отлаживаемой части микропрограммы от начального адреса до конечного происходит до тех пор, пока содержимое счетчика 12 не достигнет нул . В этом случае сигнал с его выхода поступает на элемент И 23 и при наличии единичного сигнала на выходе ограничени  циклов блока 1 проходит через элемент И 23 и запрещает прохождение сигналов через элемент И 23 и запрещает прохождение сигналов через элемент И 26, встедствие чего новый цикл не начинаетс  и работа устройства заканчиваетс . Далее работа устройства может быть повторена с другими значени ми адресов микропрограммы и числа циклов, установленных на выходах блока 1, аналогично изложенному выше. Если на выходе ограничени  циклов блока 1 установлен нулевой сигнал, то сигнал с выхода счетчика 12 циклов никогда не пройдет через элемент И 23, вследствие чего циклы повторени  отлаживаемой части микропрограммы выполн ютс  беспредельно.The 0 microcommands are recorded into the register of 5 microcommands by the signal of the first phase of the ring register 10. The signal of the register 5 microcommands is sent to the decoder of 6 microcommands, and from its output the control signals are output to the device. The signal of the third phase of the ring register 10 passing through one of the elements 17 or 18 changes the contents of the counter 3 of the address and at the output of the microprogram memory block 4 a micro-command code is generated for the next micro-work of the device. The formation of the address in the counter 3 for the next micro-tact depends on the type of micro-command formed in the current micro-tact. Two types of micro-commands can be formed in the device: a simple micro-command and a conditional transition, distinguished by a sign of a conditional transition in the micro-command code. If a simple microinstruction is selected from the microprogram memory block 4 in the current microcode, then a zero signal is generated at the output of the decoder 8 of the conditional transition sign, which causes the appearance of a single signal at the output output of the And 25 element, which permits the ring register to pass through the And 17 element of the third signal 10 to the counting input of the address counter 3, with the result that one is added to the contents of the counter. In the next micro-tact, the device forms a micro-command whose address differs by one from the address of the current simple micro-command. If a conditional branch command is selected from the microprogram memory block 4 in the current microcode, then a single signal is output to the output of the decider 8 of the conditional branch sign for the element 25. At the same time, the control input of the switch 9 is received from the microprogram memory block 4 . In this case, the switch 9 transmits to the second input of the element I 25 a signal of one of the conditions from its own input, the number of which is encoded in the micro-command. If this condition is fulfilled, a single condition signal arrives at the AND 25 element, and a single signal is generated at its output that passes through the OR element 27 at the AND 18 element, ensuring the third phase signal of the ring register 10 passes to the input of the counter 3 address. At the same time, the address is recorded in the address 3, which arrives at its information input from the microprogram memory block 4 via the switch 2, which ensures the device to go to the microprogram address specified in the current microcommand of the conditional transition. In case the condition checked in the current microcommand is unfulfilled, then one is added to the contents of counter 3 in the same way as described above with a simple command. During the transition from the main firmware to the standard micro subprogram, an address latching command is formed, using which the control signal of the third output of the decoder 6 records the current address value from the counter 3 to the return register 7. In the next micro tact, a conditional branch command is generated; at the end of which a transition is made to the return micro-command. When executing a return micro-command, the decoder 6 micro-commands generate a signal at its second output, which arrives at the control input of switch 2 and places it in the mode of passing the signal from the return register 7. An unconditional jump to the address stored in return register 7 is then performed. After returning to the specified address, follow-up micro-instructions are formed until the end of the microprogram. In the debugging mode, a single signal is set at the debug output of the mode setting unit 1. In this mode, upon receipt of a pulsed positive signal from the output of the initial installation of block 1, this signal goes through the OR element 29 to the input of the trigger 15 and sets it to one state. The trigger signal 15 through the element And 21 and the element OR 28 is fed to the input of the initial installation of the ring shift register 10 and holds it in the initial state for any time as desired by the operator. At the same time, the device does not work and is in standby mode until a single pulse signal is generated at the start output of unit 1. At the same time, the initial setup signal sets the microprogram start trigger 13 to one, the microprogram end trigger 14 to the zero state. At the same time, the output signal of the trigger 13 through the open element 19 And enters the switch 2 and switches it to the mode of passing the code from the output of the beginning of the firmware of the mode setting unit 1. In addition, the output signal of the trigger 13 through the elements AND 19 and OR 27 enters the element And 18, preparing it to pass the signal to the input of the record of the counter 3. When forming a single pulse signal at the output of the start of the unit 1 signal, it enters the input of the record of the counter 12 cycles , writes into it the number of cycles coming from the corresponding output of block 1. At the same time, the start signal through the element OR 30 sets the trigger 16 to the zero state, which activates the ring shift register 10, which is affected by the clock Nala unit 1 begins to operate similarly to the above. In the first micro-cycle, the signal of the first phase of the ring register 10 registers in the micro-command register 5 an empty micro-command from the zero cell of the microprogram memory block 4 corresponding to the zero state of the address counter 3. The third phase signal of register 10 through the element And 18 is recorded in the counter 3 addresses through the switch 2 of the address of the beginning of the firmware from the corresponding output of the mode setting unit 1. The fourth phase signal of the ring register 10c resets the microprogram start trigger 13 to the zero state and switches the switch 2 and OR element 27 to the operating mode, ensuring the circuit is closed to perform conditional transitions by the device as described above. In the second and subsequent micro-tacts, the device forms micro-commands similar to the operating mode described above, however, starting with the micro-command set at the output of the microprogram beginning of unit 1. The address of the executable micro-command from counter 3 goes to the comparison unit 11, the second input of which is the end address microprograms installed at the corresponding output of the mode setting unit 1. When the firmware generated by the device reaches an address equal to the end address, a single signal is output at the output of the comparator unit 11, arriving at the AND 20 element. At the same time, the signal of the second phase of the ring register 10, in which the last microcommand is executed, through the AND 20 element enters the trigger 14 of the end of the firmware and sets it to one. The output signal of the trigger 14 opens the element AND 22. After the final microcommand has been executed in the next micro-tact, the signal of the first phase of the ring register 10 passes through the elements AND 22 and OR 29 and sets the trigger 15 to the one state. The output signal of the trigger 15, the passage through the elements AND 21 and OR 28 sets the device to the initial state similarly to the initial installation signal of block 1. If a single signal is not set at the output of the cyclic mode of block 1, the microcommands at the output of the device end at this point, after which operation of the device can be repeated as described above, however, with other values of the beginning and end of the microprogram set in block 1. If the output of the cyclic mode of block 1 is set to a single signal, then after the first cycle of the firmware execution from the initial to the final address, as outlined above, the signal from the output of the element OR 28 opens the element AND 24, through which the clock signal of unit 1 enters the counting input of the trigger 16 and puts it into the unit state. The output signal of the trigger 16 through the element AND 16 and the element OR 30 resets the trigger 15 to the zero state. After that, the operation of the device is repeated from the start address to the end address in a manner similar to that described above. The zero signal from the output of the element OR 28 through the inverter 31 sets the counting trigger 16 to the zero state. Thus, at the output of the trigger 16, a positive impulse is generated at the end of each microprogram operation cycle, which, besides the AND 16 element, also enters the counting input of the 12 cycle counter, which operates in the countdown mode and after each cycle decreases its content by one. The repetition of the formation cycles of the debugged part of the firmware from the starting address to the final address occurs until the contents of the counter 12 reaches zero. In this case, the signal from its output goes to the AND 23 element and, in the presence of a single signal at the output of the restriction of cycles of block 1, passes through the AND 23 element and prohibits the passage of signals through the AND 23 element and prohibits the passage of signals through the AND 26 element, resulting in a new cycle not starts and the device ends. Further, the operation of the device can be repeated with other values of the microprogram addresses and the number of cycles installed at the outputs of block 1, similarly to the above. If the output of the limiting cycles of block 1 is set to zero, the signal from the output of the counter 12 cycles will never pass through the element 23, as a result of which the repetition cycles of the debugged part of the microprogram are executed infinitely.

Claims (1)

УСТРОЙСТВО ДЛЯ МИКРОПРОГРАММНОГО УПРАВЛЕНИЯ, содержащее дешифратор признака условного перехода, первый и второй элементы И, счетчик адреса, коммутатор условий, блок памяти микропрограмм, регистр микрокоманд, регистр возврата и дешифратор микрокоманд, причем выход счетчика адреса соединен с информационным входом регистра возврата, адресным входом блока памяти микропрограмм, выход которого соединен с информационным входом регистра микрокоманд, управляющим входом коммутатора условий, входом дешифратора признака условного перехода, первый и второй выходы дешифратора микрокоманд соединены соответственно с входом записи регистра возврата и выходом микроопераций устройства, вход задания условий устройства соединен с информационным входом коммутатора условий, выход которого соединен с первым входом первого элемента И, выход дешифратора признака условного перехода соединен с вторым входом первого элемента И, инверсный выход которого соединен с первым входом второго элемента И, выход второго элемента И соединен со счетным входом счетчика адреса, отличающееся тем, что, с целью повышения быстродействия, в него введены блок задания режимов коммутатор адреса, кольцевой регистр сдвига, блок сравнения, счетчик циклов, триггер начала отладки, триггер конца отладки, счетный триггер, элемент A microprogram control device comprising a conditional transition decoder, first and second AND elements, an address counter, a condition switch, a microprogram memory block, a micro-register, a micro-register, a micro-register and a micro-instruction decoder, the output of the address counter being connected to the information of the return register, the address input of the block firmware memory, the output of which is connected to the information input of the micro-command register, the control input of the condition switch, the input of the decoder of the conditional transition sign, the second and second outputs of the micro command decoder are connected respectively to the input of the return register record and the output of the device microoperations, the input of the device conditions setting is connected to the information input of the condition switch, the output of which is connected to the first input of the first element AND, the output of the conditional sign decoder is connected to the second input of the first element And, whose inverse output is connected to the first input of the second element And, the output of the second element And is connected to the counting input of the address counter, characterized in that, with In order to improve performance, it introduced the mode setting block address switch, ring shift register, comparison block, cycle counter, debug start trigger, end debug trigger, counted trigger, element НЕ, четыре элемента ИЛИ и восемь элементов И, причем выходы начала и конца программы микропрограммы блока задания режимов соединены соответственно с первым информационным входом коммутатора адреса и первым входом блока сравнения, выходы числа циклов, задания режима отладки, начальной установки, пуска, задания циклического режима, ограничения циклов и тактовый выход блока задания режимов соединены соответственно с информационным входом счетчика циклов первым входом третьего элемента И, первым входом первого элемента ИЛИ, входом записи счетчика циклов, первым входом четвертого элемента И, первым входом пятого элемента И и первым входом шестого элемента И, выходы задания режима отладки, начальной установки, пуска циклического режима и тактовый выход блока задания режимов соединены соответственно с первым входом седьмого элемента И, первым входом второго элемента ИЛИ, первым входом третьего элемента ИЛИ и входом синхронизации кольцевого регистра сдвига, выход седьмого элемента И соединен с вторым входом первого элемента ИЛИ, выход которого соединен с входом начальной установки кольцевого регистра сдвига, вторым входом шестого элемента И нулевым входом триггера конца отладки, единичным входом триггера начала отладки, входом установки нуля счетчика адреса и через элемент НЕ с входом установки нуля счетного триггера, первый, второй, третий и четвертый выходы кольцевого регистра сдвига соединены соответственно с первым входом восьмого элемента И, первым входом девятого элемента И, первым входом десятого элемента И и нулевым входом триггера начала отладки, единичный выход которого соединен с вторым входом третьего элемента И, первый и второй выходы кольцевого распределителя импульсов соединены соответственно с входом записи регистра микрокоманд и с вторым входом второго элемента И, выход третьего элемента И соединен с управляющим входом коммутатора адреса и первым входом четвертого элемента ИЛИ, второй вход которого соединен с прямым выходом первого элемента И, выход четвертого элемента ИЛИ соединен с вторым входом девятого элемента И, выход которого соединен с входом записи счетчика адреса, второй выход дешифратора микрокоманд, выходы блока памяти микропрограмм и регистра возврата соединены соответственно с вторым управляющим входом, вторым и третьим информационными входами коммутатора адреса, информационный выход которого соединен с информационным входом счетчика адреса, информационный выход счетчика адреса соединен с вторым входом блока сравнения, выход которого соединен с вторым входом десятого элемента И, выход которого соеди нен с единичным входом триггера конца отладки, прямой выход триггера конца отладки соединен с вторым входом восьмого элемента И, выход которого соединен с вторым входом второго элемента ИЛИ, выход которого соединен с единичным входом триггера конца отладки, прямой выход которого соединен с вторым входом седьмого элемента И, выход шестого элемента И соединен с тактовым входом счетного триггера, прямой выход которого соединен с вторым входом четвертого элемента И и счетным входом счетчика циклов, выход переполнения которого соединен с вторым входом пятого элемента И, выход которого соединен с инверсным входом четвертого элемента И, выход которого соединен с вторым входом третьего элемента ИЛИ, выход которого соединен с нулевым входом триггера конца отладки.NOT, four OR elements and eight AND elements, and the outputs of the beginning and end of the firmware of the mode setting unit are connected respectively to the first information input of the address switch and the first input of the comparison unit, the outputs of the number of cycles, setting the debug mode, initial setting, start-up, setting the cyclic mode , cycle limits and clock output of the mode setting block are connected respectively to the information input of the cycle counter by the first input of the third AND element, the first input of the first OR element, the recording input cycle counter, the first input of the fourth element And, the first input of the fifth element And and the first input of the sixth element And, the outputs of the job mode debugging, initial installation, start-up cyclic mode and the clock output of the unit mode settings are connected respectively to the first input of the seventh element And, the first input of the second OR element, the first input of the third OR element and the synchronization input of the circular shift register, the output of the seventh element And is connected to the second input of the first OR element, the output of which is connected to the input of the initial settings of the ring shift register, the second input of the sixth element And the zero input of the trigger for debugging end, the single input of the trigger for debugging start, the input for setting the address counter zero and through the element NOT with the input for setting the counting trigger zero, the first, second, third and fourth outputs of the ring shift register are connected respectively, with the first input of the eighth AND element, the first input of the ninth AND element, the first input of the tenth AND element and the zero input of the start debug trigger, the single output of which is connected to the second input of the third element And, the first and second outputs of the ring pulse distributor are connected respectively to the input of the micro-register register entry and to the second input of the second element And, the output of the third element And is connected to the control input of the address switch and the first input of the fourth OR element, the second input of which is connected to the direct output of the first AND element, the output of the fourth OR element is connected to the second input of the ninth AND element, the output of which is connected to the recording counter input address, the second output of the micro command decoder, output The microprogramme memory block and the return register are connected respectively to the second control input, the second and third information inputs of the address switch, the information output of which is connected to the information input of the address counter, the information output of the address counter is connected to the second input of the comparison unit, the output of which is connected to the second input of the tenth element And, the output of which is connected to a single input of the trigger of the end of debugging, the direct output of the trigger of the end of debugging is connected to the second input of the eighth element of And, exit which is connected to the second input of the second OR element, the output of which is connected to a single input of the end debug trigger, the direct output of which is connected to the second input of the seventh AND element, the output of the sixth element And is connected to the clock input of the counting trigger, whose direct output is connected to the second input of the fourth element And and the counting input of the loop counter, the overflow output of which is connected to the second input of the fifth element And, the output of which is connected to the inverse input of the fourth element And, the output of which is connected to the second input ohm of the third OR element, the output of which is connected to the zero input of the trigger for the end of debugging.
SU833651472A 1983-10-10 1983-10-10 Microprogram control device SU1188742A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU833651472A SU1188742A1 (en) 1983-10-10 1983-10-10 Microprogram control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU833651472A SU1188742A1 (en) 1983-10-10 1983-10-10 Microprogram control device

Publications (1)

Publication Number Publication Date
SU1188742A1 true SU1188742A1 (en) 1985-10-30

Family

ID=21085120

Family Applications (1)

Application Number Title Priority Date Filing Date
SU833651472A SU1188742A1 (en) 1983-10-10 1983-10-10 Microprogram control device

Country Status (1)

Country Link
SU (1) SU1188742A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Папернов А. А. Логические основы цифровой вычислительной техники. М.: Сов. радио, 1972, с. 295-300. Авторское свидетельство СССР № 1019450, кл. G 06 F 9/22, 1982. *

Similar Documents

Publication Publication Date Title
US3764992A (en) Program-variable clock pulse generator
SU1188742A1 (en) Microprogram control device
SU1410038A1 (en) Program debugging device
SU1290318A1 (en) Control device
SU980098A1 (en) Microprogramme processor
SU645453A1 (en) Multiprogramme control device
SU1495789A1 (en) Microprogram control unit
SU1168945A1 (en) Device for interrupting programs
SU763900A1 (en) Program debugging device
SU1365082A1 (en) Multiprogram self-monitoring control device
SU488200A1 (en) Binary sequence generator
SU1020826A1 (en) Microprogram control device
SU467350A1 (en) Firmware Control
SU987623A1 (en) Microprogramme control device
SU1524049A1 (en) Microprogram composition device
RU1786486C (en) Microprogram control unit
SU940159A1 (en) Self-checking microprogramme control device
SU1273939A1 (en) Microprocessor
SU1332318A1 (en) Multistep microprogramming control device
SU1522203A1 (en) Microprogram control device
SU802963A1 (en) Microprogramme-control device
SU423115A1 (en) PULSE DISTRIBUTOR
SU1176346A1 (en) Device for determining intersection of sets
SU1517031A1 (en) Processor to online memory interface
SU943730A1 (en) Microprogram control device