SU1619284A1 - Computer to peripheral interface - Google Patents

Computer to peripheral interface Download PDF

Info

Publication number
SU1619284A1
SU1619284A1 SU894637964A SU4637964A SU1619284A1 SU 1619284 A1 SU1619284 A1 SU 1619284A1 SU 894637964 A SU894637964 A SU 894637964A SU 4637964 A SU4637964 A SU 4637964A SU 1619284 A1 SU1619284 A1 SU 1619284A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
information
digital
digital computer
Prior art date
Application number
SU894637964A
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 SU894637964A priority Critical patent/SU1619284A1/en
Application granted granted Critical
Publication of SU1619284A1 publication Critical patent/SU1619284A1/en

Links

Landscapes

  • Communication Control (AREA)

Description

1one

(21)4637964/24(21) 4637964/24

(22)16.01 . 89(22) January 16. 89

(46) 07.01.91. Бил. Р 1(46) 07.01.91. Bil P 1

(72) С.В.Степкин и В.Г.Гробов(72) S.V.Stepkin and V.G.Grobov

(53) 681.3(088.8)(53) 681.3 (088.8)

(56) Авторское свидетельство СССР(56) USSR author's certificate

№ 1362316, кл. G 06 F 13/00, 1986. .No. 1362316, cl. G 06 F 13/00, 1986..

Авторское свидетельство СССР № 1542293. кл. G 06 F 13/00, 1988.USSR author's certificate number 1542293. class. G 06 F 13/00, 1988.

(54) УСТРОЙСТВО ЛДЯ СОПРЯЖЕНИЯ ЦВМ С ВНЕШНИМ УСТРОЙСТВОМ(54) DEVICE FOR ONLY COMPRESSING A DVR WITH AN EXTERNAL DEVICE

(57) Изобретение относитс  к вычислительной технике и может быть использовано в автоматизированных(57) The invention relates to computing and can be used in automated

системах контрол  цифровых и цифро- аналоговых устройств дл  сопр жени  ЦВМ с внешним устройством и дл  параметрического контрол  принимаемых информационных сигналов. Целью изобретени   вл етс  повышение быстродействи . Устройство содержит регистр прерывани  и непосредственного доступа, регис тр запроса прерывани  и направлени  обмена, два счетчика адреса, посто нную пам ть, буферную пам ть, дешифратор, блок синхронизации,циф- роаналоговый преобразователь, аналого-цифровой преобразователь. 6 ил.control systems for digital and digital-analog devices for interfacing a digital computer with an external device and for parametric control of received information signals. The aim of the invention is to increase speed. The device contains an interrupt and direct access register, interrupt request register and exchange direction, two address counters, a permanent memory, a buffer memory, a decoder, a synchronization unit, a digital-analog converter, and an analog-to-digital converter. 6 Il.

Изобретение относитс  к вычислительной технике и может быть использовано в автоматизированных системах контрол  цифровых и цифроаналоговых устройств дл  сопр жени  цифровой вычислительной машины (ЦВМ) с внешним устройством и дл  параметрического контрол  принимаемых информационных сигналов.The invention relates to computing and can be used in automated systems for controlling digital and digital-analog devices for interfaceting a digital computer (DVR) with an external device and for parametric control of received information signals.

Цель изобретени  - повышение быстр одейс тви .The purpose of the invention is to increase the speed of Twi.

На фиг.1 приведена структурна  схема устройства; на фиг.2 - структурна  схема блока синхронизации; на фиг.З - временна  диаграмма записи в счетчик; на фиг.4 - временна  диаг- ,рамма работы устройства при выдаче последней и предпоследней команд управлени ; на фиг.5 - временна  диаграмма записи в счетчик адреса; на фиг.6 - временна  диаграмма чтени  из буферной пам ти.Figure 1 shows the block diagram of the device; figure 2 - block diagram of the synchronization unit; on FIG. 3 is a time chart of writing to the counter; Fig. 4 shows the time diag- ram, the frame of operation of the device when issuing the last and the penultimate control commands; FIG. 5 is a time chart of writing to an address counter; FIG. Fig. 6 is a timing chart for reading from a buffer memory.

