[go: up one dir, main page]

SU1550524A1 - Device for interfacing processor and external unit - Google Patents

Device for interfacing processor and external unit Download PDF

Info

Publication number
SU1550524A1
SU1550524A1 SU884450349A SU4450349A SU1550524A1 SU 1550524 A1 SU1550524 A1 SU 1550524A1 SU 884450349 A SU884450349 A SU 884450349A SU 4450349 A SU4450349 A SU 4450349A SU 1550524 A1 SU1550524 A1 SU 1550524A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
register
group
information
Prior art date
Application number
SU884450349A
Other languages
Russian (ru)
Inventor
Ильмира Зиатдиновна Кузьменко
Владимир Борисович Матвеев
Фарида Салимовна Сайфуллина
Азат Усманович Ярмухаметов
Original Assignee
Предприятие П/Я А-3886
Казанский Авиационный Институт Им.А.Н.Туполева
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Предприятие П/Я А-3886, Казанский Авиационный Институт Им.А.Н.Туполева filed Critical Предприятие П/Я А-3886
Priority to SU884450349A priority Critical patent/SU1550524A1/en
Application granted granted Critical
Publication of SU1550524A1 publication Critical patent/SU1550524A1/en

Links

Landscapes

  • Bus Control (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано дл  построени  систем обмена информацией. Целью изобретени   вл етс  повышение быстродействи . Устройство содержит узел управлени , узел фиксации режима работы, два мультиплексора, два шинных формировател , два формировател  сигнала прерывани , регистр режимов, регистр признаков, регистр выходной информации, регистр входной информации, регистр байта текущего состо ни , шифратор, триггер, два элемента ИЛИ. 2 з.п. ф-лы. 4 ил.The invention relates to computing and can be used to build information exchange systems. The aim of the invention is to increase speed. The device contains a control node, a latching node, two multiplexers, two bus drivers, two interrupt signal generators, mode register, feature register, output information register, input information register, current status byte register, encoder, trigger, two OR elements. 2 hp f-ly. 4 il.

Description

Изобретение относитс  к вычислительной технике и может быть использовано дл  построени  систем обмена данными.The invention relates to computing and can be used to build data exchange systems.

Цель изобретени  - повышение быстродействи  устройства.The purpose of the invention is to increase the speed of the device.

На фиг. 1 представлена структурна  схема устройства; на фиг. 2 - 4 - схемы узла управлени , узла фиксации режима работы и регистра режима.FIG. 1 shows a block diagram of the device; in fig. 2-4 are diagrams of the control unit, the fixation unit, and the mode register.

Устройство содержит выходную информационную шину 1 процессора, шину 2 Запись процессора, шину 3 Чте- ние процессора, адресную шину 4 процессора , входную информационную шину 5 процессора, входную шину 6 Прерывание процессора, регистр 7 режимов, триггер 8, регистр 9 выходной информации , формирователь 10 сигнала прерывани , элемент ИЛИ 11, шинный формирователь 12, шинный формирователь 13, регистр 14 признаков, состо щий , из триггеров 15, 16 и 17, узел 18The device contains the output information bus 1 of the processor, bus 2 Record of the processor, bus 3 Read of the processor, address bus 4 of the processor, input information bus 5 of the processor, input bus 6 Interruption of the processor, register 7 of modes, trigger 8, register 9 of the output information, driver 10 interrupt signal, OR element 11, bus driver 12, bus driver 13, register of 14 signs, consisting of triggers 15, 16 and 17, node 18

.управлени , элемент ИЛИ 19, мультиплексор 20, формирователь 21 сигнала прерывани , шифратор 22, мультиплексор 23, регистр 24 байта текущего состо ни , регистр 25 входной информации , узел 26 фиксации режима работы, входную шину 27 прерывани  внешнего устройства, входную информационную шину 28 внешнего устройства, шину 29 Запись внешнего устройства, шину 30 Чтение внешнего устройства, адресную шину 31 внешнего устройства, шину 32 Конец блока, шину 33 Разрешение пр мого доступа, шину 34 Запрос пр мого доступа, выходную информационную гаину 35 внешнего устройства, шину 36 начальной установки, шину 37 нулевого потенциала, шину 38 единичного потенциала.control, element OR 19, multiplexer 20, interrupt signal generator 21, encoder 22, multiplexer 23, current status byte register 24, input information register 25, operating mode fixing node 26, external device interrupt bus 27, input information bus 28 external device, bus 29 External device recording, bus 30 Reading external device, address bus 31 external device, bus 32 End of block, bus 33 Direct access permission, bus 34 Direct access request, output information bus 35 external device -keeping, the initial installation bus 36, bus 37 zero potential, the tire 38 of the unit capacity.

На фиг. 1 показаны выходы 39 - 50 узла 18 управлени , вход 51 и выходы 52 - 55 узла 26 фиксации режима работ .FIG. 1 shows the outputs 39-50 of the control unit 18, the input 51 and the outputs 52-55 of the operation-fixing unit 26.

(Л С(Ls

Узел 18 управлени  содержит фиг. 2) элементы И 56 - 67, первый 68 и второй 69 дешифраторы и элемент ИЛИ 70,The control unit 18 comprises FIG. 2) the elements And 56 - 67, the first 68 and the second 69 decoders and the element OR 70,

Узел 26 фиксации режима работы содержит (фиг. 3) три триггера 71 - 73, шесть элементов ИЛИ 74 - 79 и четыре элемента И 80 - 83.Node 26 fixing mode of operation contains (Fig. 3) three trigger 71 - 73, six elements OR 74 - 79 and four elements And 80 - 83.

Регистр 7 режимов содержит (фиг. 4) три элемента И 84 - 86 и три триггера 87-89.Register 7 modes contains (Fig. 4) three elements And 84 - 86 and three trigger 87-89.

Выходна  информационна  шина 1 процессора служит дл  выдачи управл ющей информации в регистр 7 режимов, а также дл  выдачи байта команды или данных в регистр 9 выходной информации .The output information bus 1 of the processor serves to issue control information to the register of 7 modes, as well as to issue a command byte or data to the register 9 of the output information.

Шина 2 Запись процессора служит дл  выдачи процессором сигнала управ- лени  записью в регистр 7 режима, регистр 9 выходной информации.Bus 2 Processor Record serves for the processor to issue a write control signal to the mode register 7, output information register 9.

Шина 3 Чтение процессора служит дл  выдачи процессором сигнала управлени  чтением из регистра 14 призна- ков, шифратора 22, регистра 24 байта текущего состо ни , регистра 25 входной информации.Bus 3 Read processor serves for the processor to issue a read control signal from register 14 of signs, encoder 22, register 24 bytes of the current state, register 25 of input information.

Адресна  шина 4 процессора служит дл  выдачи процессором адресов адре- суемых элементов пам ти: регистра 7 режимов, регистра 9 выходной информации , регистра 14 признаков, шифратора 22, регистра 24 байта текущего состо ни , регистра 25 входной информации. Входна  информационна  шина 5 про- цессо ра служит дл  передачи процессору значений регистра 14 признаков, шифратора 22, регистра 24 байта текущего состо ни , регистра 25 входной информации.The address bus 4 of the processor serves for issuing by the processor the addresses of the addressable memory elements: register 7 modes, register 9 output information, register 14 signs, encoder 22, register 24 bytes of the current state, register 25 of the input information. The input information bus 5 of the processor is used to transmit to the processor the values of the register of 14 attributes, the encoder 22, the register 24 bytes of the current state, the register 25 of the input information.

Входна  шина 6 прерывани  процессора служит дл  выдачи в процессор запросов на микропрограммное прерывание дл  инициировани  процедур чтени  бай тов начального и конечного состо ний, а также чтени  или записи байта данных .The processor interrupt input bus 6 is used to issue microprogram interrupt requests to the processor to initiate the read byte procedures of the initial and final states, as well as read or write data bytes.

Регистр 7 режимов служит дл  записи и хранени  информации от процессора , представл ющей указани  типа При ем, Цепочка команд, Конец передачи данных.Register 7 of modes is used to record and store information from a processor representing instructions such as Receive, Chain of Instructions, End of Data Transfer.

Триггер 8 служит дл  идентификации информации, записанной в регистр 9 выходной информации, как команды.The trigger 8 serves to identify the information recorded in the output register 9 as commands.

Регистр 9 выходной информации служит дл  записи и хранени  команд и данных от процессора.Output register 9 is used to record and store instructions and data from the processor.

«о "about

5 five

00

5five

Формирователь 10 сигнала прерывани  служит дл  формировани  и выдачи сигнала прерывани  в процессор. На вход формировател  поступают значени  разр дов регистра 14 признаков, единичное значение каждого из которых вызывает формирование сигнала прерывани , формирователь 10 выполнен на элементе ИЛИ.Interrupt signal generator 10 serves to generate and output an interrupt signal to the processor. The values of the register of 14 signs, the single value of each of which causes the formation of an interrupt signal, arrive at the input of the shaper, the shaper 10 is made on the OR element.

Шинный формирователь 12 служит дл  управлени  выдачей информации на входную информационную шину 5 процессора . Выполнен на элементах с третьим состо нием.The bus driver 12 serves to control the output of information to the input information bus 5 of the processor. Made on the elements with the third state.

Шинный формирователь 13 служит дл  управлени  выдачей информации на входную информационную шину 28 внешнего устройства. Выполнен на элементах с третьим состо нием.The bus driver 13 serves to control the output of information to the input information bus 28 of an external device. Made on the elements with the third state.

Регистр 14 признаков служит дл  хранени  и выдачи в процессор признаков , идентифицирующих информацию в регистре 25 входной информации как данные или байт состо ни . Единичное значение каждого из разр дов регистра 14 признаков вызывает формирование сигнала прерывани  в процессор. Регистр 14 признаков состоит из триггеров 15-17.The feature register 14 serves to store and output to the processor features that identify information in the input information register 25 as data or status bytes. A single value of each of the register of 14 signs causes the formation of an interrupt signal to the processor. The register of 14 signs consists of triggers 15-17.

Триггер 15 служит дл  записи и хранени  признака Байт состо ни  дл  идентификации информации, хран щейс  в регистре 25 входной информации , как байт состо ни . При записи в регистр 14 признаков со стороны внешнего устройства триггер 15 имеет отдельный адрес, по которому также осуществл етс  запись в триггер 72 в узле 26 фиксации режима работы. Триггер 16 служит дл  записи и хранени  признака Требуютс  данные требовани  байта данных от процессора. При записи в триггер 16 со стороны внешнего устройства он имеет отдельный адрес. Триггер 17 служит дл  хранени  признака Данные дл  идентификации информации, хран щейс  в регистре 25 входной информации, как данных. Установка триггера 17 осуществл етс  при записи в регистр 25 входной информации байта данных от внешнего устройства .The trigger 15 serves to record and store a status byte flag to identify information stored in the input information register 25 as a status byte. When writing to the register of 14 characters from the external device, the trigger 15 has a separate address, which also records to the trigger 72 in the operation fixing unit 26. The trigger 16 is used to record and store the attribute. Data byte data from the processor is required. When writing to the trigger 16 by the external device, it has a separate address. The trigger 17 serves to store the characteristic Data to identify the information stored in the input information register 25 as data. The trigger 17 is set when writing input data byte from an external device to register 25.

Узел 18 управлени  служит дл  приема управл ющих сигналов от процессора и внешнего устройства и, на основе их анализа, формировани  сигналов управлени  устройством.The control unit 18 serves to receive control signals from the processor and an external device and, based on their analysis, to generate device control signals.

5155051550

Мультиплексор 20 служит дл  управлени  выдачей информации во внешнее устройство из регистра 7 режимов и триггера 8, или из регистра 9 выходной информации.The multiplexer 20 serves to control the output of information to an external device from the register of 7 modes and the trigger 8, or from the register 9 of the output information.

Формирователь 21 сигнала прерывани  служит дл  формирова ш  и выдачи сигнала прерывани  во внешнее устройство . На вход формировател  21 по- ступают значени  разр дов регистра 7 режимов и триггера 8. Формирователь 21 выполнен, например, на элементе ИЛИ.Interrupt signal generator 21 serves to generate the w and output the interrupt signal to an external device. The bits of the register of 7 modes and the trigger 8 are supplied to the input of the imaging unit 21. The imaging unit 21 is executed, for example, on the OR element.

Шифратор 22 служит дл  хранени  начальных байтов состо ни  дл  выдачи их в процессор в процедуре начальной выборки дл  всех кодов команд . Выполнен, например, на ПЗУ, на адресные входы которого поступают ко- ды команд, а с выхода считываютс  байты начального состо ни .The encoder 22 serves to store the initial status bytes for issuing them to the processor in an initial sample procedure for all instruction codes. Completed, for example, on a ROM, the instruction inputs of which receive instruction codes, and the output bytes of the initial state are read out.

Мультиплексор 23 служит дл  управлени  выдачей информации в процессор из шифратора 22, регистра 14 призна- ков, регистра 24 байта текущего состо ни  или регистра 25 входной информации .The multiplexer 23 serves to control the output of information to the processor from the encoder 22, the register of 14 signs, the register 24 bytes of the current state or the register 25 of the input information.

Регистр 24 байта текущего состо ни  служит дл  хранени  состо ний внешнего устройства: Доступно, Недоступно , Зан то.A register of 24 bytes of the current state serves to store the state of the external device: Available, Not Available, Zanto.

Регистр 25 входной информации служит дл  записи и хранени  байтов данных и байтов состо ни  от внешнего устройства.Input information register 25 is used to record and store data bytes and status bytes from an external device.

Узел 26 фиксации режима работы служит дл  управлени  режимами обмена данными с внешним устройством в режиме пр мого доступа к оперативной пам ти внешнего устройства.The operation-fixing unit 26 serves to control the modes of data exchange with an external device in the direct access mode to the external memory.

Входна  шина 27 прерывани  внешнего устройства служит дл  выдачи во внешнее устройство запросов на микропрограммное прерывание дл  иницииро- вани  процедур передачи команды, обмена данными, завершени  операции.The input bus 27 for interrupting an external device is used to issue requests to the external device for a firmware interrupt to initiate procedures for sending a command, exchange data, and complete the operation.

Входна  информационна  шина 28 внешнего устройства служит дл  передачи внешнему устройству значений ре- гистра 7 режимов, триггера 8, а также значений регистра 9 выходной информации .The input information bus 28 of the external device is used to transfer to the external device the values of the register of 7 modes, the trigger 8, and the values of the register 9 of the output information.

Шина 29 Запись внешнего устройства служит дл  приема от внешнего устройства сигнала управлени  записью в регистр 14 признаков, в регистр 24 байта текущего состо ни , в регистр 25 входной информации.Bus 29 Write external device is used to receive from the external device a write control signal in the register of 14 signs, in the register 24 bytes of the current state, in the register 25 of the input information.

Шина 30 Чтение внешнего устройства служит дл  приема от внешнего устройства сигнала управлени  чтением регистра 7 режимов, триггера 8, а также регистра 9 выходной информации. Адресна  шина 31 внешнего устройства служит дл  приема от внутреннего устройства адресов адресуемых элементов пам ти: регистра 7 режимов, триггера 8, регистра 14 признаков, регистра 7 режимов, триггера 8, регистра 14 признаков, регистра 24 байта текущего состо ни , регистра 25 входной информации.Bus 30 Read external device is used to receive from the external device the read control signal of the register of 7 modes, trigger 8, and also register 9 of the output information. The address bus 31 of the external device serves to receive from the internal device the addresses of the addressable memory elements: register 7 modes, trigger 8, register 14 features, register 7 modes, trigger 8, register 14 features, register 24 bytes of the current state, register 25 of the input information .

Шипа 32 Конец блока служит дл  приема от внешнего устройства сигнала завершени  процедуры обмена данными в режиме пр мого доступа к оперативной пам ти внешнего устройства.Spike 32 The end of the block is used to receive from the external device a signal for completing the data exchange procedure in the direct access mode to the external memory.

Шина 33 Разрешение пр мого доступа служит дл  выдачи внешним устройством сигнала обратной св зи на сигнал Запрос пр мого доступа от устройства и служит дл  управлени  приемом или выдачей байтов данных.Bus 33 Direct Forward Access is used for an external device to issue a feedback signal to a signal. A direct access request from the device is used to control the reception or output of data bytes.

Шина 34 Запрос пр мого доступа служит дл  инициировани  во внешнем устройстве процедуры приема или выдачи байта данных в режиме пр мого доступа к оперативной пам ти внешнего устройства.Bus 34 A direct access request is used to initiate in an external device a procedure for receiving or issuing a data byte in the direct access mode to the external memory.

Выходна  информационна  шина 35 внешнего устройства служит дл  выдачи информации от внешнего устройства в регистры 14 признаков, 24 байта текущего состо ни  и 25 входной информации .The output information bus 35 of the external device serves to output information from the external device to the registers of 14 features, 24 bytes of the current state and 25 input information.

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

Перед началом работы сигналом на шине 36 начальной установки все элементы пам ти устройства привод тс  в исходное состо ние. Инициаци  работы устройства производитс  как от процессора , так и от внешнего устройства .Before the start of operation, the signal on the setup bus 36 all the device memory elements are reset. Initiation of device operation is performed both from the processor and from an external device.

Процессор может обращатьс  по записи в регистр 7 режима и регистр 9 выходной информации, при этом в устройство по выходной информационной шине 1 процессора поступает байт информации дл  записи, а на адресную шину 4 процессора и шину 2 Запись процессора - адрес элемента пам ти и сигнал управлени  записью. Адрес „ элемента пам ти и сигнал управлени  записью поступают в узел 18 управлени , где вырабатываетс  сигнал управThe processor can access the record in the mode register 7 and the output information register 9, while the device receives a record byte of information for the processor using the output information bus 1 of the processor, and the address address bus 4 of the processor and bus 2 Processor record is the memory element address and control signal by record. The address of the memory element and the write control signal are fed to the control unit 18, where the control signal is generated.

лени  записью в адресованный элемент пам ти.write to the addressed memory element.

Процессор может обращатьс  по чте-1 нию в регистр 14 признаков, шифратор 22, регистр 24 байта текущего состо - ни  и регистр 25 входной информации, при этом в устройство по адресной шине 4 процессора и шине 3 Чтение процессора поступают адрес элемента пам ти и сигнал управлени  чтением. Адрес элемента пам ти и сигнал управлени  чтением поступают в узел 18 управлени , где вырабатываетс  сигнал управлени  чтением адресованного эле- мента пам ти. Под управлением этого сигнала производитс  чтение значени  адресованного элемента пам ти на входную информационную шину 5 процессора. Внешнее устройство может обращатьс  по записи в триггер 15 регистра 14 признаков, регистр 24 байта текущего состо ни , регистр 25 входной информации, триггер 72 узла 26 фиксации режима работы, при этом в устрой- ство по выходной информационной шине 35 внешнего устройства поступает байт информации дл  записи, а по адресной шине 31 внешнего устройства и шине 29 Запись внешнего устройства - ад- pec и сигнал управлени  записью. Ад рее элемента пам ти и сигнал управлени  записью поступают в узел 18 управлени , где вырабатываетс  сигнал управлени  записью в адресованный элемент пам ти.The processor can be accessed in register 14 of the signs, encoder 22, register 24 bytes of the current state and register 25 of the input information, while the device receives the address of the memory element and the signal through the processor’s address bus 4 and the processor 3. read control. The address of the memory element and the read control signal go to the control unit 18, where a read control signal of the addressed memory element is generated. Under the control of this signal, the value of the addressed memory element is read into the input information bus 5 of the processor. The external device can address by writing to the trigger 15 of the register of 14 features 14, the register 24 bytes of the current state, the register 25 of the input information, the trigger 72 of the node 26 fixing the operation mode, and the device receives an information byte for the external device 35 records, and on the address bus 31 of the external device and the bus 29 Recording of the external device are the address and the write control signal. The memory element address and the write control signal are fed to the control unit 18, where a write control signal is generated to the addressed memory element.

Внешнее устройство может обращатьс  по чтению в регистр 7 режимов, триггер 8 и регистр 9 выходной информации , при этом в устройство по ад- ресной шине 31 внешнего устройства и шине 30 Чтение внешнего устройства поступают адрес и сигнал управлени  чтением. Адрес элемента пам ти и сигнал управлени  чтением поступают в узел 18 управлени , где вырабатываетс сигнал управлени  чтением адресован- ного элемента пам ти. Под управлением этого сигнала производитс  чтение значени  адресованного элемента пам ти на входную информационную шину 28 внешнего устройства. Выходы регистра 7 режимов и триггера 8 объединены в шину, при обращении по чтению эти элементы пам ти имеют единый адрес и значени  их читаютс  заодно обращение. An external device can read by read into a register of 7 modes, a trigger 8 and a register 9 of output information, while the address and the read control signal are fed to the device via the address bus 31 of the external device and bus 30 of the external device. The memory element address and the read control signal go to control unit 18, where a read control signal is generated for the addressed memory element. Under the control of this signal, the value of the addressed memory element is read into the input information bus 28 of the external device. The outputs of the register of 7 modes and the trigger 8 are combined into a bus; when they are read, these memory elements have a single address and their meanings are read at the same time.

В процедурах обмена байтами данных между устройством и внешним устройством взаимодействие их осуществл етс In the procedures for exchanging data bytes between a device and an external device, their interaction is carried out

00

- 5 п - 5 p

.,- 5.,- five

5050

в режиме пр мого доступа к оперативной пам ти внешнего устройства. В режиме передачи данных от процессора во внешнее устройство чтение байта данных на входную информационную шину 28 внешнего устройства из регистра 9 выходной информации производитс  под управлением сигналов на шине 34 Запрос пр мого доступа, шине 30 Чтение внешнего устройства, шине 33 Разрешение пр мого доступа. В режиме передачи данных от внешнего устройства в процессор запись байта данных с выходной информационной шины 35 внешнего устройства в регистр 25 входной информации производитс  под управлением сигналов на шине 34 Запрос пр мого доступа, на шине 29 Запись, на шине 33 Разрешение пр мого доступа, на шине 32 Конец блока .in the mode of direct access to the RAM of the external device. In the mode of data transfer from the processor to the external device, the read byte of data to the input information bus 28 of the external device from the output information register 9 is performed under control of signals on the bus 34 Direct access request, bus 30 Read external device, bus 33 Permission of direct access. In the mode of data transfer from the external device to the processor, the data byte is written from the output information bus 35 of the external device to the input information register 25 under control of signals on the bus 34 Request direct access, bus 29 Write, bus 33 Permission direct access, on bus 32 End of the block.

Устройство осуществл ет часть функций управлени  внешним устройством в операци х ввода-вывода, которые состо т из процедур:The device performs part of the control functions of the external device in I / O operations, which consist of the procedures:

-начальной выборки, котора  включает в себ  прием команды от процессора и выдачу начального байта состо ни ,-initial sample, which includes receiving a command from the processor and issuing the initial status byte,

-передачи данных от процессора во внешнее устройство,-transmit data from the processor to an external device,

-передачи данных от внешнего устройства в процессор,-transfer data from an external device to the processor,

-передачи байта состо ни  в процессор .-transmit byte state to the processor.

Процедура начальной выборки в устройствах ввода-вывода обычно выполн етс  следующим образом.The initial sampling procedure in I / O devices is usually performed as follows.

Устройства ввода-вывода, получив код команды от процессора, анализиру- ют состо ние устройства, которое может иметь значение Доступно, Зан то или Недоступно. Если состо ние устройства ввода - вывода Зан то или Недоступно, оно выдаетс  как начальный байт состо ни  устройства; если состо ние устройства Доступно, анализируетс  код поступившей команды . Код команды может иметь значени , приемлемые или неприемльмые дл  данного устройства ввода-вывода. Если код команды неприемлем, в процессор выдаетс  байт начального состо ни  Сбой в устройстве. Если код команды приемлемый, выдаетс  байт начального состо ни , определенный дл  каждого кода команды, например: нулевой, Канал кончил, Канал кончил, внешнее устройство кончило. Выполнение процедуры начальной выборки по такому алгоритму занимает достаточно много времени, особенно, если устройство ввода-вывода представл ет собой пульт системы и на момент поступлени  команды от процессора микропрограмма управлени  пультом системы отрабатывает другие процедуры и сигнал прерывани  от процессора по отработке кода поступившей команды не может быть сразу отработан.I / O devices, after receiving the instruction code from the processor, analyze the state of the device, which can be Available, Zanto or Inaccessible. If the status of an I / O device is On or Off, it is issued as the initial byte of the device status; if the device status is Available, the code of the incoming command is analyzed. The instruction code may have values that are acceptable or unacceptable for a given I / O device. If the command code is not acceptable, a byte of initial state is issued to the processor. Device failure. If the command code is acceptable, the initial state byte is defined for each command code, for example: zero, Channel Finished, Channel Finished, external device ended. The execution of the initial sampling procedure according to this algorithm takes quite a long time, especially if the I / O device is a system console and at the time of receipt of a command from the processor, the system control firmware will work on other procedures and the processor interrupt signal for processing the incoming command code cannot be immediately worked out.

В данном устройстве процедура наIn this device, the procedure on

байта состо ни  из шиЛратора 22. Шифу ратор 22 представл ет собой ПЗУ, на адресные входы которого поступает код команды. В ПЗУ хран тс  байты начального -состо ни  на все коды существующих команд дл  данного устройства ввода-вывода, а также значени  Сбой устройства дл  всех несушест- вующих кодов команд. Эти значени  считываютс  микропрограммой процессора и принимаютс  за байты начального состо ни . После считывани  байта начального состо ни  микропрограммойThe status byte is from the encoder 22. The crypto rator 22 is a ROM whose address inputs receive a command code. The ROM stores the initial bytes of the state to all codes of existing commands for a given I / O device, as well as the values of Device Failure for all non-pending command codes. These values are read by the processor firmware and taken as the bytes of the initial state. After reading the byte of the initial state of the firmware

чальной выборки выполн етс  следующим,,- процессора осуществл етс  запись вthe initial sample is performed as follows, - the processor writes to

,.,I ....

30thirty

3535

образом. Инициаци  процедуры осуществл етс  со стороны процессора. Перед записью кода команды микропрограмма процессора считывает регистр 24 байта текущего состо ни  и анализирует его значение. В регистре 24 байта текущего состо ни  всегда хранитс  состо ние внешнего устройства Доступно, Зан то или Недоступно, которое записываетс  микропрограммой внешнего 25 устройства и измен етс  при изменении состо ни  внешнего устройства. Состо ние внешнего устройства анализируетс  микропрограммой процессора и, если оно имеет значение Зан то или Недоступно, то принимаетс  за значение начального байта состо ни  в ответ на команду, котора  в этом случае не записываетс  в устройство. Если значение регистра 24 байта текуше- го состо ни  Доступно, то код команды записываетс  в регистр 9 выходкой информации, при этом устанавливаетс  триггер 8 и триггер 15 регистра 14 признаков. На входной шине 6 пре- iрывани  процессора по вл етс  сигнал прерывани  микропрограммы процессора. По сигналу прерывани  процессор считывает значение регистра 14 признаков и анализирует его значение. Единичное значение триггера 15 регистра 14 признаков идентифицирует сигнал прерывани  как запрос на передачу байта состо ни , который может быть начальным байтом состо ни , конечным или асинхронным байтом состо ни . Значение конечного или асинхронного начального байта состо ни  хранитс  в регистре 25 входной информации. Значение начального байта состо ни  на код поступившей команды хранитс  в шифраторе 22. В процедуре начальной выборки микропрограмма процессора считывает значение начальногоin a way. The initiation of the procedure is performed by the processor. Before writing the instruction code, the processor's firmware reads a 24-byte register of the current state and analyzes its value. In the 24 byte register, the current state always stores the state of the external device Available, Occupied, or Not Available, which is recorded by the firmware of the external device 25 and changes when the state of the external device changes. The state of the external device is analyzed by the processor's firmware and, if it is set to Charge or Not available, it is taken as the value of the initial state byte in response to a command, which in this case is not written to the device. If the register value is 24 bytes of the current state Available, then the command code is written to register 9 by trick information, thus setting the trigger 8 and the trigger 15 of the register 14 of the signs. A processor interrupt signal appears on the input bus 6 interrupt processor. On the interrupt signal, the processor reads the value of the register of 14 signs and analyzes its value. A single trigger value 15 of register 14 of the attributes identifies an interrupt signal as a request to transmit a status byte, which may be the initial status byte, the final or asynchronous status byte. The value of the final or asynchronous initial status byte is stored in the input information register 25. The value of the initial status byte to the code of the incoming command is stored in the encoder 22. In the initial sampling procedure, the processor's microprogram reads the value of the initial

4040

4545

5050

5555

регистр 7 режима значени  Прием. На входной шине 27 прерывани  внешн го устройства по вл етс  сигнал пр рывани  микропрограммы внешнего уст ройства, по которому микропрограмма внешнего устройства считывает значе ни  регистра 7 режима и триггера 8 и анализирует их. Единичное значени триггера 8 идентифицирует информаци в регистре 9 выходной информации ка команду, а значение Прием регистр 7 режимов указывает на завершение п ема байта начального состо ни  проц сором. Микропрограмма внешнего устройства считывает значение регистра выходной информации, где хранитс  к команды. Таким образом, в устройств процедура начальной выборки заверша етс  на уровне процессор-устройство Обращение к внешнему устройству осу ществл етс  только дл  передачи код команды дл  выполнени  процедур, сл дующих за процедурой начальной выборки .register 7 mode value Reception. On the input bus 27 of the external device interrupt, a firmware interrupt signal appears on the external device, using which the external device firmware reads the values of the mode register 7 and the trigger 8 and analyzes them. A single trigger value 8 identifies information in register 9 of the output information as a command, and the value of Accept register of 7 modes indicates the completion of the byte of the initial state by the process. The firmware of the external device reads the value of the output register where the command is stored. Thus, in devices, the initial sampling procedure is completed at the processor-device level. The external device is only contacted to send a command code to perform the procedures that follow the initial sampling procedure.

Перед выполнением этих процедур микропрограммой внешнего устройства в регистр 24 байта текущего состо н записываетс  значение Зан то, кот рое блокирует устройство дл  записи новых команд, пока выполнение преды дущей команды не будет завершено. П сле завершени  команды в регистр 24 байта текущего состо ни  записывает значение Доступно.Before the external device firmware executes these procedures, the 24 byte register of the current state is written to the value of Zanto, which blocks the device for writing new commands, until the execution of the previous command is completed. After the completion of the command, the register 24 bytes of the current state writes the value Available.

Запись в регистр 24 байта текуще состо ни  осуществл етс  следующим разом. По выходной информационной ш не 35 внешнего устройства на вход р гистра 24 байта текущего состо ни  поступает значение банта состо ни  внешнего устройства. Адрес регистра 24 байта текущего состо ни  по адрес ной шине 31 внешнего устройства поступает на вход дешифратора 69 адреI ..Writing to the 24 byte register of the current state is performed next time. On the output informational width 35 of the external device, the value of the status band of the external device is input to the input of the 24-byte register. The register address is 24 bytes of the current state via the address bus 31 of the external device is fed to the input of the decoder 69 address.

30thirty

3535

25 25

4040

4545

5050

5five

регистр 7 режима значени  Прием. На входной шине 27 прерывани  внешнего устройства по вл етс  сигнал прерывани  микропрограммы внешнего устройства , по которому микропрограмма внешнего устройства считывает значени  регистра 7 режима и триггера 8 и анализирует их. Единичное значение триггера 8 идентифицирует информацию в регистре 9 выходной информации как команду, а значение Прием регистра 7 режимов указывает на завершение приема байта начального состо ни  процессором . Микропрограмма внешнего устройства считывает значение регистра 9 выходной информации, где хранитс  код команды. Таким образом, в устройстве процедура начальной выборки завершаетс  на уровне процессор-устройство. Обращение к внешнему устройству осуществл етс  только дл  передачи кода команды дл  выполнени  процедур, следующих за процедурой начальной выборки .register 7 mode value Reception. An external device firmware interrupt signal appears on the input bus 27 of the external device, by which the external device firmware reads the values of the mode register 7 and the trigger 8 and analyzes them. A single trigger value 8 identifies the information in output register 9 as a command, and the Receive value of register 7 mode indicates that the processor has finished receiving the initial state byte. The firmware of the external device reads the value of the output register 9, where the command code is stored. Thus, in the device, the initial sampling procedure is completed at the processor-device level. The external device is only accessed to transmit the command code to perform the procedures following the initial sampling procedure.

Перед выполнением этих процедур микропрограммой внешнего устройства в регистр 24 байта текущего состо ни  записываетс  значение Зан то, кото-, рое блокирует устройство дл  записи новых команд, пока выполнение предыдущей команды не будет завершено. После завершени  команды в регистр 24 байта текущего состо ни  записываетс  значение Доступно.Before these procedures are executed by the external device firmware, the 24 byte register of the current state is written to the value of Zan that locks the device to write new commands until the previous command is completed. After the command is completed, the value of Available is written to the 24 byte register of the current status.

Запись в регистр 24 байта текущего состо ни  осуществл етс  следующим образом . По выходной информационной шине 35 внешнего устройства на вход регистра 24 байта текущего состо ни  поступает значение банта состо ни  внешнего устройства. Адрес регистра 24 байта текущего состо ни  по адресной шине 31 внешнего устройства поступает на вход дешифратора 69 адреса узла 18 управлени , на выходе которого по вл етс  сигнал, который поступает на вход элемента И 62. На другой вход элемента И 62 по шине 29 Запись внешнего устройства поступает сигнал управлени  записью. Сигналом с выхода элемента И 62, который с выхода 49 поступает на управл ющий вход регистра 24 байта текущего состо ни , осуществл етс  запись байта текущего состо ни .Writing into the register 24 bytes of the current state is carried out as follows. The output information bus 35 of the external device enters the register 24 bytes of the current state and receives the value of the external device status band. The register address is 24 bytes of the current status via the address bus 31 of the external device to the input of the address address decoder 69 of the control node 18, the output of which is a signal that arrives at the input of the AND element 62. To another input of the AND element 62 via the bus 29 Write external the device receives a write control signal. A signal from the output of the element 62, which from output 49 is fed to the control input of the register 24 bytes of the current state, records the byte of the current state.

При чтении значени  регистра 24 байта текущего состо ни  по адресной шине 4 процессора на управл ющий вход мультиплексора 23 поступает двух разр дный адрес регистра 24 байта текущего состо ни , а по 3 Чтение процессора на управл ющий вход шинного формировател  12 поступает сигнал управлени  чтением. Наличие адреса на входе мультиплексора 23 и сигнала управлени  чтением на управл ющем входе шинного формировател  12When reading the register value of 24 bytes of the current state, the address bus 4 of the processor sends a two-bit register address 24 bytes of the current state to the control input of multiplexer 23, and 3 reads the processor to the control input of the bus driver 12 receives a read control signal. The presence of the address at the input of the multiplexer 23 and the read control signal at the control input of the bus driver 12

обеспечивает выдачу на входную инфор- 25 нием. Адрес шифратора 22, определ емационную шину 5 процессора значени  регистра 24 байта текущего состо ни .It provides information to the input information. The address of the encoder 22 is defined by the processor bus 5 of the register value of 24 bytes of the current state.

При записи команды в устройствоWhen writing a command to a device

по выходной информационной шине 1 Сигнал управлени  чтением управл етover the output data bus 1 Read control signal controls

цессора на вход регистра 9 выходной информации поступает код команды, по адресной шине 4 процессора - разр д адреса записи команды в регистр 9 выходной информации, а по шине 2 Запись процессора - сигнал управлени  записью. Разр д адреса и сигнал управлени  записью поступают в узел 18 управлени  на входы элемента И 59, на выходе которого формируетс  сигнал и поступает через элемент ИЛИ 19 на вход записи регистра 9 выходной информации и на установочные входы триггеров 8, 15. В регистр 9 выходной ин- , формации записываетс  код команды,The processor receives the instruction code at the input of the output information register 9, the address of the instruction write address in the output information register 9 enters the processor address bus 4, and the write control signal via the bus 2 processor write. The address bit and the write control signal go to the control unit 18 at the inputs of the element 59, the output of which forms a signal and enters through the element OR 19 at the input of the record 9 of the output information and at the installation inputs of the triggers 8, 15. At register 9 the output terminal -, the formation is recorded command code,

а триггера 8, 15 устанавливаютс  в единичное значение. Единичное значение триггера 8 поступает на первый информационный йход мультиплексора 20, а значение кода команды из регистра 9 выходной информации поступает на второй информационный вход мультиплексора 20 и вход шифратора 22, Единичное значение триггера 15 регистра 14 признаков поступает на вход мультиплексора 23 и вход формировател  10 сигнала прерывани . На выходе формировател  10 сигнала прерывани  по-  вл е тс  сигнал прерывани , которыйand the trigger 8, 15 is set to a single value. The unit value of the trigger 8 goes to the first information input of the multiplexer 20, and the command code value from the output information register 9 goes to the second information input of the multiplexer 20 and the encoder input 22, The unit value of the trigger 15 of the register 14 signs goes to the input of the multiplexer 23 and input of the signalizer 10 interrupts. At the output of the interrupt signal generator 10, an interrupt signal appears that

3535

4040

прохождением этого значени  через шинный формирователь 12 на входную информационную шину 5 процессора.passing this value through the bus driver 12 to the input information bus 5 of the processor.

При записи значени  Прием в регистр 7 режимов по выходной информационной шине 1 процессора на входы регистра 7 режимов и узла 18 управле ни  поступает разр д информации, по адресной шине 4 процессора - разр д адреса регистра 7 режимов, а по шине 2 Запись процессора - сигнал уп равлени  записью. В узле 18 управлени  на элементе И 58 вырабатываетс  сигнал управлени  записью и по шине &е 39 поступает на вход регистра 7 режи мов , где на элементе И 86 Формируетс  сигнал записи значени  Прием в триггер 89. Единичное значение триггера 89 поступает на вход второго формировател  21 сигнала прерывани  и вызывает возникновение сигнала на входной шине 27 прерывани  внешнего устройства. В узле 18 управлени  на элементе И 56 Нормируетс  сигнал, которьй через элемент ИЛИ 11 поступа ет на вход сброса триггера 15 и сбра сывает его.When writing the value to the register of 7 modes, the output information bus 1 of the processor inputs the register of the 7 modes and node 18 of the control to the information bit, the address bus 4 of the processor receives the register address of the 7 modes, and the bus 2 writes the processor management record. In control unit 18, the And control unit 58 generates a write control signal and, via the & e 39 bus, enters the input of the register of 7 modes, where the And circuit element 86 generates a recording signal of the value Receive to trigger 89. A single trigger value 89 is fed to the input of the second driver 21 of the interrupt signal and causes the appearance of a signal on the input bus 27 of the external device interrupt. In the control unit 18 on the element AND 56, the signal is normalized, which through the element OR 11 arrives at the reset input of the trigger 15 and resets it.

При чтении значений регистра 7 ре жимов и триггера 8 по адресной шинеWhen reading the values of the register 7 modes and trigger 8 on the address bus

5050

5555

5five

00

по входной шине 6 прерывани  процессора поступает в процессор.on the input bus 6 interrupt processor enters the processor.

При чтении значени  триггера 15 регистра 14 признаков по адресной шине 4 процессора и шине 3 Чтение процессора поступают адрес регистра 14 признаков и сигнал управлени  чтением. Адрес регистра 14 признаков, определ емый двум  разр дами, поступает на управл ющий вход мультиплексора 23 и управл ет прохождением значени  регистра 14 признаков через мультиплексор 23. Сигнал управлени  чтением поступает на управл ющий вход шинного формировател  2 дл  управлени  прохождением значени  регистра 14 признаков на входную информационную шину 5 процессора.When reading the value of the trigger 15 of the register of 14 signs on the processor address bus 4 and bus 3 of the processor, the register of the 14 signs and the read control signal are received. The address of the register of signs 14, defined by two bits, is fed to the control input of the multiplexer 23 and controls the passage of the value of register 14 of signs through the multiplexer 23. The read control signal goes to the control input of the bus driver 2 to control the passage of the value of register 14 of signs to the input information bus 5 processor.

При чтении значени  начального байта состо ни  из шифратора 22 по адресной шине 4 процессора и шине 3 Чтение процессора поступает адрес шифратора 22 и сигнал управлени  чтемый двум  разр дами, поступает на управл ющий вход мультиплексора 23 и управл ет прохождением значени  шифратора 22 через мультиплексор 23, When reading the value of the initial status byte of the encoder 22 via the address bus 4 of the processor and bus 3 Read processor receives the address of the encoder 22 and the control signal readable in two bits, is fed to the control input of the multiplexer 23 and controls the passage of the value of the encoder 22 through the multiplexer 23,

5five

00

прохождением этого значени  через шинный формирователь 12 на входную информационную шину 5 процессора.passing this value through the bus driver 12 to the input information bus 5 of the processor.

При записи значени  Прием в регистр 7 режимов по выходной информационной шине 1 процессора на входы регистра 7 режимов и узла 18 управлени  поступает разр д информации, по адресной шине 4 процессора - разр д адреса регистра 7 режимов, а по шине 2 Запись процессора - сигнал управлени  записью. В узле 18 управлени  на элементе И 58 вырабатываетс  сигнал управлени  записью и по шине е 39 поступает на вход регистра 7 режимов , где на элементе И 86 Формируетс  сигнал записи значени  Прием в триггер 89. Единичное значение триггера 89 поступает на вход второго формировател  21 сигнала прерывани  и вызывает возникновение сигнала на входной шине 27 прерывани  внешнего устройства. В узле 18 управлени  на элементе И 56 Нормируетс  сигнал, которьй через элемент ИЛИ 11 поступает на вход сброса триггера 15 и сбрасывает его.When writing a value to the register of 7 modes, the output information bus 1 of the processor inputs the register information of the register of the 7 modes and the control node 18, the address of the register of the 7 modes and the bus 2 of the processor write the control signal by record. The control unit 18 on the And 58 element generates a write control signal and enters the register of 7 modes on bus E 39, where on the And 86 element a value record signal is received. Receive in trigger 89. A single value of trigger 89 is fed to the input of the second interrupt signal generator 21 and causes a signal on the input bus 27 to interrupt the external device. In node 18 control on the element And 56 Normalized signal, which through the element OR 11 enters the reset input of the trigger 15 and resets it.

При чтении значений регистра 7 режимов и триггера 8 по адресной шинеWhen reading the values of the register 7 modes and the trigger 8 on the address bus

00

5five

315505 315505

31 внешнего устройства и по шине 30 Чтение внешнего устройства поступают: адрес, общий дл  регистра 7 режима и триггера 8, и сигнал управлени  чтением. Так как в отсутствие сигнала управлени  чтением регкс гра 9 выходной информации на управл ющем входе мультиплексора 20 он всегда настроен на прохождение информации с выхода реги- )0 стра 7 режима и триггера 8, а шинный формирователь 13 управл етс  сигналом на шине 30 Чтение внешнего устройства - с по влением сигнала управлени 31 external device and bus 30 Read external device receives: the address common for the mode register 7 and the trigger 8, and the read control signal. Since in the absence of a control signal for reading regxgra 9 output information at the control input of multiplexer 20, it is always set to pass information from the output of the register- and page 8 of the mode and the trigger 8, and the bus driver 13 is controlled by a signal on the bus 30 Read external device - with control signal

