[go: up one dir, main page]

RU1837287C - Interprocessor job-allocating device - Google Patents

Interprocessor job-allocating device

Info

Publication number
RU1837287C
RU1837287C SU894702656A SU4702656A RU1837287C RU 1837287 C RU1837287 C RU 1837287C SU 894702656 A SU894702656 A SU 894702656A SU 4702656 A SU4702656 A SU 4702656A RU 1837287 C RU1837287 C RU 1837287C
Authority
RU
Russia
Prior art keywords
input
group
output
inputs
outputs
Prior art date
Application number
SU894702656A
Other languages
Russian (ru)
Inventor
Виктор Алексеевич Титов
Шамиль Тимурович Азанчеев
Валерий Яковлевич Аронов
Игорь Борисович Петровский
Original Assignee
Военная академия им.Ф.Э.Дзержинского
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Военная академия им.Ф.Э.Дзержинского filed Critical Военная академия им.Ф.Э.Дзержинского
Priority to SU894702656A priority Critical patent/RU1837287C/en
Application granted granted Critical
Publication of RU1837287C publication Critical patent/RU1837287C/en

Links

Landscapes

  • Complex Calculations (AREA)

Description

Изобретение относитс  к области вы- ислительной техники и может быть исполь- овано в разработках аппаратногоThe invention relates to the field of computing technology and can be used in the development of hardware

Диспетчера при обработке пакета задач в ногопроцессорной или многомашиннойDispatcher when processing a task package in a multiprocessor or multi-machine

(ычислительной системе.(computing system.

Цель изобретени  - расширение функ- иональных возможностей за счет органи- ации распределени  пакета задач с рерывани ми.The purpose of the invention is the expansion of functional capabilities by organizing the distribution of a task package with interruptions.

На фиг.1 представлена структурна  схе- :а устройства дл  распределени  заданий роцеСсорам; на фиг.2 - структурна  схема лока управлени ; на фиг.З - структурна  хема коммутатора; на фиг.4 - структурна  хема сумматора.Figure 1 shows a structural diagram-: a device for distributing tasks to rostoSoram; Fig. 2 is a structural diagram of a control lock; Fig. 3 - structural switch heme; figure 4 - structural hema adder.

Устройство содержит (см. фиг. 1) блок уп- авлени  1, элемент ИЛИ 2, счетчик 3, реги- тры 4 и 5, счетчик б, коммутатор 7, схему равнени  8, элемент ИЛИ 9, регистр 10, лок регистров 11i...11n, мультиплексор 12, шоки элементов И-ИЛИ 13 и 14, сумматор ТThe device contains (see Fig. 1) a control unit 1, an OR element 2, a counter 3, registers 4 and 5, a counter b, a switch 7, an equalization circuit 8, an OR element 9, a register 10, a register lock 11i. ..11n, multiplexer 12, shocks of AND-OR elements 13 and 14, adder T

15. блок элементов И-ИЛИ 16, регистр 17, схему делени  18, регистр 19, схему сравнени  20, элемент задержки 21, блок элементов И 22, вход 23т, на который подаетс  сигнал запуска, входные шины 232. на которые подаетс  код числа процессоров, входные шины 23з, на которые подаетс  код числа заданий, входы 24,...,24П дл  записи кодов весов задач, выход 25, с которого выдаетс  сигнал останова, выходные шины 26, с которого выдаетс  код задани  в процессоры .15. block of AND-OR elements 16, register 17, division circuit 18, register 19, comparison circuit 20, delay element 21, block of AND elements 22, input 23t to which the trigger signal is supplied, input buses 232. to which a number code is supplied processors, input buses 23z, to which a task number code is supplied, inputs 24, ..., 24P for recording task weight codes, an output 25 from which a stop signal is issued, output buses 26 from which a task code is issued to the processors.

Блок управлени  1 (см. фиг.2) содержит формирователь импульса 27, элемент ИЛИ 28, триггер 29, генератор импульсов 30, элемент ИЛИ 31, посто нное запоминающее устройство (ПЗУ) 32, элемент ИЛИ 33, счетчик 34, триггер 35, элемент ИЛИ 36, дешифратор 37, элемент ИЛИ 38, элементы И 39, 40 и 41, вход 42, вход 43, на который поступает сигнал со схемы сравнени  20 (см. фиг.1), вход 44, на который поступает сигналThe control unit 1 (see Fig. 2) comprises a pulse former 27, an OR element 28, a trigger 29, a pulse generator 30, an OR element 31, a read-only memory (ROM) 32, an OR element 33, a counter 34, a trigger 35, an element OR 36, decoder 37, element OR 38, elements AND 39, 40 and 41, input 42, input 43, to which the signal from the comparison circuit 20 (see Fig. 1), input 44, to which the signal is received

0000

СА) VJCA) VJ

ГО 00 4GO 00 4

со схемы сравнени  8 (см. фиг.1), выход 45, по которому подаетс  сигнал сброса, выходные шины 46, по которым выдаютс  управл ющие сигналы 1... 20.from the comparison circuit 8 (see Fig. 1), an output 45 via which a reset signal is supplied, output buses 46 through which control signals 1 ... 20 are output.

