SU1062679A2 - Device for interface among digital computer and peripheral units - Google Patents

Device for interface among digital computer and peripheral units Download PDF

Info

Publication number
SU1062679A2
SU1062679A2 SU823484639A SU3484639A SU1062679A2 SU 1062679 A2 SU1062679 A2 SU 1062679A2 SU 823484639 A SU823484639 A SU 823484639A SU 3484639 A SU3484639 A SU 3484639A SU 1062679 A2 SU1062679 A2 SU 1062679A2
Authority
SU
USSR - Soviet Union
Prior art keywords
output
input
register
trigger
digital computer
Prior art date
Application number
SU823484639A
Other languages
Russian (ru)
Inventor
Лидия Ивановна Виноградова
Вячеслав Григорьевич Гробов
Светлана Ивановна Гончаренко
Виктор Александрович Санин
Original Assignee
Предприятие П/Я А-7160
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 Предприятие П/Я А-7160 filed Critical Предприятие П/Я А-7160
Priority to SU823484639A priority Critical patent/SU1062679A2/en
Application granted granted Critical
Publication of SU1062679A2 publication Critical patent/SU1062679A2/en

Links

Abstract

УСТРОЙСТВО ДЛЯ СОПРЯЖЕНИЯ ЦИФРОВОЙ ВЫЧИСЛИТЕЛЬНОЙ МАШИНЫ С ВНЕШНИМИ УСТРОЙСТВАМИ ПО авт,сэ« 849190, отличающеес  тем, что, с целью расширени  области применени  устройства, в него введены два элемента И,-элемент ИЛИ, триггер приоритета и клавишный регистр номера периферийного устройства , причем первый вход триггера приоритета соединен с вторым выходом блока адресации, третьим выходом подключенного к первому входу элемента ИЛИ, выход которого соединен с вторым входом триггера приоритета , а второй вход - с выходом первого элемента . И, первым входом подключенного к выходу регистра прерываний, а вторым входом - к четвертому входу устройства, первый и второй входы второго элемента И соединены соответственно с первым выходом коммутатора режимов и выходом блока адресации, а выход через клавишный регистр номера периферийного устройства - с вторым выходом устройства,выход триггера (Л приоритета подключен к четвертому входу коммутатора режимозA DEVICE FOR CONNECTING A DIGITAL COMPUTING MACHINE WITH EXTERNAL DEVICES OF ARTS, AUTOMATIC SYSTEM 849190, characterized in that, in order to expand the field of application of the device, two AND elements, an OR element, a priority trigger and a keyboard register of a peripheral device number, are inserted into it, and each element of the peripheral device is inserted. the priority trigger input is connected to the second output of the addressing unit, the third output of the OR element connected to the first input, the output of which is connected to the second priority trigger input, and the second input to the output of the first element. And, the first input connected to the output of the interrupt register, and the second input to the fourth input of the device, the first and second inputs of the second element And are connected respectively to the first output of the mode switch and the output of the addressing unit, and the output through the key register of the peripheral device number to the second output device, trigger output (L priority is connected to the fourth input of the switch

Description

Изобретение относитс  к вычислитель ной технике и может быть использовано в системах автоматического контрол , в состав которых входит цифрова  вычислительна  машина (ЦВМ)The invention relates to computing technology and can be used in automatic control systems, which include a digital computer (DVM)

По основному ав.ТвС;Вв № 849190 известно устройство дл  сопр жени  ЦВМ с внешними устройствами, содержащее регистр св зи, блок согласовани , первые вход и выход которого  вл ютс  соответственно первыми входом и выходом устройства, вторые вход и выход блока согласовани  соединены, соответственно с первыми вКодом и выходом регистра св зи, вторые вход и выход которого  вл ютс  соответственно вторыми входом и выходом устройства, блок адресации, вход которого  вл етс  третьим входом устройства, а выход соединен с третьим входом блока согласовани , регистр управл ющего слова, выход которого соединен с вторым ,выходом устройства, а первый вход  вл етс  четвертым входом устойства , регистр прерывани , шифратор и коммутатор режимов, первый торой и третий входы которого  вл ютс  соответственно п тым, шестым и седьмым входами устройства, первый, второй, третий и четвертый выходы коммутатора режимов соеди- . н-ены соответственно с четвертым,  тым и шестым входами, блока согласовани  и с третьим выходом устройства , выход регистра прерываний  вл етс  четвертым выходом устройства , третий выход блока согласовани  соединен с первым входом региста пре.рываний и через шифратор с вторым входом регистра управл юего слова, а четвертый вход устойства соединен .с вторым входом егистра прерываний.) According to the main AVT; VB No. 849190, a device for interfacing a digital computer with external devices is known, comprising a communications register, a matching unit, the first inputs and outputs of which are the first input and output devices of the device, the second input and output of the matching unit are connected, respectively with the first code and output of the communications register, the second input and output of which are, respectively, the second input and output of the device, the addressing unit, the input of which is the third input of the device, and the output connected to the third input of the unit Ani, the control word register, the output of which is connected to the second, the output of the device, and the first input is the fourth input of the device, the interrupt register, the encoder and the mode switch, the first and third inputs of which are the fifth, sixth and seventh inputs of the device The first, second, third and fourth outputs of the mode switch connect. The output of the interrupt register is the fourth output of the device; the third output of the matching unit is connected to the first input of the register of interruptions and through the encoder with the second input of the control register words, and the fourth input of the device is connected to the second input of the interrupt register.)