чтением на шине 30 Чтение внешнегоreading on the bus 30 reading the external

устройства единичное значение триггера считываетс  на входную информационную шину 28 внешнего устройства. В узле 18 управлени  адрес поступает на вход дешифратора 69 и с его выхода JQ на вход элемента И 66, на второй вход которого поступает сигнал управлени  чтением. Сигнал с выхода элемента И 66 поступает на синхровходы тригге-devices a single trigger value is read into the input information bus 28 of an external device. At the control node 18, the address is fed to the input of the decoder 69 and from its output JQ to the input of the AND element 66, the second input of which receives the read control signal. The signal from the output of the element And 66 is fed to the synchronous inputs of the trigger

ров 87 - 89 регистра 7 режима и триг- 25 нее). Байт данных из регистра 9 счигера 8, которые по заднему фронту сигнала управлени  чтением сбрасываютс  в исходное состо ние.Ditch 87 - 89 register 7 mode and trig 25). The data byte is from register 9 of schiger 8, which are reset to the initial state by the falling edge of the read control signal.

При чтении кода команды из регистра 9 выходной информации по адресной шине 31 внешнего устройства и по шине 30 Чтение внешнего устройства в узел 18 управлени  поступают адрес регистра 9 выходной информации и сигнал управлени  чтением. Адрес поступает на вход дешифратора 69 и с его выхода на вход элемента И 67. На элемент И 67 также поступает сигнал управлени  чтением. Сигнал, сформированный на элементе И 67, через элемент ИЛИ 70 поступает на управл ющий вход мультиплексора 20, настраива  его на прохождение информации с выхода регистра 9 выходной информации.When reading the command code from the output information register 9, the address bus 31 of the external device and the bus 30 Read the external device to the control unit 18 receives the address of the output information register 9 and the read control signal. The address is fed to the input of the decoder 69 and from its output to the input of the And 67 element. The And 67 also receives the read control signal. The signal formed on the element AND 67 through the element OR 70 is fed to the control input of the multiplexer 20, setting it to pass information from the output of the register 9 of the output information.

