SU1408440A1 - Interface of computer with peripherals trunk line - Google Patents

Interface of computer with peripherals trunk line Download PDF

Info

Publication number
SU1408440A1
SU1408440A1 SU853873789A SU3873789A SU1408440A1 SU 1408440 A1 SU1408440 A1 SU 1408440A1 SU 853873789 A SU853873789 A SU 853873789A SU 3873789 A SU3873789 A SU 3873789A SU 1408440 A1 SU1408440 A1 SU 1408440A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
register
signal
interrupt
Prior art date
Application number
SU853873789A
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 SU853873789A priority Critical patent/SU1408440A1/en
Application granted granted Critical
Publication of SU1408440A1 publication Critical patent/SU1408440A1/en

Links

Landscapes

  • Multi Processors (AREA)

Description

нен с информационными шинами магистрали ЭВМ, первый, второй и третий входы и выход - соответственно с выходом первого блока дешифрации адреса, выходом сигнала захвата блока захвата магистрали, с выходом и входом эап роса прерьшани  блока прерываний, а четвертый вход - с шинами запроса прерьшани  магистрали внешних устройств .not with computer trunk information buses, first, second and third inputs and output, respectively, with the output of the first address decryption block, the output of the capture signal of the highway capture block, with the output and input of the interrupt block interrupt, and the fourth input with the trunk stop request buses external devices.

2. Устройство по п.1, отличающеес  тем, что блок обработки запросов пассивных устройств содержит узел приоритета, синхронизирующим входом подключенный к выходу генератора тактовых импульсов, два элемента И, входной и выходной коммутаторы и элемент НЕ, причем выход первого .элемента И соединен с управл ющим входом входного коммутатора и через элемент НЕ с входом разрешени  записи кода текзпцего приоритета узла2. The device according to claim 1, characterized in that the request processing unit of the passive devices contains a priority node, a clock input connected to the output of the clock generator, two elements AND, input and output switches and element NOT, the output of the first element AND connected to the control input of the input switch and through the element NOT with the input of the permission to write the code of the current priority of the node

0844008440

приоритета, вход кода текущего приоритета которого подключен к выходу входного коммутатора, управл ющий вход выходного коммутатора соединен с выходом второго элемента И, информационные входы выходного коммутатора соединены с выходом вектора приоритета узла приоритета и третьим входом блока обработки запросов пассивных устройств, первый и второй входы второго элемента И подключены к третьему входу блока обработки запросов пассивных устройств, выход выходного коммутатора соединен с информационным входом входного коммутатора и входом- выходом блока обработки запросов пассивных устройств, вход и группа входов первого элемента И, группа входов запроса и выход сигнала запроса прерывани  узла приоритета  вл ютс  соответственно вторым, первым и четвертым входами и выходом блока обработки запросов пассивных устройств.priority, the input of the current priority code of which is connected to the output of the input switch, the control input of the output switch is connected to the output of the second And element, the information inputs of the output switch are connected to the output of the priority node priority vector and the third input of the passive devices request processing block, the first and second inputs of the second element And connected to the third input of the request processing unit of passive devices, the output of the output switch is connected to the information input of the input switch and in The one output of the passive device request processing unit, the input and input group of the first element AND, the group of request inputs and the output of the priority node interrupt request signal are the second, first and fourth inputs and output of the passive device request processing unit, respectively.

1one

Изобретение относитс  к вычисли- ; тельной технике и может быть использовано дл  сопр жени  вычислительных систем, имеющий интерфейс типа обща  шина (ОШ), с вычислительными системами, имеющими интерфейс типа магистраль и включенньми по иерархической структуре.The invention relates to computing; technology and can be used to interface computing systems that have an interface like a common bus (OSH) with computing systems that have an interface like a trunk and are included in a hierarchical structure.

Цель изобретени  - сокращение времени установлени  соединени  между ЭВМ и внешним утсройством.,The purpose of the invention is to reduce the time for establishing a connection between a computer and an external device.

На фиг.1 представлена блок-схема устройства ; на фиг.2-6 - функциональные схемы блока управлени , блока ; прерываний, блока захвата магистрали , буферного регистра данных и блока обработки запросов пассивных устройств, соответственно.Figure 1 presents the block diagram of the device; Figures 2-6 are functional diagrams of a control unit, a unit; interrupts, line capture block, buffer data register, and passive device request processing block, respectively.

Устройство (фиг.1) содержит первый блок 1 дешифрации адреса, блок 2 прерываний, регистр 3 прерьгоаний буферный регистр 4 .даиньгх, регистр 5 адреса, регистр 6 команд, блок 7 обработки запрос ов пассивных устройст блок 8 управлени  второй блок 9 дешифрации адреса, блок 10 захвата маThe device (Fig. 1) contains the first address decoding unit 1, the interrupt block 2, the preregional register 3, the buffer register 4, the address register 5, the command register 6, the processing unit 7, the request for the passive device, the control unit 8, the second address decoding unit 9, block 10 capture ma

5 five

- -

5five

00

гистрали, первый информационный вход- выход 11, адресный вход 12, первый управл ющий вход-выход 13, второй информационный вход-выход 14, адресный вход-выход 15, вход 16 запроса прерываний, второй управл ющий вход- выход 17, выход 18 запроса доступа к магистрали, вход 19 разрушени  доступа к магистрали устройства и шины 20-23 внутренних св зей устройства.gistral, first information input-output 11, address input 12, first control input-output 13, second information input-output 14, address input-output 15, interrupt request input 16, second control input-output 17, request output 18 access to the trunk, input 19 destroys access to the trunk of the device and bus 20-23 of the internal communications of the device.

Входы-выходы 11 и 13 и вход 12 подключены к информационным, управ- л кнцим и адресным шинам магистрали ЭВМ, входы-выходы 14, 15и 17, входы 16 и 19 и выход 18 - к соответствующим шинам магистрали внешних устройств .Inputs-outputs 11 and 13 and input 12 are connected to information, control, and address bus lines of the computer main, inputs-outputs 14, 15, and 17, inputs 16 and 19, and output 18 to the corresponding bus lines of external devices.

