RU1835546C - Data-exchange adapter - Google Patents

Data-exchange adapter

Info

Publication number
RU1835546C
RU1835546C SU904871020A SU4871020A RU1835546C RU 1835546 C RU1835546 C RU 1835546C SU 904871020 A SU904871020 A SU 904871020A SU 4871020 A SU4871020 A SU 4871020A RU 1835546 C RU1835546 C RU 1835546C
Authority
RU
Russia
Prior art keywords
information
buffer memory
input
inputs
output
Prior art date
Application number
SU904871020A
Other languages
Russian (ru)
Inventor
Александр Иванович Багрич
Владимир Михайлович Цыганков
Original Assignee
Военный Инженерный Краснознаменный Институт Им.А.Ф.Можайского
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 Военный Инженерный Краснознаменный Институт Им.А.Ф.Можайского filed Critical Военный Инженерный Краснознаменный Институт Им.А.Ф.Можайского
Priority to SU904871020A priority Critical patent/RU1835546C/en
Application granted granted Critical
Publication of RU1835546C publication Critical patent/RU1835546C/en

Links

Landscapes

  • Communication Control (AREA)

Abstract

Изобретение относитс  к области автоматики и вычислительной техники и может быть использовано дл  сопр жени  разно- скоростных устройств обработки и передачи данных при одновременном поступлении синхроимпульсов записи и считывани . Устройство содержит счетчики, коммутаторы, буферную пам ть, элементы НЕ, два комбинационных сумматора, два элемента ИЛИ- НЕ. элемент И, блоки .совпадени  кодов, регистр (управлени  буферной пам тью) и элемент ИЛИ. Работа устройства состоит в организации обмена информацией между источником и приемником, при этом изменение размерности буферной пам ти дает возможность управл ть скоростью передани информации от источника к приемнику, когда запись информации происходит быстрее считывани . 1 ил.The invention relates to the field of automation and computer technology and can be used to interface different-speed data processing and transmission devices with the simultaneous receipt of write and read clock pulses. The device contains counters, switches, buffer memory, elements NOT, two combinational adders, two elements OR NOT. an AND element, code matching blocks, a register (buffer memory management), and an OR element. The operation of the device consists in organizing the exchange of information between the source and the receiver, while changing the dimension of the buffer memory makes it possible to control the transmission rate of information from the source to the receiver when information is recorded faster than reading. 1 ill.

Description

CS .CS

ЁYo

Изобретение относитс  к области автоматики и вычислительной техники, может быть использовано дл  сопр жени  разно- скоростных устройств обработки и передачи данных при одновременном поступлении сигналов записи и считывани .The invention relates to the field of automation and computer technology, can be used to interface different-speed data processing and transmission devices with the simultaneous receipt of read and write signals.

Цель изобретени  - расширение функциональных возможностей устройства за счет управлени  размерностью буферной пам ти, используемой при обмене информацией , что позвол ет вли ть на скорость обмена информацией.The purpose of the invention is to expand the functionality of the device by controlling the dimension of the buffer memory used in the exchange of information, which allows you to affect the speed of information exchange.

На чертеже представлена схема устройства .The drawing shows a diagram of the device.

Устройство содержит источник 1 и приемник 2 информации, коммутаторы ввода 3 и вывода 4 информации, регистры 5 буферной пам ти 6, счетчики 7 записи и 8 считывани , блоки совпадени  кодов 9 и 10.The device comprises a source 1 and a receiver 2 of information, switches for inputting 3 and outputting 4 information, registers 5 of buffer memory 6, counters 7 of record and 8 of reading, matching blocks of codes 9 and 10.

регистр 11, группу элементов НЕ 12, комбинационные сумматоры 13 и 16, элементы ИЛИ-НЕ 14 и 17. элемент И 15, элемент ИЛИ 18. вход 19 приемника 2 и вход 20 источника 1.register 11, a group of elements NOT 12, combiners 13 and 16, elements OR NOT 14 and 17. element AND 15, element OR 18. input 19 of receiver 2 and input 20 of source 1.

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

