SU1702370A1 - Microprogram control device with checking - Google Patents
Microprogram control device with checking Download PDFInfo
- Publication number
- SU1702370A1 SU1702370A1 SU894724096A SU4724096A SU1702370A1 SU 1702370 A1 SU1702370 A1 SU 1702370A1 SU 894724096 A SU894724096 A SU 894724096A SU 4724096 A SU4724096 A SU 4724096A SU 1702370 A1 SU1702370 A1 SU 1702370A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- output
- input
- group
- inputs
- outputs
- Prior art date
Links
Landscapes
- Detection And Correction Of Errors (AREA)
Abstract
Изобретение-относитс к вычислительной технике и может использоватьс в системах функционального диагностировани МПУУ. Цель изобретени - повышение-достоверности контрол . Устройство содержит блок пам ти микрокоманд, два счетчика, регистр микроопераций, регистр сдвига, два мультиплексора, коммутатор (адреса), дешифратор , блок сравнени , два сумматора по модулю два, блок синхронизации, четыре триггера, четыре элемента ИЛИ. три элемента И. Цель изобретени достигаетс за счет реализации контрол правильности начала микропрограммы , контрол на четность и контрол методом сравнени с эталонной сигнатурой. 6 ил., 1 табп.The invention is related to computer technology and can be used in functional diagnostics systems of a PAC. The purpose of the invention is to increase the reliability of the control. The device contains a micro-command memory block, two counters, a micro-register, a shift register, two multiplexers, a switch (addresses), a decoder, a comparison block, two modulo-two adders, a synchronization block, four triggers, four OR elements. three elements I. The purpose of the invention is achieved through the implementation of microprogram start correctness control, parity control, and control by comparison with a reference signature. 6 ill., 1 tab.
Description
Изобретение относитс к вычислительной технике и может использоватьс в системах функционального диагностировани .The invention relates to computing and can be used in functional diagnostics systems.
Цель изобретени - повышение достоверности контрол .The purpose of the invention is to increase the reliability of the control.
Сущность изобретени состоит в повышении достоверности контрол программ за счет обеспечени трех типов контрол . Первый - контроль правильности начала программы с первой микрокоманды реализуетс благодар наличию кодовой комбинации (заполнени 1 пол кода логического услови ) в первой микрокоманде . При начале программы с любой другой микрокоманды отсутствие кодовой комбинации будет вл тьс источником сигнала ошибки. Второй - контроль на четность - реализуетс с помощью специального контрольного разр да, содержащегос в микрокоманде и дополн ющего количество 1 вThe essence of the invention is to increase the reliability of program control by providing three types of control. The first one is to control the correctness of the beginning of the program from the first microcommand due to the presence of a code combination (filling in the 1 field of the logic condition code) in the first micro instruction. At the beginning of a program with any other micro-command, the absence of a code combination will be the source of the error signal. The second, the parity check, is implemented using a special check bit contained in the microinstruction, which supplements the quantity 1 in
микрокоманде до четного. Нечетное число 1 вл етс источником сигнала ошибки. Третий - контроль методом сравнени с эталоном . Этот контроль вл етс поразр дным . Сущность его заключаетс в поочередной коммутации выходов провер емых разр дов с группой элементов, формирующих , в зависимости от значений этих разр дов, специальную контрольную кодовую комбинацию - сигнатуру и сравнении ее с эталонной, содержащейс в одной, заранее определенной микрокоманде.microinstruction to even. Odd number 1 is the source of the error signal. The third is the control by comparison with the standard. This control is random. Its essence lies in alternately switching the outputs of the inspected bits with a group of elements that, depending on the values of these bits, form a special control code combination - a signature and compare it with the reference code contained in one predetermined micro-command.
На фиг. 1 представлена функциональна схема устройства; на фиг.2 - временна диаграмма работы при отсутствии ошибок; на фиг. то же, при ошибке в первой микрокоманде; на фиг.4 - то же, при ошибке контрол на четность; на фиг.5 - то же, при ошибке, зафиксированной в контрольнойFIG. 1 shows a functional diagram of the device; figure 2 - the timing diagram of the work in the absence of errors; in fig. the same, with an error in the first microinstruction; figure 4 - the same, with the error control on parity; figure 5 - the same, with an error recorded in the control
слcl
сwith
ч|h |
оabout
го соgo so
33
сигнатуре; на фиг.6 - вариант формировани контрольной сигнатуры.signature; 6 shows a variant of forming a control signature.
Устройство (фиг.1) содержит блок 1 па- м ти микрокоманд, счетчики 2 и 3, регистр 4 микроопераций, регистр 5 сдвиге, мультиплексор б (логических условий), мультиплексор 7 (проверки), коммутатор 8 (адреса), дешифратор 9 (типа микрокоманды), блок 10 сравнени , сумматор 11 по модулю 2 (два). сумматор 12 по модулю 2, блок 13 синхронизации , триггер 14 (пуска), триггер 15 (контрол начала программы), триггеры 16 и 17 (ошибок), первый 18, второй 19, третий 20, четвертый 21 элементы ИЛИ, элемент И-НЕ 22 первый 23, второй 24 элементы И, вход 25 пуска, адресный вход 26, вход 27 логических условий, выход 28 микроопераций, первый 29 и второй 30 выходы сигналов ошибок устройства.The device (Fig. 1) contains block 1 of a set of micro-commands, counters 2 and 3, register 4 micro-operations, register 5 shift, multiplexer b (logical conditions), multiplexer 7 (checks), switch 8 (addresses), decoder 9 ( such as a microcommand), block 10 of comparison, adder 11 modulo 2 (two). adder 12 modulo 2, synchronization block 13, trigger 14 (start), trigger 15 (program start control), triggers 16 and 17 (errors), first 18, second 19, third 20, fourth 21 OR elements, AND NOT element 22 the first 23, the second 24 elements And, the input 25 start, the address input 26, the input 27 of the logic conditions, the output 28 micro-operations, the first 29 and the second 30 outputs of the device error signals.
Дешифратор 9 предназначен дл расшифровки кода, поступающего с выходовThe decoder 9 is designed to decrypt the code coming from the outputs
1.1и 1.2 блоки 1 пам ти микрокоманд. Зависимость между сигналами на выходах 1.1 и1.1 and 1.2 blocks 1 of memory of microinstructions. The relationship between the signals at the outputs 1.1 and
1.2блока 1 пам ти микрокоманд и на выходах дешифратора представлена таблицей.1.2block 1 of the microinstructions memory and at the outputs of the decoder are represented by a table.
Блок 10 служит дл сравнени при наличии разрешающего сигнала с дешифратора типа микрокоманды контрольной сигнатуры с эталонной и при несовпадении - выдачи сигнала на триггер ошибки.Block 10 is used for comparison in the presence of an enable signal from a decoder of the microcommand type of the control signature with a reference one and, if there is a mismatch, a signal is issued on the error trigger.
Сумматор 11 по модулю 2 предназначен дл формировани информации дл регистра сигнатуры. Сумматор 12 по модулю 2 осуществл ет проверку микрокоманды на четность. Блок 13 синхронизирует работу устройства. Триггер 14 осуществл ет запуск блока 13, триггер 15 предназначен дл выдачи сигнала ошибки при начале микропрог- раммы не с первой микрокоманды. Триггеры 16 и 17 предназначены дл формировани сигналов ошибки на выходе устройства при проверке на четность и сравнении с эталоном соответственно. Элемент ИЛИ 18 служит дл модификации младшего разр да адреса следующей микрокоманды. Элемент ИЛИ 19 останавливает устройство, обнул триггер 14 при обнаружении ошибки , элемент ИЛИ 20 формирует управл ющий сигнал дл мультиплексора 7. Элемент ИЛИ 21 коммутирует мультиплексоры 6 и 7 со входом сумматора 11. Элемент И-НЕ 22 формирует сигнал ошибки и подает его на информационный вход триггера 15. Элемент И 23 подает или блокирует синхроимпульсы на счетчик 2.Modulo 2 adder 11 is designed to generate information for the signature register. Modulo 12 modulo 2 checks the microcommand for parity. Unit 13 synchronizes the operation of the device. The trigger 14 starts the block 13, the trigger 15 is designed to issue an error signal when the microprogram starts not from the first microcommand. Triggers 16 and 17 are designed to generate error signals at the output of the device during parity checking and comparison with the standard, respectively. The element OR 18 serves to modify the low-order bit of the address of the next microcommand. The OR element 19 stops the device, flips the trigger 14 when an error is detected, the OR element 20 generates a control signal for multiplexer 7. The OR element 21 commutes multiplexers 6 and 7 with the input of the accumulator 11. The IS-NOT element 22 generates an error signal and sends it to the informational trigger input 15. Element AND 23 supplies or blocks clock pulses to counter 2.
Элемент И 24 предназначен дл формировани сигнала на входе счетчика 3 и уве- личени его содержимого на 1 при обработке устройством конечной микрокоманды в группе линейных микрокомандElement And 24 is intended to form a signal at the input of counter 3 and increase its contents by 1 when processed by the device of the final microcommand in the group of linear microcommands.
контрол начала программы, когда в поле коде логического услови блока 1 при формировании первой микрокоманды есть хот бы один О.control the start of the program, when in the code field of the logical condition of block 1 there is at least one O when forming the first micro-command
На фиг.6 показан вариант формировани контрольной сигнатуры посредством регистра 5 и сумматора 11. Дл формировани сигнатуры могут быть использованы разр ды полей логических условий, адреса,Figure 6 shows a variant of forming a control signature by means of register 5 and adder 11. To create a signature, bits of fields of logical conditions, addresses, can be used.
микроопераций блока 1 пам ти микроопераций и логические услови со входа 27 логических условий устройства.micro-operations of block 1 of micro-operations memory and logical conditions from the input of 27 logical conditions of the device.
Предлагаемое устройство управлени с контролем работает следующим образом.The proposed control device with control works as follows.
На выходе блока 1 в исходном состо нии присутствует микрокоманда, определ ема нулевым адресом счетчика 2 адреса, наход щегос в исходном состо нии. На выходе регистра 4 во всех разр дах кроме ККAt the output of block 1, in the initial state, there is a microinstruction determined by the zero address of the counter 2 address, which is in the initial state. At the output of register 4 in all categories except QC
сформирован нулевой сигнал. В результате выход КК открывает коммутатор 8 на вход 26 устройства. Остальные элементы пам ти обнулен ы (цепи установки в исходное состо ние не показаны). По команде Пуск триггер 14 переводитс в единичное состо ние и запускает блок 13. По первому тактовому импульсу в счетчик 2 записываетс адрес первой микрокоманды со входа устройства, По этому адресу из блока 1 вызываетс перва микрокоманда. В зависимости от содержимого искомого пол меток 1 и 2 блока 1 дешифратор 9 формирует управл ющий сигнал на одном из четырех выходов.generated zero signal. As a result, the output QC opens the switch 8 to the input 26 of the device. The remaining memory elements are reset (the reset circuit is not shown). On the Start command, the trigger 14 is transferred to one state and starts block 13. On the first clock pulse, the address of the first microcommand from the device input is written to counter 2. The first microcommand is called from this block 1. Depending on the contents of the required field of labels 1 and 2 of block 1, the decoder 9 generates a control signal at one of the four outputs.
Возможны 4 варианта микрокоманд.4 variants of microinstructions are possible.
Линейна - 1 на нулевом выходе дешифратора .Linear - 1 at the zero output of the decoder.
Через элемент ИЛИ 20 подаетс управл ющий сигнал на мультиплексор 7. Мультиплексор 7 по адресу, содержащемус в полеThrough the element OR 20, a control signal is supplied to multiplexer 7. Multiplexer 7 at the address contained in the field
кода логического услови блока 1, коммутирует соответствующий провер емый разр д через элемент ИЛИ 21 на вход сумматора 11, Первым импульсом Тг в регистр 4 записываетс код микрооперации. Количествоthe logical condition code of block 1, switches the corresponding checked bit through the element OR 21 to the input of the adder 11; the first pulse Tg in the register 4 records the micro-operation code. amount
1 в пол х меток, логических условий, адре- са, контрольного разр да блока 1 и на выходе регистра 4 в сумме должно быть четным. В противном случае сумматор Сформирует сигнал ошибки; Таким образом осуществл етс контроль на четность. В поле логического услови первой микрокоманды блока 1 все разр ды должны быть, единичными. Если микропрограмма началась не с первой микрркоманды, то на выходе элемента И 22 1 in the field of tags, logical conditions, address, check bit of block 1 and at the output of register 4 in the total must be even. Otherwise, the adder Generates an error signal; In this way, the parity check is performed. In the field of the logical condition of the first microcommand of block 1, all bits must be single. If the firmware did not start with the first micr command, then And 22
формируетс единичный сигнал и при смене информации в регистре 4 в триггере 15 запишетс 1 - сигнал ошибки. Таким образом осуществл етс контроль правильности начала микропрограммы. Контроль на четность и начала микропрограммы производ тс независимо от типа микрокоманды. Нулевой сигнал на выходе КК переключает коммутатор 8 адреса на внутренний вход. На вход счетчика 2 подаетс адрес следующей микрокоманды из пол адреса блока 1 пам ти микрокоманд. По первому импульсу Гз в регистр 5 запишетс контрольна сигнатура , соответствующа первой микрокоманде . По второму импульсу п адрес следующей микрокоманды запишетс в счетчик 2 и далее, за исключением контрол начала программы, процесс пойдет аналогично .a single signal is generated and when changing information in register 4 in trigger 15, 1 is written - an error signal. In this way, the correctness of the start of the firmware is monitored. Parity and firmware start are performed regardless of the type of microcommand. The zero signal at the output of QC switches the switch 8 addresses to the internal input. The input of the counter 2 is supplied with the address of the next microcommand from the address field of the microcommand memory block 1. On the first Gz pulse, the control signature corresponding to the first micro instruction is written to register 5. On the second impulse n, the address of the next micro-command is recorded in counter 2 and further, with the exception of monitoring the start of the program, the process will go the same way.
Дл сокращени объема пам ти, выдел емого под код проверки, записываемый в поле логического услови линейной микрокоманды , вводитс микрокоманда Конец группы, отличие которой от линейной состоит в том, что сигнал, снимаемый с четвертого выхода дешифратора по импульсу П(соответствующий началу следующей за микрокомандой Конец группы очередной микрокоманды, добавл етс 1 младшего разр да в счетчик 3, который формирует старшие разр ды на адресном входе мультиплексора 7. В остальном работа устройства по данной микрокоманде соответствует линейной.To reduce the amount of memory allocated for the verification code, which is written in the logic field of a linear microcommand, a microcommand is entered. The end of the group, which differs from the linear one, is that the signal removed from the fourth output of the decoder by pulse P (corresponding to the beginning following the microcommand The end of the next microinstruction group adds 1 low-order bit to counter 3, which forms the high-order bits at the address input of multiplexer 7. Otherwise, the operation of the device according to this micro-instruction corresponds to linear.
При необходимости организации ветвлени микрокоманда ветвлени выходами 1.1 и 1.2 блока 1 организует управл ющий сигнал на втором выходе дешифратора 9. который вл етс управл ющим дл мультиплексора 6. По коду логического услови из блока 1, поступающему на адресный вход мультиплексора, коммутируетс соответствующее внешнее логическое условие на вход элемента ИЛИ 18, модифициру младший разр д адреса следующей микрокоманды , а также через элемент ИЛИ 21 на вход сумматора 11, и по импульсу г в регистр 5 сдвига записываетс контрольна сигнатура, отображающа логическое условие . Далее схема работает аналогично.If it is necessary to branch the microcommand, the outputs 1.1 and 1.2 of block 1 organize the control signal at the second output of the decoder 9. Which is the control for the multiplexer 6. The corresponding external logical condition is switched by the logic condition code from block 1 to the address input of the multiplexer to the input of the element OR 18, to modify the least significant bit of the address of the next microcommand, and also through the element OR 21 to the input of the adder 11, and the pulse signature is written to the shift register 5 by the pulse g Dr. showing an logical condition. Further, the scheme works in a similar way.
При поступлении эталонной команды на первом выходе дешифратора по вл етс управл ющий сигнал, который счетчик 2 адреса из регистрового режима работы переключает на счетный и включает блок 10 сравнени , на который подаетс эталонна сигнатура из пол адреса блока 1 и контрольна из регистра сдвига. Сигнатура, соответствующа самой эталонной команде, не формируетс . При несовпадении блок 10 выдает сигнал ошибки. По синхроимпульсу ri соответствующему началу отработки сле- дющей микрокоманды, к содержимому счетчика 2 добавл етс 1 в младший разр д.Upon receipt of the reference command, a control signal appears at the first output of the decoder, which counter 2 of the address from the register operation mode switches to the counting one and turns on the comparison unit 10, to which the reference signature is fed from the address field of block 1 and the control from the shift register. A signature corresponding to the reference team itself is not generated. If there is a mismatch, block 10 generates an error signal. According to the sync pulse ri corresponding to the beginning of the next microcommand, the 1 is added to the low-order bit to the contents of counter 2.
Сигнал ошибки с блока 10 блокирует поступление синхроимпульсов на счетчик 2, замо- ражива программу на ошибочной микрокоманде, а также переводит в единич- ное состо ние триггер 16. В свою очередь, сигналы с выходов триггеров 16, 17 и триггера 15 через элемент ИЛИ 19 формируют сигнал Останов на нулевой вход триггера 14 и останавливающий блок 13. При отра0 ботке последней микрокоманды в микропрограмме единичный сигнал на выходе КР регистра 4 через элемент ИЛИ 19 обнул ет триггер 14.The error signal from block 10 blocks the arrival of clock pulses to counter 2, freezes the program on an erroneous microcommand, and also triggers 16. In turn, the signals from the outputs of the trigger 16, 17 and trigger 15 through the element OR 19 form the Stop signal to the zero input of the trigger 14 and the stopping unit 13. When the last microcommand in the microprogram is processed, a single signal at the output of the RC register 4 through the OR 19 element zeroes the trigger 14.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU894724096A SU1702370A1 (en) | 1989-07-26 | 1989-07-26 | Microprogram control device with checking |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU894724096A SU1702370A1 (en) | 1989-07-26 | 1989-07-26 | Microprogram control device with checking |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1702370A1 true SU1702370A1 (en) | 1991-12-30 |
Family
ID=21463406
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU894724096A SU1702370A1 (en) | 1989-07-26 | 1989-07-26 | Microprogram control device with checking |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1702370A1 (en) |
-
1989
- 1989-07-26 SU SU894724096A patent/SU1702370A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1283780, кл.СОбР 11/00, 1984. Авторское свидетельство СССР № 1140121,кл. G 06 F 11/00,1983. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA1145852A (en) | Diagnostic circuitry in a data processor | |
JPS5925980B2 (en) | Synchronization clock test circuit | |
SU1702370A1 (en) | Microprogram control device with checking | |
SU1476465A1 (en) | Microprogram control unit | |
SU881749A1 (en) | Microprogramme-control device | |
SU1270772A1 (en) | Microprogram device with checking | |
SU1365091A1 (en) | Microprogram processor | |
SU1273926A1 (en) | Adaptive module of microprogram control device | |
SU1038944A1 (en) | Microprgram control device having checking capability | |
SU830386A1 (en) | Microprogramme-control device | |
SU809183A1 (en) | Device for microprogram control with monitoring | |
SU898431A1 (en) | Microprogramme-control device | |
SU1365082A1 (en) | Multiprogram self-monitoring control device | |
SU1265770A1 (en) | Microprogram control device | |
SU1376084A1 (en) | Microprogram control device | |
SU1140121A1 (en) | Microprogram control device with check | |
SU1005062A1 (en) | Failure consequence correction device | |
SU1649539A1 (en) | Device of microprogramm control | |
SU1267415A1 (en) | Microprogram control device | |
SU1288707A2 (en) | Device for exchanging data between group of input-output channels and internal memory | |
SU1758634A1 (en) | Programmed control module with checking | |
SU1343418A1 (en) | Program run checking device | |
SU1305679A1 (en) | Microprogram control device with checking | |
SU1310818A1 (en) | Microprogram control device | |
SU1683019A2 (en) | Program debugger |