Коммутатор режимов содержит генератор импульсов, четыре элемента И, сдвигающий регистр, триггер направлени  обмена, входы которого  вл ютс  первым, вторым входами коммутатора , третий вход коммутатора и выход генератора импульсов через первый элемент И соединены с входом сдвигающего регистра, первый выход триггера направлени  обмена соединен с первым входом второго элемента И, второй выход триггера направлени  обмена соединен с первыми входами третьего и четвертого элементов И, первый - четвертый выходы сдвигающего регистра соединены с вторыми входами соответственно второго - четвертого элементов И и с четвертым выходом коммутатораfl.The mode switch contains a pulse generator, four AND elements, a shift register, an exchange direction trigger, whose inputs are the first, second inputs of the switch, a third input of the switch, and an output of the pulse generator through the first AND element connected to the shift register input, the first output of the exchange direction trigger is connected with the first input of the second element And, the second output of the trigger of the direction of the exchange is connected to the first inputs of the third and fourth elements And, the first - the fourth outputs of the shift register connect with the second inputs of the second and fourth elements, respectively, and with the fourth output of the switch fl.

Недостатком устройства  вл етс  ограниченна  область применени , так как дл  обслуживани  одного периферийного устройства требуетс  отдельна  ЦВМ, :The drawback of the device is its limited scope, since a separate digital computer is required to service one peripheral device:

Целью изобретени   вл етс  ренйе области применени  устройств за счет обеспечени  работы устройства на общей магистрали одной ЦЩThe aim of the invention is to reduce the range of application of the devices by ensuring the operation of the device on the common line of one of the main stations.

Поставленна  цель достигаетс . тем, что в устройство введены два элемента И, элемент ИЛИ, триггер приоритета и клавишный регистр номера периферийного устройства, причем первый вход триггера приоритета соединен с вторым выходом бло адресации, третьим выходом подключенного к первому входу элемента ИЛИ, выход которого соединен с вторым входом триггера приоритета, а второй вход - с выходом первого элемента И, первым входом подключенного к выходу регистра прерываний , а вторым входом - к четвертому входу устройства, первый и второй входы второго элемента И соединены соответственно с первым выход коммутатора режимов и выходом блок адресации, а выход через клавишный регистр номера периферийного устройства - с вторым выходом устройства , выход триггера приоритета подключен к четвертому входу коммутатора режимовНа чертеже представлена блоксхема устройств;а.The goal is achieved. the fact that the device has two AND elements, an OR element, a priority trigger and a keyboard register of the peripheral device number, the first input of the priority trigger is connected to the second output of the addressing unit, the third output of the OR element connected to the first input, the output of which is connected to the second trigger input priority, and the second input - with the output of the first element And, the first input connected to the output of the interrupt register, and the second input - to the fourth input of the device, the first and second inputs of the second element And are connected respectively etstvenno to the first switch output modes and output addressing unit, and output via a keyboard peripheral device register numbers - a second output device, a priority flip-flop output being connected to a fourth input of switch rezhimovNa drawing is Flowcharts devices; a.

