SU1401472A1 - Device for interfacing a computer with selector channel - Google Patents

Device for interfacing a computer with selector channel Download PDF

Info

Publication number
SU1401472A1
SU1401472A1 SU864130942A SU4130942A SU1401472A1 SU 1401472 A1 SU1401472 A1 SU 1401472A1 SU 864130942 A SU864130942 A SU 864130942A SU 4130942 A SU4130942 A SU 4130942A SU 1401472 A1 SU1401472 A1 SU 1401472A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
control
block
control unit
Prior art date
Application number
SU864130942A
Other languages
Russian (ru)
Inventor
Владимир Александрович Воронцов
Лидия Николаевна Извозчикова
Original Assignee
Предприятие П/Я М-5339
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 Предприятие П/Я М-5339 filed Critical Предприятие П/Я М-5339
Priority to SU864130942A priority Critical patent/SU1401472A1/en
Application granted granted Critical
Publication of SU1401472A1 publication Critical patent/SU1401472A1/en

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано при построении сети ЭВМ путем сопр жени  персональной ЭВМ с ЭВМ единой системы. Целью изобретени   вл етс  повышение скорости передачи данных за счет реализации возможности подключени  персональной ЭВМ непосредственно к селекторному каналу головной ЭВМ, мину  устройство управлени  диспле ми. Поставленна  цель достигаетс  путем введени  в известное устройство дл  сопр жени  блока 5 управлени  обменом, блока 6 стробов, двунаправленного шинного формировател  7 и четьфех шинных формирователей 8-11. Дп  управлени  устройством используетс  программа, хран ща с  в пам ти персональной ЭВМ. При обмене данными с пам тью персональной ЭВМ устройство дл  сопр жени  использует канал типового блока пр мого доступа. 7 ил. слThe invention relates to computing and can be used in building a computer network by interfacing a personal computer with a single computer system. The aim of the invention is to increase the speed of data transmission due to the realization of the possibility of connecting a personal computer directly to the selector channel of the main computer, mine the display control unit. This goal is achieved by introducing into the known device for interfacing the exchange control unit 5, the gates block 6, the bi-directional bus driver 7 and the four bus driver shaders 8-11. Dp control device uses a program stored in the personal computer memory. When exchanging data with the personal computer memory, the device for interfacing uses the channel of a typical direct access unit. 7 il. cl

Description

п гйp gy

4four

toto

1one

Изобретение относитс  к вычислительной технике и может быть исполь- зозано при построении сети ЭВМ путем сопр жени  персональной ЭВМ с ЭВМ единой системы.The invention relates to computing and can be used in building a computer network by interfacing a personal computer with a single computer system.

Цель изобретени  - повышение скорости передачи данных за счет реали- зации возможности подключени  персональной ЭВМ непосредственно к селекторному каналу головной ЭВМ, мину  устройство управлени  диспле ми.The purpose of the invention is to increase the speed of data transmission due to the realization of the possibility of connecting a personal computer directly to the selector channel of the main computer, mine the display control unit.

На фиг. 1 представлена функциональна  схема устройства дл  сопр жени  персональной ЭВМ с селекторным каналом; на фиг. 2 - блок выборкиj на фиг. 3 - блок идентификаторов абонента на фиг. 4 - блок управлени ; на фиг. 5 - блок управлени  обменом; на фиГа 6 - блок стробов на фиг. 7- алгоритм программы обслуживани  уст- ройства дл  сопр жени .FIG. 1 shows a functional diagram of an apparatus for interfacing a personal computer with a selector channel; in fig. 2 is a sampling unit in FIG. 3 shows a subscriber identity block in FIG. 4 - control unit; in fig. 5 — exchange control unit; Figure 6 shows the gates block in FIG. 7 - algorithm of the program for servicing the interface device.

Устройство дл  сопр жени  ЭВМ с селекторным каналом содержит блок 1 выборки, блок 2 идентификаторов абонента , блок 3 управлени , выходной регистр 4, блок. 5 управлени  обменом блок 6 стробов, двунаправленный формирователь 7, первый 8, второй 9, третий Ю и четвертьй 11 формирователи и имеет внутреннюю двунаправлен- ную шину 12 данных, первый вход 13 управлени , информационный вход-выход 1А, второй вход 15 управлени , информационный вход 16, выход 17 управлени , выход 18 запроса на преры- вание, информационньш выход 19,The device for interfacing the computer with the selector channel comprises a sampling unit 1, a subscriber identifier unit 2, a control unit 3, an output register 4, a unit. 5 exchange control unit 6 gates, bidirectional driver 7, first 8, second 9, third Yu and quarter 11 drivers and has an internal bidirectional data bus 12, first control input 13, information input / output 1A, second control input 15, information input 16, control output 17, interrupt request output 18, information output 19,

Блок 1 выборки (фиг. 2) содержит генератор 20 адреса абонента, триггер 21 распространени  выборки, триггер 22 выборки, узел 23 сравне- ни , элементы И 24-31, элементы ИЛИ 32-34J выход 35 сигнала захвата выборки, выход 36 триггера выборки, выход 37 сигнала начальной выборки (НВБР)..Sampling unit 1 (Fig. 2) contains a subscriber address generator 20, sample distribution trigger 21, sample trigger 22, comparison node 23, AND elements 24-31, OR elements 32-34J, sample capture signal output 35, sample trigger output 36 , the output 37 signal of the initial sample (NBR) ..

