SU1304023A1 - Microprogram control device - Google Patents
Microprogram control device Download PDFInfo
- Publication number
- SU1304023A1 SU1304023A1 SU853978082A SU3978082A SU1304023A1 SU 1304023 A1 SU1304023 A1 SU 1304023A1 SU 853978082 A SU853978082 A SU 853978082A SU 3978082 A SU3978082 A SU 3978082A SU 1304023 A1 SU1304023 A1 SU 1304023A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- trigger
- group
- counter
- Prior art date
Links
Abstract
Нзобретение относитс к вычис- ительной технике и может быть использовано в микропрограммных автоматах и контроллерах, в частности в устройствах сопр жени вычислительных комплексов. Целью изобретени вл етс сокращение объема оборудовани устройства путем уменьшени объема используемой пам ти микрокоманд. С этой целью в устройство, содержащее блок 1 пам ти микрокоманд, счетчик 2, два элемента 5, 9 задержки, элемент И 3 и группу 7,,,-7 дешифраторов, введены триггер 12 управлени режимом, сумматор 13 по модулю два, триггер ошибки 14 и группа элементов И. 1 ил. а S СО 4 О to О5The invention relates to computing technology and can be used in microprogram automata and controllers, in particular, in interface devices of computer complexes. The aim of the invention is to reduce the amount of equipment of the device by reducing the amount of used memory of micro-instructions. For this purpose, a device containing block 1 of the microinstructions memory, counter 2, two delay elements 5, 9, element 3 and group 7 ,,, 7 decoders, mode control trigger 12, modulo 13 adder, error trigger are entered 14 and the group of elements I. 1 Il. and S CO 4 About to O5
Description
1one
Изобретение относитс к вычислительной технике .и может быть использовано в микропрограммных автоматах и контроллерах, в частности в устройствах сопр жени вычислительных комплексов.The invention relates to computing technology. And it can be used in microprogram machines and controllers, in particular in interface devices of computer complexes.
Целью изобретени вл етс сокращение объема оборудовани путем уменьшени объема используемой пам ти микрокоманд.The aim of the invention is to reduce the amount of equipment by reducing the amount of used memory of micro-instructions.
На чертеже представлена функциональна схема предлагаемого устройства .The drawing shows a functional diagram of the device.
Микропрограммное устройство управлени содержит блок 1 пам ти микрокоманд , счетчик 2, элементИ 3 и имеет вход 4 синхронизации, первьй элемент 5 задержки, вход 6 сброса, дешифраторы (, вход 8 кода команды, второй элемент 9 задержки, группу 10 опера- ционных выходов, группу 11J-11 элементов И, триггер 12 управлени режимом , сумматор 13 по модулю два, триггер 14 ошибки, выход 15 сигналаThe firmware control unit contains a block of 1 microinstructor memory, a counter 2, an element 3, and has a synchronization input 4, a first delay element 5, a reset input 6, decoders (, an instruction code input 8, a second delay element 9, a group of 10 operational outputs, group 11J-11 elements And, the trigger 12 of the control mode, the adder 13 modulo two, the trigger 14 error, the output 15 of the signal
.ошибки.. mistakes.
Устройство работает следующим образом.The device works as follows.
Исходное состо ние счетчика 2 (нулевое), триггера 12 управлени режимом (единичное) и триггера 14 ошибки (единичное) устанавливаетс при подаче на вход 6 устройства импульса сброса. Информаци с входа 8, характеризующа режим 1заботы устройства , через группу 11-11 элементов И поступает на третий адресный вход блока 1 пам ти, при этом на второй вхок блока 1 поступает информаци с входа 8, характеризующа услови переходов, и на третий адресньш вход поступает информаци о состо нии счетчика 2. Информаци о состо нии счетчика 2 поступает на информационные входы дешифраторов 7, -7. В за1304023The initial state of the counter 2 (zero), the mode control trigger 12 (single), and the error trigger 14 (single) is set when a reset pulse is applied to the input 6 of the device. The information from input 8, which characterizes the device 1 operation mode, goes through a group of 11-11 elements And to the third address input of memory 1, while the second input of block 1 receives information from input 8, which characterizes the transition conditions, and to the third input it enters information about the state of the counter 2. Information about the state of the counter 2 arrives at the information inputs of the decoders 7, -7. In the 1304023
fOfO
00
выхода блока 1 пам ти сигнала разрешени прохождени синхроимпульса и единичного состо ни триггера 14 синхроимпульс с входа 4 устройства поступает на.выход элемента И 3. Этот синхроимпульс стробирует выбранный дешифратор И-, поступа через элемент 9 на счетный вход счетчика 2, переводит последний в следующее состо ние. Двоичное число, (боответствующее этому состо нию,, поступает на первый адресный вход блока 1, при этом состо ние последнего.в зависимости от алгоритма работы устройства может оставатьс прежним, а может и измен тьс .the output of the block 1 of the memory of the signal of the passage of the sync pulse and the single state of the trigger 14 the sync pulse from the input 4 of the device enters the output of the element I 3. This sync pulse gates the selected decoder I-, acting through element 9 on the counting input of the counter 2, translates the latter into the next condition. The binary number, (corresponding to this state, is fed to the first address input of block 1, while the state of the latter, depending on the algorithm of the device operation, may remain the same or may change.
В первом случае счетный импульс, задержива сь элементом 5 и поступа н вход записи счетчика 2, записывает в него прежнее значение двоичного числа, после чего формируетс следующа микрокоманда. Во втором случае аналогичным образом происходит запись новог двоичного числа в счетчик 2. Таким образом, осуществл - 25 етс безусловньш переход в новый микротакт и формируетс соответствующа ему микрокоманда.In the first case, the counting pulse, delayed by element 5 and arriving at the input of the record of counter 2, writes the previous value of the binary number into it, after which the next microinstruction is formed. In the second case, in the same way, a new binary number is recorded in counter 2. Thus, an unconditional transition to a new micro-tact is performed and the corresponding micro-command is formed.
При наличии сигнала запрета прохождени синхроимпульса, поступающего с выхода блока 1, синхроимпульсы не проход т на счетный вход счетчика 2 и данный такт сохран етс по необходимости долго. При поступлении на вход 8 кода условий переходов измен етс значение числа на выходе блока 1. Это новое значение числа записываетс в счетчик 2 и формируетс , нова микрокоманда на выходе выбранного дешифратора 7. Таким образом, осуществл етс условный переход в требуемый микротакт, в котором в зависимости от алгоритма работы воз р можно ожидание нового услови , и тогда в блоке 1 должен быть зашит ло30If there is a signal to prohibit the passage of a clock pulse coming from the output of block 1, the clock pulses do not pass to the counting input of counter 2 and this clock cycle is kept as needed for a long time. When the transition condition code arrives at input 8, the value of the number at output of block 1 changes. This new value of the number is recorded in counter 2 and a new micro-command is formed at the output of the selected decoder 7. Thus, a conditional transition is made to the required microstate, in which Depending on the algorithm of operation, the expectation of a new condition is possible, and then in block 1 it should be sewn 30
3535
4040
висимости от режима работы устройст- гический О, который запрещает прова происходит выборка того или иного дешифратора 7, при этом на одном из выходов дешифратора, например на первом выходеi формируетс К-раз- р дна микрокоманда однословного формата, соответствующа первому микротакту.Depending on the mode of operation, the device O, which prohibits dip, selects one or another decoder 7, while at one of the outputs of the decoder, for example, the first output i forms a K-bit of a single-word format command corresponding to the first micro-tact.
В первом микротакте (как и. в последующих ) в зависимости от алгоритма функционировани устройства на первый ВХОД элемента И 3 поступает информаци о запрете или разрешении прохождени синхроимпульса, записанна в блоке 1 пам ти. При наличии сIn the first microtack (as well as in the subsequent ones), depending on the algorithm of the device operation, the first INPUT of the element I 3 receives information about the prohibition or resolution of the passage of the clock pulse recorded in memory block 1. In the presence of
хождение синхроимпульсов на счетный вход счетчика 2, если же в блоке 1 зашита логическа 1, то разрешено прохождение синхроимпульсов. Приthe clock pulses are sent to the counting input of the counter 2, but if in block 1 the logic 1 is sewn, then the passage of the clock pulses is allowed. With
CQ наличии у микропрограмм работы устройства в разньЬс режимах общих частей (подпрограмм) последние записываютс в вьщеленную область пам ти один раз, а не дублируютс при записи каждойCQs, when the firmware of the device operates in different modes of common parts (subroutines), are recorded in the allocated memory area once, and are not duplicated during the recording of each
ее мик1зопрограммы.its microprograms.
В первом микротактс. (как и в последующих ) в зависимости от алгоритма функционировани устройства на информационный вход триггера 12 поступаетIn the first mikrotaks. (as well as in the subsequent ones), depending on the algorithm of the device functioning, the information input of the trigger 12 enters
13040231304023
00
выхода блока 1 пам ти сигнала разрешени прохождени синхроимпульса и единичного состо ни триггера 14 синхроимпульс с входа 4 устройства поступает на.выход элемента И 3. Этот синхроимпульс стробирует выбранный дешифратор И-, поступа через элемент 9 на счетный вход счетчика 2, переводит последний в следующее состо ние. Двоичное число, (боответствующее этому состо нию,, поступает на первый адресный вход блока 1, при этом состо ние последнего.в зависимости от алгоритма работы устройства может оставатьс прежним, а может и измен тьс .the output of the block 1 of the memory of the signal of the passage of the sync pulse and the single state of the trigger 14 the sync pulse from the input 4 of the device enters the output of the element I 3. This sync pulse gates the selected decoder I-, acting through element 9 on the counting input of the counter 2, translates the latter into the next condition. The binary number, (corresponding to this state, is fed to the first address input of block 1, while the state of the latter, depending on the algorithm of the device operation, may remain the same or may change.
В первом случае счетный импульс, задержива сь элементом 5 и поступа н вход записи счетчика 2, записывает в него прежнее значение двоичного числа, после чего формируетс следующа микрокоманда. Во втором случае аналогичным образом происходит запись новог двоичного числа в счетчик 2. Таким образом, осуществл - 5 етс безусловньш переход в новый микротакт и формируетс соответствующа ему микрокоманда.In the first case, the counting pulse, delayed by element 5 and arriving at the input of the record of counter 2, writes the previous value of the binary number into it, after which the next microinstruction is formed. In the second case, in the same way, a new binary number is recorded in counter 2. Thus, an unconditional transition to a new micro-tact is performed and the corresponding micro-command is formed.
При наличии сигнала запрета прохождени синхроимпульса, поступающего с выхода блока 1, синхроимпульсы не проход т на счетный вход счетчика 2 и данный такт сохран етс по необходимости долго. При поступлении на вход 8 кода условий переходов измен етс значение числа на выходе блока 1. Это новое значение числа записываетс в счетчик 2 и формируетс , нова микрокоманда на выходе выбранного дешифратора 7. Таким образом, осуществл етс условный переход в требуемый микротакт, в котором в зависимости от алгоритма работы воз р можно ожидание нового услови , и тогда в блоке 1 должен быть зашит ло0If there is a signal to prohibit the passage of a clock pulse coming from the output of block 1, the clock pulses do not pass to the counting input of counter 2 and this clock cycle is kept as needed for a long time. When the transition condition code arrives at input 8, the value of the number at output of block 1 changes. This new value of the number is recorded in counter 2 and a new micro-command is formed at the output of the selected decoder 7. Thus, a conditional transition is made to the required microstate in which Depending on the algorithm of operation, the expectation of a new condition is possible, and then in block 1 it should be sewn up
5five
00
гический О, который запрещает прохождение синхроимпульсов на счетный вход счетчика 2, если же в блоке 1 зашита логическа 1, то разрешено прохождение синхроимпульсов. ПриO, which prohibits the passage of sync pulses to the counting input of counter 2, if in block 1 the logic 1 is sewn up, then the passage of sync pulses is allowed. With
наличии у микропрограмм работы устройства в разньЬс режимах общих частей (подпрограмм) последние записываютс в вьщеленную область пам ти один раз, а не дублируютс при записи каждойwhether the firmware of the device operates in different modes of common parts (subroutines) of the latter are recorded in the allocated memory area once, and are not duplicated during the recording of each
мик1зопрограммы.microprogrammes.
В первом микротактс. (как и в последующих ) в зависимости от алгоритма функционировани устройства на информационный вход триггера 12 поступаетIn the first mikrotaks. (as well as in the subsequent ones), depending on the algorithm of the device functioning, the information input of the trigger 12 enters
информаци , записанна в блоке 1, о том, что данный микротакт относитс к общей части микропрограмм работы устройства и вл етс индивидуальным дл данного режима работы. Дл индивидуальных микротактов в блоке 1 должна быть зашита логическа 1, а дл общих микротактов должен быть зашит логический О. Переход от индивидуальных участков микропрограмм к общим (подпрограммам) и обратный переход осуществл етс с помощью описанных операций условного иthe information recorded in block 1, that this micro-tact is related to the general part of the device’s firmware and is individual for this mode of operation. For individual micro-tacts in block 1, logical 1 must be sewn up, and for general micro-tacts logical O must be sewn. Transition from individual sections of microprograms to common (sub-programs) and the reverse transition is carried out using the described conditional and
При записи микропрограмм в блок 1 могут оставатьс свободные области, обращение к которым вл етс сбоем вWhen writing firmware to block 1, there may be free areas, access to which is a failure in
безусловного переходов.unconditional conversions.
При переходе к общему участку мик-)5 работе устройства. Считываема ин- ропрограммы (подпрограмм) на информа- формаци из блока 1 поступает на вход ционный вход триггера 12 поступает сумматора 13, где группа из (п-1)In the transition to a common site mik-) 5 operation of the device. Readable routines (subroutines) for information from block 1 are fed to the input input of trigger 12, and adder 13 is received, where the group from (n-1)
ОABOUT
значение логического и , котороеvalue of logical and which
в последнем микротакте инди зашитоin the last microtape indie sewn up
выходных кодов блока 1 складываетс по модулю два с кодом на его п-мoutput codes of block 1 are added modulo two with the code on its n
видуального участка микропрограмм. По20 выходе.of the microprogram section. P20 out.
синхроимпульсу, поступающему с элемента 5, триггер 12 переходит в нулевое состо ние и в счетчик 2 записываетс новое значение, соответствующее первой микрокоманде подпрограммы.25 тупающему с выхода элемента 5, запи- Нулевое значение сигнала с выхода сываетс в триггер 14. Единичноеthe sync pulse arriving from element 5, trigger 12 goes to the zero state, and counter 2 records the new value corresponding to the first microcommand of the subroutine.25 stupid from the output of element 5, recording the zero value of the signal from the output to trigger 14. Single
Таким образом, при правильной работе устройства на выходе сумматора 13 формируетс уровень логической 1, который по синхроимпульсу, пос-Thus, with the correct operation of the device, a logic level 1 is formed at the output of the adder 13, which, according to the sync pulse,
триггера 12 поступает на первые входы группы ,( элементов И, с выходов которых нулевое значение адреса поступает на третий адресный вход бло- 30 ка 1, т.е. осуществл етс переход в вьщеленную (нулевую) область блока 1, гдеtrigger 12 goes to the first inputs of the group (And elements, from the outputs of which the zero value of the address goes to the third address input of block 1, i.e. the transition to the split (zero) area of block 1 is made, where
зашиты подпрограммы.sewn subroutines.
При возврате из подпрограммы на .информационный вход триггера 12 поступает значение логической 1, которое зашито в последнем микротакте подпрограммы. По .синхроимпульсу, поступающему с элемента 5, триггер 12 переходит в единичное состо ние и в счетчик 2 записываетс значение, соответствующее первой микрокоманде индивидуального участка микропрограммы , следующей за общим участком. Единичное значение сигнала с выхода When returning from the subroutine to the informational input of trigger 12, the value of logical 1 arrives, which is wired in the last microtogram of the subroutine. On the sync pulse from element 5, the trigger 12 goes into one state and the counter 2 records the value corresponding to the first microcommand of the individual microprogram section following the common area. Single value of output signal
триггера 12 открывает группу 11 -ILtrigger 12 opens group 11 -il
1 элементов И, через которые информаци 1 elements And through which information
с входа 8 поступает на третий адресный вход блока 1. Таким-образом, при возврате из подпрограммы осуществл етс переход к чейкам блока 1 с одинаковым значением кода на первом ад- ре сном -входе, т.е. все индивидуальные участки микропрограмм, следующие за общим участком, должны начинатьс с данной чейки. Далее в помощью операций условного или безусловного переходов можно перейти на выполнениеfrom input 8 goes to the third address input of block 1. Thus, when returning from the subroutine, one goes to the cells of block 1 with the same code value on the first address with the input, i.e. all individual microprogram sections following the common section must begin with this cell. Then, using conditional or unconditional jump operations, you can switch to
индивидиуальных или общих участков микропрограмм работы устройства.individual or common areas of the device firmware.
Дл возможности определени отказов в работе устройства в нем имеетс схема контрол , состо ща из элемента ИЗ, сумматора 13 и триггера 14. Кажда микрокоманда, зашита в блок 1, снабжаетс контрольным битом, вл ющимс дополнением дл нечетности суммы по модулю два (п-1) разр дов микрокоманды.To determine the failures in the operation of the device, there is a control circuit consisting of an OF element, an adder 13 and a trigger 14. Each microinstruction that is embedded in block 1 is supplied with a control bit, which is an addition to the oddness of the modulo two sum (n-1 ) microcommand bits.
При записи микропрограмм в блок 1 могут оставатьс свободные области, обращение к которым вл етс сбоем вWhen writing firmware to block 1, there may be free areas, access to which is a failure in
выходных кодов блока 1 складываетс по модулю два с кодом на его п-мoutput codes of block 1 are added modulo two with the code on its n
тупающему с выхода элемента 5, запи- сываетс в триггер 14. Единичноеstupid from the output of element 5, is written to the trigger 14. The single
Таким образом, при правильной работе устройства на выходе сумматора 13 формируетс уровень логической 1, который по синхроимпульсу, пос-Thus, with the correct operation of the device, a logic level 1 is formed at the output of the adder 13, which, according to the sync pulse,
0 0
5five
00
. .
д . d.
со то ние триггера 14 разрешает прохождение синхроимпульсов с входа 4 устройства. При по влении сбо в ра- . боте устройства на выходе сумматора 13 формируетс уровень логического О, который при подаче очередного синхроимпульса запишетс в триггер 14. Нулевое состо ние триггера 14 запретит прохождение синхроимпульсов с входа 4 устройства и на выходе 15 по витс сигнал ошибки. Сбойное состо ние устройства будет сохран тьс до по влени сигнала сброса с входа 6. Таким образом, анализиру состо ние счетчика 2 и значение режима работы, снимаемое с выходов группы 11,11 элементов И, можно локализовать неисправную микросхему блока 1 пам ти.The trigger 14 allows the passage of clock pulses from input 4 of the device. With the appearance of a fault in the ra-. At the output of the adder 13, a logic level O is formed at the output of the device. When the next clock pulse is applied, it will be written to the trigger 14. The zero state of the trigger 14 will prohibit the passage of clock pulses from the input 4 of the device and the output 15 will show an error signal. The failure state of the device will persist until a reset signal appears from input 6. Thus, by analyzing the state of counter 2 and the value of the operating mode taken from the outputs of group 11.11 of elements AND, it is possible to localize the malfunctioning chip of memory 1.
Данна схема контрол позвол ет провер ть не только микрокоманды, считываемые из блока 1 пам ти, но и случаи обращени к неиспользуемой области блока 1 пам ти микрокоманд, так как в неиспользуемой области блока 1 пам ти остаютс зашитыми О по всем выходным разр дам.This control scheme allows you to check not only microcommands read from memory 1, but also cases of accessing the unused area of memory 1 of microcommands, since in the unused area of memory 1, the memory remains wired by O across all output bits.
Работа микропрограммного устройства управлени осуществл етс до тех пор, пока не произойдет переход счетчика 2 в исходное (нулевое) состо ние или пока с входа 6 не придет сигнал сброса и не сниметс сигнал выбора режима с входа 8, или не будет вы влен сбой в работе устройства. При поступлении.на вход 8 нового значени режима происходит выборка другого дешифратора 7 и работа устройства продолжаетс согласно установленному дл данного режима алгоритму по описанному принципу.The operation of the firmware is performed until the counter 2 returns to its initial (zero) state or until a reset signal comes from input 6 and the mode selection signal is removed from input 8 or a failure is detected devices. When a new mode value is received at input 8, another decoder 7 is sampled and the operation of the device continues according to the algorithm established for this mode according to the described principle.
По сравнению с известными предлагаемое устройство требует дл своей реализации меньших затрат оборудовани .In comparison with the known, the proposed device requires less equipment for its realization.
fO дами дешифраторов группы, о т л и- чающеес тем, что, с целью сокращени объема оборудовани , оно содержит триггер управлени режимом, сумматор по модулю два, триггер ошибКроме того, в рассматриваемом устройстве повышена достоверность функционировани за счет введени элемен- 5 и и группу элементов И, первые иfO dam group decoders, which is tacted by the fact that, in order to reduce the amount of equipment, it contains a mode control trigger, a modulo two adder, an error trigger. In addition, in the device under consideration, the reliability of the function is increased due to the introduction of element- 5 and group of elements And, the first and
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU853978082A SU1304023A1 (en) | 1985-11-14 | 1985-11-14 | Microprogram control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU853978082A SU1304023A1 (en) | 1985-11-14 | 1985-11-14 | Microprogram control device |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1304023A1 true SU1304023A1 (en) | 1987-04-15 |
Family
ID=21205828
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU853978082A SU1304023A1 (en) | 1985-11-14 | 1985-11-14 | Microprogram control device |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1304023A1 (en) |
-
1985
- 1985-11-14 SU SU853978082A patent/SU1304023A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 760100, кл. G 06 F 9/22, 1978. Авторское свидетельство № 1176327, кл. G 06 F 9/22, 1983. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4313200A (en) | Logic test system permitting test pattern changes without dummy cycles | |
US4053944A (en) | Microprocessor controlled signal pattern detector | |
GB1422952A (en) | Data processing system fault diagnostic arrangements | |
US3548177A (en) | Computer error anticipator and cycle extender | |
SU1304023A1 (en) | Microprogram control device | |
SU1270772A1 (en) | Microprogram device with checking | |
SU1661768A1 (en) | Digital unit testing device | |
US3356996A (en) | Data transfer system | |
SU1203526A1 (en) | Device for checking microprogram control unit | |
SU1305690A1 (en) | Device for monitoring microprogram run | |
SU1539782A2 (en) | Device for test checks of digital units | |
SU696454A1 (en) | Asynchronous control device | |
SU1109749A2 (en) | Firmware control unit with transition checking | |
SU1297063A1 (en) | Device for controlling,checking and diagnostic testing | |
SU1103238A1 (en) | Control device having transition checking | |
SU1536389A1 (en) | Device for checking sequence of program execution | |
SU1365082A1 (en) | Multiprogram self-monitoring control device | |
SU1430959A1 (en) | Device for monitoring microprogram run | |
SU1536380A1 (en) | Microprogram control device | |
SU1702370A1 (en) | Microprogram control device with checking | |
SU1176327A1 (en) | Microprogram control device | |
SU1062702A1 (en) | Firmware control unit | |
SU1599860A2 (en) | Device for monitoring functioning of logic modules | |
SU1267415A1 (en) | Microprogram control device | |
SU1170457A1 (en) | Microprogram control device |