Блок 9 управлени  (фиг.2) содержит генератор 24 тактовых импульсов, сдвигающие регистры 25 и 26, .второй, четвертый, третий и первый триггеры 27-30, второй, третий, четвертый и первый элементы И-НЕ 31-34, эле- .мент И 35, формирователь 36 импульсов и дешифратор 37.The control block 9 (FIG. 2) contains a clock pulse generator 24, shifting the registers 25 and 26, the second, fourth, third and first triggers 27-30, the second, third, fourth and first elements AND-31-34, ele- .ment I 35, shaper 36 pulses and decoder 37.

Блок 2 прерываний (фиг.З) содержит первый третий и второй триггеры 38-40, элементы НПИ 41 и 42, вто- рой, первый и третий элементы И 43- 45, элементы И-НЕ 46 и 47, элемент НЕ 48.Interrupt unit 2 (FIG. 3) contains the first third and second triggers 38-40, NPI elements 41 and 42, the second, first and third elements AND 43-45, AND-NOT elements 46 and 47, HE element 48.

Блок 10 захвата магистрали (фиг.4) содержит триггер 49, элементы И 50 и 51 и коммутаторы 52 и 53, Block 10 capture line (figure 4) contains the trigger 49, the elements And 50 and 51 and the switches 52 and 53,

Буферный регистр 4 данных (фиг.5) содержит элементы И 54 и 55. пеовый 56 и второй 57 коммутаторы, состо щие из групп трехстабнльных элементов И.. Buffer register 4 data (figure 5) contains the elements And 54 and 55. pue 56 and second 57 switches, consisting of groups of three-stable elements And ..

Блок 7 обработки запросов пассивных устройств (фиг,6) содержит выходной коммутатор 58, узел 59 приори- ,тета, второй элемент И 60, входной коммутатор 61, первый элемент И 62, элемент НЕ 63 и генератор 64 тактовых импульсов,The request processing block 7 of the passive devices (FIG. 6) contains the output switch 58, the priori, theta node 59, the second element 60, the input switch 61, the first element 62, the element 63 and the generator 64 clock pulses

Устройство работает следующим обОбмен данными между, процессором ОШ и интерфейсом Магистраль осуществл етс  путем восстановлени  л гической св зи процессора ОШ с интThe device operates as follows: The data exchange between the OSH processor and the interface of the trunk is performed by restoring the logical connection of the OSH processor to the

разом.at once.

Процессор ОТ выставл ет на вход 1225 фейсом Магистраль через буферный адрес А18-АО, в котором разр ды А18- регистр 4. A3 определ ют базовые устройства, А2 - обращени  к внутренним регистрам устройства или обмен данными, А1, АО - код внутреннего регистраj на вход-выход 11 выставл ет данные приThe processor OT exposes a line to the input 1225 via a buffer address A18-AO, in which bits A18 are register 4. A3 define basic devices, A2 - calls to internal registers of the device or data exchange, A1, AO - internal register codej input / output 11 sets the data when