Блок 2 идентификаторов абонента (фиг. 3) содержит регистр 38, элеметы И 39-42, элемент ИЛИ 43, выход 44 сигнала Запомнить состо ние (ЗАПС) выход 45 РАБ-А, выход 46 сигнала требовани .The subscriber identifier block 2 (Fig. 3) contains a register 38, elements AND 39-42, element OR 43, signal output 44. Remember the state (REC); output 45 RAB-A, output 46 of the demand signal.

Блок 3 управлени  (фиг. 4) содержит триггер 47 селективного сброса, триггер 48 системного сброса, триггер 49 направлени  передачи данных, триггер 50 обмена, триггер 51 останова , элементы И 52-58, элементы ИЛИ 59-65, выход 66 направлени  передачи данных из канала в ПЭВМ, выThe control unit 3 (Fig. 4) contains a selective reset trigger 47, a system reset trigger 48, a data transfer trigger 49, an exchange trigger 50, a stop trigger 51, AND elements 52-58, OR elements 59-65, data transfer direction output 66 from the channel in PC, you

5five

5five

1one

0 5 0 5

0 50 5

gg

47224722

Ход 67 направлени  передачи данных из ВЭВМ в канал, выход элемента ИЛИ 63 - общий сброс, выход элемента ИЛИ 64 - запрос на прерывание в системную шину, выход 68 сигнала сброса блока управлени  обменом.The path 67 for sending data from VEVM to the channel, the output of the element OR 63 is a general reset, the output of the element OR 64 is the interrupt request to the system bus, the output 68 of the reset signal of the exchange control unit.

Блок 5 управлени  обменом (фиг, 5) содержит, триггер 69, элементы И 70- 78, триггер 79 конца обмена, элементы ИЛИ 80-84, выход элемента ИЛИ 83 - сигнал запроса на передачу данных по системной шине, выход элемента ИЛИ 84 - сигнал конца обмена, выход триггера 69 - ИНФ-А.The exchange control unit 5 (FIG. 5) contains trigger 69, elements AND 70- 78, exchange end trigger 79, elements OR 80-84, the output of the element OR 83 —the request signal for transferring data over the system bus, the output of the element OR 84 - signal of the end of the exchange, trigger output 69 - INF-A.

Блок 6 стробов (фиг, 6) содержит дешифратор 85, элементы И 86-99, элементы ИЛИ 100-104, выход 105 - строб записи в выходной регистр (ШИН-А)5 выход 106 - строб чтени  (ШИН-К).The gates block 6 (FIG. 6) contains a decoder 85, elements AND 86-99, elements OR 100-104, output 105 — write strobe to the output register (SHIN-A) 5 output 106 — reading strobe (SHIN-K).

Вход 13 управлени  устройства содержит разр ды 107 - РВБ-К, 108- ВБР-К, 109 - АДР-К, 110 - БЛК-К, 111 - УПР-К, 112 - ИНФ-К, 113 - РАБ-К.The device control input 13 contains bits 107 - RVB-K, 108-VBR-K, 109 - ADR-K, 110 - BLK-K, 111 - UPR-K, 112 - INF-K, 113 - RAB-K.

Вход 15 управлени  устройства содержит разр ды 114 - цикл обмена, 115 - адресна  шина, 116- конец обмена , 117 - блокировка адреса, 118- сброс по включению питани , 119- запись в порт, 120 - чтение порта.The device control input 15 contains bits 114 — an exchange cycle, 115 — an address bus, 116- the end of an exchange, 117 - an address lock, 118- a power-on reset, 119- a write to the port, 120 - a port read.

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

Блок 1 выборки (фиг, 2) определ ет , что со стороны канала выполн етс  последовательность начальной выборки (канал установил на ШИН-К 16 адрес ПЭВМ, АДР-К 109, ВБР-К 108, а затем РВБ-К 107), возбужда  выход 37, Сигнал с выхода .элемента И 31 сбрасывает триггер 21 распространени  выборки, а при по влении РВБ-К 107 устанавливает триггер 22 выборки , что возбуждает выход 35, Если же вьшолн етс  выборка по требованию, то возбуждаетс  только выход 35, анализиру  который программа обслуживани  устройства дл  сопр жени  определ ет , что оно захватило выборку.Sampling unit 1 (FIG. 2) determines that the initial sampling sequence is performed on the channel side (the channel has set the address of the PC, ADR-K 109, VBR-K 108, and then RVB-K 107 to the SIN-K 16), excitation output 37, the signal from the output of the element And 31 resets the distribution trigger 21, and when the RVB-K 107 appears, sets the trigger 22 of the sample, which excites output 35, but if the sample is performed on demand, only output 35 is excited, analyzing which the mapper maintenance program determines that it has captured a sample.

Блок 2 идентификаторов абонента . (фиг, 3) предназначен дл  программной установки идентификаторов абонента. Сброс идентификаторов может быть выполнен также по сигналу общего сброса из блока 3 управлени .Block 2 subscriber IDs. (FIG. 3) is intended to programmatically set subscriber identifiers. Reset of identifiers can also be performed on a general reset signal from control unit 3.

Блок 3 управлени  (фиг, 4) предназначен дл  управлени  работой устройства дл  сопр жени . Триггер 47 селективного сброса устанавливаетс .The control unit 3 (FIG. 4) is designed to control the operation of the interface device. The selective reset trigger 47 is set.

