SU1656544A1 - Device for matching computer with communication channel - Google Patents
Device for matching computer with communication channel Download PDFInfo
- Publication number
- SU1656544A1 SU1656544A1 SU884498300A SU4498300A SU1656544A1 SU 1656544 A1 SU1656544 A1 SU 1656544A1 SU 884498300 A SU884498300 A SU 884498300A SU 4498300 A SU4498300 A SU 4498300A SU 1656544 A1 SU1656544 A1 SU 1656544A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- register
- information
- outputs
- Prior art date
Links
Landscapes
- Information Transfer Systems (AREA)
Abstract
Изобретение относитс к вычислительной технике и цифровой автоматике и может быть использовано в системах передачи данных дл адаптации периферийного интерфейса св зи с двунаправленным параллельным интерфейсом. Целью изобретени вл етс повышение быстродействи . Устройство содержит блок управлени приемо- передачей, блок пр мого доступа в пам ть, шинные формирователи данных, шинные формирователи адреса, регистр передачи, регистр приема, два регистра сдвига, регистр запроса магистрали, регистр состо ни , дешифратор порта, дешифратор, генератор импульсов , триггер управлени . 4 ил.The invention relates to computing and digital automation and can be used in data transmission systems to adapt a peripheral communication interface with a bi-directional parallel interface. The aim of the invention is to increase speed. The device comprises a transmission control unit, a block of direct memory access, bus data drivers, bus address drivers, transfer register, reception register, two shift registers, trunk request register, status register, port decoder, decoder, pulse generator, control trigger. 4 il.
Description
Изобретение относитс к вычислительной технике и цифровой автоматике и может быть использовано в системах передачи данных дл адаптации периферийного интерфейса св зи с двунаправленным параллельным интерфейсом.The invention relates to computing and digital automation and can be used in data transmission systems to adapt a peripheral communication interface with a bi-directional parallel interface.
Целью изобретени вл етс повышение быстродействи .The aim of the invention is to increase speed.
На фиг. 1 представлена структурна схема устройства; на фиг. 2 - то же, блока пр мого доступа в пам ть; на фиг. 3 - то же, блока управлени приемопередачей; на фиг. 4 -то же, регистра состо ни .FIG. 1 shows a block diagram of the device; in fig. 2 - the same, block of direct memory access; in fig. 3 - the same, the transceiver control unit; in fig. 4 is the same, the state register.
Устройство (фиг. 1) содержит шинные формирователи 1 данных, шинные формирователи 2 адреса, блок 3 пр мого доступа в пам ть, дешифратор 4 порта, дешифратор 5, триггер 6 управлени , регистр 7 передачи, регистр 8 приема, регистры 9, 10 сдвига, регистр 11 запроса магистрали, блок 12 управлени приемопередачей, генератор 13 импульсов, регистр 14 состо ни , входы-выходы 15, 16, входы и выходы 17 - 26.The device (Fig. 1) contains bus data drivers 1, bus drivers 2 addresses, block 3 direct memory access, decoder 4 ports, decoder 5, control trigger 6, transfer register 7, reception register 8, shift registers 9, 10 , a trunk request register 11, a transceiver control unit 12, a pulse generator 13, a state register 14, inputs-outputs 15, 16, inputs and outputs 17-26.
Блок 3 пр мого доступа в пам ть (фиг. 2) содержит контроллер 27 пр мого доступа в пам ть, шинные формирователи 28. регистр 29 адреса, элемент ИЛИ 30, входы 31-41 и выходы 42-46 контроллера 27.Block 3 of the direct memory access (Fig. 2) contains the controller 27 of the direct memory access, bus drivers 28. address register 29, the OR element 30, inputs 31-41 and outputs 42-46 of the controller 27.
Блок 3 управлени приемопередачей (фиг. 3) содержит кодер-декодер 27, одно- вибратор 48, элемент И 49. элемент НЕ 50, элементы И 51, 52, элемент НЕ 53, элемент И 54, элемент И-ИЛИ 55, триггер 56, элемент И 57, триггер 58, элемент НЕ 59, элемент И-ИЛИ-НЕ 60, элемент НЕ 61, элемент И 62, входы 63-68 выходы 69-76 кодера-декодера 47, элемент ИЛИ-НЕ 77.Transceiver control unit 3 (FIG. 3) contains codec 27, single vibrator 48, element AND 49. element NOT 50, element And 51, 52, element 53, element AND 54, element AND-OR 55, trigger 56 , element 57, trigger 58, element NOT 59, element AND-OR-NOT 60, element NOT 61, element AND 62, inputs 63-68, outputs 69-76 of encoder-decoder 47, element OR-NOT 77.
Регистр 14 состо ни (фиг. 4) содержит элемент НЕ 78, элемент И-НЕ 79, элемент И-ИЛИ 80, триггеры 81-83.The state register 14 (FIG. 4) contains the element NOT 78, the element AND-NO 79, the element AND-OR 80, and the triggers 81-83.
В качестве контроллера 27 пр мого доступа в пам ть может использоватьс микросхема типа 580 ВТ57.Chip type 580 BT57 can be used as the controller 27 for direct memory access.
В качестве кодера-декодера 47 может использоватьс микросхема типа 588 ВГЗ.Chip type 588 VGZ can be used as a coder-decoder 47.
Данное устройство предназначено дл адаптации последовательного периферийО (ЯThis device is intended to adapt the serial peripheral O (I
схsc
0101
fcfc
ного интерфейса с двунаправленным параллельным интерфейсом, выполнени последовательно-параллельного и параллельно-последовательного преобразовани данных, передаваемых между этими интерфейсами. Причем данные в последовательном интерфейсе могут следовать непрерывным потоком, длина которого ограничиваетс емкостью четырнадцатиразр дного регистра циклов контроллера пр мого доступа в пам ть блока 3. Данные и адреса параллельного интерфейса поступа- ют в/из устройства через двунаправленные шинные формирователи 1 данных и двунаправленные шинные формирователи 2 адреса . Выходные последовательные данные передаютс с выхода 25 блока 21, а принимаютс на вход 26 блока 12. Передача и прием последовательных данных осуществл етс на частоте 1 МГц бипол рными фазо- манипулированными сигналами,interface with a bidirectional parallel interface, performing serial-parallel and parallel-serial conversion of data transmitted between these interfaces. Moreover, the data in the serial interface can follow a continuous stream, the length of which is limited by the capacity of the fourteen-bit cycle register of the controller of direct access to the memory of block 3. The data and addresses of the parallel interface are fed into and out of the device via bi-directional bus generators 1 and bi-directional bus generators 2 addresses. The output serial data is transmitted from the output 25 of block 21, and is received at the input 26 of block 12. Transmission and reception of serial data is carried out at a frequency of 1 MHz by bipolar phase-shifted signals
Обмен данными между параллельным и последовательным интерфейсами осуществл етс посылками передачи и приема. Обмен данными в последовательном интерфейсе осуществл етс посылками передачи в сторону периферии с об зательным приемом ответных посылок.The data exchange between the parallel and serial interfaces is carried out by transmission and reception bursts. Data exchange in the serial interface is carried out by sending transmissions towards the periphery with the necessary reception of response messages.
Устройство содержит программно доступный триггер 6 управлени , регистр 2 передачи и в блоке 3 - контроллер 27, в котором имеютс два канала, каждый из который имеет 16-разр дный регистр начального адреса пам ти и 16-разр дный регистр циклов.The device contains a programmable control trigger 6, a transfer register 2 and in block 3 a controller 27 in which there are two channels, each of which has a 16-bit register of the initial memory address and a 16-bit register of cycles.
После включени питани устройству подаетс сигнал обнулени , который приводит в исходное состо ние триггеры, регистры и блоки устройства.After the power is turned on, the device is given a zero signal, which resets the triggers, registers, and blocks of the device.
Тракт сигнала обнулени в устройстве не показан.The zero signal path in the device is not shown.
Инициатором обмена вл етс управл юща система, в состав которой входит устройство, которое она программирует, после чего устройство осуществл ет выдачу данных из пам ти в последовательный интерфейс и запись в пам ть ответных сообщений последовательного интерфейса.The exchange is initiated by a control system, which includes the device that it programs, after which the device issues data from the memory to the serial interface and writes to the memory of the response messages of the serial interface.
При программировании устройства последним программируетс регистр 7 передачи , так как после записи в него информации устройство автоматически переходит в режим взаимодействи с последовательным интерфейсом .When programming a device, the last 7 transfer register is programmed, since after recording information into it, the device automatically switches to the interaction with the serial interface.
Алгоритм программировани устройства рассмотрим на примере записи информации в регистр циклов первого канала контроллера 27. В момент подачи сигнала записи в порт на выходе 17 устройства наThe device programming algorithm will be considered on the example of recording information in the cycle register of the first channel of the controller 27. At the time the recording signal is sent to the port at the device output 17 on
шинах адреса 15 и шинах данных 16 присутствует необходима информаци .Address buses 15 and data buses 16 present information.
Сигнал записи в порт с входа 17 поступает на управл ющий вход шинных формирователей 1, 2, переключа их в режим приема информации с шин 15, 16. Одновременно сигнал записи в порт поступает на синхрош- ход блока 3, где через элемент ИЛИ 30 проходит на входы управлени третьимThe recording signal to the port from input 17 is fed to the control input of bus drivers 1, 2, switching them to receiving information from buses 15, 16. At the same time, the recording signal to the port enters the sync current of block 3, where it passes through the OR 30 element third control inputs
0 состо нием шинных формирователей 1, 2, перевод их в рабочее состо ние.0 state bus formers 1, 2, transfer them to the working state.
Старшие разр ды адреса поступают на дешифратор 4 порта, на выходе которого по вл етс единичный потенциал, если ко5 дировка старших разр дов адреса соответствует коду устройства. Единичный сигнал на выходе дешифратора 4 порта разрешает дешифратору 5 провести дешифрацию младших разр дов адреса. Поэтому на вы0 ходе дешифратора 5, св занном с блоком 3, по витс сигнал выбора кристалла, который сообщает контроллеру 27, что обращение производитс к нему, и переключает шинные формирователи 28 в режим трансл цииThe higher bits of the address are sent to the decoder of the 4 port, at the output of which a single potential appears, if the coding of the higher bits of the address corresponds to the device code. A single signal at the output of the port 4 decoder allows the decoder 5 to decrypt the low-order bits of the address. Therefore, at the output of the decoder 5, which is connected to block 3, a chip select signal appears, which informs the controller 27 that it is being accessed, and switches the bus drivers 28 to the translation mode
5 информации (сигнал записи в порт и разр ды адреса АО-АЗ) в контроллер 27. Одновременно на вход 36 данных контроллера 27 поступает информаци с шинных формирователей 1 данных. Контроллер 27, дешиф0 рировав код адреса, осуществл ет запись информации с входа 36 в младший байт регистра циклов первого канала. Дл записи старшего байта программирующее устройство (например, микропроцессор) должно ор5 ганизовать повторное обращение к этому регистру, изменив информацию на входе 36 данных,5 information (a signal to write to the port and address bits AO-AZ) to the controller 27. At the same time, the input 36 of the data from the controller 27 receives information from the bus driver 1 of the data. The controller 27, having decoded the address code, records information from the input 36 into the low byte of the cycle register of the first channel. To write the high byte, the programming device (for example, a microprocessor) must or5 reorder this register by changing the information at the input 36 of the data,
В контроллере 27 имеетс дл каждого 16-разр дного регистра триггер, которыйIn controller 27, for each 16-bit register, there is a trigger that
0 после записи информации в младший байт устанавливаетс в Г и при повторном обращении к регистру засылает данные в старший байт.0 after writing the information to the low byte is set to G and when re-accessing the register sends the data to the high byte.
Младшие 14 разр дов регистра циклаLower 14 cycle register bits
5 говор т о количестве циклов обращени к пам ти.5 speaks about the number of memory access cycles.
Один цикл - это однократна запись или считывание содержимого одной чейки пам ти.One cycle is a one-time writing or reading of the contents of a single memory cell.
0 Два старших разр да служат дл указани направлени информации (запись или считывание) при взаимодействии с внешней пам тью.0 The two most significant bits are used to indicate the direction of information (write or read) when interacting with an external memory.
Регистр начального адреса служит дл The starting address register is for
5 сообщени , с какой первоначальной чейкой пам ти будет взаимодействие (запись или считывание).5 messages with which initial memory cell will be an interaction (write or read).
Первый канал контроллера 27 служит дл организации считывани информации из пам ти. Считанную информацию устройство транслирует в последовательный интерфейс . Информаци из последовательного интерфейса с помощью второго канала контроллера 27 записываетс в пам ть.The first channel of the controller 27 serves to organize the reading of information from the memory. Read device information translates to a serial interface. Information from the serial interface using the second channel of the controller 27 is recorded in a memory.
При первом цикле обращени к пам ти контроллером вырабатываетс адрес чейки пам ти, равный начальному адресу, а в каждом последующем цикле адрес увеличиваетс на единицу до тех пор, пока число циклов обращений к пам ти не станет равным заданному. В этом случае контроллером 27 вырабатываетс сигнал КС.During the first cycle of accessing the memory, the controller generates the address of the memory location equal to the initial address, and in each subsequent cycle the address is incremented by one until the number of memory access cycles becomes equal to the specified one. In this case, the controller 27 generates a signal KS.
Триггер 6 управлени программируетс , когда в последовательный интерфейс будет передаватьс массив информации.A control trigger 6 is programmed when an array of information is transmitted to the serial interface.
Если будет передаватьс одно слово, триггер б управлени останетс в исходном состо нии.If one word is transmitted, the control b trigger will remain in its original state.
Рассмотрим режим выдачи в последовательный интерфейс одного слова и приема из него ответного массива информации.Consider the mode of issuing a single word to the serial interface and receiving a response array of information from it.
В этом случае программирующее устройство в регистр начального адреса и регистр циклов первого канала записывает нули, а в регистр начального адреса второго канала - адрес первой чейки пам ти, с которой начнетс запись ответной информации , а в регистр циклов - количество циклов записи в пам ть. Триггер 6 управлени в этом случае остаетс в исходном состо нии, а в регистр 7 передачи записываетс информаци , котора будет передаватьс в последовательный интерфейс.In this case, the programming device writes zeros to the starting address register and the cycle register of the first channel, and the number of write cycles to the memory register in the register of the starting address of the second channel. The control trigger 6 in this case remains in the initial state, and the information in the transmission register 7 is written to the serial interface.
Данные запишутс в регистр 7 передачи , если имеетс разрешающий сигнал на выходе дешифратора 5, соединенного с регистром 7 передачи и блоком 12. и при наличии сигнала записи в порт на входе 17.The data will be recorded in the transfer register 7 if there is an enabling signal at the output of the decoder 5 connected to the transfer register 7 and block 12. And if there is a recording signal to the port at input 17.
При наличии этих сигналов данные с шинных формирователей Т запишутс в регистр 7 передачи и одновременно установитс в состо ние Г триггер 56 блока 12, так как на элементе И-ИЛИ 55 произойдет совпадение сигналов, поступающих на первый синхровход и на первый вход логического услови блока 12. После установки триггера 56 в состо ние 1 первым же импульсом на третьем синхровходе блока 12 формируетс сигнал на выходе элемента И 57, который поступает на синхровход регистра 9, осуществл перепись содержимого регистра 7 передачи в регистр 9 сдвига, и на С-вход триггера 58, устанавлива его в состо ние 1. Нулевой сигнал с нулевого выхода триггера 58, проход через элемент НЕ 59, И-ИЛИ-НЕ 60, устанавливает триггер 56 в исходное состо ние, а единичный сигнал с единичного выхода триггера 58, поступа на вход 68 кодера-декодера 47, переводит его в режим передачи. Вход 66 приема последовательных данных кодера-декодера 47 соединен с информационным выходом регист ра 9 сдвига.If these signals are present, the data from the bus drivers T will be recorded in the transfer register 7 and simultaneously the trigger 56 of block 12 will be set to state G, since the signals arriving at the first synchronous input and the first input of the logic condition of block 12 will coincide on the AND-OR element 55 After the flip-flop 56 is set to state 1, the first pulse on the third synchronous input of block 12 generates a signal at the output of the element 57, which is fed to the synchronous input of register 9, by rewriting the contents of transfer register 7 to shift register 9, and The C input of the trigger 58 sets it to state 1. The zero signal from the zero output of the trigger 58, the passage through the element NOT 59, AND-OR-NOT 60, sets the trigger 56 to the initial state, and the single signal from the single output trigger 58 , acting on the input 68 of the encoder-decoder 47, translates it into transmission mode. The input 66 of receiving the serial data of the encoder-decoder 47 is connected to the information output of the shift register 9.
После установки сигнала 1 на входе 68 кодера-декодера 47 он переходит в режим передачи и самосто тельно формирует маркер , который выдаетс через выходы 73 (бипол рного нул ) и 74 (бипол рной единицы) на частоте 1 МГц. После выдачи маркера наAfter installing signal 1 at input 68 of encoder-decoder 47, it switches to transmission mode and independently forms a marker, which is output via outputs 73 (bipolar zero) and 74 (bipolar unit) at a frequency of 1 MHz. After issuing a marker on
0 выходе 76 кодера-декодера 47 формируетс сигнал 1, которым запрашиваютс данные дл передачи. Этот сигнал, поступа на элемент И 52, разрешает прохождение тактовых сигналов частотой 1 МГц с выхода 75 на выход0, the output 76 of the encoder-decoder 47, a signal 1 is generated, which is requested data for transmission. This signal, arriving at element 52, permits the passage of 1 MHz clock signals from output 75 to output
5 сдвига информации регистра 9 сдвига.5 shift information register 9 shift.
Когда содержимое регистра 9 сдвига будет передано в последовательный интерфейс через выходы 73, 74 кодера-декодера 47, сигнал 1 с выхода 76 снимаетс , сдвигWhen the contents of the shift register 9 will be transmitted to the serial interface via the outputs 73, 74 of the encoder-decoder 47, the signal 1 from the output 76 is removed, the shift
0 информации в регистре 9 прекращаетс , а кодер-декодер 47 самосто тельно формирует и выдает контрольный разр д четности0 information in register 9 is terminated, and codec 47 itself generates and outputs a parity check bit
На этом цикл выдачи одного слова заканчиваетс . В момент по влени нулевогоThis completes the single-word cycle. At the time of occurrence of zero
5 сигнала на выходе 76 сбрасываетс триггер 58 и на входе 68 устанавливаетс нулевой потенциал, который запрещает последующие циклы выдачи информации из устройства . Триггер 58 сбрасывает по тракту - выход5, the signal at output 76 clears trigger 58 and a zero potential is established at input 68, which prohibits subsequent cycles of outputting information from the device. Trigger 58 resets the path - exit
0 76, элемент НЕ 53, элемент И 54, элемент ИЛИ-НЕ 77 - нулевой вход триггера 58. Сброс триггера 58 сигналом с выхода 76 разрешен, так как на втором входе элемента И 54 присутствует сигнал 1, поступаюшу i0 76, the element is NOT 53, the element is AND 54, the element is OR-NOT 77 is the zero input of the trigger 58. Resetting the trigger 58 by the signal from the output 76 is allowed, because the second input of the element And 54 has a signal 1, i enter
5 с элемента НЕ 61, на входе которого потенциал О, поступающий с единичного выхода триггера 6 управлени . В режиме выдачи одного слова в последовательный интерфейс триггер 6 управлени находитс в нулевом5 from the element HE 61, at the input of which the potential O is coming from the single output of the control trigger 6. In the single word output to the serial interface, control trigger 6 is in zero
0 состо нии. Благодар этому импульс, устанавливающий триггер 58 в единичное состо ние , не проходит через элемент 62 и не устанавливает в 1 первый разр д регистра 11 запроса и блок 3 не организует запрос0 state. Due to this, the impulse that sets the trigger 58 to one state does not pass through the element 62 and does not set the first register register 11 to 1 and the block 3 does not organize the request
5 пам ти.5 memories.
В ответ на переданное в последовательный интерфейс слово из него приход т данные , которые через входы 26 поступают на входы 63 бипол рного нул и 64 бипол рнойIn response to the word transmitted to the serial interface, data from it are received, which, through inputs 26, arrive at inputs 63 of bipolar zero and 64 bipolar
0 единицы кодера-декодера 47 блока 12.0 units of the coder-decoder 47 block 12.
Принимаемые данные декодируютс кодером-декодером 47 и при наличии достоверного маркера и двух последующих разр дов данных выдаютс последовательнымThe received data is decoded by the encoder-decoder 47 and, in the presence of a reliable marker and two subsequent bits of the data, are issued
5 кодом через выход 72 на информационный вход регистра 10 сдвига, на вход сдвига информации которого поступают импульсы сдвига с выхода элемента И 51 блока 12. Импульсы синхронизации принимаемой информации с выхода 71 кодера-декодера5 code through the output 72 to the information input of the shift register 10, to the input of the shift of which information the shift pulses are received from the output of the element 51 of block 12. The synchronization pulses of the received information from the output 71 of the encoder-decoder
47 проход т на выход элемента И 51, когда присутствует единичный сигнал на выходе 69 (посылка данных) кодера-декодера 47. Единичный сигнал на выходе 69 держитс в течение времени выдачи последовательных данных с выхода 72. После приема данных кодер-декодер 47 анализирует прин тую информацию, сравнивает с контрольным разр дом и по заднему фронту сигнала посылки данных (выход 69) выдает единичный сигнал на выходе 70, если произошло сравнение прин той информации с контрольным разр дом, а в противном случае - на выходе 70 нулевой потенциал. По заднему фронту сигнала посылки данных (выход 69) запускаетс одновибратор 48, на единичном выходе которого формируетс короткий сигнал, который осуществл ет перепись информации из регистра 10 сдвига в регистр 8 приема и устанавливает в 1 второй разр д регистра 11 запроса. Сигнал с выхода одновибратора 48 через элемент И 49 устанавливает в 1 первый разр д регистра 14 состо ни , если прин то искаженное слово. В этом случае на выходе 70 нулевой потенциал , который на выходе элемента НЕ 50 формирует единичный потенциал, разрешающий прохождение сигнала с одновибратора 48 в регистр 14 состо ни .47 passes to the output of the AND 51 element when a single signal is present at the output 69 (data sending) of the encoder-decoder 47. The single signal at the output 69 is held for the duration of the output of the serial data from the output 72. After receiving the data, the encoder-decoder 47 analyzes the received This compares the information with the check bit and, at the falling edge of the data sending signal (output 69), generates a single signal at output 70 if the received information is compared with the check bit, and otherwise, output zero at 70. On the falling edge of the data sending signal (output 69), a one-shot 48 is triggered, at the unit output of which a short signal is generated that overwrites the information from shift register 10 into reception register 8 and sets 1 second register of request 11. The signal from the output of the one-shot 48 through the element I 49 sets the first digit of the first register register to 14, if the received word is distorted. In this case, at the output 70, a zero potential, which at the output of the element NOT 50 forms a single potential that permits the passage of the signal from the one-shot 48 to the state register 14.
Единичный сигнал с второго разр да регистра 11 запроса поступает на вход 38 контроллера 27 блока 3. Получив запрос на обращение к пам ти (ЗПД2), контроллер 27 выставл ет на выходе 20 сигнал запроса захвата магистрали с выхода 45. Если параллельный интерфейс свободен, то по входу21 на вход 39 контроллера 27 приходит разрешающий сигнал на взаимодействие с магистралью и контроллер 27 организует цикл записи содержимого регистра 8 в пам ть. Дл этого она формирует единичный сигнал на выходе 42 (РА), который, проход через элемент ИЛИ 30, поступает на шинные формирователи 1,2 и переключает их в рабочее состо ние. А так как отсутствует сигнал записи в порт на входе 17, то шинные формирователи 1,2 и 28 наход тс в режиме трансл ции информации из устройства в параллельный интерфейс и из контроллера 27 - на адресный выход блока 3 соответственно. После выдачи сигнала РА контроллер 27 через выходы 34, 33 выдает код младшего байта адреса , а через выход 36 - код старшего байта адреса, который поступает на информационные входы регистра 29 адреса и записываетс в него по сигналу с выхода 35 контроллера 27. После записи старшего байта адреса в регистр 29 ми имеем на шинах 16 данных содержимое регистра 8 приема, на шинах адреса 15 - код адреса первойA single signal from the second bit of the register 11 of the request is fed to the input 38 of the controller 27 of the block 3. Upon receiving a request to access the memory (ZPD2), the controller 27 exposes at the output 20 a request to capture the main from output 45. If the parallel interface is free, then on input 21, the enable signal for interaction with the highway arrives at input 39 of controller 27, and controller 27 organizes a cycle for writing the contents of register 8 to a memory. For this, it generates a single signal at the output 42 (PA), which, passing through the element OR 30, goes to the bus driver 1.2 and switches them to the working state. And since there is no recording signal to the port at input 17, the bus drivers 1,2 and 28 are in the mode of information transmission from the device to the parallel interface and from the controller 27 to the address output of block 3, respectively. After the PA signal is issued, the controller 27 through the outputs 34, 33 outputs the code of the low byte of the address, and through output 36 the code of the high byte of the address, which goes to the information inputs of the address register 29 and is written to it from the output 35 of the controller 27. After recording the high bytes of the address in the register 29 we have on tires 16 data the contents of register 8 of reception, on buses of address 15 - the code of the address of the first
чейки пам ти с регистра 29 адреса и выходов 33, 34 контроллера 27, Затем контроллер 27 на выходе 44 (ЗПП) формирует передний фронт сигнала записи в пам ти,memory cells from the address register 29 and the outputs 33, 34 of the controller 27, Then the controller 27 at the output 44 (RFP) forms the leading edge of the memory recording signal,
который по выходу 28 поступает в ОЗУ ЭВМ. ОЗУ, получив сигнал с выхода 18, осуществл ет запись данных с шины 16 в чейку пам ти , код которой задан на шинах 15 адреса и по входу 22 выдает сигнал подтверждени which at exit 28 enters the computer's RAM. RAM, receiving a signal from output 18, writes data from bus 16 to a memory cell, the code of which is specified on address buses 15, and on input 22 issues a confirmation signal
исполнени команды, по переднему фронту которого сбрасываетс регистр 11 запросов , а по заднему фронту контроллер 27 формирует задний фронт сигнала записи в пам ть. На этом цикл обращени в пам тьexecution of the command, on the leading edge of which the request register 11 is reset, and on the falling edge, the controller 27 forms the falling edge of the write-to-memory signal. There is a memory circulation cycle.
заканчиваетс .is running out.
Одновременно с обращением в пам ть устройство продолжает прием следующего слова из последовательного интерфейса в регистр 10 сдвига под управлением блокаSimultaneously with accessing the memory, the device continues receiving the next word from the serial interface to the shift register 10 under control of the block
12. После приема очередного слова в регистр 10 организуетс новый цикл обращени в пам ть по алгоритму, описанному выше. Данный процесс повтор етс до тех пор, пока не придет последнее слово. Когда12. After receiving the next word in register 10, a new cycle of memory access is organized according to the algorithm described above. This process is repeated until the last word is reached. When
последнее слово будет записано в пам ть и по входу 22 придет сигнал, подтверждающий выполнение команды (запись в пам ть), контроллер 27 на выходе 46 (КС) формирует сигнал окончани взаимодействи , которыйthe last word will be recorded in the memory and at input 22 a signal will arrive confirming the execution of the command (write to the memory), the controller 27 at output 46 (CS) generates a signal for the end of the interaction, which
устанавливает в состо ние 1 второй разр д регистра 14 состо ни . Тогда на входе прерывани по вл етс сигнал, говор щий параллельному интерфейсу об окончании взаимодействи с последовательным интерфейсом .sets state 1 to the second state register 14. Then a signal appears on the interrupt input that tells the parallel interface to terminate the interaction with the serial interface.
Дл организации следующего взаимодействи с последовательным интерфейсом устройство должно быть перепрограммировано и приведено в исходное состо ние.To organize the next interaction with the serial interface, the device must be reprogrammed and reset.
Рассмотрим режим выдачи массива информации в последовательный интерфейс и получени из него одного ответного слова, В этом случае программируютс триггерConsider the mode of issuing an array of information to a serial interface and retrieving one response word from it. In this case, a trigger is programmed
6 управлени , регистр начального адреса, регистр циклов первого канала контроллера 27, регистр начального адреса второго канала , а в регистр циклов второго канала занос тс нули. Последним программируетс 6, the starting address register, the cycle register of the first channel of the controller 27, the register of the starting address of the second channel, and the zeros in the cycle register of the second channel are entered. Last programmed
регистр 7 передачи, после чего устройство осуществл ет заданный режим обмена. Перепись информации из регистра 7 передачи в регистр 9 сдвига осуществл етс так же, как описано выше. При этом сигнал с выходаtransfer register 7, after which the device performs the specified exchange mode. The copying of information from the transfer register 7 to the shift register 9 is carried out in the same manner as described above. The signal from the output
элемента И 57 устанавливает не только триггер 58, но и первый разр д регистра 11. Единичное состо ние триггера 58 допускает кодер-декодер 47 на выдачу слова из регистра 9 сдвига в последовательный интерфейс .element And 57 sets not only the trigger 58, but also the first bit of register 11. The unit state of the trigger 58 allows the codec 47 to output a word from shift register 9 to the serial interface.
В процессе выдачи слова в последовательный интерфейс единичный сигнал с первого разр да регистра 11, поступающий на вход 37 контроллера 27, заставл ет контроллер выдать сигнал запроса магистрали ЗЗХВ с выхода 45. При получении сигнала подтверждени захвата с входа 21 контроллер 27 организует цикл обращени к пам ти, Цикл обращени к пам ти на чтение совпадает с описанным выше циклом обращени на запись и отличаетс от него только выдаваемой командой. Вместо сигнала записи в пам ть (ЗПП) выдаетс сигнал чтени пам ти с выхода 43 (ЧТП) контроллера 27. Одновременно с сигналом ЧТП контроллер 27 выдает сигнал записи ввода-вывода с выхода 32 (ЭПВ/В), который поступает на синх- ровход регистра 7 передачи и осуществл ет запись содержимого шин 16 данных через формирователь 1 в регистр 7 передачи. После выдачи содержимого из регистра 9 сдвига на выходе 76 кодера-декодера 47 формируетс задний фронт сигнала, по которому в режиме передачи массива через элемент И-ИЛИ 55 устанавливаетс в единичное состо ние триггер 56 блока 12. В результате цикл выдачи содержимого регистра 7 передачи через регистр 9 сдвига в последовательный интерфейс повтор етс . Этот цикл будет повтор тьс до тех пор, пока не будет записано в регистр 7 передачи последнее слово массива. Тогда контроллер 27 сформирует сигнал Конец взаимодействи на выходе 46, который поступает на вход элемента ИЛИ-НЕ 77 блока 12. Сбрасывает триггер 58, запреща тем самым последующий цикл. Процесс выдачи в последовательный интерфейс последнего слова массива из регистра 7 передачи завершаетс при нахождении триггера 58 в исходном состо нии. Одновременно сигнал с выхода 46 контроллера 27 поступает в регистр 14 состо ни на вход элемента И-Н Е 79 и устанавливает триггер 81 в состо ние Г.In the process of issuing a word to the serial interface, a single signal from the first bit of register 11, inputted to input 37 of controller 27, causes the controller to issue a request signal for the backup bus from output 45. When receiving a capture confirmation signal from input 21, controller 27 organizes a memory access cycle For example, the read-access memory cycle coincides with the write-write cycle described above and differs from it only by the command issued. Instead of the write-to-memory signal (FOD), a memory read signal is output from output 43 (PTP) of the controller 27. Simultaneously with the PTP signal, the controller 27 outputs an input / output write signal from output 32 (EPV / V), which is fed to the synchronous input transfer register 7 and writes the contents of data buses 16 through driver 1 to transfer register 7. After the output of the shift register 9 is output, the back edge of the signal is formed at the output 76 of the encoder-decoder 47, in which the trigger 56 of the block 12 is set to one in the array transfer mode via the AND-OR element 55. As a result, the cycle of outputting the contents of the transfer register 7 through shift register 9 in the serial interface is repeated. This cycle will be repeated until the last word of the array is written to transfer register 7. Then the controller 27 will generate the signal End of the interaction at the output 46, which is fed to the input of the element OR-NOT 77 of the block 12. Resets the trigger 58, thereby prohibiting the subsequent cycle. The process of issuing the last word of the array from the transfer register 7 to the serial interface is completed when the trigger 58 is in the initial state. At the same time, the signal from the output 46 of the controller 27 enters the state register 14 at the input of the element EH 79 and sets the trigger 81 to the state G.
После выдачи последнего слова в последовательный интерфейс из него через некоторый интервал времени придет ответное слово, которое принимаетс блоком 12 управлени в регистр 10 сдвига, переписываетс в регистр 8 приема, содержимое которого блоком 3 засылаетс в пам ть. Так как в регистре циклов второго канала контроллера 27 содержатс нули, то контроллером 27 на выходе 46 будет сформирован сигнал окончани взаимодействи , который, поступа на вход элемента И-ИЛИ 80 регистра 14 состо ни , устанавливает в состо ние 1 триггер 82, говор программирующему устройству об окончании взаимодействи с последовательным интерфейсом.After the last word is output to the serial interface, a response word will arrive from it after a certain time interval, which is received by control unit 12 in shift register 10, rewritten into receive register 8, the contents of which are sent to memory by block 3. Since the cycle register of the second channel of the controller 27 contains zeros, the controller 27 at the output 46 will generate a signal for the end of the interaction, which, arriving at the input of the AND-OR 80 element of the state register 14, sets to state 1 a trigger 82, telling the programming device about the end of interaction with the serial interface.
Если в процессе приема информации из последовательного интерфейса произойдет несравнение прин того слова с его контрольным разр дом, на выходе 70 кодера- декодера 47 будет присутствовать нулевой потенциал, который разрешает сигналу с одновибратора 48 блока 12 управлени установить в единичное состо ние триггер 83 регистра 14 состо ни .If in the process of receiving information from the serial interface, the received word is not compared with the check bit, the output 70 of the encoder-decoder 47 will have a zero potential that allows the signal from the one-vibrator 48 of the control unit 12 to set the trigger 83 of the register 14 to one state neither
0Единичный сигнал с триггера 83 по0 A single signal from trigger 83 to
выходу 23 прерывани поступает в параллельный интерфейс, предупрежда программирующее устройство об искажении прин того слова.output 23 of the interrupt enters a parallel interface warning the programming device about the distortion of the received word.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU884498300A SU1656544A1 (en) | 1988-10-24 | 1988-10-24 | Device for matching computer with communication channel |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU884498300A SU1656544A1 (en) | 1988-10-24 | 1988-10-24 | Device for matching computer with communication channel |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1656544A1 true SU1656544A1 (en) | 1991-06-15 |
Family
ID=21405963
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU884498300A SU1656544A1 (en) | 1988-10-24 | 1988-10-24 | Device for matching computer with communication channel |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1656544A1 (en) |
-
1988
- 1988-10-24 SU SU884498300A patent/SU1656544A1/en active
Non-Patent Citations (1)
Title |
---|
За вка JP № 60-20 774, кл.G 06 F 13/00, 1985. Авторское свидетельство СССР № 1295403,кл. G 06 F13/00, 1985. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0303751B1 (en) | Interface mechanism for controlling the exchange of information between two devices | |
US5991841A (en) | Memory transactions on a low pin count bus | |
SU1656544A1 (en) | Device for matching computer with communication channel | |
KR100438736B1 (en) | Memory control apparatus of performing data writing on address line | |
KR930008268B1 (en) | Shared main memory and disk controller memory address register | |
SU1451768A1 (en) | Bubble storage | |
US20010002481A1 (en) | Data access unit and method therefor | |
SU1605241A1 (en) | Computer to computer interface | |
SU1614016A1 (en) | Data input device | |
SU1672459A1 (en) | Computer-to-external storage interface unit | |
RU1805474C (en) | Workstation for local area network | |
RU2047921C1 (en) | Memory unit for storing images | |
SU1322301A1 (en) | Device for exchanging information with common bus | |
SU1751775A1 (en) | Device for interfacing computer bus with peripherals | |
SU1403069A1 (en) | Computer to peripherals interface | |
SU1334153A1 (en) | Device for interfacing two computers | |
SU957199A1 (en) | Multiplexer channel | |
SU1508218A1 (en) | User to communication channel interface | |
SU1285484A1 (en) | Interface for linking electronic computer with peripheral equipment | |
SU1410709A1 (en) | Computer to peripheral device interface | |
SU1374233A1 (en) | Device for interfacing digital computer with users | |
SU1256034A1 (en) | Interface for linking two electronic computers with common memory | |
SU1179356A1 (en) | Information input-output device | |
SU1363227A2 (en) | Device for interfacing sources and receivers with trunk line | |
SU1111150A1 (en) | Interface for linking two computers |