Устройство в каждом из внешних устройств содержит регистр 1 св зи , блок 2 адресации, который может быть выполнен, например, как дешифратор, регистр 3 управл ющего слова, клавишный регистр 4 номера периферийного устройства, коммутатор 5 режимов, блок 6 согласовани  регистр 7 прерывани , шифратор 8, элементы И 9 и Ю, элемент ИЛИ 11 и триггер 12 приоритета. Коммутато 5 режимов состоит из первого элемента И 13, сдвигающего регистра 1 второго, третьего и четвертого элементов И 15 - 17, триггера 18 направлени  обмена и генератора 19 импульсозоThe device in each of the external devices contains a communications register 1, an addressing unit 2 that can be executed, for example, as a decoder, a control word register 3, a key register 4 of a peripheral number, a switch 5 modes, a negotiation unit 6 interrupt register 7, the encoder 8, the elements And 9 and Yu, the element OR 11 and the trigger 12 priority. The switch 5 modes consists of the first element And 13, the shift register 1 of the second, third and fourth elements And 15 - 17, the trigger 18 of the direction of exchange and the generator 19 of the pulse

Каждое устройство I, II, III подключено шинами 20 и 24 к внешним устройствам 31 и шинами 21 - 2 25 - 30 - к ЦВМ 32, :Each device I, II, III is connected by tires 20 and 24 to external devices 31 and tires 21 - 2 25 - 30 - to digital computer 32,:

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

Перед работой системы каждому внешнему устройству присваиваетс  свой пор дковый номер, который набираетс  на клавишном регистре ,4Before the operation of the system, each external device is assigned a sequence number, which is dialed in the key register, 4

При необходимости св зи с ЦВМ 32, котора  в насто щий момент выполн ет самосто тельную задачу или находитс  на фоновой программе Ожидани , внешнее устройство 31 по одной из шин 24 запроса пре| )ывани  через блок 6 выдает сигнал в регистр, каждый триггер которого соединен с одной из шин 21 запроса и определ ет уровень приоритетаIf it is necessary to communicate with a digital computer 32, which currently performs an independent task or is on the Waiting background program, the external device 31, using one of the buses 24, requests the pre | Through block 6, it issues a signal to the register, each trigger of which is connected to one of the request buses 21 and determines the priority level

данного запросд. Одновременно сигнал запроса поступает на входы шифратора 8, который формирует адрес вектора прерывани;Яо Сформирован ный адрес В;ектора поступает на входы регистра 3 и хранитс  в нем до момента считывани  его с ЦВМ 3.2,this request At the same time, the request signal goes to the inputs of the encoder 8, which forms the address of the interrupt vector; Yao The formed address B; the vector arrives at the inputs of register 3 and is stored in it until it is read from the digital computer 3.2;

ЦВМ 32, получив сигнал из регистра , производит сравнение уровн  приоритета выполн емой программы с уровнем сигнала прерывани в Если уровень сигнала оказываетс  выше, ЦВМ 32 прерывает выполнение текущей nporpaNiMH и выдает в устройство по шине 27 сигнал, разрешающий прохождение адреса -вектора прерывани  с регистра ,3в Этот сигнал через элементы И 9 и ИЛИ 11 взводит триггер 12 и по заднему фронту осуществл ет сброс регистра 7 и регистра :3о The digital computer 32, after receiving the signal from the register, compares the priority level of the program being executed with the level of the interrupt signal. If the signal level is higher, the digital computer interrupts the current nporpaNiMH and sends to the device via bus 27 a signal that allows the address of the interrupt vector to pass. 3b This signal through the elements of AND 9 and OR 11 sets the trigger 12 and on the falling edge resets the register 7 and the register: 3

