SU845155A1 - Device for interfacing processor with input-output units - Google Patents

Device for interfacing processor with input-output units Download PDF

Info

Publication number
SU845155A1
SU845155A1 SU792799629A SU2799629A SU845155A1 SU 845155 A1 SU845155 A1 SU 845155A1 SU 792799629 A SU792799629 A SU 792799629A SU 2799629 A SU2799629 A SU 2799629A SU 845155 A1 SU845155 A1 SU 845155A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
inputs
code
data
Prior art date
Application number
SU792799629A
Other languages
Russian (ru)
Inventor
Александр Алексеевич Бекасов
Сергей Владимирович Горбачев
Александр Владимирович Мыскин
Виталий Борисович Смирнов
Валерий Антонович Торгашев
Original Assignee
Ленинградский Институт Авиационногоприборостроения
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 Ленинградский Институт Авиационногоприборостроения filed Critical Ленинградский Институт Авиационногоприборостроения
Priority to SU792799629A priority Critical patent/SU845155A1/en
Application granted granted Critical
Publication of SU845155A1 publication Critical patent/SU845155A1/en

Links

Landscapes

  • Bus Control (AREA)

Description

1one

Изобрсгтение относитс  к области вычислительной техники и может быть испрльзовано, например, в агрегатных системах сбора и обработки информации и управл ющих вычислительных системах.The image is in the field of computer technology and can be used, for example, in aggregate information acquisition and processing systems and control computer systems.

Известны устройства дл  сопр жени  ЦВМ с внешними устройствами fl, содержащие; регистр св зи, блок анализа , блок адреса, блок модификации адресов, регистр управл ющего слова, дополнительный регистр управл ющего слова и буферный блок,Devices are known for interfacing a digital computer with external devices fl, comprising; communication register, analysis block, address block, address modification block, control word register, additional control word register and buffer block,

Недостаток этих устройств состоит в ограниченной области применени , так как они обеспечивают реализацию жестко заданного протокола обмена и не позвол ют обеспечивать сопр у ен е устройств ввода-вывода, имеющих различные протоколы.The disadvantage of these devices lies in the limited field of application, since they provide the implementation of a rigidly specified exchange protocol and do not allow the interface of input-output devices having different protocols.

Наиболее близким к изобретению по сущности технического решени   вл етс  универсальное устройство сопр жени  центральной и периферийных систем (2), содержащее блок дешифрации команд центрашьной системы, блок приема данных центральной системы , блок передачи данных центральной системы, блок формировани  сигнала прерывани , буфер выходной информационный , буфер выходнол управл ющий , буфер входной информационный , буфер входной управл ющий, групповые блоки управлени . Выход блока приема данных центральной системы соединен со входом буфера выходного информационного, с первым входом данных буфера выходного управл ющего , со входом буфера входного управл ющего , со входом буфера входного информационного и со входом кода режима блока формирований сигнала прерывани . Вход записи кода режима блока формировани  сигнала прерывани  подключен к третьему выходу блока дешифрации команд центральной системы и ко входам записи кода режима буферов йХодных информационного и управл ющего. Выходы буферов входных информационного и управл ющего соединены соответственно с первйм и вторым входами данных блока передачи данных центральной системы.Вход чтени  блока передачи данных цент Рсшьной системы подключен к четвертому выходу блока дешифрации команд центральной системы. Первый и второй выходы блока дешифрации команд центральной системы соединены соответственно со входом записи буфера выходного информационного и со входом записи данных буфера выходного управл надего 2 .The closest to the invention in its essence is a universal interface of the central and peripheral systems (2), which contains the decryption unit of the central system commands, the central system data receiving unit, the central system data transmission unit, the interrupt signal generation unit, the output information buffer, output control buffer, input information buffer, input control buffer, group control blocks. The output of the central system data reception unit is connected to the input information output buffer, to the first data input of the output control buffer, to the input control input buffer, to the input information input buffer, and to the input of the mode code of the interrupt signal formation unit. The input of the code entry of the mode of the formation of the signal of interruption is connected to the third output of the decryption unit of the commands of the central system and to the inputs of the entry of the code of the mode of the buffers for information and control. The outputs of the input information and control buffers are connected respectively to the first and second data inputs of the central system data transfer unit. The read input of the data transmission unit of the center of the PC system is connected to the fourth output of the command decryption unit of the central system. The first and second outputs of the decryption block of the central system commands are connected respectively to the write input of the output information buffer and to the data input input of the output control buffer 2.

Недостаток этого устройства состоит в ограниченной области применени , вследствие того, что в нем используютс  управл ющие сигналы только заданной формы и только импульсного квитировани  от устройств ввода-вывода,а также сброс сигналами квитировани  только определенных выходных управл ющих сигналов.The disadvantage of this device lies in its limited scope due to the fact that it uses only control signals of a predetermined form and only pulse acknowledgment from input / output devices, as well as resetting of confirmation signals of only certain output control signals.

Кроме ,того, необходимости больших затрат времени центрального процессора на управление устройством при ввода-выводе каждого байта информации снижают в целом быстродействием системы.In addition, the need for large amounts of CPU time to control the device during the input-output of each byte of information reduces the overall system performance.

Целью изобретени   вл етс  расширение области применени  устройства .The aim of the invention is to expand the field of application of the device.

Поставле ша  цель достигаетс  тем, что в устройство, содержащее блок приема, данных, блок передани данных, блок дешифрации команд процессора , блок формировани  сигналов прерывани , выходные и входные информационные и управл ющие регистры, причем выход блока приема данных соединен со входом кода режима блока формировани  сигнала прерывани ,входами данных входного и выходного информацрюнных регистров и входного управл ющего регистра и первым входом данных выходного управл ющего регистра , первый и второй выходы блока дешифрации команд процессора подключены соответственно ко входам записи данных выходных информационного и управл ющего регистров, третий выход - ко входам записи кода режима блока формировани  сигнала прерывани  и входных управл ющего и информационного регистров, а четвертый выход - ко входу чтени  блока передачи данных, первый и второй входы данных которого соединены соответственно с выходами входных информационного и управл риего регистров, введены блок формировани  выходного кода обратной св зи и блок анализа входного кода обратной св зи. Выход данных и выход сигнала сопровоходени  данных блока формировани  выходного кода обратной св зи подключены соответственно ко второму входу данных и входу записи кода обратной св зи выходного управл ющего регистра.Вход выборки кода обратной л:в эи при записи и при чтении, вход записи кода режима и вход записи кода настройки соединены соответственно с первым, четвертым, третьим и п тым выходами блока дешифрации команд процессора, вход данных - с выходом блока приема данных, а вход выборки кода обратной св зи по готовности - со входами фиксации данных входных управл ющего ц информационного регистров, входомThe goal is achieved by the fact that the device containing the receive block, data block, data transfer block, processor decryption block, interrupt signal generating block, output and input information and control registers, the output of the data receive block connected to the input of the mode code of the block generating the interrupt signal, the input data of the input and output information registers and the input control register and the first data input of the output control register, the first and second outputs of the coma decoding unit The processor's nDs are connected respectively to the data write inputs of the output information and control registers, the third output is connected to the write inputs of the mode code of the interrupt signal shaping unit and the input control and information registers, and the fourth output to the read input of the data transfer unit, the first and second inputs the data of which are connected respectively to the outputs of the input information and control registers, a block for generating the output feedback code and a block for analyzing the input feedback code are entered. The data output and the output of the data tracking signal generation unit of the output feedback code are connected respectively to the second data input and the write input of the feedback control code of the output control register. The input of the return code sample is: in write and read, write to the mode code and the entry of the setting code entry is connected respectively to the first, fourth, third and fifth outputs of the processor instruction decryption unit, the data input is connected to the output of the data reception unit, and the input of the readiness feedback code sample is input to fixing the data of the input control of the information register, the input

