SU1239724A2 - Device for exchanging data - Google Patents

Device for exchanging data Download PDF

Info

Publication number
SU1239724A2
SU1239724A2 SU843725676A SU3725676A SU1239724A2 SU 1239724 A2 SU1239724 A2 SU 1239724A2 SU 843725676 A SU843725676 A SU 843725676A SU 3725676 A SU3725676 A SU 3725676A SU 1239724 A2 SU1239724 A2 SU 1239724A2
Authority
SU
USSR - Soviet Union
Prior art keywords
block
inputs
group
output
outputs
Prior art date
Application number
SU843725676A
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 SU843725676A priority Critical patent/SU1239724A2/en
Application granted granted Critical
Publication of SU1239724A2 publication Critical patent/SU1239724A2/en

Links

Landscapes

  • Use Of Switch Circuits For Exchanges And Methods Of Control Of Multiplex Exchanges (AREA)

Abstract

Изобретение относитс  к области вычкслительной техники и может быть использовано в вычислительных систе:мах дл  сопр жени  ЭВМ с каналами св зи. Целью изобретени   вл етс  расширение класса решаемых задач дл  уменьшени  времени, затрачиваемого ЭВМ на проведение обмена с устройствами нижнего уровн . Цель достигаетс  тем, что в устройство, содержащее генератор тактовьпс импульсов, блок микропрограммного управлени , блок прерываний, линейный блок ввода- вывода, линейные согласователи, ли- . кей ный дешифратор, блок регистров, дешифратор ввода-вывода, блок пам ти, управл ющий дешифратор, введены вторые генератор тактовых импульсов и блок микропрограммного управлени , блок сопр жени , блок разрешени  захвата магистрали, второй и третий блоки пам ти и группа блоков пам ти. 2 з.п. ф-лы, 1 ил. (3 S (Л to 00 со 1C 4 N)The invention relates to the field of copying technology and can be used in computing systems: max for interfacing computers with communication channels. The aim of the invention is to expand the class of tasks to reduce the time spent by a computer to conduct an exchange with lower-level devices. The goal is achieved by the fact that a device containing a pulse clock generator, a firmware control unit, an interrupt unit, a linear I / O unit, linear terminators, a linear controller. a key decoder, a register block, an I / O decoder, a memory block, a control decoder, a second clock generator and a microprocessor control block, a gateway block, a line capture resolution block, a second and third memory blocks, and a group of memory blocks . 2 hp f-ly, 1 ill. (3 S (L to 00 with 1C 4 N)

Description

Изобретение относитд  к вычислительной технике, может быть использовано в вычислительных системах дл  сопр жени  ЭВМ с каналами св зи и  вл етс  усовершенствованием извест- HOFO устройства по авт. св. № 1012235 , Цель изобретени  - расширение класса решаемых задач дл  уменьшени  времени, -затрачиваемого ЭВМ на проведение обмена с устройствами нижнего уровн .:The invention relates to computer technology, can be used in computer systems for interfacing computers with communication channels, and is an improvement to the known HOFO device by author. St. No. 1012235, The purpose of the invention is the expansion of the class of tasks to be reduced to reduce the time spent by the computer on exchanging with devices of the lower level:

На фиг.1 представлена блок-схема устройства; на фиг.2-7 - функциональные схемы,блока св зи с магистралью , блока прерываний, блока микропрограммного управлени , линейного блока ввода-вывода, блока сопр жени  и блока разрешени  доступа.Figure 1 presents the block diagram of the device; Figures 2 to 7 illustrate functional diagrams of a communication unit with a trunk, an interrupt unit, a firmware control unit, a linear I / O unit, an interface unit, and an access authorization unit.

Устройство (фиг.1) содержит генераторы 1 и 2 тактовых импульсов, блоки 3 и 4 микропрограммного управлени имеющие соответственно тактовые 5 и 6, синхронизирующие 7 и 8 входы, первую и вторую магистрали, включающие соответственно пщны адреса, данных и -управлени  9-14, блок 15 прерываний , имеющий первый 16 и второй 17 входы, группу входов 18, первьй 19 и второй 20 выходы, блок 21 св зи с магистралью, первые вход 22 и выход 23 которого  вл ютс  входом вып борки и выходом синхронизации, а . вторые вход 24 и выход 25 и группы адресных входов 26 и информационных входов-выходов 27 предназначены дл  св зи с второй магистралью, линейный блок 28 ввода-вывода, второй вход-выход которого соединен последовательно с магистралью 29 блока 30 св зи с лини ми дл  последовательного ввода-вывода на линейные согласо- ватели 31, вторые входы-выходы 32 которых  вл ютс  линейными входами-выходами устройства, линейный дешифратор 33, блок 34 регистров, дешифратор 35 ввода-вывода, первый блок 36 -пам ти, управл ющий дешифратор 37, блок .38 сопр жени , блок 39 разрешени  -доступа к магистрали, шины 40 - 43 вторых и первых входов и выхо д,ов блока 39, второй 44 и третий 45 блоки, пам ти, группу блоков 46 па- м ти.The device (Fig. 1) contains generators 1 and 2 clock pulses, blocks 3 and 4 of microprogram control having clock 5 and 6, respectively, synchronizing 7 and 8 inputs, first and second highways, including respectively addresses, data and control 9-14 , interrupt unit 15, having first 16 and second 17 inputs, group of inputs 18, first 19 and second 20 outputs, communication unit 21 with a highway, first inputs 22 and output 23 of which are a sampling input and a synchronization output, a. the second input 24 and output 25 and the group of address inputs 26 and information input-outputs 27 are intended for communication with the second highway, the linear input-output unit 28, the second input-output of which is connected in series with the highway 29 of communication unit 30 with lines for serial I / O to linear connectors 31, the second inputs-outputs 32 of which are linear inputs-outputs of the device, linear decoder 33, block 34 of registers, decoder 35 I / O, first block 36-RAM, control decoder 37 , block .38 conjugation, block 39 times decisions — access to the trunk, bus 40–43 second and first inputs and outputs, block 39, second 44 and third 45 blocks, memory, group of blocks 46 of the driveway.

Блок 21 св зи с магистралью , . (фиг.2).содержит пам ть 47, второй и первьй регистры 48 и 49 адреса, второй и первый 50 и 51 регистры данных , второй и первый элементы И 52 и 53, элемент ИЛИ 54, триггеры 55 иBlock 21 connection with the highway,. (FIG. 2). contains memory 47, second and first address registers 48 and 49, second and first 50 and 51 data registers, second and first elements AND 52 and 53, OR element 54, triggers 55 and

5five

00

5five

00

5five

00

5five

00

5five

56, второй и первый элементы 57 и 58 задержки, компаратор 59 адреса, генератор 60 импульсов и элемент НЕ 61.56, the second and first delay elements 57 and 58, the address comparator 59, the pulse generator 60 and the HE element 61.

Блок 15 прерываний (фиг.З) содержит компаратор 62, элементы И 63 и 64, триггеры 65 и 66.Interrupt block 15 (FIG. 3) contains a comparator 62, elements And 63 and 64, triggers 65 and 66.

Блоки 3 и 4 микропрограммного управлени  (фиг. 4) содержат буферньш регистр (буфер) 67 данных, -. арифметико-логический узел (АЛУ) 68, регистр 69 команд, блок 70 регистров общего назначени , формирователь 71 тактовых импульсов, дешифратор 72 команд, счетчик 73 команд, регистр 74 адреса, регистр 75 выходных сигналов, регистр 76 входных сигналов, буферный регистр (буфер) 77 адреса.Blocks 3 and 4 of the firmware control (Fig. 4) contain a buffer register (buffer) 67 of data, -. arithmetic logic unit (ALU) 68, instruction register 69, general registers block 70, clock pulse generator 71, instruction decoder 72, command counter 73, address register 74, output register 75, input register 76, buffer register (buffer ) 77 addresses.

Линейньй блок 28 ввода-вывода (фиг.5) содержит буферньй регистр (буфер),78 данных, регистр 79 ко- . мандр и режимов, сдвиговый регистр 80, предназначенный дл  передачи информаиди, регистр 81 состо ни , сдвиговьй регистр 82, предназначенный дл  приема информации, дешифратор 83.The linear input / output unit 28 (FIG. 5) contains a buffer register (buffer), 78 data, and a 79 register. mandr and modes, shift register 80 for transmitting information, state register 81, shift register 82 for receiving information, decoder 83.

Блок 38 сопр жени  (фиг.6) содержит группы 84 и 85 тристабильных элементов И, элементы И 86-92, элементы ИЛИ 93 и элемент 94 задержки.Interface unit 38 (Fig. 6) contains groups 84 and 85 of tristable AND elements, AND elements 86-92, OR elements 93, and delay element 94.

Блок 39 разрешени  доступа к магистрали (фиг, 7) содержит элементы И 95 и 96 и элементы НЕ 97 и 98.The highway access permission block 39 (FIG. 7) contains AND elements 95 and 96 and HE elements 97 and 98.

II

Блок 21 св 1зи с магистрал-ью представл ет собой оперативно-запоминающее устройство, предназначенное дл  хранени  и накоплени  массивов прие- мопередачи и дл  информационной св зи с блоком 4 микропрограммного управлени  через вторую магистраль, и имеет- каналы обращени  как со стороны второй магистрали, так и со стороны первой магистрали. Распределение во времени циклов обращени  к блоку 21 осуществл етс  триггерами 55 и 56, единичное состо ние которых определ ет прохождение сигналов адреса, данных и .управлени  на вход пам ти 47. Триггеры 55 и 56 соединены таким образом , что их одновременное единичное состо ние исключаетс . Если состо ние триггера 55 соответствует единичному, то сигнал с выхода этого триггера, поступа  на установочный вход триггера 56, удерживает его в нулевом состо нии и наоборот. Распределение во времени включени Block 21 of 1zi with backbone is a random-access memory device for storing and accumulating transceiver arrays and for informational communication with block 4 of microprogram control over the second trunk and has access channels as from the second trunk side, and from the first highway. The time distribution of the access cycles to block 21 is performed by triggers 55 and 56, the unit state of which determines the passage of the address, data and control signals to the input of memory 47. The triggers 55 and 56 are connected in such a way that their simultaneous single state is excluded . If the state of the flip-flop 55 corresponds to one, then the signal from the output of this flip-flop arriving at the setup input of the flip-flop 56 keeps it in the zero state and vice versa. On-time distribution

триггеров осуществл етс  взаимоинверсными сигналами, поступающими с генератора 60, с использованием элемента НЕ 61, на их входы синхронизации. Сигналы, указывающие на начало цикла обращени , поступают на информационные входы триггеров. Сигнал обращени со стороны второй магистрали формируетс  на выходе компаратора 59 в зависимости от состо ни  входов 26, соединенных с шиной адреса. Наличие компаратора 59 определ етс  различной адресной емкостью шины адреса и пам ти 47, Например, дл  организации адресации к блокам 45 и 46 пам ти необходима шестнадцатиразр дна  шина адреса (входы 26), а емкость пам ти 147 составл ет 1 килослово, дл  адре сации к которой необходима всего лишь дес тиразр дна  шина адреса. 0с таватес  шесть разр дов адреса  вл ютс как бы номером части всего возможно- по массива и,они сравниваютс  с заранее заданным номером в компараторе 59 адреса. При совпадении заданного номера с номером, соответствующим состо нию шины адреса, на выходе компаратора 59 формируетс  сигнал выборки . Если состо ние триггера 56 срот ветствует нулевому состо нию, то триггер 55 по фронту синхросигнала устанавливаетс  в единичное состо - ние. Сигнал с выхода этого триггера, поступа  на входы регистра 50 данныхThe flip-flops are carried out by mutually inverted signals from generator 60, using the element HE 61, to their clock inputs. Signals indicating the start of the reference cycle arrive at the information inputs of the triggers. A return signal from the second trunk is generated at the output of the comparator 59, depending on the state of the inputs 26 connected to the address bus. The presence of the comparator 59 is determined by the different address capacity of the address bus and the memory 47. For example, sixteen bits of the address bus (inputs 26) are needed to organize the addressing to memory blocks 45 and 46, and the memory capacity 147 is 1 kilosword, for addressing to which only ten tirasr of the bottom address bus is needed. 0c tavates six address bits are like the part number of the whole possible in the array, and they are compared with a predetermined number in the address comparator 59. When a given number matches a number corresponding to the address bus status, a sampling signal is generated at the output of comparator 59. If the state of the flip-flop 56 coincides with the zero state, then the flip-flop 55 is set to the one state at the clock edge. The signal from the output of this trigger, arriving at the inputs of the register 50 data

элемента- И 52, регистра .48 аддеса и элемента задержки 57, разрешает прохождение сигналов адреса, управлени  данных на входы пам ти 47 и..формирование сигнала Ответ блоку 4. Сигнал по входу 24 с шины 14 управлени  второй магистрали определ ет направление движени  данных через регистр 50 (за пись или чтение) .And 52, the register .48 of the add and the delay element 57, allows the passage of address signals, data control to the memory inputs 47 and signal generation. Response to block 4. The input 24 signal from the second highway control bus 14 determines the direction of data movement through register 50 (for writing or reading).

Если состо ние триггера 56 соот-.- ветствует единичному состо нию, то установка триггера 55 задерживаетс  до установки триггера 56 в нулевое состо ние, задержива  -тем самым ответ на выходе 25 дл  блока 4 и прохождение сигналов адреса, управлени  и данных. - - ,If the state of flip-flop 56 corresponds to a single state, then the installation of flip-flop 55 is delayed until the flip-flop 56 is set to zero, the delay is the same response at output 25 for block 4 and the passing of address, control and data signals. - -,

Признаком обращени  к блоку 21 со стороны перв ой магистрали  вл етс  сигнал выборки на входе 22. Работа . блока 21 в последующем цикле аналогична за исключением того, что в дан ном цикле участвуют регистры 49 и 51, элемент 58 задержки и элемент И 33.A sign of access to block 21 from the first line is a sampling signal at input 22. Operation. block 21 in the subsequent cycle is similar except that registers 49 and 51, delay element 58 and AND element 33 are involved in this cycle.

10ten

2020

2525

  , -   ,,

- 55 - 55

23972442397244

Выход 18 блока 21 предназначен дл  сигнализации об адресе выбираемой  чейки из пам ти 47.Output 18 of block 21 is intended to signal the address of a selectable cell from memory 47.

Блок 15 прерываний предназначен дл  формировани  сигналов прерывани  в сторону блока 4 через выход 20, а в сторону блЬка 3 - через выход 19. Формирование сигналов прерывани  осуществл етс  по коду адреса обращени  к блоку 21 и в зависимости от режима обращени  (чтение, запись).Interrupt unit 15 is designed to generate interrupt signals to block 4 through output 20, and to block 3, via output 19. Interrupt signals are generated using the address code of block 21 and depending on the access mode (read, write).

Из всего NfaccHBa пам ти 47 блока 21 выделены три адреса (три  чейки) ,Х, Y и Z, которые выполн ют функ (5 ции состо ни  (Y), команды (у) и адг реса линейного согласовани  (z). Формирование сигналов, соответствующих обраЕ1;ению к одной из  чеек, осуществл етс  компаратором 62 методом сравнени  кода текущего адреса обращени  с заранее определенными кодами.,Коды текущего адреса обращени  поступают на входы 18 с выхода блока 21.Out of the total NfaccHBa of the memory 47 of the block 21, three addresses (three cells), X, Y, and Z, which perform the function (5 state (Y), command (y), and linear matching ad (z) are allocated. , corresponding to the display of one of the cells, is performed by the comparator 62 by comparing the code of the current address of the address with the predetermined codes. The codes of the current address of the address are fed to inputs 18 from the output of block 21.

Если производитс  обращение к  чейке X , то на выходах компаратора 62, соединенных с элементом И 64 и триггером 50, формируетс  сигнал, и в зависимости от наличи  сигнала на входах 17 или 16 триггер 66 устанавливаетс  либо в единичное состо ние , либо в нулевое. Следовательно, если производитс  обращение к  чейке . X со стороны второй магистрали, то триггер 66 устанавливаетс  в единич ное состо ние (формируетс  сигнал прерывани  в сторону блока 3 шкро- программного управлени ), если производитс  обращение к  чейке X со стороны первой магистрали, то триггерIf cell X is accessed, a comparator 62 connected to AND 64 and trigger 50 is given a signal, and depending on the presence of a signal at inputs 17 or 16, the trigger 66 is set to either one or zero. Therefore, if a cell is being accessed. X from the side of the second highway, the trigger 66 is set to a single state (an interrupt signal is generated in the direction of the program control unit 3), if the cell X is accessed from the first highway, the trigger

66 устанавливаетс  в нулевое состо ние (сбрасываетс  сигнал прерывани  в сторону блока 3) . 66 is set to the zero state (the interrupt signal is reset to the side of block 3).

При обращении к  чейке Y управление триггером 65 (сигналы прерыва45 ни  в сторону второй магистрали) осуществл етс  аналогично, только сWhen accessing the cell Y, the control of the trigger 65 (interrupt signals 45 nor to the side of the second highway) is carried out in a similar way, only with

использованием элемента И 63. Iusing element I 63. I

Блоки 3 и 4 предназначены дл  реализации программ, хран щихс  соответственно в блоках 36 и 44 пам ти, в результате выполнени  которых производитс  координаци  работы бло ков устройства. Блоки 3 и 4 выполн ют определенный список команд, включающий команды чтени -записи, . логической и арифметической обработки данных, условных и безусловных ветвлений .Blocks 3 and 4 are designed to implement the programs stored in memory blocks 36 and 44, respectively, as a result of which the operation of the device blocks is coordinated. Blocks 3 and 4 execute a specific list of commands, including read-write commands,. logical and arithmetic data processing, conditional and unconditional branches.

30thirty

5050

Арифметико-логический узел 68 обесечивает обработку двоично-кодированых данных.Arithmetic logic unit 68 ensures the processing of binary-coded data.

Блок 70 регистров общего назначени  предназначен дл  хранени  и вьща- и данных,участвующих в процессе обг аботки и выполнени  заданной команы , а регистр 69 команд - дл  приема ода команды и хранени  его в течение выполнени  команды.General registers block 70 is designed to store and store data involved in the processing and execution of a given command, and command register 69 to receive the command and store it during the execution of a command.

Дешифратор 72 команд расшифровывав, ет код команды и вьфабатывает микооперации управлени  в соответстии с полученной командой.The decoder 72 commands, decrypting, em command code and extracts myco-operation control in accordance with the received command.

Счетчик 73 команд предназначен л  приема, формировани  и хранени  текущего адреса команды, а регистр 74 адреса - дл  приема и хранени  адреса и выдачи его на буфер 77 адрет са в течение цикла обращени  к внешним блокам. Формирователь 71 тактовых импульсов предназначен дл  выработки тактовых импульсов, синхронизирующих работу блока.The command counter 73 is designed to receive, form and store the current address of the command, and the address register 74 is designed to receive and store the address and issue it to the address buffer 77 during the cycle to access external blocks. The shaper 71 clock pulses is designed to generate clock pulses that synchronize the operation of the block.

Буфер 67 данных представл ет собой двунаправленные тристабильные схемы, предназначенные дл  определени  направлени  движени  данных при обмене информацией с внешними блоками .Data buffer 67 is bi-directional tristable circuits designed to determine the direction of data movement when communicating with external blocks.

Регистр 75 выходных сигналов предназначен дл  формировани  сигналов управлени  (запись-чтение), а регистр 76 входных сигналов - дл  фиксации входньгх управл ющих сигналов , обеспечивающих работу блока с внешними блоками.Output signal register 75 is used to generate control signals (write-read), and input signal register 76 is used to capture input control signals that ensure operation of the block with external blocks.

Цикл работы блока: всегда начинаетс  с чтени  команды по адресу, сформированному в счетчике 73 команд, котора  дешифруетс  дешифраторомBlock operation cycle: always starts from reading the command to the address generated in the command counter 73, which is decoded by the decoder

72 команд, на выходе которого формируютс  сигналы управлени , определ ющие последовательность прохожде- . ни  адресных и информационных сигна- лов. Например, при выполнении команд чтени -записи, адрес внешнего блока из командного слова поступает в буфер 77 адреса, формируетс  управл ющий сигнал чтение-запись и опреде л етс  направление движени  данных через буфер 67 данных. Затем в зависимости от состо ни  входных сигналов , фиксируемых регистром 76 входных сигналов, блок переходит в режим ожидани  окончани  цикла обмена. После окончани  обмена формируетс  следующий адрес команды. Команды услов-572 commands, at the output of which control signals are generated that determine the sequence of passing. no address and information signals. For example, when executing read-write commands, the address of the external block from the control word enters the address buffer 77, a read-write control signal is generated, and the direction of data flow is determined through the data buffer 67. Then, depending on the state of the input signals detected by the input signal register 76, the block enters the mode of waiting for the end of the exchange cycle. After the exchange is completed, the next command address is generated. Teams condition-5

10ten

1515

2020

2525

30thirty

3535

4545

5050

5555

ных или безусловных ветвлений управл ют состо нием счетчика 73 команд на основании информации, полученной ранее или в текущей команде.or unconditional branches, control the state of the command counter 73 on the basis of information obtained earlier or in the current command.

Линейный блок 28 ввода-вывода предназначен дл51 приема и передачи последовательных данных. Преобразование последовательного кода в параллельный код данных и наоборот произ- . водитс  в сдвиговых регистрах 82 и 80 соответственно. Синхронизаци  окончани  преобразовани  осуществл етс  через регистр 81 состо ни , .соответ- ствую1ций разр д которого определ ет готовность линейного блока 28 либо к приему, либо к передаче очередного слова данных.Linear input / output unit 28 is intended for 51 receiving and transmitting serial data. Conversion of serial code into parallel data code and vice versa pro-. is in shift registers 82 and 80, respectively. Synchronization of the conversion end is performed via the state register 81, the corresponding bit of which determines whether the linear block 28 is ready either to receive or to transmit the next data word.

Регистр 79 команд и режимов предназначен дл  определени  начала приема или передачи в процессе работы устройства. Формирование сигналов выборки одного из регистров осуществл етс  дешифратором 83 на основании информации, поступакщей по шинам 9 адреса, и при наличии управл ющего сигнала на шине 11 управлени .Register 79 of commands and modes is designed to determine the start of reception or transmission during the operation of the device. The sampling signals of one of the registers are generated by the decoder 83 based on the information received via the address bus 9 and in the presence of a control signal on the control bus 11.

Направление движени  данных по шине 10 через буфер 78 определ етс  сигналами управлени  по шине 11 при наличии сигнала выборки на шине 9. Шны дл  передачи последовательных данных и сигналов синхронизации преобразовани  образуют магистраль 29 приема-передачи.The direction of data flow on bus 10 through buffer 78 is determined by control signals on bus 11 when there is a sampling signal on bus 9. The buses for transmitting serial data and conversion synchronization signals form the receive-transmit line 29.

Блок 34 регистров предназначен ,, . дл  хранени  номера одного из. линейных согласователей, поступающего на линейный дешифратор 33, на выходе которого формируетс  сигнал выборки соответствующего линейного согласо- вател  31.The register block 34 is intended ,,. for storing the number of one of. linear adapters arriving at the linear decoder 33, at the output of which a sampling signal of the corresponding linear matcher 31 is formed.

В зависимости от области применени  предлагаемого устройства линейные согласрватели 31 (количество которых зависит от необходимого количества каналов св зи устройства) могут представл ть собой либо электронный ключ, работаюпщй на телеграфный канал, либо стандартный модул тор-демодул торDepending on the field of application of the proposed device, the linear coordinators 31 (the number of which depends on the required number of communication channels of the device) can be either an electronic key operating on a telegraph channel or a standard demodulator modulator

при работе на телефонный канал. Iwhen working on the telephone channel. I

Управл юпр1й дешифратор 37 преднаэ начен дл  формировани  сигналов выборки на основании сигналов шины 9 адреса обращени  к блоку 21 св зи с магистралью, к блоку 36 пам ти и к линейным согласовател м 31, а также дл  формировани  сигнала готовности блоку 3 микропрограммного управлени The control descrambler 37 is started to form sampling signals based on the signals of the bus 9 address of the address to the communication unit 21 with the backbone, to the memory unit 36 and to the linear coordinators 31, as well as to generate a readiness signal to the microprogram control unit 3

при поступлении от блока 21 извести- тельного сигнала по выходу 17.upon receipt of a signal from block 21 on output 17.

Дешифратор 35 ввода-вывода формиг рует сигналы выборки либо линейногоThe I / O decoder 35 forms the signals of the sample either linear

15 14 13 12 11 10 915 14 13 12 11 10 9

Подобное распределение разр дов адресных сигналов шины 9 позвол ет равномерно распределить нагрузку цепей шины 9 адреса.Such a distribution of bits of the address signals of the bus 9 makes it possible to evenly distribute the load on the bus circuits of the 9 address.

Блок 38 обеспечивает св зь ЭВМ с второй магистралью.Block 38 provides the connection of the computer with the second line.

По управл ющему сигналу ЭВМ на выходе элемента ИЛИ 93 и выходе 40 блока устанавливаетс  логическа  единица,  вл юща с  сигналом запроса доступа к магистрали (ЗДМ), При наличии на входе 41 блока сигнала разрешени  доступа к магистрали (РДМ), на выходе элемента И 91 устанавливаетс  логическа  единица, котора  поступае на соответствующие входы группы элементов И 88, элементов И 86, 87 и 92 и элемент 94 задержки. При этом группа элементов И 88 разрешает прохождение адресных сигналов с входа на выход блока, элементы И 86 и 87(в зависимости от управл ющего сигнала ЗАП или ЧТН) на своих выходах выставл ют логическую единицу или нуль, по которым группы 84 и 85 тристабильных элементов И пропускают данные с второй группы на первую группу«входов- выходов данных блока или наоборот, погическа  единица с выхода элемента 94 задержки -разрешает прохождение управл ющих сигналов ЗАП или ЧТН, а сигнал Ответ с блока 4 через эле- мент И 92 как логическа  единица поступает на второй управл ющий вход выход блока.On the control signal of the computer at the output of the element OR 93 and the output 40 of the block, a logical unit is set up, which is a signal of the request for access to the highway (ZDM), If there is a block at the input signal of the permission of access to the highway (RDM), at the output of the element 91 a logical unit is established, which goes to the corresponding inputs of a group of elements And 88, elements And 86, 87 and 92 and element 94 delay. The group of elements And 88 allows the passage of address signals from the input to the output of the block, the elements And 86 and 87 (depending on the control signal LAP or CTN) at their outputs expose a logical unit or zero, according to which groups 84 and 85 of tristable elements And they pass the data from the second group to the first group of input-output data of the block or vice versa, the logical unit from the output of the delay element 94 allows the control signals CAP or CTN to pass, and the Response signal from block 4 through I 92 as a logical unit arrives to the second control input the output of the block.

блока 28, либо блока ров,block 28 or ditch block,

Распределение адресов .обращении к блокам может 5 мер, следующим;The distribution of addresses. The address to the blocks can be 5 measures, as follows;

7654321076543210

- V - адреса  чеек пам ти 47 и  чеек блока 36 пам ти; номер регистра в линейном блоке 28 и в блоке 34 регистров; О - обращение к линейному блоку 28 ввода - вывода, 1 - к блоку 34 регистров; 00 - обращение к блоку 36 пам ти-;- V - addresses of memory cells 47 and cells of memory block 36; the register number in the linear block 28 and in the block 34 of registers; On - appeal to the linear block 28 input - output, 1 - to the block 34 registers; 00 - access to memory block 36;

10- обращение к блоку 21 св зи с магистралью 10- access to the communication unit 21 with the trunk

11- обращение к линейным сог- ласовател м 31Г 11- appeal to linear coordinates 31Г

Блок 39 выполн ет процедуры захвата второй магистрали либо со стороны ЭВМ, либо со стороны блока 4.Block 39 performs the procedures for capturing the second highway either from the computer side or from the block 4 side.

По сигналу ЗДМ от блока 38 при от- :сутствии сигнала ЭДМ от блока 4 на выходе элемента И 95 по вл етс  логическа  единица, котора  блокирует прохождение сигнала ЗДМ от блока 4 и поступает через выход блока на шину 41 как сигнал РДМ дл  блока 38. По сигналу ЗДМ о блока 4 блок работает аналогично, с тем лишь отличием„ что сигнал РДМ дл  блока 4 по вл етс  на выходе элемента И 96.A signal from the EMD from block 38 when there is no signal from the EDM from block 4 at the output of the element I 95 appears a logical unit that blocks the passage of the HHM signal from block 4 and enters the output of the block on the bus 41 as an RDM signal for block 38. By the signal of HHD on block 4, the block works in a similar way, with the only difference that the signal of the RDM for block 4 appears at the output of the AND 96 element.

Устройство работает следующим образом.The device works as follows.

Информаци , передаваема  из ЭВМ в устройство нижнего уровн , запи- . сываетс  через блок 38 сопр жени  и вторую магистраль в блок 45 пам ти с з.анесением в его  чейку Z адреса соответствующего линейного согласова- тел  31. Блок 4 микропрограммного управлени  по программе, записанной в блоке 44 пам ти, анализирует  чейку Z блока 45 и при наличии адреса содержимое этого блока перезаписываетс  в блок 21 и в  чейку К этого же блока заноситс  код команды передачи.Information transmitted from a computer to a lower level device is recorded. via interface unit 38 and the second line into memory unit 45 with the address of the corresponding linear matching 31 in its cell Z. The program control unit 4 recorded in memory block 44 analyzes the cell Z of unit 45 and if there is an address, the contents of this block are rewritten into block 21 and the transmission command code is entered into the cell C of the same block.

Информаци  с блока 21 в соответствии с логикой работы блока 3 микропрограммного управлени  передаетс  по Первой магистрали в со ответствую- щее устройство нижнего уровн , аInformation from block 21, in accordance with the logic of operation of microprogram control unit 3, is transmitted along the first line to the corresponding device of the lower level, and

блок 4 микропрограммного управлени  в это врем  обнул ет  чейку 2 блока 45 пам ти и переходит на ожидание сигнала о завершении передачи.The firmware control unit 4 at this time zerms the cell 2 of the memory unit 45 and proceeds to wait for a signal of the completion of the transfer.

После поступлени  сигнала О за- вершении блоком 3 передачи блок 4 переводитс  на формирование команды последовательного опроса устройств, нижнего уровн , начина  с первого. При этом блок 4 заносит в  чейку 7 блока 21 адрес первого линейного сргласовател  31, а в  чейку X - код запроса информации, после чего пе- ходит на ожидание завершени  приема . После получени  сигнала о завершении приема блок 4 пересылает массив информации и-з блока 21 в соответствующий данному устройству нижнего уровн  блок 46 пам ти и переходит к запросу информации по следующему каналу.After the arrival of the signal O about the completion of the transmission unit 3, the unit 4 is transferred to the formation of a command for polling devices of the lower level, starting with the first. In this case, unit 4 records in cell 7 of unit 21 the address of the first linear distributor 31, and in cell X, the information request code, after which it waits for the reception to complete. After receiving the reception completion signal, block 4 forwards the array of information and-from block 21 to the corresponding memory unit 46 of the corresponding memory unit 46 and proceeds to request information on the next channel.

Независимо от .направлени  передачи после ее завершени  блок 15 выра- батывает сигнал прерывани . Причем если команду на обмен выставл л блок 4, то сигнал прерывани  по вл етс  на выходе 19 бло.ка 15 и поступает на управл ющий вход блока 3, а если команду на обмен выставл л блок 3, то сигнал прерывани  по вл етс  на выходе 20 блока 15 и поступает на уп равл ющий вход блока 4. ;- , В процессе обмена информацией между блоком 21 и лини ми св зи блок 3 -работаетв соответствии с программой, занесенной в блок 36 пам ти. Алгоритм организации обмена (вид протокола, форматы досыпок, способ контрол  и т.д. может быть раз личным. Дл  примера приводим алгоритм обменапри работе в полудуплексном синхронном режиме, учитыва , что на другом конце канала св зи стоит внешнее устройство, работющее по аналогичному протоколу. Блок 3, восприн в сигнал прерывани  с бло- ка 15, производит чтение с фиксированной  чейки -t пам ти 47, содержащей номер канала св зи, записывает его в блок 34 регистров, выбрав тем самым соответствующий линейныйсогласоватёль 31. Затем читает Ячейку X (сбрасыва  тем самым сигнал прерывани ), анализирует полученную команду и в случае передачи записывает в регистр 69 команд и режимов линейного блока 18 ввода-вывода команду, настраивающую его на передачу и начинает передавать хран щийс  в пам ти массив данных.Regardless of the direction of transmission after its completion, block 15 generates an interrupt signal. Moreover, if an exchange command exhibited block 4, then an interrupt signal appears at output 19 of block 15 and arrives at the control input of block 3, and if an exchange command is issued at block 3, then an interrupt signal appears at the output 20 of the block 15 and is fed to the control input of the block 4.; -, In the process of information exchange between the block 21 and the communication lines, the block 3 operates in accordance with the program stored in the block 36 of the memory. The exchange organization algorithm (protocol type, payload formats, control method, etc. can be different. For example, we give an exchange algorithm when working in half duplex synchronous mode, taking into account that at the other end of the communication channel there is an external device that uses the same protocol Block 3, taken into interrupt signal from block 15, reads from a fixed cell -t of memory 47 containing the communication channel number, writes it to block 34 of registers, thereby selecting the appropriate linear consistency 31. Then reads Cell X ( thus dropping the interrupt signal), analyzes the received command and, in the case of a transfer, writes to the register 69 of the commands and modes of the linear I / O unit 18 a command that sets it up for transmission and starts transmitting the stored data array.

JOJO

1515

00

5five

0 5 0 5

00

00

Перед вьщачей в передатчик каждого слова данных, читаетс  регистр 81 состо ни  линейного блока 28 и анализируетс  его готовность дл  передачи. В момент передачи в блоке 3 к каждому слову может быть приформирована служебна  информаци  дл  осуществлени  контрол  данных в соответствии с выбранным методом контрол  (например, « . приформировываетс  разр д четности или формируетс  циклический код остатка и т. п. ).Before transmitting each data word to the transmitter, the state register 81 of the linear unit 28 is read and its readiness for transmission is analyzed. At the time of transmission in block 3, service information may be formed for each word to perform data control in accordance with the selected control method (e.g.,. The parity bit is formed or the cyclic residual code, etc.) is generated.

После передачи всего массива блок 3 перестаивает линейный блок 28, на .прием и, чита  состо ние регистра 81 состо ни , организует ожидание с внешнего устройства посылки данных, подтверждающей прием внешним устройством переданного массива.After transferring the entire array, unit 3 rearranges the linear unit 28 to receive and, reading the state of the state register 81, organizes the waiting from the external device for sending data confirming the reception by the external device of the transmitted array.

Блок 3 при получении признака готовности приемника линейного блока 28 считывает данные, переданные внешним устройством, записывает в  чейку V пам ти 47 слово, сигнализирующее блок 4 о завершений цикла приемопередачи, в котором формируютс  признаки досто- верности обмена.Unit 3, upon receiving the readiness sign of the receiver of the linear unit 28, reads the data transmitted by the external device, writes to the cell 47 of the memory 47 the word signaling the unit 4 about the completion of the transceiver cycle, in which signs of reliability of the exchange are formed.

После этого блок 3 снова переходит в режим ожида.ни  сигнала прерывани  (получение очередной команды с второй магистрали).After that, block 3 again goes into the mode of waiting for the interrupt signal (receiving another command from the second line).

Claims (4)

Формула из-обретени Formula of gain 1. 5 стройство дл  обмена данными по а.вт, св. .№ 1012235, о т л и ч а-- ю щ е е с   тем, что, с целью расширени  класса решаемых задач, в него введены второй блок микропрограммного управлени , блок сопр жени , блок разрешени  доступа к магистрали, второй и третий блоки пам ти, группа блокор .пам ти и второй генератор так- товьк импульсов, причем выход генератора тактовых импульсов соединен с тактовым входом второго блока микропрограммного управлени , группа выходов которого через вторую щину адреса с.,оединена с группами адресных входов второго, третьего и группы блоков пам ти, с группой адресных выходов блока сопр жени  и с второй . группой адресных входов блока св зи с магистралью, группа информационных входов-выходов второго блока микропрограммного управлени  через вторую шину данных соединена с группой информационных входов-выходов второго, третьего и группы блоков пам ти.1. 5 device for data exchange on a.wt, sv. . № 1012235, about t and h and ya with the fact that, in order to expand the class of tasks, the second microprogram control unit, interface block, access block to the trunk, the second and third blocks are entered into it memory, the blocker block .pampy and the second pulse generator, the output of the clock generator connected to the clock input of the second microprogrammed control unit, the output group of which through the second address busbar c. memory blocks with group a ery output interface unit and with a second. the group of address inputs of the communication unit with the bus, the group of information inputs-outputs of the second microprogram control unit is connected via the second data bus to the group of information inputs-outputs of the second, third and group of memory blocks. с первой группой иж ормационных входов-выходов блока сопр жени  и с второй группой информационных входов- выходов блока св зи с магистралью, группа управл ющих входов-выходов второго блока микропрограммного управлени  через вторую шину управлени  соединена с группой управл ющих входов-выходов второго, третьего и группы блоков пам ти, с первым входом блока разрешени  доступа к ма-., гистрали, вторыми входом и выходом блока св зи с магистралью и с вторым входом блоwith the first group of information inputs / outputs of the interface unit and with the second group of information inputs and outputs of the communication unit with the trunk, the group of control inputs and outputs of the second microprogram control unit is connected to the group of control inputs and outputs of the second and third and groups of memory blocks, with the first input of the access permission block to the ma-., gistrali, the second input and output of the communication unit with the highway, and with the second input of the ка прерываний, второй выход которого Ika interrupts, the second output of which I соединен с управл ющим входом второго блока микропрограммного управлени , синхронизирующий вход которого,, соединен с первым выходом блока разрешени  доступа к магистрали, выход и вход блока сопр жени  соединены соответственно с вторыми входом и выходом блока разрешени  доступа к магистрали, а вторые группы управл ющих и информационных входов-выходов и группа адресных входов - с соответствующими группами магистральных входов-выходов и входов устройства.connected to the control input of the second firmware control unit, the clock input of which is connected to the first output of the access block for the highway, the output and input of the interface block are connected respectively to the second input and output of the access block for the highway, and information inputs-outputs and a group of address inputs - with the corresponding groups of main inputs-outputs and device inputs. 2. Устройство по П.1, о т.л и - чающеес  тем, что блок сопр жени  содержит две группы три- стабильных элементов И, шесть элементов И, группу элементов И, элемент ИЛИ и элемент задержки, причем первые входы тристабильных элементов первой группы и выходы тристабильных элементов И второй группы соединены с второй группой информационных входов-выходов блока, выходы три- стабильных элементов И первой груп- , пы соединены с первыми входами три- стабипьных элементов И второй груп- пы и с первой группой информационс 2. The device according to claim 1, about the tl and - so that the interface block contains two groups of tristable elements AND, six elements AND, a group of elements AND, element OR, and a delay element, with the first inputs of tristable elements first the groups and outputs of the tristable elements of the second group are connected to the second group of information inputs-outputs of the block, the outputs of the tristable elements of the first group are connected to the first inputs of the three-stable elements of the second group and the first group of information 2020 5five 00 ных входов-выходов блока, вторые входы тристабильных элементов И первой и второй групп соединены соответственно с выходами первого и второго элементов И, первые входы которых, первые входы третьего и четвертого элементов И, первый и второй входы элемента ИЛИ и выход п того элемента И соединены с второй группой управл ющих входов-выходов блока, первые входы элементов И группы соединены с второй группой адресных входов блока вторые- входы первого, второго элементов И и элементов .И группы, вход 15 элемента задержки и первый вход п того элемента И соединены с выходом шестого элемента И, выход элемента задержки соединен с вторыми входами третьего и четвертого элементов И, выходы которых и второй вход п того элемента И соединены с первой группой управл ющих входов-выходов блока, выходы элементов И группы сое-г динены с группой адресных выходов блока, первый вход шестого элемента, И соединен с выходом элемента ИЛИ и .выходом блока, а второй вход - с вхо- дом блока. .unit inputs and outputs, the second inputs of the tristable elements of the first and second groups are connected respectively to the outputs of the first and second elements AND, the first inputs of which, the first inputs of the third and fourth elements AND, the first and second inputs of the OR element, and the output of the fifth element AND with the second group of control inputs-outputs of the block, the first inputs of elements AND of the group are connected to the second group of address inputs of the block second — the inputs of the first, second elements AND of the elements. And the group, input 15 of the delay element and the first input of the fifth el And are connected to the output of the sixth And element, the output of the delay element is connected to the second inputs of the third and fourth And elements, the outputs of which and the second input of the fifth And element are connected to the first group of control inputs-outputs of the block, the outputs of the And elements of the co-dinena group with the group of address outputs of the block, the first input of the sixth element, AND is connected to the output of the OR element and the output of the block, and the second input - with the input of the block. . . . 3. Устройство по п.1, о т л и - чающеес  тем, что блок разрешени  доступа к магистрали содержит два элемента И и два элемента НЕ, причем первые входы первого и второго элементов И соединены соответственно с вторым и первым входами блока, выход первого элемента И соединен непосредственно с вторым выходом блока и через первьш элемент НЕ - с вторым входом второго элемента И, выход которого соединен непосредственна с первым выхо-; дом блока и через второй элемент НЕ - с вторым входом первого элемента И.3. The device according to claim 1, about tl and - the fact that the block access permission to the highway contains two elements And two elements are NOT, the first inputs of the first and second elements And connected respectively with the second and first inputs of the block, the output of the first element I is connected directly to the second output of the block and through the first element NOT to the second input of the second element I, the output of which is connected directly to the first output; the block house and through the second element NOT - with the second input of the first element I. 2525 00 /f URIAHS Ю/ f URIAHS Yu данны)data) Я мине 29I am mine 29 С wuHbi 11 С i nh-b/d с dew(,cppaniopa 35 упрс{8лен(  адреса Ф(4г.5From wuHbi 11 С i nh-b / d with dew (, cppaniopa 35 uprs {8len (addresses F (4y.5 OmSem.OmSem. тt ьs „fEIii o „FEIii o .iГ ) I.iГ) I 4four :: Зап., 1Щет . Rec, 1Dr. ,,,,,, 4. JJ...K шине fid4. JJ ... K bus fid W О-W O- ЗДМMHD S5S5 4242 ЗДЛУZDLU Редактор Е.ПаппEditor E. Papp Составитель В.ВертлибCompiled by V. Vertlib Техред О.Сопко Корректор М.ПожоTehred O. Sopko Proofreader M. Pojo Заказ 3398/50 Тираж 671ПодписноеOrder 3398/50 Circulation 671 Subscription ВНИИПИ Государственного комитета СССРVNIIPI USSR State Committee по делам изобретений и открытий 113035, Москва, Ж-35, Раушска  наб., д. 4/5for inventions and discoveries 113035, Moscow, Zh-35, Raushsk nab., 4/5 Производственно-полиграфическое предпри тие, г.Ужгород, ул.Проектна ,4Production and printing company, Uzhgorod, Projecto st., 4 9696 рдмrdm Фиг, 7FIG. 7
SU843725676A 1984-04-12 1984-04-12 Device for exchanging data SU1239724A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU843725676A SU1239724A2 (en) 1984-04-12 1984-04-12 Device for exchanging data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU843725676A SU1239724A2 (en) 1984-04-12 1984-04-12 Device for exchanging data

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
SU1012235 Addition

Publications (1)

Publication Number Publication Date
SU1239724A2 true SU1239724A2 (en) 1986-06-23

Family

ID=21113210

Family Applications (1)

Application Number Title Priority Date Filing Date
SU843725676A SU1239724A2 (en) 1984-04-12 1984-04-12 Device for exchanging data

Country Status (1)

Country Link
SU (1) SU1239724A2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
.Авторское, свидетельство СССР № 101223Э, кл. q 06 F 3/04, 1981. *

Similar Documents

Publication Publication Date Title
US4412286A (en) Tightly coupled multiple instruction multiple data computer system
US3500466A (en) Communication multiplexing apparatus
US3735365A (en) Data exchange system
US4823305A (en) Serial data direct memory access system
WO1981002798A1 (en) Computer system and interface therefor
SU1239724A2 (en) Device for exchanging data
US3266024A (en) Synchronizing apparatus
US3688273A (en) Digital data communication system providing a recirculating poll of a plurality of remote terminal units
US3719930A (en) One-bit data transmission system
KR850000727B1 (en) Digital data transferring apparatus between mass memory and ram
SU1012235A1 (en) Data exchange device
SU1571594A1 (en) Device for information exchange in multiprocessoring computing system
RU2020571C1 (en) Computer system communication unit
SU1211743A2 (en) Interface for linking digital computer with peripherals
SU1259276A1 (en) Channel-to-channel adapter
SU1001070A1 (en) System for exchange of data between information processors
EP0075625A1 (en) Conversation bus for a data processing system
SU1187174A1 (en) Multilevel device for switching processors in multiprocessor computer system
SU1305698A1 (en) Interface for linking electronic computer using equipment
SU1372330A1 (en) Device for connecting microprocessor with external devices
SU1001074A1 (en) Interface
SU1267397A1 (en) Information input-output device
RU2055392C1 (en) Device for serial-parallel interface
US3432815A (en) Switching logic for a two-dimensional memory
SU741259A1 (en) Interface