SU1649539A1 - Device of microprogramm control - Google Patents
Device of microprogramm control Download PDFInfo
- Publication number
- SU1649539A1 SU1649539A1 SU884437232A SU4437232A SU1649539A1 SU 1649539 A1 SU1649539 A1 SU 1649539A1 SU 884437232 A SU884437232 A SU 884437232A SU 4437232 A SU4437232 A SU 4437232A SU 1649539 A1 SU1649539 A1 SU 1649539A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- register
- control
- multiplexer
- Prior art date
Links
Landscapes
- Detection And Correction Of Errors (AREA)
Abstract
Изобретение относитс к автоматике и вычислительной технике и может быть использовано в качестве контроллера АСУ технологическими процессами. Целью изобретени вл етс повышение достоверности функционировани устройства за счет контрол правильности последовательности логических условий. Предлагаемое устройство обеспечивает микропрограммное управление вычислительными системами. При этом обеспечиваетс достоверный контроль исходного состо ни устройства управлени и использование результатов контрол в дальнейшей работе устройства, повышаетс оперативность управлени и уменьшаетс объем пам ти устройства управлени . Устройство содержит блок посто нной пам ти, регистры адреса, микроопераций, триггер пуска, коммутатор, первый мультиплексор, генератор тактовых импульсов, элемент ИЛИ, демультиплексор, регистр логических условий, второй мультиплексор , блок сумматоров по модулю два, элемент И,первый и второй триггеры управлени , триггер ошибки. 2 ил. (Л СThe invention relates to automation and computer technology and can be used as an ACS controller for technological processes. The aim of the invention is to increase the reliability of the operation of the device by monitoring the correctness of the sequence of logical conditions. The proposed device provides microprogram control of computing systems. This ensures reliable control of the initial state of the control device and the use of control results in the further operation of the device, increases the control efficiency and reduces the memory size of the control device. The device contains a block of permanent memory, address registers, micro-operations, start trigger, switch, first multiplexer, clock generator, element OR, demultiplexer, register of logical conditions, second multiplexer, unit adders modulo two, element And, first and second triggers control, error trigger. 2 Il. (Ls
Description
Изобретение относитс к автоматике и вычислительной технике и может быть использовано в качестве контроллера АСУ технологическими процессами.The invention relates to automation and computer technology and can be used as an ACS controller for technological processes.
Целью изобретени вл етс повышение достоверности функционировани устройства за счет контрол правильности последовательности логических условий.The aim of the invention is to increase the reliability of the operation of the device by monitoring the correctness of the sequence of logical conditions.
На фиг. 1 представлена функциональна схема предлагаемого устройства; на фиг. 2 - представлен пример алгоритма работы .FIG. 1 shows a functional diagram of the proposed device; in fig. 2 - an example of the algorithm is presented.
Устройство содержит блок 1 посто нной пам ти, регистры адреса 2 и 3 микроопераций , триггер 4 пуска, коммутатор 5, первыйThe device contains a block of 1 constant memory, address registers 2 and 3 micro-operations, trigger 4 start, switch 5, the first
мультиплексор 6, генератор 7 тактовых импульсов , элемент ИЛИ 8, демультиплексор 9, регистр 10 логических условий, второй мультиплексор 11, блок 12 сумматоров по модулю два, элемент И 13, первый 14 и второй 15 триггеры управлени , триггер 16 ошибки, вход 17 кода операций, выход 18 микроопераций, вход 19 внешнего останова , вход 20 пуска устройства, выход 21 ошибки.multiplexer 6, clock generator 7, element OR 8, demultiplexer 9, register 10 of logic conditions, second multiplexer 11, unit 12 modulo-two adders, element 13, first 14 and second 15 control triggers, error trigger 16, code input 17 operations, output 18 micro-operations, input 19 external stop, input 20 start the device, output 21 errors.
Устройство может работать в трех режимах: Обучение, Контроль и Управление .The device can operate in three modes: Training, Control and Management.
Режим Обучение предназначен дл записи в соответствии с микропрограммойTraining mode is intended for recording in accordance with the firmware.
оabout
4 О4 o
слcl
CJCJ
юYu
информации в пам ть (регистр логических условий) об исходном состо нии устройства с тем. чтобы в дальнейшем иметь возможность использовать эту информацию в ходе выполнени последующих микропрог- рамм.information in the memory (register of logical conditions) about the initial state of the device with that. in order to be able to use this information in the course of the implementation of subsequent micro programs.
Режим Контроль предназначен дл проверки соответстви записанной информации в регистр логических условий логиче- ским услови м на входе устройства. Микропрограмма режима Контроль может либо повтор ть микропрограмму Обучение (вместо признака ai используетс признак 32, см. фиг.1), либо отличатьс от нее. Под этим понимаетс то, что пор док выполнени микрокоманд в микропрограмме Контроль может не совпадать с пор дком в микропрограмме Обучение, а также может контролироватьс правильность записи не всех логических условий, а лишь некоторых из них. Однако, обращенный к логическим услови м, не используемым в микропрограмме Обучение, быть не должно , так как это может привести к ошибочному отключению устройства и выдаче сигнала Ошибка. Режим Контроль должен следовать за режимом Обучение, так как в течение времени значени логических условий мен ютс и большой временной разрыв между этими режимами может так- же привести к ошибочному отключению устройства и выдаче сигнала Ошибка, или в режиме Контроль должны использоватьс логические услови , изменени которых происход т значительно медленнее, чем врем работы устройства. Режим Контроль также позвол ет получить косвенную информацию о правильности функционировани устройства управлени в целом,The control mode is designed to verify that the recorded information in the register of logical conditions is consistent with logical conditions at the input of the device. The Control mode firmware can either repeat the firmware Tutorial (instead of feature ai, feature 32 is used, see Fig. 1), or it can be different. By this is meant that the order of execution of micro-commands in the firmware of the Control program may not coincide with the order in the firmware of the Training program, and also the correctness of the recording of not all logical conditions, but only some of them, can be controlled. However, it should not be addressed to logical conditions not used in the Training firmware, since this can lead to an erroneous device shutdown and an Error signal being issued. The Control mode must follow the Training mode, because over time the values of the logical conditions change and a large time gap between these modes may also lead to an erroneous device shutdown and an Error signal, or in the Control mode logical conditions must be used. occurs much slower than the operating time of the device. The Monitoring mode also provides indirect information about the correct functioning of the control device as a whole,
Режим Управление -основной режим работы устройства предназначен дл управлени объектом с помощью микроопераций, посылаемых в соответствии с записанными в пам ти устройства микропрограммами. Control mode - the basic mode of the device is designed to control an object using micro-operations sent in accordance with the firmware stored in the device's memory.
В режиме работы Управление в микрокомандах ветвлени может использоватьс признак 32 (контрол ), если контролируемое логическое условие использовалось в режиме Обучение и его значение в сравнении со временем функционировани устройства измен етс медленно . Это повышает достоверность работы устройства и не вли ет на врем его работы .In the Operation mode, the Control in microcommands of the branch can use the sign 32 (control) if the monitored logical condition was used in the Training mode and its value in comparison with the device operation time changes slowly. This increases the reliability of the device and does not affect its operating time.
8 исходном состо нии все элементы пам ти установлены в О. В единичном состо нии находитс только один триггер регистра 3, которому соответствует выход8, the initial state, all the memory elements are set to O. In the single state, there is only one trigger register 3, which corresponds to the output
микрооперации Конца команды, (Цепи установки исходного и сходного состо ний условно не показаны).micro-operations of the End of a command, (The setting circuit of the initial and similar states is conventionally not shown).
Работа устройства начинаетс после поступлени на вход 20 сигнала Пуск, по которому устанавливаетс в единичное состо ние триггер 4 пуска.The operation of the device begins after the arrival at the input 20 of the Start signal, by which the trigger 4 start is set to one.
По первому тактовому импульсу с выхода 7.1 генератора 7 в регистр 2 заноситс код с входа 17 Этот код записываетс в регистр 2 через коммутатор 5, на управл ющий вход которого подаетс единичный сигнал с выхода регистра 3 микрооперацийOn the first clock pulse from output 7.1 of generator 7, the code from input 17 is entered into register 2. This code is written to register 2 via switch 5, to the control input of which a single signal is output from register 3 of micro-operations
В блоке 1 пам ти формируетс микрокоманда , соответствующа пришедшему адресу , в поле 1 2 которой формируетс признак ai режима Обучение триггер 14 устанавливаетс в единичное состо ние и регистр 10 готов к приему информацииIn memory block 1, a micro-command is formed that corresponds to the incoming address, in field 1 2 of which the sign ai of the mode Learning trigger 14 is set to one and the register 10 is ready to receive information
Затем по тактовому импульсу с выхода 7.2 генератора 7 в регистр 3 заноситс код микрооперации По заднему фронту этого импульса исчезает единичный сигнал на выходе Конец команды регистра 3 и в коммутаторе 5 закрываетс первый и открываетс второй информационный вход По следующему тактовому импульсу адрес следующей микрокоманды считываемый с выхода 1 5 блока 1 (немодифицируемз часть адреса), и с выхода 1 4 через мультиплексор 6 (модифицируема часть) записываетс в регистр 2 адресаThen, a micro-operation code is entered into the register 3 by the clock pulse from the output 7.2 of the generator 7. A single signal at the output of the end of the register command 3 disappears at the falling edge of this pulse and the second information input is read from the next clock pulse by the next microcommand read from the output 1 5 block 1 (non-modifiable part of the address), and output 1 4 through multiplexer 6 (the modified part) is written to register 2 addresses
По второму тактовому импульсу коды микроопераций занос тс в регистр 3 и далее работа устройства продолжаетс аналогично описанномуOn the second clock pulse, micro-operation codes are entered into register 3 and then the device continues to work as described.
В микрокомандах ветвлени код логических условий поступает с пол 1 3 блока 1 в мультиплексор 6 и производит модификацию младшего адресного разр да е соответствии со значением логического услови In branch microcommands, the code of logical conditions comes from the field 1 3 of block 1 to multiplexer 6 and modifies the lower address bit according to the value of the logical condition
Также код логического услови поступает на адресный вход демультиплексора 9, который пропускает синхроимпульс 7 1 на те выходы демультиплексора, номер которого указан в коде логических условий Так как выходы демультиплексора 9 соединены с синхровходами регистра 10, то в регистр 10 будут записаны все значени логических условий , используемых данной микропрограммой . Данные,поступающие на второй информационный вход мультиплексора 6, информирует об исходном состо нии устройства управлени В последней микрокоманде микропрограммы имеетс признак конца команды, который устанавливает в единичное состо ние соответствующий триггер регистра 3 микроопераций, единич- ный сигнал поступает на управл ющийAlso, the logical condition code goes to the address input of the demultiplexer 9, which passes the sync pulse 7 1 to those outputs of the demultiplexer whose number is specified in the logic conditions code. Since the outputs of the demultiplexer 9 are connected to the synchronous inputs of the register 10, then the register 10 will record all values of the logical conditions used by this firmware. The data arriving at the second information input of the multiplexer 6 informs about the initial state of the control unit. In the last microprogram command there is a command end sign that sets the corresponding trigger of micro-register 3 to the single state, a single signal goes to the control
вход коммутатора 5 и готовит его к приему нового кода операций.switch input 5 and prepares it to receive a new opcode.
Таким образом, в этом режиме фиксируетс (идентифицируетс ) исходное состо ние объекта до начала выполнений всех операций. В этом режиме Контроль на выходе 1.2 блока 1 пам ти формирует признак 32. Этим признаком триггер 15 управлени устанавливаетс в единичное состо ние и разрешает прохождение информации через мультиплексор 11. В микрокомандах ветвлени код логических условий с пол 1.3 блока 1. поступа на адресный вход мультиплексора 11, формирует значение с выхода того сумматора по модулю два, номеру которого соответствует поступивший код. Поэтому в процессе выполнени микропрограммы будут опрошены все и только те сумматоры по модулю два, номерам которых соответствуют адреса логических условий, используемых в данной микропрограмме. Если на выходе мультиплексора 11 по витс единица, что соответствует ошибке, то триггер 16 ошибки устанавливаетс в единичное состо ние и на выходе 21 по вл етс сигнал Ошибка, тогда единичным сигналом, прошедшим через элемент ИЛИ 8. триггер 4 пуска устанавливаетс в О, генератор 7 тактовых импульсов прекращает работу. Если в процессе повторени микропрограммы Управлени значени логических условий совпадут, то признаком конца команды коммутатор 5 устанавливаетс в готовность к приему следующего кода операции.Thus, in this mode, the initial state of the object is fixed (identified) before the start of all operations. In this mode, the Control at output 1.2 of block 1 of memory forms symptom 32. With this sign, control trigger 15 is set to one and allows information to pass through multiplexer 11. In the branch micro-commands, the code of logical conditions from field 1.3 of block 1. enters the address of the multiplexer 11, forms the value from the output of that adder modulo two, the number of which corresponds to the received code. Therefore, during the execution of the firmware, all and only modulo adders will be polled, the numbers of which correspond to the addresses of the logic conditions used in this firmware. If the output of the multiplexer 11 is Vits one, which corresponds to an error, then the error trigger 16 is set to one and an error signal appears at output 21, then a single signal passing through the OR element 8. The start trigger 4 is set to O, the generator 7 clock pulses stop working. If the values of the logic conditions match during the firmware control repetition process, the switch 5 is set to be ready to receive the next opcode by a sign of the end of the command.
Режим работы Управление вл етс основным режимом работы устройства. В этом режиме признаки ai и 32 не вырабатываютс и следовательно запись логических условий в регистр 10 и их прохождение через мультиплексор 11 не происходит.Mode of operation The control is the main mode of operation of the device. In this mode, signs ai and 32 are not generated, and therefore the recording of logical conditions in register 10 and their passage through multiplexer 11 does not occur.
В остальном алгоритм работы устройства аналогичен описанному в режиме Обучение .The rest of the algorithm of the device is similar to that described in the Training mode.
По приходу последней микрокоманды последней микропрограммы, на выходе триггера конца работы в регистре 3 формируетс единица, котора пройд через элемент ИЛИ 8, поступает на нулевой вход триггера 4, и работа устройства прекращаетс .Upon the arrival of the last microcommand of the latest microprogram, at the output of the end of operation trigger in register 3, a unit is formed that passes through the OR element 8, enters the zero input of trigger 4, and the device stops working.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU884437232A SU1649539A1 (en) | 1988-06-06 | 1988-06-06 | Device of microprogramm control |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU884437232A SU1649539A1 (en) | 1988-06-06 | 1988-06-06 | Device of microprogramm control |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1649539A1 true SU1649539A1 (en) | 1991-05-15 |
Family
ID=21379941
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU884437232A SU1649539A1 (en) | 1988-06-06 | 1988-06-06 | Device of microprogramm control |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1649539A1 (en) |
-
1988
- 1988-06-06 SU SU884437232A patent/SU1649539A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1007106,кл. G 06 F 9/22, 1981. Майоров С.А. и Новиков Г.И. Структура электронных вычислительных машин. Л.Машиностроение, 1979, с,312-314. Авторское свидетельство СССР Ns 1252759, кл. G 05 В 19/18, 1987. Авторское свидетельство СССР № 1140121. кл.СОбР 11/00, 1986. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1649539A1 (en) | Device of microprogramm control | |
SU1365091A1 (en) | Microprogram processor | |
SU1322282A1 (en) | Microprogram control device | |
SU1179342A1 (en) | Device for restoring operation of processor | |
SU1365082A1 (en) | Multiprogram self-monitoring control device | |
SU1599861A1 (en) | Device for monitoring units of microprogram control | |
SU1174930A1 (en) | Device for controlling and diagnostic checking | |
SU1203526A1 (en) | Device for checking microprogram control unit | |
SU1476465A1 (en) | Microprogram control unit | |
SU968814A1 (en) | Microprogramme control device | |
SU1481712A1 (en) | Asynchronous program-control unit | |
SU1280627A1 (en) | Microprogram control device with checking | |
SU1711168A1 (en) | Program run-time monitor | |
SU1642446A1 (en) | Programmable controller | |
SU1642472A1 (en) | Device for checking the sequence of operatorъs actions | |
SU1621026A1 (en) | Microprogram control device with check | |
SU1539782A2 (en) | Device for test checks of digital units | |
SU1256025A1 (en) | Multimicroprogram control device | |
SU1709320A1 (en) | Device for debugging programs | |
SU1501065A1 (en) | Device for monitoring program run | |
SU1213485A1 (en) | Processor | |
SU1307460A1 (en) | Device for monitoring program execution | |
SU1702370A1 (en) | Microprogram control device with checking | |
SU1310818A1 (en) | Microprogram control device | |
SU1397908A1 (en) | Microprogram control device |