установки блока формировани  сигнала прерывани , входом готовности блока передачи данных и выходом блока анализа входного кода обратной св зи. Входы записи кода режима, кода настройки и вход сброса подключены соответственно к третьему, п тому и шестому выходам блока дешифрации команд процессора, вход данных - к выходу , блока приема данных, а вход кода обр атной св зи - к выходу входного управл ющего регистра. Блок анализа входного кода обратной св зи содержит дешифратор адреса регистра маски, первый вход которого соединен со входом записи кода настройки блока, второй вход - со входом данных блока и пе;рвыми входами первого - четвертого регистров маски и триггера разрешени  готовности, а выходы - со вторыми входами соответствующих регистров маски, выходы которых подключены к первым входам элементов И группы, вторыми входами соединенных со входом обратной св зи и входами элементов ПЕ группы, третьими входами - с выходами элементов НЕ группы, а выходами - с соответствующими входами элемента ИЛИ, выход которого подключен к первому входу элемента И, вторым входом сое диненного с выходом триггера разрешени  готовности, второй вход которого  вл етс  входом записи кода режима , а выходом - с первым входом триггера готовности, второй вход и выход которого  вл ютс  соответственно входом сброса и выходом блока . Блок формировани  выходного кода обратной св зи содержит шесть регистров управлени , первые входы которых подключены к соответствующим выходам дешифратора регистра управлени , первым входом соединенного со входом .записи кода настройки блока, а вторым - со входом данных блока, вторыми входами регистров управлени  и первыми входами триггеров разрешени  управлени  по записи, по чтению и по готовности, вторые входы которых -подключены ко входу записи кода режима блока, а выходы - соответственно к первым входам первого, второго и третьего элементов И, выходами соединенных с соответствующими входами элемента ИЛИ, выход которого  вл етс  выходом сопровождени  данных. Выходы первого и второго регистров управлени  соединенн с первыми входами соответствующих элементов И первой группы, вторыми входами подключенных ко второму входу первого элемента И и входу выборки кода обратной св зи при записи блока. Выход третьего и четвертого регистров управлени  соединены с первыми входами соответствующих элементов И второй группы, вторымиthe settings of the interrupt signal generating unit, the readiness input of the data transmission unit and the output of the input feedback code analysis unit. The inputs for recording the mode code, tuning code and reset input are connected to the third, fifth and sixth outputs of the processor decryption block, respectively, the data input to the output, the data receiving unit, and the reverse communication code input to the output of the input control register. The input feedback code analysis block contains a mask register address decoder, the first input of which is connected to the input of the block setup code entry, the second input to the block data input and ne; the first to fourth register registers of the mask and the enable enable trigger, and the outputs from the second inputs of the respective mask registers, the outputs of which are connected to the first inputs of the elements AND of the group, the second inputs connected to the feedback input and the inputs of the elements of the PE group, the third inputs to the outputs of the elements NOT of the group, but the outputs - with the corresponding inputs of the OR element, the output of which is connected to the first input of the AND element, the second input of the ready resolution enable trigger, the second input of which is the recording of the mode code, and the output to the first input of the ready trigger, the second input and output which are respectively a reset input and a block output. The feedback code generation unit contains six control registers, the first inputs of which are connected to the corresponding outputs of the control register decoder, the first input connected to the input of the unit setup code, and the second to the data input of the block, the second trigger inputs enable control by writing, by reading and by readiness, the second inputs of which are connected to the write input of the code for the block mode and the outputs respectively to the first inputs of the first, second and third elements AND, the outputs connected to the corresponding inputs of the OR element, the output of which is the output of the accompanying data. The outputs of the first and second control registers are connected to the first inputs of the corresponding AND elements of the first group, the second inputs connected to the second input of the first element AND, and the sample input of the feedback code when the block is written. The output of the third and fourth control registers are connected to the first inputs of the corresponding elements And the second group, the second

входами подключенных ко второму входу второго элемента И и входом выборки кода обратной св зи при чтении блока. Выходы п того и шестого регистров управлени  соединены с первыми входами соответствующих элементов И третьей группы, вторые входы которых подключены ко второму входу третьего элемента И и через формирователь импульсов ко входу выборки кода обратной св зи по готовности блока. Выходы элементов И первой третьей групп подключены к соответствующим входам элементов ИЛИ группы выходы которых  вл ютс  выходом данных блока.inputs connected to the second input of the second element And the input sample code feedback when reading the block. The outputs of the fifth and sixth control registers are connected to the first inputs of the corresponding AND elements of the third group, the second inputs of which are connected to the second input of the third And element and through the pulse shaper to the input of the feedback code on the readiness of the block. The outputs of the elements of the first and third groups are connected to the corresponding inputs of the elements of the OR group whose outputs are the output of the data block.

На фиг.1 представлена структурна  схема устройства; на фиг.2-8 - функциональные схемы блоков устройства.Figure 1 shows the structural diagram of the device; Fig.2-8 - functional block diagrams of the device.

Устройство содержит блок 1 деигифрации команд процессора, блок 2 приема данных, блок 3 формировани  сигнала прерывани , выходной 4 и входной 5 информационные регистры, блок 6 анализа входного кода обратной св зи , блок 7 формировани -выходного кода обратной св зи, блок 8 передачи данных, выходной 9 и входной 10 управл ющие регистры.The device contains a processor command de-blocking unit 1, a data receiving unit 2, an interrupt signal generating unit 3, output 4 and input 5 information registers, an input feedback code analysis unit 6, a feedback generating code generating unit 7, a feedback data transmission unit 8 , output 9 and input 10 control registers.

Блок 1 дешифрации команд процессора (фиг. 2) содержит коньюнктор 11 (элемент И) приема .команды записи (2И), коньюнктор 12 приема команды чтени  (2И), дешифратор 13 адреса двухвходовой, KOHbiOHKTOp 14 команды записи информации (2И), коньюнктор 15 команды записи управлени  (2И), коньюнктор 16 команды записи режима (2и), коньюнктор 17 команды записи настройки (2И), блок коньюнкторов 18 команд чтении (3 х 2И), первый 19, второй 20, третий 21, четвертый 22, п тый 23. и шестой 24 выходы блока.The processor instruction decryption unit 1 (Fig. 2) contains a conjuncer 11 (element I) of receiving a write command (2I), a conjunctor 12 receiving a read command (2I), a decoder 13 of a two-input address, KOHbiOHKTOp 14 commands for recording information (2I), a conjunctor 15 control write commands (2I), conjuncer 16 write commands (2i), conjuncer 17 write setting commands (2I), block of conjunctors 18 read commands (3 x 2I), first 19, second 20, third 21, fourth 22, fifth 23. and the sixth 24 block outputs.

Блок 8 передачи данных содержит блок коньюнкторов (элементов и) 25 передачи информационного кода (8 X 2И), блок коньюнкторов 26 передачи управл ющего кода (8 х 2И), коньюнктор 27 передачи готовности (2И), блок дизъюнкторов (элементов ИЛИ) 28 передачи данных процессору (7 X 2И), дизъюнктор (элемент ИЛИ) 29 передачи готовности процессору (3 или), первый 30 и второй 31 входы данных блока, вход 32 готовности блока И, вход 33 чтени  блока.The data transmission unit 8 contains a block of conjunctors (elements and) 25 of the transfer of the information code (8 X 2I), a block of conjunctors 26 of the transfer of the control code (8 x 2I), a conjugator of 27 readiness transfer (2I), a block of disjointrs (OR elements) 28 of the transmission data to the processor (7 X 2I), disjunctor (OR element) 29 transfer readiness to the processor (3 or), first 30 and second 31 data inputs of the block, input 32 of the readiness of the block AND, input 33 of the read block.

На фиг. 4 показана одна из возможных реализаций блока формировани  сигнала прерывани , содержащего коньюнктор 34 разрешени  прерывани , триггер 35 разрешени  прерывани , вход 36 установки блока, вход 37 кода режима блока, вход 38 записи кода режима блока.FIG. 4 shows one of the possible implementations of an interrupt signal generating unit comprising an interrupt enable conjugator 34, an interrupt enable trigger 35, a block setup input 36, a block mode code input 37, a block mode code entry input 38.

На фиг. 5 показан пример реализации входного информационного регистр ( буфера) 5, включающего регистр 39 приемника информационный, триггер 40 резрешени  фиксации, элемент НЕ 41FIG. 5 shows an example of the implementation of the input information register (buffer) 5, which includes the receiver register 39 information, the fix resolution trigger 40, the HE element 41