Коммутатор 7 (см. фиг.З) содержит элемент И-ИЛИ 47, элементы 48i...48k, И 49t...49n. дешифратор 50, элементы И 511...51м, выходные шины 52i...52n, на которые выдаетс  код веса задани , код номера процессора, код номера задани , синхронизирующий импульс, вход 53 синхроимпульса , входные шины 54, по которым подаетс  номер процессора, входные шины 55, по которым подаетс  номер задани , входные шины 56, по которым поступает код веса задани  с выхода буферного регистра 10, вход 57, по которому поступает разрешающий импульс, с выхода ПЗУ 31 (15), входные шины 59, по которым поступает код веса задани , с выхода буферного регистра 17, вход 58, по которому поступает разрешающий импульс с выхода ПЗУ 32 (17), сходные шины СО, по которым поступает код веса задани  с выхода мультиплексора 12, вход 61, по которому поступает разрешающий импульс с выхода ПЗУ 32 (18).Switch 7 (see FIG. 3) contains an AND-OR element 47, elements 48i ... 48k, and 49t ... 49n. descrambler 50, elements And 511 ... 51m, output buses 52i ... 52n, to which a task weight code, a processor number code, a task number code, a synchronizing pulse, a clock pulse input 53, an input bus 54, through which a processor number is supplied, are issued , input buses 55, through which the reference number is supplied, input buses 56, through which the code for the task weight is received from the output of the buffer register 10, input 57, through which the enable pulse is supplied, from the output of the ROM 31 (15), input buses 59, according to which receives the weight code of the task, from the output of the buffer register 17, input 58, according to which steps enable pulse from the output of the ROM 32 (17), similar bus SB on which the weight supplied specifying code outputted from the multiplexer 12, input 61, which supplies enable pulse from the output of the ROM 32 (18).

Сумматор 15 (см. фиг.4) содержит блок элементов И 62, схему сложени  63, блок элемент И-НЕ 64, блок элементов И-ИЛИ 65, элемент НЕ 66, .входные шины 67, по которым поступает код первого операнда, входные шины-68, по которым поступает код второго операнда, вход 69, по которому поступает синхронизирующий иг--:пульс с ПЗУ 32, вход 70, по которому поступает код операции с ПЗУ 32, выходные шины 71, по которым выдаетс  код результата.The adder 15 (see figure 4) contains a block of elements AND 62, an addition circuit 63, a block element AND-NOT 64, a block of AND-OR elements 65, an element NOT 66, input buses 67, through which the code of the first operand is received, input bus-68, through which the code of the second operand arrives, input 69, through which the synchronizing signal is received: pulse from ROM 32, input 70, through which the operation code from ROM 32 is received, output buses 71, by which the result code is issued.

В исходном состо нии все счетчики, регистры и триггеры наход тс  в нулевом состо нии (входы установки в нуль на рисунках не показаны). По входам 24i...24n заноситс  веса решаемых задач, на регистр 4 по входу 23з заноситс  число задач в пакете, по входу 232 на регистр 5 заноситс  код числа процессоров.In the initial state, all counters, registers, and triggers are in the zero state (the zero inputs are not shown in the figures). The weights of the tasks to be solved are entered at the inputs 24i ... 24n, the number of tasks in the packet is entered at register 4 at the input 23z, the code for the number of processors is entered at input 232 to the register 5.

