SU1487057A1 - Computer/external device interface - Google Patents
Computer/external device interface Download PDFInfo
- Publication number
- SU1487057A1 SU1487057A1 SU874304228A SU4304228A SU1487057A1 SU 1487057 A1 SU1487057 A1 SU 1487057A1 SU 874304228 A SU874304228 A SU 874304228A SU 4304228 A SU4304228 A SU 4304228A SU 1487057 A1 SU1487057 A1 SU 1487057A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- block
- group
- inputs
- Prior art date
Links
Description
Изобретение относится к вычис2FIELD: computing2.
лительной технике, в частности к устройствам обмена информацией между магистралью ЭВМ и группой внешних устройств. Цель изобретения - увеличение количества подключенных внешних устройств. Устройство содержит блоки приемопередатчиков, блоки приемников и передатчиков, два блока дешифрации адреса, два коммутатора, шифратор, счетчик адреса, два формирователя сигналов, элементы И,И-ИЛИ,technology, in particular, to devices for the exchange of information between the mainline computer and a group of external devices. The purpose of the invention is to increase the number of connected external devices. The device contains blocks of transceivers, blocks of receivers and transmitters, two address decoding blocks, two switches, an encoder, an address counter, two signal conditioners, AND, AND-OR elements,
2 з.п.ф-лы, 4 ил.2 hp ff, 4 ill.
Изобретение относится к вычислительной технике, в частности к устройствам обмена информацией между магистралью ЭВМ типа "общая шина" и группой внешних устройств.The invention relates to computing, in particular to devices for the exchange of information between the mainline computer type "common bus" and a group of external devices.
Цель изобретения - расширение области применения путем увеличения количества подключаемых внешних устройств.The purpose of the invention is to expand the scope by increasing the number of connected external devices.
На фиг.1 представлена блок-схема устройства для сопряжения; на фиг, 2схема первого блока формирования сигналов; на фиг.З - схема второго блока формирования сигналов; на фиг,4 схема шифратора.Figure 1 presents the block diagram of the device for pairing; FIG. 2circuit of the first signal conditioning unit; FIG. 3 is a diagram of the second signal conditioning unit; Fig, 4 scheme of the encoder.
Устройство содержит блоки 1 и 2 приемопередатчиков, блок 3 приемников, первый блок 4 дешифрации адреса, первый коммутатор 5, блок 6 прерывания, второй блок 7 дешифрации адреса, блок 8 памяти, второй коммутатор 9, шифратор 10, счетчик 11 адреса, блок 12 передатчиков, второй блок 13 формирования сигналов, первый блок 14 формирования сигналов, второй элемент И 15, третий элемент И-ИЛИ 16, третий 17 и пятый 18 элементы И, первый 19 и второй 20 элементы И-ИЛИ, а также первый 21, шестой 22 и четвертый 23 элементы И.The device contains blocks 1 and 2 transceivers, receiver unit 3, first address decryption unit 4, first switch 5, interrupt unit 6, second address decryption unit 7, memory unit 8, second switch 9, encoder 10, address counter 11, transmitter unit 12 , the second signal generation unit 13, the first signal generation unit 14, the second element AND 15, the third element AND-OR 16, the third 17 and fifth 18 AND elements, the first 19 and second 20 AND-OR elements, and the first 21, sixth 22 and the fourth 23 elements I.
Первый блок 14 формирования сигналов образуют элемент НЕ 24, регистр 25, третий 26, первый 27 и второй 28 элементы И, а также элементы 29-33 развязки (резисторы).The first signal conditioning unit 14 forms the element NOT 24, the register 25, the third 26, the first 27 and the second 28 elements AND, as well as the junction elements 29-33 (resistors).
Второй блок 13 формирования сигналов включает элемент НЕ 34, второй элемент И 35, триггер 36, третий эле'мент И 37, элемент И 38, первый элемент И 40 и элемент 41 развязки (резистор).The second signal generation unit 13 includes an HE element 34, the second element AND 35, a trigger 36, the third element I 37, the element I 38, the first element I 40 and the element 41 junction (resistor).
Шифратор содержит элементы И 42-46 и элемент НЕ 47,The encoder contains elements AND 42-46 and the element NOT 47,
Рассмотрим работу устройства на примере использования ЭВМ с магистральным параллельным интерфейсом.При работе с внешними устройствами (ВУ) ЭВМ формирует адрес ВУ.Consider the operation of the device on the example of using a computer with a trunk parallel interface. When working with external devices (WU), the computer generates the address of the WU.
Старший и младший разряды адреса поступают соответственно на первую иThe upper and lower address bits come respectively to the first and
(2(2
<е<e
5и 14870575 and 1487057
14870571487057
4four
вторую группы информационных входов блока 4 дешифрации адреса, управляющие синхросигналы поступают с магистрали ЭВМ через блок 3 приемников на группу управляющих входов блока 4 дешифрации адреса. Наличие необходимого адреса фиксируется на третьем выходе блока 4. Далее с магистрали ЭВМ через группу входов идентификации режима блока 3 поступают сигналы чтения или записи информации, в результате чего формируются сигналы на выходах элементов И-ИЛИ 16, И 23. Управляющий сигнал с. выхода элемента И 23 разрешает прохождение младшей части адреса с блока 4 на блок 12 передатчиков и далее на магистраль адреса ВУ. ЭВМ после обмена сигналами синхронизации передает через блоки 1 и .2 приемопередатчиков данные, поступающие на магистраль данных ВУ. .the second group of information inputs of the address decoding unit 4, the control sync signals are received from the mainline of the computer through the receiver unit 3 to the group of control inputs of the address decoding unit 4. The presence of the required address is fixed at the third output of block 4. Next, from the main line of the computer, read or write information signals are received through the group 3 mode identification input inputs, resulting in signals generated at the outputs of the AND-OR 16, AND 23 elements. The control signal c. the output element And 23 allows the passage of the younger part of the address from block 4 to block 12 transmitters and further to the main address of the slave. The computer, after the exchange of synchronization signals, transmits, via blocks 1 and .2 of transceivers, data arriving at the data line of the slave. .
Сигналы записи или считывания данных для ВУ организуют второй формирователь 14 сигналов. При этом на тактовый вход формирователя 14 поступают синхроймпульсы, по которым при наличии разрешения на третьем информационном входе формирователя 14 на первом и втором выходах формируются сигналы записи и считывания.The signals to write or read data for WU organize the second shaper 14 signals. In this case, the clock input of the imaging unit 14 receives sync pulses, according to which, if there is a permit, the recording and readout signals are generated at the third information input of the imaging unit 14 on the first and second outputs.
При готовности ВУ к обмену информацией с ЭВМ на шине готовности ВУ формируется сигнал, поступающий на второй режимный вход второго формирователя 13 сигналов, С второго выхода формирователя 13 сигнал поступает на вход элемента И-ИЛИ 20, где вместе с сигналом с выхода второго дешифратора 7 адреса формирует управляющий сигнал для коммутатора 9. Сигнал готовности с коммутатора 9 через блок 1 приемопередатчиков поступает в магистраль. Управляющий сигнал для блока 1 формируется элементами И 17 и 21. Коммутатор 9 под управлением шифратора 10 передает в блок 1 данные от ВУ через блок 2, адрес вектора прерывания, адрес регистра состояния ВУ, требующего прерывания, со счетника 117When WU is ready for information exchange with a computer, a signal is generated on the readiness bus of WU, the signal arrives at the second mode input of the second driver 13, the second output of the driver 13 is fed to the input of the AND-OR element 20, where together with the signal from the second decoder 7 address generates a control signal for the switch 9. The readiness signal from the switch 9 through the unit 1 transceivers enters the highway. The control signal for block 1 is generated by elements And 17 and 21. Switch 9 under the control of the encoder 10 transmits to block 1 data from the slave unit through block 2, the address of the interrupt vector, the address of the state register of the slave requiring interruption, from the counter 117
При работе с использованием механизма прерываний в блок 8 памяти записывается бит разрешения прерывания по адресам регистров состояния ВУ. Запись осуществляется под управлением сигнала с выхода элемента И 22.When working with the use of the interrupt mechanism, the enable bit of the interrupt is written to the memory block 8 by the addresses of the slave status registers. Recording is carried out under the control of the signal from the output element And 22.
При отсутствии обращения с магистрали ЭВМ устройство для сопряженияIn the absence of circulation from the main line of the computer device for interfacing
10ten
1515
2020
2525
30thirty
3535
4040
4545
5050
5555
автономно производит опрос готовности ВУ, В этом случае синхроимпульсы с третьего выхода блока 13 поступают на счетчик 11, на выходах которого последовательно формируются адреса „ регистров состояний ВУ, поступающие через коммутатор 5 на адресные входы блока 8 памяти, при этом осуществляется считывание содержимого блока 8 по каждому адресу через блок 12 передатчиков. Если искомое ВУ готово к обмену информацией, в нем должен быть сформирован сигнал "Готовность", поэтому при обращении к соответствующему ВУ сигнал "Готовность" поступаг ет на второй режимный вход блока 13. На четвертый режимный вход блока 13 с блока 8 поступает бит разрешения прерывания, прочитанный по адресу регистра состояния этого ВУ. При наличии этих сигналов блок 13 прекращает формирование тактовых импульсов и счетчик 11 останавливается на адресе регистра состояния того ВУ, которое готово к работе·. Одновременно с первого выхода блока 13 сигнал поступает на' вход готовности блока 6 прерывания и на вход элемента И-ИЛИ 20«autonomously polls the slave readiness, In this case, the sync pulses from the third output of block 13 are sent to counter 11, the outputs of which sequentially form addresses of the status registers of the slave through the switch 5 to the address inputs of memory block 8, while reading the contents of block 8 through each address through a block of 12 transmitters. If the desired slave is ready to exchange information, a “Ready” signal must be formed in it, therefore when accessing the corresponding WU, the “Ready” signal goes to the second mode input of block 13. The fourth mode input of block 13 from block 8 receives the interrupt enable bit read at the register address of the state of the slave. In the presence of these signals, block 13 stops the formation of clock pulses and the counter 11 stops at the address of the status register of the slave that is ready for operation ·. At the same time, from the first output of block 13, the signal is fed to the 'ready input of block 6 and to the input of the element AND-OR 20 "
Блок 6 прерываний формирует алгоритм обмена по прерыванию с магистралью ЭВМ, код вектора прерываний формируется с выхода коммутатора 9 под управлением шифратора 10. Для определения ВУ, требующего прерывания, имеются два адреса регистров состояния и данных. При получении вектора прерывания ЭВМ программно обращается с операцией чтения. Адрес требуемого регистра данных дешифруется во втором блоке 7 дешифрации адреса, и сигнал поступает на вход шифратора 10, в котором формируется управляющий код коммутатора 9 с учетом срабатывания блока 4. На выходы коммутатора 9 со счетчика 11 адреса поступает адрес регистра состояния ВУ, на котором остановился счетчик,Interrupt unit 6 generates an interchange exchange algorithm with a computer backbone, the interrupt vector code is generated from the output of switch 9 under control of the encoder 10. To determine the slave requiring interruption, there are two addresses of the status registers and data. Upon receipt of an interrupt vector, a computer handles a read operation in software. The address of the required data register is decrypted in the second block 7 of address decryption, and the signal is fed to the input of the encoder 10, in which the control code of the switch 9 is generated taking into account the operation of the block 4. The outputs of the switch 9 from the counter 11 of the address receive the address of the status register that stopped counter,
Готовность ВУ можно определить, прочитав его, бит готовности поступает на коммутатор 9 с выхода элемента И-ИЛИ 20 при наличии разрешающего сигнала с выхода блока 7 и сигнала готовности на втором выходе блока 13,Ready VU can be determined by reading it, the ready bit goes to switch 9 from the output of the element AND-OR 20 in the presence of an enable signal from the output of block 7 and a ready signal at the second output of block 13,
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874304228A SU1487057A1 (en) | 1987-09-08 | 1987-09-08 | Computer/external device interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874304228A SU1487057A1 (en) | 1987-09-08 | 1987-09-08 | Computer/external device interface |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1487057A1 true SU1487057A1 (en) | 1989-06-15 |
Family
ID=21327060
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU874304228A SU1487057A1 (en) | 1987-09-08 | 1987-09-08 | Computer/external device interface |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1487057A1 (en) |
-
1987
- 1987-09-08 SU SU874304228A patent/SU1487057A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR850007129A (en) | Microcomputer system with bus control | |
GB1357028A (en) | Data exchanges system | |
SU1487057A1 (en) | Computer/external device interface | |
SU1288709A1 (en) | Interface for linking electric computer with peripheral units | |
SU1262511A1 (en) | Interface for linking two electronic computers | |
SU1675896A1 (en) | Device for information changing of computer and peripherals | |
SU1532941A1 (en) | Information exchange device | |
SU1587518A1 (en) | Device for interfacing processor and group of memory units | |
SU1478247A1 (en) | Indicator | |
SU1658159A1 (en) | Device for user interfacing to a computer | |
SU1481774A1 (en) | System for debugging programs | |
SU1166123A1 (en) | Interface for linking digital computer with communication lines | |
SU1624468A1 (en) | Device for interfacing two digital computers | |
SU1444787A1 (en) | Device for interfacing data transmission channel with trunk line | |
SU1056175A1 (en) | Data input device | |
SU1001074A1 (en) | Interface | |
SU1015386A1 (en) | Device for testing memory checking circuits | |
SU1264196A1 (en) | Device for exchanging information | |
SU980088A2 (en) | Device for interfacing computer with main line | |
SU968798A1 (en) | Interface | |
SU1513496A1 (en) | Information transceiver | |
SU1363227A2 (en) | Device for interfacing sources and receivers with trunk line | |
SU911499A1 (en) | Exchange device | |
SU1481781A1 (en) | Data exchange unit | |
SU1401470A1 (en) | Device for interfacing a computer with peripheral apparatus |