Перед процессом передачи информации источник 1 посылает сигнал Запрос на прием на вход 1.9 приемника 2. который при готовности к работе выдает на вход 20 источника 1 сигнал Готов к приему. После этого источник 1 информации, исход  из данных о требуемом при обмене информацией объеме буферной пам ти, через вход настройки устройства заносит в регистр 11 код, соответствующий числу регистров 5. за- действуемых при обмене. При этом первоначально на первый синхронизирующийBefore the process of transmitting information, source 1 sends a signal A request for reception to the input 1.9 of receiver 2. which, when ready for operation, issues a signal Ready to receive at input 20 of source 1. After that, the information source 1, proceeding from the data on the amount of buffer memory required for information exchange, enters into the register 11 a code corresponding to the number of registers 5. used during the exchange through the device settings input. Moreover, initially on the first synchronizing

00 CJ00 CJ

ел елeaten eaten

.N.N

оabout

вход устройства выдаетс  синхроимпульс записи, который поступает на тактовый вход счетчика 7, В счетчике 7 записи формируетс  адресный код, поступающий на адресные входы коммутатора 3 ввода информации, который подключает информационный вход устройства к соответствующему регистру 5 буферной пам ти 6, Источник: 1 выдает информацию в очередной регистр 5. При выдаче очередного синхроимпульса в случае совпадени  кодов в счетчике 7 записи л регистре 11 срабатывает первый блок 9 совпадени  кодов, сигнал с которого обнул ет счетчик 7 записи. Очередной информационный код записываетс  в нулевой регистр 5 буферной пам ти 6, что ограничивает число используемых при обмене информацией регистров.the input of the device is issued a write clock, which is fed to the clock input of the counter 7. An address code is generated in the write counter 7, which is sent to the address inputs of the information input switch 3, which connects the information input of the device to the corresponding register 5 of the buffer memory 6, Source: 1 provides information into the next register 5. When the next sync pulse is issued in case the codes match in the counter 7 of the record, the first block 9 of the code coincidence is triggered by the register 11, the signal from which resets the counter 7 of the record. The next information code is recorded in the zero register 5 of the buffer memory 6, which limits the number of registers used in the exchange of information.

При наличии информации в буферной пам ти 6 на второй синхронизирующий вход устройства выдаетс  синхроимпульс считывани , который/юступает на тактовый вход счетчика 8. В счетчике 8 считывани  формируетс  адресный код, поступающий на адресные входы коммутатора 4 вывода информации, который подключает соответствующий регистр 5 буферной пам ти б к информационному выходу устройства. Приемник 2 принимает информацию из очередного регистра 5. При выдаче очередного синхроимпульса в случае совпадени  кодов в счетчике 8 считывани  и регистре 11 срабатывает второй блок 10 совпадени  кодов, сигнал с которого обнул ет счетчик 8 считывани . Очередной информационный код считываетс  из нулевого регистра 5 буферной пам ти 6, что ограничивает число .используемых при обмене информацией регистров.If there is information in the buffer memory 6, a read clock is issued to the second synchronizing input of the device, which is assigned to the clock input of the counter 8. In the read counter 8, an address code is generated, which goes to the address inputs of the information output switch 4, which connects the corresponding buffer memory register 5 tyb to the information output of the device. The receiver 2 receives information from the next register 5. When the next clock is issued, if the codes in the read counter 8 and the register 11 coincide, the second code matching block 10 is activated, the signal from which the read counter 8 resets. The next information code is read from the zero register 5 of the buffer memory 6, which limits the number of registers used in exchanging information.

Поскольку запись и считывание информации в буферную пам ть происходит с различной скоростью, необходимо фиксировать моменты полного считывани  информации полного заполнени  буферной пам ти. Дл  определени  этих моментов адресные коды со счетчика 7 записи через инверторы 12 и со счетчика 8 считывани  подаютс  на входы комбинационного сумматора 13. На выходах сумматора 13 формируетс  код, отражающий количество регистров 5 буферной пам ти 6, хран щих несчитанную информацию.Since the recording and reading of information in the buffer memory occurs at different speeds, it is necessary to record the moments of the complete reading of the information that the buffer memory is full. To determine these moments, the address codes from the write counter 7 through the inverters 12 and from the read counter 8 are supplied to the inputs of the combiner adder 13. A code is generated at the outputs of the adder 13, which reflects the number of registers 5 of the buffer memory 6 that store unread information.

В случае, когда считывание информации происходит быстрее записи, момент полного считывани  информации из буферной пам ти.определ ётс  единичным кодом на выходе сумматора 13. Этот код формирует на выходе элемента Л 15 сигнал блокировки чтени , который передаетс  в приемник информации 2. Сигнал будет сохран тьс  до тех пор, пока информаци  не будет записана хот  бы в один регистр.In the case when the reading of information is faster than writing, the time of the complete reading of information from the buffer memory is determined by a single code at the output of the adder 13. This code generates a read lock signal at the output of element L 15, which is transmitted to the information receiver 2. The signal will be saved until information is recorded in at least one register.