Работа устройства начинаетс  после подачи сигнала запуска по входу 23i блока 1 (вход 42 бл.1, см. фиг.2), после чего устанавливаетс  в единицу триггер 29, единичны сигнал с выхода которого поступает на вход формировател  импульсов 27. Сформированный единичный сигнал с выхода формировател  27 (выход 45 блока 1 сбрасывает в нуль счетчики 3, 6, регистры 10, 17 (см. фиг.1). Кроме того единичным сигналом с выхода триггера 29 запускаетс  генератор 30 блока t. Единичным сигналом с выхода формировател  27 устанавливаетс  в нуль счетчик 34 и а единицу триггер 35 через элемент ИЛ И 33. После занесени  информации в регистр 4 на выходе схемы сравнени  8 (выход несравненил) будет сигнал логической единицы, который по входу 44 поступает в блок 1. Единичный сигнал с выходаThe operation of the device begins after a start signal is applied to the input 23i of block 1 (input 42 of bl.1, see FIG. 2), and then the trigger 29 is installed in the unit, the unit signal from the output of which goes to the input of the pulse former 27. The generated single signal with generator 27 output (the output 45 of block 1 resets the counters 3, 6, registers 10, 17 to zero (see Fig. 1). In addition, the generator 30 of the block t starts up with a single signal from the output of the trigger 29. The single signal from the output of the driver 27 is set to zero counter 34 and a unit trigger 35 through ele ent IL and 33. After entering the information in the register 4 (yield incomparably) comparing the output circuit 8 will be logic one signal, which input 44 is supplied to the block 1. The single signal output from

триггера 35 переводит счетчик 34 в режим счета. Следовательно, по первому импульсу с выхода генератора 30, счетчик 34 переходит п состо ние 00001, после чего выбираетс  перва  строка матрицы ПЗУ, вtrigger 35 puts the counter 34 in counting mode. Therefore, according to the first pulse from the output of the generator 30, the counter 34 goes to the state 00001, after which the first row of the ROM matrix is selected, in

результате чего на шинзх 2 и 8 (выход 46) матрицы 32 по вл ютс  сигналы логической 1 и к содержимому счетчика 3 прибавл етс  единица, а сумматор 15 переводитс  в. режим сложени . Выходы счетчика 3 подсое5 динены к адресным входам мультиплексора 12, на выходе которого по витс  код, зафиксированный на регистре 11, Далее, по второму импульсу генератора 30 выбираетс  втора  строка матрицы 32 и сигналы логнче0 ской единицы по в тс  на ее шинах 3, 4, 7, 8, 9, 12. Информаци  с регистра 11i через мультиплексор 12 поступает на первый вход элемента И-ИЛИ 13 и после подачи строби- рующего сигнала по шине 3 блока 1 посту5 п ает на вход Л первого слагаемого сумматора 15. Одновременно на пероый вход элемента И-ИЛИ 14 поступает код, выхода регистра 17 через открытый блок элементов И 22 (вначале это будет нулевой код)as a result, on logic 2 and 8 (output 46) of the matrix 32, logic 1 signals appear and one is added to the contents of counter 3, and adder 15 is converted to. addition mode. The outputs of counter 3 are connected to the address inputs of the multiplexer 12, at the output of which the code fixed on register 11 is displayed. Next, by the second pulse of the generator 30, the second row of the matrix 32 and the signals of the logical unit are selected in ts on its buses 3, 4, 7, 8, 9, 12. Information from the register 11i through the multiplexer 12 is fed to the first input of the AND-OR element 13 and, after supplying the gate signal via bus 3 of block 1, is fed to input L of the first term of adder 15. At the same time, on the first the input of the AND-OR element 14 is the code for the output of the register 17 through an open block of AND 22 elements (first it will be a zero code)

0 и по стробирующему сигналу по шине 4 блока 1 поступает на вход В второго слагаемого . По сигналам с шины 7, 0 блока 1 сумматор выполн ет операцию сложени  и через элементы И-ИЛИ 16 по стробирующе5 му сигналу с шины 9 блока 1 результат суммировани  записываетс  в регистр 17, причем запись осуществл етс  по единичному сигналу, поступающему по шине 12 блока 1 через элемент задержки 21. Необхо0 димость применени  элементов 21,22 обусловлена тем, что возникает необходимость закрыти  шины с выходов регистра 17 дл  правильной работы сумматора. По третьему импульсу, с выхода генератора 30 считыва5 етс  треть  строка матрицы 32, к содержимому счетчика 3 прибавл етс  единица, при Этом никаких других преобразований в устройстве не производитс . Теперь на выходе счетчика 34 хранитс  код 000И, который0 and the gate signal on the bus 4 of block 1 is fed to the input of the second term. According to the signals from the bus 7, 0 of block 1, the adder performs the addition operation and, via the AND-OR 16 elements, according to the gating signal from the bus 9 of block 1, the summing result is written to the register 17, and the recording is performed on a single signal received via the bus 12 of the block 1 through delay element 21. The necessity of using elements 21.22 is due to the fact that it becomes necessary to close the buses from the outputs of register 17 for the correct operation of the adder. According to the third pulse, the third row of the matrix 32 is read out from the output of the generator 30, one is added to the contents of the counter 3, and no other conversions are made to the device. Now, at the output of counter 34, code 000I is stored, which

0 поступает на вход дешифратора 37, на третьем выходе которого формируетс  сш- нал логической единицы. Этот сигнал проходит через открытый элемент И 39, элемент ИЛИ 36 и сбрасывает триггер 35 а нупь, тем0 is fed to the input of the decoder 37, at the third output of which the base of the logical unit is formed. This signal passes through the open element AND 39, the element OR 36 and resets the trigger 35 and nup,

5 самым счетчик 34 переводитс  в режим записи информации. Кроме того, единичный сигнал с выхода элемента 39 через элемент ИЛИ 31 обеспечивает запись в счетчик 34 кода 00010. Далее суммирование кодов происходит аналогично, пока на выходе схемы5, the counter 34 is put into an information recording mode. In addition, a single signal from the output of the element 39 through the element OR 31 provides a record in the counter 34 of the code 00010. Next, the summation of the codes occurs similarly, while at the output of the circuit

8 не по витс  нулевой сигнал, и триггер 35 останетс  в состо нии логической единицы, на счетчике 34 сформируетс  код 0100 и будет далее выбрана четверта  строка матрицы 32. Далее, сигналом логической единицы по шине 13 блока 1 запускаетс  схема делени  18, где происходит деление суммы весов заданий, которые поступают на пер- вый вход А схемы 18, на значение числа процессоров, которое хранитс  на регистре 5. С приходом очередного импульса на счет- чик 34 из матрицы 32 считываетс  п та  строка, после чего единичный сигнал по ши- не 14 блока 1 переписывает частное из бло- ка 18 на регистр 19. При считывании из матрицы 32 шестой строки единичный сиг- нал по шине 1 блока 1 через элемент ИЛИ 9 устанавливает в нуль регистры 10 и 17, а через элемент ИЛИ 2 - счетчик 3. После считывани  седьмой строки матрицы 32 единичным сигналом по шине 2 блока 1 в счетчик 3 заноситс  вновь код единицы. Од- новременно с этим единица заноситс  и в счетчик 6 по сигналу логической единицы с шины 20 блока 1. После считывани  вось- мой строки матрицы 32 единичными сигна- лами по шинам 3 и 4 блока 1 производ тс  следующие действи . Код с регистра 11 че- рез мультиплексор 12, открытый единичным сигналом по шине 3 блока 1 элемент И-ИЛИ 13 поступает на вход А сумматора 15 (пер- вый операнд), на вход В второго операнда поступает с выхода регистра 17 (в начале код нулей) через открытый блокирующий элемент И 22 и через открытый единичный сигналом по шине 4 блока 1 элемент И- ИЛИ 14.8, the zero signal does not appear, and the trigger 35 remains in the state of a logical unit, code 0100 is generated on the counter 34 and the fourth row of the matrix 32 is selected next. Next, the signal of the logical unit via bus 13 of block 1 starts division circuit 18, where division occurs the sum of the job weights, which are fed to the first input A of circuit 18, to the value of the number of processors, which is stored on register 5. With the arrival of the next pulse to counter 34, the fifth row is read from matrix 32, after which a single signal is sent over not 14 block 1 rewrites the hour from block 18 to register 19. When reading the sixth row from matrix 32, a single signal on bus 1 of block 1 sets the registers 10 and 17 to zero through the OR 9 element, and counter 3 through the OR 2 element. After reading the seventh the rows of the matrix 32 with a single signal on the bus 2 of block 1, the unit code is again entered into the counter 3. At the same time, the unit is entered into the counter 6 by the signal of the logical unit from the bus 20 of block 1. After reading the eighth row of the matrix 32 with the unit signals on buses 3 and 4 of block 1, the following actions are performed. The code from register 11 through the multiplexer 12, opened by a single signal on the bus 3 of the block 1, the AND-OR element 13 is fed to input A of the adder 15 (first operand), to the input B of the second operand comes from the output of register 17 (at the beginning of the code zeros) through the open blocking element AND 22 and through the open unit signal on the bus 4 of the block 1 element AND- OR 14.

По сигналам погических единиц по ши- нам 7 и 8 блока 1 сумматор 15 выполн ет перацию сложени , результат с выхода сумматора 15 через открытый единичным сигналом по шине 9 блока 1 элемент И-ИЛИ 16 поступает на вход регистра 17 и по еди- ничному сигналу по шине 12 через элемент задержки 21 блока 1 записываетс  на него. После считывани  дев той строки матрицы 32, содержащей во всех разр дах только нули, никаких операций в устройстве не бу- цет происходить. При этом на выходе схемы сравнени  20 будет вырабатыватьс  сигнал чогическогонул , который поступает по вхоу 43 в блок 1, закрыва  элемент И 40, если значение суммы на регистре 17 меньше тре- эуемого времени загрузки одного процессо- за или сигнал логической единицы в противном случае. В первом случае сигнал с входа 9 дешифратора 37 через элемент И 0 не будет сбрасывать триггер 35 в нуль, на счетчике 34 зафиксируетс  код числа 10 и- будет считана дес та  строка матрицы 32.According to the signals of pogic units, on buses 7 and 8 of block 1, adder 15 performs the addition operation, the result from the output of adder 15 through an open signal 9 via block 9 of the unit 1, the AND-OR 16 element is fed to the input of register 17 and by a single signal bus 12 through the delay element 21 of block 1 is recorded on it. After reading the ninth row of matrix 32 containing only zeros in all bits, no operations will occur in the device. At the same time, at the output of the comparison circuit 20, a signal of a logic pulse will be generated, which enters by input 43 to block 1, closing the AND element 40 if the value of the sum on register 17 is less than the required load time of one processor or a logic unit signal otherwise. In the first case, the signal from the input 9 of the decoder 37 through the And element 0 will not reset the trigger 35 to zero, the code number 10 will be fixed on the counter 34 and the tenth row of the matrix 32 will be read.

После считывани  дес той строки матрицы 32 сигналы логических единиц, поступающие на шины 16 и 18 блока 1 открывают элемент И-ИЛИ 47 блока 7 и информаци  с 5 мультиплексора 12, счетчика 3, счетчика б по разрешающему сигналу по шине 16 блока 1 поступит в блок 7, а затем на выход 26 устройства. Далее аналогично будет выбрана одиннадцата  строка матрицы 32. При 0 этом единичный сигнал поступает по шине 2 блока 1 и к содержимому счетчика 3 прибавл етс  единица. После считывани  двенадцатой строки матрицы 32, содержащей все нули в устройстве никаких действий неAfter reading the tenth row of the matrix 32, the signals of logical units arriving at the buses 16 and 18 of block 1 open the AND-OR element 47 of block 7 and the information from 5 of the multiplexer 12, counter 3, counter b, will be sent to the block via the enable signal on the bus 16 of block 1 7, and then to the output 26 of the device. Next, the eleventh row of matrix 32 will be similarly selected. At 0, a single signal is sent via bus 2 of block 1 and one is added to the contents of counter 3. After reading the twelfth row of the matrix 32, containing all zeros in the device, no action

5 производитс . Если текущий номер задачи меньше, чем общее количество заданий М, то на выходе схемы сравнени  8 будет присутствовать сигнал логической единицы, поступающий на вход 44 блока 1, в результате5 is being produced. If the current task number is less than the total number of tasks M, then at the output of the comparison circuit 8 there will be a signal of a logical unit coming to the input 44 of block 1, as a result

0 открываетс  элемент И 41 и единичный сигнал через элемент ИЛИ 36 сбрасывает в нуль триггер 35, после чего счетчик 34 переводитс  в режим записи, и в счетчик 34 записываетс  код 01000 и после выбора0, the AND element 41 is opened and the single signal through the OR element 36 resets the trigger 35 to zero, after which the counter 34 is switched to the recording mode, and the code 01000 is written to the counter 34 and after selection

5 восьмой строки матрицы 32 с выхода 8 дешифратора 37 сигнал логической единицы через элемент ИЛИ 38, элемент ИЛИ 33 поступает на установочный в единицу вход триггера 35, переключа  его в состо ние5 of the eighth row of the matrix 32 from the output 8 of the decoder 37 the signal of the logical unit through the element OR 38, the element OR 33 is fed to the installation input of the trigger 35 into the unit, switching it to the state

0 логической единицы. Тем самым счетчик 34 переводитс  оп ть в режим счета, и описанный выше процесс повтор етс  до тех пор пока на выходе схемы сравнени  8 не по витс  сигнал логического нул . Этим сигна5 лом закрываютс  элементы 39 и 41 после чего будет выбрана тринадцата  строка матрицы 32 и на шине 19 блока 1 по витс  единичный сигнал. Если же на выходе схемы сравнени  20 (см. фиг.2) по входу 43 блока 10 logical units. Thus, the counter 34 is again switched to the counting mode, and the process described above is repeated until a logic zero signal appears at the output of the comparison circuit 8. This signal 5 closes the elements 39 and 41, after which the thirteenth row of the matrix 32 will be selected and a single signal will appear on the bus 19 of block 1. If the output of the comparison circuit 20 (see figure 2) at the input 43 of block 1

0 будет сформирован сигнал логической единицы , то единичный сигнал с выхода 9 дешифратора 37 проходит через элемент И 40, элемент ИЛИ 36 и устанавливает триггер 35 в нуль, разрешаетс  запись информации в0, a logical unit signal will be generated, then a single signal from the output 9 of the decoder 37 passes through the AND element 40, the OR element 36 and sets the trigger 35 to zero, recording information is allowed in

5 счетчик 34, куда заноситс  код 01110. Этот код по вл етс  на выходах счетчика 34 и поступает на вход дешифратора 37, после чего единичный сигнал с выхода 14 дешифратора , проход  через элемент ИЛИ 33 и5, counter 34, where code 01110 is entered. This code appears at the outputs of counter 34 and enters the input of decoder 37, after which a single signal from output 14 of decoder passes through OR element 33 and

0 вновь устанавливает в единичное состо ние триггер 35, по которому счетчик 34 переводитс  в режим счета. Далее выбираетс  четырнадцата  (нулева ) строка матрицы 32, в результате чего никаких действий в устрой5 стве не происходит. По следующему импульсу с выхода генератора 30 на счетчике 34 фиксируетс  код числа 15 и выбираетс  п тнадцата  строка матрицы 32. Единичные сигналы по шинам 5 и 6 блока 1 разрешают работу элементов И-ИЛИ 13 и 14 и информаци  с выходов регистров 17 и 19 поступает на входы А и В сумматора 15, Сигналами логической единицы по шине 7 блока 1 на сумматоре 45 осуществл етс  операци  вычитани , т.к. на шине 8 блока 1 будет нулевой сигнал, и результат такого сложени  через элемент М-ИЛИ 16 по сигналу логической единицы по шине 9 блока 1 поступает на входы буферных регистров 10 и 17, а по сигналу логической единицы по шинам 11 записываетс  на регистр 10, а по сигналу логической единицы по шине 12 через элемент задержки 21 ззпитываетсл на регистр 17. По следующему импульсу с выхода генератора 30 будет выбрана шестнадцата  строка матрицы 32, после чего сигналами логических единиц с шин 3 и 4 блока 1 информаци  с мультиплексора 12 и буферного регистра 17 через элементы И-ИЛИ 13 и 14 подаетс  на входы А и В сумматора 15, По сигналу логической единицы с шины 7 и при пулевом сигнале с шины 8 блока 1 сумматора 15 выполн ет операцию вычитани . Результат этой операции сигналом логической единицы по шине 9 блока 1 передаетс  через элемент И-ИЛИ 16 и по сигналу логической единицы на шине 12 блока 1 через элемент 21 записываетс  на регистр 17. Далее аналогично выбираетс  семнадцата  строка матрицы 32, после чего сигналам логических единиц на шинах 16 и 17 блока 1 информаци  с буферного регистра 17 со счетчиком 6 и 3, поступает в блок 7 дл  выдачи номера задачи; времени ее решени  и номера процессора на выходы устройства, после чего считываетс  восемнадцата  строка матрицы 32, По единичному сигналу с шины 20 блока 1 в счетчик 6 прибавл етс  единица/Далее считываетс  дев тнадцата  строка матрицы 32. Единичными сигналами по шинам 15 и. 16 блока 1 информаци  с регистра 10 поступает в блок 7 дл  выдачи очередного номера активного процессора на выход 26 устройства. Далее выбираетс  двадцата  строка матрицы 32 и сигналом логической единицы по шине 10 блока 1 информаци  с выхода буферного регистра 10 через элемент И-ИЛИ 16 поступает на вход регистра 17. Единичный сигнал с выхода 20 дешифратора 37 через элемент ИЛИ 36 сбрасывает триггер 35 в нуль, разрешаетс  запись информации в счетчик 34. В счетчик 34 заноситс  код 01011,после чего будет считана одиннадцата  строка матрицы 32 и работа устройства будет продолжатьс  до тех пор, пока на выходе схемы сравнени  8 не сформируетс  сигнал логического нул , по которому закрываетс  элемент И 41, благодар  чему далее будут последовательно считаны двенадцата  и0 sets the trigger 35 to a single state, according to which the counter 34 is put into the counting mode. Next, the fourteenth (zero) row of the matrix 32 is selected, as a result of which no action is taken in the device. The next pulse from the output of the generator 30 on the counter 34 records the code of the number 15 and selects the fifteenth row of the matrix 32. The single signals on the buses 5 and 6 of block 1 enable the operation of the AND-OR elements 13 and 14 and the information from the outputs of the registers 17 and 19 is fed to inputs A and B of the adder 15, The signals of the logical unit on the bus 7 of block 1 on the adder 45 performs the subtraction operation, because on the bus 8 of block 1 there will be a zero signal, and the result of this addition through the M-OR 16 element by the signal of a logical unit on the bus 9 of block 1 is fed to the inputs of the buffer registers 10 and 17, and by the signal of a logical unit on the buses 11 is written to register 10, and according to the signal of the logical unit via bus 12 through the delay element 21, it is fed to the register 17. The next pulse from the output of the generator 30 will select the sixteenth row of the matrix 32, after which the signals from the logical units from buses 3 and 4 of block 1 will receive information from the multiplexer 12 and the buffer register 17 th es AND-OR elements 13 and 14 are applied to inputs A and B of the adder 15 from a signal bus to a logic-one and 7 zeroth signal bus 8 with 1 unit of the adder 15 performs a subtraction operation. The result of this operation is transmitted by the signal of the logical unit on the bus 9 of block 1 through the AND-OR element 16 and by the signal of the logical unit on the bus 12 of block 1 through the element 21 is written to the register 17. Next, the seventeenth row of the matrix 32 is selected similarly, after which the signals of the logical units are to the buses 16 and 17 of block 1, information from the buffer register 17 with a counter 6 and 3 is supplied to block 7 for issuing a task number; the time of its solution and the processor number to the outputs of the device, after which the eighteenth row of the matrix 32 is read. One unit signal from the bus 20 of block 1 is added to the counter 6 / Next, the nineteenth row of the matrix 32 is read. By single signals on the buses 15 and. 16 of block 1, information from register 10 enters block 7 to issue the next active processor number to device output 26. Next, the twenty row of the matrix 32 is selected and the signal of the logical unit on the bus 10 of block 1 gives the information from the output of the buffer register 10 through the AND-OR 16 element to the input of the register 17. The single signal from the output 20 of the decoder 37 through the OR element 36 resets the trigger 35 to zero, it is allowed to write information to the counter 34. The code 01011 is entered into the counter 34, after which the eleventh row of the matrix 32 is read and the device continues to work until a logic zero signal is generated at the output of the comparison circuit 8, which closes aets AND gate 41, whereby the description will be sequentially read out twelve and

тринадцата  строки матрицы 32. После считывани  тринадцатой строки матрицы 32 единичным сигналом по шине 19 блока 1 триггер 29 сбрасываетс  в нуль, запреща thirteenth row of matrix 32. After reading the thirteenth row of matrix 32 with a single signal on bus 19 of block 1, trigger 29 is reset to zero, prohibiting

работу генератора 30, Сигнал на шине 19 (выход 40) блока 1  вл етс  сигналом окончани  работы устройства.the operation of the generator 30. The signal on the bus 19 (output 40) of the unit 1 is a signal of the end of the operation of the device.

Таким образом, предложенное устройство обеспечивает расширение функциональных возможностей за счет распределени  заданий с учетом прерываний в программах и может быть использована в разработках аппаратных дислетгеров в многопрограммных или многомашинных вычислительныхThus, the proposed device provides an extension of functionality due to the distribution of tasks taking into account interruptions in programs and can be used in the development of hardware dispatchers in multi-program or multi-machine computing

системах.systems.

Claims (1)

Формула изобретени  1. Устройство дл  распределени  заданий процессорам, содержащее группу регистров , п ть регистров, мультиплексор,SUMMARY OF THE INVENTION 1. A device for distributing tasks to processors, comprising a group of registers, five registers, a multiplexer, первый и второй блоки элементов И-ИЛИ, первый и второй счетчики, причем группа выходов каждого регистра группы подсоединена к одноименной группе информационных входов мультиплексора, отличающ е е с л тем, что, с целью расширени  функциональных возможностей за счет обеспечени  распределени  заданий с учетом прерываний программ, в него введены коммутатор, перва  и втора  схемы сравнени , первый и второй элементы ИЛИ, сумматор , третий блок элементов И-ИЛИ, блок элементов И, элемент задержки, блок делени , блокуправлени , первый выход которого подсоединен к первым входам первого иthe first and second blocks of AND-OR elements, the first and second counters, and the group of outputs of each register of the group is connected to the same group of information inputs of the multiplexer, characterized in that, in order to expand the functionality by ensuring the distribution of tasks taking into account interruptions programs, the switch, the first and second comparison circuits, the first and second OR elements, the adder, the third block of AND-OR elements, the block of AND elements, the delay element, the division unit, the control unit, the first output of which second is connected to the first inputs of the first and второго элементов ИЛИ, вход сброса первого счетчика подсоединен к входу сброса первого регистра, второй выход блока управлени  подсоединен к вторым входам первого и второго элементов ИЛИ, выходthe second OR element, the reset input of the first counter is connected to the reset input of the first register, the second output of the control unit is connected to the second inputs of the first and second OR elements, the output второго элемента ИЛИ подсоединен к входу синхронизации первого регистра и к входу сброса второго регистра, группа информационных входов которого подсоединена к группе выходов первого блока элементовthe second OR element is connected to the synchronization input of the first register and to the reset input of the second register, the group of information inputs of which is connected to the group of outputs of the first block of elements И-ИЛИ, а группа выходов подсоединена к группе информационных входов блока элементов И, к первой группе входов блока делени  и к первой группе информационных входов коммутатора, третий выход бло0 ка управлени  подсоединен к счетному входу первого счетчика, вход сброса которого подсоединен к выходу первого элемента ИЛИ, группа выходов первого счетчика подключена к второй группе информационныхAND-OR, and the group of outputs is connected to the group of information inputs of the block of AND elements, to the first group of inputs of the division unit and to the first group of information inputs of the switch, the third output of the control unit is connected to the counting input of the first counter, the reset input of which is connected to the output of the first element OR, the group of outputs of the first counter is connected to the second group of information 5 входов коммутатора, к первой группе входов первой схемы сравнени  и к группе адресных входов мультиплексора, выходы которого подсоединены к третьей группе информационных входов коммутатора и к5 inputs of the switch, to the first group of inputs of the first comparison circuit and to the group of address inputs of the multiplexer, the outputs of which are connected to the third group of information inputs of the switch and to первой группе входов второго блока элецентов И-ИЛИ, группа выходов которого подсоединена к первой группе информационных входов сумматора, втора  группа информационных входов которого подсоединена к группе выходов третьего Спока элементов И-ИЛИ, группа выходов сумматора подключена к первой группе вхо- ;ов блока элементов И-ИЛИ и к группе информационных входов первого регистра, Е ыходы которого подсоединены к четвертой группе информационных входов коммутато- ра и к второй группе входов первого блока элементов И-ИЛИ, группа выходов третьего f егистра подсоединена к второй группе входов первой схемы сравнени , выход которой подсоединен к первому входу блока управлени , четвертый и п тый выходы блока управлени  подсоединены соответствен- о к первому и второму входам первого |лока элементов И-ИЛИ, шестой и седьмой ыходы блока управлени  подсоединены к ,:.ервому и второму входам блока элементов И-ИЛИ соответственно, восьмой выход блока управлени  подсоединен к входу синхронизации сумматора, дев тый выход блока управлени  подсоединен к входу управлени  режимом сумматора, дес тый и одиннадцатый выходы блока управлени  подсоединены к первому и второму входам третьего блока элементов И-ИЛИ, соответственно, двенадцатый выход блока управлени  подсоединен к входу управлени  записью пер- оого регистра, тринадцатый аыход блока управлени  подсоединен к входам элемента задержки, пр мой выход которого подсоединен к входу синхронизации второго регистра , инверсный выход элемента задержки подключен к входу управлени  блока элементов И, группа выходов которого подсоединена к первой группе входов второй охемы сравнени , к второй группе входов ггорого и к первой группе входов третьего элоков элементов И-ИЛИ, четырнадцатый ыход блока управлени  подсоединен к входу управлени  режимом блока делени , второй группа входов;которо: о подсоединена к руппе выходов четвертого регистра, группа шходов блока делени  подключена к груп- ie информационных входов регистра, вход синхронизации которого подсоединен к т тнадцатому выходу блока управлени , руппа выходов п того регистра подключе- ia к второй группе входов второй схемы :равнени  и к второй группе входов третье- о блока элементов И-ИЛИ, шестнадцатый, семнадцатый, восемнадцатый и дев тнадцатый выходы блока управлени  подсоединены соответственно к первому, второму, третьему и четвертому входам управлени  (соммутатора, двадцатый выход блока управлени  подсоединен к счетному входу второго счетчика, группа выходов которого подсоединена к группе адресных входов коммутатора, выход второй схемы сравне- ни  подсоединен к второму входу блока уп- равлени , вход запуска устройства соединен с третьим входом блока управлени , двадцать первый выход которого  зл.п- етс  выходом готовности устройства,the first group of inputs of the second block of AND-OR elements, the group of outputs of which is connected to the first group of information inputs of the adder, the second group of information inputs of which is connected to the group of outputs of the third Spock of AND-OR elements, the group of outputs of the adder is connected to the first group of inputs; AND-OR and to the group of information inputs of the first register, E outputs of which are connected to the fourth group of information inputs of the switch and to the second group of inputs of the first block of AND-OR elements, the group of outputs t his f register is connected to the second group of inputs of the first comparison circuit, the output of which is connected to the first input of the control unit, the fourth and fifth outputs of the control unit are connected respectively to the first and second inputs of the first | lock of AND-OR elements, the sixth and seventh outputs of the block controls are connected to: first and second inputs of an AND-OR block, respectively, an eighth output of a control unit is connected to an adder synchronization input, a ninth output of a control unit is connected to an adder mode control input, The ninth and eleventh outputs of the control unit are connected to the first and second inputs of the third block of AND-OR elements, respectively, the twelfth output of the control unit is connected to the write control input of the first register, the thirteenth output of the control unit is connected to the inputs of the delay element, the direct output of which connected to the synchronization input of the second register, the inverse output of the delay element is connected to the control input of the block of elements AND, the group of outputs of which is connected to the first group of inputs of the second circuit AVNI, to the second group of inputs and the first group of inputs of the third E-OR element, the fourteenth output of the control unit is connected to the control input of the division unit, the second group of inputs; which: is connected to the output group of the fourth register, the group of outputs of the division unit is connected to the group of information inputs of the register, the synchronization input of which is connected to the thirteenth output of the control unit, the output group of the fifth register is connected to the second group of inputs of the second circuit: equal and to the second group of inputs the third block of AND-OR elements, the sixteenth, seventeenth, eighteenth and nineteenth outputs of the control unit are connected respectively to the first, second, third and fourth inputs of the control (commutator, the twentieth output of the control unit is connected to the counting input of the second counter, the group of outputs of which is connected to the group of address inputs of the switch, the output of the second circuit is connected to the second input of the control unit, the start input of the device is connected to the third input of the control unit, twenty-first output zl.p- which an output device is ready, 0 группа информационных выходов которого соединена с группой выходов коммутатора, перва  и втора  группы кодовых входов которого соединены соответственное группой информационных входов третьего регистра0 the group of information outputs of which is connected to the group of outputs of the switch, the first and second groups of code inputs of which are connected to the corresponding group of information inputs of the third register 5 и с группой информационных входов четвертого регистра, кажда  группа информационных входов устройства соединена с группой информационных входов одноименного регистра группы.5 and with the group of information inputs of the fourth register, each group of information inputs of the device is connected to the group of information inputs of the same register of the group. 0 2, Устройство по п.1, о т л и ч а ю щ е е- с   тем, что блок управлени  содержит генератор импульсов, формирователь импульсов , с первого по п тый элементы ИЛИ, первый и второй триггеры, первый, второй0 2, The device according to claim 1, with the proviso that the control unit comprises a pulse generator, a pulse shaper, first to fifth elements OR, first and second triggers, first, second 5 и третий элементы И, счетчик, дешифратор и посто нную пам ть, первый выход которой подсоединен к нулевому входу первого триггера, пр мой выход которого подсоединен х входу генератора импульсов и через5 and the third elements And, counter, decoder and read-only memory, the first output of which is connected to the zero input of the first trigger, the direct output of which is connected to the input of the pulse generator and through 0 формирователь импульсов - к входу установки Е О счетчика и к первому входу первого элемента ИЛИ, выход которого подключен к единичному входу второго триггера, пр мой выход которого подсоеди5 пен к управл ющему входу счета счетчика, а инверсный выход - к управл ющему входу записи счетчика, группа выходов которого подсоединен к адресным входам посто нной пам ти и к входам дешифратора, пер0 вый, второй, третий и четвертый выходы которого подсоединены к соответствующим входам второго элемента ИЛИ, выход которого подсоединен к второму входу первого элемента ИЛИ, п тый выход дешифратора0 pulse shaper - to the input of the installation Е О of the counter and to the first input of the first OR element, the output of which is connected to the unit input of the second trigger, the direct output of which is connected 5 pins to the control input of the counter account, and the inverse output - to the control input of the counter record the group of outputs of which is connected to the address inputs of read-only memory and to the inputs of the decoder, the first, second, third and fourth outputs of which are connected to the corresponding inputs of the second OR element, the output of which is connected to the second input the first element OR, the fifth output of the decoder 5 подсоединен к первому входу первого элемента И, выход которого подсоединен к первому входу третьего элемента ИЛИ и к первому входу четвертого элемента ИЛИ, выход которого подсоединен к нулевому5 is connected to the first input of the first AND element, the output of which is connected to the first input of the third OR element and to the first input of the fourth OR element, the output of which is connected to zero 0 входу второго триггера, шестой выход дешифратора подсоединен к первому входу второго элемента И, выход которого подсоединен к второму входу четвертого элемен- . та ИЛИ. ктратьему информационному входу0 to the input of the second trigger, the sixth output of the decoder is connected to the first input of the second element And, the output of which is connected to the second input of the fourth element. that OR. to the next information input 5 третьего элемента ИЛИ и к первому входу п того элемента ИЛИ, выход которого подсоединен к четвертому информационному входу счетчика, седьмой выход дешифратора подсоединен к первому входу третьего элемента И, выход которого подсоединен к5 of the third OR element and to the first input of the fifth OR element, the output of which is connected to the fourth information input of the counter, the seventh output of the decoder is connected to the first input of the third AND element, the output of which is connected to третьему входу четвертого элемента ИЛИ и к второму аходу п того элемента ИЛИ, восьмой выход дешифратора подсоединен к четвертому входу четвертого элемента ИЛИ, кthe third input of the fourth OR element and to the second input of the fifth OR element, the eighth output of the decoder is connected to the fourth input of the fourth OR element, ментов И, второй вход блока соединен с вторым входом второго элемента И, третий вход блока соединен с единичным входом первого триггера, первый выход блока соепервому информационному входу счетчика, 5 динен с выходом формировател  импуль- к третьему входу третьего и п того элемен- сов, выходы блока с первого по двадцать тов ИЛИ, первый аход блока соединен с вторыми входами первого и третьего элепервый соединены с соответствующими выходами посто нной пам ти.cops And, the second input of the block is connected to the second input of the second element And, the third input of the block is connected to a single input of the first trigger, the first output of the block to the first information input of the counter, 5 din with the output of the pulse former to the third input of the third and fifth elements, the outputs of the block are from the first to twenty thousand OR, the first block exit is connected to the second inputs of the first and third eleperts connected to the corresponding outputs of the read-only memory. ментов И, второй вход блока соединен с вторым входом второго элемента И, третий вход блока соединен с единичным входом первого триггера, первый выход блока сое динен с выходом формировател  импуль- сов, выходы блока с первого по двадцать And, the second input of the block is connected to the second input of the second element And, the third input of the block is connected to a single input of the first trigger, the first output of the block is connected to the output of the pulse former, the outputs of the block are from first to twenty первый соединены с соответствующими выходами посто нной пам ти.the first is connected to the respective read-only memory outputs. Фиг.1Figure 1 Редактор Н. Кол даEditor N. Kol yes Щ.г- Составитель В.ТитопЩ.г- Compiled by V. Titop Техред М.МоргенталКорректор С.ПзкарьTehred M. Morgenthal Corrector S. Pzkar
SU894702656A 1989-06-08 1989-06-08 Interprocessor job-allocating device RU1837287C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU894702656A RU1837287C (en) 1989-06-08 1989-06-08 Interprocessor job-allocating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU894702656A RU1837287C (en) 1989-06-08 1989-06-08 Interprocessor job-allocating device

Publications (1)

Publication Number Publication Date
RU1837287C true RU1837287C (en) 1993-08-30

Family

ID=21452962

Family Applications (1)

Application Number Title Priority Date Filing Date
SU894702656A RU1837287C (en) 1989-06-08 1989-06-08 Interprocessor job-allocating device

Country Status (1)

Country Link
RU (1) RU1837287C (en)

Similar Documents

Publication Publication Date Title
US3689895A (en) Micro-program control system
US4591979A (en) Data-flow-type digital processing apparatus
CN100373331C (en) Multithreaded processor for processing multiple instruction streams independently of each other by flexibly controlling throughput in each instruction stream
CA1081857A (en) Apparatus for processing interrupts in microprocessing systems
US4748559A (en) Apparatus for reducing power consumed by a static microprocessor
JPS6223345B2 (en)
US4310880A (en) High-speed synchronous computer using pipelined registers and a two-level fixed priority circuit
US4443848A (en) Two-level priority circuit
US3811114A (en) Data processing system having an improved overlap instruction fetch and instruction execution feature
US3812475A (en) Data synchronizer
US4429361A (en) Sequencer means for microprogrammed control unit
US4837688A (en) Multi-channel shared resource processor
RU1837287C (en) Interprocessor job-allocating device
US4451882A (en) Data processing system
US3818455A (en) Control complex for tsps telephone system
EP0169577B1 (en) Microcomputer
US5050076A (en) Prefetching queue control system
EP0020972B1 (en) Program controlled microprocessing apparatus
JPS6315628B2 (en)
SU1695319A1 (en) Matrix computing device
US4467413A (en) Microprocessor apparatus for data exchange
US4631662A (en) Scanning alarm electronic processor
SU1363207A1 (en) Device for distributing problems among processors
SU1605273A1 (en) Multichannel data acquisition device
SU1532926A1 (en) Microprogram dispatcher of multiprocessor computing system