SU1700564A1 - Microprogramming control processor - Google Patents
Microprogramming control processor Download PDFInfo
- Publication number
- SU1700564A1 SU1700564A1 SU904834240A SU4834240A SU1700564A1 SU 1700564 A1 SU1700564 A1 SU 1700564A1 SU 904834240 A SU904834240 A SU 904834240A SU 4834240 A SU4834240 A SU 4834240A SU 1700564 A1 SU1700564 A1 SU 1700564A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- address
- register
- information
- Prior art date
Links
- 238000000034 method Methods 0.000 claims abstract description 180
- 230000015654 memory Effects 0.000 claims description 97
- 230000001360 synchronised effect Effects 0.000 claims description 13
- 238000009434 installation Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 28
- 101100368149 Mus musculus Sync gene Proteins 0.000 description 18
- 230000015572 biosynthetic process Effects 0.000 description 7
- 238000012423 maintenance Methods 0.000 description 6
- 230000002457 bidirectional effect Effects 0.000 description 2
- 125000004122 cyclic group Chemical group 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
Landscapes
- Executing Machine-Instructions (AREA)
Abstract
Изобретение относитс к цифровой вычислительной технике, а именно к высокопроизводительным микропрограммным процессорам в ЭВМ и вычислительным системам . Целью изобретени вл етс повышение производительности за счет уменьшени времени при переключении с процесса на процесс в мультипрограммном режиме работы. Поставленна цель достигаетс тем, что процессор с микропрограм- мным управлением содержит блок 1The invention relates to digital computing, in particular to high-performance microprogrammed processors in computers and computer systems. The aim of the invention is to increase productivity by reducing the time when switching from process to process in a multiprogram operation mode. The goal is achieved by the fact that the processor with firmware control contains a block 1
Description
Изобретение относитс к вычислительной технике и может найти применение при создании специализированных и универсальных высокопроизводительных вычислительных машин и систем,The invention relates to computing and can be used to create specialized and versatile high-performance computers and systems.
Целью изобретени вл етс повышение производительности за счет уменьшени времени при переключении с процесса на процесс в мультипрограммном режиме работы.The aim of the invention is to increase productivity by reducing the time when switching from process to process in a multiprogram operation mode.
Поставленна цель достигаетс за счет того, что при организации мультипрограммного режима работы исключаютс временные потери, св занные с интерпретацией команд внутреннего зыка. Переключение с процесса на процесс осуществл етс за одну микрокоманду. Кроме того, данное устройство позвол ет избежать излишних временных затрат на управление очередью процессов, ожидающих постановки в one- ративной пам ти за счет обеспечени каждому процессу возможности работать со своей областью сверхоперативной пам ти, хран щей обрабатываемые им данные (контекст процесса).This goal is achieved due to the fact that the organization of a multiprogram mode of operation excludes temporary losses associated with the interpretation of commands of the internal language. Switching from process to process is accomplished in one microinstruction. In addition, this device allows you to avoid unnecessary time spent on managing the queue of processes that are waiting for setting up in the shared memory by providing each process with the opportunity to work with its own area of super-operative memory that stores the data it processes (the process context).
На фиг. 1 приведена структурна схема процессора с микропрограммным управлением; на фиг. 2 - структура пересчетной схемы; на фиг. 3 - схема блока формировани микропрограммного адреса; на фиг. 4схема арифметико-логического блока; на фиг. 5 - схема блока синхронизации; на фиг.FIG. 1 shows a block diagram of a processor with firmware control; in fig. 2 - the structure of the scoring scheme; in fig. 3 is a block diagram of the formation of a firmware address; in fig. 4shema arithmetic logic unit; in fig. 5 is a block circuit diagram; in fig.
6- временные диаграммы работы процессора .6- time diagrams of the processor.
Процессор с микропрограммным управ- лением содержит блок 1 формировани микропрограммного адреса, регистр 2 микропрограммного адреса, блок 3 пам ти мик- рокоманд, регистр 4 микрокоманд, дешифратор 5 управл ющих микроинструк- ций, арифметико-логический блок 6. регистрThe processor with the firmware control contains the block 1 of the formation of the microprogram address, the register 2 of the microprogram address, the block 3 of the memory of microcommands, the register 4 of microinstructions, the decoder 5 of the control microinstructions, the arithmetic logic unit 6. register
7адреса, блок 8 оперативной пам ти, блок 9 синхронизации,блоки 10 регистровой пам ти , блок 11 пам ти страниц, блок 12 пам ти адресов процессов регистр 13 страниц, 7 addresses, memory block 8, synchronization block 9, register memory blocks 10, page memory block 11, process address memory block 12 pages register, 13 pages,
дешифратор 14 номера страницы, пересчетную схему 15, триггер 16 режима, первый коммутатор 17, второй коммутатор 18, третий коммутатор 19, первый шинный формирователь 20, второй шинный формирователь 21, третий шинный формирователь 22, четвертый шинный формирователь 23, первый элемент И 24, второй элемент И 25, третий элемент И 26, четвертый элемент И 27, п тый элемент И 28, первый элемент ИЛИ 29, второй элемент ИЛИ 30, третий элемент ИЛИ 31, четвертый элемент ИЛИ 32, шину 33 данных, шина 34 адреса, вход 35 начальной установки, выход 36 адреса пересчетной схемы, выход 37 Числе процессов, счетный вход 38 пересчетной схемы, вход 39 записи адреса пересчетной схемы, вход 40 записи числа процессов пересчетной схемы, информационный вход 41 пересчетной схемы, вход 42 начальной установки пересчетной схемы.the decoder 14 page number, scaling circuit 15, the trigger 16 mode, the first switch 17, the second switch 18, the third switch 19, the first bus driver 20, the second bus driver 21, the third bus driver 22, the fourth bus driver 23, the first element And 24, the second element is AND 25, the third element is AND 26, the fourth element is AND 27, the fifth element is AND 28, the first element is OR 29, the second element is OR 30, the third element is OR 31, the fourth element is OR 32, the data bus 33, the address bus 34, input 35 of the initial setup, output 36 of the address of the scaling circuit, output 37 The number of processes, the counting input 38 of the scaling circuit, the input 39 of the address of the scaling circuit, the input 40 of the recording of the number of processes of the scaling circuit, the information input 41 of the scaling circuit, the input 42 of the initial setting of the scaling circuit.
Кроме того, на фиг. 2 показаны счетчик 43 адреса, схема 44 сравнени , регистр 45 числа процессов, п тый элемент ИЛИ 46.In addition, in FIG. 2 shows an address counter 43, a comparison circuit 44, a process number register 45, a fifth element OR 46.
На схеме блока формировани микропрограммного адреса (фиг. 3) показаны: дешифратор 47 функции управлени , четвертый коммутатор 48, п тый коммутатор 49, триггер 50 флага, шестой элемент И 51, седьмой элемент И 52, первый вход 53, второй вход 54, третий вход 55, четвертый вход 55, п тый вход 57, первый выход 58, второй выход 59.The block of the formation of the firmware address (Fig. 3) shows: control function decoder 47, fourth switch 48, fifth switch 49, flag trigger 50, sixth element 51, seventh element 52, first input 53, second input 54, third input 55, fourth input 55, fifth input 57, first output 58, second output 59.
На фиг. 4 обозначены дешифратор 60 кода операции, арифметико-логическа схема 61, регистр 62 результата, шестой коммутатор 63, седьмой коммутатор 64, четвертый шинный формирователь 65.FIG. 4, an operation code decoder 60, an arithmetic logic circuit 61, a result register 62, a sixth switch 63, a seventh switch 64, a fourth bus driver 65 are indicated.
Блок 6 содержит вход 66 кода операции, синхронизирующий вход 67, вход 68 переноса , выход 69 переноса, информационный вход-выход 70, выход 71 адреса, выход 72 управлени записью, вход-выход 73 регистровой информации, синхровыход 74, выход 75 адреса регистра, вход 76 чтени .Block 6 contains an operation code input 66, a synchronization input 67, a transfer input 68, a transfer output 69, information input / output 70, address output 71, write control output 72, register information input / output 73, sync output 74, register address output 75, entry 76 reading
На фиг. 5 обозначены генератор 77 синхроимпульсов , триггер 78 делени частоты, восьмой элемент И 79, первый 80, второй 81 и третий 82 выходы блока 9.FIG. 5 denotes a clock generator 77, a frequency dividing trigger 78, an eighth element E 79, a first 80, a second 81 and a third 82 outputs of block 9.
На фиг. 6 приведены диаграммы: А - на первом выходе блока 9 синхронизации, Б - на втором выходе блока 9 синхронизации, ВFIG. 6 shows diagrams: A - on the first output of the synchronization unit 9, B - on the second output of the synchronization unit 9, C
-на третьем выходе блока 9 синхронизации , Г-на выходе регистра 2 микропрограммного адреса, Д - на выходе блока 3 микропрограммной пам ти, Е - на выходе регистра 4 микрокоманд, Ж - на выходе сигнала Переключение процесса дешифратора 5 управл ющих микроинструкций, М- on the third output of the synchronization unit 9, H. on the output of register 2 of the microprogram address, D - on the output of block 3 of the microprogram memory, E - on the output of the register 4 micro-instructions, G - on the output of the signal. Switching the process of the decoder 5 control micro-instructions, M
-на выходе блока 12 пам ти адресов процессов , К- на выходе блока 11 пам ти страниц , Л - на выходе первого коммутатора 17, М - на выходе регистра 13 страниц.- at the output of the block 12 of the memory of the addresses of processes, K - at the output of the block of the 11 pages memory, L - at the output of the first switch 17, M - at the output of the register 13 pages.
Процессор с микропрограммным управлением (фиг. 1) содержит блок 1 формировани микропрограммного адреса, который предназначен дл выработки адреса следующей микрокоманды под управл ющим воздействием из микрокоманды. Вход щий в состав блока 1 (фиг. 3) дешифратор 47 функции управлени предназначен дл формировани управл ющих сигналов, определ емых полем управлени адреса микрокоманды . Поле управлени адресом поступает на вход дешифратора 47 через второй вход 54 блока 1. Четвертый коммутатор 48 предназначен дл формировани следующего адреса микрокоманды по полю управлени адресом с учетом выходного переноса арифметико-логического блока 6, поступающего на четвертый вход 56 блока 1 и текущего адреса микрокоманды, поступающего через первый вход 53 блока 1.A firmware processor (Fig. 1) contains a firmware address generation unit 1, which is designed to generate the address of the next microcommand under a control action from the microcommand. The control function decoder 47 included in block 1 (Fig. 3) is intended to generate control signals defined by the control field of the microcommand address. The address control field is fed to the input of the decoder 47 via the second input 54 of block 1. The fourth switch 48 is designed to form the next microcommand address by the address control field, taking into account the output transfer of the arithmetic logic unit 6, which arrives at the fourth input 56 of block 1 and the current microcommand address, coming through the first input 53 of the block 1.
П тый коммутатор 49 предназначен дл формировани входного сигнала переноса дл арифметико-логического блока 6, выдаваемого на первый выход 58 блока 1, триггер 50 флага - дл хранени сигнала переноса арифметико-логического блока 6, шестой элемент И 51 - дл формировани адреса следующей микрокоманды из информации , наход щейс на шине 33 данных и поступающей через п тый вход 57 блока 1. Седьмой элемент И 52 предназначен дл формировани адреса следующей микрокоманды из адреса предшествующей микрокоманды , поступающего через третий вход 55 блока 1 формировани микропрограммного адреса. Выходы коммутатора 48, элементов И 52 и 51 имеют три состо ни , адрес следующей микрокоманды выдаетс на второй выход 59 блока 1.The fifth switch 49 is designed to generate the transfer input signal for the arithmetic logic unit 6 outputted to the first output 58 of block 1, the flag trigger 50 to store the transfer signal of the arithmetic logic unit 6, the sixth And 51 element to form the address of the next microcommand from information located on the data bus 33 and coming through the fifth input 57 of block 1. The seventh element 52 is intended to form the address of the next microcommand from the address of the previous microcommand that comes in through the third input 55 of block 1 formation of the firmware address. The outputs of the switch 48, elements And 52 and 51 have three states, the address of the following microcommand is given to the second output 59 of unit 1.
Регистр 2 микропрограммного адреса предназначен дл запоминани на один микрокомандный цикл текущего микропрограммного адреса. Его выход соединен с первым входом блока 1 формировани микропрограммного адреса и с адресным входом блока 3 пам ти микрокоманд, обес- 5 печивающего при этом выдачу соответствующей микрокоманды на свой выход.Register 2 of the firmware address is designed to store the current firmware address for one microcommand cycle. Its output is connected to the first input of the microprogram address formation unit 1 and to the address input of the microcommand memory block 3, which ensures the output of the corresponding microcommand to its output.
Регистр 4 микрокоманды предназначен дл запоминани на один цикл текущей микрокоманды . Микрокоманда процессора со- 0 держит четыре пол : поле управлени адресом, поступающее на второй вход блока 1 формировани микропрограммного ад- ,реса; поле управл ющих микроинструкций, поступающее на вход дешифратора 5 управ- 5 л ющих микроинструкций и на третий вход блока 1; поле чтени , поступающее на вход блоков, выходы которых подключены к шине 33 данных, и поле кода операции, поступающее на соответствующий вход арифмети0 ко-логического блока 6.Register 4 of the micro-instructions is designed to memorize the current micro-instructions for one cycle. The microcommand of the processor contains four fields: the address control field, which arrives at the second input of the microprogramming address generation unit 1; the field of control microinstructions, which is fed to the input of the decoder 5 of the control- 5 leveraging microinstructions and to the third input of unit 1; the reading field, which enters the input of the blocks, the outputs of which are connected to the data bus 33, and the operation code field, which arrives at the corresponding input of the arithmetic unit of the logical block 6.
Дешифратор 5 управл ющих микроинструкций предназначен дл формировани управл ющих сигналов из пол управл ющих микроинструкций микрокоманды. Вы5 ходы дешифратора 5 соединены с соответствующими управл емыми элементами процессора.The decoder 5 control microinstructions is designed to generate control signals from the field of control microinstructions microcommands. The outputs 5 of the decoder 5 are connected to the corresponding controllable elements of the processor.
Арифметико-логический блок 6 предназначен дл арифметико-логической обра0 ботки информации, поступающей на два его входа-выхода (информационный и регистровой информации) в соответствии с кодом операции на его входе кода операции. Результат в зависимости от кода операции по5 вл етс на информационном входе-выходе, входе-выходе регистровой информации и выходе адреса блока 6. В соответствии со структурой блока 6 (фиг. 4) дешифратор 60 кода операции предназна0 чен дл формировани из синхросигнала и пол кода операции микрокоманды управл ющих сигналов дл арифметико-логической схемы 61, коммутаторов 63 и 64, регистра 62 результата и выходных управл 5 ющих сигналов на синхровыходе 74 дл блоков 10 регистровой пам ти и управлени записью 75 дл регистра 7 адреса. Синхросигнал поступает на вход дешифратора 60 через синхровход 67, а код операции - черезThe arithmetic logic unit 6 is intended for arithmetic logic processing of information received at its two inputs / outputs (information and register information) in accordance with the operation code at its input of the operation code. The result, depending on the operation code, is on the information input-output, input-output register information and output of the block 6 address. In accordance with the structure of block 6 (FIG. 4), the operation code decoder 60 is intended to form from a sync signal and the code field control command microcommand operations for the arithmetic logic circuit 61, switches 63 and 64, result register 62 and output control 5 signals at sync output 74 for blocks 10 of the register memory and control of record 75 for the address register 7. The clock signal is fed to the input of the decoder 60 through the synchronization 67, and the operation code through
0 одноименный вход 66 арифметико-логического блока 6.0 the same input 66 of the arithmetic logic unit 6.
Арифметико-логическа схема 61 предназначена дл выполнени арифметико-логических операций над операндами,Arithmetic logic circuit 61 is designed to perform arithmetic logic operations on operands,
5 поступающими на ее входы с выходов коммутаторов 63 и 64, с учетом переноса, поступающего через вход 68. Результат операции поступает на выход 71 адреса и, вход-выход 73 регистровой информации и на вход регистра 62 результата. Регистр 62 результата5 coming to its inputs from the outputs of the switches 63 and 64, taking into account the transfer coming through the input 68. The result of the operation goes to the output 71 of the address and the input-output 73 of the register information and to the input of the register 62 of the result. Register 62 results
предназначен дл хранени результатов операций, выполн емых арифметико-логической схемой 61, запись в регистр 62 происходит по сигналу с выхода дешифратора 60. Шестой 63 и седьмой 64 коммутаторы предназначены дл подачи операндов на входы арифметико-логической схемы 61, Операнды могут поступать либо через информационный вход-выход 70, либо через вход-выход 73 регистровой информации. Управление коммутаторами 63 и 64 осуществл етс сигналами с выходов дешифратора 60 кода операции, П тый шинный формирователь 65 предназначен дл выдачи содержимого регистра 62 результата по сигналу на входе 76 чтени на информационный выход 70 арифметико-логического блока 6, выход шинного формировател 65 имеет три состо ни .is intended for storing the results of operations performed by arithmetic logic 61, writing to register 62 occurs on a signal from the output of decoder 60. Sixth 63 and seventh 64 switches are used to supply operands to the inputs of arithmetic logic 61, Operands can be received either through information input-output 70, or through the input-output 73 of the register information. The switches 63 and 64 are controlled by signals from the outputs of the decoder 60 of the operation code. Fifth bus driver 65 is designed to output the contents of the result register 62 to the information output 70 of the arithmetic logic unit 6, the output of the bus driver 65 has three states neither
Регистр 7 адреса обеспечивает запоминание нового адреса оперативной пам ти, полученного на адресном выходе блока 6 как результат текущей операции, при наличии сигнала управлени записью на одноименном выходе блока 6, Информационный выход регистра 7 соединен с шиной 34 адреса , Новый адрес оперативной пам ти поступает на шину 34 адреса все врем до следующей записи информации в регистр 7. Блок 8 оперативной пам ти предназначен дл хранени промежуточных результатов операций микропрограммного процессора. Блок 8 записывает информацию , по вл ющуюс на шине 33 данных, по сигналу записи данных, поступающему с одноименного выхода дешифратора 5 управл ющих микроинструкций. Блок 8 обеспечивает выдачу информации на шину 33 данных по сигналу чтени , поступающему с выхода чтени регистра 4 микрокоманды . Адрес обращени к блоку 8 соответствует информации на шине 34 адреса . Выход блока 8 имеет три состо ни .The address register 7 stores the new memory address obtained at the address output of block 6 as a result of the current operation, if there is a write control signal at the same output of block 6, the information output of the register 7 is connected to the address bus 34, the new memory address arrives at address bus 34 all the time until the next recording of information into register 7. RAM memory unit 8 is designed to store intermediate results of the operations of the microprocessor processor. The unit 8 records the information appearing on the data bus 33 by the data recording signal received from the output of the decoder 5 of the control microinstructions of the same name. Unit 8 provides information to the data bus 33 via the read signal coming from the read output of register 4 microcommands. The address of the address to block 8 corresponds to the information on the address bus 34. The output of block 8 has three states.
Блок 9 синхронизации предназначен дл формировани управл ющих синхросигналов процессора, генератор 77 синхроимпульсов - дл формировани на своем выходе синхропоследовательности пр моугольных импульсов со скважностью два, котора поступает на счетный вход триггера 78 и на первый вход восьмого элемента И 79 (фиг, 5). На второй вход этого элемента поступает сигнал инверсного выхода триггера 78. В результате на выходе восьмого элемента И 79 обеспечиваетс выработка синхросигналов со скважностью четыре, которые соответствуют первому выходу 80 блока 9 синхронизации (диаграмма А фиг 6) На пр мом выходе триггера 78 формируетс сигнал, соответствующий второму выходуThe synchronization unit 9 is designed to form the control clock signals of the processor, the sync pulse generator 77 — to form at its output a sync sequence of square pulses with a duty cycle of two, which goes to the counting input of the trigger 78 and the first input of the eighth element I 79 (FIG. 5). The second input of this element receives the signal of the inverse output of the trigger 78. As a result, the output of the eighth element I 79 generates clock signals with a duty cycle of four, which correspond to the first output 80 of the synchronization unit 9 (diagram A of FIG. 6) The forward output of the trigger 78 generates a signal corresponding to the second exit
81блока 9 (диаграмма Б фиг. 6), на инверсном выходе триггера 78 устанавливаетс сигнал, соответствующий третьему выходу81 of block 9 (diagram B of FIG. 6), a signal corresponding to the third output is set at the inverse output of the trigger 78
82блока 9 (диаграмма В фиг. 6).82 of block 9 (diagram B of FIG. 6).
Основной и дополнительные блоки 10Main and additional units 10
регистровой пам ти представл ют собой сверхоперативную пам ть и организованы в виде страниц. Кажда страница предназначена дл хранени в сверхоперативной па0 м ти информации, специфической дл одного из процессов - контекста (образа) этого процесса. Ячейки страницы предназначены дл хранени результатов промежуточных операций арифметико-логическогоthe register memory is a non-operative memory and is organized in the form of pages. Each page is intended for storing in a super-operational way information specific to one of the processes - the context (image) of this process. Page cells are designed to store the results of intermediate arithmetic logic operations.
5 блока 6.5 block 6.
Кажда страница блока 10 регистровой пам ти предназначена дл работы с одним из существующих в процессоре процессов, Номер страницы соответствует имени про0 цесса. В зависимости оттого, какой процесс находитс на обслуживании в текущий момент , на управл ющий вход соответствующей страницы поступает сигнал с выхода дешифратора 14 страниц. Запись информа5 ции в выбранную таким образом страницу производитс по сигналу, поступающему с синхровыхода арифметико-логического блока 6 на синхровход страницы. Информаци дл записи и читаема информаци по вл 0 ютс на информационном входе-выходе страницы, подключенном к входу-выходу регистровой информации арифметико-логического блока 6. Адрес регистра, к которому происходит обращение в странице, опреде5 л етс информацией на выходе адреса регистра арифметико-логического блока 6.Each page of block 10 of the register memory is designed to work with one of the existing processes in the processor. The page number corresponds to the name of the process. Depending on what process is currently being serviced, the control input of the corresponding page receives a signal from the output of the decoder of 14 pages. Information is recorded into the page selected in this way by a signal from the sync output of the arithmetic logic unit 6 to the page sync input. Information for recording and readable information appear on the information input-output of the page connected to the input-output of the register information of the arithmetic logic unit 6. The register address that is accessed in the page is determined by the information on the output of the register address of the arithmetic logical block 6.
Блок 11 пам ти страниц и блок 12 пам ти адресов процессов предназначены дл хранени информации о существующихThe page memory unit 11 and the process address memory unit 12 are designed to store information about existing
0 процессах в пор дке очередности их обслуживани , поэтому адрес доступа всегда устанавливаетс одинаковым дл обоих блоков. При отсутствии на входах записи блоков 11 и 12 пам ти соответствующих сиг5 налов осуществл етс чтение информации из блоков 11 и 12 по установленному на их адресных входах адресу. Число чеек блоков 11 и 12, разр дность чейки блока 11 определ ютс предельно допустимым чис0 лом существующих процессов. Разр дность чейки блока 12 пам ти определ етс разр дностью адреса микрокоманд.In order to process them in order of priority, the access address is always set the same for both units. In the absence of recording entries of blocks 11 and 12 of the memory of the corresponding signals, information from blocks 11 and 12 is read at the address set at their address inputs. The number of cells of blocks 11 and 12, the cell width of block 11 are determined by the maximum allowable number of existing processes. The cell width of the memory unit 12 is determined by the address width of the micro-instructions.
Блок 11 пам ти страниц используетс дл хранени номеров страниц блока 10 ре5 гистровой пам ти, предназначенныхдл работы с существующими в процессоре процессами. Номер страницы вл етс именем процесса. Дл записи в блок 11 пам ти используетс информаци с шины 33 данных Адрес записи определ етс информацией на выходе первого коммутатора 17 и совпадает с адресом записи в блок 12 пам ти адресов процессов. Блок 12 пам ти адресов процессов обеспечивает хранение пусковых адресов процессов. В отличие от блока 11 информаци дл записи в блок 12 пам ти поступает через второй коммутатор 18 либо с шины 33 данных, либо с выхода блока 3 пам ти микрокоманд. Последнее необходимо дл обеспечени возврата процесса в адрес, в котором он был сн т с обслуживани , при последующей постановке на обслуживание этого процесса. Запись в блоки 11 и 12 происходит всегда раздельно , кроме записи по начальной установке, чтение осуществл етс при отсутствии записи .The page memory unit 11 is used to store the page numbers of the histological memory unit 10, designed to work with existing processes in the processor. The page number is the process name. Information from the data bus 33 is used to write to the memory 11. The write address is determined by the information at the output of the first switch 17 and coincides with the write address of the process address memory 12. Process address memory block 12 provides storage of process start addresses. In contrast to block 11, information for writing to memory block 12 is received through the second switch 18 either from the data bus 33 or from the output of block 3 of microcommand memories. The latter is necessary to ensure that the process returns to the address in which it was taken out of service during subsequent maintenance of this process. The recording in blocks 11 and 12 is always separate, except for the recording by the initial installation, the reading is carried out in the absence of a recording.
Регистр 13 страниц предназначен дл хранени номера страницы блока 10 регистровой пам ти того процесса, который в текущий момент находитс на обслуживании в процессоре. На информационный вход регистра 13 поступает информаци с выхода блока 11 пам ти страниц, запись ее в регистр 13 производитс по приходе сигнала на синхровход регистра 13 при постановке на обслуживание нового процесса.The register of 13 pages is intended to store the page number of the block 10 of the register memory of the process that is currently being serviced by the processor. The information input of the register 13 receives information from the output of the page memory block 11, and it is written to the register 13 upon arrival of the signal to the synchronous input of the register 13 when the new process is serviced.
Дешифратор 14 номера страницы предназначен дл дешифрации имени процесса с целью включени в работу с процессом требуемой страницы блока 10 регистровой пам ти, Вырабатываемый на соответствующем выходе дешифратора 14 сигнал поступает на управл ющий выход одной из страниц блока 10 регистровой .The decoder 14 of the page number is designed to decrypt the process name in order to put the required page of the register memory 10 into operation with the process. The signal generated at the corresponding output of the decoder 14 is fed to the control output of one of the pages of the block 10 register.
Пересчетна схема 15 предназначена дл хранени адреса процесса, наход щегос на обслуживании, и хранени числа существующих процессов. Число процессов, наход щихс в процессоре, хранитс в регистре 45 числа процессов, вход щем в состав пересчетной схемы 15 (фиг. 2), и записываетс в регистр 45 с шины 33 данных , подключенной к информационному входу 41 пересчетной схемы 15, по сигналу записи числа процессов, поступающему на одноименный вход 40 пересчетной схемы 15 с выхода дешифратора 5 управл ющих микроинструкций . Число процессов может быть считано через одноименный выход 37 пересчетной схемы 15. Адрес обслуживаемого в данный момент процесса содержитс в счетчике 43 адреса, в который он либо записываетс с шины 33 данных, соединенной с информационным выходом 41, либо наращиваетс на единицу к содержимому счетчика 43, Увеличение адреса на единицу происходит по сигналу переключени процессов , поступающему с одноименного выхода дешифратора 5 управл ющихScaling circuit 15 is designed to store the address of the process being maintained and to store the number of existing processes. The number of processes in the processor is stored in the number of processes register 45 included in the scaling circuit 15 (FIG. 2), and is recorded in the register 45 from the data bus 33 connected to the information input 41 of the scaling circuit 15, according to the write signal the number of processes arriving at the input 40 of the scaling circuit 15 from the output of the decoder 5 control microinstructions. The number of processes can be read through the output 37 of the scaling circuit 15 of the same name. The address of the process currently being serviced is contained in the counter 43 of the address where it is either written from the data bus 33 connected to the information output 41, or incremented by one to the contents of the counter 43, An increase in the address per unit occurs according to the process switching signal from the decoder 5 output of the same name controlling
микроинструкций одновременно с синхросигналом с третьего выхода блока 9 на счетный вход счетчика 43 через вход 38 пересчетной схемы 15. Если число процес- 5 сов в регистре 45 сравн етс с содержимым счетчика 43, то схема 46 сравнени выдаст сигнал, устанавливающий счетчик 43 в ноль, что соответствует постановке на обслуживание нулевого процесса.microinstructions simultaneously with the synchronization signal from the third output of block 9 to the counting input of counter 43 via input 38 of scaling circuit 15. If the number of processes in register 45 compares with the contents of counter 43, comparison circuit 46 will generate a signal that sets counter 43 to zero, which corresponds to the maintenance of the zero process.
0 Триггер 16 режима предназначен дл обеспечени доступа к информации о процессах , хран щейс в блоках 11 и 12. Управ- .ление триггером 16 режима осуществл етс программно с использованием пол управ5 л ющих микроинструкций. В единичном состо нии триггер 16 подключает через первый коммутатор 17 шину 34 адреса к выходам адреса блоков 11 и 12, а через второй коммутатор 18 - шину 33 данных на0 The mode trigger 16 is designed to provide access to information about the processes stored in blocks 11 and 12. The mode trigger 16 is controlled by software using the control microinstructions field. In one state, the trigger 16 connects through the first switch 17 the address bus 34 to the address outputs of the blocks 11 and 12, and through the second switch 18 to the data bus 33
0 вход данных блока 12 пам ти адресов процессов .0 input data block 12 memory addresses of processes.
Первый коммутатор 17 предназначен дл подключени на адресные входы блоков 11 и 12 информации с шины 34 адреса или сThe first switch 17 is designed to connect to the address inputs of blocks 11 and 12 of information from the address bus 34 or
5 адресного выхода 36 пересчетной схемы 15 в зависимости от сигнала на выходе триггера 16 режима.5 address output 36 of the scaling circuit 15, depending on the signal at the output of the trigger 16 mode.
Второй коммутатор 18 предназначен дл подключени к входу данных информа0 ции с шины 33 данных или выходов блока 3 пам ти микрокоманд, соответствующих полю управлени адресом микрокоманды, в зависимости от сигнала на выходе триггера 16 режима.The second switch 18 is designed to connect to the data input information from the data bus 33 or the outputs of the microcommand memory block 3, corresponding to the microcommand address control field, depending on the signal at the output of the mode trigger 16.
5 Третий коммутатор 19 предназначен дл подключени к информационному входу регистра 2 микропрограммного адреса информации с выхода блока 12 пам ти адресов процессов или с второго выхода блока 15 The third switch 19 is intended to be connected to the information input of register 2 of the firmware address information from the output of the process address memory block 12 or from the second output of block 1
0 формировани микропрограммного адреса в зависимости от сигнала на управл ющем входе коммутатора 19. На управл ющий вход коммутатора 19 сигнал поступает с выхода четвертого элемента ИЛИ 32.0 formation of the firmware address depending on the signal at the control input of the switch 19. To the control input of the switch 19, the signal comes from the output of the fourth element OR 32.
5Первый 20 и второй 21 шинные формирователи предназначены дл выдачи на шину 33 данных информации соответственно об имени и пусковом адресе обслуживаемого процесса с выходов блоков 11 и 12. Уп0 равление шинными формировател ми осуществл етс полем чтени микрокоманды , выходы шинных формирователей 20 и 21 имеют три состо ни .5 The first 20 and second 21 bus drivers are designed to issue data 33 to the bus 33, respectively, about the name and start address of the process being served from the outputs of blocks 11 and 12. The bus drivers are controlled by a microcommand reading field; the outputs of bus drivers 20 and 21 have three states neither
Третий 22 и четвертый 23 шинные фор5 мирователи предназначены дл выдачи на шину 33 данных соответственно адреса процесса , наход щегос на обслуживании, с выхода 36 пересчетной схемы 15 и числа существующих процессов с выхода 37 пересчетной схемы 15. Управление или ымиThe third 22 and fourth 23 bus forwarders are intended for issuing to the bus 33 data the addresses of the process being serviced, respectively, from output 36 of the scoring circuit 15 and the number of existing processes from output 37 of the scaling circuit 15. Control or
формировател ми осуществл етс полем чтени микрокоманды, выходы шинных формирователей 22 и 23 имеют три состо ни .the formers are carried out by the microcommand reading field; the outputs of the bus formers 22 and 23 have three states.
Первый 24 и второй 25 элементы И предназначены соответственно дл формировани сигналов записи дл блоков 11 и 12 из синхросигнала с второго выхода блока 9 синхронизации в зависимости от сигналов на их первых входах, третий элемент И 26 - дл формировани сигнала, поступающего на счетный вход 38 пересчетной схемы 15, из синхросигнала с третьего выхода блока 9 синхронизации из сигнала переключени процессов с одноименного выхода дешифратора 5 управл ющих микроинструкций.The first 24 and second 25 And elements are respectively used to form the recording signals for blocks 11 and 12 from the sync signal from the second output of the synchronization unit 9 depending on the signals at their first inputs, the third And 26 element to form a signal arriving at the counting input 38 of the recalculated circuits 15, from the sync signal from the third output of the synchronization unit 9 from the process switching signal from the same output of the decoder 5 control microinstructions.
Четвертый элемент И 27 предназначен дл формировани сигнала, поступающего на синхровход регистра 13 страницы, из сигнала с первого выхода блока 9 синхронизации в зависимости от сигнала на первом входе элемента 27, п тый элемент И 28 - дл формировани сигнала, поступающего на вход 39 записи числа процессов пересчетной схемы 15, из сигнала с третьего выхода блока 9 синхронизации и сигнала записи адреса пересчетной схемы с одноименного выхода дешифратора 5 управл ющих микроинструкций .The fourth element And 27 is designed to form a signal supplied to the synchronous input of the register 13 of the page, from the signal from the first output of the synchronization unit 9 depending on the signal at the first input of the element 27, the fifth element And 28 - to form the signal input to the number 39 record the processes of the scaling circuit 15, from the signal from the third output of the synchronization unit 9 and the signal recording the address of the scaling circuit from the equal output of the decoder 5 control microinstructions.
Первый элемент ИЛИ 29 предназначен дл формировани сигнала дл подачи на первый вход второго элемента И 25, означающего , что в блок 12 пам ти адресов процессов должна осуществитьс запись информации, второй элемент ИЛИ 30 - дл формировани сигнала дл подачи на первый вход первого элемента И 24, означающего , что в блок 11 пам ти страниц должна осуществитьс запись информации.The first element OR 29 is designed to form a signal for supplying the second element AND 25 to the first input, meaning that information should be recorded in the process address memory block 12, the second element OR 30 - to form a signal for supplying the first element AND 24 to the first input that means that information should be recorded in block 11 of the page memory.
Третий элемент ИЛИ 31 предназначен дл формировани сигнала дл подачи на первый вход третьего элемента И 27, означающего , что в регистр 13 страниц должна осуществитьс запись информации, четвертый элемент ИЛИ 32 - дл формировани сигнала дл подачи на управл ющий вход четвертого коммутатора 19.The third element OR 31 is designed to form a signal for supplying the third element AND 27 to the first input, meaning that information must be recorded in the 13-page register, the fourth element OR 32 is to form a signal for supplying the fourth switch 19 to the control input.
Процессор работает следующим образом .The processor works as follows.
На обслуживании в процессоре всегда находитс не менее одного процесса. Процессы имеют имена, совпадающие с адресами страниц блока 10 регистровой пам ти и хран щиес в блоке 11 пам ти страниц Каждый процесс снабжаетс информацией о себе в виде своего имени (номера страницы блока 10 регистровой пам ти) и начального микропрограммного адреса. Процессы организованы в циклическую очередь Пор док в очереди определ етс пор дкомAt least one process is always in service in the processor. The processes have names that match the page addresses of the register memory block 10 and are stored in the page memory block 11. Each process is supplied with information about itself in the form of its name (the page number of the register memory block 10) and the initial firmware address. Processes are organized in a cyclic queue. The order in the queue is determined by the order of
следовани адресов чеек блоков 11 и 12, в которых записана информаци о процессах. Пор док обслуживани пррцессов -т(рсле- довательно по адресам чеек блоков 1%и 12,following the addresses of the cells of blocks 11 and 12, in which information about the processes is recorded. The order of servicing the processes is t (consequently, at the addresses of the cells of the blocks 1% and 12,
хран щих информацию о процессах. Цикличность обслуживани процессов обеспечиваетс постановкой на обслуживание процесса с нулевым адресом после сн ти с обслуживани процесса со старшим в оче0 реди адресом.storing information about processes. The cyclicality of the service process is provided by placing the process with a zero address after the service is removed from the process with the most senior address.
При постановке процесса на обслуживание он должен быть обеспечен доступом к именной странице блока 10 регистровой пам ти и снабжен своим начальным микро5 программным адресом в качестве адреса первой микрокоманды. Адрес чеек блоков 11 и 12, содержащих информацию о наход щемс на обслуживании процессе, и число процессов, существующих в процессоре,When setting up a maintenance process, it should be provided with access to the nominal page of block 10 of the register memory and be supplied with its initial micro5 program address as the address of the first microcommand. The address of the cells of blocks 11 and 12, which contain information about the process being maintained, and the number of processes existing in the processor,
0 хранитс в пересчетной схеме 15. Предельно допускаемое количество процессов, наход щихс в процессоре, определ етс разр дностью чейки пам ти блока 11 пам ти страниц и соответствующей ей разр дно5 стью регистра 13 страниц. Об зательный дл нахождени в процессоре процесс - нулевой , который обеспечивает обслуживание остальных процессов и порождаетс в микропрограммном процессоре сигналом на0 чальной установки. Кроме того, в процессоре предусмотрено выполнение следующих операций с процессами: порождение новых процессов (в рамках из предельно допускаемого количества), чтение0 is stored in the scaling circuit 15. The maximum allowable number of processes in the processor is determined by the width of the memory cell of the page memory block 11 and the corresponding register size of 13 pages. The process required for being in the processor is zero, which ensures the maintenance of the remaining processes and is generated by the initial installation signal in the firmware program. In addition, the processor provides for the following operations with processes: generation of new processes (within the limits of the maximum allowable number), reading
5 информации о любом процессе и пересчетной схеме 15, постановка процесса на обслуживание , уничтожение процесса путем подт гивани .5 information about any process and scoring scheme 15, setting the process for maintenance, destruction of the process by pushing.
Порождение в микропрограммном про0 цессоре нулевого процесса происходит путем подачи в процессор сигнала начальной установки через вход 35. Этот сигнал поступает через четвертый элемент И 32 на управ- л ющий вход третьего коммутатора 19,The generation of a zero process in the microprocessor processor occurs by applying to the processor an initial setup signal through input 35. This signal goes through the fourth element AND 32 to the control input of the third switch 19,
5 через третий элемент ИЛИ 31 на первый вход элемента И 27, через второй элемент ИЛИ 30 - на первый вход первого элемента И 24, через первый элемент ИЛИ 29 - на первый вход элемента И 25, на вход началь0 ной установки регистра 7 адреса, на вход 42 начальной установки пересчетной схемы 15 и на вход асинхронной установки в единичное состо ние триггера 16 режима. В результате , регистр 7 адреса устанавливаетс 5 through the third element OR 31 to the first input of the element AND 27, through the second element OR 30 to the first input of the first element AND 24, through the first element OR 29 to the first input of the element AND 25, to the input of the initial setting of the register 7 address, to the input 42 of the initial installation of the scaling circuit 15 and the input of the asynchronous installation to the single state of the trigger 16 mode. As a result, the address register 7 is set
5 в нулевое состо ние, счетчик 43 адреса {фиг. 2) пересчетной схемы 15 - в нулевое состо ние , а на выходе триггера 16 по вл етс сигнал, поступающий на управл ющие входы первого 17 и второго 18 коммутаторов соответственно. Тем самым первый коммутатор 17 обеспечивает подключение шины 34 адреса к адресным входам блоков 11 и 12, второй коммутатор 18 подключает шину 33 данных к входу данных блока 12 пам ти адресов.процессов.5 to the zero state; the address counter 43 {FIG. 2) scaling circuit 15 is in the zero state, and at the output of flip-flop 16 a signal arrives at the control inputs of the first 17 and second 18 switches, respectively. Thus, the first switch 17 provides the connection of the address bus 34 to the address inputs of blocks 11 and 12, the second switch 18 connects the data bus 33 to the data input of the memory block 12 of the address.processes.
Шина 33 данных электрически имеет два состо ни , хот к ней подключены выходы элементов, имеющие три состо ни . Это объ сн етс специальным включением резисторов , доопредел ющих третье состо - ние на шине 33 до нулевого потенциала. К шине 33 данных в момент начальной установки не подключен ни один из источников информации, и электрический потенциал на ней равен нулю. Поэтому при поступлении сигналов записи на входы записи блоков 11 и 12 в последние запишутс нули. Сигналы записи дл блоков 11 и 12 вырабатываютс в момент единичного потенциала на втором выходе блока 9 синхронизации, котор ый по- ступает на вторые входы элементов И 24 и 25, и снимаютс с выходов этих элементов, В результате сигнал записи поступает на вход записи блока 11 пам ти адресов процессов с выхода второго элемента И 25 и на вход записи блока 12 пам ти страниц - с выхода первого элемента И 24.The data bus 33 electrically has two states, although element outputs having three states are connected to it. This is due to the special inclusion of resistors that extend the third state on bus 33 to zero potential. At the time of the initial installation, none of the information sources are connected to the data bus 33, and the electric potential on it is zero. Therefore, when signals are written to the recording inputs of blocks 11 and 12, zeros will be written to the last. The recording signals for blocks 11 and 12 are generated at the time of a single potential at the second output of the synchronization unit 9, which is supplied to the second inputs of the AND elements 24 and 25, and removed from the outputs of these elements. As a result, the recording signal is fed to the recording input of the block 11 the memory of the addresses of processes from the output of the second element I 25 and to the input of the record of the block 12 pages memory from the output of the first element I 24.
Адрес записи определ етс информацией , наход щейс на шине 34 адреса. Информаци на шине 34 адреса определ етс информацией, наход щейс в регистре 7 адреса , в котором по сигналу начальной установки по вл ютс нули. Следовательно, нулева информаци с шины 33 данных записываетс в блоки 11 и 12 по нулевому адресу. Это соответствует порождению нулевого процесса. Как только оканчиваетс существование сигналов-записи на выходах первого 24 и второго 25 элементов И, блоки 11 и 12 включаютс в режим чтени . На выходе блока 11 пам ти страниц по вл етс номер страницы блока 10 регистровой пам ти , соответствующий порожденному процессу . Этот номер запишетс в регистр 13 страниц по приходу на второй вход четвер- того элемента И 27 сигнала с первого выхода блока 9 синхронизации, поскольку на первый вход элемента И 27 поступает сигнал начальной установки с выхода третьего элемента ИЛИ 31.The address of the entry is determined by the information on the address bus 34. The information on the address bus 34 is determined by the information found in the address register 7, in which zeroes appear at the initial setting signal. Therefore, the null information from the data bus 33 is recorded in blocks 11 and 12 at the zero address. This corresponds to the generation of the zero process. As soon as the existence of the write signals at the outputs of the first 24 and second 25 elements And terminates, blocks 11 and 12 are included in the read mode. At the output of the page memory block 11, the page number of the register memory block 10 corresponding to the spawned process appears. This number will be written into the register of 13 pages by the arrival at the second input of the fourth And 27 element of the signal from the first output of the synchronization unit 9, since the initial input of the And 27 element receives the initial setup signal from the output of the third element OR 31.
Информаци , записанна в регистр 13 страниц, поступает на вход дешифратора 14 номера страниц. По вившийс на одном из его выходов сигнал поступает на вход уп- равлени соответствующего блока 10 регистровой пам ти и включает его в работу. В это же врем блок 12 пам ти адресов процессов тоже включаетс в режим чтени и на его выходе по вл етс информаци оThe information, recorded in the register of 13 pages, is fed to the input of the decoder 14 page numbers. The signal that occurred at one of its outputs is fed to the control input of the corresponding register memory block 10 and turns it on. At the same time, the block 12 of the memory of the addresses of the processes is also included in the reading mode and at its output appears information about
первом микропрограммном адресе порожденного процесса. Эта информаци поступает через соответствующе подключенный третий коммутатор 19 на информационный вход регистра 2 микропрограммного адреса , в который и записываетс по приходу на синхровход регистра 2 синхросигнала с первого выхода блока 9 синхронизации. После этого начальна установка считаетс завершенной , и одноименный сигнал с выхода 35 снимаетс .the first firmware address of the spawned process. This information is fed through the appropriately connected third switch 19 to the information input of register 2 of the firmware address, into which it is recorded upon arrival at the sync input of the sync signal 2 from the first output of the synchronization unit 9. Thereafter, the initial installation is considered complete, and the signal of the same name from output 35 is removed.
Далее начинаетс работа микропрограммного процессора в режиме выполнени микропрограмм порожденного, в данном случае нулевого, процесса. Загруженный адрес микрокоманды с выхода регистра 2 поступает на вход адреса блока 3 пам ти микрокоманд, на выходе которого по вл етс парва считанна микрокоманда . Микрокоманда данного процессора состоит из четырех полей микроинструкций: пол управлени адресом следующей микрокоманды , пол управл ющих микроинструкций , пол чтени , пол кода операций. Кажда микрокоманда с выхода блока 3 пам ти микрокоманд подаетс на вход регистра 4 микрокоманд и записываетс в него по приходу на его синхровход синхросигнала с первого выхода блока 9 синхронизации. Одна из первых микрокоманд нулевого про- цесса должна содержать в поле управл ющих микроинструкций код микроинструкции Сн тие режима доступа. Управл ющий сигнал, соответствующий данному коду, после подачи этого кода на вход дешифратора 5 управл ющих микроинструкций с выхода регистра 4 микрокоманд по вл етс на одноименном выходе дешифратора 5 и далее поступает на синхронный вход установки в ноль триггера 16 режима. Триггер 16 установитс в ноль по приходу на его синхровход синхросигнала с первого выхода блока 9 синхронизации.Then the microprocessor processor starts operating in the microprogram execution mode of the child, in this case, zero process. The loaded address of the microcommand from the output of the register 2 is fed to the input of the address of the block 3 of the memory of microcommands, at the output of which a parvah microcommand appears. The microcommand of this processor consists of four fields of microinstructions: the control field of the address of the next microcommand, the field of control microinstructions, the field of reading, the field of the operation code. Each micro-command from the output of the micro-command memory block 3 is inputted to the register of 4 micro-commands and is written to it by the arrival of a clock signal from its first output of the synchronization unit 9. One of the first microinstructions of the zero process must contain the microinstruction code Disconnecting the access mode in the field of control microinstructions. The control signal corresponding to this code after supplying this code to the input of the decoder 5 control microinstructions from the register output 4 micro-instructions appears on the same output of the decoder 5 and then goes to the synchronous input of setting zero of the mode trigger 16. The trigger 16 is set to zero when the clock signal arrives at its sync input from the first output of the synchronization unit 9.
Следующа микрокоманда должна обеспечивать запись в пересчетную схему 15 информации о числе процессов, состо щих на обслуживании. Дл этого поле кода операции предыдущей микрокоманды должно содержать код, формирующий соответствующую информацию на информационном выходе арифметико-логического блока 6. Последующа микрокоманда должна в поле чтени содержать код, разрешающий чтение информации на шину 33 данных с информационного выхода арифметики . -о- гического блока 6, а в поле управл ющих микроинструкций последующа микрокоманда должна содержать код микроинструкций записи числа про весов в пересчетную схему (фиг. 2). Информаци оThe next microinstruction should provide information on the number of processes to be recorded in the scaling circuit 15. For this field, the operation code of the previous microcommand must contain a code that forms the corresponding information on the information output of the arithmetic logic unit 6. The subsequent micro instruction must contain a code in the reading field that allows reading information on the data bus 33 from the information output of the arithmetic. - a logical block 6, and in the field of control microinstructions the subsequent microinstruction must contain the code of microinstructions for recording the number of weights in a scaling circuit (Fig. 2). Information about
числе процессов с шины 33 данных поступает на информационный вход 41 пересчетной схемы 15, а управл ющий сигнал записи подаетс с выхода Запись числа процессов в пересчетную схему дешифратора 5 управл ющих микроинструкций на вход 40 записи числа процессов пересчетной схемы 15. Причем сигнал записи поступает на вход регистра 45 числа процессов и обеспечивает запись в него информации с шины 33 данных. После выполнени этих об зательных микрокоманд процессор может выполн ть любые микрокоманды, обусловленные наход щимс на обслуживании процессом. Аналогично порождению нулевого процесса происходит порождение и последующих процессов. Отличие состоит в том, что, во-первых, триггер 16 режима устанавливаетс в единичное состо ние синхронно при поступлении на его вход установки сигнала Установка режима с соответствующего выхода дешифратора 5 управл ющих микроинструкций и на его синхровход синхросигнала с первого выхода блока 9 синхронизации. Сигнал Установка режима по вл етс на одноименном выходе дешифратора 5 при поступлении на вход дешифратора 5 соответствующего кода из пол управл ющих микроинструкций с выхода регистра 4 микрокоманды.the number of processes from the data bus 33 goes to the information input 41 of the scaling circuit 15, and the write control signal is output from the Record of the number of processes in the scaling circuit of the decoder 5 control microinstructions to the input 40 of the number of processes of the scaling circuit 15. And the write signal is fed to the input Register 45 of the number of processes and provides for recording information from the bus 33 of data into it. After these mandatory microcommands have been completed, the processor can execute any microcommands due to the process being serviced. Similar to the generation of the zero process, the generation and subsequent processes occur. The difference is that, firstly, the mode trigger 16 is set to one state synchronously when a signal arrives at its input. Setting the mode from the corresponding output of the decoder 5 of the control microinstructions and to its sync input clock signal from the first output of the synchronization unit 9. The Signal Mode Setting appears at the same output of the decoder 5 when the corresponding code arrives at the input of the decoder 5 from the field of control microinstructions from the register 4 output of microcommands.
Во-вторых, запись информации о номере страницы и адресе процесса в блоки 11 и 12 соответственно осуществл етс раздельно путем выполнени двух микрокоманд . В первой микрокоманде соответствующий код в поле кода операции обеспечивает по вление информации, соответствующей номеру страницы порождаемого процесса, на информационном выходе арифметико-логического блока 6. Во второй микрокоманде соответствующий код в поле чтени обеспечивает выдачу этой информации на шину 33 данных, а код в поле управл ющих микроинструкций обуславливает по вление на выходе Запись страницы дешифратора 5 одноименного сигнала. Этот сигнал через второй элемент ИЛИ 30 поступает на первый вход первого элемента И 24 и разрешает прохождение через второй вход этого элемента сигнала с второго выхода блока 9 синхронизации на вход записи блока 11 пам ти страниц.Secondly, the recording of information about the page number and the process address into blocks 11 and 12, respectively, is carried out separately by performing two microcommands. In the first micro-command, the corresponding code in the field of the operation code provides the appearance of information corresponding to the page number of the generated process at the information output of the arithmetic-logic unit 6. In the second micro-command, the corresponding code in the read field provides this information to the data bus 33, and the code in the field control microinstructions causes the appearance of the output Record page decoder 5 of the same signal. This signal through the second element OR 30 is fed to the first input of the first element AND 24 and permits the passage through the second input of this element from the second output of the synchronization unit 9 to the recording input of the page memory unit 11.
Таким образом, осуществл етс запись информации с шины 33 данных в блок 11 пам ти страниц. Втора пара микрокоманд аналогично обеспечивает запись начального адреса порождаемого процесса в блок 12 пам ти адресов процессов В первой микрокоманде соответствующий код в поле кода операции обеспечивает по вление информации , определ ющей начальный микропрограммный адрес порождаемого процесса , на информационном выходе арифметико-логического блока 6. Во второйThus, information from the data bus 33 is stored in the page memory unit 11. The second pair of micro-instructions similarly records the starting address of the process being spawned in block 12 of the process address memory. In the first micro-command, the corresponding code in the operation code field provides information that defines the initial microprogram address of the process being spawned at the information output of the arithmetic logic unit 6. In the second
микрокоманде соответствующий код в поле чтени обеспечивает выдачу этой информации на шину 33 данных, а код в поле управл ющих микроинструкций Обуславливает по вление на выходе Запись адреса дешифратора 5 одноименного сигнала. Этот сигнал через первый элемент ИЛИ 29 поступает на первый вход первого элемента И 25 и разрешает прохождение через второй вход этого элемента сигнала с второго выхо5 да блока 9 синхронизации на вход записи блока 12 пам ти адресов процессов.to the micro-command, the corresponding code in the reading field ensures the issuance of this information to the data bus 33, and the code in the field of control microinstructions Causes an output on the Record of the address of the decoder 5 of the same signal. This signal through the first element OR 29 enters the first input of the first element AND 25 and permits the passage through the second input of this element from the second output 5 of the synchronization unit 9 to the input of the recording of the memory 12 of the process address memory.
В-третьих, адрес записи в блоки 11 и 12 определ етс в арифметико-логическом блоке 6 и по вл етс на его выходе адреса.Thirdly, the address of the entry in blocks 11 and 12 is determined in arithmetic logic unit 6 and appears at its output address.
0 В следующей микрокоманде этот адрес записываетс в регистр 7 адреса путем подачи его на информационный вход регистра 7 и выработке согласно коду операции сигнала Управление записью, поступающего на0 In the next micro-command, this address is written into the register 7 of the address by supplying it to the information input of the register 7 and generating, according to the operation code, a signal to control the recording coming in
5 вход синхронизации регистра 7 адреса. Этот адрес с выхода регистра 7 выдаетс на шину 34 адреса и с нее поступает на адресные входы блоков 11 и 12 через подключенный соответствующим образом с помощью5 input synchronization register 7 addresses. This address from the output of register 7 is provided to the bus 34 of the address and from it goes to the address inputs of blocks 11 and 12 through the appropriately connected via
0 триггера 16 режима первый коммутатор 17. Численно адрес записи информации о порождаемом процессе равен адресам первых пустых чеек в блоках 11 и 12, Поскольку запись в блоки 11 и 12 всегда производитс 0 trigger 16 mode, the first switch 17. The address of the recording of information about the generated process is numerically equal to the addresses of the first empty cells in blocks 11 and 12, since writing to blocks 11 and 12 is always made
5 по одинаковым адресам, то и адреса первых пустых чеек в этих блоках совпадают По абсолютной величине адрес первых пустых чеек в блоках 11 и 12 соответствует содержимому регистра 45 числа процессов (фиг.5 at the same addresses, the addresses of the first empty cells in these blocks are the same. In absolute value, the address of the first empty cells in blocks 11 and 12 corresponds to the contents of the register 45 of the number of processes (FIG.
0 2), так как отсчет числа процессов, наход щихс в процессоре, начинаетс с единицы, адрес записи начального (нулевого) процесса вл етс нулевым, а запись производитс по последовательным адресам. Получение0 2), since the count of the number of processes in the processor starts from one, the write address of the initial (zero) process is zero, and the record is made at sequential addresses. Getting
5 информации об адресе первой пустой чейки в блоках 11 и 12 осуществл етс выполнением операции чтени .5, the address information of the first empty cell in blocks 11 and 12 is performed by performing a read operation.
Операци чтени осуществл ет выдачу на шину 33 данных информации о процессе,A read operation provides information to the bus 33 of the process information
0 хран щемс по произвольному адресу в блоках 11 и 12, и чтение информации о пересчетной схеме 15. Операци чтени реализуетс с использованием пол чтени микрокоманды. Поле чтени микрокоманды0 stored at an arbitrary address in blocks 11 and 12, and reading information about the conversion circuit 15. The read operation is implemented using the microcommand reading field. Microcommand Reading Field
5 имеет унитарное кодирование и поскольку обеспечивает чтение с шести устройств, то имеет шесь разр дов. Шестью устройствами , обслуживаемыми полем чтени , вл ютс информационный двунаправленный выход арифметико-логического блока 6 информационный двунаправленный выход блока 8 оперативной пам ти и, соответственно , первый 20, второй 21, третий 22 и четвертый 23 шинные формирователи. Каждый разр д пол чтени соединен с одним из перечисленных устройств. При необходимости чтени из любого из этих устройств в поле чтени содержитс единица в разр де, соединенном с требуемым устройством.5 has unitary coding and since it provides reading from six devices, it has a number of bits. The six devices served by the reading field are the informational bidirectional output of the arithmetic logic unit 6, the informational bidirectional output of the RAM unit 8 and, accordingly, the first 20, second 21, third 22 and fourth 23 bus drivers. Each bit of the reading field is connected to one of the listed devices. If it is necessary to read from any of these devices, there is a unit in the reading field connected to the required device.
Чтение информации о процессе проис- ходит при выполнении следующей последо- вательности микрокоманд, В первой микрокоманде в поле управл ющих микроинструкций должен содержатьс код, обеспечивающий формирование сигнала Установка режима на одноименном выходе дешифратора 5 управл ющих микроинст- рукций. Сигнал Установка режима поступает на вход синхронной установки триггера 16 режима в единичное состо ние, и по приходу на синхровход триггера 16 синхросигнала с первого выхода блока 9 синхронизации на выходе фиггера 16 устанавливаетс единичный сигнал. О н поступает на управл ющие входы первого 17 и второго 18 коммутаторов соответственно. По получении этого сигнала первый коммутатор 17 обеспечит подключение шины 34 адреса к адресным входам блоков 11 и 12 пам ти страниц и адресов процессов соот- ветственно. Коммутатор 18 подключит шину 33 данных к входу данных блока 12 пам ти адресов процессов.1Reading the information about the process occurs when the following sequence of microinstructions is performed. In the first microcommand in the control microinstruction field there should be a code ensuring the formation of a signal. Setting the mode on the same output of the decoder 5 control microinstructions. The Set mode signal is input to the synchronous setup of the mode trigger 16 in a single state, and on arrival at the sync input of the sync trigger 16 from the first output of the synchronization unit 9, a single signal is set at the output of the fig 16. It is fed to the control inputs of the first 17 and second 18 switches, respectively. Upon receipt of this signal, the first switch 17 will connect the address bus 34 to the address inputs of blocks 11 and 12 of the page memory and process addresses, respectively. The switch 18 connects the data bus 33 to the data input of the process address memory 12 block.1
Во второй микрокоманде в поле кода операции должен содержатьс код, обеспе- чивающий формирование адреса чтени ин- формации на адресном и сигнала управлени записью на одноименном выходах арифметико-логического блока 6. Наличие этих сигналов на соответствующих входах регистра 7 адреса обеспечит запись сформированного адреса чтени информации в регистр 7, и с выхода последнего адрес чтени информации о процессе поступит на шину 34 адреса. Кроме того, в поле чтени второй микрокоманды должен содержатьс код, обеспечивающий чтение информации с выхода шинного формировател 20 на шину 33 данных. На информационный вход шинного формировател 20 поступает информаци с выхода блока 11 пам ти, читаема в этот момент из чейки, адрес которой определен шиной 34 адреса, т.е. содержитс в регистре 7 адреса.In the second microcommand, the code of the operation code should contain a code that ensures the formation of the information reading address at the address and the write control signal at the same output of the arithmetic logic unit 6. The presence of these signals at the corresponding inputs of the address 7 will ensure the recording of the generated information reading address register 7, and from the last output, the reading address of the process information will go to the address bus 34. In addition, in the reading field of the second micro-command, there must be a code that provides reading information from the output of the bus driver 20 to the data bus 33. The information input of the bus driver 20 receives information from the output of the memory block 11, readable at this moment from the cell whose address is determined by the address bus 34, i.e. is contained in address register 7.
Дл потреблени считанной таким об- разом информации в поле управл ющих микроинструкций этой же микрокоманды должен находитьс код, позвол ющий дешифратору 5 управл ющих микроинструкций выработать сигнал на своемIn order to consume the information read in such a manner, in the control microinstructions field of the same microinstruction, a code should be found that allows the decoder 5 control microinstructions to generate a signal on their own.
соответствующем выходе сигнал Запись в блок оперативной пам ти. По этому сигналу , поступающему на вход записи блока 8 оперативной пам ти, произойдет запись информации с шины 33 данных по тому же адресу, по которому эта информаци считана из блока 11 пам ти страниц. Это один из возможных способов потреблени считанной о процессе информации. Аналогичным образом считываетс и информаци об адресе процесса из блока 12 пам ти адресов процессов. В третьей микрокоманде, если считанна информаци потреблена и не требуетс чтени информации из других устройств, в поле управл ющих микроинструкций должен содержатьс код микроинструкции дл формировани на соответствующем выходе дешифратора 5 сигнала Сн тие режима. По этому сигналу триг эр 16 режима установитс в нулевое состо ние, а в микропрограммном процессоре на обслуживании останетс прежний процесс, адрес которого определен адресным выходом 36 пересчетной схемы.corresponding to the output signal Record in the memory block. This signal, which is fed to the input of the recording of the RAM block 8, will record information from the data bus 33 at the same address at which this information is read from the block 11 of the page memory. This is one of the possible ways to consume information read about the process. Similarly, the process address information is read from the process address memory unit 12. In the third microcommand, if the read information is consumed and no reading of information from other devices is required, the microinstruction code must contain a microinstruction code in order to form the Unlock mode on the corresponding output of the decoder 5. By this signal, the trigger 16 mode will be set to the zero state, and in the firmware the servicing process will remain the same process, the address of which is determined by the address output 36 of the scaling circuit.
Чтением информации из пересчетной схемы можно вывести на шину 33 данных адрес процесса, наход щегос в данный момент на обслуживании, и число существующих в процессоре процессов. Дл этого нужно изложенным выше способом первой микрокомандой установить триггер 16 режима в единичное состо ние. Втора микрокоманда должна содержать в поле чтени код, соответствующий чтению либо информации с выхода шинного формировател 22, либо информации с выхода шинного формировател 23. Соответственно, на шине 33 данных в первом случае по витс адрес процесса , наход щегос на обслуживании, поскольку к информационному входу шинного формировател 22 подключен адресный выход 36 пересчетной схемы. Во втором случае на шине 33 данных по витс число процессов , существующих в процессоре, так как к информационному входу шинного формировател 23 подключен выход 37 Число процессов пересчетной схемы 15. Потребление информации с L ины 33 данных осуществл етс третьей микрокомандой либо указанным выше способом блоком 8 оперативной пам ти, либо арифметико-логическим блоком 6 при условии содержани в поле кода операции третьей микрокоманды соответствующего кода, обеспечивающего запись информации с шины 33 данных через информационный вход в арифметико-логический блок 6.By reading the information from the scaling circuit, you can output to the data bus 33 the address of the process currently in service, and the number of processes existing in the processor. To do this, you need to set the trigger 16 mode to one state by the first micro-command described above. The second micro-command must contain in the reading field a code corresponding to reading either the information from the output of the bus driver 22 or the information from the output of the bus driver 23. Accordingly, on the data bus 33 in the first case the address of the process that is in service appears, because to the information input bus former 22 connected address output 36 of the scoring circuit. In the second case, on the bus 33 of the data on Wits, the number of processes existing in the processor, since the output 37 is connected to the information input of the bus driver 23. The number of processes of the scaling circuit 15. The information from L data 33 data is consumed by the third micro-instruction or by the method indicated above by block 8 operating memory or arithmetic logic unit 6 provided that the third microcommand contains a corresponding code in the field of the operation code, which stores information from the data bus 33 through the information input to the arithmetic methico-logical unit 6.
Постановка процесса на обслуживание возможна двум способами: циклически по очереди и произвол( но, по указанному адресу чеек блоков 11 и 12 соответственно страниц и адресов процессов, хран щих информацию о процессе.The process can be set up for maintenance in two ways: cyclically in turn and arbitrariness (but at the specified address of the cells of blocks 11 and 12, respectively, of the pages and addresses of the processes that store information about the process.
Операци постановки процесса на обслуживание циклически по очереди выполн етс последовательностью из двух микрокоманд (диаграммы на фиг, 6), по вл ющимис последними в предыдущем процессе . В первой микрокоманде, адрес которой находитс в регистре 2 микропрограммного адреса и котора считываетс из блока 3 пам ти микрокоманд (очку 1 диаграммы Г и Д фиг. 6), в поле управл ющих микроинструкций содержитс код микроинструкции Переключение процессов. В момент чтени этой микрокоманды из блока 3 пам ти микрокоманд адресный выход 36 пересчетной схемы (диаграмма Л фиг. 6) через первый коммутатор 17 соединен с адресными входами блоков 11 и 12. Читаема из этих блоков информаци относитс к старому, наход щемус на обслуживании, процессу. С выхода блока 11 считываетс адрес старого процесса (диаграмма И фиг. 6), с выхода блока 12 - номер страницы (им ) старого процесса (диаграмма К фиг. 6). В регистре 13 страниц хранитс им старого процесса (диаграмма М фиг. 6). С по влением на первом выходе блока 9 очередного синхросигнала (диаграмма А фиг. 6) перва микрокоманда записываетс в регистр 4 микрокоманды (диаграмма Е фиг, 4), поле управл ющих микроконструкций поступает на вход дешифратора 5, и на его выходе по вл етс сигнал Переключение процесса (диаграмма Ж фиг. 6). Этот сигнал поступает через четвертый элемент ИЛИ 32 на управл ющий вход третьего коммутатора 19 и подключает выход блока 12 пам ти адресов процессов к входу регистра 2 микропрограммной адреса. Кроме того, сигнал Переключение процессов через третий элемент ИЛИ 31 поступает на первый вход четвертого элемента И 27, через первый элемент ИЛИ 29 на первый вход второго элемента И 25 и на первый вход третьего элемента И 26.The operation of putting the process into service is cyclically performed in turn by a sequence of two micro-instructions (diagrams in FIG. 6) that appear last in the previous process. In the first micro-command, the address of which is in register 2 of the microprogram address and which is read from block 3 of the memory of micro-commands (points 1 of the diagrams D and D of Fig. 6), the microinstruction code of the process switching is contained in the control microinstruction field. At the moment of reading this microcommand from block 3 of microcommand memory, the address output 36 of the scaling circuit (diagram L of Fig. 6) is connected via the first switch 17 to the address inputs of blocks 11 and 12. The information read from these blocks refers to the old one being serviced process. From the output of block 11, the address of the old process is read (diagram I of FIG. 6), and from the output of block 12, the page number (them) of the old process (diagram K of fig. 6). In the register, 13 pages are stored by it of the old process (diagram M of FIG. 6). With the appearance at the first output of block 9 of the next sync signal (diagram A of Fig. 6), the first micro-instruction is recorded in register 4 of micro-instructions (diagram E of Fig. 4), the field of control microstructures is fed to the input of the decoder 5, and the output appears Switching process (diagram G of Fig. 6). This signal is fed through the fourth element OR 32 to the control input of the third switch 19 and connects the output of the process address memory block 12 to the input of register 2 of the microprogram address. In addition, the signal Switching processes through the third element OR 31 is fed to the first input of the fourth element And 27, through the first element OR 29 to the first input of the second element And 25 and to the first input of the third element And 26.
На выходе регистра 2 микропрограммного адреса в этот момент уже находитс адрес второй микрокоманды (точка 2, диаграмма Г фиг. 6), котора считываетс с выхода блока 3 пам ти микрокоманд. Выход блока 3 частью разр дов, соответствующих полю управлени адресом микрокоманды, подключен к входу данных блока 12 пам ти адресов процессов через второй коммутатор 18, По приходу на вход записи блока 12 пам ти сигнала записи с второго выхода блока 9 синхросигналов через второй вход элемента И 25 в блок 12 запишетс информаци из разр дов пол управлени адресом микрокоманды, определ ющих новый начальный адрес (точку возврата) дл старого процесса (диаграммы Б, Д, Ж, И фиг. 6). ВAt the output of register 2 of the firmware address, at this moment, the address of the second micro-command (point 2, diagram D of Fig. 6), which is read from the output of block 3 of the memory of micro-commands, is already found. The output of the block 3 is part of the bits corresponding to the address control field of the microcommand connected to the data input of the process address memory block 12 via the second switch 18. When a recording signal from the second output of the block 9 clock signal arrives at the write input of the block 12 25, block 12 will record the information from the field address control bits of the microcommand that define the new starting address (return point) for the old process (diagrams B, D, F, And Fig. 6). AT
следующий момент времени по вл етс единичный сигнал на третьем выходе блока 9 синхронизации (диаграмма Б фиг. 6). Он поступает на второй вход элемента И 26, на первом входе которого присутствует сигналthe next moment of time appears a single signal at the third output of the synchronization unit 9 (diagram B of FIG. 6). He arrives at the second input element And 26, on the first input of which there is a signal
0 Переключение режима, поэтому с выхода элемента И 26 на счетный вход 38 пересчетной схемы 15 приходит сигнал. Этот сигнал (фиг, 2) поступает на счетный вход счетчика 43 адреса, который по нему увеличивает0 Switching the mode, so a signal comes from the output of the AND 26 element to the counting input 38 of the scaling circuit 15. This signal (Fig, 2) is fed to the counting input of the counter 43 of the address, which it increases
5 свое содержимое на единицу. Новый адрес по вл етс на выходе 36 пересчетной схемы и на первом входе схемы 44 сравнени 5 its contents per unit. A new address appears at output 36 of the scoring circuit and at the first input of circuit 44
На второй вход схемы 44 сравнени подаетс информаци с выхода регистра 45The second input of the comparison circuit 44 is supplied with information from the output of the register 45
0 числа процессов. Если новый адрес процесса совпадает с числом процессов, хран щихс в регистре 45, то схема 44 сравнени вырабатывает сигнал. Этот сигнал поступает через п тый элемент ИЛИ 46 на вход0 number of processes. If the new process address matches the number of processes stored in register 45, then comparison circuit 44 produces a signal. This signal is fed through the fifth element OR 46 to the input
5 установки в ноль счетчика 43 адреса, что означает, что очередь процессов обслужена , и на обслуживание вновь ставитс нулевой процесс. В любом случае на выходе 36 адреса пересчетной схемы 15 по вл етс 5, the address counter 43 is set to zero, which means that the process queue is serviced, and a zero process is put back in service. In any case, at the output 36 of the address of the scaling circuit 15,
0 новый адрес: нулевой или превышающий на единицу адрес старого процесса (диаграмма Л фиг. 6). Этот адрес поступает через первый коммулатор 17 на адресные входы блоков 11 и 12, с которых начинаетс считы5 вание соответственно значений имени (номера страницы) и начального адреса (точки возврата) нового процесса (диаграммы И и К фиг. 6) Номер страницы нового процесса, считываемый с выхода блока 11 пам ти0 new address: zero or greater than one address of the old process (diagram L of Fig. 6). This address comes through the first switch 17 to the address inputs of blocks 11 and 12, from which the reading of the values of the name (page number) and starting address (return point) of the new process (I and K figures 6) begins. The page number of the new process, read from the output of memory block 11
0 страниц, поступает на информационный вход регистра 13 страниц и запишетс в этот регистр 13 по приходу на синхровход регистра 13 очередного синхросигнала с первого выхода блока 9 синхронизации0 pages, arrives at the information input of the register of 13 pages and is written into this register 13 upon arrival at the synchronous input of the register 13 of the next sync signal from the first output of the synchronization unit 9
5 (диаграммы А, К, М фиг. 6).5 (diagrams A, K, M of Fig. 6).
С выхода регистра 13 страниц информаци поступает на вход дешифратора 14 номера страницы. Формирующийс сигнал на одном из выходов дешифратора 14 подаетс From the output of the register 13 pages of information is fed to the input of the decoder 14 page number. The forming signal at one of the outputs of the decoder 14 is supplied
0 на управл ющий вход соответствующей страницы блока 10 регистровой пам ти, и данна страница оказываетс включенной в работу. Начальный адрес нового процесса, считываемый с выхода блока 12 пам ти ад5 ресов процессов, поступает через соответственно подключенный третий коммутатор 19 на информационный вход регистра 2 микропрограммного адреса и запишетс в этот регистр 2 по приходу на его синхровход очередного синхросигнала с первого выхода блока 9 синхронизации (диаграмма А и Г фиг. 6). В результате, на адресный вход блока 3 пам ти микрокоманд поступит начальный адрес нового процесса, перва микрокоманда которого начнет считыватьс с выхода блока 3 пам ти микрокоманд (диаграммы Г, Д, точка 3 фиг. 6). Следующим синхросигналом с первого выхода блока 9 синхронизации перва микрокоманда нового процесса записываетс в регистр 4 микрокоманд (точка 4, диаграмма Е фиг. 6) и начинаетс ее выполнение. Новый процесс считаетс поставленным на обслуживание.0 to the control input of the corresponding page of the register memory block 10, and this page is turned on. The starting address of the new process, read from the output of the block 12 of the memory of the adres processes, goes through the respectively connected third switch 19 to the information input of register 2 of the firmware address and is written into this register 2 upon arrival of the next sync signal from the first output of the synchronization block 9 ( diagram A and D of Fig. 6). As a result, the start address of the new process will be sent to the address input of the microcommand memory block 3, the first microinstruction of which will begin to be read from the output of microcommand memory block 3 (diagrams D, D, point 3 in Fig. 6). With the next clock signal from the first output of the synchronization unit 9, the first microcommand of the new process is written into the register 4 of the microcommands (point 4, diagram E of Fig. 6) and its execution begins. A new process is considered as being delivered for service.
Постановка процесса на обслуживание не по опереди, а по адресу записи информации об sffcM процессе в блоках 11 и 12 происходит аналогично постановке на обслуживание по очереди и описываетс теми же диаграммами (фиг. 6), счита , что на диаграмме Ж фиг. 6 показан сигнал на выходе Запись адреса в пересчетную схему дешифратора 5 управл ющих микроинструкций , и код микроинструкции Запись адреса в пересчетную схему содержитс в поле управл ющих микроинструкций первой микрокоманды вместо кода микроинструкции Переключение процессов.Setting the process for servicing not by waiting, but at the address of recording information about the sffcM process in blocks 11 and 12 occurs in the same way as putting on servicing by turns and is described by the same diagrams (Fig. 6), considering that in diagram E of Fig. Figure 6 shows the output signal. Recording the address in the scaling circuit of the decoder 5 control microinstructions, and microinstruction code. Recording the address in the scaling circuit is contained in the control microinstruction field of the first microcommand instead of the microinstruction code Switching processes.
Кроме того, в первой микрокоманде в поле кода операции должен содержатьс код, обеспечивающий по вление на информационном выходе арифметико-логического блока 6 адреса процесса, берущегос на обслуживание, в поле чтени - код чтени информационного выхода арифметико-логического блока 6 на шину 33 пам ти. Тогда сигнал Запись адреса в пересчетную схему по вл етс на одноименном выходе дешифратора 5 и поступает через первый элемент ИЛИ 29 на первый вход второго элемента И 25 и на первый вход п того элемента И 28 (точка 2, диаграмма Ж фиг. 6). Сигнал с выхода этого элемента И 28 по витс и поступит на вход 39 записи адреса пересчетной схемы 15 в момент по влени единичного сигнала на третьем выходе блока 9 синхронизации. Этот сигнал поступает на вход записи счетчика 43 адреса (фиг, 2) и осуществл ет запись информации с информационного входа 41 пересчетной схемы, подключенного к шине 33 данных, на которой в этот момент находитс адрес нового процесса. В остальном процедура постановки нового процесса на обслуживание полностью совпадает с предыдущей.In addition, in the first microcommand, the code of the operation code must contain a code that ensures that the information output of the arithmetic logic unit 6 contains the address of the process to be serviced; in the reading field, the reading code of the information output of the arithmetic logic unit 6 on the memory bus 33 . Then the signal Address writing to the scaling circuit appears at the output of the decoder 5 of the same name and goes through the first element OR 29 to the first input of the second element AND 25 and to the first input of the fifth element And 28 (point 2, diagram E in Fig. 6). The signal from the output of this element is 28 and Vits and will go to the input 39 of the recording of the address of the scaling circuit 15 at the time of the occurrence of a single signal at the third output of the synchronization unit 9. This signal is fed to the input of the record of the address counter 43 (FIG. 2) and records information from the information input 41 of the scaling circuit connected to the data bus 33 at which the address of the new process is found at that moment. As for the rest, the procedure for setting up a new process for servicing fully coincides with the previous one.
Операци уничтожени процесса подт гиванием выполн етс с помощью операций чтени информации о процессе и порождени нового процесса. При необходимости уничтожить некоторый процесс, наход щийс в циклической очереди в микропрограммном процессоре,требуетс сначала указанным выше способом установить триггер 16 режима в единичное состо ние. Затем выполнить операцию чтени имени и 5 адреса процесса, информаци о котором записана в блоках 11 и 12 пам ти по адресу, следующему за адресом, по которому в блоках 11 и 12 записана информаци об уничтожаемом процессе.The process of destroying the process by pushing is performed using the operations of reading information about the process and spawning a new process. If it is necessary to destroy some process that is in a cyclic queue in the microprocessor processor, it is first necessary to set the mode trigger 16 to one state as indicated above. Then perform the operation of reading the name and 5 addresses of the process, information about which is recorded in blocks 11 and 12 of memory at the address following the address at which information about the process being deleted is recorded in blocks 11 and 12.
0 Далее производитс операци порождени считанного только что процесса по адресу уничтожаемого процесса. После этого адрес чтени увеличиваетс на единицу относительно адреса, по которому выполн 5 лась предыдуща операци чтени , и осуществл етс операци порождени процесса, считанного вторым, по адресу процесса, считанного первым. Процедура чтени информации о процессе по последующему ад0 ресу и порождени этого процесса по предыдущему адресу продолжаетс до перезаписи всех процессов, следовавших в очереди за уничтожаемым процессом. После этого триггер 16 режима переводитс в0 Next, an operation is performed to generate the process that was just read at the address of the process being deleted. Thereafter, the read address is incremented by one relative to the address at which the previous read operation was performed, and the process of generating the process, read by the second, is performed, at the address of the process, read by the first. The process of reading information about the process at the subsequent address and spawning this process at the previous address continues until all the processes that are in the queue for the process being deleted are overwritten. After that, the trigger 16 mode is translated to
5 нулевое состо ние, а в пересчетную схему 15 записываетс новое, уменьшенное на единицу число процессов, существующих в процессоре.5, the zero state, and a new, reduced by one, number of processes existing in the processor is recorded in the scoring circuit 15.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU904834240A SU1700564A1 (en) | 1990-02-21 | 1990-02-21 | Microprogramming control processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU904834240A SU1700564A1 (en) | 1990-02-21 | 1990-02-21 | Microprogramming control processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| SU1700564A1 true SU1700564A1 (en) | 1991-12-23 |
Family
ID=21518153
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| SU904834240A SU1700564A1 (en) | 1990-02-21 | 1990-02-21 | Microprogramming control processor |
Country Status (1)
| Country | Link |
|---|---|
| SU (1) | SU1700564A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| RU2137183C1 (en) * | 1994-05-03 | 1999-09-10 | Арм Лимитед | Device and method for data processing using instruction sets |
-
1990
- 1990-02-21 SU SU904834240A patent/SU1700564A1/en active
Non-Patent Citations (1)
| Title |
|---|
| Авторское свидетельство СССР Ms 525956, кл. G 06 F 15/20, 1976. Авторское свидетельство СССР 1st 535567, кл. G 06 F 15/00, 1977. Тотье Р. Руководство по операционной системе. - М.: Финансы и статистика, 1985, с.232. * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| RU2137183C1 (en) * | 1994-05-03 | 1999-09-10 | Арм Лимитед | Device and method for data processing using instruction sets |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4748559A (en) | Apparatus for reducing power consumed by a static microprocessor | |
| US4310880A (en) | High-speed synchronous computer using pipelined registers and a two-level fixed priority circuit | |
| GB2026218A (en) | Refresh timing in memory system | |
| JPH02502495A (en) | memory system | |
| US4443848A (en) | Two-level priority circuit | |
| GB1111046A (en) | Data processing system | |
| US3339183A (en) | Copy memory for a digital processor | |
| US4047245A (en) | Indirect memory addressing | |
| SU1700564A1 (en) | Microprogramming control processor | |
| US3480917A (en) | Arrangement for transferring between program sequences in a data processor | |
| US4037210A (en) | Computer-peripheral interface | |
| US3961313A (en) | Computer control apparatus | |
| US3268874A (en) | Computer multi-register linkage with a memory unit | |
| US3171099A (en) | Digital computers for data processing systems | |
| JPH08149160A (en) | Data receiver | |
| US4267587A (en) | Electronic timepiece circuit | |
| JP2870812B2 (en) | Parallel processor | |
| JPS6047612B2 (en) | Microinstruction output control method | |
| SU1462339A1 (en) | Microprogram processor | |
| KR930003993B1 (en) | Data Transmission Method in Multiprocessor System | |
| SU1372330A1 (en) | Device for connecting microprocessor with external devices | |
| SU441557A1 (en) | Device for controlling input and output information | |
| SU1142833A1 (en) | Microprogram control device | |
| SU947910A2 (en) | Logic storing device | |
| JPS625728Y2 (en) |