В случае, когда запись информации происходит быстрее считывани , момент полного заполнени  буферной пам ти определ етс  двум  способами. Во-первых, при этом возможна ситуаци , что адресный код на счетчике 7 записи на единицу меньше адресного кода на счетчике 8 считывани .In the case when the recording of information is faster than reading, the moment of full filling of the buffer memory is determined in two ways. Firstly, it is possible that the address code on the write counter 7 is one less than the address code on the read counter 8.

Это состо ние соответствует нулевому коду на выходе сумматора 13. Данный код формирует на выходе первого элемента ИЛИ- НЕ 14 сигнал блокировки записи, который передаетс  через элемент ИЛИ 18 в источ5 ник информации 1. Сигнал будет сохран тьс  до тех пор, пока информаци  не будет считана еще хот  бы из одного регистра 5. Во-вторых,в св зи с произвольным числом используемых в передаче регистров 5 в бу0 ферной пам ти 6 возможна ситуаци , когда адресный код на счетчике записи 7 соответствует максимальному номеру используемого в буферной пам ти 6 регистра 5, а адресный код на счетчике считывани  8 ну5 левой. Это состо ние счетчиков соответствует нулевому коду на выходе второго комбинационного сумматора 16, поскольку на его входы первого слагаемого подаетс  инверсный адресный код счетчика 7 записи,This state corresponds to the zero code at the output of the adder 13. This code generates a write-lock signal at the output of the first element OR-14, which is transmitted through the OR element 18 to the information source 1. The signal will be stored until the information is at least one register was read 5. Secondly, in connection with an arbitrary number of registers 5 used in transmission, buffer memory 6 may have a situation where the address code on the write counter 7 corresponds to the maximum number used in the buffer memory 6 istra 5, and address code to the read counter 8 nu5 left. This state of the counters corresponds to the zero code at the output of the second combination adder 16, since the inverse address code of the write counter 7 is supplied to its inputs of the first term.

0 а на входы второго слагаемого код с регистра 11. Данный код формирует на выходе второго элемента ИЛИ-НЕ 17 сигнал блокировки записи, который передаетс  через элемент ИЛИ 18 в источник 1.0, and the code from register 11 to the inputs of the second term. This code generates a write lock signal at the output of the second OR-NOT 17 element, which is transmitted through the OR element 18 to source 1.

5 формула изобретени 5 claims

Устройство дл  сопр жени , содержащее буферную пам ть, счетчики записи и считывани , коммутаторы ввода и вывода информации, группу элементов НЕ, первыйAn interface device comprising a buffer memory, read and write counters, information input and output switches, a group of elements NOT, the first

0 комбинационный сумматор, первый элемент ИЛИ-НЕ и элемент И, причем информационный вход коммутатора ввода информации  вл етс  информационным входом устройства, а выходы соединены с0 combinational adder, the first element OR NOT and the element AND, moreover, the information input of the input switch information is the information input of the device, and the outputs are connected to

5 входами буферной пам ти, выходы которой соединены с информационными входами коммутатора вывода информации, выход которого  вл етс  информационным выходом устройства, первым синхронизирующим5 inputs of the buffer memory, the outputs of which are connected to the information inputs of the information output switch, the output of which is the information output of the device, the first synchronizing

0 входом которого  вл етс  тактовый вход счетчика записи, а его выходы соединены с адресными входами коммутатора ввода информации и входами элементов НЕ, выходы которых соединены со входами первогосла5 гаемого первого комбинационного сумматора , вторым синхронизирующим входом устройства  вл етс  тактовый вход счетчика считывани , а его выходы соединены с адресными входами коммутатора вывода информации и входами второго слагаемогоThe input of which is the clock input of the write counter, and its outputs are connected to the address inputs of the information input switch and the inputs of the elements NOT, the outputs of which are connected to the inputs of the first sent first combiner, the second clock input of the device is the clock input of the read counter, and its outputs connected to the address inputs of the information output switch and the inputs of the second term

