SU1596339A1 - Computer to peripheral interface - Google Patents

Computer to peripheral interface Download PDF

Info

Publication number
SU1596339A1
SU1596339A1 SU884606619A SU4606619A SU1596339A1 SU 1596339 A1 SU1596339 A1 SU 1596339A1 SU 884606619 A SU884606619 A SU 884606619A SU 4606619 A SU4606619 A SU 4606619A SU 1596339 A1 SU1596339 A1 SU 1596339A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
block
register
group
computer
Prior art date
Application number
SU884606619A
Other languages
Russian (ru)
Inventor
Павел Иванович Молчанов
Андрей Васильевич Осипов
Петр Михайлович Фокеев
Борис Яковлевич Буянов
Original Assignee
Предприятие П/Я А-3565
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 Предприятие П/Я А-3565 filed Critical Предприятие П/Я А-3565
Priority to SU884606619A priority Critical patent/SU1596339A1/en
Application granted granted Critical
Publication of SU1596339A1 publication Critical patent/SU1596339A1/en

Links

Landscapes

  • Multi Processors (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может использоватьс  при построении информационно-измерительных систем с ЭВМ с общей шиной и периферийных систем с пр мой адресацией регистров устройства. Целью изобретени   вл етс  повышение надежности за счет аппаратного оперативного контрол  работы. Устройство содержит блок управлени  обменом, два дешифратора, два коммутатора, узел захвата магистрали, триггер сбо , регистр управлени , адресный селектор, регистр адреса, регистр номера, два элемента ИЛИ, два элемента И. 1 з.п. ф-лы, 6 ил.The invention relates to computing technology and can be used in the construction of information-measuring computer systems with a common bus and peripheral systems with direct addressing of device registers. The aim of the invention is to increase reliability due to hardware operational control of work. The device contains an exchange control unit, two decoders, two switches, a trunk acquisition node, a flip-flop trigger, a control register, an address selector, an address register, a number register, two OR elements, two I. And I. elements. f-ly, 6 ill.

Description

Изобретение относитс  к вычислительной технике и может быть применено при построении информационно-измерительных систем с использованием ЭВМ с общей шиной и периферийныхсистем с пр мой адресацией регистров устройств.The invention relates to computing and can be applied when building information-measuring systems using a common bus computer and peripheral systems with direct addressing of device registers.

Цель изобретени  - повышение надежности за счет обеспечени  аппаратного оперативного контрол  работы.The purpose of the invention is to increase reliability by providing hardware operational control of work.

На фиг.1 представлена структурна  схема устройства дл  сопр жени ; на фиг.2 - 6 - схемы первого дешифратора , блока управлени  обменом, регистра управлени , второго дешифратора и второго коммутатора соответственно .Figure 1 shows a block diagram of a device for conjugation; Figures 2 through 6 are diagrams of a first decoder, an exchange control unit, a control register, a second decoder, and a second switch, respectively.

Устройство содержит (фиг.1) первый дешифратор 1, регистр 2 управлени , предназначенный дл  хранени  номера периферийной подсистемы, сигналов разрешени  прерывани  и признаков результата операций периферийной системы , блок 3 управлени  обменом,управл ющий операци ми обмена с ЭВМ и периферийной системой, первый коммутатор 4, осуществл ющий коммутацию группы разр дов адресов общей шины ЭВМ с группой адресов регистров устройств и кода операции периферийной системы, причем коммутаци  производитс  из услови  получени  наиболее , коротких программ ЭВМ, регистр 5 но|мера , задающий номер устройства со-, пр жени , первый блок 6 усилени ,св  зывающий устройство с общей шиной ЭВМ, второй блок 7 усилени , св зьтвающий устройство с общей шиной (магистралью ) периферийной системы, общую шину 8 ЭВМ, общую пипу (магистраль ) 9 периферийной системы, узел 10 захвата магистрали, реализующий операцию захвата общей шины ЭВМ,регистр 11 адреса, задаюгций диапазон . адресов периферийной системы, второй .дешифратор 12, второй коммутатор 13,The device contains (Fig. 1) a first decoder 1, a control register 2 for storing the peripheral subsystem number, interrupt enable signals and indications of the results of the peripheral system operations, the exchange control unit 3 controlling the exchange operations with the computer and the peripheral system, the first switch 4, switching the group of bits of the addresses of the common computer bus with the group of addresses of the device registers and the operation code of the peripheral system, and the switching is performed according to the conditions for obtaining the shortest computer programs, register 5 but | measure, specifying the number of the co-operating device, the yarn, the first gain block 6, connecting the device with the common bus of the computer, the second gain block 7, connecting the device with the common bus (trunk) of the peripheral system, the common bus 8 computers, common pipu (trunk) 9 of the peripheral system, node 10 of the highway capture, implementing the operation of capturing the common computer bus, address register 11, assignment range. addresses of the peripheral system, the second .coder 12, the second switch 13,

осуществл ющий коммутацию кодд, состо ни  триггера сбо  и кода, заданного регистром 5. номера, с группой разр дов данных общей шины ЭВМ, элементы ИЛИ 14 и 15, элементы И 16 и 17, триггер 18 сбо  и адресный селектор 19.switching commutator, the state of the flip-flop trigger and the code specified by the register 5. numbers, with a group of data bits of the common computer bus, the elements OR 14 and 15, the elements 16 and 17, the flip-flop 18 and the address selector 19.

Первый дешифратор 1 (фиг,2) состоит из элемента 20 сравнени  и дешифратор 21 .The first decoder 1 (FIG. 2) consists of a reference element 20 and a decoder 21.

Блок 3 управлени  обменом образуют (фиг.З) элементы И 22-24, элементы ИЛИ 25 и 26, элементы 27 и 28 задержки, элементы И 29 и 30, элемент НЕ 31 и триггер 32.The exchange control unit 3 is formed by (FIG. 3) elements AND 22-24, elements OR 25 and 26, delay elements 27 and 28, elements AND 29 and 30, element 31 and trigger 32.

Регистр 2 управлени  содержит (фиг.4) выходу 33, коммутатор 34, регистр 35, элемент НЕ 36, элемент ИЖ 37 и элемент 38 задержки.Control register 2 contains (FIG. 4) output 33, switch 34, register 35, NOT element 36, IL 30 element and delay element 38.

Второй дещифратор 12 (фиг.5) выполнен на дешифраторе 39.The second descrambler 12 (figure 5) is made on the decoder 39.

Второй коммутатор 13 содержит (фиг.6) элементы И 40-44, элементы НЕ 45 и 46 и элемент И-ИЛИ 47.The second switch 13 contains (6) elements AND 40-44, elements 45 and 46 and element AND-OR 47.

Обща  шина ЭВМ представл ет собой унифицированную систему св зей и сигналов между процессором, оперативной пам тью и устройствами сопр жени  с периферийными устройствами и системами . Св зь между устройствами, участвующими в операции на общей шине, асинхронна. Магистраль периферийной системы представл ет собой унифицированную систему св зей и сигналов между периферийной системой и блоком управлени , фу 1кции которого реализует предлагаемое устройство. Периферийна  система может состо ть из одной или нескольких подсистем, кажда  из которых содержит группу устройств .- Каждое устройство может содержать группу адресуемых регистров. Кроме того, к общей шине ЭВМ может быть подключено несколько предлагаемых устройств сопр жени , к каждому Из которых подсоединена сво  периферийна  система.The common computer bus is a unified system of communications and signals between the processor, random access memory and interface devices with peripheral devices and systems. The communication between devices participating in a common bus operation is asynchronous. The trunk of the peripheral system is a unified system of communications and signals between the peripheral system and the control unit, the function of which implements the proposed device. A peripheral system can consist of one or more subsystems, each of which contains a group of devices. Each device can contain a group of addressable registers. In addition, several proposed interface devices can be connected to a common computer bus, each of which has its own peripheral system.

Устройство дл  сопр жени  предназначено дл  согласовани  несовместимых сигналов двух интерфейсов. Большинство сигналов общей шины интерпретируетс  в соответствующие сигналы периферийной магистрали.The interface device is intended to match the incompatible signals of the two interfaces. Most of the common bus signals are interpreted into the corresponding peripheral trunk signals.

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

Работа предлагаемого устройства при выполнении операций ввода-вьшода аналогична работе известного. Рассмотрим работу устройства при распределении адресньк линий А(0)...А(17) общей шины ЭВМ, например, следутош м образом: разр ды А(17)-А(12) указывают начало диапазона адресов периферийной системы, подключенной с помощью устройства сопр жени ; разр ды А(11)-А(8) определ ют адрес периферийного устройства У(8,4,2,1); разр ды А(7)-А(4) определ ют адрес регистра устройства Р(8,4,2,1); разр ды А(3)-А(0) определ ют четыре разр да кода операции Ф(8,4,2,1). П тый разр д кода операции, идентифицируюшдй основной тип операции (записи или чтени ), соответствует сигналу признака операции общей шины ЭВМ.The operation of the proposed device when performing input-output operations is similar to the work of the known. Consider the operation of the device in the distribution of address lines A (0) ... A (17) of a common computer bus, for example, in the following way: bits A (17) -A (12) indicate the beginning of the address range of the peripheral system connected with the device mates; bits A (11) -A (8) determine the address of the peripheral device Y (8,4,2,1); bits A (7) -A (4) determine the address of the device register P (8,4,2,1); bits A (3) -A (0) define four bits of the opcode F (8,4,2,1). The fifth bit of the operation code, which identifies the main type of operation (write or read), corresponds to the signal of the common computer bus operation.

При прин той системе адресации периферийна  подсистема может содержать до 16 периферийных устройств, каждое из которых может иметь до 16 регистров.With a received addressing system, the peripheral subsystem can contain up to 16 peripheral devices, each of which can have up to 16 registers.

Исход  из услови  минимального использовани  адресов ЭВМ собственны схемы устройств дл  сопр жени  (с номером один) -адресуютс  следующим образом: регистр управлени  по У(0), Р(0); схема управлени  режимом обработки требований по У(0), Р(1), где У(0) и Р(0) обозначают нулевое значение разр дов номеров устройства и регистра. При организации в одном диапазоне адресов периферийной системы к общей щине ЭВМ может быть подключено до восьми таких устройств сопр жени , использующих следующие адреса дл  собственных: схем: У(0), У(П-1), У(0), У(2П-1), где П - номер устр .йства сопр жени . Кажда  из подключенных периферийных подсистем использует 2К адресов (К 1024), так как разр ды А(0)-А(11) определ ют адрес регистра и устройства и код операции (четьфе разр да). Остальна  часть адресов ЭВМ отводитс  под адреса  чеек оперативной пам ти и регистры системных периферийных устройств При этом к каждому устройству сопр жени  может быть подключено от одной до восьми периферийных подсистем (но неболее восьми к ЭВМ), дл  идентификации которых в регистре 2 зарезервировано соответствующее число разр дов дл  хранени  номера периферийной подсистемы.Proceeding from the condition of minimum use of computer addresses, the own device interfaces for interfacing (with the number one) are addressed as follows: control register by Y (0), P (0); The control circuit for processing the requirements for Y (0), P (1), where Y (0) and P (0) denote the zero value of the bits of the device and register numbers. When organizing in one address range of a peripheral system, up to eight such interfaces can be connected to a common computer bus using the following addresses for their own: schemes: Y (0), Y (P-1), Y (0), Y (2P -1), where P is the number of the pairing device. Each of the connected peripheral subsystems uses 2K addresses (K 1024), since bits A (0) -A (11) determine the address of the register and the device and the operation code (the bit of the bit). The rest of the computer addresses are assigned to the addresses of the memory cells and the registers of the system peripheral devices. At the same time, from one to eight peripheral subsystems (but not more than eight to the computer) can be connected to each interface device, for which an appropriate number of bits is reserved in register 2 Dov for storing the number of the peripheral subsystem.

Claims (2)

Устройство осуществл ет обмен данными между регистрами устройств периферийной системы и оперативной 5 пам тью ЭВМ под управлением програм мы с использованием прерьшаний. В с ответствии с программой определ етс момент передачи данных и инициирует с  первый этап. На лини х общей шин ЭВМ выставл етс  следующа  информаци : код записи, на адре.сных лини х адрес регистра 2 в соответствии с номером устройства сопр жени  и кодом начала диапазона адресов периферийной системы, на лини х данных код, соответствующий номеру периферийной подсистемы и сигналу разреше ни  прерывани , после фиксированной выдержки синхросигнал. Адресный селектор 19 анализирует поступающий через блок 6 из общей шины 8 адрес и срабатьшает, если этот адрес входит в диапазон адресов периферийной системы, заданной регистром 11. При этой включаетс  коммутатор А и прин тый адрес поступает на вход пер вого дешифратора 1 и через блок-7 в общую шину 9. Поступивший из коммутатора 4 адрес дешифрируетс  в соответствии с номером устройства сопр жени , заданным регистром 5, в дешифраторе 1. Дешифратор 1 определ  ет, что адрес относитс  к регистру 2 управлени , и посылает в блок 3 сигнал разрешени  обмена информацией ЭВМ с регистром 2. Затем блок 3 получает через блок 6 усилени  из общей шины 8 код операции записи и син хррсигнал и посыпает в регистр 2 сиг нал записи данных, поступающих из блока 6 на входы регистра 2. После записи данных в регистре 2 блок 3 вы рабатывает ответный синхросигнал и посыпает его ерез блок 6 в общую шину 8. ЭВМ получает этот синхросигнал , снимает сигнал синхронизации, а затем данные, адреса и сигналы управлени . После сн ти  синхросигнала устройство снимает ответный синхросигнал; на этом первый этап иницииро вани  операции ввода-вывода заканчи- ваетс . В результате в регистре 2 хранитс  код номера периферийной., под системы и сигнал Разрешение прерьюа ни . Затем ЭВМ начинает вьтолн ть второй этап инициировани  операции ввода-вывода, посыпа  через устройство в один из регистров периферийного устройства управл ющую информацию дл  его запуска. Дл  этого ЭВМ помещает на линии общей шины адрес данной периферийной системы, код за9 писи, адрес периферийного устройства и его регистра, а также соответствую ющие четыре разр да кода операции, после фиксированной задержки синхросигнал . Адресный селектор 19 срабатывает и вклют 1ает коммутатор 4. Адрес поступает на вход дешифратора 1, определ ющего, что адрес относитс  к адресам периферийной системы и посьшающего в блок 3 сигнал разре-шени  запуска цикла на периферийной магистрали. Блок 3, получив из общей шины ЭВМ через блок 6 код записи и синхросигнал, инициирует цикл периферийной магистрали, передава  через блок 7 в общую шину 9 номер периферийной подсистемы из регистра 2, код записи и синхросигнал. Р1з общей шины 8 в общую шину 9 через блоки 7 и 6 непосредственно по лини м данных поступает дополнительна  информаци  дл  периферийного устройства, а через коммутатор 4 - разр ды номера периферийного устройства и номера регистра. После выполнени  операции адресуема  периферийна  подсистема выставл ет синхросигнал и сигналы ответа, которые через блок 7 передаютс  соответственно в блок 3 и регистр 2. Блок 3 стробирует прием сигналов ответа в соответствующие разр ды регистра 2, а затем снимает информацию и синхросигнал, заканчива  операцию на магистрали периферийной системы. По сн тии сигналов периферийна  подсистема снимает синхросигнал, после чего блок 3 передает через блок 6 в общую шину ЭБЙ ответный синхросигнал и затем заканчивает операцию на общей шине. Этим завершаетс  второй этап инициировани  операции ввода-вывода в периферийном устройстве. Значение сигнала ответа, хран щегос  в регистре 2, может быть считано ЭВМ при обращении к регистру 2 по чтении. В этом случае содержимое регистра 2 по сигналу из блока 3 поступает через блок 6 в ЭВМ. Информаци  о состо нии периферийного устройства, хран ща с  непосредственно в регистре периферийного устойства , может быть также считана ЭВМпри рбращении к регистру периферийой системы по чтении. В этом случае одержимое регистра периферийного стройства при выполнении цикла периерийной магистрали поступает по лини м данных через блоки 7 и 6 непосредственно в ЭВМ. После инициировани  операции ввода-вывода в периферийном устройстве ЭВМ продолжает выполнение основной программы. Рассмотрим процедуру передачи данных в регистр устройства периферийной системы, которое в данный момент имеет запрос. Сигнал запроса по стуцает из магистрали 9 :через блок 7 на вход элемента И 17. Х1 а« щийс  в регистре2 сигнал Разрешение прерывани  передаетс  на другой вхо элемента И 17, разреша  прохождение iepes злементИ 17 сигнала запроса. С выхода элемента И 17 сигнал запроса поступает через элемент ИЛИ 15 в узе,й ТО захвйта магистрали. По вление сигнала запроса запускает узел 10, который, обменива сь управл ющим сигналами с ЭВМ через блок 6, выполн ет операцию; захвата общей шины и прерывани  текущей программы. При этом узел 10 формирует сигнал разрет шени  выдачи запросного слова, поступающий на вход управлени  коммута тора 13. С выхода коммутатора 13 в общую шину через блок 6 поступает запросное слово,сформированное регистром 5.-В результате ЭВМ переходит к программе обслу етвани  прерьша ни  от данного устройства сопр  жени  йПрограмма начинает обычно свою ра с поиска причины прерывани  в периферийной системе,:1шеющей в данifOM . случае одну общую линию запроса . Дл  этого ЭВМ инициирует операци считывани  из периферийной системы запросного слова, устанавлива  ад р.ес; схемы управлени  режимом обработки требовани  в соответствии с .номером устройства сопр жени , и после фиксированной задержки синхросигнала поступивший из общей шины ЭВМ адрес схемы управлени  режимом обработки прерывани  проходит через коммутатор А на вход дешиф ратора 1j который устанавливает его соответствие .адресу схемы управлени  и посьшает в блок 3 сигнал, по которому в периферийной магистрали начинаетс  цикл режима обработки требовани . Дл  этого блок 3 передает через блок 7 в магистраль 9 сигналы выборки всех подсистем и сигнал считывани  запросов, по которому блок управлени  каждой подсистемы (или периферийного устройства), хран щий сигнал запроса, помещает на JJинии данных магистрали 9 коды,индентифицируюище источники запросов в подсистеме . На лини х данных устанавливаетс , таким образом, запросное слово системы. По получении синхросигналов от всех блоков управлени  подсистемами блок 3 устанавливает ответный синхросигнал, после .приема которого ЭВМ считывает запросное слово с линий данных магистрали через блоки 7 и 6. ЭВМ заканчивает операцию на общей- шине, а блок 3 - на магистрали периферийной системы. Затем ЭВМ по программе осуществл ет поиск источника запроса на обработку требовани  в зависимости от прин того в периферийной системе принципа идентификации источников запросов. После определени  программным способом номера регистра периферийного устройства , запрашивающего данные дл  передачи, ЭВМ организует операцию передачи из опёративной пам ти слова данных в этот регистр устройства или приема данных из регистра аналогично описанной процедуре инициирова- . ни  операции ввода-вывода. При по влении сбо  или неисправности в процессе вьтолнени  операции ввода-вывода предлагаемое устройство работает следующим образом. I . При инициировании обмена данными между регистрами . устройств периферийной системы и оперативной пам тью ЭВМ под управлением программы адрес регистра поступает из общей шины ЭВМ черр-З блок 6 и коммутатор 4 на вход дешифратора 1. На выходе дешифратора в зависимости от кода адреса ре-, гистра могут сформироватьс  следующие три типа сигналов: или сигнал обращени  к регистру 2 управлени  ( к собственным регистрам устройства сопр жени ), или сигнал запуска цикла периферийной магистрали, -или сигнал обращени  к схеме управлени  режимом обработки требовани . Все эти сигналы поступают на блок 3 дл  его запуска по приходу из обшей шины ЭВМ синхросигнала на выполнение цик-ла обмена. Кроме того, эти сигналы одновременно поступают на элемент ИЛИ 14, на выходе которого формируетс  объединенный сигнап обращени  ЭВМ через данное устройство дл  сопр жени  к регистрам. С выхода элемента ИЛИ 14 сигнал обращени  постуэлемента И 16. пает на вход На второй вход второго дешифратора 12 из блока 6 поступает информа ци  о выдаче на общую шину ЭВМ ответ ного синхросигнала каким-либо устройством (другим устройством сопр жени , оперативной пам тью или системными периферийными устройствами), подключенным к общей шине. На первый вход второго дешифратора 12 поступает- ответный синхросигнал, формируемь1Й блоком 3 по окончании цикла периферийной магистрали или обращени  к собственным регистрам и схемам Так как св зь ме оду устройствами, участвующими в операг ии на общей шине , асинхронна, то при одновременном обращении (вследствие неисправностей или сбоев) к регистрам периферийной системы, подключенной через данное устройство сопр жени  (или к собственным схемам или регистрам устройства ) , и к регистрам системных периферийных устройств (или к  чейкам оперативной пам ти или другому аналогичному устройству сопр жени ,подключенного к общей шине ЭВМ) ответны синхросигнал от регистров системных периферийных устройств может по вить с  Д.О выдачи блоком 3 обмена ответного синхросигнала через блок 6 в об щую шину ЭВМ. Эту ситуацию определ ет второй дешифратор 12, который ана лизирует состо ние общей шины ЭВМ и магистрали периферийной- системы. При этом деши4ратор 12 на своем выходе формирует сигнал запуска узла 10 захвата магистрали только лишь в случае , когда присутствует сигнал, поступающий из блока 6, на его втором входе и отсутствует сигнал на первом входе, подключенном к выходу блока 3 При наличии сигнала обращени , посту пающего на один из входов элемента И 16 от элемента ШШ 14, .сигнал с вы хода дешифратора 12 проходит на вход установки триггера 18 сбо  и устанавливает последний в единичное.состо ние . Одновременно этот сигнал через элемент HJDi 15 запускает узел 10 захвата магистрали, который выпол н ет операции захвата общей шины ЭЗМ и прерывани  текущей программы. При этом на разрешающем выходе узел 10 формирует сигнал, включакнций--коммута тор 13 на передачу в ЭВМ по лини м данных общей шины через блок 6 запросного слова,сформированного реги стром 5 и модифицированного триггером 18 сбо . После приема запросного слова в ЭВМ узел 10 сбрасывает сигнал управлени  коммутатором 13 и возвращаетс  в исходное состо ние.Так как сигнал управлени  коммутатором 13 поступает также на вход сброса триггера 18. сбо , то по сбросу этого сигнала возвращаетс  в исходное состо ние и триггер 18. В результате ЭВМ переходит к программе обслуживани  прерывани  от данного устройства сопр жени  по сбою или неисправности. В этом случае, если данное устройство дл  сопр жени  выдает в общую шину ЭВМ ответный синхросигнал раньше других устройств на общей шине, то сбой обнаруживает другое аналогичное устройство,, имеющее подобную схему контрол , к которому одновременно обратилась ЭВМ. Формула изобретени  1. Устройство дл  сопр жени  периферийного устройства с ЭВМ, содержащее блок управлени  обменом, регистр управлени , первый дешифратор , первый коммутатор, регистр номера , два блока усилени , причем группа информационных входов-выходов первого блока усилени  образует группу входов-выходов устройства дл  подключени  к группе информационных,адресных и командных входов-выходов ЭВМ, группа информационных входов-выходов второго блока усилени  образует группу входов-выходов устройства дл  подключени  к группе информационных , адресных и командных входов-выходов периферийного устройства, при этом перва  группа информационных выходов ёторого блока усилени  и группа выходов регистра управлени  соеди- нены с первой группой информационных входов первого блока усилени , перва  группй информационных выходов которого соединена с первой группой информационных входов регистра управлени  и с первой группой информационных входов второго блока усилени , втора  rjaynna. информационных выходов которого соединена с второй группой информационных входов регистра управлени , грзшпа синхровходов и первый выход которого соединены соответственно с. первой группой выходо.в и с первь5Н входом логического услови  блока управлени  обмеком, втора  группа выходов и перва  группа входов логического услови  которого соединены соответственно с второй группой информационных входов и третьей группой информационньЕх: выходов второго блока З силени , треть  -гругта информационных входов которого соединена спервой группой информационных входов, первого дешифратора и с группой информационных выходов первого коммута тора, группа информационных входов кЬтсррго соединена с - второй группой информационных выходов первого блока усилени , группа выходов регистра но мера соединена с второй группой информационных входов первого дешифратора , отличающеес  тем, что, с повышени  надежности за счет обеспечени  аппаратного оперативного контрол  работы, в устройство введены адресный селектор, второй коммутатор, регистр адреса, узел захвата агистрали, второй дешифратор, триггер c6oHj два элемента И, два элемента ИЛИ, при этом треть  группа выходов блока управлени  обменом соединена с- гтервой гр; Т1пой информационных входов второго дешифратора и с второй группой информационных входов первого блока усилени , треть  группа информационных выходов ко торого соединена с втор9й группой входов логического услови  блока управлени  обменЪМз второй, третий, четвертый входы логического услови  которого соединены соответственно с .первым, вторым,, третьим выходами пер вого дешифратора и с первым, вторым, третьим входами первого элемента ИЖ, выход которого соединен с первы входом первого элемента И, второй вход которого соединен с выходом второго дешифратора, втора  группа информационных входов которого соединена с четвертой группой информационных вькодсв первого блока усилени  , информаи онньм выход и информац онный вход которого соединены соотве ственно с входом подтверждени  захва та к с выходом загфоса захвата узла захвата магистрали, разрешающий выход которого соединен с нулевым входом триггера сбо  и с управл ющим входом второго коммутатора, группы информационных входов и выходо дрто рого соединены соответственно с группой выходов регистра номера и с первой группой информационных входов первого блока усилени , управл ющий вход первого коммутатора соединен с выходом адресного селектора, перва  и втора  группы информационных входов которого соединены соответственно с группой выходов регистра адреса и с второй группой информационных выходов первого блока усилени , вход запроса захвата узла захвата магистрали соединен с выходом второго элемента ИЛИ, первый вход которого соединен с выходом второго элемента И, первый вход которого соединен с информационным выходом второго блока усилени , информационный вход второго коммутатора соединен с выходом триггера сбо ,единичный вход которого соединен с выходом первого элемента И и с вторьм входом второго элемента ИЛИ, второй выход регистра управлени  соединен с вторым входом второго элемента И. The device exchanges data between the registers of devices of the peripheral system and the operative 5 memory of a computer controlled by a program using alarms. In accordance with the program, the time of data transfer is determined and initiates the first stage. The following information is set on the lines of the general computer bus: the write code, the address of the register line 2 is in accordance with the number of the interface device and the beginning code of the address range of the peripheral system, on the data lines the code corresponding to the number of the peripheral subsystem and signal no interrupt is allowed, after a fixed shutter speed the clock signal. Address selector 19 analyzes the address arriving through block 6 from the common bus 8 and responds if this address is in the address range of the peripheral system specified by register 11. This switches on switch A and receives the received address to the input of the first decoder 1 and 7 to the common bus 9. The address received from the switch 4 is decrypted according to the number of the interface device specified by register 5 in the decoder 1. The decoder 1 determines that the address belongs to the control register 2 and sends an enable signal to block 3 on the information of the computer with register 2. Then block 3 receives through block 6 of the general bus 8 a write operation code and a sync signal and sprinkles to register 2 a signal to write data from block 6 to the inputs of register 2. After writing data in register 2 block 3 generates a response sync signal and sprinkles it through block 6 into a common bus 8. The computer receives this sync signal, removes the synchronization signal, and then the data, addresses and control signals. After the clock is removed, the device removes the response clock; in this, the first stage of initiating an I / O operation is completed. As a result, register 2 stores the code of the number of the peripheral., Under the system and the signal of the resolution of the order. The computer then begins the second step of initiating an I / O operation, sending it through the device to one of the registers of the peripheral device control information to start it. For this, the computer places on the common bus line the address of the peripheral system, the code of the record, the address of the peripheral device and its register, as well as the corresponding four bits of the operation code, after a fixed delay a clock signal. The address selector 19 is activated and the switch 4 is turned on. The address is fed to the input of the decoder 1, which determines that the address refers to the addresses of the peripheral system and the signal of the loop start on the peripheral trunk, which sends to block 3. Block 3, having received a write code and a clock signal from the shared bus of the computer via block 6, initiates a peripheral trunk cycle, transmitting through the block 7 to the common bus 9 the number of the peripheral subsystem from register 2, the write code and the clock signal. P1 of the common bus 8 to the common bus 9 through blocks 7 and 6 directly along the data lines receives additional information for the peripheral device, and through the switch 4 - bits of the peripheral device number and register number. After the operation has been performed, the addressable peripheral subsystem sets the clock signal and the response signals, which are transmitted through block 7 to block 3 and register 2, respectively. Block 3 gates the reception of response signals to the corresponding bits of register 2, and then removes the information and clock signal, completing the operation on the trunk peripheral system. After the signals are removed, the peripheral subsystem removes the clock signal, after which the block 3 sends the response clock signal through the block 6 to the shared bus EBY and then finishes the operation on the common bus. This completes the second step of initiating an I / O operation at the peripheral device. The value of the response signal stored in register 2 can be read by the computer when accessing register 2 by reading. In this case, the contents of register 2, according to the signal from block 3, are fed through block 6 to the computer. Information about the state of the peripheral device, stored directly in the peripheral device register, can also be read by the computer when it is read into the peripheral system register. In this case, the obsessive register of the peripheral device when executing the cycle of the perimeter highway enters the data lines through blocks 7 and 6 directly into the computer. After initiating an I / O operation in the peripheral device, the computer continues the execution of the main program. Consider the procedure for transferring data to the device register of the peripheral system that is currently having a request. The request signal is decelerated from line 9: through block 7 to the input of the And 17 element. X1 a signal in the register 2 Enable interrupt is transmitted to the other input of the And 17 element, allowing the request signal iepes 17 to pass through. From the output of the element And 17, the request signal enters through the element OR 15 in the node, THEN captures the trunk. The appearance of the request signal starts the node 10, which, exchanging control signals with the computer through block 6, performs an operation; capturing the common bus and interrupting the current program. At that, the node 10 generates a signal for discharging the query word output, which is fed to the control input of the switch 13. From the output of the switch 13, the query word generated by the register 5 enters the common bus via block 6. As a result, the computer goes to the service program. This device pairing usually starts its program by searching for the cause of the interruption in the peripheral system: 1). case one common query line. For this, the computer initiates read operations from the peripheral system of the query word; The demand processing control circuit in accordance with the interface device number, and after a fixed delay of the synchronization signal, the address of the interrupt processing mode control circuit received from the common computer bus passes through switch A to the input of the decoder 1j which establishes its compliance with the address of the control circuit and sends block 3 is a signal on which a demand processing mode cycle begins on a peripheral highway. To do this, block 3 transmits through block 7 to trunk 9 signals of sampling all subsystems and a request reading signal, by which the control unit of each subsystem (or peripheral device), which stores the request signal, puts codes on the JJ line of trunk data 9 to identify the sources of requests in the subsystem . On the data lines, the query word of the system is thus established. Upon receiving clock signals from all subsystem control units, unit 3 sets the response clock signal, after receiving which the computer reads the query word from the main data lines through blocks 7 and 6. The computer terminates the operation on the common bus and block 3 on the peripheral system trunk. Then, the computer according to the program searches for the source of the request for processing the request, depending on the principle adopted in the peripheral system for identifying the sources of the requests. After the software determines the register number of the peripheral device requesting data for transmission, the computer organizes the operation of transferring the data word from this memory into this device register or receiving data from the register in the same way as described initiating procedure. nor an I / O operation. When a failure or malfunction occurs in the process of executing an I / O operation, the proposed device operates as follows. I. When initiating data exchange between registers. peripheral system devices and computer RAM under the control of the program the register address comes from the common computer bus Cher-3 block 6 and switch 4 to the input of the decoder 1. The following three types of signals can be generated at the output of the decoder, depending on the register address code: or a control register access signal 2 (to the interface device's own registers), or a peripheral trunk cycle start signal, or a request signal to the control circuit of the demand processing mode. All these signals arrive at block 3 to start it upon the arrival of a sync signal from the common bus of the computer to perform the exchange cycle. In addition, these signals simultaneously arrive at the OR 14 element, at the output of which a combined computer access signal is formed through this device for conjugating to the registers. From the output of the OR 14 element, the signal of the post element I 16 is turned on. Input to the second input of the second decoder 12 from block 6, information is received about issuing to the common computer bus a response sync signal by some device (other interface device, random access memory or system memory). peripheral devices) connected to a common bus. The first input of the second decoder 12 receives a response sync signal generated by block 3 after the end of the peripheral trunk cycle or access to its own registers and circuits. Since the communication between devices connected to the common bus operation is asynchronous, faults or failures) to the registers of the peripheral system connected via this interface device (or to its own circuits or device registers) and to the registers of system peripheral devices (or to proliferative memory or other similar device interface connected to the shared bus computer) the clock signal from the response of system registers for peripheral devices can twist with DO issuing response exchange unit 3 through the timing unit 6 to about boiling computer bus. This situation is determined by the second decoder 12, which analyzes the state of the common computer bus and the peripheral system trunk. In this case, the deshirator 12 at its output generates a start signal of the node 10 for capturing the main line only in the case when the signal from block 6 is present at its second input and there is no signal at the first input connected to the output of block 3 The element 16 that is fed to one of the inputs from the element ШШ 14, the signal from the output of the decoder 12 passes to the input of the installation of the flip-flop 18, and sets the latter to a single state. At the same time, this signal, via the HJDi 15 element, starts the node 10 of the line capture, which performs the operations of capturing the common EPM bus and interrupting the current program. At the same time, at the permitting output, node 10 generates a signal, including switches - switch 13 for transmitting to the computer via common bus data lines through block 6 of the query word formed by register 5 and modified by flip-flop 18. After receiving the query word in the computer, the node 10 resets the control signal of the switch 13 and returns to the initial state. Since the control signal of the switch 13 also arrives at the reset input of the trigger 18. failure, then resetting this signal returns to the initial state and the trigger 18. As a result, the computer proceeds to the interrupt service program from this mate on failure or malfunction. In this case, if the device for interfacing sends a response clock signal to the common bus of the computer before other devices on the common bus, the failure is detected by another similar device, having a similar control circuit, to which the computer simultaneously turned. Claim 1. A device for interfacing a peripheral device with a computer, comprising an exchange control unit, a control register, a first decoder, a first switch, a number register, two gain blocks, the group of information inputs-outputs of the first gain block forming the input-output groups of the device for connections to a group of information, address and command inputs / outputs of a computer; a group of information inputs / outputs of a second gain block forms a group of inputs / outputs of a device for connecting to an information group the peripheral device, the first group of information outputs of the third gain block and the group of outputs of the control register are connected to the first group of information inputs of the first gain block, the first group of information outputs of which are connected to the first group of information inputs of the control register and with the first group of information inputs of the second gain block, the second rjaynna. the information outputs of which are connected to the second group of information inputs of the control register, the sync of the synchronous inputs and the first output of which are connected respectively with. the first group of outputs and the first 5N input of the logical condition of the control unit of the obmek, the second group of outputs and the first group of inputs of the logical condition of which are connected respectively to the second group of information inputs and the third group of information: outputs of the second power block 3, the third of the group of information inputs of which are connected With the first group of information inputs, the first decoder and with the group of information outputs of the first switch, the group of information inputs of the first switch is connected to the second group The information outputs of the first gain block, a group of outputs of the register, are connected to the second group of information inputs of the first decoder, characterized in that, to increase reliability by providing hardware operational control of the operation, an address selector, a second switch, an address register, a capture node are entered into the device. a highway, a second decoder, a trigger c6oHj, two elements AND, two elements OR, while the third group of outputs of the exchange control block is connected to the third section; The T1PI information inputs of the second decoder and the second group of information inputs of the first gain unit, a third group of information outputs of which are connected to the second group of inputs of the logical condition of the exchange control unit Ms the second, third, fourth inputs of the logical condition of which are connected respectively to the first, second, third the outputs of the first decoder and the first, second, third inputs of the first element IL, the output of which is connected to the first input of the first element I, the second input of which is connected to the output of second decoder, the second group of information inputs of which are connected to the fourth group of information codes of the first gain unit, whose information output and information input of which are connected respectively to the capture confirmation input to the output of the capture node of the trunk gripper, allowing the output of which is connected to the zero input the trigger trigger and with the control input of the second switch, the group of information inputs and the other output are connected respectively to the group of outputs of the number register and the first g The information inputs of the first gain unit, the control input of the first switch are connected to the output of the address selector, the first and second groups of information inputs of which are connected respectively to the output register group of the address register and to the second group of information outputs of the first gain block; the output of the second element OR, the first input of which is connected to the output of the second element AND, the first input of which is connected to the information output of the second gain unit, nformatsionny second switch input coupled to the output latch SRB, a single input connected to the output of the first AND gate and with vtorm input of the second OR gate, the second output control register connected to a second input of the second element I. 2. Устройство по П.1, отличающеес  тем, что блок управлени  обменом содержит триггер, п ть элементов И, два элемента ИЛИ, элемент НЕ, два элемента задержки, причем первый вход первого элемента ИЛИ, второй вход первого элемента РШИ, соединенный с первым входом первого элемента И, и нулевой вход триггера образуют первую группу входов логического услови  блока, первый вхотз; второго элемента И, второй вход второго элемента И, соединенный с первыми входами третьего и четвертого элементов И, образуют вторую группу входов логического услови  блока, третий вход первого элемента ИЛИ  вл етс  первым входом логического услови  блока, третий вход второго элемента И соединен с первым входом второго элемента ШБi и  вл етс  вторым входом логического услови  блока второй вход третьего элемента И соединен с вторым входом второго элемента ИЛИ и  вл етс  третьим входом логического услови  блока, второй вход четвёртого элемента И соединен с третьим вхо-. дом второго элемента И.1Ш и  вл етс  четвертью входом логического услови  блока, выход первого элемента задержки , первые входы первого элемента ИЛИ и.второго элемента И образуют первую группу выходов блока, выход2. The device according to claim 1, characterized in that the exchange control unit contains a trigger, five AND elements, two OR elements, a NOT element, two delay elements, the first input of the first OR element, the second input of the first RSHI element connected to the first the input of the first element And, and the zero input of the trigger form the first group of inputs of the logical condition of the block, the first one; The second element And the second input of the second element And connected to the first inputs of the third and fourth elements And form the second group of inputs of the logical condition of the block, the third input of the first element OR is the first input of the logical condition of the block, the third input of the second element And is connected to the first input the second element ShBi and is the second input of the logic condition of the block, the second input of the third element And is connected to the second input of the second element OR, and is the third input of the logical condition of the block, the second input of the fourth element And is connected to the third input. the house of the second element I.1Sh and is the fourth input of the logical condition of the block, the output of the first delay element, the first inputs of the first element OR and the second element AND form the first group of outputs of the block, the output первого элемента И, выход триггера и первый вход второго элемента И образуют вторую группу выходов блока, выходы второго элемента задержки и п того элемента И образуют третью :группу выходов блока, при этом в блоке управлени  обменом второй вход первого элемента И соединен с выходом элемента НЕ, вход которого соединен с синхровходом триггера и сThe first element And the trigger output and the first input of the second element form the second group of outputs of the block, the outputs of the second delay element and the fifth element of And form the third: group of outputs of the block, while in the exchange control block the second input of the first element And is connected to the output of the element NOT whose input is connected to the trigger sync and with выходом второго элемента И, выход первого элемента ИЛИ соединен с первым входом п того элемента И, второй вход которого соединен с выходом второго элемента ИЛИ, выходы третьего и четвертого элементов И соединены соответственно с входами первого и второго элементов задержки, информационный вход триггера соединен с- шиной единичного потенциала устройства.the output of the second element AND, the output of the first element OR is connected to the first input of the fifth element AND, the second input of which is connected to the output of the second element OR, the outputs of the third and fourth elements AND are connected respectively to the inputs of the first and second delay elements, the information input of the trigger is connected to bus unit capacity of the device. «о"about Фиг.22 /Г2/ R2 Фиг. 5FIG. five «гэ"Ge toto 2C2C tiOtiO tt7tt7 5 I5 I Фиг.66 «J"J
SU884606619A 1988-11-16 1988-11-16 Computer to peripheral interface SU1596339A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU884606619A SU1596339A1 (en) 1988-11-16 1988-11-16 Computer to peripheral interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU884606619A SU1596339A1 (en) 1988-11-16 1988-11-16 Computer to peripheral interface

Publications (1)

Publication Number Publication Date
SU1596339A1 true SU1596339A1 (en) 1990-09-30

Family

ID=21409913

Family Applications (1)

Application Number Title Priority Date Filing Date
SU884606619A SU1596339A1 (en) 1988-11-16 1988-11-16 Computer to peripheral interface

Country Status (1)

Country Link
SU (1) SU1596339A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Патент US № 3714635, кл. 340-172.5, 1973.Авторское свидетельство СССР № 554534, кл. G 06 F 13/00, 1977. • *

Similar Documents

Publication Publication Date Title
JPH0326865B2 (en)
SU1596339A1 (en) Computer to peripheral interface
KR920010977B1 (en) Memory bus architecture
JPS634219B2 (en)
SU554534A1 (en) Device for interfacing a peripheral system with an electronic computer
SU1166123A1 (en) Interface for linking digital computer with communication lines
SU1683039A1 (en) Device for data processing for multiprocessor system
JPS5844426Y2 (en) Inter-processor information transfer device
JPS6336428Y2 (en)
SU1501077A1 (en) Computer to peripherals interface
JPS6363940B2 (en)
SU1144112A1 (en) Interface for linking computer with common bus
SU1728867A1 (en) Device for interfacing computer with main line
SU1621040A1 (en) Interface for non-homogeneous computer system
RU1798798C (en) System of multiple computers
SU1446625A1 (en) Device for interfacing electronic computer with subscriber
SU1434440A1 (en) Device for interfacing processor with peripherals
SU1372330A1 (en) Device for connecting microprocessor with external devices
SU1541623A1 (en) Device for interfacing computer with peripheral device
SU1539787A1 (en) Multichannel processor-to-subscribers interface
SU1383374A1 (en) Device for checking i/0 interface
SU1312589A1 (en) Device for intercomputer data exchange
SU1751775A1 (en) Device for interfacing computer bus with peripherals
SU1434443A1 (en) Arrangement for direct access to memory
SU1571599A1 (en) Device for interfacing processor and multiunit memory