33

если канал выполн ет селективный сброс ПЭВМ (установлен БЛК-К 110 и сброшен РАБ-К 113). Триггер 48 системного сброса устанавливаетс , если канал вьшолн ет системный сброс (сброшены РАБ-К 113 и БЛК-К 110). Триггер 49 направлени  устанавливаетс  программно и определ ет направление передачи данных. Триггер 50 обмена устанавливаетс  программно и разрешает обмен данными между каналом и ПЭВМ. Триггер 51 останова устанавливаетс , если канал выдает последовательность отключени  от интерфейса во врем  передачи данных (устанавливает АДР-К 109 и сбрасывает РВБ-К 107 и ВБР-К 108). Единичное состо ние триггера 51 вызывает сброс триггера 50 обмена, что, в свою очередь , вызывает сигнал 68 сброса блока управлени  обменом. Запрос на прерывание в системную шину с выхода элемента ИЛИ 64 формируетс , если со стороны канала вьтолн етс  либо селетивный сброс ПЭВМ (установлен триггер 47), либо сброс системы (установлен триггер 48), либо начальна  выборка ПЭВМ (есть сигнал НВБР 37 из блока 1 выборки),if the channel performs a selective reset of the PC (the BLK-K 110 is installed and the RAB-K 113 is reset). A system reset trigger 48 is set if the channel is performing a system reset (RAB-K 113 and BLK-K 110 are reset). The direction trigger 49 is programmed and determines the direction of the data transfer. The exchange trigger 50 is established in software and permits data exchange between the channel and the PC. A stop trigger 51 is set if the channel issues a disconnect sequence from the interface during data transfer (sets ADR-K 109 and resets the RVB-K 107 and VBR-K 108). A single state of flip-flop 51 causes a flip-flop of flip-flop 50 to be reset, which, in turn, causes a reset control signal 68 to clear. A request to interrupt the system bus from the output of the OR 64 element is generated if either the selective reset of the PC (set trigger 47) or the system reset (set trigger 48) or the initial PC sample (there is a HBRB 37 signal from block 1 sampling)

Выходной регистр 4 предназначен дл  установки на ШИН-А адреса ПЭВМ, байта состо ни  данных.Output register 4 is intended to set the address of the PC, the data status byte, on the TIR-A.

Блок 5 управлени  обменом (фиг. 5) служит дл  управлени  обменом данными между устройством дл  сопр же- ни  и каналом по интерфейсу ввода- вывода и между устройством дл  сопр жени  и пам тью ПЭВМ по системной шине. Выход элемента ИЛИ 77 - сигнал запроса на передачу по системной шин выход элемента ИЛИ 78 - сигнал конца обмена, выход триггера 69 - ИНФ-А.The exchange control unit 5 (FIG. 5) serves to control the data exchange between the interface device and the channel over the I / O interface and between the interface device and the PC memory on the system bus. The output of the element OR 77 is the request signal for transmission over the system bus, the output of the element OR 78 is the signal of the end of exchange, the output of the trigger 69 is INF-A.

Блок 6 стробов (фиг. 6) вырабатывает стробы чтени  и записи.и сигналы , которые управл ют прохождени- ем информации через двунаправленный формирователь 7.The gates block 6 (Fig. 6) generates reading and writing gates. And signals that control the passage of information through the bi-directional driver 7.

Формирователи 8-11 предназначены дл  вьщачи информации с информационного входа на внутреннюю шину 12 данных по стробам чтени  с блока 6 стробов.The formers 8-11 are intended for receiving information from the information input to the internal bus 12 of data on reading gates from the block 6 of gates.

Дл  управлени  устройством дл  сопр жени  ПЭВМ использует программу , котора  управл ет оборудованием устройства дл  сопр жени , использу  команды ввода и вывода. Команды вывода используютс  дл  установки или сброса тех или иных триггеров, дл To control the device to interface, the PC uses a program that controls the equipment of the device to interface using input and output commands. Output commands are used to set or reset any trigger for

00

5five

II

5 five

5 five

47244724

установки адреса ПЭВМ и байта состо ни  на ШИИ-А. Команды ввода используютс  дл  анализа состо ни  элементов оборудовани .setting the address of the PC and the byte of the state on ShII-A. Input commands are used to analyze the state of the items of equipment.

Команда ввода передает байт из порта ввода в аккумул тор ПЭВМ. При выполнении команды ввода системной шиной выполн етс  цикл чтени  порта, при этом адрес порта помещаетс  на адресную шину 115, нет блокировки шины 117, возбуждаетс  лини  120 чтени  порта. В блоке 6 стробов (фиг. 6) сигнал с выхода элемента 101 отсутствует, что настраивает двунаправленный формирователь 7 на передачу информации с внутренней шины 12 данных на информационный вход-выход 14 устройства, возбужден сигнал с входа элемента ИЛИ 102, который управл ет выходом двунаправленного формировател  7, а также возбужден строб чтени  (выход одного из элементов И 94-97), информаци  с выхода одного из формирователей 8-11 по стробу чтени  с блока 6 поступает на шину 12 данных и через двунаправленный формирователь 7 на информационный вход-выход 14 устройства .The input command transfers a byte from the input port to the PC battery. When the input command is executed by the system bus, the port is read cycle, the port address is placed on the address bus 115, no bus 117 is blocked, and the port reading line 120 is energized. In block 6 of gates (Fig. 6), the signal from the output of element 101 is absent, which configures the bidirectional driver 7 to transmit information from the internal data bus 12 to the information input-output 14 of the device; the signal from the input of the element OR 102 is excited, which controls the output of bi-directional the driver 7, as well as the reading strobe (output of one of the elements 94-97), the information from the output of one of the drivers 8-11 through the reading gate from block 6 enters the data bus 12 and through the bi-directional driver 7 to information input-output 1 4 devices.