Таким образом, в единичное состо ние устанавливаетс  триггер 12 того устройства, внешнее устройство которого запросило обслуживание в данный момент времекл. Получив начальный адрес новой программы, ЦВМ 32 переходит на ее выполнение с, Первой командой этой программы осуществл етс  чтение информации . с клавишного регистра 4 -путем посылки по шинам 26 и 28 в блок 2 адреса данного внешнего устройства и сигнала на триггер 18 дл  переключени  его в состо ние, разрешающее прохождение только сигнала Чтние , а по шине 30 подает на вход элемента И 13 сигнал, разрешающий в случае взведенного состо ни  триггера 18 начало работы сдвигающего регистра 1.4, На выходе этого регистра по мере.поступлени  импульсов с генератора 19 формируютс  сигналы Чтение, Сброс, Запись, Конец обмена.. По-сигналу Чтение содержимое клавишного регистра 4 подставл етс  на шины 21 и запоминаетс  ЦВМ 32 в массиве номеров внешних устройство Расшифровав номер периферийного устройства, получившего право на обслуживание, и сигнал Конец обмена по шине 22, ЦВМ 32 снимает сигнал с шины 30 и переходит на вьаполнение запрошенной программыThus, the trigger state of the device whose external device has requested service at a given time is set in one state. Having received the starting address of the new program, the digital computer 32 switches to its execution with, the first command of this program reads the information. from the key register 4 by sending packages on buses 26 and 28 to block 2 of the address of this external device and the signal on trigger 18 for switching it to a state allowing only the Cht signal to pass, and on bus 30 it sends an input to the input of the And 13 element in the case of the raised state of trigger 18, the start of the shift register 1.4, the output of this register as soon as the pulses from the generator 19 are formed are the signals Read, Reset, Write, End of the exchange. By the read signal, the contents of the key register 4 are substituted on the bus 21DCM 32 is stored in the array numbers decrypted external device number of a peripheral device has received the right to treatment, and the signal bus End exchange 22, the digital computer 32 takes a signal from bus 30 and proceeds to the requested program vapolnenie

В случае необходимости записи информации в один из абонентов внешнего устройства в процессе выполнени  запрошенной программы ЦВМ 32 по шинам 26 выдает в блок 2 адрес данного абонента, по шинам 25 передает в регистр 1 информацию, которую необходимо записать в выбранный абонент и устанавливает триггер 18 в состо ние, разрешающее прохождение сигналов - Сброс и За ,пись во внешнее устройство 3:1 о Затем по шине 30 ЦВМ 32 подает наIf it is necessary to write information to one of the external device's subscribers, in the process of executing the requested program, the digital computer 32 sends the address of the subscriber to the block 2, sends the information to the register 1 to the register 2, which must be written to the selected subscriber and sets the trigger 18 to signal, allowing the passage of signals — Reset and Over, to the external device 3: 1; then, via bus 30,

вход элемента И 13 сигнал , jpaspeшающий начало работы сдвигающего регистра 1.4, По мере поступлени  импульсов с генератора 19 сдвигающий регистр 14 исследова-тельно вы- . 5 рабатывает сигналы Чтение,element input is an AND 13 signal, jpaspreshyushchy the beginning of the shift register 1.4, as the pulses from the generator 19, the shift register 14 is explored-. 5 handles signals reading,

Сброс., :3апись и Конец обмена последний из которых по шине 22 по ступает в ЦВМ 32.и сообщает об окончании процесса запислReset.,: 3apis and End of the exchange, the last of which is on bus 22 goes to TsVM 32.and reports the end of the process recorded

0 В .режиме чтени  информации из внешнего устройства 31 ЦВМ 32 по шинам 26 выдает в блок 2 адрес абонента внешнего устройства 31 и по шине 28 устанавливает триггер0 In the read mode of information from an external device 31, the digital computer 32 via bus 26 outputs to the block 2 the address of the subscriber of the external device 31 and sets a trigger on bus 28

