SU1211743A2 - Interface for linking digital computer with peripherals - Google Patents
Interface for linking digital computer with peripherals Download PDFInfo
- Publication number
- SU1211743A2 SU1211743A2 SU843768990A SU3768990A SU1211743A2 SU 1211743 A2 SU1211743 A2 SU 1211743A2 SU 843768990 A SU843768990 A SU 843768990A SU 3768990 A SU3768990 A SU 3768990A SU 1211743 A2 SU1211743 A2 SU 1211743A2
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- trigger
- direct access
- exchange
- digital computer
- input
- Prior art date
Links
Description
Изобретение относитс к вычисли- тельной технике и может быть использовано в системах автоматического контрол , имеющих цифровую вычислительную машину, (ЦВМ) и вл етс усовершенствованием устройства по авт.св. № 849190.The invention relates to computing technology and can be used in automatic control systems having a digital computer (DVM) and is an improvement of the device according to the author. No. 849190.
Целью изобретени вл етс повышение пропусконой способности устройства .The aim of the invention is to increase the transmission capacity of the device.
На фиг.1 представлена блок-схема устройства; на фиг.2 - пример выпол- 1нени разв зывающих элементов блокаFigure 1 presents the block diagram of the device; FIG. 2 shows an example of the implementation of the decoupling elements of a block.
согласовани .reconciliation.
Устройство содержит (фиг.1) регистр 1 св зи, блок (регистр) 2 адресации , регистр 3 управл ющего слова , элемент И 4, коммутатор 5 режимов , блок 6 согласовани , соединен- ньШ с ЦВМ 7 и внешним устройством 8, шифратор 9, регистр 10 прерываний, триггер 11 направлени обмена, генератор 12 импульсов, элемент И 13, сдвигающий регистр 14, элементы И 15 и 16, триггер 17 за вки непосредственного доступа (НД), триггер 18 (НД) триггер 19 направлени обмена при НД , шины 20 и 21 направлени обмена и шину 22 расширени обмена, шину 23 сигнала конца обмена, шины 24 и 25 запроса прерываний и сброса вектора прерываний, шины 26 и 27 адреса,шины 28 и 29 зап15оса и разрешени НД, шину 30 подтверждени приема разрешени передачи в режиме НД, шины 31 и 32 задани направлени обмена в режиме непосредственного обмена,шины 33 и 34 синхронизации обмена в режиме НД, шины 35 и 36 данных.The device contains (Fig. 1) a communications register 1, an addressing block (register) 2, a control word register 3, an AND 4 item, a switch of 5 modes, a matching block 6 connected to a digital computer 7 and an external device 8, an encoder 9 , interrupt register 10, exchange direction trigger 11, pulse generator 12, AND 13 element, shift register 14, AND elements 15 and 16, trigger 17 of the Direct Access (ND) application, trigger 18 (ND) trigger 19 of the exchange direction for ND, buses 20 and 21 of the exchange direction and bus 22 of the exchange of the exchange, bus 23 signal end of the exchange, bus 24 and 25 request interrupted and interrupt vector reset, bus 26 and 27 addresses, bus 28 and 29 of the controller and resolution of LP, bus 30 for acknowledgment of receipt of transmission permission in the LP mode, bus 31 and 32, specifying the direction of exchange in the direct exchange mode, bus 33 and 34 of synchronization of the exchange in ND mode, tires 35 and 36 data.
Регистр 1 св зи служит дл запоминани данных, передаваемых из внешнего устройства в ЦВМ или в обратном направлении. Блок 2 адресации предназначен дл записи адреса, по которому производитс обмен информацией. Регистр 3 управл ющего слова обеспечивает за:пись и хранение адреса вектора прерывани . Коммутатор 5 режимов служит дл задани режимов чтени или записи информации при работе устройств в режиме обмена данными с использованием программных средств.Communication register 1 is used to store data transmitted from an external device to a digital computer or in the opposite direction. Unit 2 addressing is designed to record the address at which information is exchanged. Control word register 3 provides for: writing and storing the address of the interrupt vector. The switch 5 modes serves to set the modes of reading or writing information when the devices operate in the mode of data exchange using software.
Блок 6 согласовани обеспечивает гальваническую разв зку между внешним устройством и устройством сопр жени и представл ет собой набор разв зьюающих элементов, количество которых определ етс числом входов и выходов блока. Пример возможнойThe matching unit 6 provides for galvanic isolation between the external device and the interface device and is a set of enabling elements, the number of which is determined by the number of inputs and outputs of the unit. Example possible
00
5five
00
5five
00
5five
00
5five
00
5five
структуры разв зывающих элементов приведен на фиг.2. В данном случае оптроны 37 предназначены дл реализации гальванической разв зки между входами и выходами блока 6 согласовани . Магистральный усилитель 38 и элемент НЕ 39 вл ютс согласующими элементами. На фиг. 2. представлены: а - разв зывающий элемент, передающий сигнал от внешнего устройства к устройству сопр жени ,.6 - разв зы- .вающйй элемент, передающий сигнал от устройства сопр жени к внешнему устройству.The structure of the isolating elements is shown in FIG. In this case, the optocouplers 37 are designed to implement galvanic isolation between the inputs and outputs of the matching unit 6. Trunk amplifier 38 and the HE element 39 are matching elements. FIG. 2. Presents: a - decoupling element, transmitting a signal from an external device to the interface device, .6 - an isolation element, transmitting a signal from the interface device to an external device.
Шифратор 9 служит дл формировани кода адреса вектора прерывани . Регистр 10 прерьшани предназначен дл записи сигнала запроса прерывани .The encoder 9 serves to form the code of the address of the interrupt vector. Break register 10 is for recording an interrupt request signal.
Триггер 11 направлени обмена предназначен дл записи сигнала, определ ющего направление обмена информацией при обмене данными с использованием программных средств. Генератор 12 вырабатывает тактовые импульсы. Элемент И 13 обеспечивает прохождение импульсов с генератора 12 в сдвигающий регистр 14, служащий дл формировани сигналов Чтение, Сброс, Запись, Конец обмена, при наличии на шине 22 разрешающего сигнала, вырабатываемого ЦВМ 7.Элементы И 15, 16, 4 обеспечивают прохождение во внешнее устройство через блок 6 сигналов Чтение, Сброс, Запись, вырабатываемых регистром 14 н соответствии с состо нием триггера 11, определ ющим направление обмена.The trigger 11 of the exchange direction is designed to record a signal that determines the direction of the exchange of information when exchanging data using software tools. The generator 12 generates clock pulses. Element And 13 provides the passage of pulses from the generator 12 into the shift register 14, which is used to form the signals Read, Reset, Write, End of the exchange, if the bus 22 has a resolution signal produced by the digital computer 7. Elements And 15, 16, 4 provide the passage to the external device through the block 6 signals Read, Reset, Write, produced by the register 14 in accordance with the state of the trigger 11, which determines the direction of the exchange.
Триггер 17 за вки НД служит дл формировани сигнала запроса НД к каналу. Триггер 18 НД вырабатывает сигнал, подтверждающий прием разрешени передачи канала и запрещающий удовлетворение других запросов канала . Триггер 19 направлени обмена при НД определ ет направление обмена информацией в режиме непосредст- ;веннрго дост5ша.The trigger 17 of the ND application serves to generate an ND request signal to the channel. The trigger 18 ND generates a signal confirming the reception of the channel transmission permission and prohibiting the satisfaction of other channel requests. The trigger 19 for the exchange of ND directions determines the direction of information exchange in the direct mode.
Устройство работает следующим об- .The device works as follows.
Устройство обеспечивает два режима работы:-, режим обмена данными между внешним устройством и вычислительной машиной с использованием программных средств и режим непосредственного доступа.The device provides two modes of operation: -, mode of data exchange between an external device and a computer using software and direct access mode.
При необходимости св зи с ЦВМ,If necessary, contact with digital computers,
котора в насто щий момент выполн - ,which is currently performed,
ет самосто тельную задачу или находитс на фоновой программе Ожидание ,, внешнее устройство по одной из шин запроса прерывани через блок 6 выдает сигнал в регистр 10, каждый триггер которого соединен с одной из шин 24, и определ ет уровень приоритета данного запроса.There is no independent task or is on the background program Waiting, an external device on one of the interrupt request buses through block 6 outputs a signal to the register 10, each trigger of which is connected to one of the buses 24, and determines the priority level of this request.
Одновременно сигнал запроса поступает на входы шифратора 9, который формирует адрес вектора прерывани . Сформированный адрес вектора поступает на входы регистра 3 и хранитс в нем до момента считывани его ЦВМ 7.At the same time, the request signal is fed to the inputs of the encoder 9, which forms the address of the interrupt vector. The generated address of the vector is fed to the inputs of register 3 and is stored in it until reading of its digital computer 7.
ЦВМ 7, получив сигнал из регистра 10 по одной из шин 24, производит оценку уровн приоритета выполн емой программы. Если приоритет запроса оказываетс выше, ЦВМ 7 прекращает выполнение текущей программы и выдает в устройство по шине 25 сигнал, сбрасывающий регистр 10 и разрешающий прохождение адреса вектора прерьгоани с регистра 3 по шине 36 в ЦВМ 7.CVM 7, having received a signal from register 10 on one of the buses 24, estimates the priority level of the program being executed. If the priority of the request is higher, DVR 7 terminates the execution of the current program and outputs to the device via bus 25 a signal resetting register 10 and permitting the address of the pregloan vector from register 3 to bus 36 to DVR 7.
Получив начальный адрес новой программы, ЦВМ 7 переходит на ее выполнение. Если приоритет текущей программы Bbmie приоритета сигнала прерывани , ЦВМ 7 его игнорирует до момента окончани выполнени программы .Having received the starting address of the new program, DVM 7 switches to its execution. If the priority of the current Bbmie program is the priority of the interrupt signal, DVR 7 ignores it until the end of the program execution.
Таким образом, внешнее устройство 8 может активно вмешатьс в ход выполнени программы и задавать режимы обмена данными.Thus, external device 8 can actively intervene in the course of program execution and set data exchange modes.
При необходимости записи информа- :ции в один из абонентов внешнего ;устройства 8 в процессе выполнени запрошенной программы ЦВМ 7 по ад- ресньш шинам 26 вьщает в блок 2 адрес данного абонента, по шинам 35 данных передает в регистр 1 информацию , которую необходимо записать в выбранньй абонент, и устанавливает триггер 11 в состо ние, разрешающее прохождение сигналов Сброс, и Запись во внешнее устройство 8. Затем по шине 22 канала ЦВМ 7 подает на вход элемента И 13 сигнал, разрешающий начало работы сдвигающего регистра 14. По мере поступлени импульсов с генератора 12 на вход сдвигающего регистра 14 вырабатываютс последовательно сигналы Чтение, Сброс, Запись и Конец обмена, последний из которыхIf it is necessary to write information to one of the subscribers of the external device, in the process of executing the requested program, DV 7 sends the address of the subscriber to unit 2, sends the address of the subscriber to data 2, which must be written to selected subscriber, and sets the trigger 11 to the state that allows the passage of the Reset signals, and Record to the external device 8. Then, via the bus 22 of the DVR channel 7, sends to the input of the And 13 element a signal that allows the shift register 14 to start working. in from the generator 12 to the input of the shift register 14, the signals Read, Reset, Write and End of the exchange are produced sequentially, the last of which
21174342117434
по шине 23 поступает в ЦВМ 7 и сообщает об окончании процесса записи.bus 23 enters the digital computer 7 and reports the end of the recording process.
В режиме чтени информации из внешнего устройства 8 ЦВМ 7 по ад5 ресным шинам 26 вьщает в блок 2 адрес абонента внешнего устройства 8 и по шине 0 устанавливает триггер 11 в состо ние, разрешающее прохождение во внешнее устройство 8 толькоIn the mode of reading information from the external device 8, the digital computer 7 via the address bus 26 passes into the block 2 the address of the subscriber of the external device 8 and via bus 0 sets the trigger 11 to the state allowing only the external device 8 to pass
(О сигнала Чтение. Затем по шине 22 ЦВМ 7 подает на входы элемента И 13 сигнал, разрешающий начало работы сдвигающего регистра 14, на выходах .которого по мере поступлени импуль15 сов с генератора 12 формируютс сигналы Чтение, Сброс, Запись и Конец обмена, а во внешнее устройство 8 разрешает прохождение только сигнала Чтение, по которому(About the signal Read. Then, via bus 22, the digital computer 7 sends to the inputs of the AND 13 element a signal permitting the start of the shift register 14, at the outputs of which, as pulses arrive from the generator 12, the signals Read, Reset, Write and End of the exchange are formed, and in the external device 8 allows the passage of only the signal Read, in which
20 производитс чтение информации с абонента внешнего устройства 8 и запись в регистр 1, с которого информаци считываетс в ЦВМ 7. Сигнал Конец обмена, поступающий в ЦВМ 7,20, information from the subscriber of the external device 8 is read and written to register 1, from which information is read into digital computer 7. Signal The end of the exchange, which enters digital computer 7,
25 сообщает об окончании обмена, при этом снимаетс сигнал со входа элемента И 13, поступающий с ЦВМ 7.25 reports the end of the exchange, while removing the signal from the input of the element And 13, coming from the digital computer 7.
Таким образом, данный режим обмена реализуетс с помощью программныхThus, this exchange mode is implemented using software.
3Q средств.3Q funds.
Устройство обеспечивает совместную работу ЦВМ 7 и внешнего устройства 8 в режиме НД. При необходимости обмена в режиме НД внешнее устройство 8 через блок 6 взводит триггер 17. На выходе триггера 17 вырабатываетс сигнал запроса непосредственного доступа к каналу, поступающий по шине 28 в ЦВМ 7, котора , прин в запрос,освобождает канал, независимо от приоритета выполн емой программы, и выдает на шину 29 сигнал разрешени НД к каналу, сбрасывающий триггер 17 и устанавливающий триггер 18, с выхода которого по шине 30 выдаетс сигнал, подтверждающий прием разрешени передачи канала и запрещающий удовлетворение других запросов канала.The device provides for the joint operation of the digital computer 7 and the external device 8 in the ND mode. If it is necessary to exchange in the ND mode, the external device 8 triggers trigger 17 via block 6. At the output of trigger 17, a channel access request signal is generated, which is received via bus 28 to the digital computer 7, which, having received the request, releases the channel, regardless of the priority programs, and sends to the bus 29 a enable signal to the channel, resetting the flip-flop 17 and setting the flip-flop 18, the output of which sends a signal on the bus 30 confirming the reception of the channel transfer permission and prohibiting other requests from the channel la.
При необходимости записи большого 50 массива информации из ЗУ внешнего устройства 8 в ОЗУ ЦВМ 7 внешнее устройство 8 через блок 6 устанавливает триггер 19 направлени обмена при НД в состо ние, подготавливающее ЦВМ 7 55 к режиму записи данных в ОЗУ ЦВМ 7. Далее внешнее устройство 8 выдает в блок 2 через блок 6 адрес чейки ОЗУ ЦВМ 7 и записывает в регистр 1 ин40If it is necessary to write a large array of information from the memory of the external device 8 to the RAM of the digital computer 7, the external device 8 sets the trigger 19 of the exchange direction for the CD to the state that prepares the digital computer 7 55 to the data recording mode of the digital computer RAM 7. Next, the external device 8 gives to block 2 through block 6 the address of the cell RAM of the digital computer 7 and writes to register 1 in40
4545
5151
формацию, которую необходимо передать по данному адресу. Затем внешнее устройство 8 через блок 6 выдает по шине 33 сигнал Синхронизаци активного устройства, по которому ЦВМ 7 осуществл ет запись содержимого регистра 1 св зи в чейку ОЗУ ЦВМ 7, адрес которой был указан в блоке 2. .the formation that needs to be sent to this address. Then, the external device 8, via block 6, sends on the bus 33 a synchronization signal of the active device, via which the digital computer 7 records the contents of the communication register 1 to the RAM cell of the digital computer 7 whose address was specified in block 2..
По окончании цикла записи ЦВМ 7 выдает по шине 34 сигнал синхронизации пассивного устройства, поступающий на дев тый вход устройства.Получив данный сигнал, внешнее устройство 8 модифицирует адрес чейки ОЗУ ЦВМ 7 в блоке 2, записывает новые данные в регистр 1, снова вьщает сигнал синхронизации активного устройства и т.д. После записи всего массива информации в ОЗУ ЦВМ 7 внешнее .устройство 8 осуществл ет сброс триггера 18, тем самым сообща ЦВМ 7 об окончании режима обмена. ЦВМ 7 переходит на выполнение прерванной программы .At the end of the write cycle, the digital computer 7 outputs a synchronization signal from the passive device to the ninth device input via bus 34. Upon receiving this signal, external device 8 modifies the address of the RAM cell of digital computer 7 in block 2, writes new data to register 1, again synchronizes the signal active device, etc. After recording the entire array of information in the RAM of the digital computer 7, the external device 8 resets the trigger 18, thereby informing the digital computer 7 about the end of the exchange mode. DVM 7 goes to the execution of the interrupted program.
При необходимости чтени большого массива информации из ОЗУ ЦВМ 7 в ЗУ внешнего устройства 8 последнее устанавливает триггер 19 в состо ние, подготавливающее ЦВМ 7 к режиму чтени информации из ОЗУ, записывает вIf it is necessary to read a large array of information from the RAM of the digital computer 7 to the external device 8, the latter sets the trigger 19 to a state that prepares the digital computer 7 for reading information from the RAM, writes to
117436117436
блок 2 адрес чейки ОЗУ ЦВМ 7,с которой будет производитьс чтение информации , и по шине 33 выдает сигнал .синхронизации активного устройства. 5 ЦВМ 7 записывает содержимое указан- ной в блок 2 чейки в регистр 1 и выдает по шине 34 сигнал синхронизации пассивного устройства, по которому внешнее устройство 8 считываетunit 2 is the address of the RAM cell of the digital computer 7, from which information will be read, and via bus 33 issues a synchronization signal of the active device. 5 A digital computer 7 writes the contents of the cell specified in block 2 to register 1 and sends, on bus 34, the synchronization signal of the passive device, which the external device 8 reads
10 данные с регистра 1 в свое ЗУ, затек модифицирует адрес чейки в блоке 2 и в снова вьщает на шине 33 сигнал синхронизаци активного устройства и т.д. Процесс продолжаетс до10, the data from register 1 to its memory, the leakage modifies the address of the cell in block 2, and again, on bus 33, the synchronization signal of the active device, etc. The process continues until
15 приема всего массива информации в ЗУ внешнего устройства 8, после чего внешнее устройство 8 сбрасывает триггер 18, тем самь1м сообща ЦВМ 7 об окончании режима обмена. После этого15 receive the entire array of information in the memory of the external device 8, after which the external device 8 resets the trigger 18, thereby communicating with the DVR 7 about the end of the exchange mode. Thereafter
20 ЦВМ переходит на выполнение прерванной программы.20 DVR goes to the execution of the interrupted program.
Таким образом, предлагаемое устройство сопр жени в сравнении с прототипом обеспечивает повышениеThus, the proposed interface device provides an increase in comparison with the prototype.
25 пропускной способности за счет реализации режима непосредственного доступа, что позвол ет производить по инициативе внешнего устройства высокоскоростной обмен большими мас0 сивами информации без использовани программных средств ЦВМ.25 throughput through the implementation of the direct access mode, which allows an external device to initiate a high-speed exchange of large amounts of information without the use of digital computer software.
ZHIhZhih
го а tzgo a tz
2«, t5i3,,js,ytt ,,ггж,,,va д2 ", t5i3,, js, ytt ,, ij ,,, va d
Выход внешнего устоис/т Вюд внешнего усщраистбаOutput external system / t Vud external usschraistba
ii
дход бло а согаособани flow inlet
3737
LL
3939
Выход Злона cof/racoSaHun Вход блона согласовани а.б.Zon Exit cof / racoSaHun Alignment blob input a.b.
Фиг.22
Составитель В.Вертлиб Редактор Т.Парфенова Техред Л.Микеш Корректор В.Бут гаCompiled by V. Vertlib Editor T. Parfenova Tehred L. Mikesh Corrector V. But ha
Заказ 642/54 Тираж 673 Подписное ВНИШШ Государственного комитета СССРOrder 642/54 Circulation 673 Subscription VNISHS USSR State Committee
по делам изобретений и открытий 113035, Москва, Ж-35, Раушска наб., д.4/5for inventions and discoveries 113035, Moscow, Zh-35, Raushsk nab., 4/5
Филиал ПШ1 Патент, г.Ужгород, ул.Проектна , 4Branch PSh1 Patent, Uzhgorod, Proektna St., 4
Выход блона согласовани .Exit matching block.
8eight
3737
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843768990A SU1211743A2 (en) | 1984-07-20 | 1984-07-20 | Interface for linking digital computer with peripherals |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843768990A SU1211743A2 (en) | 1984-07-20 | 1984-07-20 | Interface for linking digital computer with peripherals |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU849190 Addition |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1211743A2 true SU1211743A2 (en) | 1986-02-15 |
Family
ID=21130012
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU843768990A SU1211743A2 (en) | 1984-07-20 | 1984-07-20 | Interface for linking digital computer with peripherals |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1211743A2 (en) |
-
1984
- 1984-07-20 SU SU843768990A patent/SU1211743A2/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 849190, кл. G 06 F 3/04, 1979. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4394726A (en) | Distributed multiport memory architecture | |
JPH0158540B2 (en) | ||
SU1211743A2 (en) | Interface for linking digital computer with peripherals | |
CN117076344A (en) | Data sharing method, device and system and readable storage medium | |
EP0872800B1 (en) | Method and device for exchanging data between two processor units | |
EP0064074B1 (en) | Data transmitting link | |
SU1410709A1 (en) | Computer to peripheral device interface | |
SU1239724A2 (en) | Device for exchanging data | |
SU1587523A2 (en) | Two-channel device for interfacing two electronic machines | |
SU1372330A1 (en) | Device for connecting microprocessor with external devices | |
SU1357971A1 (en) | Device for interfacing computer with computing system | |
SU922713A1 (en) | Multiplexor channel | |
SU1432537A1 (en) | Device for interfacing subscribers with communication channel | |
KR0157457B1 (en) | Control method of robot | |
CN1020311C (en) | Data processing and storage system for computer groups | |
SU1596339A1 (en) | Computer to peripheral interface | |
SU1012235A1 (en) | Data exchange device | |
SU1541623A1 (en) | Device for interfacing computer with peripheral device | |
SU1221656A1 (en) | Multichannel device for controlling information exchange among computers | |
SU1327117A1 (en) | Device for mating a computer to common line | |
SU1702381A1 (en) | Intercomputer data exchange device | |
EP0055741A4 (en) | Input/output system and method of communication for peripheral devices in data processing system. | |
SU972494A1 (en) | Data input-output control device | |
SU1408440A1 (en) | Interface of computer with peripherals trunk line | |
SU627472A1 (en) | Interface |