SU1262512A1 - Interface for linking computer with communication lines - Google Patents
Interface for linking computer with communication lines Download PDFInfo
- Publication number
- SU1262512A1 SU1262512A1 SU853841667A SU3841667A SU1262512A1 SU 1262512 A1 SU1262512 A1 SU 1262512A1 SU 853841667 A SU853841667 A SU 853841667A SU 3841667 A SU3841667 A SU 3841667A SU 1262512 A1 SU1262512 A1 SU 1262512A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- register
- information
- signal
- Prior art date
Links
Landscapes
- Multi Processors (AREA)
Description
11 Изобретение относитс к вычислительной технике и может быть использовано дл обмена информацией через линии св зи электронных вычислительных машин, например типа Электроника-60 , расположенных на значитель ных рассто ни х и вход щих в иерархическую структуру. Целью изобретени вл етс повышение пропускной способности устройства . На фиг.1 представлена блок-схема устройства; на фиг. 2- пример системы , использующей предлагаемое устройство; на фиг. 3 - структурна схе ма одного из регистров управле-ни приемом-передачей; на фиг.4 - структурна схема передатчика блока буфер ной пам ти; на фиг.5 - структурна схема приемника блока буферной пам ти; на фиг.6 - структурна схема бло ка формировани линейных сигналов; на фиг.7 - структурна схема блока усилени ; на фиг.8 - структурна схе ма формировани адреса; на фиг. 9 структурна схема регистра состо ни и управлени ; на фиг. Ю-- структурна схема блока генерации циклов обмена; на фиг.П - структурна схема блока формировани сигнала реакции линии св зи; на фиг.12 - структурна схема дешифратора; на фиг. 13 -струк турна схема блока обработки запросо на прерывание. Устройство (фиг.)содержит регист ры 1 управлени приемом-передачей, блоки 2 буферной пам ти, блоки 3 фор мировани линейных сигналов, блок 4 усилени ,.формирователь 5 адреса, ре гистр 6 состо ни и управлени , блок 7 генерации циклов обмена, блок 8 формировани сигнала реакции линии св зи (синхронизации пассивного устройства - СИЛ, дешифратор 9, блок 1 обработки запросов на прерывание, вход-выход 11 и линейные входы и выходы 12 устройства. Регистры 1 управлени приемом-передачей вырабатывают сигналы управле ни дл соответствующих блоков 2 и хран т информацию о выполн емых операци х приема и передачи данных в ус тройстве, формируют сигналы Ответ (ОТВ) при обращении к ним или вьтолнении адресной операции над соответствующими блоками 2, управл ют выработкой сигнала запроса на прерьшание (ЗП). 12 Блоки 2 буферной пам ти предназначены дл преобразовани параллельного кода данных в последовательный и наоборот и формировани управл ющих сигналов и сигналов состо ни в про цессе передачи данных между удаленными ЭВМ. Блоки 3 3 формировани линейных сигналов предназначены дл преобразовани однопол рного сигнала в мощный двухпол рный линейный сигнал и наоборот. Блок 4 усилени вьтолн ет буферные функции между внутренними сигналами устройства и сигналами канала ЭВМ. Формирователь 5 адреса предназначен дл расшифровки адресов регистра и блоков устройства и сохранени кода адреса на прот жении всего времени цикла обращени к устройству. Регистр 6 состо ни и управлени предназначен дл хранени информации о разрешении прерывани устройства, о состо нии блоков, вход щих, в сос.тав устройства, о сигнале общего сброса дл блоков. Блок 7 генерации обмена предназначен дл формировани адресных и управл ющих сигналов, необходимых дл обращени к регистрам 1 и блокам 2. Блок 8 предназначен дл формировани сигнала синхронизации пассивного устройства дл операции Ввод или Вывод. Дешифратор 9 предназначен дл дешифрации и формировани сигналов управлени записью или чтением содержимого регистров и блоков устройства, а также выдачи сигнала СИП по сигналу из блока 8 либо в цикле прерьгоани . Блок 10 обработки запросов на прерывание предназначен дл вьщачи запроса на прерывание программы ЭВМ, дл осуществлени ойерации захвата канала ЭВМ с целью передачи кода вектора прерывани , соответствующего активному инициатору запроса в устройстве. Вход-выход П устройства предназначен дл подключени к каналу ЭВМ, например микро-ЭВМ. Линейные входы и выходы 12 устройства предназначены дл подключени линий св зи. На фиг.2 обозначены перва ЭВМ 13, первое устройство 14, лини 15 св зи, второе устройство 16, втора ЭВМ 17, Регистры I управлени приемом-передачей содержат (фиг.З) элемент ИЛИ 18, элемент НЕ 19, триггеры 2024 , элемент ИЛИ 25, элемент И 26, элемент ИЛИ 27, элементы И 28-37, элементы ИЛИ 38 и 39, первый, третий и второй информационные входы 40, 41 и 42 блока, третий, второй, первьШ и четвертый выходы 43, 44, 45 и 46 блока. Блок 2 буферной пам ти состоит из передатчика и приемника. Передатчик блока 2 содержит (фиг.4) узел 47 эле ментов И, элементы Ш1И 48 и 49, гене ратор 50 импульсов, счетчик 51, буферный регистр 52 передачи, элементы 53 и 54 задержки, модул тор 55, узел 56 контрол четности, элемент ИЛИ 57 триггеры 58 и 59, элементы И 60-62, -первый информационный выход 63 блока 2, Приемник блока 2 содержит (фиг.5) счетчик 64, элемент ИЛИ 65, демодул тор 66, элемент И 67, триггер 68, элемент ИЛИ 69, элемент НЕ 70, элементы И 71. и 72, элемент НЕ 73, буферный регистр 74 приема, элемент И 75, элемент 76 задержки, узел 77 элементов И, узел 78 контрол нечетности , элемент И 79, первый информационный вход 80 блока 2. Блок 3 формировани линейных сигналов состоит из двух независимо работающих формировател 81 выходных сигналов и формировател 82 входных сигналов (фиг,6), Формирователь 81 предназначен дл преобразовани однопол рного сигнала на входе в мощный двухпол рный сигнал амплитудой 12В на выходе. Формирователь 81 представл ет собой двухтактный усилитель, выполненный по трансформативной схеме. Формирователь 82 предназначен дл преобразовани двухпол рного сигнала на входе в однопол рный на выходе и представл ет собой двухтактный усилитель с трансформаторной св зью. Формирователь 81 имеет второй вход 63 дл сигналов Ф1 и Ф2, первый вход 83 дл приема информации с линии св зи , первый выход 84 дл передачи информации в линию св зи, второй выход 80 дл передачи сигналов ФЗ и Ф4, Блок 4 усилени содержит (фиг,7) мультиплексор 85, узел 86 приемников сигналов канала ЭВМ, шинный формирователь 87, узел 88 передатчиков сигналов в канал ЭВМ, узел 89 приемников сигналов канала ЭВМ, третий, первый , второй входы 90-92 блока 4, вход-выход 93 блока 4, третий, первый и четвертый выходы 94-96 блока 4, Формирователь 5 адреса содержит (фиг.8) группу элементов НЕ 97, адресный регистр 98, дешифратор 99, коммутационное поле ЮЛ, элемент И 101, элемент ИЛИ 102, триггер 103, дешифратор 104, элемент И 105, второй , третий и первый выходы 106-108 регистра 5, . Регистр 6 состо ни и управлени содержит фиг,9 элемент И 109, триггеры 110-112, вход 113 сброса, первый и второй входы 114 и 115 синхронизации , третий, второй и четвертый выходы 116-118 регистра 6, Блок 7 генерации циклов обмена содержит (фиг,10) элемент НЕ 119, элементы ИЛИ 120, элемент И 121, элементы И-ИЛИ 122, генератор 123 импульсов , элемент И 124, группу элементов. И 125 узла усилителей, триггер 126, счетчик 127, элемент НЕ 128, дешифратор 129, элемент И 130, элементы И 131-135 узла усилителей, входы 136 и 137 синхронизации и обращени и выход 138 синхронизации блока 7, Блок 8 формировани сигнала реакции линии св зи содержит (фиг,II) элемент И 139, элемент НЕ 140, элемент 14 задержки, элементы И 142 и 143, элемент ИЛИ (44, триггер 145, вход 146 обращени и выход 147 сигнала реакции. Дешифратор 9 (фиг,12) содержит элементы НЕ 148 и. 149, элементы ИИЛИ 150 и 151, элемент ИЛИ 152, элементы и 153-160, третий информационный вход 161 и второй выход 162 дешифратора . Блок 10 обработки запросов на прерывание содержит (фиг,13) регистр 163маскировани запросов, регистр 164запросов, элемент И 165, элемент НЕ 166, триггер 167, узел 168 элементов И, элемент И 169, шифратор 170, элементы ИЛИ 171 и 172, Работа устройства рассматриваетс на примере системы (фиг,2), Устройство осуществл ет обмен данными между блоком 2 и микро-ЭВМ под управлением программы с использованием режима прерываний, преобразование информации из параллельного кода в последовательный и вьздачу ее в линию сй зн, прием информации в последовательном коде из линии св зи, преобразование ее в параллельный код,Предполагаетс , $1 что одна из ЭВМ вл етс инициатором обмена информацией, например ЭВМ 13, а друга , например ЭВМ 17, настроена на оперативное реагирование по обмену .информацией в дистанционно-распределенной системе. Таких инициаторов обмена информацией, как ЭВМ 13, в системе может быть несколько, каждьй из которых своей линией св зи типа линии 15 из устройства 16 подсоединен к ЭВМ 17 с помощью устройства 16, Объ вление инициатором обмена одной из микро-ЭВМ необходимо в режиме интенсивного обмена информацией в дистанционно-распределенной системе . В противном случае возможно возникновение конфликтной ситуации, когда на линии 15 одновременно с двух сторон (сторона ЭВМ 13 и сторона ЭВМ 17) передаетс информаци . При этом возможна потер передаваемой информамации . Устройство работает следующим образом ,. При включении системы или запуска программы в ЭВМ 13 и 17 вырабатываетс сигнал КСБРН приведени внешних устройств канала микро-ЭВМ в исходно состо ние. Этот сигнал проходит чере узел 86 приемников и поступает через выход 42 последнего в блоки 5,6,7 и 10 устройства, где выполн ет начальную установку: триггера 103, триггера 112 разр да Ответ блоков, триггера 126 запуска цикла обмена по цепи: вход 117, элемент ИЛИ 120, вход сброса триггера Г26; регистра 163 маскировани запросов , триггера 167 прерьшани по цепи элемент НЕ 166, вход сброса триггера 167j тригера 110 разр да РСУ (6) разрегае .ние прерьшани пр цепи: элемент ИЛИ 172, выход 113, вход сброса триггера 110; триггера 11I разр да Общий сброс ( ОСБР) по цепи: элемент ИЛИ 120, выход 115, элемент И 109, вход сброса триггера 111. Приведение регистров 1 и блоков 2 в исходное состо ние перед началом работы по обмену информацией выполн етс сигналом Общий сброс (ИОСБР формируемым на выходе элемента И 13 блока 7, Сигнал ИОСБР поступает через вход 41 регистров 1 и осуществл ет сброс 126 триггера 21 разр да Готов к передаче (ГТО-ПЕР), а также триггеров 20, 23 и 24 разр дов Ответ об ошибке передачи (ОШПЕР), Ошибка бит ОШБ и Ошибка четности (ОШЧ), В блоках 2 сигнал ИОСБР выполн ет сброс регистра 52 передачи, триггеров 58 и 68, регистра 74, а также триггеров, вход щих в состав демодул тора 66 и счетчика 64, Кроме того, сигнал ИОСБР на элементе ИЛИ 69, преобразованный в сигнал R-ТПР, поступает на выход 40 и в регистрах 1 через элемент НЕ 19, осуп1ествл ет сброс триггера 22 разр да Готов к приему (ГТО-ПР). Сигнал ИОСБР вырабатываетс в блоке 7 при наличии активного состо ни сигнала ОСБР, формируемого при пр мом выходе триггера 11I регистра 6, и при установленном в состо ние 1 триггера 126 запуска цикла обмена. Поскольку обмен информацией предполагаетс выполнить в режиме прерывани , то необходимо устанавливать в 1 и разр д РСУ (6) - разрешение прерывани триггера ПО регистра 6. Установка в состо ние 1 триггеров 110 и 111 регистра 6 вьтолн етс с помощью программной операции ВЬЮД кода (соответствующего разр дам РСУ (6) - разрешение прерывани и ОСБР) по адресу регистра 6, С этой целью соответствующа ЭВМ в своем канале выставл ет адрес регистра 6 на шине КДА(00-15), сигналы КВУН Внешнее устройство и КСИАН (Синхронизаци активного . Наличие этих сигналов в канале ЭВМ означает выполнение адресной части цикла обращени к внешнему устройству (ВУ), которым в данный момент вл етс предлагаемое устройство. Эти сигналы пост тупают на вход-выход 93 блока 4, где, пройд через щинный формирователь 87 и элементы И узла 89, по вл ютс соответственно на входах 42 и 96 формировател 5. В последнем вьтолн етс запоминание адреса ВУ, выставленного на шине КДА (00-15) канала ЭВМ, в случае принадлежности его устройству. Дешифрации подвергаютс старшие разр ды адреса, которые поступают по входу 42, ив случае совпадени с адресом , присвоенным устройству с помощью коммутационного пол 100, на выходе элемента И 10 формируетс сигнал высокого уровн , запоминающегос на триггере 103 по синхросигналу СИЛ. Младшие разр ды адреса поступают на входы регистра 98, а при по влении на выходе элемента И 105 актив ного уровн сигнала ВУС запоминаютс в нем. На дешифраторе 104 выполн етс дешифраци младших разр дов адреса с целью определени регистра, к которому производитс обращение. В дан ном цикле обращение производитс к регистру 6, поэтому на выходе дешифратора 104 сформируетс активный еиг нал АБС, который разрешает работу дешифратора 99, на одном из выходов которого по витс активный сигнал АРУ. На этом адресна часть цикла об ращени КВУ заканчиваетс . Дальше вы полн етс информационна часть цикла обращени . На информационных шинах ЭВМ выставл ет код дл установки в 1 триггеров 0 и 111 регистра 6. Сигналы КВЫВОДН и КБАЙТН перевод тс в активное состо ние. Пройд через элементы И узла 86 блока 4, эти сигналы поступают в дешифратор 9, где при участии сигналов А (00), АРУ на элементах НЕ 148, И-ИЛИ 151, И 153 и 154 формируютс сигналы ЗПМРУ и АПСРУ записи в младший и старший бай ты регистра 6, Сигналы ЗПМРУ и ЗПСРУ поступают на .вход I 14 регистра 6 и устанавливают триггеры ПО и 111 в состо ние, соответствующее наличию информации ча их D-входах, куда пос тупают сигналы ДА (06) и ДА (08) соответственно . Сигнал ОСБР с инверсно го выхода триггера 1 1-1 на элементе И 142 блока 8 запрещает прохождение за держанного на элементе 141 задержки сигнала с выхода 146 дешифратора 9. Сигнал ОСБР с пр мого выхода триг гера 11I поступает в блок 7, где, пройд через элемент И-ИЛИ 122 совме стно с сигналом ВУС, поступает иа 5 - вход триггера 126. Сигнал Вьшод с входа 95 через элементы И 156 и 139 и элемент 141 задержки в виде сигнала ЛЗ поступает на С-вход триггера 126 и устанавливает его в единичное состо ние, формиру на элементе И 13 сигнал ИОСБР. Кроме того, сигнал ОСБР по цепи через элементы НЕ 128, И 130 блока 7 запрещает стробирование сигналов адресов регистров 1 и блоков 2 и сигналов ИЧТ и ИЗП записи-чтени этих регистров на элементах И 125, 134, 135 соответственно. Сигнал с пр мого выхода триггера 126 разрешает работу генератора 123, При 128 по влении на последнем выходе дешифратора 129 активного сигнала через элемент ИЛИ 120 происходит сброс триггера 126 и формирование сигнала КОСБР (Конец ОСБР), который сбрасьгеает через элемент И 109 триггер 111. По заднему фронту сигнала ОСБР с инверсного выхода триггера 11I через элемент И 142, ИЛИ 144 происходит установка в единичное состо ние триггера 145 и формирование.сигнала СИП при операци х Ввод или Вьшод. Сигнал ТГСИП с пр мого выхода триггера 145 поступает в дешифратор 9, где на элементах ИЛИ 152, И 160 си1- налом с выхода элемента И 156 формируетс сигнал СИП, пoctyпaющий через элемент И узла 88 блока 4 на линию КСИПН канала ЭВМ. ЭВМ получив сигнал КСИПН, заканчивает цикл обращени к ВУ. При этом снимаетс информаци с информационных шин КДА и сигналы КВЫВОДН, КБАЙТН, КСИАН. Дл обеспечени работы устройств 14 и 16 в режиме прерьшани соответствующа ЭВМ должна размаскировать запросы от регистре 1. Каждому сигналу запроса ЗП (к-1,М)поступающему в регистр 164 запросов блока 10, соответствует определенный разр д регистра 163 маски. Дл размаскировани запросов ЗПк необходимо соответствующие разр ды триггера 163 установить в единичное состо ние, что выполн етс по программе ЭВМ в цикле обращени по адресу регистра 163 маски. Операци записи в регистр 163 маски необходимой информации происходит аналогично операции записи в регистр 6, однако в этом случае в дешифраторе 9 вырабатыветс сигнал записи ЗПРМЗ, который с выхода элемента И 155 поступает на вход строба записи регистра 163, а ответный сигнал СИП от уст-, ройства формируетс через элементы И 156 и 139, элемент 141 задержки, элементы И 142, ИЛИ 144, триггер 145, элементы ИЛИ 152, И 160. Закончив подготовительные операции , ЭВМ 13 организует передачу в устройство 14 информации, котора по согласованному протоколу обмена информацией между ЭВМ 13 и ЭВМ 17 воспринимаетс как управл кща информаци либо как информаци дл обравотки , Дл передачи данных в устройство 14 необходимо сформировать запрос Hf11 The invention relates to computer technology and can be used to exchange information via communication lines of electronic computers, for example, Electronics-60 type, located at significant distances and included in a hierarchical structure. The aim of the invention is to increase the capacity of the device. Figure 1 presents the block diagram of the device; in fig. 2- an example of a system using the proposed device; in fig. 3 - structural scheme of one of the registers of the control-reception-transmission; Fig. 4 is a block diagram of a transmitter of a buffer memory unit; Fig. 5 is a block diagram of a receiver of a buffer memory unit; Fig. 6 is a block diagram of the linear signal generation unit; Fig. 7 is a block diagram of the gain unit; Fig. 8 is a structural scheme for generating an address; in fig. 9 is a block diagram of the state register and control; in fig. Yu-- block diagram of the generation of exchange cycles; FIG. 1 is a block diagram of a communication link response signaling unit; on Fig - structural diagram of the decoder; in fig. 13 is the interrupt request processing unit circuit diagram. The device (Fig.) Contains registers 1 of control of reception and transmission, blocks 2 of buffer memory, blocks 3 of forming linear signals, block 4 of amplification, address forming unit 5, register of state 6 and control, block 7 of generating exchange cycles, link response signal generating unit 8 (synchronization of the passive device — SIL, decoder 9, interrupt request processing block 1, input-output 11, and line inputs and outputs 12 of the device. The transmit and receive control registers 1 generate control signals for the corresponding blocks 2 and stored information about the data received and transmitted in the device, form Response signals (TSS) when accessing them or executing the address operation on the corresponding blocks 2, control the generation of the interruption request signal (RFP). 12 Blocks 2 of the buffer memory they are intended to convert parallel data code into serial and vice versa and generate control signals and state signals in the process of data transmission between remote computers. The 3 3 linear signal generation units are designed to convert a unipolar signal into a powerful two-pole linear signal and vice versa. Amplification unit 4 performs buffer functions between the internal signals of the device and the signals of the computer channel. The address builder 5 is designed to decrypt the register addresses and device blocks and store the address code throughout the entire cycle of the device access cycle. The status and control register 6 is intended to store information about the interrupt resolution of the device, about the state of the blocks included in the device code, about the general reset signal for the blocks. The exchange generation unit 7 is designed to generate address and control signals necessary for accessing registers 1 and blocks 2. Block 8 is designed to generate a synchronization signal of a passive device for the operation Input or Output. The decoder 9 is designed to decrypt and form control signals for writing or reading the contents of the registers and blocks of the device, as well as for issuing a CIP signal by a signal from block 8 or in an interrupt loop. The interrupt request processing unit 10 is designed to request a computer program interruption request to perform a computer channel capture operation in order to transmit an interrupt vector code corresponding to the active requestor in the device. The input-output P of the device is intended for connection to a computer channel, for example, a micro-computer. Line inputs and outputs 12 devices are designed to connect communication lines. In FIG. 2, the first computer 13 is designated, the first device 14, the communication line 15, the second device 16, the second computer 17, the Transmit-Receive Control Registers I contain (FIG. 3) the element OR 18, the element NOT 19, the triggers 2024, the element OR 25, element AND 26, element OR 27, elements AND 28-37, elements OR 38 and 39, the first, third and second information inputs 40, 41 and 42 of the block, the third, second, first and fourth outputs 43, 44, 45 and 46 blocks. The buffer memory unit 2 consists of a transmitter and a receiver. The transmitter of block 2 contains (FIG. 4) node 47 of elements I, elements SH1I 48 and 49, generator 50 of pulses, counter 51, buffer register 52 of the transmission, elements 53 and 54 of delay, modulator 55, node 56 of parity, element OR 57 triggers 58 and 59, elements AND 60-62, -first information output 63 of block 2, Receiver of block 2 contains (FIG. 5) counter 64, element OR 65, demodulator 66, element AND 67, trigger 68, element OR 69, HE element 70, AND elements 71. and 72, HE element 73, receive buffer register 74, AND element 75, delay element 76, AND node 77, odd parity node 78, element 79, first information input 80 of block 2. Line signal generating unit 3 consists of two independently operating output signal generator 81 and input signal generator 82 (FIG. 6). Shaper 81 is designed to convert a unipolar signal at the input to a powerful two-pole signal with amplitude 12V output. A shaper 81 is a push-pull amplifier made according to a transformer circuit. Shaper 82 is designed to convert a two-pole signal at the input to a unipolar output and is a push-pull amplifier with a transformer coupling. The imaging unit 81 has a second input 63 for signals F1 and F2, a first input 83 for receiving information from a communication line, a first output 84 for transmitting information to a communication line, a second output 80 for transmitting signals for FZ and F4, Gain unit 4 contains (Fig , 7) multiplexer 85, node 86, receiver of computer channel signals, bus driver 87, node 88, signal transmitters to computer channel, node 89 receiver of computer channel signals, third, first, second inputs 90-92 of block 4, input-output 93 of block 4 the third, first and fourth outputs 94-96 of block 4, the address shaper 5 contains (Fig. 8) groups NOT elements 97, address register 98, decoder 99, the switching field LE, AND gate 101, an OR gate 102, flip-flop 103, decoder 104, AND gate 105, the second, third and first outputs 106-108 of register 5. The status and control register 6 contains FIG. 9, an AND element 109, triggers 110-112, a reset input 113, the first and second synchronization inputs 114 and 115, the third, second and fourth outputs 116-118 of register 6, the exchange cycle generation block 7 contains (Fig, 10) element NOT 119, elements OR 120, element AND 121, elements AND-OR 122, generator 123 pulses, element AND 124, a group of elements. And 125 node amplifiers, trigger 126, counter 127, element NOT 128, decoder 129, element 130, elements And 131-135 of node amplifier, inputs 136 and 137 of synchronization and reversal, and output 138 of synchronization of block 7 connection contains (FIG. II) the AND element 139, the NOT 140 element, the delay element 14, the AND elements 142 and 143, the OR element (44, the trigger 145, the reverse input 146 and the response signal output 147. The decoder 9 (FIG. 12) contains elements HE 148 and. 149, elements OR 150 and 151, element OR 152, elements and 153-160, third information input 161 and second output 162 of the decoder The interrupt request processing block 10 contains (FIG. 13) a request masking register 163, a request register 164, an AND 165 element, a HE 166 element, an AND trigger 167, an AND node 168, an AND 169 element, an encoder 170, and OR 171 and 172 elements, Operation The device is considered on the example of the system (FIG. 2). The device exchanges data between block 2 and the microcomputer under the control of a program using the interrupt mode, converts information from a parallel code to a serial one and writes it to a line, receiving information in a serial code from l SRI communication, transform it into a parallel code is assumed $ 1 that one of the computers is initiated exchange of information, such as computer 13 and other computers 17, e.g., configured for rapid response available in .informatsiey remotely distributed system. There are several such initiators of information exchange, such as a computer 13, in the system, each of which is connected to a computer 17 by means of a device 16 by means of a line 15 communication line. The initiator of the exchange of one of the microcomputers needs to be in intensive mode. information exchange in a remotely distributed system. Otherwise, a conflict situation may arise, when on line 15 simultaneously from two sides (computer side 13 and computer side 17) information is transmitted. In this case, the loss of the transmitted information is possible. The device works as follows,. When the system is turned on or the program is started up in the computer 13 and 17, the CBSRN signal is produced to bring the external devices of the micro-computer channel to the initial state. This signal passes through the receiver node 86 and goes through the output 42 of the latter to blocks 5, 6, 7 and 10 of the device, where it performs the initial setup: trigger 103, trigger 112, Response blocks, trigger 126 triggering the circuit through the circuit: input 117 , element OR 120, trigger reset input G26; register 163 for masking requests, trigger 167 for traversing the circuit, element NOT 166, reset input for trigger 167j, trigger 110 for the DCS (6), for clearing the circuit fault: element OR 172, output 113, reset input for the trigger 110; trigger 11I bit General reset (OSBR) along the circuit: element OR 120, output 115, element AND 109, reset input of the trigger 111. Restoring registers 1 and blocks 2 to the initial state before starting to exchange information is performed by a signal General reset ( IOSBR formed at the output of the element And 13 of block 7, IOSBR signal is received through the input 41 of registers 1 and resets 126 flip-flops 21 bits Ready for transmission (TRP-PER), as well as triggers 20, 23 and 24 bits (BSER), Error of the error bits and parity error (error), In blocks 2, the IOSBR signal performs sat The transmission register 52 grew, the triggers 58 and 68, the register 74, as well as the triggers included in the demodulator 66 and the counter 64. In addition, the IOSBR signal on the OR 69 element converted into the R-TPD signal is output to output 40 and in registers 1 through the element NOT 19, it triggers reset of trigger 22 bits Ready for Reception (TRP-PR). IOSBR signal is generated in block 7 with active status of OSBR generated by direct output of trigger 11I of register 6, and set to state 1 of the trigger cycle 126 exchange cycle. Since the exchange of information is supposed to be performed in the interrupt mode, it is necessary to set the 1 and the digit of the DCS (6) to enable the software to interrupt the trigger of the register 6. Setting the state 1 of the trigger 110 and 111 of the register 6 is fulfilled using the software program develop the DCS (6) - interrupt resolution and OSBR) at the address of register 6. For this purpose, the corresponding computer in its channel sets the address of the register 6 on the KDA bus (00-15), KVUN signals External device and XIAN (Synchronization active. Availability of these signals to the can a computer means the execution of the address part of the cycle of accessing an external device (WU), which is currently the proposed device. These signals are blunt on the input-output 93 of block 4, where, having passed through the driver 87 and elements of node 89, are, respectively, at inputs 42 and 96 of the mapper 5. In the latter, the address of the slave set on the KDA bus (00-15) of the computer channel, if it belongs to the device, is memorized. Decoding is subjected to higher address bits, which are received at input 42, and in case the address assigned to the device by means of switching field 100 coincides, a high level signal is stored at the output of element 10, which is stored on trigger 103 by the SIL sync signal. The minor bits of the address are fed to the inputs of the register 98, and when the output level of the AND 105 element appears, the active level of the VUS signal is memorized in it. The decoder 104 decrypts the low-order bits of the address to determine which register is being accessed. In this cycle, access is made to register 6, therefore, at the output of the decoder 104, an active signal of the ABS is formed, which allows the operation of the decoder 99, at one of the outputs of which the active AGC signal appears. At this point, the address part of the HLC cycle ends. Further, the information part of the circulation cycle is performed. On information buses, the computer exposes the code to be set in 1 trigger 0 and 111 of register 6. Signals KWINS and KBAITN are switched to the active state. Passing through the elements AND of node 86 of block 4, these signals enter the decoder 9, where with the participation of signals A (00), AGC on the elements NOT 148, AND-OR 151, AND 153 and 154, signals of the SMPRU and APSRU are written to write to the junior and senior Register 6 bids, ZPMRU and SPSRU signals come to I 14 register 6 and set the software triggers and 111 to the state corresponding to the availability of information from their D inputs, where the YES (06) and YES (08) signals respectively . The OSBR signal from the inverse output of the trigger 1 1-1 on the AND element 142 of block 8 prohibits the delay of the signal 141 held on the element 141 from the output 146 of the decoder 9. The OSBR signal from the direct output of the trigger 11I enters the block 7, where the AND-OR element 122, together with the signal of the MAS, enters 5 5 - trigger input 126. The Vdshod signal from input 95 through AND 156 and 139 elements and the delay element 141 in the form of LZ signal is fed to the C input of the trigger 126 and sets it to state, forming on the element And 13 signal IOSBR. In addition, the signal of the OSBR over the circuit through the elements NOT 128, And 130 of block 7 prohibits gating the signals of the addresses of registers 1 and blocks 2 and the signals of IPT and IST of writing and reading these registers on the elements 125, 134, 135, respectively. The signal from the direct trigger output 126 allows the generator 123 to work. When the active signal appears at the last output of the decoder 129 through the OR element 120, the trigger 126 is reset and the POSBR signal (End OSBR) is generated, which is reset via the AND element 109 and the 111 trigger. the falling edge of the OSBR signal from the inverse output of the trigger 11I through the element AND 142, OR 144 is set to the one state of the trigger 145 and the CIP signal is formed during the Enter or Vyshod operations. The TGSIP signal from the direct output of the trigger 145 enters the decoder 9, where the SIP signal is generated at the OR 152, AND 160 S1 elements from the AND 156 element output, which is transmitted through the And element 88 of the unit 4 of the computer channel to the CSIPN line. The computer, having received the signal KSIPN, ends the cycle of addressing the slave. At the same time, information is removed from the KDA information buses and the signals KVYVODN, KBAN, XIAN. To ensure the operation of devices 14 and 16 in the abort mode, the corresponding computer must unmask the requests from register 1. Each request signal of the RFP (k-1, M) received into the request register 164 of block 10 corresponds to a certain bit of register mask 163. To unmask the PSC requests, it is necessary to set the corresponding bits of the trigger 163 in a single state, which is performed by the computer program in the access cycle at the register address 163 of the mask. The write operation to the mask information register 163 occurs in the same way as the write operation to register 6, however, in this case, the write signal from the EPRMZ is generated in the decoder 9, which, from the output of the AND 155 element, enters the input of the recording register gate 163, The elements are formed through AND elements 156 and 139, delay element 141, AND elements 142, OR 144, trigger 145, elements OR 152, and 160. Having completed the preparatory operations, the computer 13 organizes the transmission to the device 14 of information, which between computer 13 and computer 17 is perceived as control information or as information for processing. To transfer data to device 14, it is necessary to form a request Hf
912912
прерьгаание в ЭВМ 13 от данного устройства , С этой целью вьтолн етс . операци записи логической I в триггер 21 готовности передачи соответствующего регистра 1. Операци записи вьтолн етс по адресу з-аданного per гистра 1, при этом адрес регистра 1 с соответствующего выхода дешифратог ра 104 поступает через выход 106 формировател 5 на соответствующий. . вход элементов И 125. Триггер 126, на D -вход которого поступает логическа . по цепи элементов НЕ 119, И-ИЛИ 122 при наличии сигнала БУС и отсутствии сигнала АБС, устанавливаетс в состо ние. сигналом ЛЗ на входе 136, Происходит запуск генерации цикла обмена, в ходе которого на элементах И 132, 133 вырабатываютс сигналы ИЦКЛ, ИСТР, а на элементе И элементах И 25 сигналом с выхода элемента И 130 происходит стробирование поступившей на их входы управл ющей и адресной информации. Запись 1 в триггер 21 готовности передачи происходит по цепи элементов И 35, 36 и ИЛИ 39, При выполнении операции записи в требуемый регистр на элементе ИЛИ 38 формируетс сигнал ответа ОТВ, который поступает на триггера 12, а также на элемент И 143 блока 8, разреша тем самым прохождение импульса СТРОБ через элементы И 143 и ИЛИ 144 и триггер 145 дл формировани ответного сигнала СИП,Prejugation in the computer 13 from this device, is accomplished with this purpose. the write operation of logical I to the readiness trigger 21 of the transfer of the corresponding register 1. The write operation is executed at the address of the h-per 1 horn, and the register 1 address from the corresponding output of the decoder 104 enters through the output 106 of the driver 5 to the appropriate one. . input elements And 125. The trigger 126, on the D-input of which enters the logic. along the circuit of elements HE 119, AND-OR 122, in the presence of a BEAD signal and the absence of an ABS signal, is set to a state. the LZ signal at the input 136, the generation of the exchange cycle starts, during which the ITSKL and ISTR signals are generated at the I 132, 133 elements, and the AND output element is gated by the control and address inputs at the I 25 elements AND 25 elements information. Writing 1 into the transmission readiness trigger 21 occurs along the circuit of the AND 35, 36 and OR 39 elements. When the write operation is executed in the required register, the TL response signal is generated on the OR 38 element, which goes to the trigger 12, as well as the And 143 element of the block 8, thereby resolving the passage of the STROBE pulse through the elements AND 143 and OR 144 and the trigger 145 to form the response signal CIP,
Состо ние логической 1 на пр мом выходе триггера 2 обуславливает формирование на элементе ИЛИ 27 запроса ЗПк от соответствующего регистра 1к, которьй поступает на один из информационных входов регистра 164 запроса, Далее на регистрах 163 и 164 и элементах И 168, ИЛИ 171 и И 165 формируетс сигнал Требование прерьшани ТПР на прерывание программы в ЭВМ 13The state of logical 1 at the direct output of the trigger 2 causes the formation of a request for the CSC from the corresponding register 1k on the OR element 27, which goes to one of the information inputs of the register 164 of the request, Next to the registers 163 and 164 and the elements of AND 168, OR 171 and AND 165 A signal is generated. The requirement to terminate a TFR to interrupt a program in a computer 13
Если этот запрос окажетс более приоритетным по сравнению с выполн емой программой и другими поступившими запросами, ЭВМ 13 прекращает выподнение основной программы и переходит к обслуживанию прерьшани , С этой целью ЭВМ 13 выставл ет в канал сигнал КВВОДН и далее сигнал Разрешение прерывани KlfflPlH,If this request is given priority over the executed program and other incoming requests, the computer 13 stops the main program and goes to the interruption service. To this end, the computer 13 sets the channel KVDODN and then the Enable interrupt signal KlfflPlH,
Сигнал Ввод при наличии сигнала ТПР устанавливает в состо ние триггер 167 прерывани . На выходеThe Input signal, when a TPR signal is present, sets interrupt trigger 167 to the state. At the exit
12101210
элемента И 169 при состо нии триггера 167 и сигнала Ш1Р1 формируетс сигнал ПРЕР, которьй в дешифраторе 9 на элементах И 158 и 159 обеспечивает формирование сигналов УМ-, УМ-2 управлени мультиплексором 85 блока 4, При этом на выходах последнего по вл етс код вектора прерывани наиболее приоритетного из запро-г сов ЗПк, сформированного на шифраторе 170 блока 10, По цепи элементов ИЛИ 152 и И 160 вьтолн етс формирование ответного синхросигнала СИП, Одновременно через элемент ИЛИ 172 вьтолн етс сброс триггера 110, ЭВМ 3, получив от устройства 14 вектор прерьшани с сигналом СИП, снимает сигналы КВВОДН, КШ1Р1 и переходит на подпрограмму обработки запросов от устройства. При этом ЭВМ 13 инициирует операцию Ввод дл содержимого регистра , выставившего запрос ЗПк, Считьшание информации, содержащейс в регистре 1 к, происходит по цепи элементов И 26, 28-32 с помощью сигналов ИАРУППк и ИЧТ,element 169 in the state of the trigger 167 and the signal R1R1, a PREP signal is generated, which in the decoder 9 on the elements 158 and 159 generates the signals UM-, UM-2 control multiplexer 85 of block 4, and the vector code appears at the outputs of the latter interrupt the highest priority of the requests of the RFP formed on the encoder 170 of block 10, the formation of the response signal of the CIP is formed by the circuit of the elements OR 152 and 160 and the computer 110 is reset by the device OR 172 simultaneously; vector pr rshani with SIP signal, removes KVVODN signals KSH1R1 and proceeds to query processing routine of device. In this case, the computer 13 initiates the operation Enter for the contents of the register, which put forward the request for PLC, the information contained in the register 1 K is read, it is going through the circuit of elements 26, 28-32 with the help of signals ИАRUPPk and И ИБТ,
При выполнении подпрограммы обработки прерывани необходимо восстанавливать состо ние 1 шестого разр да регистра 6 дл обеспечени дальнейшей работы в режиме прерьшани . ЭВМ 13 анализирует содержимое регистра 1к:И, определив готовность к передаче , приступает к операциц записи в блок 2к, .When executing an interrupt handling routine, it is necessary to restore state 1 of the sixth bit of register 6 to ensure further operation in abort mode. The computer 13 analyzes the contents of register 1k: And, having determined the readiness for transmission, proceeds to write operations to block 2k,.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU853841667A SU1262512A1 (en) | 1985-01-09 | 1985-01-09 | Interface for linking computer with communication lines |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU853841667A SU1262512A1 (en) | 1985-01-09 | 1985-01-09 | Interface for linking computer with communication lines |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1262512A1 true SU1262512A1 (en) | 1986-10-07 |
Family
ID=21157808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU853841667A SU1262512A1 (en) | 1985-01-09 | 1985-01-09 | Interface for linking computer with communication lines |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1262512A1 (en) |
-
1985
- 1985-01-09 SU SU853841667A patent/SU1262512A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР 1051526, кл. G 06 F 3/04, 1982. Авторское свидетельство СССР 962905, кл. С 06 F 3/04, 1980. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1262512A1 (en) | Interface for linking computer with communication lines | |
SU1144112A1 (en) | Interface for linking computer with common bus | |
SU1257653A2 (en) | Interface for linking electronic computers | |
SU962905A1 (en) | Device for interfacing electronic computers | |
SU1176341A1 (en) | Interface for linking computer with peripherals | |
SU1012235A1 (en) | Data exchange device | |
SU1166123A1 (en) | Interface for linking digital computer with communication lines | |
SU1532941A1 (en) | Information exchange device | |
SU777655A1 (en) | Interface | |
SU1278871A1 (en) | Interface for linking microprocessor peripheral equipment with input-output channel of electronic computer | |
SU980088A2 (en) | Device for interfacing computer with main line | |
SU1410041A1 (en) | Device for interfacing subscribers with computer | |
SU1259276A1 (en) | Channel-to-channel adapter | |
SU642701A1 (en) | Device for interfacing electronic computer with subscribers | |
SU1571594A1 (en) | Device for information exchange in multiprocessoring computing system | |
SU781805A1 (en) | Interface | |
SU809141A1 (en) | Device for interfacing computer with i/0 devices | |
SU734661A1 (en) | Channel-channel adapter | |
SU1596339A1 (en) | Computer to peripheral interface | |
SU643948A1 (en) | Remote control command receiving apparatus | |
SU968798A1 (en) | Interface | |
SU943696A2 (en) | Computer interface | |
SU1522217A1 (en) | Device for connection of k processors with group of subscribers | |
SU868741A1 (en) | Device for interfacing two computers | |
SU857963A2 (en) | Interface |