первого комбинационного сумматора, выходы которого соединены с входами первого элемента ИЛИ-НЕ и элемента И, выход которого  вл етс  выходом готовности считывани  устройства, отличающеес  тем, что, с целью расширени  области применени  устройства, в него введены регистр , первый и второй блоки совпадени  кодов, второй комбинационный сумматор, второй элемент ИЛИ-НЕ и элемент ИЛИ, причем вход настройки устройства соединен с группой входов регистров, выход которого соединен с первыми группами входов Первого и второго блоков совпадени  кодов и входами первого слагаемого второго комбинационного сумматора, входы второго слагаемого которого соединеныthe first combination adder, the outputs of which are connected to the inputs of the first OR-NOT element and the AND element, the output of which is the readiness output of a device readout, characterized in that, in order to expand the scope of the device, a register, first and second code matching blocks are inserted into it , a second combiner, a second OR-NOT element and an OR element, the device setup input being connected to a group of register inputs, the output of which is connected to the first groups of inputs of the First and second matching blocks dow and inputs of the first term of the second combination adder, the inputs of the second term of which are connected

с выходами первого комбинационного сумматора, выходы второго комбинационного сумматора соединены с входами второго элемента ИЛИ-НЕ. выход которогоwith the outputs of the first combination adder, the outputs of the second combination adder are connected to the inputs of the second element OR NOT. whose output

соединен с первым входом элемента ИЛИ, второй вход которого соединен с выходом первого элемента ИЛИ-НЕ, выход элемента ИЛИ  вл етс  выходом готовности записи устройства, выходы счетчика записиconnected to the first input of the OR element, the second input of which is connected to the output of the first OR-NOT element, the output of the OR element is the write ready output of the device, the outputs of the write counter

соединены с второй группой входов первого блока совпадени  кодов, выход которого соединен с входом сброса счетчика записи, выходы счетчика считывани  сое- динен ы со второй группой входов второгоconnected to the second group of inputs of the first block matching codes, the output of which is connected to the reset input of the write counter, the outputs of the read counter are connected to the second group of inputs of the second

блрка совпадени  кодов, выход которого соединен с входом сброса счетчика считывани .a code matching block whose output is connected to a reset counter input of a read counter.

SU904871020A 1990-07-02 1990-07-02 Data-exchange adapter RU1835546C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU904871020A RU1835546C (en) 1990-07-02 1990-07-02 Data-exchange adapter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU904871020A RU1835546C (en) 1990-07-02 1990-07-02 Data-exchange adapter

Publications (1)

Publication Number Publication Date
RU1835546C true RU1835546C (en) 1993-08-23

Family

ID=21538731

Family Applications (1)

Application Number Title Priority Date Filing Date
SU904871020A RU1835546C (en) 1990-07-02 1990-07-02 Data-exchange adapter

Country Status (1)

Country Link
RU (1) RU1835546C (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР №881722. кл. G 06 F 13/00, 1981. Авторское свидетельство СССР JSfe 1259275, кл. G 06 F 13/00, 1985. *

Similar Documents

Publication Publication Date Title
EP0392565B1 (en) System bus control system
US5079696A (en) Apparatus for read handshake in high-speed asynchronous bus interface
EP0564118B1 (en) Serial data transfer apparatus
RU1835546C (en) Data-exchange adapter
USRE29246E (en) Data transfer control apparatus and method
RU1795443C (en) Device for information input
JP2523874B2 (en) Asynchronous serial data transmission device
KR19990008189A (en) Method and apparatus for reducing the latency of an interface by overlapping transmitted packets
SU1476434A1 (en) Program control device for process equipment
US5701546A (en) Parallel interface circuit having a n-byte buffer and tansmitting the n byte data on a byte-by-byte basis in response to interrupt request signal
US5479165A (en) Two-dimensional coding apparatus
SU1259275A1 (en) Interface
RU2058584C1 (en) Interface unit
SU535583A1 (en) Device for processing telemetric information
SU1543411A1 (en) Device for interfacing computer and peripheral objects
RU2022347C1 (en) Data exchange device
SU1246107A1 (en) Interface for linking electronic computer with bus
SU771658A1 (en) Information input device
SU1249583A1 (en) Buffer storage
RU1807494C (en) Data exchange device
RU2033636C1 (en) Data source-to-processor interface
SU1051527A1 (en) Interface
SU1688229A1 (en) Production process programmable control system
JPH0581165A (en) Data transfer circuit
SU1571604A1 (en) Device for data exchange for trunk multimachine computing system