RU2112272C1 - Unit of microcontroller network - Google Patents

Unit of microcontroller network Download PDF

Info

Publication number
RU2112272C1
RU2112272C1 RU97104368A RU97104368A RU2112272C1 RU 2112272 C1 RU2112272 C1 RU 2112272C1 RU 97104368 A RU97104368 A RU 97104368A RU 97104368 A RU97104368 A RU 97104368A RU 2112272 C1 RU2112272 C1 RU 2112272C1
Authority
RU
Russia
Prior art keywords
input
output
module
control
synchronization
Prior art date
Application number
RU97104368A
Other languages
Russian (ru)
Other versions
RU97104368A (en
Inventor
И.В. Зотов
В.А. Колосков
В.С. Титов
Original Assignee
Курский государственный технический университет
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Курский государственный технический университет filed Critical Курский государственный технический университет
Priority to RU97104368A priority Critical patent/RU2112272C1/en
Application granted granted Critical
Publication of RU2112272C1 publication Critical patent/RU2112272C1/en
Publication of RU97104368A publication Critical patent/RU97104368A/en

Links

Images

Landscapes

  • Multi Processors (AREA)

Abstract

FIELD: automation and computer engineering, in particular, design of efficient controlling equipment. SUBSTANCE: device has microprogram memory unit, registers for address and microinstructions, multiplexer for logical conditions, constant generator, starting flip-flop, first comparison circuit, first clock oscillator, first buffer memory unit, address commutator, first output commutator, first, second and third AND gates, first to fourth OR gates, first delay gate, first univibrator, register for event counting, second buffer memory unit, second clock oscillator, second output commutator, second comparison circuit, flip-flops for channel switching, synchronization control and lock conditions, NOR gate, flip-flop, fourth to fourteenth AND gates, fifth to seventh OR gates, second and third univibrators, four delay gates. EFFECT: increased efficiency. 5 dwg

Description

Изобретение относится к автоматике и цифровой вычислительной технике и может найти применение при построении управляющих и вычислительных систем высокой производительности, в том числе систем с массовым параллелизмом, а также подсистем дискретного управления многоуровневых интеллектуальных автоматизированных систем управления (АСУ) технологическими и робототехническими комплексами, где требуется точное согласование моментов инициализации и завершения асинхронно протекающих процессов. The invention relates to automation and digital computer technology and can find application in the construction of control and computing systems of high performance, including systems with mass parallelism, as well as discrete control subsystems of multi-level intelligent automated control systems (ACS) of technological and robotic complexes where accurate coordination of the moments of initialization and completion of asynchronous processes.

Известно микропрограммное устройство управления, содержащее блок постоянной памяти, блок формирования адреса микрокоманд, регистр адреса следующей микрокоманды, регистр микроопераций, регистр формата микрокоманды, регистр начала микропрограмм, регистр состояния параллельных участков, триггер управления, генератор импульсов, элемент ИЛИ, блок элементов ИЛИ, первый и второй элементы И, первый и второй блоки элементов И, группу элементов И, одновибратор, первый, второй и третий элементы задержки (а. с. СССР N 1647566, кл. G 06 F 9/22, опубл. 07.05.91, БИ N 17). A microprogram control device comprising a read-only memory block, a micro-command address generating unit, a next micro-command address register, a micro-operation register, a micro-command format register, a micro-program start register, a state register of parallel sections, a control trigger, a pulse generator, an OR element, an OR block, the first and the second elements And, the first and second blocks of elements And, the group of elements And, one-shot, the first, second and third elements of the delay (A. S. USSR N 1647566, CL G 06 F 9/22, publ. 07.05.91, BI N 17 )

Недостатком данного устройства является значительное число внешних выводов, используемых для организации взаимодействия с другими аналогичными устройствами (приема и выдачи адресов передачи управления), и, как следствие, резко ограниченная наращиваемость формируемых на его основе управляющих систем и, соответственно, узкая область применения устройства. The disadvantage of this device is the significant number of external outputs used to organize interaction with other similar devices (receiving and issuing control transfer addresses), and, as a result, the sharply limited scalability of the control systems formed on its basis and, accordingly, the narrow scope of the device.

Наиболее близким к предлагаемому устройству по технической сущности является микропрограммное устройство для управления обменом управляющей информации в распределенной системе, включающее блок памяти микропрограмм, регистры адреса, микрокоманд и приема, буферный запоминающий блок, блок регистров, коммутаторы адреса, выходной и микрокоманд, генератор констант, схему сравнения, мультиплексор логических условий, генератор тактовых импульсов, триггер запуска, элемент задержки, с первого по третий элементы И, первый и второй блоки элементов И, с первого по четвертый элементы ИЛИ и одновибратор (а.с СССР, N 1325477 кл. G 06 F 9/22, опубл. 23.07.87, БИ N 27). Closest to the proposed device in technical essence is a microprogram device for controlling the exchange of control information in a distributed system, including a microprogram memory block, address registers, microcommands and receivers, a buffer storage unit, a register block, address switches, output and microcommands, a constant generator, a circuit comparisons, logic condition multiplexer, clock generator, trigger, delay element, first to third elements AND, first and second blocks of elements s and the first through fourth elements and OR monostable multivibrator (USSR AS, N 1325477 cl. G 06 F 9/22, publ. 07.23.87, BI N 27).

Недостатком указанного устройства является узкая область применения, обусловленная отсутствием средств синхронизации завершения параллельных ветвей (участков) микропрограмм, закрепленных за различными модулями управляющих систем, формируемых на его основе. Отсутствие возможности синхронизации завершения параллельных участков может привести к возникновению некорректных режимов функционирования, например, к одновременному (параллельному) выполнению несовместимых операций при реализации параллельных алгоритмов управления. The disadvantage of this device is a narrow scope due to the lack of synchronization means for completing parallel branches (sections) of microprograms assigned to various modules of control systems formed on its basis. The inability to synchronize the completion of parallel sections can lead to incorrect operating modes, for example, to the simultaneous (parallel) execution of incompatible operations when implementing parallel control algorithms.

Технической задачей изобретения является расширение области применения устройства на основе организации возможности синхронизации завершения произвольных групп параллельных участков микропрограмм. An object of the invention is to expand the scope of the device based on the organization of the ability to synchronize the completion of arbitrary groups of parallel sections of microprograms.

Техническая задача решается тем, что модуль микроконтроллерной сети, содержащий блок памяти микропрограмм, регистры адреса и микрокоманд, мультиплексор логических условий, генератор констант, триггер запуска, первую схему сравнения, первый генератор тактовых импульсов, первый буферный запоминающий блок, коммутатор адреса, первый выходной коммутатор, с первого по третий элементы И, с первого по четвертый элементы ИЛИ, первый элемент задержки и первый одновибратор, причем вход генератора констант является входом настройки модуля, а выход соединен с первым входом первой схемы сравнения, выход первого выходного коммутатора соединен с выходом управления синхронизацией модуля, выход первого элемента ИЛИ подключен к первому входу первого элемента И, выход второго элемента ИЛИ соединен с входом установки триггера запуска, прямой выход которого соединен с входом первого генератора тактовых импульсов, первый выход которого соединен с входом синхронизации регистра адреса, а второй выход подключен к входу синхронизации регистра микрокоманд, выходы кода логического условия и модифицируемого разряда адреса которого подключены к адресному и первому информационному входам мультиплексора логических условий соответственно, второй информационный вход которого является входом логических условий модуля, выход мультиплексора логических условий в объединении с выходом немодифицируемой части адреса регистра микрокоманд соединен с первым информационным входом коммутатора адреса, выход которого подключен к информационному входу регистра адреса, выход которого соединен с адресным входом блока памяти микропрограмм, выход которого соединен с информационным входом регистра микрокоманд, выход метки конца операции которого подключен к первому и второму управляющим входам коммутатора адреса, дополнительно включает второй буферный запоминающий блок, второй генератор тактовых импульсов, вторую схему сравнения, регистр-счетчик событий, второй выходной коммутатор, триггеры переключения каналов, управления синхронизацией и блокировки, триггер, с четвертого по четырнадцатый элементы И, с пятого по седьмой элементы ИЛИ, элемент ИЛИ-НЕ, второй и третий одновибраторы, с второго по пятый элементы задержки, причем выход метки управления синхронизацией регистра микрокоманд соединен с первыми входами второго и третьего элементов И и с первым входом третьего элемента ИЛИ, выход которого подключен к первому входу четвертого элемента И, выход которого подключен к входу сброса триггера запуска, выход метки конца участка регистра микрокоманд соединен с первыми входами пятого и шестого элементов И, с третьим и четвертым управляющими входами коммутатора адреса, с вторым входом третьего элемента ИЛИ, с входом установки триггера блокировки, а также с первым входом четвертого элемента ИЛИ, выход которого подключен к пятому управляющему входу коммутатора адреса, второй информационный вход которого является входом кода операции модуля, выход метки передачи управления регистра микрокоманд соединен с третьим входом третьего элемента ИЛИ, с первым входом седьмого элемента И и с первым управляющим входом второго выходного коммутатора, выход которого в объединении с выходом пятого элемента ИЛИ образуют выход передачи управления модуля, выход управляющей информации регистра микрокоманд включает выход номера точки синхронизации и выход количества ожидаемых событий и подключен к первым информационным входам первого и второго выходных коммутаторов, выход номера точки синхронизации регистра микрокоманд соединен с первым входом второй схемы сравнения, выход которой подключен к второму входу шестого элемента И и к второму входу третьего элемента И, третий вход которого подключен к выходу элемента ИЛИ-НЕ, выход третьего элемента И соединен с первым (инверсным) входом восьмого элемента И и с первым входом девятого элемента И, выход которого подключен к первому входу второго элемента ИЛИ, второй вход которого соединен с выходом первого одновибратора, выход метки конца операции регистра микрокоманд соединен с выходом конца операции модуля, с четвертым входом третьего элемента ИЛИ, с вторым входом четвертого элемента ИЛИ и с вторым входом пятого элемента И, третий вход которого является входом пуска модуля, выход пятого элемента И соединен с третьим входом второго элемента ИЛИ, второй выход первого генератора тактовых импульсов подключен к входу второго одновибратора, выход которого подключен к второму входу четвертого элемента И и к второму входу второго элемента И, выход которого соединен с входом установки триггера управления синхронизацией, прямой выход которого подключен к первому управляющему входу первого выходного коммутатора, к первому входу десятого элемента И и к первому входу одиннадцатого элемента И, выход которого соединен с входом установки триггера, счетный вход которого подключен к инверсному выходу триггера управления синхронизацией, прямой выход триггера соединен с первым входом двенадцатого элемента И, выход которого подключен к входу сброса триггера управления синхронизацией, первый выход второго генератора тактовых импульсов подключен к второму входу седьмого элемента И, к второму входу одиннадцатого элемента И, к входу установки триггера переключения каналов и к второму входу десятого элемента И, выход которого соединен с первым входом шестого элемента ИЛИ, выход которого подключен к выходу управления синхронизацией модуля, второй выход второго генератора тактовых импульсов соединен с первым входом тринадцатого элемента И, с вторым входом двенадцатого элемента И, с входом сброса триггера переключения каналов и с вторым входом первого элемента И, выход которого подключен к второму входу шестого элемента ИЛИ и к входу первого элемента задержки, выход которого соединен с входами синхронизации сдвига и разрешения сдвига первого буферного запоминающего блока, выход которого соединен с вторым информационным входом первого выходного коммутатора и с входами первого элемента ИЛИ, выход которого подключен к второму управляющему входу первого выходного коммутатора, третий и четвертый управляющие входы которого соединены с инверсным и прямым выходами триггера переключения каналов соответственно, вход управления синхронизацией модуля образован входом номера точки синхронизации, входом количества ожидаемых событий и линией синхронизации, вход номера точки синхронизации модуля соединен с вторым входом второй схемы сравнения и в объединении с выходом регистра-счетчика событий подключен к информационному входу первого буферного запоминающего блока, вход синхронизации записи которого соединен с выходом восьмого элемента И, вход количества ожидаемых событий модуля соединен с входами элемента ИЛИ-НЕ и с информационным входом регистра-счетчика событий, линия синхронизации входа управления синхронизацией модуля подключена к входу второго элемента задержки, выход которого подключен к входу синхронизации регистра-счетчика событий, к второму входу девятого элемента И и к входу третьего одновибратора, выход которого соединен с вторым (прямым) входом восьмого элемента И и с третьим входом шестого элемента И, четвертый вход которого соединен с прямым выходом триггера блокировки, выход шестого элемента И подключен к счетным входам триггера блокировки и регистра-счетчика событий, прямой и инверсный выходы триггера переключения каналов соединены соответственно с вторым и третьим управляющими входами второго выходного коммутатора, вход приема управления модуля образован входом номера модуля, входом адреса приема управления и линией синхронизации, вход адреса приема управления модуля соединен с третьим информационным входом коммутатора адреса и в объединении с входом номера модуля устройства подключен к информационному входу второго буферного запоминающего блока, выход которого подключен к второму информационному входу второго выходного коммутатора и к входам седьмого элемента ИЛИ, выход которого соединен с четвертым управляющим входом второго выходного коммутатора и с вторым входом тринадцатого элемента И, выход которого подключен к первому входу пятого элемента ИЛИ и к входу третьего элемента задержки, выход которого соединен с входами синхронизации сдвига и разрешения сдвига второго буферного запоминающего блока, вход синхронизации записи которого подключен к выходу четырнадцатого элемента И, первый (прямой) вход которого соединен с выходом четвертого элемента задержки, вход которого соединен с линией синхронизации входа приема управления модуля, вход номера модуля устройства подключен к второму входу первой схемы сравнения, выход которой соединен с вторым (инверсным) входом четырнадцатого элемента И, с входом первого одновибратора, а также с шестым управляющим входом коммутатора адреса, выход седьмого элемента И подключен к второму входу пятого элемента ИЛИ и к входу пятого элемента задержки, выход которого соединен с четвертым входом второго элемента ИЛИ, выход микроопераций регистра микрокоманд является выходом микроопераций модуля. The technical problem is solved by the fact that the microcontroller network module containing the microprogram memory block, address and micro-instruction registers, logical condition multiplexer, constant generator, trigger trigger, the first comparison circuit, the first clock pulse generator, the first buffer storage unit, the address switch, the first output switch , from the first to the third elements AND, from the first to the fourth elements OR, the first delay element and the first one-shot, and the input of the constant generator is the input settings of the module, and the output connected to the first input of the first comparison circuit, the output of the first output switch is connected to the output of the module synchronization control, the output of the first OR element is connected to the first input of the first AND element, the output of the second OR element is connected to the installation trigger input, the direct output of which is connected to the input of the first generator clock pulses, the first output of which is connected to the synchronization input of the address register, and the second output is connected to the synchronization input of the micro-command register, outputs of the logical condition code, and m a differentiable digit of the address of which is connected to the address and first information inputs of the logical condition multiplexer, respectively, the second information input of which is the input of the logical conditions of the module, the output of the logical conditions multiplexer in combination with the output of the unmodifiable part of the micro register register address is connected to the first information input of the address switch, whose output is connected to the information input of the address register, the output of which is connected to the address input of the microprogram memory block the output of which is connected to the information input of the micro-command register, the output of the end-of-operation label of which is connected to the first and second control inputs of the address switch, further includes a second buffer storage unit, a second clock pulse generator, a second comparison circuit, an event counter-register, a second output switch, triggers for channel switching, synchronization and blocking control, trigger, fourth to fourteenth AND elements, fifth to seventh OR elements, OR-NOT element, second and third one vibrators, from the second to the fifth delay elements, the output of the synchronization control mark of the micro-register register being connected to the first inputs of the second and third AND elements and to the first input of the third OR element, the output of which is connected to the first input of the fourth AND element, the output of which is connected to the trigger reset input start, the output label of the end of the section of the register of microcommands is connected to the first inputs of the fifth and sixth AND elements, with the third and fourth control inputs of the address switch, with the second input of the third OR element, with the input of the installation of the locking trigger, as well as with the first input of the fourth OR element, the output of which is connected to the fifth control input of the address switch, the second information input of which is the input of the operation code of the module, the output of the microcontrol register control transfer mark is connected to the third input of the third OR element, with the first input of the seventh AND element and with the first control input of the second output switch, the output of which, in combination with the output of the fifth OR element, forms the control transmission output of the module, you the progress of the control information of the micro-command register includes the output of the number of the synchronization point number and the output of the number of expected events and is connected to the first information inputs of the first and second output switches, the output of the number of the synchronization point of the micro-command register is connected to the first input of the second comparison circuit, the output of which is connected to the second input of the sixth AND element and to the second input of the third AND element, the third input of which is connected to the output of the OR-NOT element, the output of the third AND element is connected to the first (inverse) octagon input AND element with the first input of the ninth AND element, the output of which is connected to the first input of the second OR element, the second input of which is connected to the output of the first one-shot, the output of the mark of the end of the micro-register register operation is connected to the output of the module operation end, with the fourth input of the third OR element, with the second input of the fourth OR element and with the second input of the fifth AND element, the third input of which is the module start input, the output of the fifth AND element is connected to the third input of the second OR element, the second output of the first generator of industrial pulses is connected to the input of the second one-shot, the output of which is connected to the second input of the fourth element And and to the second input of the second element And, the output of which is connected to the installation input of the trigger synchronization control, the direct output of which is connected to the first control input of the first output switch, to the first input of the tenth element And to the first input of the eleventh element And, the output of which is connected to the input of the installation of the trigger, the counting input of which is connected to the inverse output of the trigger control sync onization, the direct output of the trigger is connected to the first input of the twelfth element And, the output of which is connected to the reset input of the synchronization control trigger, the first output of the second clock pulse generator is connected to the second input of the seventh element And, to the second input of the eleventh element And, to the installation input of the channel switching trigger and to the second input of the tenth AND element, the output of which is connected to the first input of the sixth OR element, the output of which is connected to the output of the module synchronization control, the second output of the second a clock pulse generator is connected to the first input of the thirteenth AND element, to the second input of the twelfth AND element, to the reset input of the channel switching trigger and to the second input of the first AND element, the output of which is connected to the second input of the sixth OR element and to the input of the first delay element, the output of which connected to the inputs of the shift synchronization and shift resolution of the first buffer storage unit, the output of which is connected to the second information input of the first output switch and to the inputs of the first OR element, the output which is connected to the second control input of the first output switch, the third and fourth control inputs of which are connected to the inverse and direct outputs of the channel trigger, respectively, the module synchronization control input is formed by the input of the synchronization point number, the input of the number of expected events and the synchronization line, the input of the module synchronization point number connected to the second input of the second comparison circuit and, in combination with the output of the register-event counter, connected to the information input of the first a buffer storage unit, the recording synchronization input of which is connected to the output of the eighth AND element, the input of the number of expected events of the module is connected to the inputs of the OR-NOT element and to the information input of the event-counter register, the synchronization line of the module synchronization control input is connected to the input of the second delay element, output which is connected to the synchronization input of the register-event counter, to the second input of the ninth AND element and to the input of the third one-shot, the output of which is connected to the second (direct) input of the first element And and with the third input of the sixth element And, the fourth input of which is connected to the direct output of the lock trigger, the output of the sixth element And is connected to the counting inputs of the lock trigger and the register-counter of events, the direct and inverse outputs of the channel switching trigger are connected respectively to the second and third control inputs of the second output switch, the input of the control reception module is formed by the input of the module number, the input of the control reception address and the synchronization line, the input of the control reception address of the module n with the third information input of the address switch and in combination with the input of the device module number is connected to the information input of the second buffer storage unit, the output of which is connected to the second information input of the second output switch and to the inputs of the seventh OR element, the output of which is connected to the fourth control input of the second output switch and with the second input of the thirteenth AND element, the output of which is connected to the first input of the fifth OR element and to the input of the third delay element, the output of which connected to the inputs of the shift synchronization and shift resolution of the second buffer storage unit, the recording synchronization input of which is connected to the output of the fourteenth element And, the first (direct) input of which is connected to the output of the fourth delay element, the input of which is connected to the synchronization line of the module control reception input, the input number the device module is connected to the second input of the first comparison circuit, the output of which is connected to the second (inverse) input of the fourteenth And element, with the input of the first one-shot, as well as with fifth control input of switch addresses, the output of the seventh AND gate connected to the second input of the fifth OR gate and to the input of the fifth delay element whose output is connected to a fourth input of the second OR gate, the output micro microinstruction register is the output of the module micro-operations.

Сущность предлагаемого изобретения состоит в следующем. The essence of the invention is as follows.

Предлагаемое устройство совместно с другими идентичными устройствами (модулями) объединяется в кольцевую структуру, называемую микроконтроллерной сетью (МКС) и предназначенную для управления сложными объектами (комплексами взаимосвязанных объектов), предполагающими параллельное и асинхронное протекание во времени множества процессов (например, коллективами процессорных элементов в многопроцессорных вычислительных системах). The proposed device, together with other identical devices (modules), is combined into a ring structure called a microcontroller network (MCS) and designed to control complex objects (complexes of interconnected objects) that involve parallel and asynchronous flow of many processes in time (for example, groups of processor elements in multiprocessor computing systems).

Каждый модуль МКС выполняется в виде СБИС с внутренней перепрограммируемой памятью микропрограмм и обеспечивает возможности: управления последовательным процессом, инициализации процессов в других аналогичных устройствах, а также синхронизации их завершения путем передачи специальных управляющих микрокоманд (сообщений). Для идентификации различных модулей МКС им присваиваются логические номера 1,2,...,N. Тип (номер) выполняемой операции определяется кодом операции (КОП), который представляет собой адрес первой микрокоманды начального участка соответствующей микропрограммы и формируется устройством управления верхнего уровня (УУВУ), например, центральным процессором. Each ISS module is implemented in the form of VLSI with an internal reprogrammable memory of microprograms and provides the following capabilities: control of a sequential process, initialization of processes in other similar devices, as well as synchronization of their completion by transmitting special control microcommands (messages). To identify the various modules of the ISS, they are assigned logical numbers 1,2, ..., N. The type (number) of the operation to be performed is determined by the operation code (CPC), which is the address of the first microcommand of the initial section of the corresponding microprogram and is generated by the top-level control device (UUVU), for example, by the central processor.

При управлении параллельными или последовательными процессами модули МКС вырабатывают последовательности микрокоманд, порядок следования которых задается значениями сигналов логических условий, поступающих от объекта управления (снимаемых с соответствующих датчиков или вырабатываемых специальными схемами формирования признаков). В процессе реализации участков микропрограмм модули сети могут инициировать выполнение участков микропрограмм другими модулями путем передачи этим модулям соответствующих начальных адресов. When controlling parallel or sequential processes, the ISS modules generate sequences of microcommands, the order of which is determined by the values of the signals of logical conditions coming from the control object (taken from the corresponding sensors or generated by special features for generating features). During the implementation of the firmware sections, the network modules can initiate the execution of the firmware sections by other modules by transmitting the corresponding starting addresses to these modules.

Инициализация параллельных или последовательных участков микропрограмм (передача управления) осуществляется следующим образом. Initialization of parallel or sequential sections of firmware (control transfer) is carried out as follows.

Модуль Мi формирует управляющую микрокоманду S, которая включает номер инициализируемого модуля k и соответствующий начальный адрес (адрес инициализации) Апу. Микрокоманда S передается модулю Мi+1, где подвергается анализу, который заключается в сопоставлении номера приемника сообщения k с номером данного модуля (i+1), Если указанные номера совпадают, то модуль Мi+1 начинает выполнение участка микропрограммы с поступившего адреса Апу иначе микрокоманда S транслируется на выход модуля Мi+1 и передается следующему модулю МКС Мi+2, где вновь подвергается анализу. Аналогично микрокоманда S передается следующему в кольцевой структуре сети модулю и ретранслируется вплоть до совпадения номера k с номером одного из модулей МКС,
Для реализации режима синхронизации завершения группы P параллельных участков микропрограмм, закрепленных за модулями

Figure 00000002
,
Figure 00000003
, одному из перечисленных модулей присваивается статус ведущего (например, ведущим считается модуль
Figure 00000004
, остальные рассматриваются как ведомые. В качестве ключевой информации при синхронизации параллельных участков используется номер точки (вершины) слияния (синхронизации) этих участков Tr, а также число участков Wr0 (количество ожидаемых событий), завершающихся в точке Tr.The module M i forms a control micro-command S, which includes the number of the initialized module k and the corresponding starting address (initialization address) A pu . The micro-command S is transmitted to the module M i + 1 , where it is analyzed, which consists in comparing the number of the receiver of the message k with the number of this module (i + 1). If the numbers indicated coincide, then the module M i + 1 starts the execution of the firmware section from the received address A ny otherwise microinstruction S transmitted to the output module M i + 1 and transferred to the next module ISS M i + 2, where again subjected to analysis. Similarly, the micro-command S is transmitted to the next module in the ring structure of the network and is relayed until the number k coincides with the number of one of the ISS modules,
To implement the synchronization mode of completion of the group P of parallel sections of microprograms assigned to the modules
Figure 00000002
,
Figure 00000003
, one of the listed modules is assigned the status of the leader (for example, the module is considered the leader
Figure 00000004
, the rest are treated as slaves. As the key information when synchronizing parallel sections, we use the number of the point (top) of the merger (synchronization) of these sections T r , as well as the number of sections Wr 0 (the number of expected events) ending at the point T r .

Ведущий модуль Mq, завершая выполнение соответствующего участка микропрограммы, переходит в режим управления синхронизацией, а остальные (ведомые) модули - в состояние активного ожидания. В режиме управления синхронизацией модуль Mq вырабатывает управляющую микрокоманду Zr, содержащую номер точки слияния Tr и количество ожидаемых событий Wr=Wr0-1 (параллельный участок, выполняемый модулем Mq, не учитывается). Данная микрокоманда последовательно передается модулям Мq+1, Мq+2,..., Мj,... и по мере прохождения через каждый из указанных модулей подвергается анализу и, возможно, модификации. Если очередной модуль МКС Мj выполняет некоторый участок микропрограммы (и, соответственно, не находится в состоянии ожидания) или завершил реализацию параллельного участка в точке слияния Tf≠Tr, то микрокоманда Zr без изменений транслируется следующему модулю (Мj+1), в противном случае перед выдачей микрокоманды модулю Мj+1 количество ожидаемых событий Wr уменьшается на единицу. Аналогичным образом рассматриваемая микрокоманда проходит через все модули сети и, поскольку МКС обладает кольцевой структурой, появляется на входе ведущего модуля Мq.The master module M q , completing the execution of the corresponding section of the firmware, switches to the synchronization control mode, and the remaining (slave) modules enter the active standby state. In the synchronization control mode, the module M q generates a control micro-command Z r containing the merge point number T r and the number of expected events W r = Wr 0 -1 (the parallel section executed by the module M q is not taken into account). This microcommand is sequentially transmitted to the modules M q + 1 , M q + 2 , ..., M j , ... and as it passes through each of these modules it is analyzed and, possibly, modified. If the next ISS module M j executes a certain part of the microprogram (and, accordingly, is not in the standby state) or has completed the implementation of the parallel section at the merge point T f ≠ T r , then the micro command Z r is transmitted without changes to the next module (M j + 1 ) otherwise, before issuing the micro-command to the module M j + 1, the number of expected events W r decreases by one. Similarly, the microcommand under consideration passes through all the network modules and, since the ISS has a ring structure, appears at the input of the master module M q .

Модуль Мq анализирует микрокоманды, поступающие на его вход, и при обнаружении микрокоманды Zr (возвращающейся на его вход по кольцу) осуществляет опрос состояния поля количества ожидаемых событий Wr. В случае, если для поступившей микрокоманды Zr, Wr > 0, т.е. среди контролируемых параллельных участков существуют незавершенные, модуль Мq продолжает функционировать в режиме управления синхронизацией и ретранслирует микрокоманду Zr на выход для реализации повторного опроса. Если для поступившей микрокоманды имеет место Wr= 0, т.е. все параллельные участки, сходящиеся к точке слияния Тr, завершены, то модуль Mq выходит из режима управления синхронизацией и возобновляет выполнение закрепленного за ним участка микропрограммы. Ведомые модули впоследствии выходят из состояния ожидания по мере поступления на их входы управляющих микрокоманд передачи управления S.Module M q analyzes the microcommands arriving at its input, and upon detection of the microcommand Z r (returning to its input along the ring), it polls the state of the field of the number of expected events W r . If for the received microcommand Z r , W r > 0, i.e. among the controlled parallel sections there are incomplete ones, the module M q continues to operate in the synchronization control mode and relays the micro-command Z r to the output for the implementation of repeated polling. If for the received microcommand W r = 0, i.e. Since all parallel sections converging to the merge point Т r are completed, the module M q leaves the synchronization control mode and resumes the execution of the microprogram section assigned to it. The slave modules subsequently exit the standby state as they receive control micro-commands of control transfer S.

Для обеспечения приемлемого быстродействия МКС передача управляющих микрокоманд типа S (передачи управления) и типа Z (управления синхронизацией) производится по различным - независимым и параллельно функционирующим - каналам. To ensure acceptable performance of the ISS, the transfer of control micro-commands of type S (control transfer) and type Z (synchronization control) is carried out through various - independent and simultaneously functioning - channels.

Сущность предлагаемого изобретения поясняется чертежами, где на фиг. 1 представлена функциональная схема модуля микроконтроллерной сети, на фиг. 2 - функциональная схема буферного запоминающего блока, на фиг. 3 - структурная схема кольцевой микроконтроллерной сети, на фиг. 4 - форматы микрокоманд, реализуемых устройством, а на фиг. 5 дан пример реализации параллельного алгоритма управления микроконтроллерной сетью, состоящей из пяти однотипных устройств. The essence of the invention is illustrated by drawings, where in FIG. 1 is a functional diagram of a microcontroller network module; FIG. 2 is a functional diagram of a buffer storage unit, in FIG. 3 is a structural diagram of a ring microcontroller network; FIG. 4 - formats of microcommands implemented by the device, and in FIG. Figure 5 gives an example of the implementation of a parallel control algorithm for a microcontroller network consisting of five devices of the same type.

Модуль микроконтроллерной сети (фиг. 1) содержит блок 1 памяти микропрограмм, регистр 2 микрокоманд, регистр 3 адреса, мультиплексор 4 логических условий, первый буферный запоминающий блок 5, генератор 7 констант, первую схему 8 сравнения, триггер 11 запуска, первый генератор 12 тактовых импульсов, коммутатор 14 адреса, первый выходной коммутатор 19, второй 24, третий 25 и первый 33 элементы И, третий 36, второй 37, четвертый 38 и первый 39 элементы ИЛИ, первый одновибратор 46 и первый элемент 48 задержки, причем вход генератора 7 констант является входом 21 настройки модуля, а выход соединен с первым входом схемы 8 сравнения, выход коммутатора 19 соединен с выходом 58 управления синхронизацией модуля, выход элемента ИЛИ 39 подключен к первому входу элемента И 33, выход элемента ИЛИ 37 соединен с входом установки триггера 11 запуска, прямой выход которого соединен с входом генератора 12 тактовых импульсов, первый выход которого соединен с входом синхронизации регистра 3 адреса, а второй выход подключен к входу синхронизации регистра 2 микрокоманд, выходы 2.1 кода логического условия (ЛУ) и 2.2 модифицируемого разряда адреса (Ам) которого подключены к адресному и первому информационному входам мультиплексора 4 логических условий соответственно, второй информационный вход которого является входом 52 логических условий модуля, выход мультиплексора 4 логических условий в объединении с выходом 2,3 немодифицируемой части адреса (Ан) регистра 2 микрокоманд соединен с первым информационным входом коммутатора 14 адреса, выход которого подключен к информационному входу регистра 3 адреса, выход которого соединен с адресным входом блока 1 памяти микропрограмм, выход которого соединен с информационным входом регистра 2 микрокоманд, выход 2,9 метки конца операции которого подключен к первому и второму управляющим входам коммутатора 14 адреса, а также дополнительное включенные второй буферный запоминающий блок 6, вторую схему 9 сравнения, регистр-счетчик 10 событий, второй генератор 13 тактовых импульсов, триггеры 15 блокировки и 16 переключения каналов, триггер 17, триггер 18 управления синхронизацией, второй выходной коммутатор 20, элемент ИЛИ-НЕ 22, пятый 23, девятый 26, шестой 27, одиннадцатый 28, двенадцатый 29, четырнадцатый 30, восьмой 31, десятый 32, тринадцатый 34, седьмой 35 и четвертый 45 элементы И, шестой 40, седьмой 41 и пятый 42 элементы ИЛИ, второй 44 и третий 47 одновибраторы, второй 43, третий 49, четвертый 50 и пятый 51 элементы задержки, причем выход 2.5 метки управления синхронизацией регистра 2 микрокоманд соединен с первыми входами элементов И 24, 25 и с первым входом элемента ИЛИ 36, выход которого подключен к первому входу элемента И 45, выход которого подключен к входу сброса триггера 11 запуска, выход 2.6 метки конца участка регистра 2 микрокоманд соединен с первыми входами элементов И 23, 27, с третьим и четвертым управляющими входами коммутатора 14 адреса, с вторым входом элемента ИЛИ 36, с входом установки триггера 15 блокировки, а также с первым входом элемента ИЛИ 38, выход которого подключен к пятому управляющему входу коммутатора 14 адреса, второй информационный вход которого является входом 54 кода операции модуля, выход 2.7 метки передачи управления регистра 2 микрокоманд соединен с третьим входом элемента ИЛИ 36, с первым входом элемента И 35 и с первым управляющим входом коммутатора 20, выход которого в объединении с выходом элемента ИЛИ 42 образуют выход 59 передачи управления модуля, выход 2.8 управляющей информации регистра 2 микрокоманд включает выход 2.10 номера точки синхронизации и выход количества ожидаемых событий и подключен к первым информационным входам выходных коммутаторов 19, 20, выход 2.10 номера точки синхронизации регистра 2 микрокоманд соединен с первым входом схемы 9 сравнения, выход которой подключен к второму входу элемента И 27 и к второму входу элемента И 25, третий вход которого подключен к выходу элемента ИЛИ-НЕ 22, выход элемента И 25 соединен с первым (инверсным) входом элемента И 31 и с первым входом элемента И 26, выход которого подключен к первому входу элемента ИЛИ 37, второй вход которого соединен с выходом одновибратора 46, выход 2,9 метки конца операции регистра 2 микрокоманд соединен с выходом 60 конца операции модуля, с четвертым входом элемента ИЛИ 36, с вторым входом элемента ИЛИ 38 и с вторым входом элемента И 23, третий вход которого является входом 53 пуска модуля, выход элемента И 23 соединен с третьим входом элемента ИЛИ 37, второй выход генератора 12 тактовых импульсов подключен к входу одновибратора 44, выход которого подключен к второму входу элемента И 45 и к второму входу элемента И 24, выход которого соединен с входом установки триггера 18 управления синхронизацией, прямой выход которого подключен к первому управляющему входу коммутатора 19, к первому входу элемента И 32 и к первому входу элемента И 28, выход которого соединен с входом установки триггера 17, счетный вход которого подключен к инверсному выходу триггера 18 управления синхронизацией, прямой выход триггера 17 соединен с первым входом элемента И 29, выход которого подключен к входу сброса триггера 18 управления синхронизацией, первый выход генератора 13 тактовых импульсов подключен к второму входу элемента И 35, к второму входу элемента И 28, к входу установки триггера 16 переключения каналов и к второму входу элемента И 32, выход которого соединен с первым входом элемента ИЛИ 40, выход которого подключен к выходу 58 управления синхронизацией модуля, второй выход генератора 13 тактовых импульсов соединен с первым входом элемента И 34, с вторым входом элемента И 29, с входом сброса триггера 16 переключения каналов и с вторым входом элемента И 33, выход которого подключен к второму входу элемента ИЛИ 40 и к входу элемента 48 задержки, выход которого соединен с входами синхронизации сдвига (S) и разрешения сдвига (SE) буферного запоминающего блока 5, выход которого соединен с вторым информационным входом коммутатора 19 и с входами элемента ИЛИ 39, выход которого подключен к второму управляющему входу коммутатора 19, третий и четвертый управляющие входы которого соединены с инверсным и прямым выходами триггера 16 переключения каналов соответственно, вход 55 управления синхронизацией модуля образован входом 55.1 номера точки синхронизации, входом 55.2 количества ожидаемых событий и линией 55.3 синхронизации, вход 55.1 номера точки синхронизации модуля соединен с вторым входом схемы 9 сравнения и в объединении с выходом регистра-счетчика 10 событий подключен к информационному входу буферного запоминающего блока 5, вход синхронизации записи (W) которого соединен с выходом элемента И 31, вход 55.2 количества ожидаемых событий модуля соединен с входами элемента ИЛИ-НЕ 22 и с информационным входом регистра-счетчика 10 событий, линия 55.3 синхронизации входа 55 управления синхронизацией модуля подключена к входу элемента 43 задержки, выход которого подключен к входу синхронизации регистра-счетчика 10 событий, к второму входу элемента И 26 и к входу одновибратора 47, выход которого соединен с вторым (прямым) входом элемента И 31 и с третьим входом элемента И 27, четвертый вход которого соединен с прямым выходом триггера 15 блокировки, выход элемента И 27 подключен к счетным входам триггера 15 блокировки и регистра-счетчика 10 событий, прямой и инверсный выходы триггера 16 переключения каналов соединены соответственно с вторым и третьим управляющими входами коммутатора 20, вход 56 приема управления модуля образован входом 56.1 номера модуля, входом 56.2 адреса приема управления и линией 56.3 синхронизации, вход 56.2 адреса приема управления модуля соединен с третьим информационным входом коммутатора 14 адреса и в объединении с входом 56.1 номера модуля устройства подключен к информационному входу буферного запоминающего блока 6, выход которого подключен к второму информационному входу коммутатора 20 и к входам элемента ИЛИ 41, выход которого соединен с четвертым управляющим входом коммутатора 20 и с вторым входом элемента И 34, выход которого подключен к первому входу элемента ИЛИ 42 и к входу элемента 49 задержки, выход которого соединен с входами синхронизации сдвига (S) и разрешения сдвига (SE) буферного запоминающего блока 6, вход синхронизации записи (W) которого подключен к выходу элемента И 30, первый (прямой) вход которого соединен с выходом элемента 50 задержки, вход которого соединен с линией 56.3 синхронизации входа 56 приема управления модуля, вход 56.1 номера модуля устройства подключен к второму входу схемы 8 сравнения, выход которой соединен с вторым (инверсным) входом элемента И 30, с входом одновибратора 46, а также с шестым управляющим входом коммутатора 14 адреса, выход элемента И 35 подключен к второму входу элемента ИЛИ 42 и к входу элемента 51 задержки, выход которого соединен с четвертым входом элемента ИЛИ 37, выход 2.4 микроопераций (МО) регистра 2 микрокоманд является выходом 57 микроопераций модуля. The microcontroller network module (Fig. 1) contains a microprogram memory block 1, microcommand register 2, address register 3, logical condition multiplexer 4, a first buffer storage unit 5, a constant generator 7, a first comparison circuit 8, a trigger 11, a first clock generator 12 pulses, address switch 14, first output switch 19, second 24, third 25 and first 33 elements AND, third 36, second 37, fourth 38 and first 39 elements OR, the first one-shot 46 and the first delay element 48, and the input of the generator 7 constants is input 21 module, and the output is connected to the first input of the comparison circuit 8, the output of the switch 19 is connected to the output of the module synchronization control 58, the output of the OR element 39 is connected to the first input of the And 33 element, the output of the OR element 37 is connected to the installation input of the trigger 11 trigger, direct output which is connected to the input of the generator 12 clock pulses, the first output of which is connected to the synchronization input of the register 3 addresses, and the second output is connected to the synchronization input of the register 2 microcommands, outputs 2.1 of the logical condition code (LU) and 2.2 modifiable the address block (Am) of which are connected to the address and first information inputs of the multiplexer 4 logical conditions, respectively, the second information input of which is the input 52 of the logical conditions of the module, the output of the multiplexer 4 logical conditions in combination with the output 2,3 of the unmodifiable part of the address (An) register 2 microcommands connected to the first information input of the address switch 14, the output of which is connected to the information input of the address register 3, the output of which is connected to the address input of the microprogram memory unit 1 amm, the output of which is connected to the information input of the register of 2 microcommands, the output of 2.9 of the end of operation label of which is connected to the first and second control inputs of the address switch 14, as well as the additional included second buffer storage unit 6, the second comparison circuit 9, register counter 10 events, the second generator 13 clock pulses, triggers 15 lock and 16 channel switching, trigger 17, trigger 18 synchronization control, the second output switch 20, the element OR NOT 22, fifth 23, ninth 26, sixth 27, eleventh 28, twelve seventh 29, fourteenth 30, eighth 31, tenth 32, thirteenth 34, seventh 35 and fourth 45 elements AND, sixth 40, seventh 41 and fifth 42 elements OR, second 44 and third 47 single vibrators, second 43, third 49, fourth 50 and the fifth 51 delay elements, and the output 2.5 of the synchronization control label of the register of 2 microcommands is connected to the first inputs of the AND 24, 25 elements and to the first input of the OR element 36, the output of which is connected to the first input of the AND element 45, the output of which is connected to the reset input of the trigger 11 , output 2.6 marks the end of the section of the register 2 microcommands inen with the first inputs of the AND 23, 27 elements, with the third and fourth control inputs of the address switch 14, with the second input of the OR element 36, with the installation input of the trigger 15 of the lock, and also with the first input of the OR element 38, the output of which is connected to the fifth control input the address switch 14, the second information input of which is the input of the module operation code 54, the output 2.7 of the control transfer label of the microcontrol register 2 is connected to the third input of the OR element 36, to the first input of the AND element 35 and to the first control input of the switch 20, the output for which, in combination with the output of the OR element 42, the output 59 of the control transmission of the module is formed, the output 2.8 of the control information of the register of 2 microcommands includes the output 2.10 of the synchronization point number and the output of the number of expected events and is connected to the first information inputs of the output switches 19, 20, the output of the point number 2.10 synchronization register 2 microcommands connected to the first input of the comparison circuit 9, the output of which is connected to the second input of the element And 27 and to the second input of the element And 25, the third input of which is connected to the output of the element OR-N E 22, the output of the And 25 element is connected to the first (inverse) input of the And 31 element and to the first input of the And 26 element, the output of which is connected to the first input of the OR element 37, the second input of which is connected to the output of the one-shot 46, the output is 2.9 end mark operation register 2 microcommands connected to the output 60 of the end of the operation of the module, with the fourth input of the OR element 36, with the second input of the OR element 38 and with the second input of the AND element 23, the third input of which is the input 53 of the start module, the output of the And element 23 is connected to the third input element OR 37, the second output of the generator 1 2 clock pulses are connected to the input of a single-shot 44, the output of which is connected to the second input of the And 45 element and to the second input of the And 24 element, the output of which is connected to the installation input of the trigger synchronization control 18, the direct output of which is connected to the first control input of the switch 19, to the first the input of the And 32 element and to the first input of the And 28 element, the output of which is connected to the installation input of the trigger 17, the counting input of which is connected to the inverse output of the trigger 18 of the synchronization control, the direct output of the trigger 17 is connected to the first m the input of the element And 29, the output of which is connected to the reset input of the trigger 18 of the synchronization control, the first output of the clock generator 13 is connected to the second input of the element And 35, to the second input of the element And 28, to the installation input of the trigger 16 channel switching and to the second input of the element And 32, the output of which is connected to the first input of the OR element 40, the output of which is connected to the output 58 of the module synchronization control, the second output of the clock generator 13 is connected to the first input of the And 34 element, with the second input of the And 29 element, with the input throwing the trigger 16 channel switching and with the second input of the AND element 33, the output of which is connected to the second input of the OR element 40 and to the input of the delay element 48, the output of which is connected to the inputs of the shift synchronization (S) and shift resolution (SE) of the buffer storage unit 5, the output of which is connected to the second information input of the switch 19 and to the inputs of the OR element 39, the output of which is connected to the second control input of the switch 19, the third and fourth control inputs of which are connected to the inverse and direct outputs of the trigger 16 is switched of channels, respectively, the module synchronization control input 55 is formed by the input 55.1 of the synchronization point number, the input 55.2 of the number of expected events and the synchronization line 55.3, the input 55.1 of the module synchronization point number is connected to the second input of the comparison circuit 9 and connected to the output of the register-counter 10 events to the information input of the buffer storage unit 5, the write synchronization input (W) of which is connected to the output of the And 31 element, the input 55.2 of the number of expected events of the module is connected to the inputs of the OR-NOT 22 element and with the information input of the register-counter 10 events, the synchronization line 55.3 of the input 55 of the synchronization control module is connected to the input of the delay element 43, the output of which is connected to the synchronization input of the register-counter 10 events, to the second input of the element 26 and to the input of the one-shot 47, the output of which is connected with the second (direct) input of the And 31 element and with the third input of the And 27 element, the fourth input of which is connected to the direct output of the lock trigger 15, the output of the And 27 element is connected to the counting inputs of the lock trigger 15 and the register counter 10 s events, direct and inverse outputs of the trigger 16 channel switching connected respectively to the second and third control inputs of the switch 20, the input 56 of the control module reception is formed by the input 56.1 of the module number, the input 56.2 of the control reception address and the synchronization line 56.3, the input 56.2 of the module control reception address the third information input of the address switch 14 and in combination with the input 56.1 of the device module number is connected to the information input of the buffer storage unit 6, the output of which is connected to the second information the ion input of the switch 20 and to the inputs of the OR element 41, the output of which is connected to the fourth control input of the switch 20 and the second input of the AND element 34, the output of which is connected to the first input of the OR element 42 and to the input of the delay element 49, the output of which is connected to the synchronization inputs shift (S) and shift resolution (SE) of the buffer storage unit 6, the write synchronization input (W) of which is connected to the output of the AND element 30, the first (direct) input of which is connected to the output of the delay element 50, the input of which is connected to the synchronization line 56.3 in a path 56 for receiving control of the module, input 56.1 of the device module number is connected to the second input of the comparison circuit 8, the output of which is connected to the second (inverse) input of the And 30 element, with the input of the one-shot 46, and also with the sixth control input of the address switch 14, the output of the And element 35 is connected to the second input of the OR element 42 and to the input of the delay element 51, the output of which is connected to the fourth input of the OR element 37, the output 2.4 of microoperations (MO) of the register 2 of microcommands is the output of 57 microoperations of the module.

Буферный запоминающий блок 5 (6) (фиг. 2) предназначен для приема, временного хранения и выдачи управляющих сообщений (микрокоманд) типа Z (S) в порядке поступления и содержит группу регистров 61.1-61.L (где L - максимальная длина очереди сообщений в блоке), группу коммутаторов 62.1-62.L-1, дешифратор 63, группу элементов И 64.1-64.L, группу элементов ИЛИ 65.1-65.L, элемент ИЛИ 66, триггер 67 и элемент 68 задержки, причем вход синхронизации сдвига (S) блока подключен к входу элемента 68 задержки, выход которого соединен с входом сброса триггера 67, вход синхронизации сдвига блока подключен к первому входу элемента ИЛИ 66, второй вход которого подключен к входу синхронизации записи (W) блока, выход элемента ИЛИ 66 подключен к входам синхронизации регистров 61.1-61.L, инверсные выходы которых подключены к входам элементов И 64.1-64. L соответственно, выходы которых соединены с входом дешифратора 63, выходы с первого по L-й которого подключены к первым входам элементов ИЛИ 65.1-65.L соответственно, выходы которых подключены к входам разрешения (V-входам) регистров 61.1-61. L соответственно, прямые выходы регистров 61.2-61.L соединены с первыми информационными входами коммутаторов 62.1-62. L-1 соответственно, а прямой выход регистра 61.1 является выходом блока, вход разрешения сдвига (SE) которого соединен с входом установки триггера 67, прямой выход которого подключен к первым управляющим входам коммутаторов 62.1-62.L-1 и к вторым входам элементов ИЛИ 65.1-65.L, инверсный выход триггера 67 соединен с вторыми управляющими входами коммутаторов 62.1-62. L-1, вторые информационные входы которых и информационный вход регистра 61.L соединены с информационным входом (D) блока, выходы коммутаторов 62.1-62.L-1 соединены с информационными входами регистров 61.1-61.L-1 соответственно. The buffer storage unit 5 (6) (Fig. 2) is designed to receive, temporarily store and issue control messages (microcommands) of type Z (S) in the order of receipt and contains a group of registers 61.1-61.L (where L is the maximum length of the message queue in the block), a group of switches 62.1-62.L-1, a decoder 63, a group of elements AND 64.1-64.L, a group of elements OR 65.1-65.L, an element OR 66, a trigger 67 and a delay element 68, the shift synchronization input being (S) of the unit is connected to the input of the delay element 68, the output of which is connected to the reset input of the trigger 67, the shift synchronization input Lok connected to the first input of the OR gate 66, whose second input is connected to the input synchronization recording (W) unit, an output of OR 66 is connected to inputs of a synchronization 61.1-61.L registers inverted outputs are connected to inputs of AND gates 64.1-64. L, respectively, the outputs of which are connected to the input of the decoder 63, the outputs from the first to the Lth of which are connected to the first inputs of the elements OR 65.1-65.L, respectively, whose outputs are connected to the resolution inputs (V-inputs) of the registers 61.1-61. L respectively, the direct outputs of the registers 61.2-61.L are connected to the first information inputs of the switches 62.1-62. L-1, respectively, and the direct output of register 61.1 is the output of the block, the shift enable (SE) input of which is connected to the installation input of trigger 67, the direct output of which is connected to the first control inputs of switches 62.1-62.L-1 and to the second inputs of OR elements 65.1-65.L, the inverse output of the trigger 67 is connected to the second control inputs of the switches 62.1-62. L-1, the second information inputs of which and the information input of the register 61.L are connected to the information input (D) of the unit, the outputs of the switches 62.1-62.L-1 are connected to the information inputs of the registers 61.1-61.L-1, respectively.

Блок 1 памяти микропрограмм предназначен для постоянного хранения и выдачи микрокоманд, входящих в различные участки микропрограмм, закрепленные за текущим модулем. The microprogram memory unit 1 is intended for permanent storage and delivery of microcommands included in various sections of microprograms assigned to the current module.

Регистр 2 микрокоманд служит для приема и фиксации микрокоманд, считываемых из блока 1 памяти микропрограмм, на время их обработки, а регистр 3 адреса - для фиксации исполнительного адреса следующей микрокоманды реализуемого участка микропрограммы, кода очередной операции или адреса приема управления. Register 2 microcommands for receiving and fixing microcommands read from block 1 of the microprogram memory at the time of their processing, and register 3 addresses for fixing the executive address of the next microcommand of the implemented section of the microprogram, the next operation code, or the address of control reception.

Мультиплексор 4 логических условий предназначен для опроса значений логических условий, образующихся на входе 52 логических условий модуля, и модификации значения младшего разряда адреса следующей микрокоманды в точках ветвления микропрограмм. The logical conditions multiplexer 4 is designed to interrogate the values of logical conditions generated at the input 52 of the logical conditions of the module and modify the value of the least significant bit of the address of the next microcommand at the branch points of the microprograms.

Генератор 7 констант предназначен для формирования кода логического номера (идентификатора) модуля. The generator 7 constants is designed to generate the code of the logical number (identifier) of the module.

Схема 8 сравнения служит для сравнения кода логического номера текущего модуля с кодами приемников управляющих микрокоманд типа S и формирования сигнала приема/ретрансляции, определяющего либо прием микрокоманды текущим модулем, либо транзитную передачу микрокоманды на выход 59 передачи управления модуля. The comparison circuit 8 is used to compare the code of the logical number of the current module with the codes of the receivers of the control micro-commands of type S and generate a receive / relay signal that determines either the micro-command is received by the current module or the transit of the micro-command to the output 59 of the control transmission of the module.

Схема 9 сравнения предназначена для сравнения кода номера точки синхронизации, соответствующей выполненному участку микропрограммы, с кодами номеров точек синхронизации микрокоманд типа Z, поступающих на вход 55 управления синхронизацией модуля, и используется как при функционировании модуля в режиме ведомого, так и при работе в режиме ведущего. The comparison circuit 9 is intended for comparing the code of the number of the synchronization point number corresponding to the executed firmware section with the codes of the numbers of synchronization points of type Z microcommands supplied to the module synchronization control input 55 and is used both when the module is operating in the slave mode and when operating in the master mode .

Регистр-счетчик 10 событий предназначен для временного хранения и модификации кодов количества ожидаемых событий микрокоманд управления синхронизацией Z при работе модуля в режиме ведомого. The register-counter 10 events is intended for temporary storage and modification of codes for the number of expected events of the micro-commands for synchronization control Z when the module is in slave mode.

Генератор 12 тактовых импульсов служит для формирования двух непересекающихся во времени импульсных последовательностей t1 и t2 синхронизирующих процесс считывания микрокоманд.The clock generator 12 is used to form two disjoint in time pulse sequences t 1 and t 2 synchronizing the process of reading microcommands.

Генератор 13 тактовых импульсов служит для формирования двух сдвинутых друг относительно друга импульсных последовательностей П1 и П2, синхронизирующих процессы выдачи и приема управляющих микрокоманд S и Z (для обеспечения устойчивой работы устройства и исключения повторной выдачи микрокоманд типа S частоты следования тактовых импульсов F1 и F2, вырабатываемых соответственно генератором 12 и генератором 13, должны удовлетворять соотношению F1 > F2.The clock generator 13 is used to form two shifted relative sequences of pulses P 1 and P 2 , synchronizing the processes of issuing and receiving control microcommands S and Z (to ensure stable operation of the device and to prevent the repeated issuance of microcommands of type S of the repetition rate of clock pulses F 1 and F 2 generated respectively by the generator 12 and the generator 13 must satisfy the relation F 1 > F 2 .

Коммутатор 14 адреса предназначен для передачи кода адреса следующей микрокоманды на информационный вход регистра 3 адреса с одного из трех возможных направлений: с выхода 2.3 регистра 2 микрокоманд и выхода мультиплексора 4 логических условий, с входа 54 кода операции или с входа 56 приема управления модуля. The address switch 14 is designed to transmit the address code of the next microcommand to the information input of address register 3 from one of three possible directions: from the output 2.3 of the register of 2 microcommands and the output of the multiplexer 4 of logical conditions, from the input 54 of the operation code or from the input 56 of the control module reception.

Триггер 11 запуска предназначен для управления работой генератора 12. The trigger 11 trigger is designed to control the operation of the generator 12.

Триггер 15 блокировки служит для блокировки процесса модификации кодов количества ожидаемых событий при многократном прохождении одних и тех же управляющих микрокоманд типа Z. The trigger 15 lock is used to block the process of modifying the codes of the number of expected events during repeated passage of the same control microcommands of type Z.

Коммутатор 19 обеспечивает передачу микрокоманд управления синхронизацией Z, формируемых текущим модулем, и микрокоманд Z, поступающих на вход 55 модуля, на единый выход 58 управления синхронизацией модуля. The switch 19 provides the transfer of the micro-command synchronization Z generated by the current module, and the micro-command Z received at the input 55 of the module, to a single output 58 of the control module synchronization.

Коммутатор 20 обеспечивает передачу микрокоманд типа S, формируемых текущим модулем, и микрокоманд типа S, поступающих с входа 56 приема управления модуля и фиксируемых в буферном запоминающем блоке 6, на единый выход 59 передачи управления модуля. The switch 20 provides the transmission of type S microcommands generated by the current module and type S microcommands coming from the module control reception input 56 and fixed in the buffer storage unit 6 to a single module control transmission output 59.

Триггер 16 переключения каналов используется для управления коммутаторами 19 и 20 (обеспечивает попеременную активизацию первых и вторых информационных входов коммутаторов 19 и 20). The trigger 16 channel switching is used to control the switches 19 and 20 (provides alternate activation of the first and second information inputs of the switches 19 and 20).

Триггеры 17 и 18 в объединении с элементами И 24, 28, 29 и одновибратором 44 предназначены для управления процессом выдачи управляющих микрокоманд типа Z на выход 58 модуля. Triggers 17 and 18 in combination with elements I 24, 28, 29 and one-shot 44 are designed to control the process of issuing control micro-commands of type Z to the output 58 of the module.

Элемент ИЛИ-НЕ 22 служит для формирования сигнала, определяющего состояние поля количества ожидаемых событий микрокоманд Z, поступающих на вход 55 при работе модуля в режиме ведущего. The OR-NOT 22 element is used to generate a signal that determines the state of the field of the number of expected events of microcommands Z received at input 55 when the module is in the master mode.

Элемент И 23, одновибратор 46, элемент И 35 и элемент И 26 служат для формирования сигналов запуска модуля соответственно при инициализации модуля со стороны УУВУ, при передаче управления от другого аналогичного модуля, при окончании процесса выдачи управляющих микрокоманд типа S и при завершении опрашиваемых модулем параллельных участков микропрограммы и совместно с элементом ИЛИ 37 предназначены для управления запуском генератора 12 (переключения в единичное состояние триггера 11 запуска). Element I 23, single-vibrator 46, element I 35 and element I 26 serve to generate module start signals, respectively, when the module is initialized from the SIA, when control is transferred from another similar module, at the end of the process of issuing type S control microcommands, and when parallel sections of the firmware and together with the OR element 37 are designed to control the start of the generator 12 (switching to the single state of the trigger 11 start).

Элемент И 25 служит для формирования сигнала, подтверждающего окончание требуемых параллельных участков микропрограммы,
Элемент И 27 служит для управления прохождением импульсов модификации кодов количества ожидаемых событий, вырабатываемых одновибратором 47, на счетный вход регистра-счетчика 10 событий и управления переключением триггера 15 блокировки.
Element And 25 serves to generate a signal confirming the end of the required parallel sections of the firmware,
Element And 27 serves to control the passage of pulses of modification of codes of the number of expected events generated by a single-shot 47 to the counting input of the register-counter 10 events and control the switching of the trigger 15 of the lock.

Элементы И 30 и 31 предназначены для блокировки записи управляющих микрокоманд S и Z, поступающих соответственно с входов 56 и 55 модуля, в буферные запоминающие блоки 6 и 5 соответственно. Elements And 30 and 31 are designed to block recording of control microcommands S and Z, respectively, coming from the inputs 56 and 55 of the module, in the buffer storage blocks 6 and 5, respectively.

Группы, первая из которых образована элементами И 32, 33 и элементом ИЛИ 40, а вторая - элементами И 34, 35 и элементом ИЛИ 42, служат для управления выдачей импульсов синхронизации приема управляющих микрокоманд Z и S соответственно,
Элемент ИЛИ 36 совместно с элементом И 45 и одновибратором 44 используется для формирования сигнала отключения генератора 12 тактовых импульсов (сброса триггера 11 запуска).
Groups, the first of which is formed by the elements And 32, 33 and the element OR 40, and the second - by the elements And 34, 35 and the element OR 42, are used to control the issuance of synchronization pulses for receiving control microcommands Z and S, respectively,
The OR element 36 together with the And element 45 and the one-shot 44 is used to generate a shutdown signal of the clock generator 12 (reset trigger 11 trigger).

Элемент ИЛИ 38 служит для формирования сигнала управления коммутатором 14 адреса при ожидании модулем передачи управления со стороны другого аналогичного устройства. The OR element 38 serves to generate a control signal of the switch 14 addresses when the transmission module is waiting for control from another similar device.

Элементы ИЛИ 39 и 41 служат для формирования сигналов, характеризующих состояния буферных запоминающих блоков 5 и 6 соответственно, а элементы задержки 48 и 49 - для задержки поступления импульсов сдвига очередей буферных запоминающих блоков 5 и 6 соответственно при выдаче сообщений на время приема сообщений следующим модулем МКС. The OR elements 39 and 41 are used to generate signals characterizing the state of the buffer storage units 5 and 6, respectively, and the delay elements 48 and 49 are used to delay the arrival of shift pulses of the queues of the buffer storage units 5 and 6, respectively, when messages are received while messages are received by the next ISS module .

Элементы 50 и 43 задержки введены для согласования моментов появления импульсов синхронизации приема управляющих микрокоманд S и Z с моментами установления микрокоманд на входах 56 и 55 модуля соответственно, а элемент 51 задержки введен для задержки поступления импульса запуска модуля (после выдачи микрокоманды передачи управления S) на вход установки триггера 11 на время присутствия единичного уровня сигнала на его входе сброса. Delay elements 50 and 43 are introduced to coordinate the timing of the occurrence of synchronization pulses for receiving control microcommands S and Z with the moments of establishment of microcommands at the module inputs 56 and 55, respectively, and the delay element 51 is introduced to delay the receipt of the module start pulse (after issuing the control transfer micro command S) to trigger input 11 for the duration of the presence of a single signal level at its reset input.

Работу предлагаемого устройства поясним примером функционирования кольцевой микроконтроллерной сети (фиг. 3) при реализации параллельного алгоритма управления. The operation of the proposed device is an example of the operation of a ring microcontroller network (Fig. 3) when implementing a parallel control algorithm.

Учитывая идентичность модулей, образующих МКС, работу сети рассмотрим на примере функционирования одного из модулей, например, модуля Мi.Given the identity of the modules forming the ISS, we will consider the operation of the network using the example of the functioning of one of the modules, for example, the module M i .

Первоначально регистры 61.1-61. L и триггеры 67 буферных запоминающих блоков 5 и 6 (фиг. 2), триггер 11 запуска (фиг. 1), триггеры 17 и 18 находятся в состоянии логического нуля, триггер 15 - в состоянии логической единицы, состояние регистра 3 адреса, регистра-счетчика 10 событий и триггера 16 не определено (произвольно), а все разряды регистра 2 микрокоманд, кроме разряда 2.9 метки конца операции (Мко), который установлен в единичное состояние, находятся в состоянии логического нуля, поэтому генератор 12 тактовых импульсов выключен, элемент И 23 открыт, коммутатор 14 адреса настроен на прием информации с входа 54 кода операции модуля, а на выходах элементов ИЛИ 39, 41 присутствуют сигналы логического нуля, индицирующие отсутствие управляющих сообщений в буферных запоминающих блоках 5 и 6 соответственно. Генератор 13 тактовых импульсов не имеет специального управляющего входа и поэтому постоянно вырабатывает две распределенные во времени последовательности синхроимпульсов П1 и П2; на выходе генератора 7 констант присутствует код логического номера модуля (цепи приведения элементов устройства в исходное состояние на фиг. 1 и 2 для упрощения условно не показаны),
Функционирование МКС начинается с момента подачи на вход 54 одного из ее модулей кода выполняемой операции. Код операции формируется УУВУ и поступает на вход 54 модуля, за которым закреплен начальный последовательный участок соответствующей микропрограммы, допустим, модуля Мi. Одновременно на вход 53 модуля подается импульс "Пуск". Код операции поступает на второй информационный вход коммутатора 14 адреса и, так как на его втором и четвертом управляющих входах присутствуют разрешающие сигналы (соответственно "1" и "О"), проходит на информационный вход регистра 3 адреса микрокоманды. Импульс "Пуск" проходит на выход элемента И 23, через элемент ИЛИ 37 передается на вход установки триггера 11 запуска и переключает его в единичное состояние. Единичный сигнал с прямого выхода триггера 11 поступает на вход генератора 12 и разрешает формирование на его выходах импульсных последовательностей t1 и t2.
Initially, registers 61.1-61. L and triggers 67 of the buffer storage blocks 5 and 6 (Fig. 2), trigger 11 of the trigger (Fig. 1), triggers 17 and 18 are in a state of logical zero, trigger 15 is in a state of a logical unit, state register 3 addresses, register- the event counter 10 and trigger 16 are not defined (randomly), and all bits of the register 2 microcommands, except bit 2.9 marks the end of the operation (M ko ), which is set to a single state, are in a state of logical zero, therefore, the clock generator 12 is turned off, element And 23 is open, address switch 14 is configured to receive information from the input 54 of the operation code of the module, and at the outputs of the OR elements 39, 41 there are logical zero signals indicating the absence of control messages in the buffer storage units 5 and 6, respectively. The clock generator 13 does not have a special control input and therefore constantly generates two time-distributed sequences of clock pulses P 1 and P 2 ; at the output of the generator 7 constants there is a code of the logical number of the module (the chain of bringing the elements of the device to its original state in Fig. 1 and 2 are not shown conventionally for simplicity),
The functioning of the ISS begins from the moment of input to the input 54 of one of its modules of the code of the operation being performed. The operation code is generated by the UUVU and fed to the input 54 of the module, which is assigned the initial sequential section of the corresponding microprogram, for example, module M i . At the same time, the start pulse is applied to the input 53 of the module. The operation code arrives at the second information input of the address switch 14 and, since its second and fourth control inputs have enable signals (respectively “1” and “O”), it passes to the information input of register 3 of the micro command address. The start pulse passes to the output of the AND 23 element, through the OR 37 element it is transmitted to the installation input of the trigger 11 and switches it to a single state. A single signal from the direct output of the trigger 11 is supplied to the input of the generator 12 and allows the formation of pulse sequences t 1 and t 2 at its outputs.

По переднему фронту первого тактового импульса t1 с первого выхода генератора 12 код операции фиксируется в регистре 3 и поступает на адресный вход блока 1 памяти микропрограмм, на выходе которого через некоторое время появляется первая микрокоманда выполняемой микропрограммы. По переднему фронту импульса t2, поступающего на вход синхронизации регистра 2 с второго выхода генератора 12, считанная микрокоманда заносится в регистр 2 микрокоманд и появляется на его выходе, а задний фронт импульса t2 возбуждает импульс на выходе одновибратора 44. Дальнейший ход работы устройства определяется форматом считанной микрокоманды (фиг. 4).On the leading edge of the first clock pulse t 1 from the first output of the generator 12, the operation code is fixed in register 3 and fed to the address input of the microprogram memory block 1, the output of which after a while the first microcommand of the microprogram being executed appears. On the leading edge of the pulse t 2 received at the synchronization input of register 2 from the second output of the generator 12, the read micro-command is entered in the register 2 of the micro-commands and appears at its output, and the trailing edge of the pulse t 2 excites the pulse at the output of the one-shot 44. The further operation of the device is determined the format of the read micro command (Fig. 4).

Случай 1. Если считанная микрокоманда имеет формат А, то на выходах 2.5-2.7 и 2.9 регистра 2 микрокоманд устанавливается нулевой уровень сигнала, состояние выхода 2.8 становится неопределенным и, соответственно, на выходе элемента ИЛИ 36 формируется нулевой сигнал, а коммутатор 14 адреса настраивается на прием информации с его первого информационного входа. Нулевой сигнал с выхода элемента ИЛИ 36 блокирует элемент И 45, запрещая тем самым сброс триггера 11 запуска; нулевой сигнал с выхода 2.5 регистра 2 блокирует элементы И 24, 25; нулевой сигнал с выхода 2.6 регистра 2 подтверждает исходное (единичное) состояние триггера 15 и формирует нулевой уровень сигнала на выходе элемента И 27, а нулевой сигнал с выхода 2.7 регистра 2 обусловливает блокировку элемента И 35 и первого информационного входа коммутатора 20. Операционная часть микрокоманды с выхода 2.4 регистра 2 микрокоманд передается на выход 57 модуля для возбуждения требуемых микроопераций. Case 1. If the read microcommand has the format A, then the outputs 2.5-2.7 and 2.9 of register 2 of the microcommands set the signal level to zero, the state of the output 2.8 becomes undefined and, accordingly, a zero signal is generated at the output of the OR 36 element, and the address switch 14 is configured to receiving information from its first information input. The zero signal from the output of the OR element 36 blocks the AND element 45, thereby prohibiting the reset of the trigger 11 trigger; a zero signal from the output of 2.5 register 2 blocks the elements And 24, 25; the zero signal from the output 2.6 of register 2 confirms the initial (single) state of the trigger 15 and generates a zero signal level at the output of the And 27 element, and the zero signal from the output of 2.7 register 2 blocks the And 35 element and the first information input of the switch 20. The operational part of the microcommand with output 2.4 of the register 2 microcommands is transmitted to the output 57 of the module to initiate the required micro-operations.

Одновременно осуществляется формирование исполнительного адреса следующей микрокоманды. At the same time, the executive address of the next micro-command is formed.

Код логического условия с выхода 2.1 и модифицируемый разряд адреса с выхода 2.2 регистра 2 микрокоманд поступают соответственно на адресный и первый информационный входы мультиплексора 4 логических условий. Если код опрашиваемого логического условия не является нулевым, то на выход мультиплексора 4 передается сигнал с соответствующего разряда входа 52 логических условий модуля, в противном случае (т.е. если код логического условия является нулевым) на выход мультиплексора 4 поступает исходное значение младшего разряда адреса с выхода 2.2 регистра 2. Таким образом, на выходе мультиплексора 4 образуется модифицированное значение младшего разряда адреса, которое в объединении с немодифицируемой (старшей) частью адреса с выхода 2.3 регистра 2 определяет исполнительный адрес следующей микрокоманды. Сформированный исполнительный адрес поступает на первый информационный вход коммутатора 14 адреса. The logical condition code from output 2.1 and the modifiable bit of the address from output 2.2 of register 2 of the microcommands are received respectively at the address and first information inputs of the multiplexer 4 of the logical conditions. If the code of the interrogated logical condition is not zero, then the signal from the corresponding bit of the input 52 of the logical conditions of the module is transmitted to the output of multiplexer 4, otherwise (i.e., if the code of the logical condition is zero) the initial value of the least significant bit of the address from the output 2.2 of register 2. Thus, at the output of the multiplexer 4, a modified value of the least significant bit of the address is formed, which in combination with the unmodifiable (high) part of the address from the output 2.3 of register 2 is defined yaet executive address of the next microinstruction. The generated executive address is supplied to the first information input of the address switch 14.

Так как на первом и третьем управляющих входах коммутатора 14 присутствуют нулевые сигналы, поступающие соответственно с выходов 2.9 и 2.6 регистра 2, исполнительный адрес следующей микрокоманды передается на информационный вход регистра 3 адреса. В момент появления на входе синхронизации регистра 3 очередного тактового импульса t1 адрес следующей микрокоманды заносится в регистр 3 и адресует блок 1 памяти микропрограмм, обеспечивая считывание очередной микрокоманды. Далее модуль приступает к выполнению считанной микрокоманды и функционирует аналогично ранее рассмотренному,
Случай 2. Если считанная микрокоманда имеет формат Б (фиг. 4), то модуль переходит в режим передачи управления другому аналогичному модулю МКС или инициализации параллельного участка микропрограммы. На выходах 2.4-2.6 и 2.9 регистра 2 микрокоманд устанавливается нулевой уровень сигнала, а на выходе 2.7 формируется единичный сигнал - метка передачи управления (Мпу). Номер модуля, которому передается управление (р), и адрес передачи управления (Апу) с выхода 2.8 управляющей информации регистра 2 микрокоманд (управляющая микрокоманда типа S) поступают на первый информационный вход коммутатора 20, а метка передачи управления подается на третий вход элемента ИЛИ 36 и первый вход элемента И 35, а также на первый управляющий вход коммутатора 20.
Since the first and third control inputs of the switch 14 there are zero signals coming from the outputs 2.9 and 2.6 of register 2, respectively, the executive address of the next microcommand is transmitted to the information input of register 3 of the address. When the next clock pulse t 1 appears at the synchronization input of register 3, the address of the next microcommand is entered in register 3 and addresses the microprogram memory block 1, ensuring the reading of the next microcommand. Next, the module starts executing the read micro-command and functions similarly to the previously considered,
Case 2. If the read micro-command has the format B (Fig. 4), the module switches to the control transfer mode to another similar module of the ISS or to initializing a parallel section of the firmware. At the outputs 2.4-2.6 and 2.9 of the register 2 microcommands, the signal level is set to zero, and at the output 2.7 a single signal is formed - the control transfer mark (M pu ). The number of the module to which control (p) is transferred, and the control transfer address (A pu ) from the output 2.8 of the control information of the register of 2 microcommands (control micro-command of type S) are sent to the first information input of the switch 20, and the control transfer mark is fed to the third input of the OR element 36 and the first input of the And element 35, as well as the first control input of the switch 20.

Единичный сигнал, образующийся на выходе элемента ИЛИ 36, открывает элемент И 45 и импульс, формируемый одновибратором 44, через элемент И 45 проходит на вход сброса триггера 11 запуска. Триггер 11 переключается в нулевое состояние, и нулевой сигнал с его прямого выхода запрещает работу генератора 12: модуль временно переходит в состояние ожидания. A single signal generated at the output of the OR element 36 opens the And element 45 and the pulse generated by the single-shot 44 passes through the And 45 element to the reset input of the trigger 11 of the launch. The trigger 11 switches to the zero state, and the zero signal from its direct output prohibits the operation of the generator 12: the module temporarily enters the standby state.

Очередной импульс П1 с первого выхода генератора 13 переключает триггер 16 в единичное состояние и единичный сигнал с прямого выхода триггера 16 поступает на второй управляющий вход коммутатора 20, обеспечивая выдачу управляющей микрокоманды S передачи управления на выход 59 передачи управления модуля, при этом нулевой сигнал с инверсного выхода триггера 16 блокирует второй информационный вход коммутатора 20. Одновременно импульс П1 через открытый элемент И 35 и элемент ИЛИ 42 поступает на выход 59 модуля и обеспечивает синхронизацию приема выдаваемой микрокоманды S следующим аналогичным модулем МКС, Этот же импульс с выхода элемента И 35 через элемент 51 задержки и элемент ИЛИ 37 подается на вход установки триггера 11 запуска и возвращает его в единичное состояние (необходимость блокировки генератора 12 на время выдачи управляющих микрокоманд S вызвана возможностью смены информации на выходе 2.8 регистра 2 до появления очередного импульса П1, поскольку F1 > F2).The next pulse P 1 from the first output of the generator 13 switches the trigger 16 to a single state and a single signal from the direct output of the trigger 16 is fed to the second control input of the switch 20, providing a control micro-command S of the control transmission to the output 59 of the control transmission of the module, while the zero signal the inverse output of the trigger 16 blocks the second information input of the switch 20. At the same time, the pulse P 1 through the open element And 35 and the element OR 42 is fed to the output 59 of the module and provides synchronization of receiving of the micro-command S to be used by the following similar module of the ISS, The same pulse from the output of the And 35 element through the delay element 51 and the OR 37 element is fed to the installation input of the trigger 11 and returns to the unit state (it is necessary to lock the generator 12 for the duration of the issuing of the micro-S commands due to the possibility change of information at the output of 2.8 register 2 until the next impulse P 1 appears, since F 1 > F 2 ).

Код опрашиваемого логического условия с выхода 2.1 и модифицируемый разряд адреса с выхода 2.2 регистра 2 поступают соответственно на адресный и первый информационный входы мультиплексора 4 и формируют на его выходе новое значение младшего разряда адреса. Значение с выхода мультиплексора 4 в объединении с немодифицируемыми разрядами адреса с выхода 2.3 регистра 2 образует исполнительный адрес очередной микрокоманды. Этот адрес через коммутатор 14 передается на информационный вход регистра 3. Единичный сигнал с прямого выхода триггера 11 включает генератор 12 и текущий модуль возобновляет выполнение микропрограммы с адреса, сформированного на информационном входе регистра 3. The code of the interrogated logical condition from output 2.1 and the modifiable digit of the address from output 2.2 of register 2 are received respectively at the address and first information inputs of multiplexer 4 and form a new value of the least significant bit of the address at its output. The value from the output of the multiplexer 4 in combination with non-modifiable bits of the address from the output 2.3 of register 2 forms the executive address of the next micro-command. This address is transmitted through the switch 14 to the information input of the register 3. A single signal from the direct output of the trigger 11 turns on the generator 12 and the current module resumes the firmware from the address generated on the information input of the register 3.

Случай 3. Если считанная микрокоманда имеет формат В (фиг. 4), то модуль Мi получает статус ведущего и переходит в режим управления синхронизацией завершения группы параллельных участков, закрепленных за другими модулями. На выходах 2.4, 2.6, 2.7 и 2.9 регистра 2 микрокоманд устанавливается нулевой уровень сигнала, на выходе 2.5 появляется единичный сигнал - метка управления синхронизацией (Мус), а на выходе 2.8 управляющей информации формируется код номера точки синхронизации (НТС) Тq и код соответствующего количества ожидаемых событий (КОС) (завершаемых параллельных участков) Wq, образующие микрокоманду управления синхронизацией Zq.Case 3. If the read micro-command has format B (Fig. 4), then the module M i receives the status of the master and switches to the synchronization control mode of completion of the group of parallel sections assigned to other modules. At the outputs 2.4, 2.6, 2.7, and 2.9 of register 2 of microcommands, the signal level is set to zero, a single signal appears at the output 2.5 - a synchronization control label (M usd ), and at the output 2.8 of the control information, a synchronization point number (NTS) code T q and a code are generated the corresponding number of expected events (CBS) (completed parallel sections) W q , forming a micro command synchronization Z q .

Код НТС с выхода 2.8 (2.10) регистра 2 поступает на первый вход схемы 9 сравнения и, кроме того, совместно с кодом КОС подается на первый информационный вход коммутатора 19. Единичная метка Мус с выхода 2.5 регистра 2 поступает на первые входы элемента И 24, элемента И 25 (на втором входе которого находится нулевой (запрещающий) сигнал несовпадения с выхода схемы 9 сравнения) и элемента ИЛИ 36. Аналогично ранее рассмотренному единичный сигнал, образующийся на выходе элемента ИЛИ 36, открывает элемент И 45 и импульс, формируемый одновибратором 44, через элемент И 45 проходит на вход сброса триггера 11. Триггер 11 переключается в нулевое состояние и тем самым запрещает работу генератора 12: модуль переходит в состояние ожидания.The STC code from the output 2.8 (2.10) of register 2 is supplied to the first input of the comparison circuit 9 and, in addition, together with the CBS code, it is supplied to the first information input of the switch 19. A single label M us from the output 2.5 of register 2 is supplied to the first inputs of the And 24 element , AND 25 element (at the second input of which there is a zero (inhibitory) mismatch signal from the output of the comparison circuit 9) and OR 36. Similarly to the previously considered, a single signal generated at the output of OR 36 opens the And 45 element and the pulse generated by the single-shot 44 through eleme NT 45 passes to the reset input of trigger 11. Trigger 11 switches to the zero state and thereby inhibits the operation of generator 12: the module goes into standby state.

Одновременно импульс с выхода одновибратора 44 через открытый элемент И 24 проходит на вход установки триггера 18 управления синхронизацией и переводит его в единичное состояние. Единичный сигнал с прямого выхода триггера 18 поступает на первый управляющий вход коммутатора 19, открывает элемент И 32 и, кроме того, подается на первый вход элемента И 28. Очередной импульс П1 с первого выхода генератора 13 переключает триггер 16 в единичное состояние и одновременно с единичным сигналом, образующимся на его прямом выходе и поступающим на четвертый управляющий вход коммутатора 19, подается на второй вход элемента И 32. Появление единичных сигналов на первом и четвертом управляющих входах коммутатора 19 при одновременной блокировке его третьего управляющего входа нулевым сигналом с инверсного выхода триггера 16 обусловливает передачу управляющей микрокоманды Zq с первого информационного входа коммутатора 19 на выход 58 управления синхронизацией модуля. В свою очередь импульс П1 проходит через элемент И 32, элемент ИЛИ 40, поступает на выход 58 модуля и обеспечивает прием вырабатываемой микрокоманды Zq модулем Мi+1.At the same time, the pulse from the output of the one-shot 44 through the open element And 24 passes to the input of the installation of the trigger 18 of the synchronization control and puts it in a single state. A single signal from the direct output of the trigger 18 goes to the first control input of the switch 19, opens the element And 32 and, in addition, is fed to the first input of the element And 28. The next pulse P 1 from the first output of the generator 13 switches the trigger 16 to a single state and simultaneously with a single signal generated at its direct output and arriving at the fourth control input of the switch 19 is fed to the second input of the And 32 element. The appearance of single signals at the first and fourth control inputs of the switch 19 while blocking Application of its third control input signal to zero inverse output of the trigger 16 causes the transmission of control microinstruction Z q to the first data input switch 19 to the synchronization control module 58 output. In turn, the pulse P 1 passes through the element And 32, the element OR 40, is fed to the output of the module 58 and provides reception of the generated microcommands Z q module M i + 1 .

Одновременно импульс П1 через открытый элемент И 28 проходит на вход установки триггера 17 и переводит его в единичное состояние. Единичный сигнал с прямого выхода триггера 17 поступает на первый вход элемента И 29. Импульс П2 с второго выхода генератора 13 через открытый элемент И 29 передается на вход сброса триггера 18 и возвращает его в состояние логического нуля. Нулевой сигнал с прямого выхода триггера 18 блокирует элементы И 32 и 28 и, поступая также на первый управляющий вход коммутатора 19, отключает выход 2.8 управляющей информации регистра 2 микрокоманд от выхода 58 управления синхронизацией модуля. В то же время положительный перепад уровня сигнала, возникающий на инверсном выходе триггера 18, переключает триггер 17 в исходное (нулевое) состояние и нулевой сигнал с прямого выхода триггера 17 блокирует элемент И 29. Поступление импульсов П1 и П2 на входы триггеров 17 и 18 прекращается.At the same time, the pulse P 1 through the open element And 28 passes to the input of the installation of the trigger 17 and translates it into a single state. A single signal from the direct output of the trigger 17 is supplied to the first input of the And 29 element. The pulse P 2 from the second output of the generator 13 through the open And 29 element is transmitted to the reset input of the trigger 18 and returns it to the state of logical zero. The zero signal from the direct output of the trigger 18 blocks the elements And 32 and 28 and, acting also on the first control input of the switch 19, disconnects the output 2.8 of the control information of the register 2 microcommands from the output 58 of the control module synchronization. At the same time, a positive signal level difference occurring at the inverted output of trigger 18 switches the trigger 17 to its initial (zero) state and the zero signal from the direct output of trigger 17 blocks element 29. The arrival of pulses P 1 and P 2 to the inputs of triggers 17 and 18 stops.

Микрокоманды управления синхронизацией, вырабатываемые аналогичным образом другими модулями МКС, поступают на вход 55 модуля и размещаются в буферном запоминающем блоке 5 (ход обработки микрокоманд Z перед размещением в блоке 5 детально рассмотрен ниже). Первая из поступивших микрокоманд с выхода блока 5 подается на второй информационный вход коммутатора 19 и, кроме того, формирует единичный сигнал на выходе элемента ИЛИ 39. Очередной импульс П2 с второго выхода генератора 13 возвращает триггер 16 в нулевое состояние. Нулевой сигнал с прямого выхода триггера 16 блокирует первый, а единичный сигнал с инверсного выхода открывает второй информационный вход коммутатора 19. Единичный сигнал с выхода элемента ИЛИ 39 поступает на второй управляющий вход коммутатора 19, и управляющая микрокоманда с выхода блока 5 через коммутатор 19 ретранслируется на выход 58 модуля. Одновременно этот же сигнал подается на первый вход элемента И 33. Импульс П2 через открытый элемент И 33, элемент ИЛИ 40 поступает на выход 58 модуля и обеспечивает прием ретранслируемой микрокоманды следующим модулем сети.The synchronization control micro-commands generated in a similar way by other ISS modules are input to the module 55 and placed in the buffer storage unit 5 (the processing of micro-commands Z before being placed in unit 5 is discussed in detail below). The first of the received microcommands from the output of block 5 is fed to the second information input of the switch 19 and, in addition, generates a single signal at the output of the OR 39 element. The next pulse P 2 from the second output of the generator 13 returns the trigger 16 to zero state. The zero signal from the direct output of the trigger 16 blocks the first, and a single signal from the inverse output opens the second information input of the switch 19. A single signal from the output of the OR element 39 is fed to the second control input of the switch 19, and the control micro command from the output of block 5 through the switch 19 is relayed to 58 module output. At the same time, the same signal is supplied to the first input of the And 33 element. The P 2 pulse through the open And 33 element, the OR element 40 is fed to the output of the module 58 and ensures the reception of the relayed micro-command by the next network module.

Одновременно импульс П2 с выхода элемента И 33 через элемент 48 задержки подается на входы сдвига и разрешения сдвига блока 5 и задним фронтом осуществляет сдвиг существующей очереди управляющих микрокоманд (функционирование блока 5 детально рассматривается на примере работы идентичного блока 6 и приводится ниже),
Случай 4. Если считанная микрокоманда имеет формат Г (фиг. 4), то модуль Мi завершает выполнение соответствующего параллельного или последовательного участка микропрограммы и переходит в состояние активного ожидания. На выходах 2.4, 2.5, 2.7 и 2.9 регистра 2 микрокоманд формируется нулевой уровень сигнала, на выходе 2.6 устанавливается единичный сигнал - метка конца параллельного/последовательного участка (Мкпу), состояние выходов 2.1-2.3 становится неопределенным, а на выходе 2.8 (2.10) регистра 2 появляется код номера точки синхронизации Tq, завершающей выполненный участок микропрограммы, - для параллельного и нулевой код - для последовательного участка. Единичный сигнал Мкпу с выхода 2.6 регистра 2 через элемент ИЛИ 36 поступает на первый вход элемента И 45. Импульс с выхода одновибратора 44 через элемент И 45 поступает на вход сброса триггера 11 запуска, переводит его в нулевое состояние и тем самым выключает генератор 12. Одновременно метка Мкпу с выхода 2.6 регистра 2 поступает на первый вход элемента И 27, разрешает переключение триггера 15, блокирует элемент И 23 и, поступая также на третий, четвертый и пятый управляющие входы коммутатора 14 адреса, настраивает его на прием информации (адреса при передаче управления на данный модуль) с входа 56 приема управления модуля.
At the same time, the pulse P 2 from the output of the And 33 element through the delay element 48 is fed to the shift and shift enable inputs of block 5 and trails the existing microcontrol command queue (the operation of block 5 is described in detail on the example of the operation of identical block 6 and is given below),
Case 4. If the read micro-command has the format G (Fig. 4), then the module M i completes the execution of the corresponding parallel or sequential section of the microprogram and switches to the active standby state. At outputs 2.4, 2.5, 2.7, and 2.9 of register 2 of microcommands, a zero signal level is formed, at output 2.6, a single signal is set - the label of the end of the parallel / serial section (M kpu ), the state of outputs 2.1-2.3 becomes undefined, and at output 2.8 (2.10) In register 2, the code of the synchronization point number T q appears, completing the completed firmware section, for parallel and zero code, for the sequential section. A single signal M kpu from the output 2.6 of register 2 through the OR 36 element is supplied to the first input of the And 45 element. The pulse from the output of the single-shot 44 through the And 45 element is fed to the reset input of the trigger 11, puts it into zero state and thereby turns off the generator 12. At the same time, the label M kpu from the output 2.6 of register 2 is fed to the first input of the And 27 element, allows the trigger 15 to be switched, blocks the And 23 element, and also arriving at the third, fourth and fifth control inputs of the address switch 14, it is configured to receive information (addresses at per control over the given module) from the input 56 of the control module reception.

Очередная микрокоманда управления синхронизацией Zt (выработанная модулем Мk) в сопровождении импульса синхронизации появляется на входе 55 модуля; код КОС Wt поступает на информационный вход регистра-счетчика 10 и входы элемента ИЛИ-НЕ 22, а код HTC Tt подается на второй вход схемы 9 сравнения и сопоставляется с кодом Tq, поступающим с выхода 2.10 регистра 2. Импульс синхронизации, сопровождающий микрокоманду Zt, с входа (линии) 55.3 модуля поступает на вход элемента 43 задержки и со сдвигом во времени появляется на его выходе. С выхода элемента 43 импульс синхронизации подается на вход синхронизации регистра-счетчика 10 событий и передним фронтом фиксирует в нем поступивший код Wt.The next micro-command synchronization control Z t (generated by the module M k ) accompanied by a synchronization pulse appears at the input 55 of the module; the CBS code W t is supplied to the information input of the register-counter 10 and the inputs of the OR-NOT 22 element, and the HTC T t code is fed to the second input of the comparison circuit 9 and compared with the code T q received from the output 2.10 of register 2. The synchronization pulse accompanying the micro-command Z t , from the input (line) 55.3 of the module enters the input of the delay element 43 and appears at its output with a time shift. From the output of element 43, a synchronization pulse is supplied to the synchronization input of the register-counter 10 events and the leading edge captures the received code W t in it .

В случае совпадения кодов HTC Тq и Тt на выходе схемы 9 появляется единичный сигнал, который поступает на второй вход элемента И 27. Так как на выходе 2.5 регистра 2 микрокоманд присутствует сигнал логического нуля, нулевой сигнал с выхода элемента И 25 блокирует элемент И 26, не допуская переключение триггера 11 в единичное состояние, и, кроме того, открывает элемент И 31.If the codes HTC T q and T t match, a single signal appears at the output of circuit 9, which is fed to the second input of the And 27 element. Since there is a logic zero signal at the output of register 2 of the 2 microcommands, the zero signal from the output of the And 25 element blocks the And element 26, preventing the switching of the trigger 11 to a single state, and, in addition, opens the element And 31.

Импульс с выхода элемента 43 задержки подается на вход одновибратора 47 и задним фронтом возбуждает на его выходе импульс v. Импульс v с выхода одновибратора 47 поступает на третий вход элемента И 27 и, так как на четвертом входе этого элемента присутствует единичный (разрешающий) сигнал с прямого выхода триггера 15, проходит на его выход. С выхода элемента И 27 импульс v поступает на счетный вход регистра-счетчика 10 и передним фронтом инициирует операцию обратного счета: код Wt уменьшается на единицу. Одновременно импульс v появляется на входе синхронизации триггера 15 и задним фронтом переключает его в нулевое состояние. Нулевой сигнал с прямого выхода триггера 15 блокирует элемент И 27, запрещая прохождение очередного импульса v, и, таким образом, не позволяет модулю Мi повторно модифицировать поле КОС этой же микрокоманды Zt при ее очередном появлении на входе 55 модуля (данная блокировка необходима, когда в силу существенного рассогласования моментов окончания различных параллельных участков одни и те же управляющие микрокоманды могут многократно транслироваться по кольцу МКС).The pulse from the output of the delay element 43 is fed to the input of the single-vibrator 47 and, by the trailing edge, excites the pulse v at its output. The pulse v from the output of the single vibrator 47 is fed to the third input of the And element 27 and, since there is a single (enable) signal from the direct output of the trigger 15 at the fourth input of this element, it passes to its output. From the output of the element And 27, the pulse v enters the counting input of the register-counter 10 and initiates a countdown operation by the rising edge: the code W t decreases by one. At the same time, a pulse v appears at the trigger synchronization input 15 of the trigger and switches it to the zero state by a trailing edge. The zero signal from the direct output of trigger 15 blocks the And element 27, preventing the passage of the next pulse v, and thus does not allow the module M i to repeatedly modify the CBS field of the same micro command Z t when it appears again at the input of the module 55 (this blocking is necessary, when, due to a significant discrepancy in the moments of the end of various parallel sections, the same control microcommands can be repeatedly broadcast on the ISS ring).

При несовпадении кодов HTC Tq и Tt на втором входе элемента И 27 формируется запрещающий (нулевой) сигнал, импульс v с выхода одновибратора 47 не проходит через элемент И 27 и, таким образом, код Wt, размещенный в регистре-счетчике 10, остается неизменным. Аналогично код Wt не модифицируется, если текущий модуль продолжает выполнение микропрограммы и нулевой сигнал с выхода 2.6 блокирует элемент И 27.If the codes HTC T q and T t do not coincide, a prohibitory (zero) signal is generated at the second input of the And 27 element, the pulse v from the output of the one-shot 47 does not pass through the And 27 element, and thus, the code W t located in the counter register 10, remains unchanged. Similarly, the code W t is not modified if the current module continues to execute the firmware and a zero signal from the output 2.6 blocks the AND element 27.

Модифицированный код Wt с выхода регистра-счетчика 10 в объединении с кодом HTC Tt с входа 55.1 модуля поступает на информационный вход буферного запоминающего блока 5. Одновременно импульс v с выхода одновибратора 47 через открытый элемент И 31 поступает на W-вход блока 5 и обеспечивает фиксацию микрокоманды Zt для передачи следующему модулю МКС.The modified code W t from the output of the register counter 10 in combination with the HTC T t code from the input 55.1 of the module is supplied to the information input of the buffer storage unit 5. At the same time, the pulse v from the output of the one-shot 47 through the open element And 31 is fed to the W-input of block 5 and provides fixation of the micro command Z t for transmission to the next module of the ISS.

Случай 5. Если считанная микрокоманда имеет формат Д (фиг. 4), то на выходах 2.4-2.7 регистра 2 формируется нулевой уровень сигнала, на выходе 2.9 появляется единичный сигнал - метка конца операции (Мко), а состояние остальных выходов становится неопределенным. Метка Мко с выхода 2.9 регистра 2 через элемент ИЛИ 36 проходит на первый вход элемента И 45. Импульс с выхода одновибратора 44 проходит через элемент И 45 и переводит триггер 11 в нулевое состояние, выключая тем самым генератор 12. В тоже время метка Мко поступает на первый и второй, а также через элемент ИЛИ 38 - на пятый управляющие входы коммутатора 14 и настраивает коммутатор 14 либо на прием кода операции с входа 54 модуля, либо на прием адреса передачи управления с входа 56.2 модуля. Одновременно метка Мко поступает на выход 60 конца операции модуля и сообщает УУВУ о завершении выполнения текущей и готовности МКС к реализации очередной операции.Case 5. If the read microcommand has the D format (Fig. 4), then at outputs 2.4-2.7 of register 2 a zero signal level is formed, at output 2.9 a single signal appears - the mark of the end of the operation (M ko ), and the state of the remaining outputs becomes undefined. The mark M ko from the output 2.9 of register 2 through the OR element 36 passes to the first input of the element And 45. The pulse from the output of the one-shot 44 passes through the element And 45 and puts the trigger 11 to zero, thereby turning off the generator 12. At the same time, the mark M k arrives at the first and second, as well as through the OR element 38, to the fifth control inputs of the switch 14 and configures the switch 14 either to receive the operation code from the input 54 of the module or to receive the address of the control transfer from the input 56.2 of the module. At the same time the mark M is output to the 60 end of the module operation and informs UUVU on the completion of the current ISS and willingness to implement the next operation.

Рассмотрим работу модуля в режиме приема и анализа микрокоманд передачи управления типа S. Let us consider the operation of the module in the mode of reception and analysis of type S control transfer micro-commands

Микрокоманда передачи управления S, выработанная модулем Мi, последовательно транслируется по кольцу МКС и в некоторый момент поступает на вход 56 приема управления модуля Mi+h. Номер приемника управления p, содержащийся в адресной части поступающей микрокоманды, подается на второй вход схемы 8 сравнения и сравнивается с номером текущего модуля Mi+h, формируемым на выходе генератора 7 констант, а адрес передачи управления Апу передается на третий информационный вход коммутатора 14 адреса. Одновременно микрокоманда S подается на информационный вход буферного запоминающего блока 6.The control transfer micro-command S, developed by the module М i , is sequentially transmitted along the ISS ring and at some moment it enters the input 56 of the control reception of the module M i + h . The number of the control receiver p contained in the address part of the incoming microcommands is fed to the second input of the comparison circuit 8 and compared with the current module number M i + h generated at the output of the constant generator 7, and the control transfer address A pu is transmitted to the third information input of the switch 14 addresses. At the same time, the micro-command S is supplied to the information input of the buffer storage unit 6.

При совпадении номера p с номером текущего модуля Mi+h на выходе схемы 8 сравнения устанавливается единичный уровень сигнала. Единичный сигнал с выхода схемы 8 сравнения передается на шестой управляющий вход коммутатора 14, на вход одновибратора 46 и блокирует элемент И 30. Так как хотя бы на одном из входов элемента ИЛИ 38 имеется единичный сигнал (т.е. рассматриваемый модуль завершил выполнение какого-либо участка микропрограммы или операции в целом), что является условием правильности работы МКС и обеспечивается наличием средств синхронизации завершения параллельных участков, на пятом управляющем входе коммутатора 14 также присутствует единичный сигнал, поэтому Апу через коммутатор 14 поступает на информационный вход регистра 3 адреса. Одновременно положительный перепад уровня сигнала, возникающий на входе одновибратора 46, возбуждает на его выходе импульс, который через элемент ИЛИ 37 поступает на вход установки триггера 11, переключает его в единичное состояние и, таким образом, запускает генератор 12. Первый тактовый импульс t1 с первого выхода генератора 12 подается на вход синхронизации регистра 3 и обеспечивает фиксацию поступившего на его информационный вход адреса Апу. Модуль Мi+h начинает выполнение микропрограммы с адреса Апу.When the number p coincides with the number of the current module M i + h, the output signal of the comparison circuit 8 is set to a single signal level. A single signal from the output of the comparison circuit 8 is transmitted to the sixth control input of the switch 14, to the input of the one-shot 46 and blocks the AND element 30. Since at least one of the inputs of the OR element 38 has a single signal (i.e., the considered module has completed some either part of the firmware or operation as a whole), which is a condition for the correct operation of the ISS and is ensured by the availability of synchronization means for completing parallel sections, a single signal is also present at the fifth control input of switch 14, therefore PU via the switch 14 is supplied to the data input of the address register 3. At the same time, a positive difference in the signal level occurring at the input of the single-vibrator 46 excites a pulse at its output, which, through the OR element 37, enters the installation input of the trigger 11, switches it to the single state, and thus starts the generator 12. The first clock pulse t 1 s the first output of the generator 12 is fed to the input of the synchronization register 3 and provides a fix received on its information input addresses And PU . The module M i + h starts the execution of the firmware from the address And PU .

В дальнейшем работа устройства по реализации микропрограммы ничем не отличается от функционирования модуля Мi при выполнении начального последовательного участка микропрограммы.In the future, the operation of the device for the implementation of the firmware is no different from the functioning of the module M i when performing the initial sequential portion of the firmware.

В то же время импульс синхронизации, сопровождающий поступившую микрокоманду S с линии 56.3 синхронизации подается на вход элемента 50 задержки, спустя заданное время появляется на его выходе и поступает на первый вход элемента И 30. Так как элемент И 30 заблокирован единичным сигналом совпадения с выхода схемы 8 сравнения, импульс синхронизации не проходит на его выход, а следовательно, и на вход синхронизации записи W буферного запоминающего блока 6. Таким образом, запись поступившей микрокоманды в блок 6 с целью дальнейшей передачи не производится. At the same time, the synchronization pulse accompanying the received micro-command S from the synchronization line 56.3 is supplied to the input of the delay element 50, after a specified time appears at its output and goes to the first input of the And 30 element. Since the And 30 element is blocked by a single coincidence signal from the output of the circuit 8 comparison, the synchronization pulse does not pass to its output, and therefore, to the recording synchronization input W of the buffer storage unit 6. Thus, the recording of the received microcommands in block 6 for the purpose of further transmission is not performed is running out.

Если совпадение номера p и номера модуля Mi+h не происходит, то на выходе схемы 8 сравнения сохраняется нулевой уровень сигнала. Импульс синхронизации с линии 56.3 модуля через элемент 50 задержки и открытый элемент И 30 проходит на вход синхронизации записи W буферного запоминающего блока 6 и обеспечивает прием поступившей микрокоманды S для передачи следующему модулю сети Mi+h+1; состояние текущего модуля остается неизменным.If the coincidence of the number p and the module number M i + h does not occur, then at the output of the comparison circuit 8, the signal level is zero. The synchronization pulse from the module line 56.3 through the delay element 50 and the open element And 30 passes to the write synchronization input W of the buffer storage unit 6 and provides the received micro-command S for transmission to the next network module M i + h + 1 ; the state of the current module remains unchanged.

Микрокоманда (управляющее сообщение) S с информационного входа буферного запоминающего блока 6 (фиг. 2) передается на информационный вход регистра 61. L и на вторые информационные входы коммутаторов 62.1-62.L-1. Так как триггер 67 находится в состоянии логического нуля, единичный сигнал с его инверсного выхода поступает на вторые управляющие входы коммутаторов 62.1-62. L-1 и обеспечивает передачу управляющей микрокоманды на информационные входы регистров 61.1-61. L-1, в то время как нулевой сигнал с его прямого выхода блокирует поступление на выходы коммутаторов 62.1-62.L-1 информации с их первых информационных входов. Сигналы с инверсных выходов регистров 61.1-61.L поступают на входы элементов И 64.1-64.L соответственно и формируют на их выходах код, характеризующий текущее состояние очереди управляющих микрокоманд в блоке. The micro command (control message) S from the information input of the buffer storage unit 6 (Fig. 2) is transmitted to the information input of the register 61. L and to the second information inputs of the switches 62.1-62.L-1. Since the trigger 67 is in a state of logical zero, a single signal from its inverse output is fed to the second control inputs of the switches 62.1-62. L-1 and provides the transfer of the control microcommands to the information inputs of registers 61.1-61. L-1, while the zero signal from its direct output blocks the flow of information from the first information inputs to the outputs of switches 62.1-62. L-1. The signals from the inverse outputs of the registers 61.1-61.L arrive at the inputs of the And 64.1-64.L elements, respectively, and form a code on their outputs that characterizes the current state of the control microcommand queue in the block.

Пусть в регистрах 61.1-61.k (k<L) зафиксированы ранее поступившие микрокоманды, а остальные регистры находятся соответственно в состоянии логического нуля. Так как на инверсных выходах каждого из регистров 61.1-61.k присутствует по крайней мере по одному нулевому сигналу, а на инверсных выходах регистров 61. k+1-61.L установлены единичные сигналы на выходах элементов И 64.1-64. L образуется код

Figure 00000005
. Этот код поступает на вход дешифратора 63 и возбуждает единичный сигнал на его (k+1)-м выходе. Указанный сигнал через элемент ИЛИ 65.k+1 передается на V-вход регистра 61. k+1, разрешая тем самым прием информации в данный регистр.Suppose that previously received microcommands are recorded in registers 61.1-61.k (k <L), and the remaining registers are respectively in a state of logical zero. Since at the inverse outputs of each of the registers 61.1-61.k there is at least one zero signal, and at the inverse outputs of the registers 61. k + 1-61.L, single signals are installed at the outputs of the elements AND 64.1-64. L code is formed
Figure 00000005
. This code is fed to the input of the decoder 63 and excites a single signal at its (k + 1) -th output. The specified signal through the OR element 65.k + 1 is transmitted to the V-input of the register 61. k + 1, thereby allowing the reception of information in this register.

Импульс с входа синхронизации записи блока через элемент ИЛИ 66 поступает на входы синхронизации регистров 61.1-61.L и задним фронтом фиксирует управляющую микрокоманду S в регистре 61.k+1. Так как на V-входах остальных регистров 61.1-61. k, 61.k+2-61.L сохраняется запрещающий (нулевой) уровень сигнала, их состояние остается неизменным. The pulse from the synchronization input of the recording block through the OR element 66 is supplied to the synchronization inputs of the registers 61.1-61.L and the trailing edge fixes the control micro-command S in the register 61.k + 1. Since the V-inputs of the remaining registers are 61.1-61. k, 61.k + 2-61.L the inhibitory (zero) signal level is maintained, their state remains unchanged.

После фиксации микрокоманды S в регистре 61.k+1 на выходе элемента И 64. k+1 появляется нулевой сигнал, который в объединении с сигналами с выходов элементов И 64.1-64.k,64.k+2-64.L поступает на вход дешифратора 63 и возбуждает единичный сигнал на его следующем, т.е. (k+2)-м, выходе. Аналогичным образом очередная управляющая микрокоманда S записывается в регистр 61.k+2 и т.д. After fixing the micro-command S in the register 61.k + 1, the output of the And 64. k + 1 element displays a zero signal, which, in combination with the signals from the outputs of the And 64.1-64.k, 64.k + 2-64.L elements, is fed to the input of the decoder 63 and excites a single signal at its next, i.e. (k + 2) -m, exit. Similarly, the next control micro-command S is recorded in the register 61.k + 2, etc.

Считывание управляющих микрокоманд из буферного запоминающего блока 6 производится в порядке их поступления. Reading control microcommands from the buffer storage unit 6 is carried out in the order they are received.

Микрокоманда S, размеченная в регистре 61.1, появляется на выходе блока и передается (фиг. 1) на входы элемента ИЛИ 41 и второй информационный вход коммутатора 20. Единичный сигнал, образующийся на выходе элемента ИЛИ 41, подается на второй вход элемента И 34 и четвертый управляющий вход коммутатора 20. Очередной импульс П2 с второго выхода генератора 15 переключает триггер 16 в нулевое состояние и одновременно с единичным сигналом с его инверсного выхода, поступающим на третий управляющий вход коммутатора 20, подается на первый вход элемента И 34. Управляющая микрокоманда с выхода блока 6 через открытый коммутатор 20 проходит на выход 59 передачи управления модуля и передается на вход 56 следующего модуля МКС, а импульс П2 проходит через открытый элемент И 34, элемент ИЛИ 42 и синхронизирует прием выдаваемой микрокоманды. Одновременно с выхода элемента И 34 импульс П2 поступает на вход элемента 49 задержки и со сдвигом во времени подается на входы разрешения и синхронизации сдвига буферного запоминающего блока 6.The micro-command S marked in register 61.1 appears at the output of the block and is transmitted (Fig. 1) to the inputs of the OR element 41 and the second information input of the switch 20. The single signal generated at the output of the OR element 41 is fed to the second input of the And element 34 and the fourth the control input of switch 20. The next pulse P 2 to the second output of generator 15 toggles flip-flop 16 to the zero state and simultaneously with a single signal with its inverted output, a control input at the third input of the switch 20 is supplied to a first input of aND gate 34. Manage -governing microinstruction output unit 6 through the open switch 20 is held at the transmission output control unit 59 and is transmitted to the input 56 of the next module ISS and pulse P2 passes through the open AND gate 34, OR gate 42 and synchronizes the reception microinstruction issued. Simultaneously with the output of the element And 34, the pulse P 2 is fed to the input of the delay element 49 and with a time shift is applied to the inputs of resolution and synchronization of the shift of the buffer storage unit 6.

Импульс с входа разрешения сдвига блока 6 (фиг. 2) поступает на вход установки триггера 67 и переключает его в единичное состояние. Единичный сигнал с прямого выхода триггера 67 подается на первые управляющие входы коммутаторов 62.1-62.L-1 и обеспечивает передачу информации с прямых выходов регистров 61.2-61.L на информационные входы регистров 61.1-61.L-1 соответственно. Этот же сигнал через элементы ИЛИ 65.1-65.L проходит на V-входы регистров 61.1-61. L и разрешает запись информации во все указанные регистры. В то же время импульс с входа синхронизации сдвига (S) блока поступает на вход элемента 68 задержки и, кроме того, через элемент ИЛИ 66 передается на входы синхронизации регистров 61.1-61.L. Так как на V-входах регистров 61.1-61.L находятся разрешающие сигналы, по заднему фронту импульса информация из регистров 61. L-61.2 переписывается в регистры 61.L-1-61.1, а в регистр 61.L заносится нулевой код. Состояние регистра 61.k становится нулевым, на выходе элемента И 64.k формируется единичный сигнал, а управляющая микрокоманда S, ранее размещавшаяся в регистре 61.2, появляется на выходе блока. Импульс с выхода элемента 68 задержки спустя заданное время (время сдвига очереди) поступает на вход сброса триггера 67 и возвращает его в нулевое состояние. The pulse from the input of the resolution of the shift of block 6 (Fig. 2) is input to the installation of the trigger 67 and switches it to a single state. A single signal from the direct output of the trigger 67 is fed to the first control inputs of the switches 62.1-62.L-1 and ensures the transfer of information from the direct outputs of the registers 61.2-61.L to the information inputs of the registers 61.1-61.L-1, respectively. The same signal through the elements OR 65.1-65.L passes to the V-inputs of the registers 61.1-61. L and allows the recording of information in all specified registers. At the same time, the pulse from the input of the shift synchronization (S) of the block is supplied to the input of the delay element 68 and, in addition, is transmitted through the OR 66 element to the synchronization inputs of the registers 61.1-61.L. Since the V-inputs of the registers 61.1-61.L contain enable signals, the information from the registers 61 is located on the trailing edge of the pulse. L-61.2 is transferred to the 61.L-1-61.1 registers, and the zero code is entered in the 61.L register. The state of the register 61.k becomes zero, a single signal is generated at the output of the AND 64.k element, and the control micro-command S, previously located in the register 61.2, appears at the output of the block. The pulse from the output of the delay element 68 after a predetermined time (the shift time of the queue) is supplied to the reset input of the trigger 67 and returns to the zero state.

Если после сдвига очереди состояние регистра 61.1 становится нулевым, то на выходе элемента ИЛИ 41 (фиг. 1) устанавливается нулевой сигнал. Этот сигнал блокирует элемент И 34 и предотвращает распространение импульса П2 на выход 59 передачи управления модуля и на вход элемента 49 задержки. Процесс выдачи управляющих микрокоманд на выход 59 модуля приостанавливается. С поступлением в блок 6 очередной управляющей микрокоманды транзитная передача микрокоманд на выход 59 модуля возобновляется.If after the shift of the queue the state of register 61.1 becomes zero, then the output of the OR element 41 (Fig. 1) sets the zero signal. This signal blocks the AND element 34 and prevents the propagation of the pulse P 2 to the output 59 of the control transmission of the module and to the input of the delay element 49. The process of issuing control microcommands to the output 59 of the module is suspended. With the arrival of the next control micro-command in block 6, the transit transmission of micro-commands to the output 59 of the module is resumed.

Рассмотрим работу ведущего модуля Mi в режиме анализа микрокоманд управления синхронизацией.Consider the operation of the master module M i in the analysis mode of the micro-command synchronization control.

Микрокоманда управления синхронизацией Zq вырабатываемая модулем Мi, последовательно передается модулям Мi+1, Мi+2,..., Мi+h, которые по мере завершения закрепленных за ними параллельных участков микропрограммы либо уменьшают соответствующий код Wq, либо оставляют поступающую микрокоманду Zq без модификации (см. случай 4). Микрокоманда управления синхронизацией последовательно проходит через все модули сети и вновь поступает на вход 55 управления синхронизацией ведущего модуля Mi.The synchronization control micro command Z q generated by the module М i is sequentially transmitted to the modules М i + 1 , М i + 2 , ..., М i + h , which, as the parallel sections of the microprogram attached to them, either reduce the corresponding code W q , or leave the incoming micro-command Z q without modification (see case 4). The synchronization control micro-command sequentially passes through all the network modules and again enters the synchronization control input 55 of the master module M i .

Код НТС Tq появляющейся микрокоманды Zq с входа 55.1 поступает на второй вход схемы 9 сравнения и сопоставляется с кодом НТС, сформированным на выходе 2.10 регистра 2. Так как последний представляет собой код НТС Tq (см. случай 3), на выходе схемы 9 сравнения образуется единичный сигнал совпадения, который передается на второй вход элемента И 25, на первый вход которого поступает единичная метка Мус с выхода 2.5 регистра 2. Одновременно код КОС Wq поступившей микрокоманды Zq с входа 55.2 модуля подается на входы элемента ИЛИ-НЕ 22, а импульс синхронизации, сопровождающий микрокоманду, с линии 55.3 синхронизации поступает на вход элемента 43 задержки и, спустя заданное время, появляется на его выходе.The STC code T q of the emerging microcommand Z q from input 55.1 goes to the second input of the comparison circuit 9 and is compared with the STC code generated at the output 2.10 of register 2. Since the latter is the STC code T q (see case 3), the output of the circuit 9 comparison produces a single coincidence signal, which is transmitted to the second input of the element And 25, the first input of which receives a single label M must from the output 2.5 of register 2. Simultaneously, the CBS code W q of the received microcommands Z q from the input 55.2 of the module is fed to the inputs of the element OR- NOT 22, but a sync pulse, s the forward micro-command, from the synchronization line 55.3, enters the input of the delay element 43 and, after a predetermined time, appears at its output.

Если Wq > 0, т.е. среди опрашиваемых параллельных участков существуют незавершенные, на выходе элемента ИЛИ-НЕ 22 образуется нулевой сигнал. Нулевой сигнал с выхода элемента 22 через элемент И 25 проходит на первый вход элемента И 31, а также блокирует элемент И 26, По переднему фронту импульса с выхода элемента 43 код Wq заносится в регистр-счетчик 10 событий и в объединении с кодом НТС с входа 55.1 модуля поступает на информационный вход блока 5, а задний фронт импульса возбуждает импульс v аналогичной формы на выходе одновибратора 47. Одновременно импульс с выхода элемента 43 подается на второй вход элемента И 26, однако так как последний заблокирован нулевым сигналом с выхода элемента И 25, на его выходе сохраняется нулевой уровень сигнала, триггер 11 остается в нулевом состоянии и по-прежнему блокирует работу генератора 12. В то же время импульс v с выхода одновибратора 47 через открытый элемент И 31 проходит на W-вход блока 5 и обеспечивает запись микрокоманды Zq в блок 5 для повторной выдачи следующему модулю МКС и опроса состояния оставшихся участков микропрограммы. Так как элемент И 27 заблокирован нулевым сигналом с выхода 2.6 регистра 2, импульс v не проходит на выход элемента 27 и, таким образом, микрокоманда Zq (код Wq) передается на вход блока 5 без изменений.If W q > 0, i.e. among the polled parallel sections there are incomplete ones; a zero signal is generated at the output of the OR-NOT 22 element. The zero signal from the output of element 22 through the element And 25 passes to the first input of the element And 31, and also blocks the element And 26. On the leading edge of the pulse from the output of element 43, the code W q is entered in the register-counter 10 events and in combination with the code NTS with the input 55.1 of the module is supplied to the information input of block 5, and the trailing edge of the pulse excites a pulse v of a similar shape at the output of a single-shot 47. At the same time, a pulse from the output of element 43 is fed to the second input of the element And 26, however, since the latter is blocked by a zero signal from the output of the element And 25 , the signal level is kept at its output, trigger 11 remains in the zero state and still blocks the operation of the generator 12. At the same time, the pulse v from the output of the one-shot 47 through the open element And 31 passes to the W-input of block 5 and provides the recording of the micro command Z q to block 5 for re-issuing to the next module of the ISS and polling the status of the remaining sections of the firmware. Since the element And 27 is blocked by a zero signal from the output 2.6 of register 2, the pulse v does not pass to the output of the element 27 and, thus, the micro command Z q (code W q ) is transmitted to the input of block 5 without changes.

Если Wq= 0, т.е. все сходящиеся к точке Tq параллельные участки завершены, то на выходе элемента ИЛИ-НЕ 22 образуется единичный сигнал, который через открытый элемент И 25 поступает на первый вход элемента И 26 и, кроме того, блокирует элемент И 31. Импульс синхронизации с выхода элемента 43 через открытый элемент И 26, а также элемент ИЛИ 37 проходит на вход установки триггера 11, переводит его в единичное состояние и тем самым запускает генератор 12. В то же время импульс v, вырабатываемый одновибратором 47, не проходит на выход элемента И 31, а следовательно, и на W-вход блока 5; таким образом, запись поступившей микрокоманды в блок 5 не производится. Первый тактовый импульс t1, образующийся на первом выходе генератора 12, фиксирует ранее сформированный адрес следующей микрокоманды в регистре 3. Модуль Мi выходит из состояния ожидания и возобновляет выполнение микропрограммы с записанного в регистр 3 адреса.If W q = 0, i.e. if all parallel sections converging to the point T q are completed, then a single signal is generated at the output of the OR-NOT 22 element, which, through the open AND 25 element, is supplied to the first input of the And 26 element and, in addition, blocks the And 31 element. The synchronization pulse from the output of the element 43 through the open element And 26, as well as the element OR 37 passes to the input of the installation of the trigger 11, puts it into a single state and thereby starts the generator 12. At the same time, the pulse v generated by the single-vibrator 47 does not pass to the output of the element And 31, and therefore, to W-input b Loka 5; Thus, the entry of the received microcommands in block 5 is not performed. The first clock pulse t 1 generated at the first output of the generator 12, fixes the previously generated address of the next microcommand in the register 3. The module M i leaves the standby state and resumes the execution of the firmware from the address written in register 3.

В дальнейшем работа модуля ничем не отличается от рассмотренного ранее его функционирования при реализации начального последовательного участка микропрограммы. In the future, the operation of the module does not differ from its previously considered functioning in the implementation of the initial sequential section of the firmware.

Сразу же после синхронизации параллельных участков в точке Tq модуль Мi может перейти в любой из возможных режимов функционирования, в том числе и в режим управления синхронизацией очередной группы параллельных участков.Immediately after synchronization of the parallel sections at the point T q, the module M i can go into any of the possible operating modes, including the synchronization control mode of the next group of parallel sections.

Функционирование микроконтроллерной сети, построенной на базе предлагаемого устройства, поясним на примере работы сети, состоящей из пяти модулей, при реализации алгоритма управления, приведенного на фиг. 5, где использованы следующие обозначения: Т1, Т2, Т3, Т4 - точки (вершины) синхронизации, а WO1 , WO2, WO3 и WO4 - количества ожидаемых событий, т.е. параллельных участков, сходящихся к точкам Т1, Т2, Т3 и Т4 соответственно. В обозначениях M f i нижний индекс i определяет номер модуля, а верхний индекс f соответствует номеру участка, закрепленному за модулем Мi,

Figure 00000006
, где Qi - общее число параллельных и последовательных участков, закрепленных за модулем Мi,
Figure 00000007
. Штриховкой на фиг. 5 выделены параллельные участки, сопоставленные ведущим модулям, а стрелками показаны условные направления передачи микрокоманд типов S и Z.The operation of the microcontroller network, built on the basis of the proposed device, we explain on the example of the network, consisting of five modules, when implementing the control algorithm shown in Fig. 5, where the following notation is used: T 1 , T 2 , T 3 , T 4 are the synchronization points (vertices), and WO 1 , WO 2 , WO 3 and WO 4 are the numbers of expected events, i.e. parallel sections converging to points T 1 , T 2 , T 3 and T 4, respectively. In the notation M f i the subscript i defines the module number, and the superscript f corresponds to the parcel number assigned to the module M i ,
Figure 00000006
where Q i is the total number of parallel and sequential sections assigned to the module M i ,
Figure 00000007
. The shading in FIG. 5, parallel sections are mapped to the leading modules, and the arrows indicate the conditional directions of the transmission of microcommands of types S and Z.

Первоначально модуль М1 (после поступления КОП от УУВУ) реализует последовательный участок M 1 1 , после чего переходит к выполнению параллельного участка M 2 1 и одновременно вырабатывает микрокоманду передачи управления S, которая инициирует выполнение модулем М2 участка M 1 2 . Модуль М2, в свою очередь, также вырабатывает микрокоманду передачи управления, которая передается и инициирует запуск модуля М3. Аналогично осуществляется инициализация модулей М4 и М5.Initially, the module M 1 (after receipt of the CPC from the UUVU) implements a serial section M 1 1 , and then proceeds to the execution of the parallel section M 2 1 and at the same time generates a micro-command transfer control S, which initiates the execution of the module M 2 plot M 1 2 . Module M 2 , in turn, also generates a microcontrol command transfer, which is transmitted and initiates the start of module M 3 . Similarly, the initialization of the modules M 4 and M 5 is carried out.

Модуль М2, завершая реализацию параллельного участка M 1 2 и, будучи ведущим для точки синхронизации Т1, переходит в режим управления синхронизацией и вырабатывает микрокоманду Z1 формата T1=1 : W1=1 (где ":" - символ конкатенации). Модуль М1, будучи ведомым для точки синхронизации Т1, заканчивает выполнение параллельного участка M 2 1 и модифицирует поступающую на его вход микрокоманду Z1 (полагает W1=W1-1 и приводит ее к виду 1 : 0). Как только микрокоманда Z1 появляется на входе модуля М2, данный модуль приступает к опросу поля КОС. Если поступившая микрокоманда имеет вид 1 : 0, М2 выходит из режима управления синхронизацией, переходит к выполнению параллельного участка M 2 2 , запуская при этом участок M 3 1 , в противном случае М2 ретранслирует микрокоманду Z1 на выход и ожидает ее повторного появления на входе.Module M 2 , completing the implementation of the parallel section M 1 2 and, being the leader for the synchronization point T 1 , switches to the synchronization control mode and generates a micro command Z 1 of the format T 1 = 1: W 1 = 1 (where ":" is the concatenation symbol). Module M 1 , being slave to the synchronization point T 1 , completes the execution of the parallel section M 2 1 and modifies the micro-command Z 1 arriving at its input (assumes W 1 = W 1 -1 and brings it to the form 1: 0). As soon as the micro-command Z 1 appears at the input of the module M 2 , this module proceeds to interrogate the CBS field. If the received micro command has the form 1: 0, M 2 exits the synchronization control mode, proceeds to the execution of the parallel section M 2 2 while launching section M 3 1 otherwise M 2 relays the micro-command Z 1 to the output and expects it to reappear at the input.

Аналогичным образом осуществляется выполнение и синхронизация завершения других участков микропрограммы. Функционирование МКС прекращается, когда модуль М1 завершает выполнение последнего последовательного участка M 4 1 .Similarly, execution and synchronization of the completion of other sections of the firmware are performed. The operation of the ISS ceases when the module M 1 completes the execution of the last sequential section M 4 1 .

Таким образом, предлагаемое устройство обеспечивает возможность построения на его основе систем, обладающих более широкими функциональными возможностями, чем системы, реализуемые на базе прототипа, что существенно расширяет область применения устройства. Наличие и использование средств синхронизации окончания произвольных групп параллельно выполняемых участков исключает возможность одновременной реализации несовместимых операций (микрокоманд), например участков M 2 1 и M 2 2 , входящих в алгоритм, показанный на фиг. 5, при условии, что выполнение участка M 1 2 завершается раньше, чем выполнение участка M 2 1 . Введенные средства позволяют использовать устройство при построении подсистем дискретного управления промышленных АСУ широкого назначения, а также в высокопроизводительных вычислительных и управляющих системах, реализующих сложные алгоритмы обработки информации, предполагающие параллельное развитие во времени множества взаимодействующих процессов.Thus, the proposed device provides the ability to build on its basis systems with wider functionality than systems implemented on the basis of the prototype, which significantly expands the scope of the device. The presence and use of synchronization means for terminating arbitrary groups of parallelly executed sections excludes the possibility of simultaneous implementation of incompatible operations (microcommands), for example, sections M 2 1 and M 2 2 included in the algorithm shown in FIG. 5, provided that the execution of section M 1 2 ends before the execution of section M 2 1 . The introduced tools make it possible to use the device in the construction of discrete control subsystems of industrial industrial control systems for general purposes, as well as in high-performance computing and control systems that implement complex information processing algorithms that require the parallel development of many interacting processes over time.

Максимальное число синхронизируемых параллельных участков, сходящихся к единой точке слияния Тm определяется разрядностью n регистра-счетчика 10 событий (фиг. 1) и соответствующего поля в формате управляющих микрокоманд и равно Dmax= 2n-1. Для большинства возможных применений устройства достаточными являются значения n=6-8 (63-255 параллельных участков).The maximum number of synchronized parallel sections converging to a single point of confluence T m is determined by the width n of the register-counter 10 events (Fig. 1) and the corresponding field in the format of control microcommands and is equal to D max = 2 n -1. For most of the possible applications of the device, n = 6-8 (63-255 parallel sections) are sufficient.

Claims (1)

Модуль микроконтроллерной сети, содержащий блок памяти микропрограмм, регистры адреса и микрокоманд, мультиплексор логических условий, генератор констант, триггер запуска, первую схему сравнения, первый генератор тактовых импульсов, первый буферный запоминающий блок, коммутатор адреса, первый выходной коммутатор, с первого по третий элементы И, с первого по четвертый элементы ИЛИ, первый элемент задержки и первый одновибратор, причем вход генератора констант является входом настройки модуля, а выход соединен с первым входом первой схемы сравнения, выход первого выходного коммутатора соединен с выходом управления синхронизацией модуля, выход первого элемента ИЛИ подключен к первому входу первого элемента И, выход второго элемента ИЛИ соединен с входом установки триггера запуска, прямой выход которого соединен с входом первого генератора тактовых импульсов, первый выход которого соединен с входом синхронизации регистра адреса, а второй выход подключен к входу синхронизации регистра микрокоманд, выходы кода логического условия и модифицируемого разряда адреса которого подключены к адресному и первому информационному входам мультиплексора логических условий соответственно, второй информационный вход которого является входом логических условий модуля, выход мультиплексора логических условий в объединении с выходом немодифицируемой части адреса регистра микрокоманд соединен с первым информационным входом коммутатора адреса, выход которого подключен к информационному входу регистра адреса, выход которого соединен с адресным входом блока памяти микропрограмм, выход которого соединен с информационным входом регистра микрокоманд, выход метки конца операции которого подключен к первому и второму управляющим входам коммутатора адреса, отличающийся тем, что в него дополнительно введены второй буферный запоминающий блок, второй генератор тактовых импульсов, вторая схема сравнения, регистр-счетчик событий, второй выходной коммутатор, триггеры переключения каналов, управления синхронизацией и блокировки, триггер, с четвертого по четырнадцатый элементы И, с пятого по седьмой элементы ИЛИ, элемент ИЛИ - НЕ, второй и третий одновибраторы, с второго по пятый элементы задержки, причем выход метки управления синхронизацией регистра микрокоманд соединен с первыми входами второго и третьего элементов И и с первым входом третьего элемента ИЛИ, выход которого подключен к первому входу четвертого элемента И, выход которого подключен к входу сброса триггера запуска, выход метки конца участка регистра микрокоманд соединен с первыми входами пятого и шестого элементов И, с третьим и четвертым управляющими входами коммутатора адреса, с вторым входом третьего элемента ИЛИ, с входом установки триггера блокировки, а также с первым входом четвертого элемента ИЛИ, выход которого подключен к пятому управляющему входу коммутатора адреса, второй информационный вход которого является входом кода операции модуля, выход метки передачи управления регистра микрокоманд соединен с третьим входом третьего элемента ИЛИ, с первым входом седьмого элемента И и с первым управляющим входом второго выходного коммутатора, выход которого в объединении в выходом пятого элемента ИЛИ образуют выход передачи управления модуля, выход управляющей информации регистра микрокоманд включает выход номера точки синхронизации и выход количества ожидаемых событий и подключен к первым информационным входам первого и второго выходных коммутаторов, выход номера точки синхронизации регистра микрокоманд соединен с первым входом второй схемы сравнения, выход которой подключен к второму входу шестого элемента И и к второму входу третьего элемента И, третий вход которого подключен к выходу элемента ИЛИ - НЕ, выход третьего элемента И соединен с первым (инверсным) входом восьмого элемента И и с первым входом девятого элемента И, выход которого подключен к первому входу второго элемента ИЛИ, второй вход которого соединен с выходом первого одновибратора, выход метки конца операции регистра микрокоманд соединен с выходом конца операции модуля, с четвертым входом третьего элемента ИЛИ, с вторым входом четвертого элемента ИЛИ и с вторым входом пятого элемента И, третий вход которого является входом пуска модуля, выход пятого элемента И соединен с третьим входом второго элемента ИЛИ, второй выход первого генератора тактовых импульсов подключен к входу второго одновибратора, выход которого подключен к второму входу четвертого элемента И и к второму входу второго элемента И, выход которого соединен с входом установки триггера управления синхронизацией, прямой выход которого подключен к первому управляющему входу первого выходного коммутатора, к первому входу десятого элемента И и к первому входу одиннадцатого элемента И, выход которого соединен с входом установки триггера, счетный вход которого подключен к инверсному выходу триггера управления синхронизацией, прямой выход триггера соединен с первым входом двенадцатого элемента И, выход которого подключен к входу сброса триггера управления синхронизацией, первый выход второго генератора тактовых импульсов подключен к второму входу седьмого элемента И, к второму входу одиннадцатого элемента И, к входу установки триггера переключения каналов и к второму входу десятого элемента И, выход которого соединен с первым входом шестого элемента ИЛИ, выход которого подключен к выходу управления синхронизацией модуля, второй выход второго генератора тактовых импульсов соединен с первым входом тринадцатого элемента И, с вторым входом двенадцатого элемента И, с входом сброса триггера переключения каналов и с вторым входом первого элемента И, выход которого подключен к второму входу шестого элемента ИЛИ и к входу первого элемента задержки, выход которого соединен с входами синхронизации сдвига и разрешения сдвига первого буферного запоминающего блока, выход которого соединен с вторым информационным входом первого выходного коммутатора и с входами первого элемента ИЛИ, выход которого подключен к второму управляющему входу первого выходного коммутатора, третий и четвертый управляющие входы которого соединены с инверсным и прямым выходами триггера переключения каналов соответственно, вход управления синхронизацией модуля образован входом номера точки синхронизации, входом количества ожидаемых событий и линией синхронизации, вход номера точки синхронизации модуля соединен с вторым входом второй схемы сравнения и в объединении с выходом регистра-счетчика событий подключен к информационному входу первого буферного запоминающего блока, вход синхронизации записи которого соединен с выходом восьмого элемента И, вход количества ожидаемых событий модуля соединен с входами элемента ИЛИ - НЕ и с информационным входом регистра-счетчика событий, линия синхронизации входа управления синхронизацией модуля подключена к входу второго элемента задержки, выход которого подключен к входу синхронизации регистра-счетчика событий, к второму входу девятого элемента И и к входу третьего одновибратора, выход которого соединен с вторым (прямым) входом восьмого элемента И и с третьим входом шестого элемента И, четвертый вход которого соединен с прямым выходом триггера блокировки, выход шестого элемента И подключен к счетным входам триггера блокировки и регистра-счетчика событий, прямой и инверсный выходы триггера переключения каналов соединены соответственно с вторым и третьим управляющими входами второго выходного коммутатора, вход приема управления модуля образован входом номера модуля, входом адреса приема управления и линией синхронизации, вход адреса приема управления модуля соединен с третьим информационным входом коммутатора адреса и в объединении с входом номера модуля устройства подключен к информационному входу второго буферного запоминающего блока, выход которого подключен к второму информационному входу второго выходного коммутатора и к входам седьмого элемента ИЛИ, выход которого соединен с четвертым управляющим входом второго выходного коммутатора и с вторым входом тринадцатого элемента И, выход которого подключен к первому входу пятого элемента ИЛИ и к входу третьего элемента задержки, выход которого соединен с входами синхронизации сдвига и разрешения сдвига второго буферного запоминающего блока, вход синхронизации записи которого подключен к выходу четырнадцатого элемента И, первый (прямой) вход которого соединен с выходом четвертого элемента задержки, вход которого соединен с линией синхронизации входа приема управления модуля, вход номера модуля устройства подключен к второму входу первой схемы сравнения, выход которой соединен с вторым (инверсным) входом четырнадцатого элемента И, с входом первого одновибратора, а также с шестым управляющим входом коммутатора адреса, выход седьмого элемента И подключен к второму входу пятого элемента ИЛИ и к входу пятого элемента задержки, выход которого соединен с четвертым входом второго элемента ИЛИ, выход микроопераций регистра микрокоманд является выходом микроопераций модуля. A microcontroller network module containing a microprogram memory block, address and micro instruction registers, logical condition multiplexer, constant generator, trigger, first comparison circuit, first clock, first buffer memory, address switch, first output switch, from the first to third elements And, from the first to the fourth OR elements, the first delay element and the first one-shot, and the input of the constant generator is the module settings input, and the output is connected to the first input of the first circuit Comparison, the output of the first output switch is connected to the output of the module synchronization control, the output of the first OR element is connected to the first input of the first AND element, the output of the second OR element is connected to the installation input of the trigger, the direct output of which is connected to the input of the first clock generator, the first output which is connected to the synchronization input of the address register, and the second output is connected to the synchronization input of the micro-command register, the outputs of the logical condition code and the modifiable bit of the address connected to the address and first information inputs of the logical condition multiplexer, respectively, the second information input of which is the input of the logical conditions of the module, the output of the logical conditions multiplexer in combination with the output of the unmodifiable part of the micro register register address is connected to the first information input of the address switch, the output of which is connected to the information input address register, the output of which is connected to the address input of the microprogram memory block, the output of which is connected to the information a micro-command register input, the output of the end-of-operation label of which is connected to the first and second control inputs of the address switch, characterized in that a second buffer memory unit, a second clock pulse generator, a second comparison circuit, an event-counter-register, and a second output switch are additionally introduced into it , triggers for channel switching, synchronization and blocking control, trigger, fourth to fourteenth AND elements, fifth to seventh OR elements, OR element - NOT, second and third one-shot s, from the second to the fifth delay elements, and the output of the micro-command register synchronization control label is connected to the first inputs of the second and third AND elements and to the first input of the third OR element, the output of which is connected to the first input of the fourth AND element, the output of which is connected to the trigger reset input start, the output label of the end of the micro-register register section is connected to the first inputs of the fifth and sixth AND elements, with the third and fourth control inputs of the address switch, with the second input of the third OR element, with the input setting the trigger lock, as well as with the first input of the fourth OR element, the output of which is connected to the fifth control input of the address switch, the second information input of which is the input of the module operation code, the output of the microcontrol register control transfer mark is connected to the third input of the third OR element, with the first input of the seventh AND element and with the first control input of the second output switch, the output of which, combined in the output of the fifth OR element, form the output of the module's control transmission, the control output The information of the micro-command register includes the output of the number of the synchronization point number and the output of the number of expected events and is connected to the first information inputs of the first and second output switches, the output of the number of the synchronization point of the micro-command register is connected to the first input of the second comparison circuit, the output of which is connected to the second input of the sixth element And and to the second input of the third AND element, the third input of which is connected to the output of the OR element - NOT, the output of the third AND element is connected to the first (inverse) input of the eighth element that And with the first input of the ninth AND element, the output of which is connected to the first input of the second OR element, the second input of which is connected to the output of the first one-shot, the output of the mark of the operation end of the micro-register register is connected to the output of the end of the operation of the module, with the fourth input of the third OR element, with the second input of the fourth OR element and with the second input of the fifth AND element, the third input of which is the module start input, the output of the fifth AND element is connected to the third input of the second OR element, the second output of the first clock generator and pulse is connected to the input of the second one-shot, the output of which is connected to the second input of the fourth element And to the second input of the second element And, the output of which is connected to the installation input of the trigger synchronization control, the direct output of which is connected to the first control input of the first output switch, to the first input of the tenth element And to the first input of the eleventh element And, the output of which is connected to the installation input of the trigger, the counting input of which is connected to the inverse output of the trigger control synchronization her, the direct output of the trigger is connected to the first input of the twelfth element And, the output of which is connected to the reset input of the synchronization control trigger, the first output of the second clock pulse generator is connected to the second input of the seventh element And, to the second input of the eleventh element And, to the installation input of the channel switching trigger and to the second input of the tenth AND element, the output of which is connected to the first input of the sixth OR element, the output of which is connected to the output of the module synchronization control, the second output of the second generator clock pulses is connected to the first input of the thirteenth AND element, with the second input of the twelfth AND element, with the reset input of the channel switching trigger and with the second input of the first AND element, the output of which is connected to the second input of the sixth OR element and to the input of the first delay element, the output of which is connected with shift synchronization and shift enable inputs of the first buffer storage unit, the output of which is connected to the second information input of the first output switch and with the inputs of the first OR element, the output of which о is connected to the second control input of the first output switch, the third and fourth control inputs of which are connected to the inverse and direct outputs of the channel trigger, respectively, the module synchronization control input is formed by the input of the synchronization point number, the input of the number of expected events and the synchronization line, the input of the module synchronization point number connected to the second input of the second comparison circuit and, in combination with the output of the register-event counter, connected to the information input of the first buffer memory block, the recording synchronization input of which is connected to the output of the eighth AND element, the input of the number of expected events of the module is connected to the inputs of the OR-NOT element and to the information input of the event-counter register, the synchronization line of the module synchronization control input is connected to the input of the second delay element, output which is connected to the synchronization input of the register-event counter, to the second input of the ninth element And and to the input of the third one-shot, the output of which is connected to the second (direct) input of the eighth nta And with the third input of the sixth element And, the fourth input of which is connected to the direct output of the blocking trigger, the output of the sixth element And is connected to the counting inputs of the blocking trigger and register-counter of events, the direct and inverse outputs of the channel switching trigger are connected respectively to the second and third control the inputs of the second output switch, the input of the control reception of the module is formed by the input of the module number, the input of the control reception address and the synchronization line, the input of the control reception address of the module is connected to the third information input of the address switch and in combination with the input of the device module number is connected to the information input of the second buffer storage unit, the output of which is connected to the second information input of the second output switch and to the inputs of the seventh OR element, the output of which is connected to the fourth control input of the second output switch and with the second input of the thirteenth AND element, the output of which is connected to the first input of the fifth OR element and to the input of the third delay element, the output of which is connected is with the shift synchronization and shift enable inputs of the second buffer storage unit, the write synchronization input of which is connected to the output of the fourteenth AND element, the first (direct) input of which is connected to the output of the fourth delay element, the input of which is connected to the synchronization line of the module control reception input, the input of the number the device module is connected to the second input of the first comparison circuit, the output of which is connected to the second (inverse) input of the fourteenth element And, with the input of the first one-shot, as well as with the sixth unit with the input input of the address switch, the output of the seventh AND element is connected to the second input of the fifth OR element and to the input of the fifth delay element, the output of which is connected to the fourth input of the second OR element, the microoperation register of the micro-command register is the output of the microoperation of the module.
RU97104368A 1997-03-20 1997-03-20 Unit of microcontroller network RU2112272C1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU97104368A RU2112272C1 (en) 1997-03-20 1997-03-20 Unit of microcontroller network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU97104368A RU2112272C1 (en) 1997-03-20 1997-03-20 Unit of microcontroller network

Publications (2)

Publication Number Publication Date
RU2112272C1 true RU2112272C1 (en) 1998-05-27
RU97104368A RU97104368A (en) 1998-08-27

Family

ID=20190999

Family Applications (1)

Application Number Title Priority Date Filing Date
RU97104368A RU2112272C1 (en) 1997-03-20 1997-03-20 Unit of microcontroller network

Country Status (1)

Country Link
RU (1) RU2112272C1 (en)

Similar Documents

Publication Publication Date Title
US5434995A (en) Barrier synchronization for distributed memory massively parallel processing systems
GB1565320A (en) Transferring data information
US7073087B2 (en) Transition signal control unit and DMA controller and transition signal control processor using transition signal control unit
RU2112272C1 (en) Unit of microcontroller network
RU2151421C1 (en) Unit of microcontroller network
RU2145434C1 (en) Unit of software management system
RU2450328C1 (en) Logic multicontroller having distributed parallel-pipeline barrier synchroniser
Szász et al. The Nontrivial Problem of Matching in Redundant Digital Systems
RU2634199C1 (en) Parallel logic multicontroller
RU2112269C1 (en) Assembly unit for software control
RU2111528C1 (en) Microprogram control unit
RU2116665C1 (en) Unit of microprogram system
RU2152071C1 (en) Unit of microprogram control system
SU1631542A1 (en) Multimicroprogram control system
RU2110827C1 (en) Digital microcontroller network
RU2336556C1 (en) Microcontroller network
SU1282121A1 (en) Mulimicroprogram control device
RU2168198C1 (en) Microcontroller network
RU2146064C1 (en) Device for software control
US5058143A (en) Digital communications systems
RU2280887C1 (en) Microcontroller network
SU1133595A1 (en) Firmware control device
SU1647566A1 (en) Microprogrammed control device
SU1161942A1 (en) Multiprogram control device
SU1078432A1 (en) Device for interpretation of expressions of programming languages