5 18 в состо ние, разрешаюЪ1ее прохождение во внешнее устройство 31 только сигнала Чтение, затем по шине 30 ЦВМ 32 подает на вход элемента И 13 сигнал, разрешающий наQ чало работы сдвигающего регистра 14 на выходах которого по мере поступлени  импульсов с генератора 19 , формируютс  сигналы .Чтение, Сброс , и Запись и Конец обмена Во5 18 into the state, allowing only the Read signal to be transmitted to the external device 31, then via bus 30, CMU 32 supplies the input element AND 13 with a signal allowing starting of the shift register 14 at the outputs of which, as pulses arrive from the generator 19, signals are generated .Reading, Resetting, and Writing and Ending Exchange

5 внешнее устройство 31 разрешаетс  . прохождение только сигнала чтение , по которому производитс  чтение информации с абонента внешнего устройства 31 и запись в регистр 1, с которого информаци  считываетс 5, the external device 31 is enabled. passing only the read signal, which is used to read information from the subscriber of the external device 31 and to write to register 1, from which information is read

0 в ЦВМ 3.2, Сигнал „Конец обмена поступающий ЦВМ 32, сообщает об окончании обмена, после чего снимаетс  сигнал на шине 3.0 0 to digital computer 3.2, Signal "The end of the exchange of the incoming digital computer 32, reports the end of the exchange, after which the signal on the bus 3.0 is removed

5 При этом обмен информацией возможен только с тем внешним устройством 31, в котором триггер 12 установлен в единичное состо ние, что обеспечивает возможность- подключе0 ни  к ЦВМ 32 через данное устройство как однотипных периферийных устройств. имеющих одинаковые адреса абонентов, так и различных по назначению устройств , адреса абонентов которых не5 In this case, the exchange of information is possible only with the external device 31, in which the trigger 12 is set to a single state, which makes it possible to connect to the digital computer 32 through this device as peripheral devices of the same type. having the same addresses of subscribers, as well as devices of various purposes, the addresses of which subscribers are not

5 совпадают, 5 match,

Если в процессе выполнени  программы обслуживани  в ЦВМ 32 поступает сигнал более высокого уровн  приоритета с другого внешнегоустройс .тва 31, ЦВМ 32 прерывает выполнениеIf during the execution of the service program in the digital computer 32 a higher priority signal is received from another external device 31, the digital computer 32 interrupts the execution

00

текущей программы. По шине 27 ЦВМ 32 выдает в устройство, запросившее обслуживание, сигнал, разрешающий прохождение адреса вектора прерывани  с регистра 3 и устанавливаю щий через элементы И 9 и ИЛИ 11 триггер 12 в новом устройстве в единичное состо ние и по заднему фронту сбрасывающий регистр 7 ирегистр ;3е Далее ЦВМ 32 определ ет номер об0 служиваемого устройства и посыла- . ет по шинс1М 26 адрес, соответствующий номеру внешнего устройства дл  сброса триггера 12 в этом устройстве , тем самым обеспечива  возмож5 ность обмена информацией только сcurrent program. On the bus 27, the digital computer 32 outputs to the device requesting the service a signal that permits the passage of the address of the interrupt vector from register 3 and sets the trigger 12 in the new device to the one state through the AND 9 and OR 11 elements and resets the register 7 and the back edge; 3e Next, the digital computer 32 determines the number of the served device and the send-. This is an address that corresponds to the number of the external device for resetting the trigger 12 in this device, thereby providing the possibility of exchanging information only with

Claims (1)