- Команда вывода передает байт из аккумул тора в порт вывода. При выполнении команды вывода системной шиной выполн етс  цикл записи в порт, при этом адрес порта помещаетс  на адресную шину 115, нет блокировки адресной шины 117, возбуждена лини  119 записи в порт, в блоке 6 стробов возбужден сигнал с выхода элемента ИЛИ 101, который настраивает двунаправленный формирователь 7 на передачу информации с информационного входа-выхода 14 устройства на шину 12 данных, возбужден сигнал с выхода элемента ИЛИ 102, который управл ет выходом двунаправленного формировател  7, а также возбужден строб записи (выход одного из элементов И 91-93, информаци  с информационного входа-выхода 14 устройства через двунаправленный формирователь поступает на шину 12 данных и по концу строба записи фиксируетс  в одном из блоков 2-4.- The output command sends a byte from the battery to the output port. When executing a command for outputting by the system bus, a write cycle to the port is performed, the port address is placed on address bus 115, no address bus 117 is blocked, the write line 119 is excited to the port, in block 6 gates the signal from the output of the OR 101 element, which adjusts bidirectional driver 7 for transferring information from information input / output 14 of the device to data bus 12, a signal from the output of the element OR 102, which controls the output of the bidirectional driver 7, is excited, as well as recording strobe (output one and From the elements 91-193, information from the device information input-output 14 through the bi-directional driver arrives on the data bus 12 and at the end of the recording strobe is fixed in one of the blocks 2-4.

Дл  обмена данными с оперативной пам тью ПЭВМ устройства дл  сопр жени  использует блок пр мого доступа к пам ти (ПДП), расположенный на системной плате ПЭВМ. По запросу на передачу данных с выхода блока 5 управлени  обменом ПДП организует циклы передачи данных по системной шине между оперативной пам тью и портом ввода-вывода.For data exchange with the operating memory of the PC, the device for interfacing uses a direct memory access unit (DAP) located on the system board of the PC. Upon request for data transfer from the output of the exchange control unit 5, the RAP organizes data transfer cycles on the system bus between the RAM and the I / O port.

Перед тем как использовать ПДП, его необходимо запрограммировать. Это значит установить режим работы (Одиночный, по требованию), задать направление передачи данных (Запись в пам ть, Чтение из пам ти) занести начальный адрес данных, занести счетчик байтов.Before you use the RAP, it must be programmed. It means to set the operation mode (Single, on demand), set the direction of data transfer (Write to memory, Read from memory), enter the initial address of the data, and add a byte counter.

Устройство дл  сопр жени  использует ПДП в одиночном режиме работы. В этом режиме в ответ на запрос на передачу данных вьтолн етс  один 1щкл передачи данньгх по системной шине. В цикле передачи байт данных передаетс  из пам ти в порт или наоборот . Адрес данных в ПДП модифицируетс  на +1, счетчик байтов на -1. В цикле передачи последнего байта , когда счетчик байтов становитс  нулевым, возбуждаетс  сигнал 116 конца обмена.The device for pairing uses PDP in a single mode of operation. In this mode, in response to a request for data transfer, one data transmission over the system bus is executed. In a transmission cycle, data bytes are transmitted from the memory to the port or vice versa. The data address in the PDU is modified by +1, the byte count by -1. In the last byte transmission cycle, when the byte counter becomes zero, the end of exchange signal 116 is energized.

Признаком того, что системна  шина выполн ет цикл передачи данньк под управлением ПДП,  вл етс  наличие сигнала 114. цикла обмена, который разрешает в блоке 6 строб аппаратной записи с выхода элемента И 98 и строб аппаратного чтени  с выхода элемента И 99, и наличие сигнала 117 блокировки адреса, которыйA sign that the system bus performs a data transfer cycle under the control of the RAP, is the presence of a signal 114. exchange cycle, which permits in block 6 a hardware write strobe from the output of the And 98 element and a hardware read strobe from the output of the And 99 element, and the presence of a signal 117 address blocking which

блокирует стробы с элементов И 91-97 Iblocks gates with elements And 91-97 I

Если есть сигнал 119 записи, то выполн етс  цикл передачи байта данных из оперативной пам ти ПЭВМ в выходной регистр 4. Данные считываютс  из оперативной пам ти на инфор- мационньй вход-выход 14 устройства, через двунаправленный формирователь 7 попадают на внутреннюю шину 12 данных (фиг. 1) и записываютс  в вькод- ной регистр 4 по стробу 105 записи. Если есть сигнал 120 чтени , то выполн етс  цикл передачи байта данных с входа 16 информации интерфейса (ШИН-К) в оперативную пам ть ПЭВМ: строб чтени  106 опрашивает формирователь 8, на информационном входе которого присутствуют данные с ШИН-К Данные с выхода формировател  8 попадают на внутреннюю шину 12 данньк, через двунаправленный формирователь 7 - на информационный вход-выход устройства 14 и в оперативную пам ть ПЭВМ,If there is a write signal 119, then a data byte transfer cycle from the main memory of the PC to the output register 4 is performed. The data is read from the main memory to the information input / output 14 of the device, through the bi-directional driver 7 they go to the internal data bus 12 ( Fig. 1) and are written to the VC 4 on gate 105 of the record. If there is a read signal 120, then the data byte from the input 16 of the interface information (BUS-K) to the main memory of the personal computer is executed: the reading strobe 106 queries the driver 8, on the information input of which there is data from the BUS-K 8 get on the internal bus 12 dnnk, through the bidirectional driver 7 - on the information input-output device 14 and in the operational memory of the PC,

В исходное состо ние устройство дл  сопр жени  переходит либо после сброса системы или селективного сброса со стороны канала, либо после завершени  операции ввода-вывода. В исходном состо нии все триггеры блока 3 управлени  сброшены. С выхода 69 блока 3 управлени  сигнал сбросаThe device for resetting the device to the initial state transitions either after a system reset or a selective channel side reset, or after an I / O operation is completed. In the initial state, all the triggers of the control unit 3 are reset. From the output 69 of the control unit 3, the reset signal

Q поступает на вход блока 5 управлени  обменом и поддерживает его в исходном состо нии.Q is fed to the input of the exchange control unit 5 and maintains it in the initial state.

ПЭВМ, имеюща  в своем составе устройство дл  сопр жени  с каналом,A PC, having in its composition a device for interfacing with a channel,

с представл ет дл  канала активное периферийное устройство. Чтобы обмен тьс  данными с каналом, устройство дл  сопр жени  передает в канал байт состо ни  с битом Внимание, чтоc represents for the channel the active peripheral device. In order to exchange data with the channel, the interface device transmits to the channel the status bytes with the bit.

вызывает установку прерывани  в канале . causes an interrupt setting on the channel.

После обработки прерывани  канал выполн ет начальную выборку ПЭВМ в команде Начать ввод-вывод, чтобыAfter the interrupt processing, the channel performs the initial PC sample in the Start I / O command in order to

5 выполнить операцию записи данных в ПЭВМ или чтени  их из ПЭВМ.5 to perform the operation of writing data to a PC or reading them from a PC.

Программа обслуживани  устройства дл  сопр жени  (фиг. 7) имеет два входа. Вход 1 (вход по программному прерыванию) используетс  дл  отработки последовательности передачи байта состо ни  типа Внимание в канал . Вход 2 (вход аппаратного прерывани  от устройства дл  сопр жени ) используетс  дл  отработкиThe maintenance program of the interface device (Fig. 7) has two inputs. Input 1 (software interrupt input) is used to test the sequence of transmitting a status byte to the channel. Input 2 (hardware interrupt input from the mating device) is used to test

5 последовательности начальной выборки и последовательностей сброса (системного и селективного). I5 sequences of initial sampling and reset sequences (system and selective). I

Программа обслуживани  устанав0 ливает бит требовани  (ТРБ) в регистре 38 (фиг. 3), что вызывает по вление ТРВ-А на выходе 17 управлени  устройства и зацикливаетс  в ожидании выборки со стороны кана- g ла, опрашива  формирователь 11 (бит ВЕР). Определив, что канал прислал выборку, программа переходит к вьтол- нению последовательности выборки. В конце последовательности выборки программа анализирует ответ на сигнал УПР-А. Возможны два ответа. Если это УПР-К, то программа сбрасывает УПР-А, дожидаетс  сброса каналом сигнала выборки, сбрасываетThe service program sets the request bit (TRB) in register 38 (FIG. 3), which causes the appearance of TRV-A at the device control output 17 and loops, waiting for the sample from the channel g, polling driver 11 (BEP bit). Having determined that the channel has sent a sample, the program proceeds to the selection sequence. At the end of the sampling sequence, the program analyzes the response to the UPR-A signal. There are two possible answers. If it is UPR-K, then the program resets UPR-A, waits for the channel to reset the sample signal, resets

g РАВ-А, устанавливает триггер ЗАПС и зацикливаетс  на ожидании выборки из канала и далее, как описано вьш1е. Если это ИНФ-К, то программа сбрасывает УПР-А, анализирует признакg PAB-A, sets the trigger of the ZAP and loops while waiting for a sample from the channel and further, as described above. If it is INF-K, then the program resets the UPR-A, analyzes the sign

00

00

н ачальног о байта состо ни  (его нет) провер ет сн л ли канал выборку и отключаетс  от канала (сбрасывает РАБ-А), Выполн етс  выход из программы обслуживани  и ПЭВМ зацикливаетс  в ожидании прерывани  от устройства дл  сопр жени .The initial status byte (it is not present) checks whether the channel has taken a sample from the channel and is disconnected from the channel (resets RAB-A), Exits the service program, and the PC loops, waiting for an interrupt from the pairing device.

Когда канал начинает последовательность начальной выборки ПЭВМ, возбуждаетс  выход 37 НВБР блока 1 выборки, сигнал с которого поступает на вход блока 3 управлени , с выхода которого в системную шину поступает сигнал запроса на прерывание, В результате прерывани  от устройства дл  сопр жени  управление передаетс  программе обслуживани  устройства дл  сопр жени  (вход 2). Программа определ ет, что прерывание вызвано начальной выборкой (опрашива  формирователь 10), устанавливает дл  себ  признак начального байта состо ни  и переходит к выполнению исследова- тельности выборки. Запоминает команду , присланную из канала в начальной выборке,.получив ИНФ-К, сбрасывает УПР-А, анализирует признак начального байта состо ни  (он есть) и переходит к подготовке ПДП: устанавливает бит направлени  передачи данных по системной шине, исход  из команды, присланной каналом в начальной выборке, заносит адрес данных в счетчики байтов из фиксированной области пам ти. Далее программа устанавливает триггер 49 направлени  в блоке 3 управлени  (О - передача данных из ПЭВМ в канал, 1 - передача данных из канала в ПЭВМ). Затем программа устанавливает триггер 50 обмена и ожидает его сброса. Единичное состо ние триггера 50 обмена разрешает по вление сигналов на выходах 66 и 67, задающих направление обмена и разрешающих выдачу запросных сигналов блоком 5 управлени  обменом.When the channel starts the sequence of the initial sampling of the PC, the NBRB output 37 of the sampling unit 1 is excited, the signal from which is fed to the input of the control unit 3, from the output of which the interrupt request signal is sent to the system bus. As a result of the interrupt from the pairing device, control is transferred interface devices (input 2). The program determines that the interrupt is caused by the initial sample (by polling the driver 10), sets for itself the sign of the initial status byte and proceeds to perform the probing sample. He remembers the command sent from the channel in the initial sample, having received the INF-K, resets the UPR-A, analyzes the sign of the initial status byte (it is) and proceeds to prepare the RAP: sets the data direction bit on the system bus, the outcome from the command, sent by the channel in the initial sample, puts the data address in the byte counters from the fixed memory area. Next, the program sets the trigger trigger 49 in the control unit 3 (O - data transfer from the PC to the channel, 1 - data transfer from the channel to the PC). The program then sets the exchange trigger 50 and waits for it to be reset. The unit state of the exchange trigger 50 permits the appearance of signals at the outputs 66 and 67, which set the direction of the exchange and permit the issuance of the request signals by the exchange control unit 5.

Если возбужден выход 67, то передача данных из ПЭВМ в канал выполн етс  следующим образом.If output 67 is energized, data transfer from the PC to the channel is performed as follows.

Сразу после установки триггера 50 обмена устанавливаетс  запрос на передачу данных по системной шине и выполн етс  цикл передачи байта дан- ньпс по системной шине, в котором сигнал 114 цикла обмена блокирует запрос на передачу данных по системной шине, байт данных из оперативной пам ти записываетс  в выходнойImmediately after installing the exchange trigger 50, a request to transmit data over the system bus is established, and a data byte transfer cycle is performed on the system bus, in which the exchange cycle signal 114 blocks the request to transmit data on the system bus, the data byte from the operational memory is written to output

5five

00

5five

1one

00

5five

00

5five

00

5five

47284728

регистр 4 (ШИН-Д) по стробу 105 записи, по заднему фронту которого устанавливаетс  также триггер 69 ИНФ-А, в ответ на который канал присыпает ИНФ-К 112, по которому сбрасываетс  ИНФ-А, на что канал отвечает сбросом ИНФ-К, что приводит оп ть к установке запроса на передачу данных по системной шине и далее.register 4 (SHIN-D) on recording gate 105, on the falling edge of which the trigger INFO-A 69 is also set, in response to which the channel is strewed by INF-K 112, through which the INF-A is reset, to which the channel responds by resetting INF-K , which again leads to the installation of a request for data transmission over the system bus and on.

При выполнении цикла передачи последнего байта по системной шине по сигналу 116 конца обмена в блоке 5 управлени  обменом установитс  триггер конца обмена, выход которого через элемент ИЛИ 80 блокирует запрос на передачу данных по системной шине, а когда байт данных передан в канал (по витс  сигнал ИНФ-К 112), на выходе элемента И 77 вырабатываетс  сигнал конца обмена, который сбросит триггер 50 обмена в блоке 3 управлени .When executing the last byte transfer cycle over the system bus, the exchange end signal 116 in the exchange control block 5 sets the exchange end trigger, the output of which through the OR 80 element blocks the request to transfer data over the system bus, and when the data byte is transmitted to the channel ( INF-C 112), at the output of the And 77 element, an end-of-exchange signal is generated, which will reset the exchange trigger 50 in the control unit 3.

Если возбужден выход 66, то передача данных из канала в ПЭВМ выполн етс  следуюш;им образом.If output 66 is energized, the data transfer from the channel to the PC is performed in the following way.

Сразу после установки триггера 50 обмена устанавливаетс  триггер 69 ИНФ-А, на что канал отвечает ИНФ-К 112 и присылает байт данных по ШИН-К 16. По совпадению сигналов на входах элемента И 75 устанавливаетс  запрос на передачу данных по системной шине . Выполн етс  цикл передачи данных по системной шине, в котором сигнал 114 цикла обмена блокирует запрос на передачу данных по системной шине , по заднему фронту строба 106 чтени  сбрасываетс  триггер 69 ИНФ-А, на что канал отвечает сбросом ИНФ-К 112, что приводит оп ть к установке ИНФ-А и далее как описано выше.Immediately after the installation of the exchange trigger 50, an INF-A trigger 69 is installed, to which the channel responds with INF-K 112 and sends a data byte over BUS-K 16. By the coincidence of the signals at the inputs of the element 75, a request for data transmission over the system bus is established. A system bus data transmission cycle is performed, in which the exchange cycle signal 114 blocks the request for data transmission via the system bus, the flip-flop 69 INF-A is reset on the falling edge of the reading strobe 106, to which the channel responds with an IF-112 fault, resulting in to install the INF-A and further as described above.

При выполнении цикла передачи последнего байта по системной шине по сигналу 116 конца обмена устанавливаетс  триггер 79 конца обмена, выход которого блокирует цепь установки , триггера 69 ИНФ-А и запрос на передачу данных по системной шине. По сбросу ИНФ-К 112 вырабатьтаетс  сигнал конца обмена с выхода элемента И 78, который сбросит триггер 50 обмена в блоке 3 управлени . Сигнал конца обмена вьфабатываетс  в блоке 5 и по сигналу УПР-К 111.When executing the last byte transfer cycle over the system bus, the end of exchange signal 79 sets the trigger 79 for the end of the exchange, the output of which blocks the set circuit, the trigger 69 INF-A and the request to transfer data over the system bus. By resetting the INF-K 112, an end-of-exchange signal from the output of the And 78 element is generated, which will reset the exchange trigger 50 in control unit 3. The end-of-exchange signal is terminated in block 5 and by the UPR-K 111 signal.

Программа определ ет конец обмена и переходит к выполнению последовательности выдачи в канал конечного байта состо ни , завершив которую, приводит оборудование в исходноеThe program determines the end of the exchange and proceeds to the execution of the sequence of output to the channel of the final state byte, completing which, leads the equipment to its original state.

состо ние и выполн ет возврат к прерванной программеstatus and returns to interrupted program

Claims (2)

Формула изобретени Invention Formula Устройство дл  сопр жени  ЭВМ с селекторным каналом, содержащее блок идентификаторов абонента, блок уп- равлени , выходной регистр, информационный выход которого  вл етс  информационным выходом устройства, блок выборки, вход блокировки которого соединен с выходом признака блокировки блока идентификаторов абонента , разр ды первого выхода управлени  которого соединены с соответствующими разр дами вькода управлени  устройства, выход управлени  блока выборки подключен к соответствующему разр ду выхода управлени  устройства, разр ды входа упрэвле- ни  блока выборки соединены с соответствующими разр дами первого входа управлени  устройства, разр ды входа блокироэки блока идентификаторов абонента соединены с соответствующими разр дами «первого входа управлени  устройства, разр ды первого входа блока управлени  соединены с соответствующими разр дами первого входа управлени  устройства, первый выход сброса блока управлени  соединен с входом сброса блока идентификаторов абонента, второй выход управлени  которого соединен с вторым входом блока управлени , второй выход сброса которого соединен с первым входом сброса блока выборки, адресный вход которого соединен с информационным входом устройства, о т- ли чающеес  тем, что, с целью повьшени  скорости передачи данных за счет подключени  персональной ЭВМ непосредственно к селекторному каналу головной ЭВМ, мину  устройство управлени  диспле ми, в него введены блок стробов, двунаправленный шинный формирователь, четыре шинных формировател , блок управлени  обменом, выход сброса которого соединен с первым входом сброса блока управлени , второй вход сброса которого соединен с соответствующим разр дом второго входа управлени  устройства, второй вход сброса блока выборки соединен с соответствующим разр дом второго входа управлени  устройства, разр ды входа управлени  блока стробов соединены с соответA device for interfacing a computer with a selector channel containing a subscriber identifier block, a control block, an output register whose information output is an information output of the device, a sampler block whose blocking input is connected to the output of the block sign attribute of the subscriber ID block, the first output bits control unit which is connected to the corresponding bits of the control code of the device, the control output of the sampling unit is connected to the corresponding bit of the control output of the device, The inputs of the control unit of the sample block are connected to the corresponding bits of the first control input of the device, the bits of the input block of the subscriber's identifier block are connected to the corresponding bits of the first control input of the device, the bits of the first input of the control block are connected to the corresponding bits of the first control input of the device , the first reset output of the control unit is connected to the reset input of the subscriber identity block, the second control output of which is connected to the second input of the control unit, v The output reset output of which is connected to the first reset input of the sampling unit, whose address input is connected to the information input of the device, in order to increase the data transfer rate by connecting the personal computer directly to the selector channel of the main computer, mine device display controls, a gates block, a bi-directional bus driver, four bus drivers, an exchange control block, whose reset output is connected to the first reset input of the control block, are inserted into it second reset input of which is connected to the corresponding input of the second discharge control device, the second sampling block reset input connected to a respective input of the second discharge control device, the control unit discharges the entrance gates are connected to rows respectively 5five 00 5five 00 5five 00 5five 00 5555 ствующими разр дами UToptiro входа управлени  ус гройстг1а, выход управлени  передачей блока стробов соединен с входом управлени  передачей двунаправленного шинного формировател , первый информационный вход-выход которого  вл етс  информационным входом-выходом устройства, второй информационный вход-выход двунаправленного шинного формировател  соединен с информационным входом блока идентификаторов абонента, с входом приема управл ющей информации блока управлени  и с информационным входом выходного регистра, разр ды первого информационного входа второго шинного формировател  подключены к соответствующим разр дам первого выхода управлени  блока идентификаторов абонента, выход запроса блока выборки соединен с входом запроса блока управлени , выход управлени  которого соединен с входом управлени  блока управлени  обменом, первый выход запроса которого подключен к соответствующему разр ду выхода управлени  устройства и к второму информационному входу второго шинного формировател  , информационный вход третьего шинного формировател  соединен с выходом управл ющей информации блока управлени , выход запроса которого соединен с соответствующим разр дом выхода запроса на прерывание устройства, второй выход запроса блока управлени  обменом соединен с соответствующим разр дом выхода запроса на прерывание устройства , разр ды первого входа подтверждени  блока управлени  обменом соединены с соответствующими разр дами первого входа управлени  устройства, разр ды второго входа подтверждени  блока управлени  обменом соединены с соответствующими разр дами второго входа управлени  устройства, информа- ционньш вход первого шинного формировател  подключен к информационному входу устройства, вход разрешени  первого шинного формировател  соединен с выходом первого, строба блока стробов и с входом первого стробаthe UToptiro control input of the control unit, the transmission control output of the gates unit is connected to the transmission control input of the bi-directional bus driver, the first information input / output of which is the information input device of the device, the second information input output of the bi-directional bus driver is connected to the information input of the device subscriber identifiers, with the input of the control information of the control unit and with the information input of the output register, the bits of the first information the second bus driver is connected to the corresponding bits of the first control output of the subscriber identity block, the query output of the sampling block is connected to the request input of the control block, the control output of which is connected to the control input of the exchange control block, the first request output of which is connected to the corresponding control output bit device and to the second information input of the second bus driver, the information input of the third bus driver is connected to the control output control unit, whose request output is connected to the corresponding output of the device interrupt request, the second request output of the exchange control block is connected to the corresponding output of the device interrupt request, the first confirmation input of the exchange control unit is connected to the corresponding bit the first control input of the device, the bits of the second input of the confirmation of the exchange control unit are connected to the corresponding bits of the second control input of the device information, the input of the first bus driver is connected to the information input of the device, the enable input of the first bus driver is connected to the output of the first gate of the gates block and the input of the first gate блока управлени  обменом, вход второго строба которого соединен с входом разрешени  выходного регистра и с выходом второго строба блока стробов , выходы с третьего по седьмой стробов которого подключены к входамexchange control unit, the input of the second gate of which is connected to the resolution input of the output register and with the output of the second gate of the gate block, whose outputs from the third to the seventh gate are connected to the inputs В6Р-КV6R-K 7777 ejej tJ)U.ltJ) U.l Фиг.ЗFig.Z /J 2/ J 2 ОригЛORIGL /J / J (PI/(PI / 2.S2.S e6iJfodj фnle6iJfodj fnl
SU864130942A 1986-10-08 1986-10-08 Device for interfacing a computer with selector channel SU1401472A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU864130942A SU1401472A1 (en) 1986-10-08 1986-10-08 Device for interfacing a computer with selector channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU864130942A SU1401472A1 (en) 1986-10-08 1986-10-08 Device for interfacing a computer with selector channel

Publications (1)

Publication Number Publication Date
SU1401472A1 true SU1401472A1 (en) 1988-06-07

Family

ID=21261568

Family Applications (1)

Application Number Title Priority Date Filing Date
SU864130942A SU1401472A1 (en) 1986-10-08 1986-10-08 Device for interfacing a computer with selector channel

Country Status (1)

Country Link
SU (1) SU1401472A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР №789989, кл. G 06 F 13/14, 1978. Авторское свидетельство СССР № 955017, кл. С 06 F 3/00, 1980. *

Similar Documents

Publication Publication Date Title
US6243834B1 (en) Apparatus and method for capturing information off a plurality of bi-directional communications buses
US5619722A (en) Addressable communication port expander
EP0522764A2 (en) Multiplexing scheme for modem control signals
JPS5971527A (en) Computer system
US5684960A (en) Real-time ring bandwidth utilization calculator by sampling over a selected interval latch's states set by predetermined bit pattern on the transmission medium
US5128666A (en) Protocol and apparatus for a control link between a control unit and several devices
US5473757A (en) I/O controller using single data lines for slot enable/interrupt signals and specific circuit for distinguishing between the signals thereof
KR100239716B1 (en) Diagnostic test apparatus of scsi controller
CN113722261A (en) Method for expanding chip selection number and enhancing flexibility of read-write response time by SPI
SU1401472A1 (en) Device for interfacing a computer with selector channel
EP0270896B1 (en) Data link and method of transferring data for personal computer system
US4612541A (en) Data transmission system having high-speed transmission procedures
CN112395147B (en) Debugging device on SOC
SU1550524A1 (en) Device for interfacing processor and external unit
SU1182534A1 (en) Interface for linking processor with peripheral subscribers
SU1037235A1 (en) Channel-to-channel adapter
JP2998447B2 (en) Slave information processing device
SU496552A1 (en) Device for interfacing external devices with computer I / O channels
SU1283779A1 (en) Interface for linking electronic computer with using equipment
SU1265784A1 (en) Interface for linking computer with external using equipment
SU1345206A1 (en) Device for interfacing two microcomputers with common external unit
SU922713A1 (en) Multiplexor channel
SU1278866A1 (en) Interface for linking electronic computer with group of peripheral units
SU1434448A1 (en) Device for interfacing computer with common bus
KR200212561Y1 (en) Computer connection board using USB (Universal Serial Bus)