5050

Сигнал по шине Чтение внешнего уст-дд цедуру, дальнейшее чтение регистра 9 ройства разрешает прохождение инфор- выходной информации не производитс , мации с выхода мультиплексора 20 на входную информационную шину внешнего устройства. Таким образом, код команды из регистра 9 выходной информации, проход  через мультиплексор 20 и шинный формирователь 13, считываетс  на входную информационную шину 28 внешнего устройства.Signal on the bus Reading the external device, the further reading of the register of the 9th resolution permits the passage of the information output is not performed, from the output of the multiplexer 20 to the input information bus of the external device. Thus, the command code from the output information register 9, the passage through the multiplexer 20 and the bus driver 13, is read into the input information bus 28 of the external device.

Процедура передачи данных от процессора во внешнее устройство осуществл етс  при выполнении команды записи и инициируетс  микропрограммойThe procedure for transferring data from the processor to an external device is performed by executing a write command and is initiated by the firmware.

5555

При первоначальной записи в триггер 16 регистра 14 признаков на адресную шину 31 внешнего устройства и на шину 29 Запись внешнего устройства поступает адрес триггера 16 и сигнал управлени  записью, из которых в узле 18 управлени  на выходе элемента И 63 по вл етс  сигнал управлени  записью в триггер 16, который поступает в узел 26 фиксации режима работы, через .элемент ИЛИ 77, на установочный вход триггера 16.During the initial recording in the trigger 16 of the register of 14 signs, the address of the bus 31 of the external device and the bus 29 of the external device receive the address of the trigger 16 and the write control signal, from which in the control unit 18 the write control signal appears at the output of the And 63 element 16, which enters the node 26 fixing the mode of operation, through the .OR element 77, to the installation input of the trigger 16.