УСТРОЙСТВО ДЛЯ 'СОПРЯЖЕНИЯ ЦИФРОВОЙ ВЫЧИСЛИТЕЛЬНОЙ МАШИНЫ С ВНЕШНИМИ УСТРОЙСТВАМИ ПО авт,ср, ' № 849190, отличающееся тем, что, с целью расширения области применения устройства, в него введены два элемента И,-элемент ИЛИ, триггер приоритета и клавишный регистр номера периферийного устрой ства, причем первый вход триггера приоритета соединен с вторым выходомч блока адресации, третьим выходом подключенного к первому входу элемента ИЛИ, выход которого соединен с вторым входом триггера приоритета, а второй вход - с выходом первого элемента Г . и, первым входом подключенного к выходу регистра прерываний, а вторым входом - к чет вертому входу устройства, первый и второй входы второго, элемента И соединены соответственно с первым выходом коммутатора режимов и выходом блока адресации, а выход через клавишный регистр номера периферийного устройства - с вторым выходом устройства,выход триггера приоритета подключен к четвертому входу коммутатора режимов.DEVICE FOR 'PAIRING A DIGITAL COMPUTER MACHINE WITH EXTERNAL DEVICES ON ed, Wed,' No. 849190, characterized in that, in order to expand the scope of the device, two elements And, an OR element, a priority trigger and a key register of the peripheral device number are entered into it CTBA, wherein the first priority trigger input coupled to the second output of the addressing block h, a third output connected to the first input of the OR gate, whose output is connected to the second input of the trigger priority, and the second input - with the output of the first D element. and, the first input connected to the output of the interrupt register, and the second input to the fourth input of the device, the first and second inputs of the second, element And are connected respectively to the first output of the mode switch and the output of the addressing unit, and the output through the key register of the peripheral device number is the second output of the device, the output of the priority trigger is connected to the fourth input of the mode switch. II
SU823484639A 1982-08-19 1982-08-19 Device for interface among digital computer and peripheral units SU1062679A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU823484639A SU1062679A2 (en) 1982-08-19 1982-08-19 Device for interface among digital computer and peripheral units

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU823484639A SU1062679A2 (en) 1982-08-19 1982-08-19 Device for interface among digital computer and peripheral units

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
SU849190 Addition

Publications (1)

Publication Number Publication Date
SU1062679A2 true SU1062679A2 (en) 1983-12-23

Family

ID=21027006

Family Applications (1)

Application Number Title Priority Date Filing Date
SU823484639A SU1062679A2 (en) 1982-08-19 1982-08-19 Device for interface among digital computer and peripheral units

Country Status (1)

Country Link
SU (1) SU1062679A2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
До -Авторское свидетельство СССР № 849190, кл, G 06 F 3/04, 1979 (прототид)в *

Similar Documents

Publication Publication Date Title
US4106092A (en) Interface system providing interfaces to central processing unit and modular processor-controllers for an input-output subsystem
US4189769A (en) Input-output subsystem for digital data processing system
US3818447A (en) Priority data handling system and method
US4162520A (en) Intelligent input-output interface control unit for input-output subsystem
CA1191641A (en) Processor facilities for integrated packet and voice switching
US4365296A (en) System for controlling the duration of the time interval between blocks of data in a computer-to-computer communication system
SU1062679A2 (en) Device for interface among digital computer and peripheral units
US3688273A (en) Digital data communication system providing a recirculating poll of a plurality of remote terminal units
US3438002A (en) Pulse signal exchange
SU1481785A1 (en) Interprocessor communication unit
US4520452A (en) Memory selection in a multiple line adapter organization
SU1130855A1 (en) Interface for linking computers
SU1635188A1 (en) Device for interfacing a computer to its peripherals
SU962905A1 (en) Device for interfacing electronic computers
KR100199033B1 (en) A multi-interrupt control device and method using compromised type on pci bus
SU1246102A1 (en) Interface for linking processor with peripheral unit
SU1388883A1 (en) Inter-module communication device for a message switching system
SU1305693A2 (en) Microprogram multiplexor channel
SU1265784A1 (en) Interface for linking computer with external using equipment
SU1539787A1 (en) Multichannel processor-to-subscribers interface
SU1709314A1 (en) Common resource access sequencer
SU1501077A1 (en) Computer to peripherals interface
SU1389011A1 (en) Switching device
SU1751775A1 (en) Device for interfacing computer bus with peripherals
SU1287169A2 (en) Device for exchanging information