SU1418728A1 - Interface of two trunk lines - Google Patents
Interface of two trunk lines Download PDFInfo
- Publication number
- SU1418728A1 SU1418728A1 SU874187290A SU4187290A SU1418728A1 SU 1418728 A1 SU1418728 A1 SU 1418728A1 SU 874187290 A SU874187290 A SU 874187290A SU 4187290 A SU4187290 A SU 4187290A SU 1418728 A1 SU1418728 A1 SU 1418728A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- register
- group
- inputs
- output
- input
- Prior art date
Links
Landscapes
- Exchange Systems With Centralized Control (AREA)
Abstract
Изобретение относитс к вычислительной технике и предназначено дл сопр жени магистрали параллельного интерфейса и магистрали КАМАК. Целью изобретени вл етс расширение области применени . Указанна цель достигаетс тем, что в устройство, содержащее первый дешифратор режима, два регистра данных, регистр ответа, пер- вьй регистр запросов, регистр начальной установки, регистр сброса, блок приемопередатчиков, блок синхронизации , введены регистр команд, блок Коммутации, шифратор адреса, регистр запрета, регистр призн;ака адресной команды и второй регистр запросов. 5 ил. с The invention relates to computing and is intended for interfacing a parallel interface trunk and a CAMAC trunk. The aim of the invention is to expand the scope. This goal is achieved by the fact that the device containing the first decoder of the mode has two data registers, a response register, the first query register, the initial setup register, the reset register, the transceiver unit, the synchronization unit, the command register, the switching unit, the address coder, prohibition register, register recognized; as an address command and the second request register. 5 il. with
Description
1U1U
Изобретение относитс к вычислительной технике и предназначено дл ; сопр жени магистрали параллельного ин ;терфейса (магистрали микро-ЭВМ) с магистралью КАМАК,The invention relates to computing and is intended for; interface of the parallel interface of the terfeys (the microcomputer trunk) with the CAMAC trunk,
Необходимость такого сопр жени возникает при создании систем имми- тации, моделировани и тестировани технических средств и программного обеспечени КАМАК-систем, в частности при решении задач моделировани объектов.The need for such interconnection arises when creating systems for the immigration, modeling and testing of hardware and software of CAMAC systems, in particular when solving problems of modeling objects.
; Целью изобретени вл етс рас- ;ширение области применени за счет I организации дополнительные режимов работы.; The aim of the invention is to expand the scope of application through the organization of additional modes of operation.
На фиг, 1 представлена блок-схема ;устройства; на фиг„ 2 - блок-схема Яблока синхронизации; на фиг, 3 - ;схема второго дешифратора режима; на фиг. 4 - схема первого депшфра- тора режима; на фиг, 5 - схема шифратора адреса.Fig, 1 is a block diagram of the device; Fig 2 is a block diagram of the Apple Sync; Fig, 3 -; scheme of the second decoder mode; in fig. 4 - scheme of the first depfractor mode; FIG. 5 is an address encoder circuit.
Устройство содержит первьй дешифратор 1 режима, первый регистр 2 данных, регистр 3 команд, регистр 4 запрета, регистр 5 ответа, второй регистр 6 данных, регистр 7 готовности , первьй регистр 8 запросов, регистр 9 признака адресной команды , регистр 10 начальной установки, регистр 11 сброса, второй дешифратор 12 режима, блок 13 коммутации, блокThe device contains the first decoder mode 1, the first data register 2, the command register 3, the prohibition register 4, the response register 5, the second data register 6, the readiness register 7, the first request register 8, the address command register 9, the initial setting register 10, the register 11 resets, second decoder 12 modes, switching unit 13, unit
14приемопередатчиков, второй регист14 transceivers, second register
15запросов, шифратор 16 адреса и блок 17 синхронизации.15 requests, 16 address encoder and synchronization block 17.
Блок 17 синхронизации содержит элементы И 18-27, элементы НЕ 28-36, элементы ИЛИ 37-40, элемент И-ИЛИ 41 и триггер 42, Второй дешифратор 12 режима содержит элементы НЕ 43-50, группу триггеров 51, элементы И 52- 54, триггер 55, селектор 56, элементы ИЛИ 57-60 и элементы 61-70,The synchronization unit 17 contains elements AND 18-27, elements NOT 28-36, elements OR 37-40, element AND-OR 41 and trigger 42, the Second decoder 12 of the mode contains elements HE 43-50, a group of trigger 51, elements AND 52- 54, trigger 55, selector 56, elements OR 57-60 and elements 61-70,
Первьй дешифратор 1 режима содержит элементы НЕ 71-79, элементы И 80 83, элементы ИПИ 84-87 и селектор 88 Шифратор 16 адреса содержит элементы НЕ 89-93, элементы И 94,95} триггер 96 и элемент И-Ш1И 97.The first decoder mode 1 contains the elements NOT 71-79, the elements 80 80 83, the elements of the IPI 84-87 and the selector 88 the address encoder 16 contains the elements NOT 89-93, elements AND 94.95} the trigger 96 and the element I-SH1I 97.
Устройство работает следующим образом .The device works as follows.
При включении питани крейта первый регистр 8 запросов устанавливаетс в исходное состо ние. При включении питани микро-ЭВМ на магистрали парал-пельного интерфейса вырабатываетс сигнал Сброс, устанав87282When powering the crate is turned on, the first request register 8 is reset. When the power of the microcomputer is turned on, the Reset signal is generated on the paralphone interface backbone by setting the 87282
ливающий в исходное состо ние регистр 7 готовности, блок 17, второй дешифратор 12 режима, регистр 9 признака адресной команды, регистрreadily available readiness register 7, block 17, second mode decoder 12, address instruction 9 register, register
10 начальной установки и регистр 11 сброса. При передаче контроллером крейта команды начальной установки или команды сброса факт передачи по 10 initial setup and reset register 11. When the crate controller transmits the initial installation command or the reset command, the transmission is
второму стробу фиксируетс в регистрах 10 и 11 начальной установки и сброса соответственно. Затем регистр 10 начальной установки инициирует цикл прерьшани работы микро-ЭВМ,the second gate is recorded in registers 10 and 11 of the initial installation and reset, respectively. Then the register 10 of the initial installation initiates a cycle of aborting the work of the micro-computer,
,. а также устанавливает регистр 7 готовности в активное состо ние, указывающее на состо ние обмена между устройством сопр жени и микро-ЭВМ, При этом с блока 13 коммутации через, and also sets the ready register 7 to the active state, indicating the state of the exchange between the interface device and the micro-computer, whereby from the switching unit 13 through
.. блок 14 приемопередатчиков вводитс код адреса вектора прерьшанн , соот- ветствунщий либо подпрограмме начальной установки, либо подпрограмме сброса, в зависимости от того,.. the transceiver unit 14 enters the code of the address of the vector of the prefixed, corresponding to either the initial setup routine or the reset routine, depending on
1J кака команда передана контроллером крейта. Одной из команд подпрограммы начальной установки очищаетс источник запроса, а при активном состо нии регистра 11 сброса блок 17 ини- циирует цикл прерьшани , анапогичньш описанному. При передаче контроллером крейта вместе с командой начальной установки команды запрета состо ние соответствукщей шины магистрали крейта фиксируетс в регистре 4 зап-5 рета по второму стробу. Во врем выполнени подпрограммы начальной установки , реализуемой микро-ЭВМ, содержимое регистра 4 запрета череэ блок 13 ко1.1мутации и блок 14 приемопередатчиков считываетс в магистраль параллельного интерфейса микро-ЭВМ, При передаче контроллером крейта адресных команд осуществл етс запись данных с шины записи в первьй регистр1J as the command is transmitted by the crate controller. One of the commands of the initial setup routine clears the source of the request, and when the reset register 11 is active, block 17 initiates the shutdown cycle, as described. When the controller sends the crate together with the initial setup command of the prohibition command, the state of the corresponding bus of the main crate is recorded in register 4 on the second gate along the second gate. During the execution of the initial setup routine, implemented by the microcomputer, the contents of register 4 are disabled and the switching unit 13 is switched to the trunk of the microcomputer parallel interface. When the crate controller sends the address commands, the write data is written to the first bus register
2 данных и регистр 3 команд по соот- ветствуюгцим управл ющим сигналам записи , формируемым первьм дешифратором 1 режима. При записи информации в регистр команд факт передачи адресной 2 data and a register of 3 commands according to the corresponding control signals of the record generated by the first decoder of the 1 mode. When writing information to the command register, the fact of transmission of the address
0 команды фиксируетс в регистре 9 признака адресной команды, при этом блок 17 инициирует цикл прерьшани работы микро-ЭВМ, анапогичньй описанному . Передача содержимого первого ре5 гистра 2 данньгх, регистра 3 команд, регистра 4 запрета, а также векторов прерываний в магистраль микро-ЭВМ осуществл етс через блок 13 коммута0The 0 command is fixed in the register 9 of the indication of the address command, while the block 17 initiates a cycle of aborting the microcomputer operation, as described above. The transfer of the contents of the first registrar 2 dunng, the register of 3 commands, the prohibition register 4, as well as the interrupt vectors to the microcomputer trunk is carried out via switch unit 13
ции и блок 14 приемопередатчиков. Адрес дл коммутации задаетс шифратором 16 адреса, который управл етс сигналами второго дешифратора 12 режима при передаче информации из указанных регистров и сигналами блока 17, а также второго регистра 15 запросов при передаче векторов прерывани . Информаци , предназначенна дл передачи в магистраль крейта, считываетс из микро-ЭВМ через блок 14 приемопередатчиков в первьй регистр 8 запросов, второй регистр 6 данных и регистр 5 ответа по сигналам записи, формируемым вторым дешифратором 12 режима работы. По командам контроллера крейта информаци из регистра 5 ответа и второго регистра 6 данных передаетс в магистраль крейта под действием управ- л кнцих сигналов, формируемых первым дешифратором 1 режима работы. Информаци из первого регистра 8 запросов передаетс в магистраль крейта посто нно . При поступлении адресных команд из магистрали крейта передача информации из первого регистра запросов в магистраль крейта блокируетс . При завершении обмена между устройством сопр жени и микро-ЭВМ последн передает команду, под действием которой второй дешифратор 12 режима формирует сигнал установки регистра 7 готовности в исходное состо 7тае. По соответствук цей команде контроллера крейта содержимое регистра 7 готовности передаетс в магистраль крейта под действием управл ющего сигнала, формируемого первым дешифратором 1 режима работы,tion and block 14 transceivers. The switching address is specified by the address encoder 16, which is controlled by the signals of the second decoder mode 12 when transmitting information from the indicated registers and the signals of block 17, as well as the second request register 15 when transmitting interrupt vectors. Information intended for transmission to the mainline of the crate is read out from the microcomputer via transceiver unit 14 to the first request register 8, the second data register 6 and the response register 5 from the recording signals generated by the second decoder 12 mode of operation. According to the commands of the crate controller, information from the response register 5 and the second data register 6 is transmitted to the crate trunk under the influence of control signals generated by the first decoder of the first operation mode. Information from the first register 8 requests is transmitted to the crate trunk permanently. Upon receipt of address commands from the main line, the transfer of information from the first request register to the main line is blocked. When the exchange between the interface device and the microcomputer is completed, the latter transmits a command, under the action of which the second decoder 12 of the mode generates a signal to set the readiness register 7 to the 7th state. By the corresponding command of the controller of the crate, the contents of the ready register 7 are transmitted to the main of the crate under the action of a control signal generated by the first decoder of the 1st mode of operation,
Блок 17 синхронизации функционнру ет следующим образом.The synchronization unit 17 functions as follows.
При включении питани микро-ЭВМ вырабатываетс сигнал К СБРОС Н, очичающий шину требовани прерьшани КТПРН. По вление активного сигнала на группе входов элементов И-ИЛИ 41 приводит к формированию сигнала КТПРН, а также активизации сигналов на первом и п том выходах. Сигнал с первого выхода предназначен дл фиксации входной информации в регистр 15 запросов. Сигнал с п того выхода переводит регистр 7 готовности в активное состо ние. В цикле прерьтани микро-ЭВМ при по влении сигнала К ВВОД Н шины управлени микро-ЭВМ активизируетс сигналWhen the microcomputer is powered up, a K RESET N signal is generated, which clears the bus to terminate the CTPRN bus. The appearance of an active signal at the group of inputs of the AND-OR elements 41 leads to the formation of a KTPRN signal, as well as activation of the signals at the first and fifth outputs. The signal from the first output is designed to capture the input information in the register 15 requests. The signal from the fifth output switches readiness register 7 to the active state. In the microcomputer interruption cycle, when a signal is received K INPUT N of the microcomputer control bus, the signal is activated
5five
00
на третьем вькоде, при этом шифратор 16 адреса формирует адрес, по- ступакшщй на блок -13 -коммутации. При - по влении сигнала шины управлени ми- кро-ЭВМ К ППР 1 Н очищаетс тина К ТПР Н, при этом пассивным станов тс сигналы на первом, третьем и п том выходах, формируетс сигнал наin the third code, the address encoder 16 generates an address that goes to the -13-switching unit. When the control bus signal of the microcomputer K SPR 1 N is cleared, the CRP N is cleared, the signals on the first, third and fifth outputs become passive, a signal is generated on
Q четвертом выходе, определ ющий направление передачи информации через блок 14 приемопередатчиков от устройства сопр жени к микро-ЭВМ, а также формируетс сигнал шины управлени К СИН Н. После сн ти сигнала К ППР 1 Н очищаетс шина К СИП Н, а сигнал на четвертом выходе принимает исходное значение, определ к цее направление передачи информации от микро-ЭВМ через блок 14 приемопередатчиков к элементам устройства сопр жени . При обмене информацией микро-ЭВМ и данным устройством сопр жени в циклах Ввод и Вывод также формируетс сигналQ to the fourth output, which determines the direction of information transfer through the transceiver unit 14 from the interface to the microcomputer, and a control bus signal K SIN H is formed. After removing the signal K Tire 1 N, the bus K SIP N is cleared, and the signal on the fourth output takes the initial value, determining to the direction the direction of information transfer from the micro-computer through the transceiver unit 14 to the elements of the interface device. When micro-computer information and this interface are exchanged, in the Input and Output cycles, a signal is also generated.
5 К ШП Н, а в цикле Ввод - сигнал на четвертом выходе. При по влении на группе входов очистки одного из сигналов очистки тактовый вход D-триггера подготавливаетс к воспри тию соответствующего сигнала5 а также активизируетс третий выход, при этом шифратор 16 адреса формирует адрес, поступаншщй на блок 13 коммз тации. Второй депмфратор 12 режима работ функционирует следующим образом,5 К ШП Н, and in the Input cycle - a signal at the fourth output. When one of the cleaning signals appears on the cleaning input group, the D-flip-flop clock input is prepared for sensing the corresponding signal5 and the third output is activated, and the address encoder 16 generates the address received by the commutation unit 13. The second depmfrator 12 modes of operation operates as follows
5 В адресной части циклов Ввод и Вывод при соответствующей комбинации на второй группе входов по переднем, фронту сигнала шины управлени , микро- ЭВМ К СИЛ Н активизируютс сигналы выбор Н и выбор В, состо ние четырех младших разр дов пшны адреса/данных фиксируетс в регистре. Выходна информаци регистра дешифруетс и при по влении сигнала К ВВОД Н или ВЬШОД Н шины управлени микро-ЭВМ на группе магистральных выходов по вл етс один из сигналов управлени элементами устройства сопр жени . По заднему фронту сигналы ВЫБОР Н5 In the address part of the Input and Output cycles, with the appropriate combination on the second group of inputs, on the leading edge of the control bus signal, the microcomputer K SIL H, the selection N and selection B signals are activated, the state of the four lower digits of the address / data pin is fixed in the register . The output information of the register is decrypted, and when a signal K INPUT N or L EXT N is detected on the microcomputer control bus, one of the interface elements control signals appears on the group of main outputs. On the falling edge of the signals is the selection of N
0 и ВЫБОР В принимают исходное значение , при этом запрещаетс дешифраци выходной информации регистра.0 and SELECT B take the original value, and the decryption of the output of the register is prohibited.
Первьй дешифратор 1 режима работ.ы функционирует следую1дим образом. ПриThe first decoder of the 1 operation mode functions as follows. With
5 адресации контроллером крейта устройства сопр жени в цикле КАМАК соответствующа комбинаци сигналов, в шине субадреса АО-АЗ дешифрируетс .5, by addressing the interface device crate controller in the CAMAC cycle, the corresponding signal combination is decrypted on the sub-address AO-AZ bus.
00
00
5five
5151
с выходов дешнфратора н сочетании с сигналами шины функции F1-F5 н сигналом строба 51 определ ют один из управл ющих сигналов второй групп выходов. From the outputs of the dust generator, in combination with the signals of the bus function F1-F5 and the signal of the strobe 51, one of the control signals of the second group of outputs is determined.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874187290A SU1418728A1 (en) | 1987-01-28 | 1987-01-28 | Interface of two trunk lines |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874187290A SU1418728A1 (en) | 1987-01-28 | 1987-01-28 | Interface of two trunk lines |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1418728A1 true SU1418728A1 (en) | 1988-08-23 |
Family
ID=21282857
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU874187290A SU1418728A1 (en) | 1987-01-28 | 1987-01-28 | Interface of two trunk lines |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1418728A1 (en) |
-
1987
- 1987-01-28 SU SU874187290A patent/SU1418728A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1251093, кл. G 06 F 13/20, 1985. Приборы и техника эксперимента. 9 6, 1975, с. 69-71. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR900015008A (en) | Data processor | |
US4580213A (en) | Microprocessor capable of automatically performing multiple bus cycles | |
SU1418728A1 (en) | Interface of two trunk lines | |
US6070210A (en) | Timing mode selection apparatus for handling both burst mode data and single mode data in a DMA transmission system | |
SU1509893A1 (en) | Processor to peripherals interface | |
JPS59114603A (en) | Coupling system with other computer device, of sequence controller | |
SU1264196A1 (en) | Device for exchanging information | |
JPH05282244A (en) | Information processor | |
SU1365089A1 (en) | Device for interfacing two computers with common external device | |
SU1559351A1 (en) | Device for interfacing two computers | |
SU1711168A1 (en) | Program run-time monitor | |
SU1190387A1 (en) | Device for exchanging data between computer and peripherals | |
KR0137841Y1 (en) | Data transfer control device in multiprocessor system | |
SU1580378A1 (en) | Device for interfacing external device with trunk | |
JP4097377B2 (en) | Microcomputer | |
SU1515165A1 (en) | Computer to peripherals interface | |
SU1195364A1 (en) | Microprocessor | |
SU1478222A1 (en) | Computer/external device interface | |
SU1283850A2 (en) | Buffer storage | |
SU1508220A1 (en) | Device for interfacing microcomputer trunk line with peripherals trunk line | |
KR0125910Y1 (en) | Scsi host adapter of a computer | |
RU2001132752A (en) | Entertainment device | |
SU1635189A1 (en) | Computer-to-peripherals interface | |
SU1434440A1 (en) | Device for interfacing processor with peripherals | |
SU1166123A1 (en) | Interface for linking digital computer with communication lines |