SU1372330A1 - Device for connecting microprocessor with external devices - Google Patents
Device for connecting microprocessor with external devices Download PDFInfo
- Publication number
- SU1372330A1 SU1372330A1 SU864112751A SU4112751A SU1372330A1 SU 1372330 A1 SU1372330 A1 SU 1372330A1 SU 864112751 A SU864112751 A SU 864112751A SU 4112751 A SU4112751 A SU 4112751A SU 1372330 A1 SU1372330 A1 SU 1372330A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- output
- input
- outputs
- inputs
- microprocessor
- Prior art date
Links
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 5
- 230000015572 biosynthetic process Effects 0.000 description 4
- 238000012790 confirmation Methods 0.000 description 3
- TVZRAEYQIKYCPH-UHFFFAOYSA-N 3-(trimethylsilyl)propane-1-sulfonic acid Chemical compound C[Si](C)(C)CCCS(O)(=O)=O TVZRAEYQIKYCPH-UHFFFAOYSA-N 0.000 description 1
- 241000412611 Consul Species 0.000 description 1
- 101000915742 Homo sapiens Zinc finger protein ZPR1 Proteins 0.000 description 1
- 102000018795 RELT Human genes 0.000 description 1
- 108010052562 RELT Proteins 0.000 description 1
- 102100028959 Zinc finger protein ZPR1 Human genes 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000002360 explosive Substances 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 230000008672 reprogramming Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Bus Control (AREA)
Abstract
Изобретение относитс к вычислительной технике и может быть использовано в микропроцессорных системах обработки данных дл св зи микропроцессора с внешними устройствами , подключенных к интерфейсной магистрали . Цель изобретени - расширение области применени устройства за счет обеспечени возможности подключени к интерфейсной магистралиThe invention relates to computing and can be used in microprocessor-based data processing systems for communicating a microprocessor with external devices connected to an interface trunk. The purpose of the invention is to expand the field of application of the device by providing connectivity to the interface trunk
Description
(Л(L
0000
tc tc
со ооwith oo
OKfOKf
внешних устройств разного быстродействи . Цель достигаетс тем, что в устройство, соединенное с интерфейсной магистралью 1 внешних устройств и содержащее группы шинных формирователей адреса 2 и данных 6, генератор 3 тактовых сигналов, элемент И, регистр 5 состо ни , дешифраторы адреса 7 и управл ющих сигналов 8, узел 9 формировани сигнала готовности, включающий первый триггер 13, введены в узел 9 формировани сигнала готовности второй триггер 14 и три элемента ИЛИ 11,12 и 15. 3 ил.external devices of different speeds. The goal is achieved by the fact that in a device connected to the interface highway 1 of external devices and containing groups of bus drivers for address 2 and data 6, a generator of 3 clock signals, element I, state register 5, decoders of address 7 and control signals 8, node 9 the formation of the ready signal, including the first trigger 13, is introduced into the node 9 of the formation of the ready signal, the second trigger 14 and the three elements OR 11.12 and 15. 3 Il.
1one
Изобретение относитс к вычислительной технике, в частности к средствам микропроцессорного управлени , и может быть использовано в системах обработки даных и управлени .The invention relates to computing, in particular to means of microprocessor control, and can be used in data processing and control systems.
Цель изобретени - расширение области применени устройства за счет обеспечени возможности использовани в системе внешних устройств разного быстродействи .The purpose of the invention is to expand the field of application of the device by allowing the use of external devices of different speeds in the system.
На фиг.1 представлена блок-схема устройства; на фиг.2 - функциональна схема узла формировани готовности; на фиг.З - временна диаграмма работ устройства.Figure 1 presents the block diagram of the device; Fig. 2 is a functional diagram of a readiness formation node; FIG. 3 is a time diagram of the operation of the device.
Устройство соединено с интерфейсной магистралью I внешних устройств и содержит (фиГоО группу шинных формирователей 2 адреса, генератор 3 тактовых сигналов, элемент И 4, регистр 5 состо ни , группу шинных формирователей 6 данных, дешифратор 7 адреса, дешифратор 8 управл ющих сигналов и узел 9 формировани сигнала готовности о К интерфейсной магистрали 1 подключены внешние устройства 10, которые представл ют собой либо ЗУ, либо устройства ввода-вьшода, том числе и медленнодействук цие, требующие работы в режиме ожидани .The device is connected to the interface line I of external devices and contains (FIRE group of bus drivers 2 addresses, generator of 3 clock signals, element 4, state register 5, group of bus drivers of data 6, address decoder 7, control decoder 8 and node 9 forming a ready signal o The external interface 10 is connected to the interface line 1, which are either memory devices or input devices, including slow action, requiring standby operation.
В качестве медленнодействующего ЗУ может быть использовано, например посто нное запоминающее устройство с многократным перепрограммированием с электрической записью и стиранием информации типа KI60IPP1, в качестве медленнодействующего устройства ввода-вывода - электрическа пишуща машинка типа Консул,For example, a persistent storage device with multiple reprogramming with electrical recording and erasing information such as KI60IPP1 can be used as a slow-acting storage device; an electric typewriter of the Consul type can be used as a slow-acting input / output device.
Узел 9 формировани сигнала готовности (фиг.2) содержит элементы ИЛИThe node 9 of the formation of the ready signal (figure 2) contains the elements OR
oo
5five
00
5five
00
5five
00
11 и 12, триггеры 13 и 14 и элемент ИЛИ 15.11 and 12, triggers 13 and 14, and the element OR 15.
Дл св зи с внешними устройствами ввода-вывода и устройствами пам ти используютс следующие сигналы интерфейсной магистрали 1:АДР - адресные , указывающие адрес чейки пам ти или устройства ввода-вьюода; ИНФ - информационные, служащие дл передачи данных, команд, состо ний и др.; ЧТЗУ - чтение пам ти, указывает, что производитс считывание информации (команд, данных и т.д.) из устройства пам ти; ЗПЗУ - запись в пам ть , указывает, что производитс запись информации в устройства пам ти; ЧТВВ - чтение устройства ввода- вывода, указывает, что производитс считывание информации из внешних устройств ввода-вывода; ЗПВВ - запись в устройства ввода-вывода, указывает , что производитс запись во внешние устройства ввода-вывода; ОТВ - ответ, сообщающий, что указанна операци вьтолнена; ЭПР - запрос прерывани ; ППР - подтверждение прерывани .For communication with external input / output devices and memory devices, the following signals from the interface bus 1 are used: ADRs are address signals indicating the address of the memory cell or input-output devices; INF - information, serving to transfer data, commands, states, etc .; CTE - reads the memory, indicates that information is being read (commands, data, etc.) from the memory device; RUPD — write to memory indicates that information is being recorded to the memory device; FTVT — reads an input / output device, indicates that information is being read from external input / output devices; RELT — write to I / O devices, indicating that recording is being made to external I / O devices; OTV is a response indicating that the specified operation is complete; ESR - interrupt request; SPR - interrupt confirmation.
Устройство использует следующие сигналы микропроцессора (580ВМ80): АО-А15 - адресные, указывающие адрес чейки пам ти или адреса внешнего устройства ввода-вывода; ДО-Д7 - данных , предназначенных дл передачи данных команд, состо ний; СИНХР - синхронизирующий, указьшающий начало каждого машинного цикла микропроцессора; ПРИЕМ - указывает , что шины данных ДО-Д7 наход тс в режиме ввода информации в микропроцессор; ВЫДАЧА - указывает, что шины данных наход тс в режиме вывода информации из микропроцессора; ГТ - сигнал готовности, указывающий, что на шинах данных имеетс информаци ;,Ф1, Ф2 - тактирующие и тульсы..The device uses the following microprocessor signals (580ВМ80): AO-A15 - address, indicating the address of the memory cell or the address of an external input / output device; DO-D7 - data intended for the transmission of command data, states; SYNCHR - synchronizing, indicating the beginning of each machine cycle of the microprocessor; RECEPTION - indicates that data bus DO-Д7 is in the mode of entering information into the microprocessor; OUT - indicates that the data buses are in the mode of outputting information from the microprocessor; The GT is a ready signal indicating that there is information on the data buses;, F1, F2 - clocking and pulses.
Устройство дл св зи и обмена информацией по и)1терфейсной магистрали 1 обеспечивает программный режим под воздействием микропроцессора и режим организации св зи и обмена информа- цией по прерыванию.A device for communicating and exchanging information over i) 1 interface bus 1 provides a program mode under the influence of a microprocessor and a mode of organizing communication and exchanging information on an interrupt.
В начале каждого машинного цикла в такте Т1 микропроцессор вырабатывает синхронизирующий сигнал СИНХР. В этом же такте микропроцессор устанавливает на адресных шинах АО-А15 код адреса чейки пам ти или устройства ввода-вывода. Адрес остаетс посто нным до по влени импульса Ф2 в такте, который слегует за тактом ТЗ данного цикла, В такте Т1 на шины данных выдаетс 8-разр дное управл ющее слово.At the beginning of each machine cycle in cycle T1, the microprocessor generates a synchronous sync signal. In the same cycle, the microprocessor sets the address of the memory cell or input-output device on address buses AO-A15. The address remains constant until the occurrence of the F2 pulse in a clock cycle that follows the clock cycle of the current cycle. An 8-bit control word is output on the data bus cycle T1.
В такте Т2 по импульсу Ф2 сигнал СИНХР снимаетс и выставл етс сигна ПРИЕМ, микропроцессор переходит в режим приема информации. В такте Т2 по заднему фронту импульса Ф2 также осуществл етс анализ сигнала ГТ.In the T2 cycle, by the F2 pulse, the SYNCHR signal is picked up and the Acceptance signal is set, the microprocessor switches to the information receiving mode. In the T2 cycle, on the trailing edge of the F2 pulse, the GT signal is also analyzed.
В зависимости от значени этого сигDepending on the value of this sig
нала производитс либо переход к такту ТЗ машинного цикла, либо переход в состо ние ТОЖ, выход из которого виз- можен только при наличии на входе ГТ микропроцессора сигнала, соответствующего готовности ЗУ или внешнего устройства ввода-вьшода.The transfer is made either to the TK cycle of the machine cycle or to the TOL state, the output of which is available only if there is a signal at the GT input of the microprocessor that corresponds to the readiness of the memory or external input-output device.
В такте ТЗ данные из ЗУ или внешнего устройства ввода-вывода принимаютс на шину данных, по импульсу Ф снимаетс сигнал на выходе ПРИЕМ,In the TK cycle, data from the storage device or an external I / O device is received on the data bus, the signal at the output F is received at the output RX,
В тактах Т4 и Т5, если они необходимы , выполн ютс действи над операндами . По импульсу Ф2 цикла Т4 значение адреса на шине адреса измен ет- с и его значение вл етс неопределенным до по влени импульса Ф2 такта Т1 следующего цикла.In beats T4 and T5, if they are needed, actions are performed on the operands. By the pulse F2 of cycle T4, the value of the address on the address bus changes with, and its value is undefined until the occurrence of the pulse F2 of the cycle T1 of the next cycle.
Диаграмма работы микропроцессора при выдаче информации отличаетс от рассмотренной лишь тем, что сигнал ВЫДАЧА по вл етс по импульсу Ф2, в такте, следующем за тактом Т2, а снимаетс по импульсу Ф1 такта Т4.The microprocessor operation diagram during information output differs from the one considered only in that the EXTRA signal appears on pulse F2, in a tick following T2 cycle, and is picked up on a pulse F1 of T4 clock.
В последнем такте последнего цикла команды провер етс уровень сигнала на входе ЗПР микропроцессора. При высоком уровне этого сигнала и установленном ранее внутреннем триггереIn the last cycle of the last command cycle, the signal level at the microprocessor DSS input is checked. With a high level of this signal and the previously established internal trigger
JQ Jq
20 20
25 25
30thirty
3535
,- ,,
. .
5050
5five
РАЗРЕШЕНИГ. ПРЕРЫВАНИЯ микропроцессор по тактовому импульсу Ф2 данного такта устанавливает внутренний трип-ер ПРЕРЫВАНИЕ. След тощий цикл будет циклом ПРЕРЫВАНИЕ. В этом цикле в управл ющем слове устанавливаетс разр д Подтверждение запроса прерывани . После дешифрации управл ющего слова этому коду будет соответствовать сигнал ППР (подтверждение прерывани )о Устройство, выдавшее запрос на прерывание , воспринимает его и вьщает на информационные щины ИНФ код вектора прерывани .PERMISSION. INTERRUPTION microprocessor on the clock pulse F2 of this cycle sets the internal trip-er interruption. The next skinny cycle will be the INTERRUPT cycle. In this loop, the word Confirmation of the interrupt request is set in the control word. After the control word is decrypted, this code will correspond to the SPR signal (interrupt confirmation). The device that issued the interruption request receives it and sends the interrupt vector code to the information fields INF.
Таким образом, из описани временной диаграммы работы микропроцессора можно сделать выводы: есть периоды , когда разр ды адресной шины наход тс Б неопределенном состо нии; сигнал готовности должен быть определен до по влени командных сигналов на шине управлени ; между анализом сигнала ЗШ и выдачей управл ющего сигнала ППР микропроцессор провер ет сигнал ГТ.Thus, from the description of the time diagram of the microprocessor, we can conclude: there are periods when the bits of the address bus are in the B unspecified state; the readiness signal must be determined before the appearance of the command signals on the control bus; between the analysis of the signal ZS and the issuance of the control signal of the SPR, the microprocessor checks the signal GT.
Устройство работает следующим образом .The device works as follows.
По сигналу СИНХР и импульсу Ф2 через элемент И 4 в регистр 5 заноситс код управл ющего слова, опреде- л юп1ий режим работы микропроцессора в данном цикле. Разр ды управл ющего слова поступают на вход дешифратора 8, где производитс декодирование и формирование по сигналам микропроцессора ПРИЕМ или ВЫДАЧА одного из сигналов управлени интерфейсной магистрали ЗПЗУ, ЧТЗУ, ЗПВВ, ЧТЬВ, ППР.The signal SYNC and pulse F2 through the element 4 and 4 in register 5 enter the control word code, which determines the operation mode of the microprocessor in this cycle. The control word bits are fed to the input of the decoder 8, where the decoding and generation of one of the control signals of the RUPD, CHTZU, PZVV, PTVU, PPR interface is performed using the signals from the microprocessor microprocessor.
При обращении микропроцессора к медленному устройству (внешнему ЗУ, либо устройству ввода-вывода) на выходе дешифрато ра 7 вырабатываютс сигналы запроса на ожидание ЗАПР1 или ЗАПР2, которые соответствуют либо обращению к медленному ЗУ (ЗАПР1), либо обращение к медленному ВВ (ЗАПР2)о Сигналы ЗПР1 и ЗАЛР2 поступают соответственно на входы триггеров 13 и 14.When the microprocessor accesses a slow device (external storage device or I / O device), the output of the decoder 7 generates request signals for waiting for the ZAPR1 or ZAPR2, which correspond to either the reference to the slow memory (ZAPR1) or the appeal to the slow explosive (ZAPR2) o Signals ZPR1 and ZALR2 arrive respectively at the inputs of the flip-flops 13 and 14.
Работа схемы в случае обращени к медленному ЗУ осуществл етс следующим образом. По сигналу СИНХР и импульсу Ф1 на выходе триггера 13 установитс сигнал, соответствующий неготовности ЗУ. Через элемент ИЛИ 15 он поступает на вход микропроцессоpa и переводит его в состо ние ТОЖ. Сигнал ОТВ1 от медленного ЗУ проходит через элемент ИЛИ 1I и сбрасывает триггер 13. В случае совпадени части адресных разр дов, используемых дл адресации чеек ЗУ и устройств ввода-вывода на вькоде дешифратора 7 также по витс сигнал ЗАПР1, хот обращение в данный момен происходит к быстрому устройству ввода-вывода. Триггер 13 также установитс в состо ние, соответствующее неготовности ЗУ, но уже в такте Т2 по импульсу Ф2 при чтении ВУ. В еле- дующем такте по импульсу Ф1 при записи в устройство ввода-вывода по в тс сигналы ЧТВВ, либо ЗПВВ соответственно , которые, пройд через элемент ИЛИ 11, сброс т триггер 13 и сигнал ГТ оп ть установитс в состо ние , соответствующее готовности внешнего устройства, и микропроцессор продолжит выполнение работыThe operation of the circuit in the case of a slow memory is as follows. The signal SYNC and pulse F1 at the output of the trigger 13 will set the signal corresponding to the unavailability of the memory. Through the element OR 15, it enters the input of the microprocessor and translates it into the state of TOX. The OTV1 signal from the slow memory passes through the OR 1I element and resets the trigger 13. In the case of a part of the address bits used for addressing the memory cells and I / O devices on the decoder code 7, the ZAPR1 signal also appears, although the address at this moment occurs fast I / O device. The trigger 13 will also be set to the state corresponding to the unavailability of the memory, but already in T2 pulse F2 when reading the slave. In the next clock pulse F1, when writing to the I / O device, the HTVV signals, or the SCRV, respectively, which, having passed through the OR 11 element, reset the trigger 13 and the GT signal again, are set to devices and the microprocessor will continue to perform the work
Аналогичным образом происходит работа с медленным устройством ввода-вывода . Дл сброса триггера 14 в случае непредусмотренного по влени сигнала неготовности используютс Similarly, it works with a slow I / O device. To reset trigger 14, in the event of an unforeseen occurrence of an unavailable signal, use
сигналы ОТВ2, ЗПЗУ, ЗПВВ.signals OTV2, RUPD, ZPVV.
II
Если при обращении к медленнодействующему ЗУ по вл етс запрос на прерывание ЗГТР, то триггер 13 также будет установлен в состо ние него- товности, так как на адресные шины АДР в тактах Т1 и Т2 будет выдан адрес этого ЗУ. Но уже в такте Т2 по сигналу Ф2 вместо команд обращени к ЗУ (ЗПЗУ или ЧТЗУ)„с выхода деши- фратора 8 будет выдан сигнал ППР, который, пройд через элемент ИЛИ 1 сбросит триггер 13 и микропроцессор продолжит работу по обработке прерывани .If a request for an interruption of the HRPT appears during a call to a slow-acting charger, then the trigger 13 will also be set to a state of inconvenience, since the address of the ADR buses in T1 and T2 will be given the address of this charger. But already in the T2 cycle, the F2 signal instead of the commands to access the memory (RUPD or CHTZU) from the output of the decoder 8 will produce a PRD signal that, having passed through the OR element 1, will reset the trigger 13 and the microprocessor will continue the work on interrupt processing.
В результате при использовании в системе внешних устройств с различным быстродействием при использовании полного адресного пространства врем непредусмотренного ожидани составл ет всего один машинный такт в случае записи во внешние устройства (ЗПЗУ или ЗПВВ), либо таких интервалов вообще не будет в случае команд чтени внешних устройств (ЧТЗУ, ЧТВВ) или по влени сигнала Ш1Р, следовательно, исключаютс ситуации зависани системы.As a result, when using external devices with different speeds in the system when using the full address space, the time of unforeseen waiting is only one machine cycle in the case of writing to external devices (RUPD or RPC), or there will be no such intervals at all in the case of commands to read external devices ( CTZU, CTTV) or the occurrence of the signal R1P, therefore, the system hangs situations are excluded.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU864112751A SU1372330A1 (en) | 1986-08-27 | 1986-08-27 | Device for connecting microprocessor with external devices |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU864112751A SU1372330A1 (en) | 1986-08-27 | 1986-08-27 | Device for connecting microprocessor with external devices |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| SU1372330A1 true SU1372330A1 (en) | 1988-02-07 |
Family
ID=21254763
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| SU864112751A SU1372330A1 (en) | 1986-08-27 | 1986-08-27 | Device for connecting microprocessor with external devices |
Country Status (1)
| Country | Link |
|---|---|
| SU (1) | SU1372330A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| RU2271566C2 (en) * | 1999-12-29 | 2006-03-10 | Интел Корпорейшн | Architecture and protocol of bus with quadrupled spooling |
-
1986
- 1986-08-27 SU SU864112751A patent/SU1372330A1/en active
Non-Patent Citations (1)
| Title |
|---|
| Авторское свидетельство СССР № 934466, кл. G 06 F 13/00, 1981. Авторское свидетельство СССР № 1124275, кл. G 06 F 13/00, 1983. * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| RU2271566C2 (en) * | 1999-12-29 | 2006-03-10 | Интел Корпорейшн | Architecture and protocol of bus with quadrupled spooling |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5021950A (en) | Multiprocessor system with standby function | |
| US4888728A (en) | Multipoint link data-transmission control system | |
| JP3797491B2 (en) | Data interface and high-speed communication system using the same | |
| EP0030978B1 (en) | Data-transfer controlling system | |
| US5551054A (en) | Page mode buffer controller for transferring Nb byte pages between a host and buffer memory without interruption except for refresh | |
| EP0276794B1 (en) | Data input circuit having latch circuit | |
| SU1372330A1 (en) | Device for connecting microprocessor with external devices | |
| KR920010977B1 (en) | Improved performance memory bus architecture | |
| JPH0140432B2 (en) | ||
| RU2020571C1 (en) | Computer system communication unit | |
| US4567571A (en) | Memory control for refreshing in a step mode | |
| JPS61177564A (en) | Shared storage device | |
| EP1122733A1 (en) | Internal regeneration of the address latch enable (ALE) signal of a protocol of management of a burst interleaved memory and relative circuit | |
| SU1124275A1 (en) | Microprocessor communication device | |
| SU1361568A2 (en) | Microprocessor communication device | |
| JPS598845B2 (en) | Channel control method | |
| SU1302287A1 (en) | Interface for linking microprocessor with bus | |
| RU1783582C (en) | Device for controlling dynamic memory | |
| SU1596339A1 (en) | Computer to peripheral interface | |
| SU1589282A1 (en) | Memory controller | |
| JPS615363A (en) | shared memory controller | |
| SU1524061A1 (en) | Device for interfacing two trunk lines | |
| SU572846A1 (en) | Memory control block | |
| SU1647597A1 (en) | Multiprocessor system | |
| JPS5844426Y2 (en) | Inter-processor information transfer device |