Устройство содержит (фиг.1) регистр 1 прерывани  и непосредственного доступа, блок 2 синхронизации, аналого-цифровой преобразователь 3 (АЦП), буферную пам ть 4, счетчик 5 адреса, цифроаналоговый преобразователь 6 (ЦАП), дешифратор 7, регистр 8 запроса прерывани  и направлени  обмена, счетчик Q адреса, посто нную пам ть 10, информационный вход-выход 11 устройства дл  подключени  к информационному входу-выходу ЦВМ, синхровходы-синхровыходы 12-15,вход 16 дл  подключени  к выходу чтени  ЦВМ, вход 17 дл  подключени  к первому информационному выходу внешнего устройства, информационный выход 18 дл  подключени  к первому информационному входу внешнего устройства, разрешающие входы 19 и 20 дл  подключени  к выходам блокировки и пуска ЦВМ, вход 21 дл  подключени  к выходуThe device contains (Fig. 1) interrupt and direct access register 1, synchronization unit 2, analog-to-digital converter 3 (ADC), buffer memory 4, address counter 5, digital-to-analog converter 6 (D / A converter), decoder 7, interrupt request register 8 and exchange directions, Q address counter, permanent memory 10, information input-output 11 of the device for connection to the information input-output of the digital computer, synchronous inputs-synchronous outputs 12-15, input 16 for connection to the read output of the digital computer, input 17 for connection to the first information outlet externally its devices, information output 18 for connecting to the first information input of an external device, allowing inputs 19 and 20 for connecting to the blocking and starting outputs of the digital computer, input 21 for connecting to the output