фиксации, дизъюнктор 42 фиксацииfixation, disjunctor 42 fixation

(2 ИЛИ) , вход 43 данных блока, вход .(2 OR), input 43 block data, input.

44записи кода режима блока, вход44 block mode code entries, input

45фиксации данных блока и выход45fixing block data and output

46блока.46 block.

На фиг. 6 приведены реализаци  входного управл ющего регистра (буфера ) 10, содержащего {Регистр 47 приемника управл юишй, триггер 48 разрешени  фиксации, элемент НЕ 49 фиксации, дизъюнктор 50 фиксации FIG. 6 shows the implementation of the input control register (buffer) 10 containing {Register 47 receiver control, trigger fixation trigger 48, fix element NOT 49, fixation disjunctor 50

0 |(2ИЛИ), вход 51 данных блока, вход 52 записи кода режима блока, вход 53 фиксации данных, блока и выход 54 блока.0 | (2ILI), block data input 51, block mode code entry 52, data blocking input 53, and block output 54.

Блок 6 анализа входного кода об5 ратной св зи (фиг.7) содержит регистры 55-58 маски, элемент НЕ 59 группы , элементы И (коньюнкторы) 60 группы (16 X 2И) , (дизъюнктор) элемент ИЛИ 61 формировани готовности (16 или), элемент (коньюнктор) 62 The unit 6 for analyzing the input feedback code (Fig. 7) contains mask registers 55-58, a group NOT element 59, AND elements (conjunctors) 60 groups (16 X 2I), (disjunctor) readiness element OR 61 readiness formation (16 or ), element (conjunctor) 62

0 разрешени  готовности (2И), триггер 63 готовности, дешифратор 64 адреса регистра маски, триггер 65 разрешени  готовности, вход 66 кода обратной св зи блока, вход 67 данных бло5 ка, вход 68 записи кода настройки блока, выход ь9 записи кода режима блока, вход 70 сброса блока и выход 71 готовности блока.0 readiness enable (2I), readiness trigger 63, decoder 64 of mask register address, readiness enable trigger 65, block feedback code input 66, block data input 67, block setup code entry input 68, block mode code entry output, block reset input 70 and block readiness output 71.

Блок 7 формировани  выходного ко0 да обратной св зи (фиг. 8) содержит регистры 72-77 управлени , элементы И (коньюнкторы) 7В, 79 и 80 первой, второй и третьей групп, элементы ИЛИ (дизъюнкторы) 81 группы автомати5 ческого кода управлени  (8x3 ИЛИ), дешифратор 82 адреса регистра управлени , формирователь 83 импульсов готоЕности, триггер 84 разрешени  управлени  i.o записи, триггер 85 The feedback output code generation unit 7 (FIG. 8) contains control registers 72-77, AND elements (conjunctors) 7B, 79, and 80 of the first, second, and third groups, and OR elements (disjunctors) 81 of the automatic control code group ( 8x3 OR), the address register decoder 82, the driver of 83 readiness pulses, the control resolution trigger 84 io write, the trigger 85

0 разрешени  управлени  по чтению,триггер 86 разрешени  управлени  по готовности , элементы И (коньюнкторы) 87-89 разрешени  управлени  по записи (2И) по чтению (2и), и по готовности (2И), элемент ИЛИ (дизь5 юнктор) 90 автоматической записи кода управлени  (3 ИЛИ), вход 91 данных блока, вход 92 записи кода настройки блока, вход 93 записи кода режима блока, вход 94 выборки 0 read control permissions, read control permission trigger 86, AND control elements (conjunctors) 87-89 write control permissions (2I) on read (2i), and readiness (2I), OR element (disiniter 5) 90 automatic recording control code (3 OR), block data entry 91, block setup code entry entry 92, block mode code entry entry 93, sampling input 94

0 кода обратной св зи по готовности блока, вход 95 выборки кода обратной св зи при чтении блока, вход 96 выборки кода обратной св зи при записи блока, выход 97 данных 0 feedback code on the readiness of the block, input 95 sample feedback code when reading a block, input 96 sampling feedback code when writing a block, output 97 data

5 блока и выход 90 сопровождени  данных блока.5 blocks and 90 output of block data.

Блок 2 приема данных от процессора представл ет собой блок стандартных шинных формирователей, блок 8 передачи данных процессору  вл 0 етс  коммутирующей управл емой схемой, подключаю1:1ей к своему выходу один из трех информацнонных входов в зависимости от управл. сиг5 нала.The data reception unit 2 from the processor is a block of standard bus drivers, the data transfer unit 8 to the processor is a switching controlled circuit, connecting 1: 1 to one of its three information inputs to its output, depending on the controls. sig5 nal.

Блок 1 дешифрации команд центральной системы предназначен дл  приема команд процессора и формировани  по ним внутренних управл ющих команд устройства.The unit 1 for decrypting the commands of the central system is designed to receive the instructions of the processor and form on it the internal control commands of the device.

Блок 2 приема данных св зывает выходную шину данньох процессора с внутренней шиной данных- устройства. Данные, поступающие из процессора, в зависимости от сопровождающих их команд записи предназначены либо дл  установки требуемых режимов ра .боты устройства/ либо дл  Застройки блоков устройства на заданный алгоритм обмена информацией с заданным устройством ввода-вывода (ВУ),либо дл  передачи ее в ВУ.The data receiving unit 2 couples the output bus of the processor to the internal data bus of the device. The data coming from the processor, depending on the accompanying write commands, are intended either to set the required device operation modes / or to Block the device’s blocks for a given information exchange algorithm with a given input / output device (WU) or to transfer it to the slave unit. .

Блок 8 передачи данных центральной системы предназначен дл  передачи данных в процессор по командам чтени , получаемым от ВУ или сформированных внутри устройства сопр жени . Блок 3 формировани  сигнала прерывани  предназначен дл  формировани  сигнала прерывани , сообщающего процессору о готовности устройства сопр жени  продолжать обмен информацией с ВУ. В регистрах (буферах) 4 и 9 формируютс  две группы независимых параллельных каналов передачи данных в ВУ. Разр дность этих регистров определ етс  количеотвом линий шины данных.Буфер 4 в отличии от буфера 9 имеет два входа данных и- соответственно два вх да записи, т.е. кроме функции хранени  данных, буфер 9 выполн ет функцию мультиплексированию данных,поступающих по первому или второму его входам. Два входных регистра (буфера ) информационный 5 и управл ющий 10 Сформируют две группы независимых параллельных каналов приема данных ВУ. Оба регистра выполн ют функции и хранени  данных и имеют разр дност равную разр дности выходных регистро устройства. Входные регистры, кроме того, содержат управл ющие схемы,позвол ющие в зависимости от записанного в них кода режима независимо разрешать или запрещать функцию фиксации данных в этих регистрах.The data transmission unit 8 of the central system is designed to transmit data to the processor by reading commands received from the slave or generated inside the interface device. The interrupt signal generating unit 3 is designed to generate an interrupt signal informing the processor that the interface device is ready to continue the exchange of information with the slave. In registers (buffers) 4 and 9, two groups of independent parallel data transmission channels in slaves are formed. The size of these registers is determined by the number of data bus lines. Buffer 4, unlike buffer 9, has two data inputs and, respectively, two input and output records, i.e. In addition to the data storage function, the buffer 9 performs the function of multiplexing data arriving at its first or second input. Two input registers (buffers) information 5 and control 10 Form two groups of independent parallel channels for receiving data of a slave. Both registers perform the functions and data storage and have a width equal to the size of the output register of the device. The input registers also contain control circuits that allow, depending on the mode code recorded in them, to independently allow or prohibit the data capture function in these registers.

Выходы этих регистров св заны с соответствующими входами блока 8 передачи данных. Выход регистра ID св зан также с входом кода обратной св зи блока б анализа входного кода обратной св з дл  выполнени  функции универсального автаноммого управлени  ВУ. Блок 6 анализа входного кода обратной св зи предназначен дл  определени  момента по влени  на заданных выходных управл ющих каналах ВУ, поступающих на регистр 10, сигналов заданной формы, формирующих определенный входной код обратной св зи. В момент сформировани  заданного кода на выходе этого блока вырабатываетс  сигнал готовности, о-беспечивающий замыкание внутренней обратной св зи, реализукхцей функцию универсального автономного управлени  и выполн ющий, р д других независимых функций внутреннего управлени . Блок 7 формировани  выходного кода обратной св зи предназначен дл  формировани  на его выходе данных кода, определ емого сигналами, поступающими по его входам выборки, и дл  выработки на выходе сопровождени  сигнала дл  переписи этих кодов в выходной управл ющий регистр.The outputs of these registers are connected to the corresponding inputs of the data transmission unit 8. The output of the ID register is also associated with the input of the feedback code of the block b of the analysis of the input feedback code for performing the function of universal autonomous control of the slave. The unit 6 for analyzing the input feedback code is designed to determine the moment on which the given output control channels of the slave, arriving at the register 10, of signals of a given shape, which form a certain input feedback code. At the moment of generating a given code, the ready signal is generated at the output of this block, ensuring the closure of the internal feedback, realizing the universal autonomous control function and performing a number of other independent internal control functions. The feedback code generation unit 7 is designed to generate a data code at its output, determined by signals received at its sample inputs, and to generate a signal at the output of a tracking signal for rewriting these codes into an output control register.

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

В исходном состо нии, все внутренние автономные функции устройства запрещены .In the initial state, all internal autonomous functions of the device are prohibited.

С точки зрени  процессора устройство представл ет собой два независимо адресуе 1ых выходных регистра 4 и 9 и два входных регистра 5 и 10.From the point of view of the processor, the device is two independently to the address of the first output registers 4 and 9 and two input registers 5 and 10.

По командам записи данных в регистр 4 или 9 данные, поступающие из процессора через блок 2, запоминаютс  в одном из указанных регистров с помощью сигналов, поступающих по их входам записи данных. По командам чтени  данных, поступающим на вход чтени  блока 2, информаци , снимаема  с регистра 5 или 10, в зависимости от адреса, указанного в команде , поступает в процессор.By writing data to the register 4 or 9, the data received from the processor through block 2 is stored in one of the indicated registers with the help of signals received at their data recording inputs. The data reading commands received at the input of the reading unit 2, information removed from register 5 or 10, depending on the address specified in the command, enters the processor.

ФУНКЦИИ фиксации данных в регистрах 5 и 10, функции внутреннего автономного управлени , а также функци  прерывани .не используютс . Этот режим идентичен режиму О прототипа.The functions of capturing data in registers 5 and 10, internal autonomous control functions, and the interrupt function are not used. This mode is identical to the On mode of the prototype.

Основным режимом работы устройства  вл етс  режим с использованием функций, выполн емых блоками б и 7, обеспечивающими режим универсального автономного управлени  ВУ.The main mode of operation of the device is the mode using the functions performed by blocks b and 7, providing the mode of universal autonomous control of the slave.

По командам записи кода режима блоки 6 и 7 включаютс  в работу.Коды режимов поступают по входам данных, независимо разреша  или запреща  формирование сигнала готовности (ГТ) блока 6 и любую из выборок кода обратной св зи по соответствующим входным командам выборки в блоке 7.The commands for writing the mode code blocks 6 and 7 are included in the operation. Mode codes arrive at the data inputs, independently allowing or disallowing the formation of the ready signal (GT) of block 6 and any of the feedback code samples from the corresponding input sample commands in block 7.

Перед началом обмена информацией блоки 6 и 7 программно настраиваютс  на заданный алгоритм управлени  ВУ путем записи в них по соответствующим командам записи кодов настройки , поступающих по входным шинам данных этих блоков. Причем установка режима и настройка устройства осуществл ютс  только один раз,после чего обмен выполн етс  всего по одной команде чтени  или записи информации .Before the exchange of information begins, blocks 6 and 7 are programmatically tuned to a predetermined WU control algorithm by writing to them using the corresponding commands to write tuning codes that arrive on the input data buses of these blocks. Moreover, the setting of the mode and the setting up of the device are carried out only once, after which the exchange is performed on just one command to read or write information.

По команде записи данных в информационный байт, передаваемый из процессора , помещаетс  в регистр 4. Одновременно по этой же команде осуществл етс  выборка из блока 7 уп равл ющего байта запроса ВУ. После этого процессор освобождаетс  от обслуживани  устройства. Upon a command to write data to the information byte transferred from the processor, it is placed in register 4. At the same time, the same command is used to select the slave request control byte from block 7. Thereafter, the processor is released from the maintenance of the device.

По коду запроса ВУ включаетс  в работу, чита  информационный байт, записанный в регистре 4. Закончив цикл работы, ВУ выставл ет код подтверждени , про вл ющийс  на выходе входного регистра 10 и затем на входе кода обратной св зи блока 6, на выходе которого формируетс  сигнал готовности ГТ.According to the request code, the VU is put into operation, read the information byte recorded in register 4. After completing the work cycle, the VU exposes a confirmation code that appears at the output of input register 10 and then at the input of the feedback code of block 6, at the output of which signal readiness GT.

По этому сигналу в блоке 7 осуществл етс  выборка нового кода обратной св зи, передаваемого в регистр 9, автоматически снимаетс  выставленный запрос, и/или устанавлива  при необходимости новый.On this signal, in block 7, a new feedback code is transmitted, sent to register 9, the request is automatically removed, and / or a new one is set if necessary.

Одновременно сигнал готовности Г поступает в регистры 5 и 10,,фиксир поступающие в них данные из ВУ,если соответствующие функции, реализуемы в этих регистрах, разрешены кодами режима. Кроме этого, сигнал готовности поступает на вход ГТ блока 8 в блок 3. Последний -вырабатывает на входной управл ющей щине процессора сигнал прерывани , если данна  функци  разрешена кодом режима, предвартельно записанным в блок,At the same time, the ready signal G arrives in registers 5 and 10, fixed by the incoming data from the slave, if the corresponding functions implemented in these registers are allowed by mode codes. In addition, the readiness signal is fed to the input of the GT block 8 to block 3. The latter generates an interrupt signal on the input control panel of the processor, if this function is enabled by a mode code previously recorded in the block,

Процессар узнает о готовности устройства либо программно (анализиру  сигнал ГТ с помощью команды чтени  ГТ), либо через механизм прерывани . Получив готовность, процессор выдает следующую команду записи на устройства, передава  очереной информационный байт.The processor learns that the device is ready either programmatically (by analyzing the GT signal using the GT read command) or via the interrupt mechanism. Having received readiness, the processor issues the following write command to the devices, passing the blackened information byte.

Чтение данных, поступающих из ВУ в процессор, происходит в следующей последовательности. ВУ выставл ет очередной информационный байт, поступающий в регистр 5, и по -одной или нескольким входным управл ющим шинам код запроса, поступающий в регистр 10. Код запроса с выхода этго регистра поступает на вход кода обратной св зи блока 6.В момент по влени  требуемого кода на выходе этого блока формируетс  сигнал готовности ГТ, выполн ющий те же функции , как и при записи информации.The reading of data from the processor to the processor occurs in the following sequence. WU exposes the next information byte arriving in register 5, and, after one or several input control buses, the request code entering register 10. The request code from the output of this register goes to the input of the feedback code of unit 6. At the moment of appearance The required code at the output of this block generates a GT ready signal, performing the same functions as for recording information.

Из блока 7 выбираетс  код обратной св зи и записываетс  в выходной управл ющий регистр, сообща  ВУ о зан тости устройства. Восприн в сигнал готовности из устройства одним из указанных ранее способов,процессор выдает команду чтени , обеспечивающую передачу через блок 8 данных, поступающих -из регистра 5. Одновременно из блока 7 выбираетс  новый код, поступающий в регистр 9 дл  указани  устройству ввода-вывода об освобождении устройства дл  приема следующего информациолного байта.From block 7, the feedback code is selected and written into the output control register, together with the VU when the device is occupied. Considering the readiness signal from the device in one of the previously mentioned ways, the processor issues a read command that transfers data received from the block 8 - from register 5. At the same time, from block 7 a new code is selected that goes to register 9 to indicate the release I / O device devices for receiving the next informational byte.

Вход, сброса блока 6 используетс  дл  сброса установленного внутреннего сигнала готовности после того, как процессор восприн л его. Сброс осуществл етс  по каждой команде чтени  дл  записи данных из устройства.Input, reset of block 6 is used to reset the set internal ready signal after the processor has received it. A reset is performed on each read command to write data from the device.

Описанна  структура чтени  и записи данных, передаваемых через устройство сопр жени   вл етс  наиболее характерной дл  большинства ВУ,однако не единственно возможной дл  данного устройства.The described structure of reading and writing data transmitted through the interface device is the most typical for the majority of slaves, but not the only one possible for this device.

В частности, всегда независимо от In particular, always regardless

o использовани  этой функции можно записать любой код в регистр 9 или прочесть код, хран щийс  в регистре 10, не измен   режимов работы устройства.By using this function, you can write any code to register 9 or read the code stored in register 10 without changing the device's modes of operation.

Люба  из внутренних управл ющих Luba of the internal managers

15 функций функции фиксации данных в регистрах 5 и 10, функци  выборки кода обратной св зи из блока 7 и функци  прерывани  может быть разрешена или запрещена незави0 симо от других.15 functions of the data latching function in registers 5 and 10, the function of sampling the feedback code from block 7 and the interrupt function can be enabled or disabled regardless of others.

Важно отметить отличи , нос щие не принципиальный характер, между данным устройством и устройствомпрототипом .It is important to note the differences, which are not fundamental in nature, between this device and the prototype device.

В прототипе реализуютс  три режима The prototype implements three modes.

5 работы, причем в первых двух режимах можно .управл ть направлением включени  регистров группы А и группы В.5, and in the first two modes it is possible to control the direction of the inclusion of registers of group A and group B.

Однако дл  большинства ВУ, байтовый формат передачи данных, However, for most slaves, the byte data transfer format

0 обычной конфигурацией устройства сопр жени   вл етс  конфигураци , со-, держаща  один параллельный восьмиразр дный выходной регистр, один параллельный восьмиразр дный входной 0, the common configuration of the interface device is a configuration holding one parallel eight-bit output register, one parallel eight-bit input

5 регистр дл  обмена данными и набор входных и выходных управл ющих каналов , содержащий от 2 до 16 линий.5 register for data exchange and a set of input and output control channels containing from 2 to 16 lines.

Поэтому конфигураци  данного устройства зафиксирована: регистры 4 и  Therefore, the configuration of this device is fixed: registers 4 and

0 9 всегда выдают данные на ВУ, а регистры 5 и 10 всегда принимают данные от ВУ. Всерегистры имеют одинаковую разр дность.0 9 always give data to the control unit, and registers 5 and 10 always receive data from the control unit. All registers have the same bit depth.

В результате в устройстве возможен широкий набор режимов работы, As a result, a wide range of operating modes is possible in the device.

5 перекрывающий все возможные режимы прототипа (кроме двунаправленного режима), а также создающий новые возможности по управлению широким классом ВУ.5 overlapping all possible modes of the prototype (except for the bidirectional mode), as well as creating new opportunities for controlling a wide class of high-voltage devices.

00

Введенные программно настраиеваемые блоки, блок анализа входного кода обратной св зи 6 и блок формировани  выходного кода обратной св зи 7, делают -управл ющий режим ра5 боты устройства универсальным.The introduced software-adjustable blocks, the block of input code analysis for feedback 6, and the block for generating the output code for feedback 7 make the control mode of the device universal.

В предлагаемом устройстве реализуетс  внутренн  , автономна , многоканальна  с перекрестной коммутацией каналов функций управлени .In the proposed device is implemented internally, autonomously, multichannel with cross-switching of control function channels.

Блок анализа выходного кода обО ратной св зи, предварительно программно настроенный на заданный код, позвол ет зафиксировать момент по влени  определенного Фронта сигнала на одном или нескольких входныхThe unit for analyzing the output code of the feedback link, which is pre-programmatically adjusted to a given code, allows you to record the time of the appearance of a certain signal front on one or several input signals.

каналах входного управл ющего регистра . При этом независимо управл ютс  как сами пол рности фронтов, так и номера каналов.input control register channels. In this case, both the polarity of the fronts themselves and the channel numbers are independently controlled.

Блок 7 формировани  выходного кода обратной св зи позвол ет по одному из входных сигналов выборки установить в регистре 9 любой (наперед заданный) код, формиру  тем самым любой уровень на любом выходном управл ющем канале. В результате автономно (без участи  процессора) реализуетс  универсальное внутреннее многоканальное с перекрестной коммутацией каналов управление ВУ.The feedback code generation unit 7, in one of the input signals of the sample, sets in register 9 any (predetermined) code, thereby forming any level on any output control channel. As a result, a universal internal multichannel cross-switched channel control of the slave is realized autonomously (without the processor).

Блоки устройства работают следующим образом.The blocks of the device are as follows.

Коньюнкторы 11 приема команды записи и 12 приема команды чтени  блока 1 предназначены дл  приема с управл ющей шины процессора сигналов записи и чтени , обращенных к данному ycTpoftcTBy. Дешифратор 13 служит дл  дешифрации, двух линий адресной шины процессора и дл  управлени  коньюнкторами 14-17 команд записи и блоком 18 коньюнкторов команд чтени . По команде записи, обращенно к данному устройству, адрес, установленный на входе дешифратора 13, открывает только один из коньюнкторов . В результате сигнал записи с выхода коньюнктора 11 проходит на выход только одного из указанных коньюнкторов, формиру  только один и внутренних сигналов записи; записи информации, записи управлени , записи режима или записи настройки. По сигналу записи информации, снимаемому с выхода 19 блока, информационный восьмиразр дный i код с внутренней шины записываетс  в регистр 4. По сигналу записи управлени , снимаемому с выхода 20, этот код записываетс  в регистр 9. По сигналу записи режима, снимаемому с выхода 21 блока, значени  отдельных разр дов кода, установленного на шине данных записываютс  в соответствующие триггеры разрешени  блоков 3,5,6 и 7. По сигналу записи настройки, снимаемому с выхода 23 блока 1, значени  четырех млади1их разр дов кода шины данных, записываютс  и один из четырех регистров маски блока 6 или в один из шести регистров управлени  блока 7. Приэтом старшие разр ды (четыре) кода шины данных используютс  дл  адресации одного из этих дес ти регистров. По команде записи также независимо от значени  адреса на выходе дешифратора 13 формируетс  на выходе 24 блока 1 сигнал сброса триггера готовности в блоке б. По команде чтени , обращенной к данному устройству, на втором входе блока 18 коньюнкторов команд чтени  по вл е.тс  сигнал чтени .Conjunctors 11 receiving a write command and 12 receiving a read command from block 1 are designed to receive from the control bus of the processor the write and read signals addressed to this ycTpoftcTBy. The decoder 13 serves to decipher the two lines of the processor’s address bus and to control the write commands 14-17 and the read command conjunctors 18. At the write command that is addressed to this device, the address set at the input of the decoder 13 opens only one of the conjunctors. As a result, the recording signal from the output of the conjuncer 11 passes to the output of only one of these conjunctors, forming only one and the internal recording signals; recording information, recording management, recording mode, or recording settings. According to the information recording signal taken from the output of block 19, the information eight-bit i code from the internal bus is written to register 4. By the control recording signal taken from output 20, this code is written to register 9. By the recording signal of the mode taken from output 21 the block, the values of the individual bits of the code installed on the data bus are recorded in the corresponding resolution triggers of blocks 3,5,6 and 7. By the signal of the tuning record taken from the output 23 of block 1, the values of the four small bits of the data bus code are recorded and one of the four mask registers of block 6 or one of the six control registers of block 7. In this case, the higher bits (four) of the data bus code are used to address one of these ten registers. The write command also, regardless of the value of the address at the output of the decoder 13, generates at the output 24 of block 1 a reset readiness trigger signal in block b. Upon a reading command addressed to this device, a read signal appears in the second input of the block 18 of conjunctors of reading commands.

Блок 18 состоит из трех элементов И, управл емых с выхода дешифратора 13. На выходе блока 18 могут формироватьс  три сигнала чтени : чтени  информации, чтени  управлени  и чтени  готовности, определ емые трем  значени ми адреса: адреса информации , адреса управлени  и адреса готовности соответственно. Сигнал чтени  с выхода 22 блока 1, определ емый адресом информации, управлени  или готовности, управл ет передачей в процессор или информационного кода из регистра 39, или управл ющего кода из регистра 47, или код готовности из триггера 63 готовности Кроме того, по сигналу записи информации или по сигналу чтени , определ емому адресом информации, осуществл ютс  выборка из блока 7 соответствующего управл ющего кода и запись его в регистр 9.Block 18 consists of three AND elements controlled from the output of the decoder 13. The output of block 18 can generate three read signals: read information, read control and read readiness, defined by three address values: information addresses, control addresses and readiness addresses, respectively . The read signal from the output 22 of block 1, defined by the address information, control or readiness, controls the transfer to the processor or the information code from the register 39, or the control code from the register 47, or the readiness code from the ready trigger 63 information or by a read signal, determined by the address of the information, a sample is taken from block 7 of the corresponding control code and written to register 9.

Блоки 25 и 26 элементов И (коньюнкторов ) передачи управл ющего кода блока 8 предназначены дл  передачи в процессор из ВУ информационного или управл ющего крдов соответственно . Коньюнктор 27 передачи готовности предназначен дл  передачи в процессор сигнала готовности, формируемого , внутри устройства (в блоке 6) по управл ющему коду. Передачи через указанные блоки 25,26 и 27 синхронизируютс  управл ющими сигналами чтени , снимаемыми с входа 33 чтени  блока 8. По сигналу чтени , определ емому адресом информации или адресом управлени , восьмиразр дный информационный код, поступающий на вход 30 или восьмиразр дный управл ющий код, поступающий на вход 31, проходит через блоки 25 или 26 соответственно . Причем младшие 7 разр дов информационного или управл ющего кодов поступают на блок 28 дизъюнкторов, а старший восьмой разр д поступает на дизъюнктор 29, на одном из входов которого поступает сигнал готовности, синхронизированный на коньюнкторе 27 сигналом чтени , определ емым адресом готовности.Blocks 25 and 26 of the elements And (conjunctors) of the transmission of the control code of the block 8 are intended to transmit information or control chips to the processor from the VU, respectively. A readiness transfer conjugator 27 is designed to transmit to the processor a ready signal generated inside the device (in block 6) using the control code. The transmissions through the indicated blocks 25, 26 and 27 are synchronized by the read control signals taken from the read input 33 of block 8. By the read signal determined by the information address or the control address, an eight-bit information code inputted to input 30 or an eight-bit control code arriving at input 31, passes through blocks 25 or 26, respectively. Moreover, the lower 7 bits of the information or control codes arrive at a block of 28 disjointrs, and the high eighth bit goes to a disjunctor 29, at one of the inputs of which a readiness signal is received, synchronized on the conjunctor 27 by a read signal determined by the readiness address.

Триггер. 35 разрешени  прерывани  блока 3 предназначен дл  запоминани  одноразр дного признака разрешени  формировани  запроса прерывани  к процессору. Если триггер 35 находитс  в единичном состо нии, коньюнктор 34 раз эешени  прерывани  пропускает сигнал готовности, снимаемый со входа38 установки блока. Если этот триггер находитс  в нулевом состо нии, коньюнктор 34 закрыт и сигнал готовности блокируетс . Признак разрешени  записываетс  в триггер 35 с определенного разр да шины данных, поступающего на вход 36 кода режима, по сигналу записиTrigger. 35, the interrupt enablement of the block 3 is intended for storing a one-bit indication of permitting the generation of an interrupt request to the processor. If the trigger 35 is in the single state, the conjugator 34 times the interrupt rate skips the ready signal, removed from the input 38 of the unit installation. If this trigger is in the zero state, the connector 34 is closed and the ready signal is blocked. The permission indication is written to the trigger 35 from a certain bit of the data bus, which enters the input 36 of the mode code, at the write signal

режима, поступающему на вход 37 записи койа режима. . Конструктивно регистры 5 и 10 выполнены идентично. Информационныйmode, the input to the record 37 Coy mode. . Structurally, registers 5 and 10 are identical. Informational

39и управл ющий 47 регистры приемника служат дл  приема и хранени  кодов, поступающих от ВУ, информационного и управл ющего соответственно . Триггеры разрешени  40 и 48, элементы НЕ 41 и 49 и дизьюнкторы 42 и 50 фиксации предназначены дл  управлени  защелкиванием по сигналу готовности данных в регистрах 39 и 47 соответственно.Признаки разрешени  фиксации (или защелкивани ) записываютс  в триггеры39 and control 47 registers of the receiver are used to receive and store codes from the WU, information and control, respectively. The resolution triggers 40 and 48, the HE elements 41 and 49 and the fixation disjunctors 42 and 50 are designed to control latching on the readiness signal of the data in registers 39 and 47, respectively. Signs of the resolution of fixing (or latching) are recorded in the triggers

40и 48 с определенных разр дов шины данных поступакхцих на входы 45 и 51, по сигналу записи режима,поступающему на входы 44 и 52 записи кодов режима соответственно. Единичные сигналы на выходах триггеров через соответствующие дизъюнкторы поступают на входы регистров, отключа  функцию фиксации. Если на выходах триггеров разрешени  - нулевые сигналы, то значени  сигналов40 and 48 from certain bits of the data bus arriving at inputs 45 and 51, according to the mode recording signal received at inputs 44 and 52 of the recording of mode codes, respectively. Single signals at the outputs of the flip-flops through the corresponding disjointrs arrive at the inputs of the registers, disabling the latching function. If at the outputs of the resolution triggers are zero signals, the signal values

на; входах регистров 39 и 47 определ ютс  сигналом готовности, подаваемым на входы 45 и 53 фиксации данных соответственно. В момент перехода сигнала готовности из нулевого значени  в единичное на входах регистров устанавливаетс  нулевой сигнал, фиксирующий Данные, хран щиес  в этих регистрах.on; inputs of registers 39 and 47 are determined by a ready signal supplied to inputs 45 and 53 of data latching, respectively. At the moment of the readiness signal transition from zero to one, a zero signal is set at the inputs of the registers, fixing the data stored in these registers.

Блок 6 включает в себ  пам ть дл  хранени  кода маски, схему маскировани  пр мых и инверсных значении разр дов кода обратной св зи и схему формировани  выходного сигнала готовности. Четыре четырехразр дных регистра 55-58 маски предназначены дл  хранени  16-разр дного кода маски, управл ющего элементами И 60 маскировани . Коды в регистры записываютс  с четырех младших разр дов шины данных, снимаемых с входа 67 данных. При этом старшие четыре разр да кода, снимаемые с этого же входа,поступают на второй вход дешифратора 64, предназначенного дл  указани  номера регистра, в который производитс  запись кода. Запись в регистры синхронизируетс  сигналом записи настройки, поступающим с вход 68. Схема маскировани  выполнена на элементах и 60 и элементе ИЛИ-61. На выходе которого пропускаетс  дизъюнкци  тех пр мых или- инверсных значений разр дов, снимаемых с входа 66 и с выхода элементов НЕ 59, которым соответствуют единичные значени  разр дов кода маски.Unit 6 includes a memory for storing the mask code, a masking scheme for direct and inverse values of the feedback code bits, and a scheme for generating the output readiness signal. The four four-bit mask registers 55-58 are designed to store the 16-bit mask code controlling the masking elements AND 60. Codes in registers are written to the four lower data bus bits taken from data input 67. In this case, the upper four bits of the code, taken from the same input, are fed to the second input of the decoder 64, intended to indicate the number of the register to which the code is written. The writing to the registers is synchronized with the setting recording signal coming from the input 68. The masking scheme is performed on the elements and 60 and the OR-61 element. The output of which passes the disjunctions of those direct or inverse values of bits taken from input 66 and from the output of elements NOT 59, which correspond to unit values of bits of the mask code.

Схема формировани  выходного сигнала готовности включает в себ  триггер 63 и элемент И 62 разрешени  готовности. Дл  фиксации момента по влени  готовности, т.е. згщанного кода обратной св зи, может быть-, использован стандартный триггер с : синхронизирующим входом записи. Выход элемента И 62 в этом случае должен быть подключен к синхронизирующему входу триггера.The readiness output signal generating circuit includes a trigger 63 and a read permission enable element 62. To fix the moment of readiness, i.e. A locked feedback code can be used; a standard trigger with a: sync recording input. The output of the element And 62 in this case must be connected to the sync input of the trigger.

При единичном значении выходного сигнала триггера сигнал с выхода дизьюнктора 61 проходит через конъюнктор 62 и запоминаетс  в триггере 63, в противном случае этот With a single value of the trigger output signal, the signal from the output of the disjunctor 61 passes through the conjunctor 62 and is stored in the trigger 63, otherwise this

0 сигнал блокируетс , и следовательно, сигнал готовности на выходе 71 готовности блока 6 не формируетс .Признак разрешени  записываетс  в триггер 65 с определенного разр да шины данных, поступающего на вход 67 блока,по сигналу записи режима, поступающему на вход 69 записи кода режима . Триггер 63 сбрасываетс  по сигналу , поступающему с входа 70 сброса блока.0, the signal is blocked, and therefore, a readiness signal is not generated at the output 71 of readiness of block 6. The permission sign is written to the flip-flop 65 from a certain bit of data bus to the input 67 of the block, according to the recording signal of the mode entering the recording 69 of the mode code. The flip-flop 63 is reset on a signal from the block reset input 70.

00

Блок 7 содержит пам ть дл  хранени  выходных кодов обратной св зи (управл ющих кодов, передавае ых в регистр 9), схему выборки из этой пам ти и схему формировани  сигнала записи этих данных в регистр 9. Три пары четырехразр дных регистров управлени  72-77 образуют три регистра дл  хранени  восьми разр дных кодов управлени  при записи, при чтении и по готовности соответственно. Коды в эти регистры записываютс  с четырех младших разр дов шины данных , снимаемых с входа 91 данных. При этом старшие четыре разр да шины , снимаемые с этого входа, поступают на второй вход дешифратора 82, предназначенного дл  указани  номера регистра, в которы производитс  запись кода. Запись в регистры синхронизируетс  сигналом записи настройки , поступающим с входа 22 на дешифратор .Block 7 contains a memory for storing feedback output codes (control codes transmitted to register 9), a sampling circuit from this memory, and a signal shaping circuit for writing this data to register 9. Three pairs of four-bit control registers 72-77 form three registers for storing eight-bit control codes when writing, when reading, and when ready, respectively. Codes in these registers are written to the four lower data bus bits taken from data input 91. In this case, the top four bits of the bus, taken from this input, go to the second input of the decoder 82, intended to indicate the number of the register to which the code is written. The writing to the registers is synchronized by the setting write signal coming from the input 22 to the decoder.

Схема выборки данных выполнена на трех группах элементов И 78-80 и элементах ИЛИ 81. При подаче на входы элементов И 78-80 сигналов выборки с входов 95 и 96 и.с выхода формировател  83 на выходах этих элементов И и на выходе 97 по в тс  коды управлени  по записи, по чтению или по готовности соответственно. Причем формирователь 83 служит дл  формировани  короткого импульса по сигналу готовности, поступающему с входа 94 вЫборки кода обратной св зи по готовности блока.The data sampling scheme is performed on three groups of elements AND 78-80 and elements OR 81. When the inputs of elements 78 and 80 are fed to the inputs, samples are taken from inputs 95 and 96 and s from the output of the driver 83 at the outputs of these elements And and at output 97 to control codes for write, read, or readiness, respectively. Moreover, the shaper 83 serves to generate a short pulse according to the readiness signal received from the input 94 of the Sample feedback code on the readiness of the block.

Схема формировани  сигнала записи включает в ce6rf элемент ИЛИ 90 .элементы И 87, 88 и 89 и три триггера 84, 85 и 86. При единичных значени х выходных сигналов этих триггеров сигналы, поступающие с входов 96,95 и с выхода формировател  83, проход т через элементы И 87, 88 и 89 и формируют на выходе элемента ИЛИ 90 и на выходе 98 сигнал дл  записи кода обратной св зи в регистр 9. При нулевых значени х вьоходных сигналов триггеров формирование сигнала на выходе 98 блока блокируетс . Признаки разрешени  записываютс  в триггеры 84,85 и 86 определенных разр дов шины данных, поступающих на вход 91.The recording signal shaping circuit in ce6rf includes the element OR 90. And 87, 88 and 89 elements and three flip-flops 84, 85 and 86. With single values of the output signals of these flip-flops, the signals coming from the inputs 96.95 and from the output of the former 83, pass t through elements 87, 88 and 89 and form at the output of the element OR 90 and at output 98 a signal for writing the feedback code to the register 9. At zero input trigger signals, the formation of a signal at block output 98 is blocked. Permission indications are recorded in the 84.85 and 86 triggers of certain data bus bits received at input 91.

Таким образом, область применени  устройства расширена за счет предоставлени  возможности настройки интерферента применительно с конкретными ВУ, подключенными к данному устройству. При этом по сравнению с прототипом устройство имеет более высокое быстродействие.Thus, the field of application of the device is expanded by providing the ability to adjust the interfering with specific VU connected to this device. In this case, compared with the prototype, the device has a higher speed.

Claims (3)

1. Устройство дл  сопр жени  процессора с устройствами ввода-вывода, содержащее блок приема данных, блок передачи данных,блок дешифрации, команд процессора, блок формировани  сигналов прерывани , выходные и входные информационные и управл ющие регистры, причем выход блока приема данных соединен со входом кода режима блока формировани  сигнала прерывани , входами данных входного и выходного информационных регистров и входного управл ющего регистра и первым входом данных выхоного управл ющего регистра,первый и второй выходы блока дешифрации команд процессора подключены соответственно ко входам записи данных выходных информационного и управл ющего регистров, третий вьоход - ко входам записи кода режима блока формировани  сигнала прерывани  и входных управл ющего и информационного регистров , а четвертый выход - ко вход чтени  блока передачи данных, первый и второй входы данных которого соединены соответственно с выходами входных информационного и управл ющего регистров, отлИЧашщеес  тем, что, с целью расширени , области применени  устройства, в него введен блок формировани  выходного кода обратной св зи и блок анализа входного кода обратной св зи, причем выход данных и выход сигнала сопровождени  данных блока формировани  выходного кода обратной св зи соединен соответственно со вторым входом данных и входом записи кода обратной св зи выходного управл ющего регистра,входы выборки кода обратной св зи при записи и при чтении, вход записи кода режима и вход записи кода настройки - соответственно с первым,четвертым , третьим и п тым выходами блока дешифрациИ команд процессора, вход данных - с выходом блока приема данный , а выход выборки хода обратной св зи по готовности - со входами1. A device for interfacing a processor with input / output devices, comprising a data receiving unit, a data transmission unit, a decryption unit, processor commands, an interrupt signal generating unit, output and input information and control registers, the output of the data receiving unit being connected to the input the mode code of the interrupt signal generation unit, the data inputs of the input and output information registers and the input control register, and the first data input of the output control register, the first and second outputs of the block Encryption of processor commands is connected respectively to the data write inputs of the output information and control registers, the third input to the write inputs of the code of the mode of the interrupt signal generation unit and the input control and information registers, and the fourth output to the read input of the data transmission unit, the first and second the data inputs of which are connected respectively to the outputs of the input information and control registers, different from the fact that, in order to expand the field of application of the device, it is entered into it to form the output feedback code and the input feedback code analysis unit, the data output and the output of the data tracking signal of the feedback output code generation unit are connected respectively to the second data input and the feedback recording code entry of the output control register, inputs sampling the feedback code when writing and reading, the entry of the entry of the mode code and the entry of the entry of the setup code, respectively with the first, fourth, third and fifth outputs of the decoding unit of the processor commands, the data input with Exit block receiving active and sample output feedback preparedness stroke - to the inputs фиксации данных входных управл ющего и информационного регистров,входом . установки блока формировани  сигнала прерывани , входом готовности блока передачи данных и выходом блока анат лиза входного кода обратной св зи, входы записи кода, режима, кода настройки и вход сброса подключены соответственно к третьему, п тому и шестому выходам блока дешифрации команд процессора, вход. данных - к fixing the data of the input control and information registers, the input. The settings of the interrupt signal shaping unit, the readiness input of the data transmission unit and the output of the anatomization unit of the input feedback code, the inputs for writing the code, the mode, the setup code and the reset input are connected to the third, right and sixth outputs of the processor decryption unit, input. data - to 0 выходу блока приема данных, а вход кода обратной св зи - к выходу входного управл ющего регистра.0 to the output of the data receiving unit, and the input of the feedback code to the output of the input control register. 2.Устройство по п.1, о т л ичающеес  тем, что блок ана5 лиза входного кода обратной св зи содержлт дешифратор адреса регистра маски, первый вход которого соединен со входом записи кода настройки блока, второй вход - со входом данных блока и первыми входами перв.ого 0 четвертого регистров маски и триггера разрешени  готовности, а выходы со вторыми входами соответствующих регистров маски, выходы которых подключены к первым входам элементов И 2. The device according to claim 1, that the unit for analyzing the input feedback code contains the decoder of the mask register address, the first input of which is connected to the input of the block configuration code entry, the second input - to the data input of the block and the first inputs the first 0 of the fourth mask register and the enable enable trigger, and the outputs with the second inputs of the corresponding mask registers, the outputs of which are connected to the first inputs of the AND elements 5 группы, вторыми входами соединенных со входом обратной св зи и входами элементов НЕ группы, третьими входами - с выходами элементов НЕ группы, а выходами - с соответствующими вхо0 дами элемента ИЛИ, выход которого подключен к первому входу элемента И, вторым входом соединенного с выходом триггера разрешени  готовности, второй вход которого  вл етс  входом 5 groups, second inputs connected to the feedback input and inputs of the NOT elements of the group, third inputs from the outputs of the NOT elements of the group, and outputs to the corresponding inputs of the OR element whose output is connected to the first input of the AND element, second input connected to the output availability enable trigger, the second input of which is the input 5 записи кода режима, а выходом - с первым входом триггера готовности, второй вход и выход которого  вл ютс  соответственно входом броса и выходом блока.5 records of the mode code, and the output is with the first input of the ready trigger, the second input and output of which are respectively the input of the throw and the output of the block. 00 3.Устройство по П.1, о т л ичающеес  тем, что блок формировани  выходного кода обратной св зи содержит шесть регистров управлени , первые входы которых подкл эчены к соответствующим выходам 3. The device according to claim 1, which is based on the fact that the block forming the output feedback code contains six control registers, the first inputs of which are connected to the corresponding outputs 5 дешифратора регистра управлени , первым входом соединенного со входом записи кода настройки блока, а вторым - со входом данных блока, вторыми входами регистров управлени  и 5 decoder control register, the first input connected to the input of the block setup code entry, and the second to the data input of the block, the second inputs of the control registers and 0 первыми входа 1и триггеров разрешени  управлени  по записи, по чтению и0 first input 1 and trigger control triggers on write, read and по готовности, вторые входы которых подключены ко входу записи кода режима блока, а выходы - соответствен5 но к первым входам первого, вт.орого и третьего элементов И, выходами соединенны: с соответствующими входами элемента ИЛИ, выход которого  вл етс  выходом сопровождени  данных, ready, the second inputs of which are connected to the input of the record of the mode code of the block, and the outputs respectively 5 but to the first inputs of the first, second and third AND elements, are connected to: the corresponding inputs of the OR element, the output of which is the data tracking output, 0 выходы первого и второго регистров управлени  соединены с первыми входами соответствующих элементов И первой группы, вторыми входами подключенных ко второму входу первого элемента И и входу выборки кода обратной св зи при записи блока,выходы третьего и четвертого регистров управлени  соединены с первыми входами соответствующих элементов И второй группы, вторыми входами подключенных ко второму входу второго элемента И и входу выборки кода обратной св зи при чтении блока, выходы п того и шестого регистров управлени  соединены с первыми входами соответствующих элементов И третьей группы, вторые входы которых подключены ко второму входу третьего элемента И и через формирователь импульсов ко входу выборки кода0 the outputs of the first and second control registers are connected to the first inputs of the corresponding elements AND of the first group, the second inputs connected to the second input of the first element AND and the input of the feedback code sample during block recording, the outputs of the third and fourth control registers are connected to the first inputs of the corresponding elements AND the second group, the second inputs connected to the second input of the second element AND and the input sample of the feedback code when reading the block, the outputs of the fifth and sixth control registers are connected to rvymi inputs of the corresponding AND gates of the third group, the second inputs of which are connected to the second input of the third AND gate and through the pulse shaper to the entry code sample обратной св зи по готовности блока, выходы элементов И первой - третьей групп подключены к соответствукицим входам элементов ИЛИ группы, выходы которых  вл ютс  выходом данных блока.feedback on the readiness of the block, the outputs of the elements of the first and third groups are connected to the corresponding inputs of the elements of the OR group, the outputs of which are the output of the data of the block. Источники информации,. прин тые во внимание при экспертизеInformation sources,. taken into account in the examination 1.Авторское свидетельство СССР 404088, кл, G 06 F 9/19, 1970.1. USSR author's certificate 404088, class, G 06 F 9/19, 1970. 00 2.Суперкомпонент компьютер на одной плате с программируемыми интерфейсами ввода-вывода. Электроника , 1976, 3, 28-30 (прототип).2. Supercomponent computer on one board with programmable input-output interfaces. Electronics, 1976, 3, 28-30 (prototype).
SU792799629A 1979-07-20 1979-07-20 Device for interfacing processor with input-output units SU845155A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU792799629A SU845155A1 (en) 1979-07-20 1979-07-20 Device for interfacing processor with input-output units

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU792799629A SU845155A1 (en) 1979-07-20 1979-07-20 Device for interfacing processor with input-output units

Publications (1)

Publication Number Publication Date
SU845155A1 true SU845155A1 (en) 1981-07-07

Family

ID=20842080

Family Applications (1)

Application Number Title Priority Date Filing Date
SU792799629A SU845155A1 (en) 1979-07-20 1979-07-20 Device for interfacing processor with input-output units

Country Status (1)

Country Link
SU (1) SU845155A1 (en)

Similar Documents

Publication Publication Date Title
US5457786A (en) Serial data interface with circular buffer
US5197065A (en) Distribution mechanism for establishing communications between user interfaces of a communication system
SU845155A1 (en) Device for interfacing processor with input-output units
JP2744724B2 (en) Packet collection circuit in data flow type system
SU1129602A1 (en) Interface for linking processor with input-output devices
SU1160422A1 (en) Interface for linking input-output channels with subsribers
RU1839259C (en) Multichannel device for interface between computer and serial communication line
SU1001074A1 (en) Interface
SU1727126A1 (en) Device for interface of computer with communication channels
SU1151976A1 (en) Data exchange control unit
SU1675894A1 (en) Device for connecting two main line
SU1425696A1 (en) Device for interfacing input/output channels with users
SU840873A1 (en) Interface
SU1681394A1 (en) Automatic switching and interfacing unit
JPS5928745A (en) Information transfer system
SU1624468A1 (en) Device for interfacing two digital computers
SU642701A1 (en) Device for interfacing electronic computer with subscribers
JPH0222938A (en) Time slot switching method
SU1211747A1 (en) Interface for linking processors in multiprocessor
SU733016A1 (en) Device for writing and reading data in programmable read only memory units
SU1372355A1 (en) Buffer follower
SU1472913A1 (en) Computer/communication channel interface
SU1444790A1 (en) Device for interfacing a group of operational units with common storage
RU1807495C (en) Process-to-process interface
SU1403069A1 (en) Computer to peripherals interface