Дп  управлени  работой устройст по обмену данными процессор ОИ засы лает в регистр 5 адреса устройства 30 интерфейса Магистраль, к котором производитс  обращение, а в регист 6 - команду управлени , определ ющую , с каким устройством производи обмен - (устройством ввода-вьшода или запоминающим устройством (ЗУ) выводе информахдаи, а на вход-выход 13 - сигнал Yi, определ ющий при логической единице Ввод, а при нуле Вывод, сопровожда  указанные сиг- налы сигналом СХЗ (синхронизаци  за- датчика) по входу-выходу 13,In the data management unit of the data exchange processor, the IO processor sends into the register 5 the addresses of the interface device 30, which is being accessed, and in register 6, the control command that determines which device is exchanged (the input-output device or the storage device). (Memory) information output, and the input-output 13 - the signal Yi, defining with a logical unit Input, and with zero Output, accompanying the indicated signals with the signal СХЗ (sensor synchronization) at the input-output 13,

Блок 1 по сигналам А18-АЗ формирует сигнал Выборки 1, определ ющий обращение к устройству. Кроме то- Q фейсу Магистраль выполн етс  следуго , блок 1 по совокупности сигналов СХЗ, Y1, А2, А1 и АО вырабатывает сигнал управлени  регистрами 4-6 и блоком 7, обеспечива  запись или чтение информации с входа-выхода 11 в указанные устройства, а также обмен данными между входами-выходами 11 и 14. В случае обращени  процессора ОШ к регистрам 4-6 и блоку 7 вы- полнение операции ввода-вывода определ етс  временем их срабатывани  и поэтому выработка сигнала СХИ (синхронизаци  исполнител ),  вл ющегос  известительным сигналом о том, что устройство произвело действие по операции ввода-вывода, осуществл етс  в блоке 8 по сигналу СХЗ с задержкой на врем , определ емое срабатыванием регистров.Block 1, using the signals of А18-АЗ, forms the signal of Sample 1, which determines the access to the device. In addition, the Q-queue Trunk is executed next, block 1, by a combination of signals from CX3, Y1, A2, A1 and AO, generates a control signal for registers 4-6 and block 7, providing writing or reading information from input-output 11 to the specified devices, and also the data exchange between the inputs-outputs 11 and 14. In case of the OSH processor registers 4-6 and block 7, the execution of the I / O operation is determined by the time of their operation and therefore the generation of the SHI signal (synchronization of the performer), which is a communication signal that the device is manufactured lo action input-output operations, is performed in block 8 to SKHZ signal with a delay time defined by a tripping registers.

юща  последовательность действий: захват магистрали, т.е, посылка на выход 18 сигнала запроса доступа к магистрали (ЗМД) и получение по ду 19 сигнала разрешени  доступа к магистрали (РДМ), выдача на вход-выход 15 адреса устройства, вьщача на вход-выход 17 соответствующего сигнала управлени  (запись, чтение,sequence of actions: seizing the highway, i.e., sending the access request signal to the highway 18 (MMD) and receiving, according to a du 19, the signal of accessing the highway (RDM), outputting the device address to the input-output 15, transferring to the input- the output 17 of the corresponding control signal (write, read,

cQ выдача, прием) и ожидани  выполнени  обмена с адресуемым устройством, т,е. получение по входу-выходу 17 , сигнала Ответ.cQ issue, receive) and wait for the exchange with the addressable device, i.e. receiving on the input-output 17, the signal Answer.

Дл  осуществлени  обмена процессор ОИ выставл ет на вход 12 адрес устройства с признаком обмена по интерфейсу Магистраль, сопровожда  его по входу-выходу 13 сигналом СХЗ, и выставл ет на вход-выход 13 сигналTo exchange the processor, the OI exposes to the input 12 the address of the device with the indication of the exchange via the interface Highway, accompanying it on the input-output 13 with the signal of the APS, and exposes to the input-output 13 the signal

5555

Работа блока 8 происходит следующим образом (фиг.2). Сигналы СХЗ с входа-выхода 13 и Выборка 1 с блока 1 по шине 21 поступают на входы элемента И35, выходным сигналом которого триггер 30 устанавливаетс  в состо ние, соответствующее значению сигнала У1, а триггер 27 - в единичное . На выходе элемента И-НЕ 32 по вл етс  логический нуль, так как на его входы поступают единичные сигналы с триггера 27 и сигнал А2 по шине 21. Логический нуль с выхода элемента И-НЕ 32 поступает на элемен И-НЕ 33, которьй формирует на своем выходе логическую единицу. ЯВЛЯЮЩУЮСЯ сигналом СХИ. На этом цикл обращени  процессора ОШ к устройству завершаетс .The operation of block 8 is as follows (figure 2). The CXP signals from I / O 13 and Sample 1 from block 1 through bus 21 are fed to the inputs of element I35, the output of which trigger 30 is set to the state corresponding to the value of signal U1, and trigger 27 to one. A logical zero appears at the output of the NAND 32 element, since its inputs receive single signals from the trigger 27 and the A2 signal via the bus 21. The logical zero from the output of the NAND 32 element goes to the AND-NE element 33, which forms at its output logical unit. A signal of SCI. At this point, the cycle of accessing the OSH processor to the device is completed.

Обмен данными между, процессором ОШ и интерфейсом Магистраль осуществл етс  путем восстановлени  логической св зи процессора ОШ с интерфейсом Магистраль через буферный регистр 4. Data exchange between the OSH processor and the interface of the trunk is accomplished by restoring the logical connection of the processor of the OR to the interface of the trunk through the buffer register 4.

Дп  управлени  работой устройства по обмену данными процессор ОИ засылает в регистр 5 адреса устройства интерфейса Магистраль, к которому производитс  обращение, а в регистр 6 - команду управлени , определ ющую , с каким устройством производитс  обмен - (устройством ввода-вьшода или запоминающим устройством (ЗУ) Dp of data exchange device operation control, the processor OI sends to the register 5 the addresses of the interface device, the trunk to which the call is made, and to register 6 a control command that determines which device is exchanged - the input device or the storage device (memory )

и режим захвата интерфейса Магистраль (на посто нно(запрос) или на врем  передачи одного слова и др), Дл  выполнени  обмена по интерфейсу Магистраль выполн етс  следующа  последовательность действий: захват магистрали, т.е, посылка на выход 18 сигнала запроса доступа к магистрали (ЗМД) и получение по входу 19 сигнала разрешени  доступа к магистрали (РДМ), выдача на вход-выход 15 адреса устройства, вьщача на вход-выход 17 соответствующего сигнала управлени  (запись, чтение,and interface capture mode Trunk (permanently (request) or the time it takes to transfer a single word, etc.). To perform an exchange on the Trunk interface, the following sequence of actions is performed: trunk capture, i.e., sending the access request signal to output 18 (MMD) and receiving on input 19 of the signal of access to the trunk (RDM), outputting the device address to input-output 15, and transmitting to the input-output 17 of the corresponding control signal (write, read,

выдача, прием) и ожидани  выполнени  обмена с адресуемым устройством, т,е. получение по входу-выходу 17 , сигнала Ответ.issuing, receiving) and waiting for the exchange with the addressed device, i.e. receiving on the input-output 17, the signal Answer.

Дл  осуществлени  обмена процессор ОИ выставл ет на вход 12 адрес устройства с признаком обмена по интерфейсу Магистраль, сопровожда  его по входу-выходу 13 сигналом СХЗ, и выставл ет на вход-выход 13 сигналTo exchange the processor, the OI exposes to the input 12 the address of the device with the indication of the exchange via the interface Highway, accompanying it on the input-output 13 with the signal of the APS, and exposes to the input-output 13 the signal

Yl. В случае вывода с интерфейса ОШ данные выдаютс  на вход-выход 11. При поступлении сигнала СХЗ блок 1 вырабатывает сигнал Обмен и сигнал В1, определ ющий направление обмена, iкачение которого при выводе данных равно логической единице, а при вводе - логическому нулю. Сипгал Обмен по шине 21 поступает на блок 10 и ус- танавливает триггер 49 в нулевое состо ние . Логический нуль с выхода триггера А9 поступает на элемент И 50 и с его выхода через коммутатор 52 поступает на выход 18 как сигнал ЭДМ Сигнал РДК, представленный логической единицей на входе 19, через коммутатор 53 поступает на пр мой вход элемента И 51, на инверсный вход которого приходит нзшевой сигнал с вы- хода элемента И 50. В результате на выходе элемента И 51 находитс  логическа  единица,  вл юща с  извести- тельным сигналом Захват магистралиYl. In the case of an output from the interface, the OR data is output to input-output 11. When the CXS signal arrives, unit 1 generates an exchange signal and a B1 signal that determines the direction of the exchange, the download of which, when outputting data, is equal to logical one, and when entering, logical zero. Sipgal Exchange via bus 21 enters block 10 and sets trigger 49 to the zero state. The logical zero from the output of the trigger A9 goes to the element I 50 and from its output through the switch 52 enters the output 18 as an EDM signal. The signal of the RDK, represented by a logical unit at input 19, through the switch 53 enters the direct input of the element 51, to the inverse input which receives a pin signal from the output of the element And 50. As a result, at the output of the element And 51 there is a logical unit, which is a sensing signal

Сигнал Захват через выход бло- ка 10 по шине 22 поступает на входы буферного регистра А, регистра 5 и .блоков 7 и 8. По этому сигналу регистр 5 выдает адрес на .1ход-выход 15, буферный регистр А пропускает: данные с входа-выхода 11 на вход-выход 1А при наличии на его входе сигнала В1, равного логической единице, и наоборот - при наличии на этом входе сигнала В1, равного логнческо- му нулю, обеспечивает передачу данных с входа-выхода 1А на вход-выход 11. Открьгоание соответствующих коммутаторов 56 и 57 обеспечивают элементы И 5А (передача от входа 11 к входу-выходу 1А) и И 55 (передача от входа-выхода 1А к входу-выходу 11)The Capture signal through the output of block 10 via bus 22 enters the inputs of buffer register A, register 5 and. Blocks 7 and 8. On this signal, register 5 gives the address to .1 output-output 15, buffer register A passes: data from the input- output 11 to input-output 1A, if there is a B1 signal at its input equal to a logical one, and vice versa — if there is a signal at this input B1 equal to logical zero, it provides data transfer from input-output 1A to input-output 11. The opening of the corresponding switches 56 and 57 provide elements AND 5A (transmission from input 11 to input-you ode 1A) and AND 55 (transmission from the input-output 1A of the input-output 11)

В блоке 8 сигнал Захват через информационный вход регистра 25 генератором 24 продвигаетс  к его вы- ходам ; затем с первого из них поступает на информационный вход сдвигающего регистра 26, а с второго - на синхронизирующий вход триггера 29,In block 8, the Capture signal through the information input of register 25 is advanced to its outputs by generator 24; then from the first one goes to the information input of the shift register 26, and from the second to the synchronization input of the trigger 29,

перевод  его в нулевое состо ние. Сигнал с выхода триггера 29 поступает на первый вход дешифратора 37. В это врем  на остальных его входах присутствуют сигналы ЗУ/УВВ, Выборка 1 и YI. Дешифратор 37 по комбинации входных сигналов вырабатывает сигналы Запись либо Чтение , если обмен происходит с ЗУ, ил сигналы Прием либо Выдача, еслиits transfer to the zero state. The signal from the output of the trigger 29 is fed to the first input of the decoder 37. At this time, the remaining inputs of the trigger / charger signals, Sample 1 and YI are present. The decoder 37 for the combination of input signals generates signals Record or Read, if the exchange occurs with the memory, or signals Receive or Issue, if

0 г О 0 g Oh

5 five

00

5five

обмен происходит с устройством ввода-вывода , н выдает пх на вход-выход 17. Устройство, с которым осуществл етс  обмен, выполнив onepauiflo обмена, вьфабатывает управл ющий сигнал Ответ, представленный логическим нулем, который с входа-выхода 17 поступает на информационный вход сдвигающего регистра 26 и под действием импульсов с генератора 2А по вл етс  на первом, втором и третьем его выходах с запаздьгоанием на один, два и три такта соответственно. Сигнал с первого выхода регистра 26 устанавливает триггер 29 в единичное состо ние, а триггер 28 - в нулевое. При этом логическа  единица с выхода триггера 29 блокирует работу дешифратора 37, а логический нуль с выхода триггера 28 устанавливает на выходе элемента И-НЕ 33 логическую единицу , котора  через вход-выход 13 поступает к процессору ОШ как сигнал СХИ, который свидетельствует о том, что обмен с адресуемым устройством завершен. По этому сигналу процессор ОШ снимает данные с входа-выхода 11, адрес - с входа-выхода 12 и управл ющие сигналы с входа-выхода 13. Сн тие сигнала СХЗ приводит к тому, что триггер 27 устанавливаетс  в нулевое состо ние, триггер 28 - в единичное . При этом на выходе элемента И-НЕ 33 по вл етс  логический нуль, что соответствует сн тию управл ющего сигнала СХИ,the exchange takes place with an I / O device, and gives off nx to input / output 17. The device with which the exchange is carried out by executing onepauiflo exchange triggers the control signal. The response, represented by a logic zero, which from input / output 17 goes to the information input of the shifting The register 26 and under the action of pulses from the generator 2A appears on its first, second and third outputs with a delay of one, two and three cycles, respectively. The signal from the first output of register 26 sets trigger 29 to one state, and trigger 28 to zero. In this case, the logical unit from the output of the trigger 29 blocks the operation of the decoder 37, and the logical zero from the output of the trigger 28 sets the logical unit at the output of the AND-NE element 33, which through the input-output 13 goes to the OSH processor as an SHI signal, which indicates that the exchange with the addressed device is complete. On this signal, the OR processor removes data from I / O 11, the address from I / O 12, and control signals from I / O 13. Deleting the CX3 signal causes the trigger 27 to go to zero, trigger 28 - in the unit. In this case, a logical zero appears at the output of the NAND 33, which corresponds to the removal of the control signal SHI,

Сигнал логической единицы с второго выхода регистра 26 поступает на первый вход элемента И-НЕ 31, на втор ой вход которого с регистра 6 по щине 20 поступает сигнал Инкремент, который при обмене массивами информации представлен логической единицей , а при обмене словами - логичес-. КИМ нулем. При наличии сигнала Ин- кремент логи ческой единицей на выходе элемента И-НЕ 31 формируетс  сигнал Инкремент адреса, который с выхода блока 8 по шине 23 поступает на вход регистра 5 адреса и увеличивает его содержимое на единицу.The signal of the logical unit from the second output of the register 26 is fed to the first input of the AND-31 element, to the second input of which from register 6, via a bar 20, a signal is received. KIM zero. When an Incurrent signal is present by a logical unit, an address increment signal is generated at the output of the NE-31 element. The address increment signal is generated from the output of block 8 via bus 23 to the input of register 5 of the address and increases its content by one.

Сигнал с третьего выхода регистра 26 поступает на блок 10 и  вл етс  исполнительной командой Сброс захвата магистрали. По этому сигналу триггер А9 устанавливаетс  в единичное состо ние, а на выходе элемента И 50 по вл етс  логическа  единица , в результате чего на выходеThe signal from the third output of register 26 goes to block 10 and is the executive command Reset line capture. On this signal, trigger A9 is set to one, and a logical one appears at the output of AND 50, resulting in

элемента И 51 по вл етс  логический нуль, по которому снимаютс  сигналы Захват и ЗДМ. После этого буферный регистр А и регистр 5 отключаютс  от интерфейса Магистраль и сигнал РДМ снимаетс . На этом процедура обмена словами завершаетс .Element And 51 appears logical zero, which captures the signals Capture and ZDM. After that, the buffer register A and register 5 are disconnected from the interface of the trunk and the RDM signal is removed. This completes the word exchange procedure.

В случае обмена массивами из регистра 6 по шине 20 на вход блока 10 может быть передана логическим нулем команда Запрос посто нный, котора  через элементы И 50 и коммутатор 52 обеспечивает посто нный зах ват интерфейса Магистраль. На шине 22 с выхюда блока 10 в этом случае посто нно присутствует сигнал Захват и поэтому пуск блока 8 на обмен с интерфейсом Магистраль производитс  сигналом Обмен, который через элемент И-НЕ ЗА при наличии сигнала Захват устанавливает триггер 29 в нулевое положение по установочному входу.In the case of the exchange of arrays from register 6 via bus 20 to the input of block 10, a request constant command can be transmitted by logical zero, which through the elements 50 and switch 52 provides a permanent capture of the interface trunk. In this case, the capture signal is permanently present on the bus 22 from the output of block 10, and therefore block 8 is started to exchange with the interface. The trunk is produced by the exchange signal, which through the AND-NO FOR element in the presence of a signal the capture sets trigger 29 to the zero position on the installation input.

При запросе св зи со стороны нижнего  руса или локальной подсистемы запрос осуществл етс  активным элементом. В этом случае активный элемент производит обращени  по входу-выходу 15 устройства. Сигнал адреса с входа-выхода 15 поступает на вход блока 9, где он декодируетс  и при напивши на другом его входеWhen requesting communication from the bottom of the rus or the local subsystem, the request is made by the active element. In this case, the active element performs calls on the input-output 15 of the device. The address signal from input-output 15 is fed to the input of block 9, where it is decoded and when it is inputted at its other input

управл ющего сигнала Выдачу, посту-. лом Вектор прерывани  I блок 2control signal Issue, post. scrap Vector interrupt I block 2

4040

;пающего с входа-выхода Т7, блок 9 формирует вектор прерьгоани  и сигнал Выборка II. Вектор прерывани  с выхода блока 9 поступает на вход регистра 3 и фиксируетс  в нем. ,Сигнал Выборка II с выхода блока 9 поступает на вход блока 2 прерываний и с него на единичньвй установочный триггер 38. На выходе триггера 38 по вл етс  логическа  единица,  вл юща с  д сигналом Запрос прерывани , который через элементы ИЛИ 41 и И 43 при нуле на инверсном входе последнего поступает на вход-выход 13, В ответ на это процессор ОШ выдает на вход-выход 13 сигнал Разрешение прерывани  - логическую единицу, котора  поступает на инверсный вход элемента И 45, после чего логическа  единица на его выходе смен етс  нулем, что соответствует сн тию сигнала Запрос прерывани . Одновременно с этим сигнал Разрешени  прерывани  поступает на синхронизирующий вход триггера 39, а; the flayer from input-output T7, block 9 forms the vector of pre-argoan and the signal of Sample II. The interrupt vector from the output of block 9 is fed to the input of register 3 and is fixed in it. The Sample II signal from the output of block 9 is fed to the input of block 2 interrupts and from it to the unit installation trigger 38. At the output of trigger 38 there is a logical unit, which is the g interrupt request signal, which through the elements OR 41 and AND 43 zero on the inverse of the last input goes to input-output 13, In response, the OSH processor issues an input-output 13 signal Interrupt enable — a logical unit that arrives at the inverse input of the And 45 element, after which the logical unit at its output changes to zero that fits Signal request interrupt. At the same time, the Enable Interrupt signal is supplied to the trigger input of the trigger 39, and

посредством элемента НЕ 48 формир сигнал Зан то, который поступае с  на вход-выход 13 и свидетельст вует о том, что устройство зан ло терфейс ОШ.by means of the element NOT 48, a signal is received which is received from input-output 13 and indicates that the device has occupied the OSH interface.

В программе обработки прерыван процессор ОШ записывает в регистр команду Сброс прерывани , llo эт команде с выхода регистра 6 сигна Сброс по шине 20 поступает на синхронизирующий вход триггера 38 нулевой установочный вход триггер 40, устанавлива  блок 2 в исходно положение.In the processing program, the OS processor is interrupted. The Interrupt Reset command is written to the register, llo is issued to the command from the register 6 output. The reset via bus 20 is sent to the synchronization input of the trigger 38, zero setup input, trigger 40, set block 2 to its original position.

В интерфейсе Магистраль дл  ществлени  запросов св зи (ЗПР) етс  радиальна  магистраль..В сл запроса св зи на обмен от пассив элементов с координатором соотве вукнца  радиаль вызывает прерыван процессора ОШ. При этом активный мент интерфейса Магистраль на д ный запрос не реагирует.In the interface of the trunk for realizing communication requests (RAD), there is a radial trunk. In the case of a communication request for an exchange from the passive elements with the coordinator of the corresponding radial, the radial causes the processor to interrupt. At the same time, the active interface cop of the trunk does not respond to this request.

10ten

|5 084/408| 5 084/408

поскольку на его информационном входе уже присутствует логическа  единица с выхода элемента И-НЕ 47, то он переводитс  в единичное состо ние и сигнал с его выхода поступает на информационный вход триггера 40 и на вход элемента И 45.since its information input already contains a logical unit from the output of the NE-47 element, it is transferred to the one state and the signal from its output goes to the information input of the trigger 40 and to the input of the And 45 element.

В момент, когда управл ющие сигналы СХИ и Зан то на входах элемента ИЛИ 42 соответствуют логическим нул м , логическа  единица с выхода элемента И-НЕ 46 поступает на синхронизирующий вход триггера 40 и переводит его в единичное состо ние. Единица с выхода триггера 40  вл юща с  сигналом ПВВ (подтверждени  выборки), через вход-выход блока 2 поступает на вход-выход 13 и на вход элемента И 45, на другом входе которого уже присутствует единица с выхода триггера 39. На выходе элемента И 45 по вл етс  логическа  единица,  вл юща с  сигналом Вектор прерывани  I, в это врем  сигнал Вектор прерыва20At the moment when the control signals of the SHI and Zahn at the inputs of the element OR 42 correspond to logical zeroes, the logical unit from the output of the element IS-NOT 46 arrives at the synchronizing input of the trigger 40 and translates it into a single state. The unit from the trigger output 40 is the UIP signal (sample confirmation), through the input-output of block 2, to input-output 13 and to the input of element I 45, at the other input of which there is already a unit from the output of trigger 39. At the output of element And 45 a logical unit appears, which is the signal of Interrupt Vector I, at which time the Interrupt Vector signal 20

2525

ни  II, формируемый элементом И 44, равен логическому нулю. Эти сигналы с выхода блока 2 прерываний поступают на регистр 3 прерываний и разрешают вьтод его содержимого на вход- выход 11, вызыва  прерывающую программу .Nor II, formed by the element And 44, is equal to logical zero. These signals from the output of block 2 interrupts are sent to the register 3 interrupts and allow the output of its contents to input-output 11, causing the interrupting program.

Одновременно с управл ющим сигна0Simultaneously with the control signal 0

посредством элемента НЕ 48 формирует сигнал Зан то, который поступаетс  на вход-выход 13 и свидетельст- вует о том, что устройство зан ло ин- терфейс ОШ.by means of the element NOT 48, it forms the signal Zan, which is fed to the input-output 13 and indicates that the device occupied the OR interface.

В программе обработки прерываний процессор ОШ записывает в регистр 6. команду Сброс прерывани , llo этой команде с выхода регистра 6 сигнал Сброс по шине 20 поступает на синхронизирующий вход триггера 38 t, нулевой установочный вход триггера 40, устанавлива  блок 2 в исходное положение.In the interrupt handling program, the OSH processor writes to the register 6. a command to reset the interrupt, llo to this command from the output of register 6, a signal is reset via bus 20 to the trigger input 38 t, zero set input of trigger 40, set block 2 to the initial position.

В интерфейсе Магистраль дл  осуществлени  запросов св зи (ЗПР) имеетс  радиальна  магистраль..В случае запроса св зи на обмен от пассивных элементов с координатором соответст- . вукнца  радиаль вызывает прерывание процессора ОШ. При этом активный элемент интерфейса Магистраль на данный запрос не реагирует.There is a radial trunk in the interface of the trunk for carrying out communication requests (PDR). In the case of a communication request for exchange from passive elements with the coordinator of the corresponding. vukntsa radial causes an interrupt processor OSH. In this case, the active interface element Trunk does not respond to this request.

Сигнал ЗПР от некоторого прерывани  с входа 16 поступает на вход блока 7 и далее на входы запроса на преСигнал Вектор прерывани  II совместно с сигналом Вектор прерывани  I открывают коммутатор 58, приThe DPR signal from an interrupt from input 16 is fed to the input of block 7 and then to the inputs of the preSignal Interrupt Vector II, together with the Interrupt I vector, switch 58 is opened,

рывание узла 59, который обеспечива-5 этом на вход-выход 11 передаетс  век- ет арбитраж поступивших одноёременно прерываний. Формирование вектора прерывани  в зависимости от уровн , формирование сигнала Запрос прерьгоани the snatching of the node 59, which by providing 5 with this, to the input-output 11 is transmitted the arbitration vec- tion of the simultaneously received interrupts. Interrupt vector shaping depending on level, signal shaping

тор прерывани , в котором содержитс  информаци  об уровне, по которому прин то прерывание (код прерывани  с узла 59) и о том, что прерываниеinterrupt torus, which contains information about the level at which the interrupt is received (interrupt code from node 59) and that the interrupt is

при условии, что уровень хот  бы од- 10от пассивного устройства (добавленного сигнала ЗПР вьше текущего прио-ный старшим разр дом сигнал Вектор ритета, записьшаемого в узел 59 отпрерывани  II). Запись текущего при- процессора ОШ. Сигнал Запрос преры-оритета в узел 59 осуществл етс  вани  с выхода блока 7 поступает напроцессором ОШ с входа-выхода 11 третий вход блока 2, где через эле- 15через коммутатор 61, которые откры- мент ИЛИ 41 запускает формирование иваютс  при совпадении сигналов на отработку прерьгаани  аналогично пре-входе элемента И 62. Инвертирован- рыванию от активного устройства, а наный сигнал с выхода элемента И 62 от- выходе элемента И 44 формирует сиг-крывает цепи записи узла 59. Генера- нал Вектор прерывани  II, если пре-20тор 64 тактовых импульсов обеспечн- рывание от активного устройства отра-вает функционирование узла 59 в режи- ботано и триггер 38 находитс  в ну-ме непрерывного анализа запросов на левом состо нии,прерывание.provided that the level of at least one of the passive device (the added signal of the DPR is higher than the current highest-priority signal received by the senior vector of the rhythm recorded in node 59 of processing II). Record current OSH processor. Signal Pre-priority request to node 59 is carried out by the output of block 7, via an OSH processor from input-output 11, the third input of block 2, where through 15 switch 61, which OR 41 opens the formation of a signal in the same way as in the pre-input of the element AND 62. Inverting from the active device, and the nanny signal from the output of the element AND 62 from the output of the element AND 44 forms a signal for the recording circuit of node 59. General Interrupt Vector II, if the pre-20tor 64 clock pulses secured e reflected from the active device Vaeth-functioning node 59 to bot regimes and trigger 38 is in a well-me continuous analysis queries the left state, the interrupt.

Сигнал Вектор прерывани  II совместно с сигналом Вектор прерывани  I открывают коммутатор 58, приThe interrupt vector signal II, together with the interrupt vector signal I, opens the switch 58, with

этом на вход-выход 11 передаетс  век- this to the input-output 11 is transmitted

этом на вход-выход 11 передаетс  век- this to the input-output 11 is transmitted

тор прерывани , в котором содержитс  информаци  об уровне, по которому прин то прерывание (код прерывани  с узла 59) и о том, что прерываниеinterrupt torus, which contains information about the level at which the interrupt is received (interrupt code from node 59) and that the interrupt is

от пассивного устройства (добавленный старшим разр дом сигнал Вектор прерывани  II). Запись текущего при- оритета в узел 59 осуществл етс  процессором ОШ с входа-выхода 11 через коммутатор 61, которые откры- ваютс  при совпадении сигналов на входе элемента И 62. Инвертирован- ный сигнал с выхода элемента И 62 от- крывает цепи записи узла 59. Генера- тор 64 тактовых импульсов обеспечн- вает функционирование узла 59 в режи- ме непрерывного анализа запросов на прерывание.from a passive device (the high-order added signal is Interrupt Vector II). The current priority in node 59 is recorded by the processor OR from input-output 11 via switch 61, which open when the signals at the input of the element 62 coincide. The inverted signal from the output of the element 62 opens the recording circuit of the node 59 64 clock pulse generator ensures the operation of node 59 in the continuous analysis mode of interrupt requests.

J/7J / 7

BbfSopffa ff Bbfsopffa ff

СбросReset

JT-Jt-

3838

PaspeufffHtffPaspeufffHtff

npepbiSoHuitnpepbiSoHuit

ЗапросRequest

прерывегми interrupted

1b1b

KfKf

CXttCXtt

,JflVWWWJflVWWW

4242

LSLS

/AND

Bffffrjop nffepMfatfualBffffrjop nffepMfatfual

ffcmffp /уерыбв л-гаг ffffcmffp / uperl lv gf ff

4/four/

33

JSJs

P СP С

00

4747

i JTlfini JTlfin

ФМ9.FM9.

t::t ::

« $“$

Ha uttMuHa uttMu

2Z J2z j

f UfUffy f UfUffy

uc/rruHffocmu mpexcmerSu/titHoeff з ементег uc / rruHffocmu mpexcmerSu / titHoeff

Tflffxcmer u bHbM 3 effenmTflffxcmer u bHbM 3 effenm

SMSM

Уп/уа6иPack / a6

BbfwBbfw

Фие. ffPhie. ff

гП hp

((

++

АBUT

1one

i- Сi- С

Ato шину 22 На шину 21 Ato bus 22 bus 21

AWPfiAWPfi

; f/Q вход опроса ; f / Q polling input

прерывани  ЪПР1interrupts

/|(/ | (

. "

rrtr:rrtr:

«"

1one

5555

6tt6tt

4four

Claims (2)

1. УСТРОЙСТВО ДЛЯ СОПРЯЖЕНИЯ ЭВМ С МАГИСТРАЛЬЮ ВНЕШНИХ УСТРОЙСТВ, содержащее первый блок дешифрации адреса, первый вход которого соединен с адресными шинами магистрали ЭВМ, второй вход - с управляющими шинами магистрали ЭВМ, с адресными входами-выходами блока прерываний и блока управления, а выход - с первым синхронизирующим входом буферного регистра данных и первым синхронизирующим входом-выходом блока управй'ения, синхронизирующими входами регистра команд и блока захвата магистрали и первым информационным входом регистра адреса, первый информационный вход-выход буферного регистра данных, второй информационный вход регистра адреса, информационный вход регистра команд и выход регистра прерываний соединены с информационными шинами магистрали ЭВМ, выход регистра команд соединен с информационным входом буферного регист-ра данных, командными входами блока управления и блока захвата магистра-.1. A DEVICE FOR COMMUNICATING A COMPUTER WITH AN EXTERNAL DEVICE HIGHWAYS, containing the first address decryption unit, the first input of which is connected to the address buses of the main computer, the second input - to the control buses of the main computer, with the address inputs and outputs of the interrupt unit and the control unit, and the output - with the first synchronizing input of the buffer register of data and the first synchronizing input-output of the control unit, the synchronizing inputs of the command register and the capture block of the highway and the first information input of the address register, first the information input-output of the buffer data register, the second information input of the address register, the information input of the command register and the output of the interrupt register are connected to the information buses of the main computer, the output of the command register is connected to the information input of the data buffer register, command inputs of the control unit and the capture unit Master's. ли и входом сброса блока прерываний, второй информационный вход-выход буферного регистра данных соединен с информационными шинами магистрали внешних устройств, выход регистра адреса соединен с адресными шинами магистрали внешних устройств и с первым входом второго блока дешифрации адреса, второй вход которого соединен с управляющими шинами магистрали внешних устройств и с вторым синхронизирующим входом-выходом блока управления, первый выход которого соединен с третьим входом сброса сигнала захвата блока захвата магистрали, выход разрешения и вход запроса которо- q го соединены соответственно с входными и выходными шинами запроса доступа магистрали внешних устройств, выход сигнала захвата блока захвата магистрали соединен с вторым синхронизирующим входом буферного регистра данных, синхронизирующим входом регистра адреса и входом сигнала захвата магистрали блока управления, второй выход которого соединен с тактовым входом регистра адреса, первый и второй выходы второго блока дешифрации адреса соединены соответственно с информационным входом регистра прерываний и входом разрешения блока прерываний, выход которого соединен с синхронизирующим входом регистра прерываний, отличающееся тем, что, с целью сокращения времени установления соединения между ЭВМ и внешним устройством, в устройство введен блок обработки запросов пассивных устройств, причем вход-выход блока обработки запросов пассивных устройств соеди1408440 А1 нен с информационными шинами магистрали ЭВМ, первый, второй и третий входы и выход - соответственно с выходом первого блока дешифрации адреса, выходом сигнала захвата блока захвата магистрали, с выходом и входом зап роса прерывания блока прерываний, а четвертый вход ‘- с шинами запроса прерывания магистрали внешних устройств .whether by the reset input of the interrupt block, the second information input-output of the buffer data register is connected to the information buses of the trunk of external devices, the output of the address register is connected to the address buses of the bus of external devices and to the first input of the second address decryption block, the second input of which is connected to the control bus lines external devices and with a second synchronizing input-output of the control unit, the first output of which is connected to the third input reset signal capture block capture line the solution and the input of the request of which q are connected respectively to the input and output buses of the access request of the trunk of external devices, the output of the capture signal of the capture block of the trunk is connected to the second clock input of the buffer register of data, the synchronization input of the address register and the input of the capture signal of the trunk of the control unit, the second output which is connected to the clock input of the address register, the first and second outputs of the second address decryption unit are connected respectively to the information input of the interrupt register and an enable input for the interrupt unit, the output of which is connected to the synchronizing input of the interrupt register, characterized in that, in order to reduce the time to establish a connection between the computer and the external device, a request processing unit for passive devices is introduced into the device, and the input-output of the request processing unit for passive devices connected to 1408440 A1 with information buses of the main computer, the first, second and third inputs and outputs, respectively, with the output of the first address decryption unit, the output of the capture signal of the capture unit of the mag and with the output and input of the interrupt request for the interrupt unit, and the fourth input ‘with the interrupt request buses of the trunk of external devices. 2. Устройство по п.1, отличающееся тем, что блок обработки запросов пассивных устройств содержит узел приоритета, синхронизирующим входом подключенный к выходу генератора тактовых импульсов, два элемента И, входной и выходной коммутаторы и элемент НЕ, причем выход первого элемента И соединен с управляющим входом входного коммутатора и через элемент НЕ с входом разрешения записи кода текущего приоритета узла приоритета, вход кода текущего приоритета которого подключен к выходу входного коммутатора, управляющий вход выходного коммутатора соединен с выходом второго элемента И, информационные входы выходного коммутатора соединены с выходом вектора приоритета узла приоритета и третьим входом блока обработки запросов пассивных устройств, первый и второй входы второго элемента И подключены к третьему входу блока обработки запросов пассивных устройств, выход выходного коммутатора соединен с информационным входом входного коммутатора и входомвыходом блока обработки запросов пассивных устройств, вход и группа входов первого элемента И, группа входов запроса и выход сигнала запроса прерывания узла приоритета являются соответственно вторым, первым и четвертым входами и выходом блока обработки запросов пассивных устройств.2. The device according to claim 1, characterized in that the passive device request processing unit comprises a priority node, a clock input connected to the output of the clock generator, two AND elements, input and output switches and an element NOT, wherein the output of the first element AND is connected to the control the input of the input switch and through the element NOT with the input permission to write the code of the current priority of the priority node, the input of the code of the current priority of which is connected to the output of the input switch, the control input of the output switch connected to the output of the second element And, the information inputs of the output switch are connected to the output of the priority vector of the priority node and the third input of the request processing unit of the passive devices, the first and second inputs of the second element And are connected to the third input of the request processing unit of the passive devices, the output of the output switch is connected to the information the input of the input switch and the input of the output of the request processing unit of the passive devices, the input and input group of the first element AND, the group of request inputs and output signal and interruption requests of the priority node are, respectively, the second, first and fourth inputs and outputs of the request processing unit of the passive devices.
SU853873789A 1985-03-27 1985-03-27 Interface of computer with peripherals trunk line SU1408440A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU853873789A SU1408440A1 (en) 1985-03-27 1985-03-27 Interface of computer with peripherals trunk line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU853873789A SU1408440A1 (en) 1985-03-27 1985-03-27 Interface of computer with peripherals trunk line

Publications (1)

Publication Number Publication Date
SU1408440A1 true SU1408440A1 (en) 1988-07-07

Family

ID=21169292

Family Applications (1)

Application Number Title Priority Date Filing Date
SU853873789A SU1408440A1 (en) 1985-03-27 1985-03-27 Interface of computer with peripherals trunk line

Country Status (1)

Country Link
SU (1) SU1408440A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 781805, кл. G 06 F 3/04, 1978. Авторское свидетельство СССР 1051526, кл. G 06 F 3/ОА, 1982. *

Similar Documents

Publication Publication Date Title
US4035777A (en) Data processing system including parallel bus transfer control port
US5142682A (en) Two-level priority arbiter generating a request to the second level before first-level arbitration is completed
SU1408440A1 (en) Interface of computer with peripherals trunk line
JP3057754B2 (en) Memory circuit and distributed processing system
SU1410709A1 (en) Computer to peripheral device interface
SU822166A1 (en) Interface matching device
SU1605247A1 (en) Multiprocessor system
SU1679497A1 (en) Device to exchange data between the computer and peripherais
RU1790784C (en) Crate-controller
JP2929631B2 (en) Communication device between processors
JPS6029139B2 (en) Connection method between processing units
SU1211743A2 (en) Interface for linking digital computer with peripherals
SU1679494A1 (en) Interface unit for communication of the subscriber over the bus
JPS59231639A (en) Terminal interface device
SU1541623A1 (en) Device for interfacing computer with peripheral device
SU1176341A1 (en) Interface for linking computer with peripherals
SU1596339A1 (en) Computer to peripheral interface
JP2822414B2 (en) Dual port memory
SU934834A1 (en) Device for controlling connection of common memory unit to trunk
SU1728867A1 (en) Device for interfacing computer with main line
SU1524062A2 (en) Device for interfacing digital computer with peripherals
SU1399750A1 (en) Device for interfacing two digital computers with common storage
SU1388883A1 (en) Inter-module communication device for a message switching system
RU2018944C1 (en) Device for interfacing computer with external objects
SU1156080A1 (en) Port-to-port interface operating in computer system