(L

сwith

оэoh

СО № 00 4ьCO number 00 4

записи ЦВМ, информационный вход 22 дл  подключени  к второму информационному выходу внешнего устройства,информационный выход 23 дл  подключени  к второму информационному входу внешнего устройства, вход 24 дл  подключени  к выходу запроса прерывани  и направлени  обмена внешнего устройства , выход 25 дл  подключени  к выходу запроса прерывани  ЦВМ, выход 26 дл  подключени  к входу анализа окончани  -программы ЦВМ, выход 27 дл  подключени  к входу направлени  обмена ЦВМ.DVR recording, information input 22 for connecting an external device to the second information output, information output 23 for connecting an external device to the second information input, input 24 for connecting an external device to the interrupt request output and an external device exchange direction, output 25 for connecting the digital computer interrupt request output , output 26 for connection to the analysis input of the DVM program, output 27 for connection to the input of the exchange direction of the digital computer.

Блок 2 синхронизации содержит (фиг..2) сдвигающий регистр 28, элемент И 29, генератор 30 импульсов, элемент НЕ 31, разрешающие входы 32 и 33, выходы 34 и 35.Block 2 synchronization contains (Fig.2) shifting register 28, the element And 29, the generator 30 pulses, the element 31, allowing the inputs 32 and 33, the outputs 34 and 35.

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

При необходимости св зи с ЦВМ вневшее устройство выдает на вход 24 устройства сигнал запроса преры- вани , который поступает в регистр 8 и далее на выход 25 устройства. Одновременно внешнее устройство через вход 17 заносит в регистр 1 преч рываний и непосредственного доступа код, соответствующий необходимой программе обмена. ЦВМ, прин в с выхода 25 запрос прерывани , определ 1 ет уровень его приоритета. Если приоритет запроса выше, чем у текущей программы, то ЦВМ прекращает ее выполнение . Затем ЦВМ анализирует состо ние регистра 1 и определ ет адрес вектора прерывани , т.е. получа ет начальный адрес новой программы. После этого ЦВМ выдает на вход 16 устройства сигнал, который сбрасывает регистр 1 прерывани  и непосредственного доступа и регистр 8 запро са прерывани  и направлени  обмена. Если приоритет текущей программы вы ше, чем у запроса прерывани , то ЦВМ запрос игнорирует до окончани  выполнени  текущей программы.If it is necessary to communicate with a digital computer, the external device issues an interrupt request signal to the device input 24, which is sent to register 8 and then to the device output 25. At the same time, the external device, through input 17, enters into the register 1 of interruptions and direct access the code corresponding to the necessary exchange program. The DVR, having received an interrupt request from output 25, determines its priority level 1. If the priority of the request is higher than that of the current program, then the digital computer terminates its execution. The DVR then analyzes the state of register 1 and determines the address of the interrupt vector, i.e. gets the starting address of the new program. After that, the digital computer provides a signal to the input 16 of the device, which resets the interrupt and direct access register 1 and the interrupt request register 8 and the exchange direction. If the priority of the current program is higher than that of the interrupt request, the DVR ignores the request until the end of the current program execution.

Программы обмена с внешним уст- , ройством хран тс  в посто нной пам - ти 10. Запуск программы обмена осуществл етс  следующим образом. ЦВМ заносит в счетчик 9 адреса код, соответствующий начальному адресу требуемой программы обмена с внешним усройством . Затем ЦВМ выдает на вход 2 устройства сигнм Пуск, который поступает иа разрешающий вход 33 блока Exchange programs with an external device are stored in the persistent memory 10. The exchange program is launched as follows. The DVR records in the counter 9 of the address the code corresponding to the starting address of the required exchange program with the external device. Then the digital computer provides a signal to the input 2 of the device, a Start, which is received and the enable input 33 of the block

Q 5Q 5

00

Q , о Q, oh

5five

синхронизации и отпирает элемент И 29. Тем самым разрешаетс  прохождение импульсов с генератора 30 на вход сдвигающего регистра 28.synchronization and unlocks the element And 29. Thus, the passage of pulses from the generator 30 to the input of the shift register 28 is permitted.

Запись информации в счетчик 9 производитс  следующим образом. На информационный вход-выход устройства ЦВМ выдает адрес, который необходимо занести в счетчик 9 и который поступает на его информационный вход. Затем ЦВМ выдает на вход 21 устройства код записи в счетчик 9, который дешифрируетс  в дешифраторе 7 и с его третьего выхода поступает на вход за- писи счетчика 9. По этому сигналу в счетчик 9 записываютс  данные с его информационного входа. Соответствующа  временна  диаграмма приведена на фиг.З, где 36 - состо ние входа-выхода 1 1 устройства, 37 - состо ние входа 21 устройства, 38 - состо ние третьего выхода дешифратора 7,39-состо-{  кие счетчика 9 адреса, 40 - код, записываемый в счетчик 9, 41 - код записи в счетчик 9.Information is recorded in counter 9 as follows. On the information input / output of the device, the digital computer provides the address that must be entered into the counter 9 and which goes to its information input. Then, the digital computer outputs to the input 21 of the device a write code to counter 9, which is decrypted in decoder 7 and from its third output goes to the write input of counter 9. With this signal, counter 9 records data from its information input. The corresponding timing diagram is shown in FIG. 3, where 36 is the device input-output 1 1 state, 37 is the device input 21 state, 38 is the third output state of the 7.39-decoder, {address 9 of the counter, 40 - the code written to the counter 9, 41 is the code written to the counter 9.

В пам ти 10 записаны команды уп- . равлени  режимом работы устройства. В каждой  чейке пам ти посто нной пам ти хран тс :In memory 10 recorded command up. mode of operation of the device. Each memory cell of the permanent memory stores:

признак окончани  программы управлени , который поступает с первого информационного выхода пам ти 10 на выход 26 устройства; признак выдачи информации, который поступает с третьего информацион- ного выхода пам ти 10 на установочный вход ЦДЛ;a sign of the end of the control program which is supplied from the first information output of the memory 10 to the output 26 of the device; a sign of issuing information that comes from the third information output of memory 10 to the set-up input of the digital laboratory module;

признак приема информации, который поступает с второго информацион-, ного выхода пам ти 10 на тактовые входы НАЛ и счетчика 5 адреса; код выходного уровн  ЦАП,который поступает с четвертого информационного выхода пам ти 10 на информационный вход ЦАП.a sign of receiving information that comes from the second information output of memory 10 to the clock inputs of NAL and the counter 5 of the address; the code of the output level of the D / A converter, which comes from the fourth information output of memory 10 to the information input of the D / A converter.

При поступлении на первый тактовый вход пам ти 10 с выхода 34 блока 2 строба Отпирание выходов посто н- |ной пам ти на первый, второй, тре- тий и четвертый информационные Ъыхо- ды пам ти выдаетс  содержимое нчей- ки, адрес которой хранитс  в счетчике 9 адреса.When the first clock input of memory 10 arrives from output 34 of strobe unit 2, unlocking the outputs of the permanent memory to the first, second, third and fourth informational memory outputs, the contents of the night key whose address is stored in counter 9 addresses.

При поступлении на второй тактовый вход пам ти с выхода 35 строба Запирание выходов посто нной пам ти информаци  с выходов пам ти снимаетс .-, По этому сигналу также уве51Upon receipt of the second clock input of the memory from the gate 35 output. The locking of the outputs of the permanent memory information is removed from the memory outputs .-, This signal also increases

личиваетс  на единицу содержимое счечика 9 адреса. В последней команде программы обмена с внешним устройством признак окончани  программы управлени  принимает единичное значение .The content of the address slider 9 is leaked per unit. In the last command of the exchange program with an external device, the sign of the end of the control program takes a single value.

Таким образом, ЦВМ, анализиру  состо ние выхода 26 устройства, принимает сигнал об окончании обмена. После этого ЦВМ выдает на вход 19 устройства сигнал Останов, который запирает элемент И 29 и тем самым запрещаетс  прохождение тактовых импульсов с генератора импульсов на вход регистра 28. Дл  запуска новой программы обмена необходимо внов занести п счетчик 9 соответствующий начальный адрес.Thus, the digital computer, analyzing the output state of the device 26, receives a signal that the exchange is complete. After that, the digital computer sends a Stop signal to the input 19 of the device, which locks the element I 29 and thereby prohibits the passage of clock pulses from the pulse generator to the input of the register 28. To start the new exchange program, you must add n to the counter 9 the corresponding starting address.

На временной диаграмме работы устройства при выдаче последней и предпоследней команд управлени  программы обмена с внешним устройством (фиг.4) признаки приема и выдачи информации равны единице в обеих командах управлени . На диаграмме обозначено: 42 - состо ние выхода элемента И 29, 43 - состо ние выхода 34 блока 2 (строб Отпирание выходов посто нной пам ти), 44 - состо ние выхода 35 блока 2 (строб Запирание выходов посто нной пам ти), 45 - состо ние выхода 26 устройства (признак конца программы управлени ),In the time diagram of the device operation, when issuing the last and the penultimate control commands of the exchange program with an external device (FIG. 4), the signs of receiving and issuing information are equal to one in both control commands. The diagram shows: 42 - output state of the element I 29, 43 - output state 34 of unit 2 (strobe Unlocking of the permanent memory outputs), 44 - output state 35 of the unit 2 (strobe Locking of the constant memory outputs), 45 - device 26 output state (indication of the end of the control program),

46- состо ние третьего выхода пам ти 10 (признак выдачи информации),46 - the state of the third output of memory 10 (a sign of issuing information),

47- состо ние второго выхода пам ти 10 (признак приема информации),47 is the state of the second memory output 10 (a sign of receiving information),

48- состо ние четвертого выхода пам ти 10 (коды выходного уровн  ЦАП),48 is the state of the fourth memory output 10 (DAC output level codes),

49- состо ние входа 19 устройства (сигнал Останов), 50 - состо ние счетчика 9 адреса, 51 и 53 - коды выходных уровней ЦАП, 52 - адрес предпоследней команды управлени , 54 - адрес последней команды управлени  (адрес предпоследней команды плюс единица).49- device 19 input state (Stop signal), 50 - address 9 counter status, 51 and 53 - DAC output level codes, 52 - address of the penultimate control command, 54 - address of the last control command (address of the penultimate command plus one).

Выдача информации во внешнее устройство осуществл етс  следующим образом (признак выдачи информации равен единице). При поступлении на первый тактовый вход пам ти 10 строба Отпирание выходов посто нной пам ти на информационные выходы пам ти 10 поступает содержимое той  чейки пам ти, адрес которой находитс  в счетчике 9. При этом признак выдачи информации поступает на установпч92846The issuance of information to an external device is carried out as follows (the sign of issuing information is equal to one). Upon arrival at the first clock input of the memory 10 of the strobe Unlocking of the outputs of the permanent memory, the information outputs of the memory 10 enter the contents of that memory cell whose address is located in the counter 9. At the same time, the indication of the information output is received at setting 92846

ный вход ЦАП, а код выходного уровн  ЦАП - на информационный вход ЦАП. На выходе ЦАП устанавливаетс  соответствующий уровень напр жени . Этот уровень будет неизменным до прихода на установочный вход ЦАП последующего равного единице признака выдачи информации.the DAC input and the DAC output level code to the DAC information input. At the output of the DAC, the appropriate voltage level is set. This level will be unchanged until the arrival of the DAC setup input for the next unit of information.

Ю При приеме информации единице равен признак приема информации. После прихода строба Отпирание выходов посто нной пам ти признак приема информации поступает на тактовые входы 15 АЦП и счетчика 5. При этом напр жение на информационном входе АЦП преобра- зуетс  в цифровой код, записываемый в буферную пам ть 4 согласно адресу, хран щемус  в счетчике 5. При по- 20 ступлении строба Запирание выходов посто нной пам ти на второй тактовый вход пам ти 10 формируетс  эадний фронт сигнала признака выдачи информации , по которому увеличиваетс  наU When receiving information, the unit is equal to the sign of receiving information. After the arrival of the strobe Unlocking of the outputs of the permanent memory, the sign of receiving information arrives at the clock inputs 15 of the ADC and the counter 5. At the same time, the voltage at the information input of the ADC is converted into a digital code recorded in the buffer memory 4 according to the address stored in the counter 5. When a strobe arrives, locking the outputs of the permanent memory to the second clock input of memory 10 forms the front of the signal of the indication of information output, which is increased by

25 единицу содержимое счетчика 5 адреса Таким образом,цифровой код следующей выборки будет записан в последующую  чейку буферной пам ти 4.25 units the contents of the counter 5 addresses Thus, the digital code of the next sample will be recorded in the next cell of the buffer memory 4.

Буферна  пам ть 4 позвол ет сргла- 30 совать скорость работы ЦВМ и внешнего устройства. Начальный адрес дл  буферной пам ти 4 устанавливаетс  следующим образом. ЦВМ на вход-выход 11 устройства выставл ет требуемый ад5Buffer memory 4 allows to speed up the speed of the digital computer and external device. The starting address for the buffer memory 4 is set as follows. The digital computer on the device input-output 11 exposes the required ad5

00

5five

00

5five

рее, а на вход 21 - код записи в счетчик 5 адреса, который дешифриру - етс  в дешифраторе 7. После этого с первого выхода дешифратора 7 на вход записи счетчика 5 поступает сигнал, по которому в него заноситс  информаци  с входа-выхода 11 устройства.Then, the input code 21 is written to counter 5 of the address, which is decrypted in decoder 7. After that, from the first output of the decoder 7, a record arrives at the recording input of the counter 5, which receives information from the input-output 11 of the device.

Временна  диаграмма записи в счетчик 5 приведена на фиг.5, где 55 - состо ние входа-выхода 11, 56 - состо ние входа 21, 57 - состо ние первого выхода дешифратора 7, 58 - состо ние счетчика 5, 59 - адрес  чейки буферной пам ти, 60 - код записи в счетчик 5.The time diagram for writing to the counter 5 is shown in FIG. 5, where 55 is the input-output state 11, 56 - the state of input 21, 57 - the state of the first output of the decoder 7, 58 - the state of the counter 5, 59 - the address of the buffer cell memory, 60 - write code to the counter 5.

Чтение информации из буферной пам ти 4 осуществл етс  в следующей последовательности. В начале ЦВМ выдает на вход 21 устройства код записи в счетчик 5, а на вход-выход 11 - адрес  чейки в буферной пам ти 4. Код записи дешифрируетс  в дешифратор 7 и поступает на вход записи счетчика 5. По этому сигналу в счетчик 5 заноситс  информаци  с « хода-выхода 11The information from the buffer memory 4 is read in the following sequence. At the beginning, the digital computer sends the write code to counter 5 to input 21 of the device, and the cell address to the buffer memory 4 to input / output 11. The write code is decrypted into the decoder 7 and fed to the record entry of counter 5. By this signal, the counter 5 is entered information from the "exit-exit 11

устройства. Затем ЦВМ на вход 21 устройства выдает код чтени . При этом с третьего выхода дешифратора 7 на вход чтени  буферной пам ти 4 поступает сигнал, по которому на информационный выход буферной пам ти 4 выдаетс  содержимое той  чейки, адрес которой находитс  в счетчике 5. Далее указанна  информаци  поступает на вход-выход 11 устройства. devices. Then the digital computer on the input 21 of the device issues a reading code. In this case, from the third output of the decoder 7 to the read input of the buffer memory 4, a signal is received that sends the contents of the cell whose address is in the counter 5 to the information output of the buffer memory 4. Next, this information is fed to the input-output 11 of the device.

Временна  диаграмма чтени  из двух  чеек приведена на фиг.6, где 61 - состо ние входа-выхода 11 устройства , 62 - состо ние входа 21 устройства , 63 - состо ние первого выхода , дешифратора 7, 64 - состо ние счетчика 5 адреса, 65 - адрес первой  чейки, 66 - код записи в счетчик 5 адреса, 67 - код чтени , 68 - информаци , содержаща с  в первой  чейке, 69 - адрес второй  чейки, 70 - информаци , содержаща с  во второй  чейке, 71 - состо ние третьего выхода дешифратора 7.The time diagram of reading from two cells is shown in Fig. 6, where 61 is the device input-output 11 state, 62 is the device input 21 state, 63 is the first output state, decoder 7, 64 is the counter 5 address state, 65 - address of the first cell, 66 - code to write to the counter 5 addresses, 67 - code for reading, 68 - information contained in the first cell, 69 - address of the second cell, 70 - information containing the second cell, 71 - state of the third output decoder 7.

Дл  одновременного приема и выдачи информации признаки приема и выдачи информации одновременно должны быть равны единице.In order to simultaneously receive and issue information, the signs of receiving and issuing information must simultaneously be equal to one.

Таким образом, с помощью информации , хран щейс  в пам ти 10, имеетс  возможность управл ть режимом обмена информацией, задавать форму выходных сигналов и анализировать форму принимаемых. Информаци  о входном сигнале считываетс  в ЦВМ из буферной пам ти 4.Thus, using information stored in memory 10, it is possible to control the mode of information exchange, set the form of the output signals and analyze the form of the received signals. The input signal information is read into the digital computer from the buffer memory 4.

В пам ти 10 может хранитьс  несколько программ управлени  обменом. При необходимости содержимое микросхем пам ти 10 может быть стерто и микросхемы могут быть запрограммированы заново.Memory 10 may store several exchange control programs. If necessary, the contents of memory chips 10 can be erased and the chips can be programmed again.

При необходимости обмена в режиме непосредственного доступа (НД) внешнее устройство выдает на вход 24 сиг нал, соответствующий запросу НД, который поступает в регистр 8 и через выход 25 в ЦВМ. ЦВМ, прин в сигнал, переходит в режим НД. При этом удовлетворение других запросов запрещаетс . Затем внешнее устройство выдает на вход 24 сигнал, определ ющий направление обмена. Данный сигнал с выхода регистра 8 поступает на вы-i ход 27 устройства и далее в ЦВМ.If it is necessary to exchange in the direct access (LP) mode, the external device sends to the input 24 a signal corresponding to the request for the LP, which is fed to register 8 and through output 25 to the digital computer. The digital computer, having received the signal, goes into ND mode. However, the satisfaction of other requests is prohibited. Then the external device outputs to the input 24 a signal that determines the direction of the exchange. This signal from the output of register 8 is fed to you-i device 27 and further to the digital computer.

При записи информации в ЦВМ внешнее устройство через вход 17 посылает в регистр 1 прерываний и непоWhen writing information to the digital computer, the external device sends input 1 to the interrupt and non-interrupt register

5five

00

5five

00

5five

00

5five

средственного доступа адрес ОЗУ ЦВМ. С регистра 1 он поступает на вход- выход 11 устройства. Затем внешнее устройство выдает на синхровход 14 устройства стпоб Синхронизаци  активного устройства,который ссинхро- выхода 13 поступает в ЦВМ. При по влении данного строба ЦВМ с- входа- выхода 11 устройство принимает адрес ОЗУ, куда будет заноситьс  информаци .Medium access RAM address of the digital computer. From register 1, it enters the input-output 11 of the device. Then, the external device outputs to the synchronous input 14 of the device synchronization of the active device, which is connected to the digital output terminal 13. When this strobe of a digital computer with an input-output 11 is detected, the device receives the address of the RAM where the information will be entered.

ЦВМ, прин в начальный адрес, выдает на синхровход 12 строб Синхронизаци  пассивного устройства, который поступает во внешнее устройство с синхровхода 1Ь„ Получив данный сигнал, внешнее устройство заносит в регистр 1 через вход 17 данные, которые записываютс  в ОЗУ ЦВМ при поступлении на синхровход 14 и далее на синхровход 13 строба Синхрониза- ци  активного устройства. Прин в данные с входа-выхода 11, ЦВМ выдает на синхровход 12 строб Синхронизаци  пассивного устройства, подтверждающий прием информации.The digital computer, having received the start address, sends a 12 strobe to the synchronization input. Synchronization of the passive device, which enters the external device from the 1b synchronous input. Upon receiving this signal, the external device records to register 1 via input 17 data that is written to the RAM of the digital computer on entering the synchronous input 14 and further to the synchronous input 13 of the gate Synchronization of the active device. Upon receipt of the data from input-output 11, the digital computer sends to the synchronous input 12 strobe Synchronization of the passive device, confirming reception of information.

Таким образом, внешнее устройство может выдать в ЦВМ всю требуемую информацию. После окончани  записи данных внешнее устройство выдает на вход 24 сигнал об окончании обмена , который поступает с выхода регистра 8 на выход 27 устройства. Тем самым ЦВМ получает информацию об окон чании обмена.Thus, the external device can give all the required information to the digital computer. After the end of the data recording, the external device outputs to the input 24 a signal about the end of the exchange, which comes from the output of the register 8 to the output 27 of the device. Thus, the digital computer receives information about the end of the exchange.

При записи информации из ОЗУ ЦВМ в пам ть внешнего устройства внешнее устройство через вход 24 заносит в регистр 8 код, соответствующий чтению информации из ОЗУ ЦВМ. Указанный код поступает на выход 27 устройства .When writing information from the RAM of a digital computer to the memory of an external device, an external device, via input 24, enters into register 8 a code corresponding to reading information from the RAM of the digital computer. The specified code is fed to the output 27 of the device.

Затем внешнее устройство заносит в регистр 1 прерываний и непосредственного доступа адрес ОЗУ ЦВМ, из которого будет производитьс  чтение информации.После этого внешнее устройство выдает строб Синхронизаци  активного устройства, который поступает на синхровыход 13. По данному стробу ЦВМ принимает с входа-выхода 11 адрес ОЗУ, после чего ЦВМ заносит в регистр 1 через вход-выход 11 соответствующую информацию. Запись IB регистр 1 производитс  по сигналу, поступающему с выхода 26 устройства ,на установочный вход регистра 1 пре- , рывани  и непосредственного доступа.Then, the external device enters the interrupt and direct access register 1 of the RAM address of the digital computer from which information will be read. After that, the external device issues a synchronization gate of the active device, which is fed to the sync output 13. By this gate, the digital computer receives the address of RAM from input-output 11 after which the CVM enters the register 1 through the input-output 11 of the relevant information. Record IB register 1 is made on the signal coming from the output 26 of the device to the installation input of the register 1 of pre-, ditching and direct access.

По стробу Синхронизаци  пассивного устройства, поступающего с синхро- входа 12 на синхровыход 15, внешнее устройство с выхода 18 принимает данные, записанные в регистре 1.On the Synchronization gate of the passive device coming from sync-input 12 to sync-output 15, the external device from output 18 receives data recorded in register 1.

Подтверждение приема осуществл етс  выдачей на синхровход 14 строба Синхронизаци  активного устройства . После приема всего массива информации внешнее устройство через вход 24 заносит в регистр 8 код, соответствующий окончанию обмена. Тем самым ЦВМ с выхода 27 устройства по- лучает информацию об окончании обмена .Acknowledgment is performed by issuing a gate 14 to the sync input. Synchronize the active device. After receiving the entire array of information through the input 24, the external device enters into the register 8 a code corresponding to the end of the exchange. Thus, the digital computer from the output 27 of the device receives information about the end of the exchange.

Claims (1)

Формула изобретени Invention Formula Устройство дл  сопр жени  ЦВМ с внешним устройством, содержащее регистр прерывани  и непосредственного доступа, дешифратор, блок синхронизации , счетчик адреса, буферную пам ть , цифроаналоговый преобразователь , аналого-цифровой преобразователь , причем первый информационный вход и информационный выход регистра прерывани  и непосредственного доступа  вл ютс  входом и выходом ус ройства дл  подключени  соответственно к первым информационным выходу и входу внешнего устройства, второй информационный вход регистра прерывани  и непосредственно доступа соединен с информационнм входом счетчика адреса,с информационным выходом буферной пам ти и  вл етс  входом-выходом устройства дл  подключени  к информационному входу-выходу ЦВМ, вход дешифратора  вл етс  входом устройства дл  подключени  к выходу записи ЦВМ, первый и второй разрешающие входы блока синхронизации  вл ютA device for interfacing a digital computer with an external device, comprising an interrupt and direct access register, a decoder, a synchronization unit, an address counter, a buffer memory, a digital-to-analog converter, an analog-to-digital converter, the first information input and the information output of the interruption and direct access register input and output devices for connecting respectively to the first information output and input of an external device, the second information input of the interrupt register and access is connected to the information input of the address counter, to the information output of the buffer memory and is the input-output of the device for connecting to the information input-output of the digital computer, the input of the decoder is the input of the device for connecting the recording output of the digital computer, the first and second permitting inputs of the block sync are с  входами устройства дл  подключени  первого счетчика адреса,тактовый входwith device inputs for connecting the first address counter, clock input соответственно к выходам блокировки и пуска ЦВМ, информационный выход цифроаналогового преобразовател  и информационный вход аналого-цифрового преобразовател   вл ютс  выходом и входом устройства дл  подключени  соответственно к вторым информационным входу и выходу внешнего устройства, при этом выход аналого50respectively, to the blocking and starting outputs of the digital computer, the information output of the digital-to-analog converter and the information input of the analog-digital converter are the output and input of the device for connecting respectively to the second information input and output of the external device, while the output is analog аналого-цифрового преобразовател  соединен со счетным входом первого счетчика адреса и с вторым информационным выходом посто нной пам ти,третий и четвертый информационные вы-; ходьь которой соединены соответственно с установочным и информационными входами цифроаналогового преобразовател .the analog-digital converter is connected to the counting input of the first address counter and with the second information output of the permanent memory, the third and fourth information outputs; the way of which is connected respectively with the installation and information inputs of the digital-analog converter. 00 5five o « o " 00 5five 5five цифрового преобразовател  соединен с информационным входом буферной пам ти , адресный  ход которой соединен с выходом первого счетчика адреса , вход записи которого соединен с первым выходом дешифратора, второй выход которого соединен с входом чтени  буферной пам ти, отличающеес  тем, что, с целью повышени  быстродействи , в устройство введены посто нна  пам ть, второй счетчик адреса, регистр запроса прерывани  и направлени  обмена, причем установочный вход регистра прерывани  и непосредственного доступа соединен с установочным входом регистра запроса прерывани  и направлени  обмена и  вл етс  входом устройства дл  подключени  к выходу чтени  ЦВМ, информационный вход, первый и второй информационные выходы регист-1 ра запроса прерывани  и направлени  обмена  вл ютс  входом и выходами устройства дл  подключени  соответ ственно к выходу запроса прерывани  и направлени  обмена внешнего устройства , к входам запроса прерывани  и направлени  обмена ЦВМ, первый информационный выход посто нной пам ти  вл етс  выходом устройства дл  подключени  к входу анализа окончани  программы обмена ЦВМ, при этом первый синхровыход блока синхронизации соединен с первым тактовым вводом посто нной пам ти, второй тактовый вход которой соединен с вторым синхровыходом блока синхронизации и со счетным входом счетчика адреса, вход записи, выход и информационный вход которого соединены соответственно с третьим выходом дешифратора , с адресным входом посто нной пам ти и с информационным входомthe digital converter is connected to the information input of the buffer memory, the address path of which is connected to the output of the first address counter, the write input of which is connected to the first output of the decoder, the second output of which is connected to the read input of the buffer memory, in order to improve speed, A permanent memory, a second address counter, an interrupt request register and an exchange direction are entered into the device, with the installation input of the interruption register and direct access connected to the installation input The house of the interrupt request register and the exchange direction is the input of the device for connecting to the read output of the digital computer, the information input, the first and second information outputs of the interrupt request register and the exchange direction are the input and output of the device for connecting respectively the interrupt request output and the direction of the exchange of the external device, to the interrupt request inputs and the direction of the exchange of the digital computer, the first information output of the fixed memory is the output of the device for connecting to the analysis input terminal and the exchange program of the digital computer, the first sync output of the synchronization block is connected to the first clock input of the permanent memory, the second clock input of which is connected to the second sync output of the synchronization block and the counting input of the address counter, the record input, output and information input of which are connected respectively to the third the output of the decoder, with the address input of the permanent memory and with the information input 00 аналого-цифрового преобразовател  соединен со счетным входом первого счетчика адреса и с вторым информационным выходом посто нной пам ти,третий и четвертый информационные вы-; ходьь которой соединены соответственно с установочным и информационными входами цифроаналогового преобразовател .the analog-digital converter is connected to the counting input of the first address counter and with the second information output of the permanent memory, the third and fourth information outputs; the way of which is connected respectively with the installation and information inputs of the digital-analog converter. Фиг.2.2. toto / х/ x t гпфt gpf .0  .0 7826l9l r7826l9l r 6969 у уat К ISK IS 9S SS9S SS s глфs hlf OSOS 99 Фаг 6Phage 6
SU894637964A 1989-01-16 1989-01-16 Computer to peripheral interface SU1619284A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU894637964A SU1619284A1 (en) 1989-01-16 1989-01-16 Computer to peripheral interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU894637964A SU1619284A1 (en) 1989-01-16 1989-01-16 Computer to peripheral interface

Publications (1)

Publication Number Publication Date
SU1619284A1 true SU1619284A1 (en) 1991-01-07

Family

ID=21423023

Family Applications (1)

Application Number Title Priority Date Filing Date
SU894637964A SU1619284A1 (en) 1989-01-16 1989-01-16 Computer to peripheral interface

Country Status (1)

Country Link
SU (1) SU1619284A1 (en)

Similar Documents

Publication Publication Date Title
SU1619284A1 (en) Computer to peripheral interface
US4480277A (en) Information processing system
US4881169A (en) Apparatus for controlling peripheral equipment
CA1103808A (en) Apparatus for real time transfer of data
SU1238091A1 (en) Information output device
SU1287237A1 (en) Buffer storage
SU1278869A1 (en) Interface for linking electronic computer with peripheral equipment
SU1283760A1 (en) Control device for microprocessor system
SU1462408A1 (en) Device for displaying information on television indicator screen
SU1429104A1 (en) Information output device
SU960789A1 (en) Device for checking recording in magnetic disk memory units
SU1527639A1 (en) Device for interfacing peripheral units and computer main line
SU1361614A1 (en) Information-displaying device
SU1368919A1 (en) Arrangement for converting data format in domain memory
RU1783509C (en) Device for information input
SU1596333A1 (en) Device for detecting errors in data transfer
SU1589288A1 (en) Device for executing logic operations
SU1550525A1 (en) Device for interfacing comimunication channel and computer
SU1142825A1 (en) Device for displaying information onto crt screen
SU1019431A1 (en) Magnetic disk memory data input-output device
SU1305771A1 (en) Buffer memory driver
SU1264159A1 (en) Device for preparing data
SU1305692A1 (en) Information input device
SU1399750A1 (en) Device for interfacing two digital computers with common storage
SU1183975A1 (en) Interface for likning computer devices operating with different speeds