внешнего устройства. После анализаexternal device. After analysis

1414

кода команды записи и приема значени  Прием регистра 7 режимов, микропрограмма внешнего устройства записывает значение Зан то в регистр 24 байтаthe command code for writing and receiving the value of receiving the register of 7 modes, the firmware of the external device writes the value of Zan into the register 24 bytes

0 0

5five

Q Q

текущего состо ни  и признак Требуютс  данные в триггер 16 регистра 14 признаков. Единичное значение триггера I6 вызывает по вление сигнала прерывани  микропрограммы процессора на входной шине 6 прерывани  процессора . По сигналу прерывани  микропрограммой процессора осуществл етс  чтение значени  регистра 14 признаков и его анализ. После считывани  регистра 14 признаков он приводитс  в исходное состо ние. По признаку Требуютс  данные микропрограмма процессора записывает байт данных в регистр 9 выходной информации. При записи байта данных устанавливаетс  триггер 73 и на его выходе по вл етс  сигнал, который по шине 34 Запрос пр мого доступа поступает в устройство (внеш0current status and attribute Required data in the trigger 16 register 14 signs. A single trigger value I6 causes a processor firmware interrupt signal on the processor interrupt input bus 6. On the interrupt signal, the processor firmware reads the register value of 14 features and analyzes it. After reading the register of 14 features, it is reset. On the basis of Required data processor firmware writes data bytes in the register 9 of the output information. When writing a data byte, a flip-flop 73 is set and a signal appears at its output, which, via bus 34, requests a direct access to the device (external

5five

00

тываетс  во внешнее устройство. При чтении регистра 9 выходной информации вновь устанавливаетс  триггер 16 Требуютс  данные регистра 14 признаков . По единичному значению триггера 16 вновь по вл етс  сигнал на выходной шине 6 прерывани  процессора . Организуетс  следующий цикл передачи байта данных от процессора внешнему устройству. Цикл повтор етс  до тех пор, пока не исчерпаетс  блок данных в процессоре. Дл  завершени  процедуры процессор на признак Требуютс  данные отвечает записью в регистр 7 режимов указани  Конец передачи данных. Микропрограмма внешнего устройства, считав значение регистра 7 режимов с указателем Конец передачи данных, завершает проgoes to external device. When reading the output register 9, trigger 16 is set again. Register data 14 characters are required. For a single trigger value 16, an interrupt appears on the output bus 6 of the processor. The next cycle of data byte transfer from the processor to the external device is organized. The cycle is repeated until the data block in the processor is exhausted. To complete the procedure, the processor for the attribute Required data responds by writing to the register of 7 modes of indication. End of data transfer. Firmware external device, reading the register value of 7 modes with the pointer End of data transfer, completes

цедуру, дальнейшее чтение регистра 9 выходной информации не производитс , the procedure, further reading of the register 9 of the output information is not performed,

При первоначальной записи в триггер 16 регистра 14 признаков на адресную шину 31 внешнего устройства и на шину 29 Запись внешнего устройства поступает адрес триггера 16 и сигнал управлени  записью, из которых в узле 18 управлени  на выходе элемента И 63 по вл етс  сигнал управлени  записью в триггер 16, который поступает в узел 26 фиксации режима работы, через .элемент ИЛИ 77, на установочный вход триггера 16.During the initial recording in the trigger 16 of the register of 14 signs, the address of the bus 31 of the external device and the bus 29 of the external device receive the address of the trigger 16 and the write control signal, from which in the control unit 18 the write control signal appears at the output of the And 63 element 16, which enters the node 26 fixing the mode of operation, through the .OR element 77, to the installation input of the trigger 16.

1515515155

При считывании значени  регистра 14 признаков по адресной шине 4 процессора и мине Чтение процессора поступают адрес и сигнал управлени  чтением. В узле 18 управлени  значение адреса поступает на входы дешифратора 68, на выходе которого по вл етс  сигнал, который поступает на $ход элемента И 60« На другой вход Элемента И 60 поступает сигнал управ- ,|1ени  чтением. На выходе элемента |4 60 формируетс  сигнал управлени  чтением регистра 14 признаков, который поступает на сихровходы триггеров 6 и 17 и по заднему фронту сигнала Ьбрасывает их в исходное состо ние.When reading the register value of 14 signs on the address bus 4 of the processor and the mine of the processor, the address and the read control signal are received. At the control node 18, the address value is fed to the inputs of the decoder 68, at the output of which a signal appears that goes to the element's stroke AND 60. The other input of the element And 60 receives the control signal, reading. At the output of the | 4 60 element, a read control signal is generated for the register of 14 signs, which is fed to the trigger inputs of the flip-flops 6 and 17 and, on the falling edge of the signal L, resets them to the initial state.

При записи байта данных в регистр 0 выходной информации на адресную ши- йу 4 процессора и на шину 2 Запись Процессора поступают разр д адреса Записи байта данных в регистр 9 выходной информации и сигнал управлени  Записью. В узле 18 управлени  и на выходе элемента И 57 по вл етс  сиг- Нал управлени  записью данных в регистр 9 выходной информации. Этот сигнал через элемент ИЛИ 19 поступает на Јход записи регистра 9 выходной информации и в узел 26 фиксации режима работы. В регистр 9 выходной информации записываетс  байт данных, в узле Й6 фиксации режима работы через элемент ИЛИ 75 сигнал поступает на уста- Йовочный вход триггера 73 и устанавливает его в единичное значение. На выходе триггера 73 по вл етс  сигнал, Который по шине 34 Запрос пр мого Доступа поступает во внешнее устройство .When writing a data byte to the output register 0, the address of the data byte entry into the output information register 9 and the recording control signal are sent to the address bus 4 of the processor and bus 2 Record of the Processor. At node 18 of the control and at the output of the element 57, a signal appears to control writing the data to the register 9 of the output information. This signal through the element OR 19 is fed to the recording of the register of the output information and to the operation-fixing unit 26. In the output information register 9, a data byte is written, at the fixing mode of the operation mode through the element OR 75, the signal enters the set trigger input 73 and sets it to a single value. At the output of the flip-flop 73, a signal appears, which, via bus 34, requests a direct access to the external device.

При чтении байта данных из регистра 9 выходной информации по шине 33 Разрешение пр мого доступа и шине 30 Чтение внешнего устройства поступают на вход элемента И 80 узла 26 фиксации режима работы сигнал обратной св зи от внешнего устройства и сигнал управлени  чтением. На выходе элемента И 80 по вл етс  сигнал, который поступает через элемент ИЛИ 76 на Вход сброса триггера 73 и сбрасывает его, через элемент ИЛИ 77 поступает на установочный вход триггера 16 регистра 14 признаков и устанавливает его в единичное значение, а также через элемент ИЛИ 70 узла 18 управлени  поступает на управл ющий вход культиплексора 20 и управл ет прохождением информации регистра 9 выходнойWhen reading a byte of data from the output information register 9 via bus 33 Direct access permission and bus 30 An external device is fed to the input element And 80 of the node 26 fixing the operating mode, a feedback signal from an external device and a read control signal. At the output of the element And 80, a signal appears that goes through the element OR 76 to the Reset input of the trigger 73 and resets it, through the element OR 77 enters the installation input of the trigger 16 of the register of 14 signs and sets it to a single value, as well as through the element OR 70 of the control unit 18 enters the control input of the cultlexer 20 and controls the passage of the register information 9 the output

16sixteen

oo

5five

00

2525

30thirty

3535

4040

4545

5050

5555

информации через мультиплексор 20. В этот момент времени шинный формирователь 13 открыт сигналом на шине 30 Чтение внешнего устройства, и информаци -регистра 9 выходной информации по вл етс  на входной информационной шине 28 внешнего устройства.information through the multiplexer 20. At this point in time, the bus driver 13 is opened by a signal on the bus 30 Read an external device, and the output information register 9 appears on the input information bus 28 of the external device.

Процедура передачи данных от внешнего устройства в процессор инициируетс  микропрограммой внешнего устройства . После анализа кода команды чтени  и приема значени  Прием регистра 7 режимов, микропрограмма внешнего , устройства записывает значение Зан то в регистр 24 байта текущего состо ни , настраивает внешнее устройство на чтение данных в режиме пр мого доступа из оперативной пам ти внешнего устройства и дл  инициировани  режима пр мого доступа осуществл ет запись в триггер 72 режима чтени  узла фиксации режима выдача - прием. По единичному значению триггера 72 устанавливаетс  триггер 73. На шине 34 Запрос пр мого доступа11 по вл етс  сигнал, в ответ на который внешнее устройство на выходную информационную шину 35 помешает байт информации, на шину 33 Разрешение пр мого доступа сигнал обратной св зи, а на шину 29 Запись внешнего устройства - сигнал управлени  записью, по которым осуществл етс  запись байта данных в регистр 25 входной информации. При этом устанавливаетс  триггер 17 в регистре 14 признаков. Установка триггера 17 вызывает по вление сигнала прерывани  на входной шине 6 прерывани  процессора. Микропрограмма процессора организует чтение байта данных из регистра 25 входной информации . При чтении регистра 25 выходной информации вновь устанавливаетс  триггер 73 и возникает сигнал на шине 34 Запрос пр мого доступа, в ответ на который по вл етс  байт информации на выходной информационной шине 35, сигнал на шине 29 Запись внешнего устройства и шине 33 Разрешение пр мого доступа. Цикл передачи байта данных в процессор повтор етс . При передаче последнего байта данных, кроме сигнала на шине 29 Запись внешнего устройства и шине 33 Разрешение пр мого доступа, присутствует сигнал на шине 32 Конец блока . При наличии этого сигнала триггер 73 не устанавливаетс  и последуThe procedure for transferring data from an external device to the processor is initiated by the firmware of the external device. After analyzing the command code for reading and receiving the value of register reception 7 modes, the external firmware, the device writes the value of Zanto to the register 24 bytes of the current state, configures the external device to read data in direct access mode from the external memory and to initiate the mode direct access writes to the trigger 72 of the read mode of the node of the fixation of the output-receive mode. Trigger 72 is set to trigger 73 by a single value. Bus 34 A request for direct access11 receives a signal, in response to which an external device on the output information bus 35 interferes with a byte of information, on bus 33 the permission of direct access feedback signal, and Bus 29 Write external device - write control signal, which records the data byte to the input information register 25. This sets the trigger 17 in the register of 14 features. The installation of the trigger 17 causes an interrupt signal to appear on the input bus 6 of the processor interrupt. The processor firmware organizes reading a byte of data from the register 25 of the input information. When the output information register 25 is read, trigger 73 is set again and a signal appears on bus 34 A direct access request, in response to which a byte of information appears on the output information bus 35, a signal on bus 29 External device recording and bus 33 Direct access permission . The cycle of transmitting the data byte to the processor is repeated. When transferring the last byte of data, except for the signal on the bus 29 Recording the external device and bus 33 Permission of direct access, there is a signal on the bus 32 End of the block. With this signal present, trigger 73 is not set and afterwards

1717

юща  передача данных из внешнего устройства в процессор не осуществл ет- с . Data transfer from an external device to the processor does not take place.

При записи в триггер 72 по выходной информационной шине 35 внешнего устройства на информационный вход триггера 7,2 поступает единичное значение , на адресную шину 31 внешнего устройства поступает адрес триггера 72, общий с адресом триггера 15, а на шину 29 Запись внешнего устройства - сигнал управлени  записью. В узле 18 управлени  на элементе И 64 Формируетс  сигнал управлени  записью в триггер 72, который с выхода 48 поступает на синхровход триггера 72. Триггер 72 устанавливаетс  в единичное значение. Сигнал с выхода триггера 72 поступает на скнхровход тригге- ра 73, на информационном входе которого присутствует единичное значение шины 38 единичного потенциала. Триггер 73 устанавливаетс  в единичное значение и на шине 34 Запрос пр мого доступа по вл етс  сигнал. Триггер 73 устанавливаетс  по фронту сигнала с триггера 72.When writing to the trigger 72 via the output information bus 35 of the external device, the information input of the trigger 7.2 receives a single value, the address of the trigger 72, common with the address of the trigger 15, goes to the address bus 31 of the external device, and the control signal by record. In the control unit 18 on the AND 64 element, the write control signal is generated in the trigger 72, which from the output 48 enters the synchronous input of the trigger 72. The trigger 72 is set to a single value. The signal from the trigger output 72 is fed to the trigger trigger 73, the information input of which contains the unit value of the single potential bus 38. The trigger 73 is set to a single value and a signal appears on the bus 34 A direct access request. A flip-flop 73 is set on the signal front from flip-flop 72.

При записи байта данных в регистр 25 входной информации по выходной информационной шине внешнего устройства поступает байт данных, а по шине 33 Разрешение пр мого доступа и шине 29 Запись внешнего устройства поступают сигналы обратной св зи и управлени  записью. На элементе И 81 формируетс  сигнал, который через элемент ИЛИ 76 поступает на вход сброса триггера 73 и приводит его в исходное состо ние, через элемент ИЛИ 78 поступает на вход записи регистра 25 входной информации, а также на вход элемента И 82. В регистр 25 входной информации записываетс  байт данных, а триггер 17 устанавливаетс  в единичное значение. Единичное значение триггера 17 вызывает по вление сигнала прерывани  на входной шине 6 прерывани  процессора.When writing a data byte to the input information register 25, the data information output bus of the external device receives a data byte, and bus 33 Enable direct access and the bus 29 Write external device receive feedback and recording control signals. On the element 81, a signal is generated, which through the element OR 76 enters the reset input of the trigger 73 and brings it to its initial state, through the element OR 78 enters the input of the record of the input information register 25, as well as the input of the element 82. In register 25 input data is written to the data byte, and the trigger 17 is set to a single value. A single trigger value 17 causes the appearance of an interrupt signal on the input bus 6 of the processor interrupt.

При чтении байта данных регистра 25 входной информации по адресной шине 4 процессора и по шине 3 Чтение процессора поступают адрес регистра 25 входной информации и сигнал управлени  чтением. Адрес регистра 25 входной информации, задаваемый двум  раз- р дами, поступает на вход мультиплексора 23 и на входы дешифратора 68 узла 18 управлени . Значение регистраWhen reading the data byte of the register 25 of the input information via the address bus 4 of the processor and bus 3 of the processor, the address of the input information register 25 and the read control signal are received. The address of the input information register 25, specified in two bits, is fed to the input of the multiplexer 23 and to the inputs of the decoder 68 of the control unit 18. Register value

155155

10ten

jc JQ 25jc jq 25

0524-180524-18

25 входной информации проходит через мультиплексор 23 и шинный формирователь 12 на входную информационную тину 5 процессора. На элемент И 61 узла 18 управлени  поступают сигналы с выхода дешифратора 68 и с шины 3 Чтение процессора. На выходе элемента И 61 возникает сигнал, который- поступает в ,узел 26 фиксации режима работы на вход элемента И 83. На входы элемента И 83 также поступают сигналы с инверсного плеча триггера 71, который к этому моменту находитс  в сброшенном состо нии, а также с пр мого плеча триггера 72, который находитс  в установленном состо нии. На выходе элемента И 83 возникает сигнал , который через элемент ИЛИ 75 поступает на установочный вход триггера 73, устанавлива  его в единичное состо ние. На шине 34 Запрос пр мого доступа возникает сигнал запроса следующего байта данных.25 of the input information passes through the multiplexer 23 and the bus driver 12 to the input information block 5 of the processor. The element And 61 of the control node 18 receives signals from the output of the decoder 68 and from the bus 3 Read processor. At the output of the element And 61, a signal is generated, which arrives at the node 26 of fixing the mode of operation to the input of the element And 83. The inputs of the element And 83 also receive signals from the inverse arm of the trigger 71, which by this moment is in the reset state, as well as from the straight shoulder of the trigger 72, which is in the established state. At the output of the element And 83, a signal arises, which through the element OR 75 enters the installation input of the flip-flop 73, sets it to one state. On bus 34 Request Direct Access, a request signal for the next data byte occurs.

При записи последнего байта данных в регистр 25 входной информации Б узел 26 фиксации режима работы по шинам 33 Разрешение пр мого доступа и 29 Запись внешнего устройства поступают сигнал обратной св зи и сигнал управлени  записью, кроме того, по шине 32 Конец блока поступает сигнал сопровождени  последнего байта данных. На элементе И 82 Формиру-1 етс  сигнал, который поступает на установочный вход триггера 71 и устанавливает его в единичное состо ние , а также, через элемент ИЛИ 78, поступает на вход записи регистра 25 входной информации. В регистр 25 входной информации записываетс  байт данных. Триггер 17 устанавливаетс  в единичное значение. Единичное значение триггера 17 вызывает по вление сигнала прерывани  на входной шине 6 прерывани  процессора.When writing the last byte of data into the input information register 25, B, the operation mode fixation node 26 via bus 33 Direct access permission and 29 External device recording receives a feedback signal and a recording control signal, in addition, bus 32 receives a tracking signal for the last device. data byte. On the element 82 of the Form a-1 signal, which arrives at the installation input of the trigger 71 and sets it to one state, and also, through the element OR 78, enters the input of the record of the input information register 25. A data byte is written to the input register 25. The trigger 17 is set to a single value. A single trigger value 17 causes the appearance of an interrupt signal on the input bus 6 of the processor interrupt.

При чтении последнего байта дан- ных из регистра 25 входной информации не происходит установки триггера 73, так как инверсный выход триггера 71 в этом случае имеет нулевое значение и на элементе 83 не формируетс  сигнал установки триггера 73.When reading the last byte of data from register 25 of the input information, trigger 73 is not set, since the inverse output of trigger 71 in this case has a zero value and element 83 does not generate a trigger setup signal 73.

Процедура передачи байта состо ни  в процессор инициируетс  микропрограммой внешнего устройства. Микропрограмма внешнего устройства записывает байт состо ни  в регистр 25 входной информации и единичное значе30The procedure for transferring the status byte to the processor is initiated by the firmware of the external device. The firmware of the external device writes the status byte to the input information register 25 and the unit value30.

3535

4040

4545

5050

ние в триггер 15 регистра 14 признаков . Единичное значение триггера 15 вызывает возникновение сигнала прерывани  на входной шине 6 прерывани  процессора. По сигналу прерывани  микропрограмма процессора считывает значение регистра 14 признаков и анализирует его. По единичному значению триггера 159 идентифицирующему сигнал Q прерывани  как запрос на передачу байта состо ни , а информацию в регистре 25 входной информации как байт состо ни , значение банта состо ни  микропрограммно считываетс  в процес- сор из регистра 25 входной информации. Микропрограмма процессора осушествл - ет запись в регистр 7 режимов признака Прием, который вызывает по вление сигнала прерывани  на входной ши 2Q не 27 прерывани  внешнего устройства, а также сброс триггера 15. По сигналу прерывани  микропрограмма внешнего устройства осуществл ет чтение реги- стра 7 режимов и его анализ. После 25 чтени  регистра 7 он сбрасываетс  в нулевое значение. Процедура передачи байта состо ни  завершаетс .the trigger 15 register of 14 signs. A single trigger value 15 causes an interrupt signal to occur on the processor interrupt bus 6. On the interrupt signal, the processor firmware reads the value of the register of 14 signs and analyzes it. For a single trigger value 159 identifying the interrupt signal Q as a request for transmitting a status byte, and information in the input information register 25 as a status byte, the value of the status ban is read into the processor from the input information register 25. The processor firmware updates the 7 modes of the characteristic to the register. The reception, which causes the appearance of the interrupt signal on the input bus 2Q, is not 27 of the external device interruption, as well as the reset of the trigger 15. On the interrupt signal, the firmware of the external device reads the register 7 modes and his analysis. After 25 readings of register 7, it is reset to zero. The state byte transfer procedure is terminated.

При записи байта состо ни  в регистр 25 входной информации по выход- JQ ной информационной щине 35 поступает байт состо ни , по адресной шине 31 внешнего устройства и шине 29 Запись адрес регистра 25 входной информации и сигнал управлени  записью поступают .,, в узел 18 управлени , где на элементе И 65 Формируетс  сигнал управлени  записью в регистр 25 входной информации , который поступает в узел 26 фиксации режима работы и, через эле- лп мент ИЛИ 79, на вход записи регистра 25 входной информации, В регистр 25 входной информации записываетс  байт состо ни .When writing the status byte to the input information register 25, the output by JQ informational bus 35 receives the status byte, the address bus 31 of the external device and the bus 29 Write the address of the input information register 25 and the write control signal. where on the element AND 65 A control signal is written to the input information register 25, which enters the operation mode fixation section 26 and, via the OR element 79, writes the input information to the input information register input 25, In input information register 25 neither .

При записи в триггер 15 регистра 14 признаков признака байта состо ни  на информационный вход триггера 15 по входной информационной шине 35 внешнего устройства поступает единичное значение разр да записи в триггер 15, по адресной шине 31 внешнего устройства и по шине 29 Запись поступают адрес триггера 15 и сигнал управлени  записью . В узле 18 упоавлени  на элементе И 64 формируетс  сигнал управлени  записью в триггер 15 и устанав1 ливает его в единичное значение, а также поступает в узел 26 фиксации режима работы на информационный входWhen writing to the trigger 15 of the register 14 of the sign of the status byte, the information input of the trigger 15 via the input information bus 35 of the external device receives a single value of the write bit to the trigger 15, the address of the trigger 15 arrives on the address bus 31 of the external device and recording control signal. In the control node 18 on the AND 64 element, the write control signal is generated in the trigger 15 and sets it to a single value, and also enters the operation mode fixation section 26 at the information input

5050

5555

,  ,

00

5five

триггера 72 дл  записи в него нулевого значени . Таким образом, при записи в триггер 15 единичного значени  в триггер 72 записываетс  нулевое значение. Единичное значение триггера 15 поступает на вход формировател  сигналов прерывани  10, вызыва  по вление сигнала прерывани  на входной шине 6 прерывани  процессора, а также в блок 26 фиксации режима работы, где, проход  через элемент ИЛИ 74, поступает на вход сброса триггера 71 и сбрасывает его в исходное состо - . ние.trigger 72 for writing a zero value thereto. Thus, when a single value is written to the trigger 15, a zero value is written to the trigger 72. A single trigger value 15 is fed to the input of the interrupt signal generator 10, causing an interrupt signal to appear on the input bus 6 of the processor, as well as to the operation mode fixing unit 26, where the passage through the OR 74 element enters the reset input of the trigger 71 and resets it in the initial state -. the

Считывание значени  триггера 15 производитс  так же, как и при выполнении процедуры начальной выборки.The reading of the trigger value 15 is performed in the same way as when performing the initial sampling procedure.

Чтение байта состо ни  из регистра 25 входной информации отличаетс  от чтени  байта данных тем, что к моменту чтени  байта состо ни  триггер 72 узла 26 режима работы находитс  в сброшенном состо нии и на элементе И 83 не формируетс  сигнал установки триггера 73. Запись признака Прием в регистр 7 режимов осуществл етс  так же, как в процедуре начальной выборки .The reading of the status byte from the input information register 25 differs from reading the data byte in that by the time of reading the status byte, the trigger 72 of the operation mode node 26 is in the reset state and the setting signal 73 is not generated on the AND 83 element. The mode register 7 is implemented in the same way as in the initial sampling procedure.

При записи в триггер 89 регистра 7 режимов на элементе И 56 узла 18 управлени  формируетс  сигнал сброса триггера 15, которым триггер 15 приводитс  в исходное состо ние. Единичное значение триггера 89 вызывает по вление сигнала прерывани  на входной шине 27 прерывани  внешнего устройства ,When writing to the trigger 89 of the register of 7 modes on the element And 56 of the control unit 18, a reset signal is generated for the trigger 15, with which the trigger 15 is reset. A single trigger value 89 causes an interrupt signal to appear on the input bus 27 of the external device,

Чтение регистра 7 режимов производитс  так же, как в процедуре начальной выборки.The reading of register 7 modes is done in the same way as in the initial sampling procedure.

Таким образом, устройство, по сравнению с прототипом, обладает расширенными функциональными возможност ми , позвол ющими идентифицировать информацию как команду или байт состо ни , хранить байт текущего состо ни , хранить байты начального состо ни , формировать сигнал прерывани  во внешнее устройство. Расширение функциональных возможностей в устройстве позвол ет, кроме процедуры передачи данных, выполн ть процедуры начальной выборки и передачи байта состо ни ,, т.е. весь набор процедур., ввода - вывода по логике интерфейса ЕС ЭВМ.Thus, the device, in comparison with the prototype, has enhanced functionality that allows identifying information as a command or status byte, storing the current status byte, storing the initial state bytes, and generating an interrupt signal to an external device. Extending the functionality in the device allows, in addition to the data transfer procedure, to perform the initial sampling and the state byte transfer procedures, i.e. the whole set of procedures., input - output according to the logic of the EC interface of the computer.

Хранение байта текущего состо ни  и байтов начального состо ни  в устройстве сокращает врем  выполнени  процедуры начальной выборки. В известных устройствах дл  выполнени  начальной выборки осуществл етс  передача кода команды на внешнее устройство , где микропрограммно производитс  анализ байта текущего состо ни , формирование и передача в процессор байта начального состо ни . Так какStoring the byte of the current state and the bytes of the initial state in the device shortens the execution time of the initial sampling procedure. In known devices, to perform an initial sample, the command code is transmitted to an external device, where the firmware analyzes the current state byte, generates and transfers the initial state byte to the processor. Because

в данном устройстве процедура начальной выборки выполн етс  аппаратно на уровне процессор - устройство сопр жени , врем  ее выполнени  значительно меньше, чем в известных услови х, Например, дл  выполнени  начальной выборки в ЭВМ ЕС1007 программным путем требуетс  около 370 мсек, которые складываютс , в среднем, из времени выполнени  100 команд обработки пре- рывани  (с временем выполнени  одной команды 7,5 мксек), 30 команд опроса устройства, 350 мсек на ожидание ответа от устройства и времени выполнени  100 команд анализа поступившей команды и выдачи начального байта . состо ни . При использовании данного устройства врем  выполнени  начальной выборки не превышает 7 мксек. За счет повышени  быстродействи  при выполне- нии процедуры начальной выборки повышаетс  быстродействие при выполнении процедуры ввода - вывода в целом.In this device, the initial sampling procedure is performed in hardware at the processor-interface level, its execution time is significantly less than in known conditions. For example, it takes about 370 ms to program the initial sampling in the EC1007 computer, which add up to an average of , from the execution time of 100 interrupt handling commands (with a single command execution time of 7.5 microseconds), 30 device interrogation commands, 350 ms to wait for a response from the device and the execution time of 100 commands to analyze the incoming command and Write the initial byte. condition When using this device, the execution time of the initial sample does not exceed 7 microseconds. By increasing the speed of the initial sampling procedure, the speed of the entire I / O procedure is improved.

Claims (3)

1. Устройство дл  сопр жени  процессора с внешним устройством, содержащее узел управлени , узел фиксации режима работы, регистр режимов, ре- гистр входной информации, регистр выходной информации, первый формирователь сигнала прерывани , причем группы информационных входов регистра режимов, регистра выходной инфор- мации и первый вход логического услови  узла управлени  образуют группу входов устройства дл  подключени  к группе информационных выходов процессора , выход прерывани  первого формировател  сигналов прерывани   вл етс  выходом устройства дл  подключени  к входу прерывани  процессора, первый стробирующий вход и выход запроса пр мого доступа узла фиксации режима работы  вл ютс  входом и выходом устройства дл  подключени  соответственно к выходу разрешени  пр мого доступа и к входу запроса пр мого доступа1. A device for interfacing a processor with an external device, containing a control unit, a latching unit, a mode register, an input information register, an output information register, the first interrupt generator, and a group of information inputs of the mode register, output information register and the first input of the logic condition of the control node forms a group of device inputs for connecting to the group of information outputs of the processor, the output of the interrupt generator of the first interrupt signal generator is swing device for connecting to the input of the interrupt processing, a first gate input and an output request direct access node operation mode locking are input and output device for connection respectively to the output enable direct access to the input query and direct access 00 j 0 5 о j 0 5 o 5five о about 00 внешнего устройства, отличающеес  тем, что, с целью повышени  быстродействи , в него введены регистр признаков, два мультиплексора и два шинных формировател , регистр байта текущего состо ни , шифратор , второй формирователь сигнала прерывани , два элемента ИЛИ, триггер причем второй вход логического состо ни  узла управлени   вл етс  входом устройства дл  подключени  к выходу записи процессора, третий вход логического услови  узла управлени  соединен с управл ющим входом первого шинного формировател  и  вл етс  входом устройства дл  подключени  к выходу чтени  процессора, перва  группа входов логического услови  узла управлени  и группа управл ющих входов первого мультиплексора образуют группу входов устройства дл  подключени  к группе адресных выходов процессора, группа информационных выходов первого шинного преобразовател  образует группу выходов устройства дл  подклю- i чени  к группе информационных входов процессора, выход прерывател  второго формировател  сигналов прерывани   вл етс  выходом устройства дл  подключени  к входу прерывани  внешнего устройства , группа информационных выходов второго шинного формировател  образует группу выходов устройства дл  подключени  к группе информационных входов внешнего устройства, группы информационных входов регистра байта текущего состо ни  и регистра входной информации, первые инфорационные входы узла фиксации режима работы и регистра признаков образуют группу входов устройства дл  подключени  к группе информационных выходов внешнего устройства, второй стробирующий вход узла фиксации режима работы  вл етс  входом устройства дл  подключени  к выходу конца блока внешнего устройства , втора  группа входов логического услови  узла управлени  образует группу входов устройства дл  подключени  к группе адресных выходов внешнего устройства, четвертый вход логического услови  узла управлени  соединен с третьим стробирующим входом узла фиксации режима работы и  вл етс  входом устройства дл  подключени  и выходу записи внешнего устройства , п тый вход логического услови  узла управлени  соединен с четвертымexternal device, characterized in that, in order to improve speed, a feature register, two multiplexers and two bus drivers, a current state byte register, an encoder, a second interrupt signal generator, two OR elements, a trigger with the second logic state input the control node is the input of the device for connection to the write output of the processor, the third input of the logic condition of the control node is connected to the control input of the first bus driver and is the input of the device At the readout connection of the processor, the first group of inputs of the logic condition of the control node and the group of control inputs of the first multiplexer form a group of device inputs for connecting the processor to the output address group, the group of information outputs of the first bus converter forms a group of device outputs to connect to the group information inputs of the processor, the output of the chopper of the second interrupt signal generator is the output of the device for connection to the interrupt input of the external Triplets, the group of information outputs of the second bus driver forms a group of device outputs for connection to a group of information inputs of an external device, a group of information inputs of the current state byte register and an input information register, the first information inputs of the operation mode fixing node and the register of attributes form a group of device inputs for connecting to the group of information outputs of the external device, the second gate input of the latching node of the operation mode is the device input for Connected to the output end of an external device block, the second group of inputs of the logic condition of the control node forms a group of inputs of the device for connecting to the group of address outputs of the external device, the fourth input of the logic condition of the control node is connected to the third gate input of the fixing node of the operating mode and is the input of the device for connecting and the output of the external device, the fifth input of the logic condition of the control node is connected to the fourth 2315523155 стробирующим входом узла фиксации режима работы, с управл ющим входом второго шинного формировател  и  вл етс  входом устройства дл  подключени  к выходу чтени  внешнего устройства , установочный вход регистра режимов соединен с нулевым входом триггера, с первым, вторым, нулевыми входами регистра признаков, с первым входом первого элемента ИЛИ, с первым установочным входом регистра Фиксации режима работы и  вл етс  установочным входом устройства, информационные входы регистра режимов, триг- гера, первый, второй информационные входы регистра признаков подключены к шине нулевого потенциала устройства , второй информационный вход узла фиксации режима работы подключен к Јиине единичного потенциала устройства , при этом первый выход узла управthe gate input of the latching mode, with the control input of the second bus driver and is the device input for connecting to the read output of the external device, the setup input of the mode register is connected to the zero trigger input, with the first, second, zero signs register inputs, with the first input the first element OR, with the first installation input of the Latching register of the operation mode and is the installation input of the device, the information inputs of the mode register, the trigger, the first, second information inputs the feature register is connected to the zero potential bus of the device, the second information input of the fixation unit of the operating mode is connected to the error of the unit potential of the device, while the first output of the control node пени  соединен с входом записи регистра режимов, вход чтени  которого соединен с вторым выходом узла управ- лени  и с синхровходом триггера, выход которого и группа информационных выходов регистра режимов соединены с группой входов требовани  прерывани  второго формировател  сигналов Прерывани  и с первой группой информационных входов второго мультиплексора , втора  группа информационных входов которого соединена с группой Информационных выходов регистра выходной информации и с группой информационных входов шифратора, группа Выходов которого соединена с первой Группой информационных входов первог мультиплексора, втора  группа информационных входов которого соединена с группой входов требовани  прерывани  первого Формировател  сигналов прерывани , с третьим информационным входом узла фиксации режима работы и с группой информационных выходов регистра признаков, первый и второй единичные входы которого соединены соответственно с петэьым и вторым установочными выходами узла фиксации режима работы, выход записи которого соединен с входом записи регистра входной информации, группа информационных выходов которого соединена с третьей группой информационных входо первого мультиплексора, четверта  группа информационных входов которого соединена с группой информационны выходов регистра байга текущего соPenalties are connected to the recording register register input, the read input of which is connected to the second output of the control node and to the trigger synchronous input, the output of which and the group of information outputs of the mode register are connected to the input group of the interrupt request signal of the second interrupt generator and the first group of information inputs of the second multiplexer , the second group of information inputs of which is connected to the group of Information outputs of the register of output information and with the group of information inputs of the encoder, the group O one of which is connected to the first group of information inputs of the first multiplexer, the second group of information inputs of which is connected to the group of inputs of the interrupt request of the first Interrupt signal generator, with the third information input of the fixing node of the operation mode and the group of information outputs of the characteristics register, the first and second single inputs of which are connected respectively, with the petey and second installation outputs of the fixing unit of the operation mode, the recording output of which is connected to the input of the register entry I discharge information, the group of information outputs of which is connected with the third group of information inputs of the first multiplexer, a fourth group bayga register which is connected to a group of information inputs with information output current 2424 00 00 5five 00 5 five 5five 5five сто ни , вход записи которого соединен с третьим выходом узла управле- ни , четвертый, п тый, шестой выходы и шестой вход логического услови  которого соединены соответственно с первым , вторым, третьим входами логического услови  и с выходом чтени  узла фиксации режима работы, синхровход которого соединен с седьмым выходом узла управлени  и- с первым синхровходом регистра признаков, второй и третий синхровходы которого соединены с восьмым выходом узла управлени , дев тый выход которого соединен с вторым входом первого элемента ИЛИ, выход которого соединен с третьим нулевым входом регистра признаков, третий единичный вход которого соединен с единичным входом триггера, с первым входом второго элемента ИЛИ и с дес тым выходом узла-управлени , одиннадцатый выход которого соединен с вторым установочным входом узла Фиксации ежима работы и с вторым входом элемента ИЛИ, выход которого соединен с входом записи регистра выходной информации , группа информационных входов первого шинного формировател  соединена с группой информационных выходов первого мультиплексора, группа информационных входов второго шинного формировател  соединена с группой информационных выходов второго мультиплексора , управл ющий вход которого соединен с двенадцатым выходом узла управлени  ,the recording input of which is connected to the third output of the control node, the fourth, fifth, sixth outputs and the sixth input of the logic condition of which are connected respectively to the first, second, third inputs of the logic condition and the reading output of the fixation node of the operation mode, the synchronous input of which connected to the seventh output of the control unit and to the first synchronized input of the sign register, the second and third synchronized inputs of which are connected to the eighth output of the controlling node, the ninth output of which is connected to the second input of the first OR element, the stroke of which is connected to the third zero input of the feature register, the third single input of which is connected to the single trigger input, to the first input of the second OR element and to the tenth output of the control node, the eleventh output of which is connected to the second installation input of the Operation mode hold node and to the second the input of the OR element, the output of which is connected to the input of the output register recording, the group of information inputs of the first bus driver is connected to the group of information outputs of the first multiplexer, group The information input of the second bus driver is connected to the group of information outputs of the second multiplexer, the control input of which is connected to the twelfth output of the control node, 2 „ Устройство по п. I , отличающеес  тем, что узел управлени  содержит два дешифратора, двенадцать элементов И и элемент ИЛИ, причем первьй вход первого элемента И  вл етс  первым входом логического услови  узла, первьй вход второго элемента И соединен с первыми входами третьего, четвертого элементов И и  вл етс  вторым входом логического услови  узла, первьй вход п того элемента И соединен с первым входом шестого элемента И и  вл етс  третьим входом логического услови  узла, первьй вход седьмого элемента И соединен с первыми входами восьмого, дев того, дес того элементов И и  вл етс  четвертым входом логического услови  узла , первьй вход одиннадцатого элемента И соединен с первым входом двенадцатого элемента И и  вл емс  п тым входом логического услови  узла, пер2 "Device according to claim I, characterized in that the control node contains two decoders, twelve AND elements and an OR element, the first input of the first AND element being the first input of the logical condition of the node, the first input of the second AND element connected to the first inputs of the third, the fourth AND element is the second input of the logical condition of the node, the first input of the fifth element AND is connected to the first input of the sixth AND element and is the third input of the logical condition of the node, the first input of the seventh AND element is connected to the first inputs of mogo, ninth, and tenth members and is fourth input node of the logical conditions, the first input of the eleventh AND gate is connected to the first input of the twelfth AND gate and EMC is a fifth input node logical conditions, lane 25152515 вый вход элемента ИЛИ  вл етс  шестым входом логического услови  узла вторые входы второго, третьего, четвертого элементов И и группа информационных входов первого дешифратора образуют первую группу входов логического услови  узла, группа информационных входов второго дешифратора образует вторую группу входов логического услови  узла, выход третьего элемента И соединен с вторым входом первого элемента И и  вл етс  первы выходом узла, выходы одиннадцатого, седьмого, восьмого, шестого, дес того , дев того, п того, первого, четвертого , второго элементов И и выход элемента ИЛИ  вл ютс  соответственно вторым, третьим, четвертым, п тым, шестым, седьмым, восьмым, дев тым, дес тым, одиннадцать и двенадцатым выходами узла, при этом в узле управлени  первый и второй выходы первого дешифратора соединены соответственно с вторыми входами п того и шестого элементов И, второй вход элемента ИЛИ соединен с выходом двенадцатого элемента И, второй вход которого соединен с вторым входом седьмого элемента И и с первым выходом второго дешифратора, второй выход которого соединен с вторым входом восьмого элемента И; второй вход дев того элемента И соединен с вторым входом одиннадцатого элемента И и с третьим выходом второго дешифратора, четвертый выход которого соединен с вторым входом дес того элемента И.the second input of the OR element is the sixth input of the logical condition of the node; the second inputs of the second, third, fourth elements AND the group of information inputs of the first decoder form the first group of inputs of the logical condition of the node; the group of information inputs of the second decoder forms the second group of inputs of the logical node condition; And is connected to the second input of the first element AND, and is the first output of the node, the outputs of the eleventh, seventh, eighth, sixth, tenth, ninth, fifth, first, fourth , the second And elements and the output of the OR element are respectively the second, third, fourth, fifth, sixth, seventh, eighth, ninth, tenth, eleven, and twelfth node outputs, while in the control node the first and second outputs of the first decoder are connected respectively, with the second inputs of the fifth and sixth elements And, the second input of the element OR is connected to the output of the twelfth element And, the second input of which is connected to the second input of the seventh element And and to the first output of the second decoder, the second output of which is connected to the second the input of the eighth element And; the second input of the ninth element I is connected to the second input of the eleventh element I and to the third output of the second decoder, the fourth output of which is connected to the second input of the tenth element I. 4040 3. Устройство по п. 1, отличающеес  тем,что узел фиксации режима работы содержит три триггера , шесть элементов ИЛИ, четыре элемента И, причем информационные входы первого, второго триггеров и первый вход первого элемента ИЛИ  вл ютс  соответственно первым, вторым и третьим информационными входами узла , второй вход первого элемента ИЛИ, соединенный с нулевым входом первого3. The device according to claim 1, characterized in that the latching operation node contains three flip-flops, six OR elements, four AND elements, and the information inputs of the first, second triggers and the first input of the first OR element are respectively the first, second and third information the inputs of the node, the second input of the first element OR connected to the zero input of the first 2626 00 триггера и с первым входом DTODOIо элемента ИЛИ, и первый вход третьего элемента ИЛИ  вл ютс  соответственно первым и вторым установочными входагш узла, синхровход первого триггера лз- л етс  синхровходом узла, первый вход первого элемента И, соединенный с первым входом второго элемента И, первый вход третьего элемента И, вторые входы второго и первого элементов Я  вл ютс  соответственно первым, вторым , третьим и четвертым стробирую- шими входами узла, первый вход четвертого элемента ИЛИ, первый вход четвертого элемента И и первый вход п тогоthe trigger and with the first input of the DTODOIO of the OR element, and the first input of the third OR element are respectively the first and second installation inputs of the node, the synchronous input of the first trigger is synchronized with the first input of the first element And connected to the first input of the second element AND, the first the input of the third element AND, the second inputs of the second and first elements I are the first, second, third and fourth gates of the node, the first input of the fourth element OR, the first input of the fourth element AND and the first input n th 00 2525 00 5five 00 элемента ИЛИ  вл ютс  соответственно первым, вторым и третьим входами логического услови  узла, выход второго триггера  вл етс  выходом запроса пр мого доступа узла, выход четвертого элемента ИЛИ и выход шестого элемента ИЛИ, соединенный с вторым входом п того элемента ИЛИ,  вл ютс  соответственно первым и вторым установочными выходами узла, выход первого элемента И, соединенный с вторыми входами второго и четвертого элементов ИЛИ, и выход п того элемента ИЛИ  вл ютс  соответственно выходами чтени  и записи узла, при этом в узле фиксации режима работы выход первого элемента ИЛИ соединен с нулевым входом третьего триггера, единичный вход которого соединен с первым входом шестого элемента ИЛИ и с выходом третьего элемента И, второй вход которого соединен с выходом второго элемента И, с вторым входом шестого элемента ИЛИ и с третьим входом второго элемента ИЛИ, выход которого соединен с нулевым входом второго триггера, синхровход которого соединен с выходом первого триггера и с вторым входом четвертого элемента И, выход которого соединен с вторым входом третьего элемента ИЛИ, выход которого соединен с единичным входом второго триггера, выход третьего триггера соединен с третьим входом четвертого элемента И.the OR elements are respectively the first, second and third inputs of the logical condition of the node, the output of the second trigger is the output of the direct access request of the node, the output of the fourth OR element and the output of the sixth OR element connected to the second input of the fifth OR element are respectively the first and the second installation outputs of the node, the output of the first AND element, connected to the second inputs of the second and fourth OR elements, and the output of the fifth OR element are respectively the read and write outputs of the node, while in the node mode of operation, the output of the first element OR is connected to the zero input of the third trigger, the single input of which is connected to the first input of the sixth OR element and to the third output of the AND element, the second input of which is connected to the output of the second AND element, to the second input of the sixth OR element and to the third the input of the second element OR, the output of which is connected to the zero input of the second trigger, the sync input of which is connected to the output of the first trigger and to the second input of the fourth element I, the output of which is connected to the second input of the third el ment OR, whose output is connected to a single input of the second flip-flop, third flip-flop output coupled to a third input of the fourth element I. Фиг АFIG A
SU884450349A 1988-06-27 1988-06-27 Device for interfacing processor and external unit SU1550524A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU884450349A SU1550524A1 (en) 1988-06-27 1988-06-27 Device for interfacing processor and external unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU884450349A SU1550524A1 (en) 1988-06-27 1988-06-27 Device for interfacing processor and external unit

Publications (1)

Publication Number Publication Date
SU1550524A1 true SU1550524A1 (en) 1990-03-15

Family

ID=21385470

Family Applications (1)

Application Number Title Priority Date Filing Date
SU884450349A SU1550524A1 (en) 1988-06-27 1988-06-27 Device for interfacing processor and external unit

Country Status (1)

Country Link
SU (1) SU1550524A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2405195C2 (en) * 2006-02-24 2010-11-27 Квэлкомм Инкорпорейтед Coordinated operations for recording on bus address channel
US8108563B2 (en) 2006-02-24 2012-01-31 Qualcomm Incorporated Auxiliary writes over address channel
CN112463662A (en) * 2020-12-16 2021-03-09 福州创实讯联信息技术有限公司 Method and terminal for controlling I2C equipment by user mode

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1111147, кл. G 06 F 13/00, 1982. Авторское свидетельство СССР № 1132282, кл. G 06 F 13/00, 1983. (прототип). *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2405195C2 (en) * 2006-02-24 2010-11-27 Квэлкомм Инкорпорейтед Coordinated operations for recording on bus address channel
US8108563B2 (en) 2006-02-24 2012-01-31 Qualcomm Incorporated Auxiliary writes over address channel
US8107492B2 (en) 2006-02-24 2012-01-31 Qualcomm Incorporated Cooperative writes over the address channel of a bus
US8521914B2 (en) 2006-02-24 2013-08-27 Qualcomm Incorporated Auxiliary writes over address channel
US8675679B2 (en) 2006-02-24 2014-03-18 Qualcomm Incorporated Cooperative writes over the address channel of a bus
CN112463662A (en) * 2020-12-16 2021-03-09 福州创实讯联信息技术有限公司 Method and terminal for controlling I2C equipment by user mode
CN112463662B (en) * 2020-12-16 2024-04-05 福州创实讯联信息技术有限公司 Method and terminal for user mode control of I2C equipment

Similar Documents

Publication Publication Date Title
US5630102A (en) In-circuit-emulation event management system
JPH046980B2 (en)
US4047245A (en) Indirect memory addressing
SU1550524A1 (en) Device for interfacing processor and external unit
US4032898A (en) Interface control unit for transferring sets of characters between a peripheral unit and a computer memory
SU1539787A1 (en) Multichannel processor-to-subscribers interface
SU1012235A1 (en) Data exchange device
SU1614016A1 (en) Data input device
SU922713A1 (en) Multiplexor channel
SU1111150A1 (en) Interface for linking two computers
SU991403A1 (en) Two-computer complex exchange device
JPS6232748A (en) data transfer device
RU1807495C (en) Process-to-process interface
SU1539789A1 (en) Processor of solid-state external memory of high-capacity computing system
JP2568443B2 (en) Data sizing circuit
SU1425683A1 (en) Device for debugging software/hardware blocks
SU809145A1 (en) Interfacing device for computers
SU1478222A1 (en) Computer/external device interface
SU1695312A1 (en) Device for interfacing channel of input-output with subscriber
SU1026138A1 (en) Device for interfacing magnetic tape store to digital computer
SU1635188A1 (en) Device for interfacing a computer to its peripherals
SU1310835A1 (en) Computer-computer interface
SU1151976A1 (en) Data exchange control unit
SU1112361A2 (en) Channel-to-channel adapter
SU1472909A1 (en) Dynamic addressing memory