SU1539787A1 - Multichannel processor-to-subscribers interface - Google Patents
Multichannel processor-to-subscribers interface Download PDFInfo
- Publication number
- SU1539787A1 SU1539787A1 SU874344451A SU4344451A SU1539787A1 SU 1539787 A1 SU1539787 A1 SU 1539787A1 SU 874344451 A SU874344451 A SU 874344451A SU 4344451 A SU4344451 A SU 4344451A SU 1539787 A1 SU1539787 A1 SU 1539787A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- block
- register
- information
- Prior art date
Links
Landscapes
- Exchange Systems With Centralized Control (AREA)
Abstract
Изобретение относитс к вычислительной технике и может быть использовано в системах обработки данных в качестве субпроцессора обмена информацией между абонентами и центральным процессором. Целью изобретени вл етс повышение быстродействи устройства. Устройство содержит операционный блок 1, блок 2 оперативной пам ти, блок 3 св зи с абонентами, блок 4 св зи с процессором, регистр 5 адреса, блок 6 микропрограммного управлени . Устройство обеспечивает под управлением микропрограммы в блоке 6 скоростной двунаправленный обмен информацией между процессором и абонентом. 1 з.п. ф-лы, 3 ил.The invention relates to computing and can be used in data processing systems as a subprocessor of information exchange between subscribers and the central processing unit. The aim of the invention is to improve the speed of the device. The device comprises an operation unit 1, a memory unit 2, a communication unit with subscribers, a communication unit 4 with a processor, an address register 5, a microprogram control unit 6. The device provides, under the control of the firmware in block 6, a high-speed bidirectional exchange of information between the processor and the subscriber. 1 hp f-ly, 3 ill.
Description
елate
оо со oo with
0000
JJ
Изобретение относитс к вычислительной технике и может быть использовано в системах обработки данных в качестве субпроцессора обмена информацией между абонентами и центральным процессором.The invention relates to computing and can be used in data processing systems as a subprocessor of information exchange between subscribers and the central processing unit.
Целью изобретени вл етс увеличение быстродействи устройства.The aim of the invention is to increase the speed of the device.
На фиг. 1 представлена блок-схема предлагаемого устройства; на.фиг.2 - схема операционного блока 1; на фиг. 3 - схема блока микропрограммного управлени .FIG. 1 shows a block diagram of the proposed device; Fig. 2 is a diagram of the operational unit 1; in fig. 3 is a schematic diagram of a firmware control unit.
Устройство содержит (фиг. 1) операционный блок 1, блок 2 оперативной пам ти, блок 3 св зи с абонентами, блок 4 св зи с процессором, регистр 5 адреса, блок 6 микропрограммного управлени , входы 7 и 8 устройства дл подключени к выходам запуска и прерывани процессора, выход 9 устройства дл подключени к управл ющему входу абонента, входы-выходы 10 и 11 устройства дл подключени к информационным входам-выходам абонента и процессора соответственно, выходы 12 и 13 устройства дл подключени к входам адреса и запроса абонента , вход 14 устройства дл подключени выхода синхронизации процессора, выход 15 устройства дл подключени входа прерывани абонента, п тый 16, шестой 17, четвертый 18, третий 19 и второй 20 выходы выборки блока 6 микропрограммного управлени и вход 21 условий блока 6 микропрограммного управлени .The device contains (FIG. 1) an operation unit 1, a RAM unit 2, a communication unit with subscribers, a communication unit 4 with a processor, an address register 5, a firmware control unit 6, inputs 7 and 8 of the device for connection to the start outputs and interrupt the processor, device output 9 for connecting to the subscriber control input, device inputs 10 and 11 for connecting to the subscriber and processor information inputs and outputs, respectively, device outputs 12 and 13 for connecting to the address and subscriber request inputs, input 14 devices for n Connections of the synchronization output of the processor, output 15 of the device for connecting the subscriber interrupt input, the fifth 16, the sixth 17, the fourth 18, the third 19 and the second 20 outputs of the sample of the microprogram control unit 6 and the condition input 21 of the microprogram control unit 6.
Операционный блок 1 содержит (фиг. 2) дешифратор 22, с первого по восьмой регистры 23-30, коммутатор 31, арифметико-логический узел 32, дев тый 33 и дес тый 34 регистры, формирователь 35 импульса..Operational unit 1 contains (Fig. 2) a decoder 22, registers 23-30 from first to eighth, switch 31, arithmetic logic unit 32, 33rd and 34th registers 34, pulse shaper 35.
Блок 6 микропрограммного управлени содержит первый и второй регистры 36 и 37, триггер 38, второй блок 39 пам ти, первый и второй блоки элементов И 40 и 41, первый и второй элементы И 42 и 43, блок 44 элементов ИЛИ, элемент ИЛИ 45 и первый блок 46 пам ти.The firmware control unit 6 contains the first and second registers 36 and 37, the trigger 38, the second memory block 39, the first and second blocks of AND 40 and 41 elements, the first and second And 42 and 43 elements, the OR elements block 44, the OR 45 element and first memory block 46.
Блок 3 св зи с абонентами и блок 4 св зи с процессором вл ютс двунаправленными шинными формировател ми .The communication unit 3 with the subscriber and the communication unit 4 with the processor are bi-directional bus drivers.
Устройство работает в следующих основных режимах:The device operates in the following main modes:
5five
00
5five
00
5five
00
5five
00
5five
выполнение процедуры Загрузка задани в подканал ;executing the procedure Download task to the subchannel;
выполнение процедуры Удаление задани из подканала ;executing the procedure Delete a task from the subchannel;
выполнение команды передачи данных из внешней пам ти к абоненту;executing a command to transfer data from the external memory to the subscriber;
выполнение команды передачи данных от абонента во внешнюю пам ть;executing a command to transfer data from the subscriber to the external memory;
выполнение команды передачи управл ющего байта к абоненту;executing a command for transmitting a control byte to the subscriber;
выполнение команды завершени программы.executing a program termination command.
Кроме того, наличие микропрограммного управлени позвол ет создать более сложные команды передачи информации от центрального процессора к абоненту и обратно с различными видами преобразовани информации.In addition, the presence of firmware control allows you to create more complex commands to transfer information from the central processor to the subscriber and back with various types of information conversion.
Устройство работает следующим образом .The device works as follows.
По сигналу Пуск, поступающему на вход 7 устройства, обнул етс регистр 36 блока 6. В результате по нулевому адресу из блока 39 пам ти выбираетс перва микрокоманда, котора вл етс началом микропрограммы Установка устройства в исходное состо ние .On the Start signal, which enters device 7, the register 36 of unit 6 is nullified. As a result, the first microcommand is selected at zero address from memory block 39, which is the beginning of the firmware program.
В результате на втором, третьем и шестом выходах блока 39 образуютс сигналы логического нул , на п том выходе - сигнал логической единицы, а на первом выходе - код микрокоманды . Старшие разр ды адреса следующей микрокоманды поступают с четвертого выхода блока 39 через блок элементов ИЛИ 44 на информационный вход регистра 36, а младший разр д адреса следующей микрокоманды с второго выхода блока элементов ИЛИ 44 подаетс через элементы И 42 и ИЛИ 45 на второй информационный вход регистра 36. По заднему фронту синхроимпульса , поступающего на синхровход блока 6, в регистр 37 записываетс микрокоманда из нулевого адреса, а в регистр 36 - адрес следующей микрокоманды. Таким образом, на выходах 9, 13, 15- 20 блока 6 формируютс сигналы, обеспечивающие управление блоками устройства .As a result, the signals of the logical zero are formed at the second, third and sixth outputs of the block 39, the signal of the logical unit at the fifth output, and the micro-command code at the first output. The higher bits of the address of the next micro-command come from the fourth output of block 39 through the block of elements OR 44 to the information input of register 36, and the low-order bit of the address of the next micro-command from the second output of the block of elements OR 44 is fed through elements AND 42 and OR 45 to the second information input of the register 36. On the falling edge of the sync pulse arriving at the synchronous input of block 6, a microcommand from the zero address is written to the register 37, and the address of the next microcommand is written to the register 36. Thus, at the outputs 9, 13, 15-20 of block 6, signals are generated that provide control of the units of the device.
Весь объем пам ти блока 2 раздел етс на группы по шесть чеек пам ти, называемые подканалами. Нулева чейка подканала содержит информацию о наличии (единица в младшем разр де чейки) или отсутствии задачи (ноль в младшем разр де чейки) в подкана5The entire memory of block 2 is divided into groups of six memory cells, called subchannels. The null cell of the subchannel contains information on the presence (unit in the lower order of the cell) or the absence of a task (zero in the minor order of the cell) in the subcloth5
ле. Поэтому дл того, чтобы привести подканал в исходное положение, достаточно обнулить нулевые чейки всех подканалов. Содержимое остальных чеек в этом случае безразлично. Данна процедура выполн етс следующим образом. На вход узла 32 блока 1 подаетс код с выхода 17 блока 6, которьй обеспечивает формирование нулевого кода на выходе узла 32, поступающего на информационный вход регистра 26. На вход дешифратора 22 с выхода 17 блока 6 подаетс код, обеспечивающий совместно с синхроимпульсом , поступающим на синхровход дешифратора 22, формирование импульсного сигнала на четвертом выходе дешифратора 22. В результате регистр 26 обнул етс . Аналогично обнул етс регистр 27 блока 1. Затем на вход коммутатора 31 с выхода 17 блока 6 подаетс код, обеспечивающий прохождение импульсов на выход коммутатора 31.le. Therefore, in order to bring the subchannel back to its original position, it is enough to zero the zero cells of all subchannels. The contents of the remaining cells in this case does not matter. This procedure is performed as follows. To the input of node 32 of block 1, a code is output from output 17 of block 6, which ensures the formation of a zero code at the output of node 32, arriving at the information input of register 26. To the input of the decoder 22 from output 17 of block 6, a code is supplied that provides in conjunction with a sync pulse the synchronous input of the decoder 22, the generation of a pulse signal at the fourth output of the decoder 22. As a result, the register 26 is zeroed. The register 27 of unit 1 is likewise nullified. Then a code is applied to the input of the switch 31 from the output 17 of the block 6, ensuring the passage of pulses to the output of the switch 31.
В первой микрокоманде регистр 27 блока 1 обнул етс , а далее начинаетс цикл, в котором анализируетс наличие прерывани от центрального 5 процессора или незавершенного задани в подканале. В первой микрокоманде этого цикла на втором и третьем выходах блока 39 блока 6 формируютс соответственно сигналы логической единицы и логического нул , что обеспечивает формирование адреса следующей микрокоманды с учетом сигнала прерывани на входе 8 устройства. В том случае, если такой сигнал есть, то- триггер 38 блока 6 устанавливаетс вIn the first micro-command, the register 27 of block 1 is zeroed, and then a cycle is started in which the presence of an interrupt from the central processor 5 or the incomplete task in the subchannel is analyzed. In the first micro-command of this cycle, the signals of the logical unit and logical zero are formed at the second and third outputs of block 39 of block 6, respectively, which ensures the formation of the address of the next micro-command taking into account the interrupt signal at input 8 of the device. In the event that such a signal exists, then the trigger 38 of block 6 is set to
10ten
1515
единицу, в результате чего из блока 46 выбираетс код, который через блок 40 элементов И поступает на пер- 20 вый вход блока 44 элементов ИЛИ. В результате логического суммировани этого кода с адресом следующей микрокоманды , поступающей на третий вход блока 44 элементов ИЛИ, образуетс unit, as a result of which, from block 46, a code is selected, which through block 40 of elements AND goes to the first input of block 44 of elements OR. As a result of the logical summation of this code with the address of the next microcommand arriving at the third input of the block 44 of the OR elements,
Одновременно на вход узла 32 с выхода 25 начальный адрес микропрограммы ПриемSimultaneously to the input of node 32 from output 25, the initial address of the firmware Reception
17 блока 6 подаетс код, обеспечивающий прохождение информации с первого входа блока 32 на его выход без искажений . На второй вход дешифратора 22 подаетс код, обеспечивающий совместно с синхроимпульсом формирование на дев том выходе дешифратора 22 импульсного сигнала, которьй производит запись информации на выходе узла 32 (значение регистра 26) в регистр 33. Таким же образом содержимое регистра 27 переписываетс в регистр 34.17 of block 6, a code is provided to allow information to pass from the first input of block 32 to its output without distortion. A code is supplied to the second input of the decoder 22, which, together with the sync pulse, provides the generation of a pulse signal at the ninth output of the decoder 22, which records information at the output of node 32 (register value 26) into register 33. In the same way, the contents of register 27 are copied to register 34.
В следующей микрокоманде на вход выборки формировател - 35 блока 1 подаетс сигнал логической единицы, от- крывающий формирователь 35. При этом на адресный и информационный входы блока 2 поступают коды с адресного и информационного выходов блока 1. На выходе 16 блока 6 йормируетс сигнал, обеспечивающий запись нулевой информации по нулевому адресу.In the next microcommand, a sample 1 signal is sent to the input of the sampler - 35 of block 1, which opens the shaper 35. At the same time, the address and information inputs of block 2 receive codes from the address and information outputs of block 1. At output 16 of block 6, a signal is provided that provides recording zero information at zero address.
Далее содержимое регистра 27 блока 1 увеличиваетс на шесть (размер подканала ) путем подачи соответствующих кодов на выход 17 блока 6, а затем переписываетс в регистр 34 блока 1 и вновь производитс запись нулевой информации в блок 2 по адресу, указанному в регистре 34 блока 1. Таким образом обнул ютс все нулевые чейки всех подканалов блока 2.Further, the contents of register 27 of block 1 are increased by six (the size of the subchannel) by submitting the corresponding codes to output 17 of block 6, and then rewritten into register 34 of block 1 and the zero information is again written to block 2 at the address specified in register 34 of block 1. Thus, all zero cells of all subchannels of block 2 are zeroed.
Далее выполн етс микропрограмма Анализ наличи задани в подканале.Next, the Analysis of the presence of the task on the subchannel is executed.
9787697876
В первой микрокоманде регистр 27 блока 1 обнул етс , а далее начинаетс цикл, в котором анализируетс наличие прерывани от центрального 5 процессора или незавершенного задани в подканале. В первой микрокоманде этого цикла на втором и третьем выходах блока 39 блока 6 формируютс соответственно сигналы логической единицы и логического нул , что обеспечивает формирование адреса следующей микрокоманды с учетом сигнала прерывани на входе 8 устройства. В том случае, если такой сигнал есть, то- триггер 38 блока 6 устанавливаетс вIn the first micro-command, the register 27 of block 1 is zeroed, and then a cycle is started in which the presence of an interrupt from the central processor 5 or the incomplete task in the subchannel is analyzed. In the first micro-command of this cycle, the signals of the logical unit and logical zero are formed at the second and third outputs of block 39 of block 6, respectively, which ensures the formation of the address of the next micro-command taking into account the interrupt signal at input 8 of the device. In the event that such a signal exists, then the trigger 38 of block 6 is set to
10ten
1515
единицу, в результате чего из блока 46 выбираетс код, который через блок 40 элементов И поступает на пер- вый вход блока 44 элементов ИЛИ. В результате логического суммировани этого кода с адресом следующей микрокоманды , поступающей на третий вход блока 44 элементов ИЛИ, образуетс unit, as a result of which, from block 46, a code is selected which, through block 40 of elements AND, goes to the first input of block 44 of elements OR. As a result of the logical summation of this code with the address of the next microcommand arriving at the third input of the block 44 of the OR elements,
00
5five
0 5 0 5
0 5 0 5
задани , который поступает на первый и второй информационные входы регистра 36 и по заднему Аронту синхроимпульса фиксируетс в этом регистре . Таким образом осуществл етс переход к микропрограмме Прием задани .the task that arrives at the first and second information inputs of the register 36 and is recorded in this register by the rear Aurontu sync pulse. In this way, the transition to the job acceptance firmware is carried out.
В том случае, если на входе 8 сигнал прерывани отсутствует, модификации адреса следующей микрокоманды не происходит и выполн етс втора микрокоманда цикла, в которой содержимое регистра 27 пересылаетс в регистр 34 и далее из блока 2 по адресу , указанному в регистре 34, считываетс информаци , котора записываетс в регистр 26. Затем выполн етс проверка содержимого регистра 26 на равенство нулю. Если это условие не выполн етс , то на выходе переноса узла 32 образуетс сигнал логической единицы, которьй поступает на вход 21 блока 6,.в результате чего происходит модификаци младшего разр да адреса следующей микрокоманды, поступающего на третий вход блока 44 элементов ИЛИ. Дл выполнени модификации младший разр д адреса следующей микрокоманды об зательно равен нулю. Таким образом осуществл етс переход к началу микропрограммы Чтение подканала. Если же содержимое регистра 26 равно нулю, то сигнал переноса на выходе узла 32 не обIf there is no interrupt signal at input 8, the address of the next micro-command is not modified and the second micro-command of the cycle is executed, in which the contents of register 27 are sent to register 34 and then information is read from block 2 to the address specified in register 34 which is written to register 26. Then the contents of register 26 are checked for equality to zero. If this condition is not fulfilled, then the output of the transfer of node 32 forms a signal of a logical unit, which is fed to the input 21 of block 6, resulting in a modification of the lower-order bit of the address of the next microcommand arriving at the third input of the block 44 OR elements. To perform the modification, the low-order bit of the address of the next micro-instruction is necessarily zero. Thus, the transition to the beginning of the microprogram Reading subchannel is performed. If the contents of register 26 is zero, then the transfer signal at the output of node 32 is not about
разуетс , и поэтому выполн етс переход к следующей микрокоманде цикла в которой содержимое регистра 27 увеличиваетс на шесть и осуществл етс переход к началу цикла.is developed, and therefore a transition is made to the next cycle microcommand in which the contents of register 27 are increased by six and the transition to the beginning of the cycle is made.
Микропрограмма Прием задани выполн етс следующим образом.Firmware Reception of the task is performed as follows.
Регистр 33 обнул етс , а в рабочем регистре 30 блока 1 формируетс фиксированный адрес №, который вл етс начальным адресом области внешней пам ти (на фиг. 1 не показана), предназначенной дл св зи центрального процессора с устройством. Далее выполн етс считывание содержимого чейки пам ти №,.дл чего на выходе 13 устройства формируетс сигнал Чтение, а на выходе 19 блока 6 - код, который обеспечивает выборку на чтение блока 4. В результате содержимое чейки № поступает на вход 11 устройства и через блок 4 на информационные входы блоков 1 и 6. Млашие четырег, разр да кода из чейки № записываютс в регистр 27} следующие четыре разр да (номер абонента - №ВУ в регистр 29, а старшие восемь разр дов - в регистр 28 блока 1.The register 33 is zeroed out, and in the working register 30 of block 1, a fixed address No. is formed, which is the starting address of the external memory area (not shown in Fig. 1) for communicating the central processor with the device. Next, the contents of the memory cell No. are read, for which the output signal 13 of the device generates a signal Read, and the output 19 of block 6 is a code that selects the reading of block 4. As a result, the contents of the cell No. go to input 11 of the device and through block 4 to the information inputs of blocks 1 and 6. The least four, the code from cell No. are recorded in register 27} the next four bits (the subscriber number is No. VU in register 29, and the senior eight bits are in register 28 of block 1.
Затем производитс сообщение центральному процессору о завершении приема задани . Дл этого на выходе 13 устройства формируетс сигнал Запись, а на выходе 19 блока 6 Then a message is sent to the central processor about the completion of the task reception. To do this, the Record signal is generated at the output 13 of the device, and the block 6 at the output 19
код, открывающий блок 4 на запись, в результате чего чейка № обнул етс . На первом выходе регистра 37 блока 6 формируетс сигнал, устанавливающий триггер 38 блока 6 в нулевое состо ние.the code that opens block 4 to write, causing the cell No. to zero. At the first output of register 37 of block 6, a signal is generated that sets the trigger 38 of block 6 to the zero state.
После этого содержимое регистра 28 блока 1 пересыпаетс в регистр 33, формирователь 35 блока 1 открываетс и код команды поступает на информационный вход блока 6 дл осуществлени анализа типа команды ввода-вывода .After this, the contents of register 28 of block 1 are transferred to register 33, the shaper 35 of block 1 is opened, and the command code is fed to the information input of block 6 to perform an analysis of the type of I / O command.
При этом на третьем выходе блока 39 формируетс единица, а на четвертом выходе - адрес следующей микрокоманды , который, проход через блок 44 элементов ИЛИ, модифицируетс в зависимости от кода, поступающего на информационный вход блока 6. В результате образуетс либо начальный адрес микропрограммы Загрузка задани (при поступлении команды Начать ввод-вывод), либо начальный адрес микропрограммы Удаление зада0At the same time, a unit is formed at the third output of block 39, and at the fourth output, the address of the next microcommand, which, passing through the block 44 of OR elements, is modified depending on the code received at the information input of block 6. As a result, either the initial address of the microprogram is generated. (when the Start I / O command is received), or the starting address of the firmware.
5five
5 five
00
00
5five
00
5five
00
5five
ни (при поступлении команды Остановить ввод-вывод).nor (when a Stop I / O command is received).
Если поступила команда Остановить ввод-вывод, то нулева чейка указанного подканала обнул етс , дл чего в регистр 34 записываетс значение регистра 27, умноженное на шесть, на. выходе 16 блока 6 формируетс сигнал Запись. После этого осуществл етс переход к микропрограмме Анализ наличи задани If the Stop I / O command has been received, the zero cell of the specified subchannel is zeroed out, for which register 34 registers the value of register 27 multiplied by six by. the output 16 of block 6, a write signal is generated. After that, the transition to the firmware
Если поступила команда Начать ввод-вывод, то в рабочем регистре 30 блока 1 формируетс адрес №+1, который затем переписываетс в регистр 34. На выходе 13 устройства формируетс сигнал Чтение, и содержимое чейки К«+1 считываетс в регистр 23 блока 1. Таким образом, в регистре 23 образуетс начальный адрес программы, по которой осуществл етс обмен информацией с абонентом . Далее осуществл етс переход к микропрограмме Обработка кода команды.If the Start I / O command has been received, the working register 30 of block 1 is configured with address no. + 1, which is then rewritten into register 34. At output 13 of the device, a read signal is generated, and the contents of cell K + 1 are read into register 23 of block 1. Thus, in register 23, the initial address of the program is formed, through which information is exchanged with the subscriber. The next step is to go to the firmware. Processing the command code.
Микропрограмма Чтение подканала предназначена дл восстановлени содержимого регистров 23-25, 28 и 29 блока 1, выполн емого путем считывани из области, отведенной дл данного подканала в блоке 2. Дл этого посредством соответствующих сигналов на выходе 17 блока 6 на адресном выходе блока 1 последовательно формируютс п ть адресов данного подканала (М+1-М+5), содержимое которых переписываетс соответственно в регистры 23-25, 28 и 29. Далее выполн етс проверка содержимого регистра 25 на равенство нулю. Если условие выполн етс , то это свидетельствует о том, что команда завершена (все данные переданы), и поэтому осуществл етс переход к микропрограмме Прием команды . В противном случае (передача данных не закончена) выполн етс переход к микропрограмме Выполнение команды.The firmware Reading subchannel is designed to restore the contents of registers 23-25, 28 and 29 of block 1, performed by reading from the area allocated for this subchannel in block 2. To do this, the corresponding output 17 of block 6 at the output output of block 1 sequentially generates Five addresses of this subchannel (M + 1-M + 5), the contents of which are rewritten respectively into registers 23-25, 28 and 29. Next, the contents of register 25 are checked for equality to zero. If the condition is fulfilled, then it indicates that the command has been completed (all data has been transmitted), and therefore a transition is made to the firmware. The command is received. Otherwise (data transfer is not completed), the transition to the firmware is executed. Execution of the command.
Микропрограмма Прием команды выполн етс следующим образом.Firmware The command is received as follows.
С помощью сигналов с выхода 17 блока 6 содержимое регистра 23 пере- сылаетс в регистр 34 блока 1. На выходе 13 устройства формируетс сигнал Чтение, и из внешней пам ти считываетс код команды. При этом на выходе 19 блока 6 формируетс сигнал, открывающий блок 4 на чтение. В результате код команды поступает на информационные входы блоков 1 и 6. Старшие восемь разр дов записываютс в регистр 28, а младшие восемь - в регистр 25 блока 1. Адрес следующей микрокоманды определ етс кодом, поступающим на информационный вход блока 6, дл чего на .вторые входы блока 41 элементов И подаетс сигнал логической единицы с соответствующего выхода блока 39.Using signals from output 17 of block 6, the contents of register 23 are sent to register 34 of block 1. At output 13 of the device, a Read signal is generated, and the command code is read from the external memory. At the same time, the output 19 of block 6 generates a signal that opens the block 4 for reading. As a result, the command code goes to the information inputs of blocks 1 and 6. The upper eight bits are written to register 28, and the lower eight bits are written to register 25 of block 1. The address of the next microcommand is determined by the code received at information input of block 6, for which. the second inputs of the block of 41 elements And the signal of the logical unit is supplied from the corresponding output of the block 39.
В том случае, если поступила команда безусловного перехода, переход осуществл етс к микропрограмме Безусловный переход, Во втором слове этой команды указываетс адрес следующей команды программы. Поэтому с помощью сигналов на выходе 17 блока 6 содержимое регистра 23 блока 1 увеличиваетс на единицу и записываетс в регистр 34. Далее выполн етс операци чтени внешней пам ти по адресу в регистре 34, и информаци записываетс в регистр 23 блока 1, т.е. записываетс адрес следующей команды программы. На этом действи команды заканчиваютс и осуществл етс переход к микропрограмме Прием команды.1.In the event that an unconditional jump command is received, the jump is made to the Unconditional Jump firmware. In the second word of this command, the address of the next program command is indicated. Therefore, using signals at output 17 of block 6, the contents of register 23 of block 1 are incremented by one and written to register 34. Next, the read operation of the external memory at the address in register 34 is performed, and the information is written to register 23 of block 1, i.e. The address of the next program command is recorded. At this action, the commands end and the transition to the firmware is carried out. Reception of the command.
В том случае, если поступили команды Передача данных из внешней пам ти к абоненту или Передача данных от абонента во внешнюю пам ть, переход осуществл етс к началу микропрограммы , в которой содержимое регистра 23 блока 1 увеличиваетс на единицу, а затем из внешней пам ти по адресу, указанному в регистре 23, считываетс информаци и записываетс в регистр 24 блока 1. По смыслу эта информаци представл ет собой начальный адрес зоны внешней пам ти , в которую или из которой данные передаютс соответственно от абонента или к абоненту. Далее содержимое регистра 23 увеличиваетс на единицу и осуществл етс переход к микропрограмме Выполнение команды.In the event that commands are received to transfer data from an external memory to a subscriber or transfer data from a subscriber to an external memory, the transition is made to the beginning of the microprogram, in which the contents of the register 23 of unit 1 are increased by one, and then from the external memory by The address indicated in register 23 is read into information and is written to register 24 of block 1. By meaning, this information is the starting address of the external memory area to which or from which data is transmitted from or to the subscriber, respectively. Next, the contents of register 23 are incremented by one, and the transition to the microprogram is executed. The command is executed.
Если поступила команда Передача управл ющего байта абоненту, то осуществл етс переход к микропрограмме, где содержимое регистра 23 увеличиваетс на единицу, а затем выполн етс переход к микропрограмме Выполнение команды.If a control byte is sent to the subscriber, a transition is made to the microprogram, where the contents of register 23 are incremented by one, and then the transition to the microprogram is executed. Execute the command.
Если поступила команда Заверше-- ние программы ввода-вывода, то осуществл етс переход к микропрограмме, котора выполн етс следующим обра If the command Completion of an I / O program has been received, the transition to the firmware is performed, which is performed as follows:
10ten
39787103978710
зом. В регистре 34 формируетс адрес №+2, по которому во внешнюю пам ть записываетс предварительно сформированное содержимое регистра 33, представл ющее собой код завершени программы ввода-вывода по команде Завершение программы ввода-вывода. Регистр 26 обнул етс , т.е. аннулируетс признак наличи задани в подканале . Кроме того, на выходе 15 формируетс сигнал Прерывание, которым центральный процессор оповещаетс о завершении программы ввода-вывода, причем в чейке Кч2 внешней пам ти указана причина, по которой ввод-вывод завершен. Затем осуществл етс переход к микропрограмме Запись регистров в подканал.zom. In register 34, the address no. + 2 is formed, according to which the previously formed contents of register 33 are written into the external memory, which is the exit code of the I / O program upon the command Completion of the I / O program. Register 26 is zero, i.e. the indication of the presence of the task in the subchannel is canceled. In addition, at the output 15, an Interrupt signal is generated, by which the CPU is notified of the completion of the I / O program, and the external memory location cell Kch2 indicates the reason for which the I / O is completed. A transition is then made to the firmware. Write the registers to the subchannel.
Микропрограмма Выполнение команды производит действи по организации св зи между устройством и абонентом и передачу данных. По сигналу синхронизации, поступающему по одной 25 из линий на выход 9(на остальных лини х код Номер абонента), абонент, чей номер сформирован на входе-выходе 10, включаетс дл дальнейшего продолжени сеанса св зи. Затем на выходе 9 устанавливаетс код, который расшифровываетс абонентом как признак необходимости сформировать ответ оFirmware The execution of a command performs data transmission between the device and the subscriber and the transmission of data. According to the synchronization signal received by one 25 of the lines to exit 9 (on the remaining lines the code is the subscriber number), the subscriber whose number is formed at the input-output 10 is switched on to continue the communication session. Then, at output 9, a code is set which is decoded by the subscriber as a sign of the need to form an answer about
1515
2020
30thirty
5five
00
5five
00
5five
том, что он включен. В результате на входе-выходе 10 образуетс номер включившегос абонента, который поступает через блок 3 на информационный вход блока 1 и записываетс в регистр 30. Далее сравниваютс номера включившегос и затребованного абонентов путем сравнени содержимого регистров 29 и 30. В том случае, если эти номера не совпадают, в регистре 33 формируетс код ошибки Неверна адресаци . На этом действи программы заканчиваютс , так как продолжение сеанса св зи невозможно. Выполн етс переход к микропрограмме, где производ тс действи по доведению этого сообщени до центрального процессора.that it is included. As a result, an input subscriber number is formed at the input-output 10, which enters through information block 3 on information input of block 1 and is written to register 30. Next, the numbers of the subscribed and requested subscribers are compared by comparing the contents of registers 29 and 30. In the event that these numbers do not match, in the register 33 an error code is formed Incorrect addressing. This action of the program ends, since the continuation of the communication session is impossible. A transition is made to the firmware where actions are taken to bring this message to the central processor.
Если переданный номер и прин тый номер абонента совпадают, то это сви- детельствует о правильном включении абонента, и на выходе 9 формируетс код, который абонентом расшифровываетс как сигнал о выдаче информации на вход-выход 10 о состо нии (свободен - зан т) абонента. При этом на вход выборки блока 3 поступает сигтIf the transmitted number and the received subscriber number coincide, this indicates that the subscriber is turned on correctly, and at output 9 a code is generated that is decoded by the subscriber as a signal that information is being sent to the input / output 10 about the state (free - busy) of the subscriber. . In this case, the input sample block 3 receives
нал, открывающий блок 3, и информаци поступает на информационный вход блока 6. Одновременно на втором и четвертом выходах блока 39 блока 6 образуютс коды, обеспечивающие формирование логических нулей на первом и третьем входах блока 44 элементов ИЛИ. В результате переход к следующей микрокоманде производитс с учетом информации о состо нии абонента. Если абонент зан т, то выполн етс переход к микропрограмме Запись регистров в подканал. Если абонент свободен , то содержимое регистра 28 (код выполн емой команды) пересылаетс в регистр 33, открываетс формирователь 35, и информаци поступает на информационный вход блока 6 и далее через блок элементов И 41, блок элементов ИЛИ 44, элемент И 42 и элемент ИЛИ 45 подаетс без искажений на входы регистра 36, где фиксируетс очередным синхроимпульсом. Таким образом производитс анализ кода выполн емой команды, т.е. выбор началь- нбго адреса микропрограммы дл продолжени св зи с абонентом в зависимости от кода выполн емой команды.The opening block 3 and the information are fed to the information input of block 6. At the same time, the second and fourth outputs of block 39 of block 6 form codes that ensure the formation of logical zeros on the first and third inputs of block 44 of the OR elements. As a result, the transition to the next micro-command is made taking into account the subscriber's status information. If the subscriber is busy, a transition is made to the firmware. Writing registers to the subchannel. If the subscriber is free, the contents of register 28 (command code) is sent to register 33, shaper 35 is opened, and information is received at information input of block 6 and then through the block of elements AND 41, the block of elements OR 44, the element 42 and the element OR 45 is applied without distortion to the inputs of the register 36, where it is fixed by another sync pulse. Thus, the code analysis of the executed command is performed, i.e. selection of the initial microprogram address to continue communication with the subscriber depending on the command code being executed.
Продолжение команды Передача управл ющего байта абоненту заключаетс в формировании на выходе 9 кода, который расшифровываетс абонентом как прием управл ющего байта, а на входе-выходе 10 - непосредственно кода управл ющего байта, хран щегос в регистре 25 блока 1. По сигналу синхронизации управл ющий байт передаетс абоненту, и осуществл етс переход к приему следующей команды программы .The command continued to transmit the control byte to the subscriber consists in forming at output 9 a code that is decoded by the subscriber as receiving the control byte, and at input-output 10 - directly the control byte code stored in register 25 of block 1. By the synchronization signal the control the byte is transmitted to the subscriber, and a transition is made to receive the next program command.
Продолжение команды Передача данных из внешней пам ти к абоненту заключаетс в считывании информации из внешней пам ти по адресу, хран щемус в регистре 24, и записи ее в регистр 33 блока 1, а затем в передаче на вход-выход 10 устройства. На выходе 9 формируетс код, который расшифровываетс абонентом как передача данных абоненту. По сигналу синхронизации данные с входа-выхода 10 за-; писываютс к абоненту.The command continuation Transferring data from external memory to the subscriber consists in reading information from the external memory at the address stored in register 24 and writing it to register 33 of block 1, and then transferring it to input-output 10 of the device. At output 9, a code is generated that is decoded by the subscriber as data transmission to the subscriber. According to the synchronization signal data from the input-output 10 for-; to the subscriber.
Затем содержимое регистра 24 блока 1 увеличиваетс на единицу (адрес данных во внешней пам ти), а счетчик количества переданной информации (регистр 25) уменьшаетс на единицу, после чего содержимое регистра 25 про5Then the contents of the register 24 of block 1 are incremented by one (the address of the data in the external memory), and the counter of the amount of information transferred (register 25) is decreased by one, after which the contents of register 25 pro5
вер етс на равенство нулю. Если это условие выполн етс , то, следовательно , вс информаци данной командой передана и поэтому осуществл етс переход к микропрограмме Прием команды . В противном случае команда не закончена и поэтому переход осуществл етс к микропрограмме Запись регистров в подканал. Такой вариант построени команды возможен в том случае, если быстродействие абонента значительно ниже, чем устройства.is believed to be equal to zero. If this condition is fulfilled, then all the information by this command is transmitted and therefore a transition is made to the firmware. The command is received. Otherwise, the command is not completed and therefore the transition is made to the firmware. Write registers to the subchannel. Such a variant of building a command is possible if the subscriber speed is significantly lower than the device.
Продолжение команды Передача данных от абонента во внешнюю пам ть заключаетс в формировании на выходе 9 кода, которьй сообщает абоненту, что устройство готово прин ть информацию от него. В результате инфор0 наци от абонента ерез блок 3 поступает на информационный вход блока 1 и записываетс в регистр 33 этого блока, а затем записываетс во внешнюю пам ть по адресу, хран щемус в Continuing the command. The transfer of data from the subscriber to the external memory consists in the formation at output 9 of a code which informs the subscriber that the device is ready to receive information from it. As a result, the information from the subscriber through the unit 3 enters the information input of unit 1 and is written to the register 33 of this block, and then written to the external memory at the address stored in
5 регистре 24. Дальнейшие действи аналогичны действи м команды Передача данных из внешней пам ти к абоненту1..5 register 24. Further actions are similar to those of the command Transfer data from external memory to subscriber1.
Микропрограмма Запись регистров в подканал обеспечивает фиксациюFirmware Writing registers to the subchannel provides a fixation
Q содержимого регистров 23-26, 28 и 29 в блоке 2 в соответствующем подканале . Дл формировани начального адреса подканала содержимое регистра 27 уменьшаетс на п ть. По окончании этой микропрограммы осуществл етс Q contents of registers 23-26, 28 and 29 in block 2 in the corresponding subchannel. To form the start address of the subchannel, the contents of register 27 are reduced by five. At the end of this firmware is carried out
переход к микропрограмме Анализ наличи задани в подканале, котора определ ет наличие задани в- следующем 1 подканале, так как содержимое реги- Q стра 27 после записи всех регистров в подканал содержит начальный адрес следующего подканала.transition to the microprogram Analysis of the presence of the task in the subchannel, which determines the presence of the task in the next 1 subchannel, since the contents of the register in Q 27 after writing all the registers to the subchannel contain the starting address of the next subchannel.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874344451A SU1539787A1 (en) | 1987-12-15 | 1987-12-15 | Multichannel processor-to-subscribers interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874344451A SU1539787A1 (en) | 1987-12-15 | 1987-12-15 | Multichannel processor-to-subscribers interface |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1539787A1 true SU1539787A1 (en) | 1990-01-30 |
Family
ID=21342658
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU874344451A SU1539787A1 (en) | 1987-12-15 | 1987-12-15 | Multichannel processor-to-subscribers interface |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1539787A1 (en) |
-
1987
- 1987-12-15 SU SU874344451A patent/SU1539787A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1252788, кл. G 06 F 13/10, 1984. Авторское свидетельство СССР № 1114099, кл. G 06 F 3/00, 1982. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4509113A (en) | Peripheral interface adapter circuit for use in I/O controller card having multiple modes of operation | |
US4245307A (en) | Controller for data processing system | |
US4831514A (en) | Method and device for connecting a 16-bit microprocessor to 8-bit modules | |
US4412286A (en) | Tightly coupled multiple instruction multiple data computer system | |
US4041473A (en) | Computer input/output control apparatus | |
US3283308A (en) | Data processing system with autonomous input-output control | |
US4535453A (en) | Signaling input/output processing module for a telecommunication system | |
US3704453A (en) | Catenated files | |
US3413612A (en) | Controlling interchanges between a computer and many communications lines | |
US4047245A (en) | Indirect memory addressing | |
US4032898A (en) | Interface control unit for transferring sets of characters between a peripheral unit and a computer memory | |
SU1539787A1 (en) | Multichannel processor-to-subscribers interface | |
SU1550524A1 (en) | Device for interfacing processor and external unit | |
EP0376003A2 (en) | Multiprocessing system with interprocessor communications facility | |
US4467413A (en) | Microprocessor apparatus for data exchange | |
SU1070536A1 (en) | Swapping device | |
JPS6224830B2 (en) | ||
SU1614016A1 (en) | Data input device | |
SU1543415A1 (en) | Device for interfacing two computers | |
SU941978A1 (en) | Data exchange device | |
SU860044A2 (en) | Multiplexor channel | |
SU1322301A1 (en) | Device for exchanging information with common bus | |
SU911501A2 (en) | Exchange control device | |
SU1635188A1 (en) | Device for interfacing a computer to its peripherals | |
SU962905A1 (en) | Device for interfacing electronic computers |