SU1295403A1 - Device for exchanging data between serial and parallel interfaces - Google Patents

Device for exchanging data between serial and parallel interfaces Download PDF

Info

Publication number
SU1295403A1
SU1295403A1 SU853955232A SU3955232A SU1295403A1 SU 1295403 A1 SU1295403 A1 SU 1295403A1 SU 853955232 A SU853955232 A SU 853955232A SU 3955232 A SU3955232 A SU 3955232A SU 1295403 A1 SU1295403 A1 SU 1295403A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
block
trigger
inputs
Prior art date
Application number
SU853955232A
Other languages
Russian (ru)
Inventor
Николай Николаевич Парамонов
Владимир Болеславович Поплавский
Валерий Викентьевич Сенчук
Александр Иванович Березенко
Лев Николаевич Корягин
Сергей Евгеньевич Калинин
Борис Львович Марков
Валерий Александрович Суворов
Original Assignee
Предприятие П/Я М-5339
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 Предприятие П/Я М-5339 filed Critical Предприятие П/Я М-5339
Priority to SU853955232A priority Critical patent/SU1295403A1/en
Application granted granted Critical
Publication of SU1295403A1 publication Critical patent/SU1295403A1/en

Links

Landscapes

  • Communication Control (AREA)

Abstract

Изобретение относитс  к вычислительной технике и цифровой автоматике . Его целью  вл етс  расширение функциональных возможностей за счет опганизации обмена словами переменного формата и повышение быстродей стви с, Б устройство, содержащее р д традиционных дл  данного типа устройств узлов, введены регистр позиции адаптера с дешифратором позиции, блок наращивани  формата посылки передачи, блок наращивани  формата посылки приема. Предлагаемое устройство может быть использовано в качестве универсального программируемого элемента дл  выполнени  последовательно-параллельных и параллельно-последовательных преобразований данных любой разр дности в устройствах вычислительной и цифровой автоматики, ориентированных на последовательный интерфейс св зи. Дл  наращивани  формата слова обеспечиваетс  возможность объединени  нескольких устройств обмена в единый комплекс. 4 з.п. ф-лы, 10 ил. I (Л N5 СО ел 4 о boThe invention relates to computing and digital automation. Its purpose is to expand the functionality by organizing the exchange of words of variable format and speeding up; B, a device containing a number of nodes traditional for this type of device, an adapter position register with a position decoder, a transmission format expansion block, a format expansion block parcel reception. The proposed device can be used as a universal programmable element for performing serial-parallel and parallel-serial data transformations of any size in computing and digital automation devices oriented to a serial communication interface. To build up the word format, it is possible to combine several exchange devices into a single complex. 4 hp f-ly, 10 ill. I (L N5 SO ate 4 o bo

Description

Изобретение относитс  к вычислительной технике и цифровой автоматике и может быть использовано в системах передачи данных дл  адаптации периферийного интерфейса св зи с дву- направленным параллельным интерфейсом и выполнени  последовательно-параллельного и параллельно-последовательного преобразовани  данных.The invention relates to computing and digital automation and can be used in data transmission systems to adapt a peripheral communication interface with a bi-directional parallel interface and perform serial-parallel and parallel-serial data conversion.

Цель изобретени  - расширение фун- кциональных возможностей за счет организации обмена словами переменного формата и повышение быстродействи  (скорости обмена).The purpose of the invention is the expansion of functional capabilities through the organization of the exchange of words of variable format and an increase in speed (exchange rate).

На фиг.1 представлена блок-схема устройства; на фиг.2 - блок наращива- ни  формата передачи; на фиг.З - блок наращивани  формата приема; нафиг 4- блок управлени  передачей; на фиг.З - блок управлени  приемом; на фиг.6 - блок контрол  передачи; на фиг.7 - блок контрол  приема; на фиг.8 -блок приемопередатчиков; на фиг.9 и 10 два примера соединени  трех устройств.Figure 1 presents the block diagram of the device; FIG. 2 shows a block of the transfer format; FIG. 3 shows a block for increasing the reception format; Fig 4 - transmission control block; in FIG. 3, a reception control unit; figure 6 - block control transmission; 7 - block control reception; on Fig-block transceivers; Figures 9 and 10 are two examples of connecting three devices.

Устройство 1 (фиг.1) содержит блок 2 приемопередатчиков, дешифратор 3, регистр 4 передачи, первьй регистр 5 сдвига (передачи),блок б управлени  передачей, второй блок 7 контрол  (передачи), регистр 8 управлени , ре гистр 9 состо ни , блок 10 управлени  приемом, первьй блок 11 контрол  (приема ) , регистр 12 приема, второй регистр 13 сдвига (приема), регистр 14 позиции (с дешифратором позиции), блок 15 наращивани  формата передачи , блок 16 наращивани  формата при .„The device 1 (Fig. 1) contains a block 2 of transceivers, a decoder 3, a transfer register 4, a first shift (transmission) register 5, a transmission control block b, a second control (transmission control) block 7, a control register 8, a status register 9, reception control unit 10, first control (reception) unit 11, reception register 12, second shift (reception) register 13, position register 14 (with position decoder), transfer format extension unit 15, format expansion block 16.

емаema

Блок 15 наращивани  формата переКроме того,устройство (фиг.1) содержит вход 1-23 признака расширени  формата передачи, управл ющие входы 124 (выбор кристалла, выбор регистра, чтение/запись системы и синхронизации), синхровход 125 (пе- редачи), шину 126 данных, синхродачи (фиг.2) содержит четвертый, вход 127 (приема), вход 128 призна- вьй, второй, третий элементы ИЛИ 17- ка расширени  формата приема, вход 20, первьй, п тьй, четвертый, вто- 129 начала приема, выход 130 концаBlock 15 of the recalculation format additionally, the device (Fig. 1) contains the input 1-23 of the sign of expanding the transmission format, the control inputs 124 (chip select, register selection, system read / write and synchronization), the synchronous input 125 (transfer) data bus 126, sync data (FIG. 2) contains the fourth, input 127 (reception), input 128 recognizes, the second, third elements OR 17 are extensions of the reception format, input 20, first, five, fourth, second start receiving, exit 130 end

передачи, выход 131 данных, выход 132 начала передачи, управл ющие вы- ходы 133 (запрос передачи, запросtransfer, data output 131, transfer start output 132, control outputs 133 (transfer request, request

рой, седьмой, щестой, третий элементы И 21 - 27,второй и первьй триггеры 28 и 29,второй и первьй элементы 30 и 31сложени  по модулю два.swarm, seventh, shchetoy, third elements And 21-27, second and first triggers 28 and 29, second and first elements 30 and 31 of the addition modulo two.

Блок 16 наращивани  формата приема (фиГоЗ) содержит третий, первый, 0 четвертый, п тьй, второй элементы ИЛИ 32 - 36, первьй, шестой, седьмой , второй, четвертьй, п тьй, третий элементы И 37 - 43, элемент НЕ 44, второй и первьй триггеры 45 и 46, второй и первый элементы 47 и 48 сложени  по модулю дваThe building block 16 of the receiving format (FIGURES) contains the third, first, 0 fourth, five, second elements OR 32-36, the first, sixth, seventh, second, quarter, five, third elements AND 37-43, the element NOT 44, the second and first triggers 45 and 46, the second and first elements 47 and 48 modulo two

Блок 6 управлени  передачей (фиг.4) содержит первьй, дев тьй.The transmission control unit 6 (Fig. 4) contains the first, the nine.

прерьшани , сбой, запрос приема), вход 134 данных, выход 135 концаbreaks, failure, reception request), data input 134, end output 135

.приема. I. reception. I

Устройство 1 предназначено дл Device 1 is intended for

адаптации последовательного периферийного интерфейса с двунаправленным параллельным интерфейсом и выполнени  последовательно-параллельного и параллельно-последовательного преобразований данных, передава, емых между этими интерфейсами. Данные параллельного интерфейса поступают в/из устройства 1 через вось15adapting a serial peripheral interface with a bidirectional parallel interface; and performing serial-parallel and parallel-serial data transformations transmitted between these interfaces. Parallel interface data arrives to / from device 1 through eight.

Ш Sh

0 .0

30thirty

3535

второй, восьмой, п тнадцатьй, третий , четвертый, п тьй, шестой, седьмой , двенадцатьй, дес тьй, тринадца- тьй, одиннадцатьй, четырнадцатьй элементы И 49 - 63, элементы НЕ 64 - 66, первый, второй, п тый, четвер- тьй, третий, шестой триггеры 67 - 72, элемент ИЛИ 73,счетчик 74, элементы 75 - 77 сложени  по модулю два.the second, the eighth, the fifteenth, the third, the fourth, the fifth, the sixth, the seventh, the twelve, the ten, the thirteenth, the eleventh, the fourteenth elements AND 49 - 63, the elements NOT 64 - 66, the first, the second, the fifth, the fourth - Thy, third, sixth triggers 67 - 72, element OR 73, counter 74, elements 75 - 77 modulo two.

Блок 10 уцравлени  приемом (фиг.5) содержит первьй, третий, седьмой, второй, двена,ццатьй, шестой, четвер- тьй, восьмой, одиннадцатьй, дев тьй, дес тьй, п тьй, тринадцатьй элементы И 78 - 90, второй, первьй, третий элементы НЕ 91 - 93, первый,второй , четвертьй, третий, шестой, п тьй триггеры 94 - 99, элементы ИЛИ 100 и 101, счетчик 1П2, элементы 103 - 105 сложени  по модулю два.The acquisition unit 10 (figure 5) contains the first, third, seventh, second, dvena, tsaty, sixth, fourth, eighth, eleven, nine, ten, five, thirteen elements And 78 - 90, the second, the first, the third elements are NOT 91 - 93, the first, the second, the quarter, the third, the sixth, the five triggers 94 - 99, the elements OR 100 and 101, the 1P2 counter, the elements 103 - 105, modulo two.

Второй блок 7 контрол  (передачи ) (фиг.6) содержит элементы 106 иThe second block 7 of the control (transmission) (6) contains elements 106 and

107сложени  по модулю два, триггер107 modulo two, trigger

108и элемент И 109.108 and element 109.

Первьй блок 11 контрол  (приема) (фиг.7) содержит элементы 110 и 111 по модулю два, триггер 112, элемент И 113.The first unit 11 of the control (reception) (Fig.7) contains elements 110 and 111 modulo two, trigger 112, and element 113.

Блок 2 приемопередатчиков (фиг.8) содержит усилители-передатчики 114 - 116, усилители-приемники 117 - 119, элементы ИЛИ 120 - 122.Unit 2 transceivers (Fig.8) contains amplifiers, transmitters 114 - 116, amplifiers, receivers 117 - 119, elements OR 120 - 122.

Кроме того,устройство (фиг.1) содержит вход 1-23 признака расширени  формата передачи, управл ющие входы 124 (выбор кристалла, выбор регистра, чтение/запись системы и синхронизации), синхровход 125 (пе- редачи), шину 126 данных, синхро О вход 127 (приема), вход 128 призна- ка расширени  формата приема, вход 129 начала приема, выход 130 концаIn addition, the device (Fig. 1) contains an input 1-23 of the sign of expanding the transmission format, control inputs 124 (chip select, register selection, system read / write and synchronization), synchronous input 125 (transfer), data bus 126, sync O input 127 (reception), input 128 sign of expansion of the reception format, input 129 start of reception, output 130 of the end

прерьшани , сбой, запрос приема), вход 134 данных, выход 135 концаbreaks, failure, reception request), data input 134, end output 135

.приема. I. reception. I

Устройство 1 предназначено дл Device 1 is intended for

адаптации последовательного периферийного интерфейса с двунаправленным параллельным интерфейсом и выполнени  последовательно-параллельного и параллельно-последовательного преобразований данных, передаваемых между этими интерфейсами. Данные параллельного интерфейса поступают в/из устройства 1 через восьмиразр дную двунаправленную шину 12.6 блока 2. Выходные последовательные данные передаютс  с выхода 131 регистра 5 сдвига передачи, а принимаютс  на вход 134 регистра 13 сдвига приема. Синхронизаци  чи и приема последовательных данных осуществл етс  синхросигналами передачи и приема, поступающими соответственно на входы 125 блока 6 управлени  передачей и вход 127 блока 10 управлени  приемом. Моменты начала и окончани  передачи последовательных данных определ ютс  сигналами соответственно на выходах 132 и 130 устройства 1, а моменты начала и окончани  приема последовательных данных соответственно сигналами на входе 128 и выходе 135 устройства 1.adapting a serial peripheral interface with a bidirectional parallel interface; and performing serial-parallel and parallel-serial transformations of data transmitted between these interfaces. The parallel interface data is transmitted to / from device 1 via an eight-bit bidirectional bus 12.6 of block 2. Output serial data is transmitted from the output 131 of the transfer shift register 5, and is received at the input 134 of the receive shift register 13. Sending and receiving serial data is synchronized by the transmit and receive synchronization signals, respectively, arriving at the inputs 125 of the transmission control unit 6 and the input 127 of the reception control unit 10. The moments of the beginning and end of the transmission of serial data are determined by the signals at the outputs 132 and 130 of device 1, respectively, and the moments of the beginning and end of reception of the serial data, respectively, by signals at input 128 and output 135 of device 1.

Обмен данными мейоду параллельным и последовательным интерфейсами осуществл етс  посыпками передачи и приема.The exchange of data to the method by parallel and serial interfaces is carried out by transferring and receiving scattering.

Устройство 1 содержит п ть про- граммно доступных регистров: регистр 4 передачи (8-разр дный), регистр 12 приема (8-разр дный), регистр 8Device 1 contains five software-accessible registers: transfer register 4 (8-bit), reception register 12 (8-bit), register 8

управлени  (5-разр дньй), регистр 14 позиции (2-разр дньш) с выходным дешифратором и регистр 9 состо ни  (5-разр дный). Регистры состо ни  9 и приема 12 доступны только по чтению, а регистры передачи 4, управлени  8 и позиции 14 адаптера доступны только дл  записи. Чтение регистра 9 вызывает сброс его разр дов. Выходы соответствующих триггеров регистра 9 состо ни   вл ютс  выходами 133 устройства 1.control (5-bit dny), register 14 positions (2-bit dns) with the output decoder and state register 9 (5-bit). The status registers 9 and reception 12 are read-only, and the transfer registers 4, control 8, and adapter positions 14 are write-only. Reading register 9 causes a reset of its bits. The outputs of the respective state register triggers 9 are the outputs 133 of the device 1.

Управление доступом к регистрам осуществл етс  сигналами выборки кристалла,выборки регистра,чтение/запись и синхронизации, поступающими на вход 124 устройства 1.The access to the registers is controlled by the chip sampling, register sampling, read / write, and synchronization signals at the input 124 of device 1.

Соответствующа  комбинаци  этих сигналов вызывает по вление соответствующего сигнала доступа к регистру на выходе дещифратора 3. Одновременно сигнал с второго выхода дешифратора 3 вызывает перевод усилителей- передатчиков 114 - 116 или усилителей-приемников 117-119 блока 2, в зависимости от доступа по чтению или по записи, которьм должен бъугъ вьшолнен, из третьего высокоимпедан- сного состо ни  в рабочее. В результате информаци  с шины 126 поступает в выбранный регистр или с выбранThe corresponding combination of these signals causes the appearance of a corresponding access signal to the register at the output of decipheror 3. At the same time, the signal from the second output of the decoder 3 causes the transfer of transmitter amplifiers 114-116 or receiver amplifiers 117-119 of block 2, depending on access by reading or records that should be executed, from the third high impedance state to the working state. As a result, information from the bus 126 enters the selected register or from the selected

00

5five

ного регистра через элементы ИЛИ 120 - 122 блока 2 - на шину 126.register through the elements OR 120 - 122 block 2 - on the bus 126.

После включени  питани  схема приведени  устройства в исходное состо ние (не показана) вызывает установку в исходное состо ние регистров и блоков устройства. Б результате этого на выходах 133 по вл ютс  сигналы , означающие соответственно запрос на прием, запрос на передачу и запрос на прерывание.After turning on the power, the resetting circuit of the device (not shown) causes the reset of the registers and blocks of the device. As a result, signals are output at outputs 133, indicating respectively a receive request, a transfer request and an interrupt request.

Данные сигналы воспринимаютс  устройством программного управлени  (например, микропроцессором) систе- 5 мы, в составе ко Торой работает устройство . Ответом устройства программного управлени  на эти сигналы  вл етс  программт1рование устройства 1 дл  работы, заключающеес  в записи соответствующей управл ющей информации в регистр 8 управлени  и регистр 14 позиции, а в случае передачи данных также и в записи,данных посылки передачи - в регистр 4 передачи .These signals are perceived by a software control device (for example, a microprocessor) of the system in which the device operates. The software control device responds to these signals by programming device 1 to operate, consisting in writing the corresponding control information to the control register 8 and the position register 14, and in the case of data transmission also in the recording, the transmission parcel data is sent to the transmission register 4.

Регистр 8 управлени  содержит два функциональных пол : поле формата слова преобразуемых данных и роле типа контрол  данных. Поле формата слова регистра 8 управлени  состоит из трех разр дов, значение которых указывает один из восьми возможных форматов слова (1-8 разр дов данных). Поле типа контрол  данных содержит два разр да, значение которых указывает на один из трех возможных типов контрол : без контрол , контроль на четность, контроль на нечетность . Выходы разр дов пол  формата слова образуют первый вьпсод регистра 8 управлени , а выходы разр дов пол  типа контрол  - второй выход регистра 8 управлени .Control register 8 contains two functional fields: the word format field of the data to be converted and the role of the data control type. The word format field of control register 8 consists of three bits, the value of which indicates one of eight possible word formats (1-8 bits of data). The data control type field contains two bits, the value of which indicates one of three possible control types: no control, even parity, oddness control. The outputs of the word format field bits form the first control register 8 of the control register, and the outputs of the control type field bits form the second output of the control register 8.

Регистр 14 позиции с выходньм дешифратором позиЦ1ш содержит два разр да , четыре дешиф рированных значени  которых образуют четыре линии группы линий выхода дешифр атора регистра 14, позиции перва , втора  и четверта  из которых указьшают соответственно на последнюю, первую и среднюю позиции устройства 1 при наращивании формата слова преобразуе0The position register 14 with an output position codec decoder contains two bits, the four decoded values of which form four lines of the output lines of the register decoder register 14, the first, second and fourth positions of which indicate the last, first and middle positions of the device 1 when expanding the format transform words0

5five

00

5five

00

мых данных, а треть  - на работу без наращивани  формата слова преобразуемых данных.third is for work without increasing the word format of the data to be converted.

Синхронизаци  действий по передаче осуществл етс  синхросигналамиSynchronization of transmission actions is carried out by synchronization signals.

передачи, поступаю Цими на вход 125 блока 6 управлени  передачи. Запись данных в регистр 4 передачи данных вызывает сброс в регистре 9 состо ни  триггера запроса на передачу, В блоке 6 управлени  передачей это вызывает через элемент НЕ 65 и элемент И 53 одновременно сброс счетчика 74, установку триггера 69 Регистр сдвига передачи полон и по вление на втором выходе сигнала занесени  данных из регистра 4 передачи в регистр 5 сдвига. Этот сигнал вызывает в регистре 9 состо ни  установку триггера запроса-на передачу, а в блоке 15 - сброс через элемент И 23 (если передача осуществл етс  без наращивани  формата слова) триггера 28 и по вление на выходе элемента И 24 сигнала запуска передачи. По вление этого сигнала в блоке 6 управлени  передачей вызывает через элемент И 58 сброс триггера 70 счета формата слова.transfer, enter Tsimi at the input 125 of the transfer control unit 6. Writing data to the data transfer register 4 causes a reset of the request to trigger a transfer request register. In transmission control block 6, this causes the NOT 65 element AND 53 to simultaneously reset the counter 74, set the trigger 69 Transmission shift register is full and appears on the second output of the data entry signal from the transfer register 4 to the shift register 5. This signal causes the request-to-transfer trigger to be set in the state register 9, and in block 15, a reset via AND 23 (if the transmission is made without increasing the word format) of trigger 28 and the output of the transmission trigger signal at the output of AND 24. The occurrence of this signal in transmission control block 6 causes, via element 58, a reset of the trigger 70 of the word format count.

2Q через элементы И 63 и И 56 привод т к установке триггера 70 счета формата передачи. Установка этого триггера вызывает выполнение действий , привод щих к по влению на выхокоторьи находитс  в своем исходном состо нии. Сброс триггера 70 вызыва- 25 Дб элемента ИЛИ 73 сигнала окончани  ет через элемент И 57 установку трнг- передачи. Причем последовательность гера 71 передачи, это разрешает по вление на выходах элементов И 60 и 62 синхросигналов передачи., постуэтих действий зависит от информации в регистре 14 позиции и в поле типа контрол  регистра 8 управлени  еле-2Q through the elements And 63 and And 56 leads to the installation of the trigger 70 of the transfer format account. Setting this trigger triggers actions that result in the appearance of a trigger that is in its initial state. The reset of the trigger 70 is caused by the 25 dB element OR 73 of the signal terminating through the AND 57 element the setting of the trng transmission. Moreover, the transfer sequence is 71, this permits the appearance at the outputs of the AND 60 and 62 elements of the transmission clock signals, the post action depends on the information in the position register 14 and in the control type field of the control register 8 only

пающих на третьи входы этих элементов«зо ДУЮЩИм образом.those who go to the third entrances of these elements are “in a nice way.

Момент окончани  сигнала на выходе элемента И 62 приводит к установке триггера 72 начала передачи и блокировке по влени  следующих синхросигналов на выходе элемента И 62.The end of the signal at the output of the element And 62 leads to the installation of the trigger 72 of the start of transmission and blocking the appearance of the following clock signals at the output of the element And 62.

Сигнал начала передачи с выхода элемента И 62 поступает на выход 132, информиру  внешнюю среду о начале передачи слова и по влении перЕсли устройство 1 работает без контрол  посылок передачи и приема, независимо от позиции устройства 1 сигнал на выходе элемента И 21 бло- с ка 15 и, следовательно, на входеThe signal to start the transmission from the output of the element And 62 enters at the output 132, informing the external environment about the beginning of the transmission of the word and the appearance of the TRANSFER device 1 operates without monitoring the transmission and reception parcels, regardless of the position of the device 1 and therefore at the entrance

элемент НЕ 64 блока 6 управлени  передачей отсутствует. В этом случае установка триггера 70 счета формата приводит через элемент И 52 к по ввого разр да на выходе 131. Одновре- 40 лению на выходе элемента ИЛИ 73 сиг- менно сигнал начала передачи вызы- нала окончани  передачи. Установка вает в блоке 7 контрол  через эле- триггера 70 приводит через элемент мент И 109 сброс в исходное состо ние И 61 к сбросу триггера 72 начала триггера 108, а в блоке 15 установку передачи, а через элемент И 59 - к триггера 28 и запоминание в триггере 45 сбросу триггера 71 передачи, моментelement 64 of transmission control block 6 is missing. In this case, the installation of a format counting trigger 70 results in an AND 52 to the second-time bit at the output 131. At the same time, at the output of the OR element 73, a signal to start the transfer caused the transfer to end. In the control unit 7, the setting through the trigger 70 causes the reset element AND 61 to reset the start of the trigger 108 through the control element 109 and, in block 15, sets the transmission, and through the control element 59 to the trigger 28 and memorizes in trigger 45 reset transfer trigger 71, moment

29 информации на его другом входе. Установка триггера 28 блокирует выработку элементом И 24 сигнала запуска передачи. Первый сигнал на выходе элемент И 60 блока 6 управле- нй  передачей, по вл ющийс  одновременно с сигналом начала передачи на выходе элемента И 62, вызьшает занесение в 3-разр дный счетчик 74 счета формата, который до этого сброшен сигналом с выхода элемента И 53. Одновременно этот сигнал поступает как сигнал счета в блок 7 контрол , где вызывает через элемент 106 сложени 29 information on his other entry. The installation of the trigger 28 blocks the generation element And 24 signal start transmission. The first signal at the output of the element 60 of the transmission control unit 6, which appears simultaneously with the signal of the beginning of the transfer at the output of the element 62 and 62, is entered into the 3-digit counter of the format account 74, which was previously reset by the signal from the output of the element 53 At the same time, this signal arrives as a counting signal in the control unit 7, where, through the element 106, it calls

по модулю два згьнесение единичного значени  разр да, поступающего с первого выхода регистра 5 сдвига в триггер 108. Позиционный код с выходов счетчика 74 управл ет сдвигом первого (младшего) разр да передаваемого слова на выходы регистра 5 сдвига. Каждый последующий сигнал на выходе элемента И 60 вызывает повторениеmodulo two, the discharge of a single value of the discharge coming from the first output of the shift register 5 into the trigger 108. The position code from the outputs of the counter 74 controls the shift of the first (minor) bit of the transmitted word to the outputs of the shift register 5. Each subsequent signal at the output of the element And 60 causes a repetition

описанных действий по передаче разр да слова. Так продолжаетс  до тех пор, пока значение счетчика 74 формата не совпадет со значением формата слова, указанного в поле форматаdescribed actions to transfer the word bit. This continues until the value of the format counter 74 matches the value of the format of the word specified in the format field.

слова регистра 8 управлени  и поступающего на входы элементов 75 - 77 сложени  по модулю два. При совпадений этих значений на выходах последних по вл ютс  сигналы, которыеthe words of the control register 8 and the input to the inputs of the elements 75 - 77 modulo two. When these values coincide, signals appear on the outputs of the latter.

через элементы И 63 и И 56 привод т к установке триггера 70 счета формата передачи. Установка этого триггера вызывает выполнение действий , привод щих к по влению на выхоДб элемента ИЛИ 73 сигнала окончани  передачи. Причем последовательность through the elements of And 63 and And 56 lead to the installation of the trigger 70 account transfer format. The installation of this trigger causes the execution of actions leading to the output at the output of the OR element 73 of the transmission termination signal. And the sequence

Дб элемента ИЛИ 73 сигнала окончани  передачи. Причем последовательность DB element OR 73 signal end transmission. And the sequence

этих действий зависит от информации в регистре 14 позиции и в поле типа контрол  регистра 8 управлени  еле-these actions depend on the information in the register 14 position and in the field of control type of the register 8 control only

Если устройство 1 работает без контрол  посылок передачи и приема, независимо от позиции устройства 1 сигнал на выходе элемента И 21 бло- ка 15 и, следовательно, на входеIf the device 1 operates without control of the transmission and reception parcels, regardless of the position of the device 1, the signal at the output of the element 21 of block 15 and, therefore, at the input

элемент НЕ 64 блока 6 управлени  передачей отсутствует. В этом случае установка триггера 70 счета формата приводит через элемент И 52 к по всброса которого определ ет задний фронт сигнала окончани  передачи на выходе элемента ИЛИ 73.element 64 of transmission control block 6 is missing. In this case, the installation of a format counting trigger 70 results through an AND 52 element, for whose release it determines the falling edge of the transmission termination signal at the output of the OR element 73.

Если устройство 1 работает с контролем передаваемых и принимаемых данных (независимо от того, на четность или нечетность осуществл етс  контроль) и регистр 14 позиции ука- зьгоает на первую или среднюю позицию устройства 1 при наращивании формата слова, сигнал окончани  передачи на выходе элемента ИЛИ 73 формируетс  аналогично описанному случаю.If device 1 operates with control of transmitted and received data (regardless of whether parity or oddness is monitored) and the position register 14 indicates the first or middle position of device 1 when expanding the word format, the transmission termination signal at the output of the element OR 73 formed in a manner similar to the one described.

Если ycTpoHCTfo 1 работает как и в предьщущем случае с контролем данных , но регистр 14 позиции указывает на работу без наращивани  формата слова или на последнюю позицию устройства 1 при наращивании формата , сигнал на выходе элемента И 21 блока 15 и, следовательно, на входе элемента И 50 блока 6 управлени  передачей имеетс . В этом случае после установки триггера 70 счета формата в момент сброса триггера 71 передачи задний фронт сигнала с выхода элемента И 50 вызывает установку триггера 67 передачи контрольного разр да. Установка триггера 67 через элемент И 51 приводит к по влению на выходе элемента ИЛИ 73 сигнала окончани  передачи, задний фронт которого формируетс  в момент окон- чани  синхросигнала на входе элемента И-51, Установка триггера 67 передачи контрольного разр да вызывает передачу на выход элемента И 49 и далее через регистр 5 сдвига - на выход 131 информации контрольного разр да, сформированного в блоке 15,If ycTpoHCTfo 1 works as in the previous case with data control, but the 14th position register indicates operation without increasing the word format or the last position of device 1 when expanding the format, the signal at the output of the And 21 element of block 15 and, therefore, at the input of the And element 50 of the transmission control unit 6 is present. In this case, after setting the trigger 70 of the format account at the moment of resetting the transfer trigger 71, the falling edge of the signal from the output of the AND 50 element causes the setting of the control switch transfer trigger 67. The installation of the trigger 67 through the element AND 51 leads to the appearance at the output of the element OR 73 of a transmission end signal, the falling edge of which is formed at the time of the end of the clock signal at the input of the I-51 element. The installation of the trigger 67 of the control bit transmission causes the transfer to the output of the AND element 49 and further through the shift register 5 - to the output 131 of the check bit information generated in block 15,

Во всех трех описанных случа х задний фронт сигнала окончани  передачи приводит к сбросу триггера 67 передачи контрольного разр да и установке триггера 68 окончани  передачи . Установка триггера 68 вызывает через элемент И 55 сброс триггера 69 Регистр сдвига передачи полон. Если к этому моменту в регистр 4 передачи занесены данные следующей посылки передачи (о чем свидетельствует сброшенный триггер запроса передачи регистра 9 состо ни ), на выходе элемента И 53 по вл етс  сигнал занесени  данных из регистра 4 передачи в регистр 5 сдвига и повтор ютс  все описанные действи  по передаче данных. Если регистр 4 передачи пуст сброс триггера 69 вызывает установку в регистре 9 состо ни  триггера Тракт передачи пуст.In all three cases described, the falling edge of the transmission termination signal causes a reset of the trigger 67 of the transmission of the pilot bit and the installation of the trigger 68 of the transmission termination. Setting trigger 68 triggers reset element 69 through AND 55. The shift register is full. If by this moment the data of the next transmission send is recorded in the transfer register 4 (as evidenced by the reset transfer request trigger of state register 9), then the output of the element 53 appears to transfer data from the transfer register 4 to the shift register 5 and all are repeated described data transfer actions. If transfer register 4 is empty, reset trigger 69 causes the trigger state in register 9 to be set. The transfer path is empty.

Контроль данных при передаче осуществл етс  в блоке 7 контрол . Он заключаетс  в подсчете по модулю два количества единичных значений разр дов данных посылки и формировани  значени  контрольного разр да, соответствующего типу контрол , указан- ному в регистре 8 управлени . Значение триггера 108 блока 7 контрол , а также значение, сложенное по модулю два со значением разр да типа контрол  регистра 8 управлени , поступают соответственно по первой и второй лини м Группы линий выхода блока 7 контрол  в блок 15.The data is monitored during transmission in block 7 of the control. It consists in calculating modulo two the number of unitary values of the data bits of the send and the formation of the value of the control bit corresponding to the type of control specified in register 8 of the control. The value of the trigger 108 of the control unit 7, as well as the value folded modulo two with the bit value of the control type of the control register 8, are received respectively via the first and second lines of the Output Line Group of the control block 7 to the block 15.

Синхронизаци  действий по приему данных осуществл етс  сигналами, поступающими на вход 127 блока 10 управлени  приемом. Инициирование операции приема данных в устройстве 1 происходит по сигналу начала приема, поступающему на вход 129 блока 16. По вление этого сигнала означает, что на вход регистра 13 сдвига и первый вход блока 11 контрол  поступает первый (младиий) разр д слова данных . Сигнал начала приема через элемент ШШ 36 блока 16 поступает в бло 10 управлени  приемом. Если устройство 1 работает без наращивани  формата слова, на выходе элемента И 40 блока 16 имеетс  сигнал запуска приема , так как триггер 45 в исходном состо нии сброшен, а на третьем входе элемента ИЛИ 34 имеетс  сигнал работы без наращивани  формата, поступающий с третьего выхода вьпсодно- го дешифратора регистра 14 позиции. Сигналы запуска приема и начала приема вызывают по вление сигнала на выходе элемента И 82 блока 10 управ- леь.и  приемом, так как триггер 97 счета формата приема в исходном состо нии сброшен. Сигнал с выхода элемента И 82 приводит к установке триггера 96 приема, вызывает занесение единицы в счетчик 102 счета формата и поступает в качестве сигнала сброса на вход элемента И 113 блока 11 , вызьгоа  сброс в исходное состо ние триггера 112. Установка триггера 96 вызывает через элементы ИЛИ 101 и И 85 поступление синхросигналов приема в блок 11 контрол . Одновременно позиционный код с выходов счетчика 102 управл ет З анесением данных посьшки приема в регистр 13 сдвига.The synchronization of data reception actions is carried out by signals input to the input 127 of the reception control unit 10. The initiation of the data reception operation in the device 1 occurs at the reception start signal, which enters the input 129 of the block 16. The appearance of this signal means that the first (minor) bit of the data word enters the input of the shift register 13 and the first input of the control unit 11. The reception start signal via the element 36 of the block 16 enters the reception control block 10. If device 1 operates without increasing the word format, the output of element And 40 of block 16 has a reception start signal, since the trigger 45 is reset in the initial state, and the third input of the OR element 34 has a work signal without increasing the format, coming from the third output one time - th register decoder 14 position. The start and receive start signals cause the signal at the output of the AND 82 element of the control and reception unit 10 and the reception, since the trigger 97 of the counting format account in the initial state is reset. The signal from the output of the AND 82 element sets the trigger 96 of reception, causes the unit to be entered into the counter 102 of the format and enters as a reset signal to the input of the AND 113 element of block 11, resetting the reset state 112. Resetting the trigger 96 causes the elements OR 101 and AND 85, the receipt of the reception clock signals in block 11 of the control. At the same time, the position code from the outputs of the counter 102 controls the transmission of the data of the reception desk to the shift register 13.

Установка триггера 96 приема приводит также к установке через элемент И 89 триггера 99 Регистр сдвига приема полон, что свидетельствует о поступлении в регистр 13 сдвига первого разр да принимаемого слова. Установка триггера 99 приводит к блокировке сигнала на выходе элемента И 88, который вызывал в блоке 16 сброс триггера 45 через элемент И 39.The installation of the reception trigger 96 also leads to the installation through the AND element 89 of the trigger 99 The reception shift register is full, which indicates that the first bit of the received word is received in the shift register 13. The installation of the trigger 99 leads to blocking of the signal at the output of the element And 88, which caused in block 16 a reset of the trigger 45 through the element And 39.

Поступление каждого синхросигнала приема вызывает увеличение на +1The arrival of each receive clock causes an increase of +1

значени  3-разр дного циклического счетчика 102 счета формата. При сов падении значений разр дов счетчика . и значений разр дов пол  формата слова регистра 8 управлени  на выходах с элементов 103 - 105 сложени  по модулю два по вл ютс  сигналы, которые через элемент И 90 и 83 вызывают установку триггеров счета формата 97 и конца приема 95. Установка тригге- fO pa 97 приводит к сбросу через элемент И 84 триггера 96 приема, что вызывает при отсутствии сигнала запроса на прием на выходе регистра 9 состо ни  установку через элементы НЕ 93 t5 и И 86 триггера 98 занесени  в ре- гистр 12 приема. Это приводит к занесению информации из регистра 13 сдвига приема в регистр 12 приема, к установке в регистре 9 состо ни  20 триггера запрос приема и триггера запрос прерывани , что в свою очередь через элемент И 87 приводит к сбросу триггера 98. Установка триг253-bit cyclic counter value 102 of the format account. When the coincidence of the bits of the counter. The values of the word bits of the format of the word register 8 of the control at the outputs from the elements 103 - 105 of the modulo two add signals that, through the element 90 and 83, cause the installation of the triggers of the 97 format account and the end of reception 95. Setting the trigger fO pa 97 results in resetting through reception element 84 and 84 of reception trigger 96, which, in the absence of a reception request signal at the output of register 9, is set to install via HE elements 93 t5 and And 86 of trigger trigger 98 to the reception register 12. This leads to the entry of information from the receive shift register 13 to the receive register 12, to setting the trigger request state 20 in the register 9, and the receive request and the trigger request, which in turn through the And 87 element resets the trigger 98. Setting the trigger 25

гера 98 приводит к сбросу триггера 99 Регистр сдвига приема полон п следовательно, к по влению на выходе элемента И 88 сигнала сброса триггера 45 блока 16. Сброс триггера 45Hera 98 leads to resetting the trigger 99 The receive shift register is full and therefore the appearance at the output of the And 88 element of the reset signal of the trigger 45 of block 16. Resetting the trigger 45

вызьгоает по вление на выходе элемен- та И 40 сигнала запуска приема, который вызывает сброс триггера 97 счета формата приема и подготовит блок 10 управлени  приемом к инициированию приема следующего слова. A signal appears at the output of the element 40 of the reception trigger that causes the reset 97 of the reception format count to be reset and prepares the reception control unit 10 to initiate the reception of the next word.

Установка триггера 95 конца при- ема блока 10 управлени  приемом зывает последовательность действий по вьфаботке сигнала скончани  приема на первом выходе блока 16. Эта последовательность зависит от информации в регистре 14 позиции и информации в поле типа контрол  регистра В управлени  следующим образом.Setting the trigger end 95 of the reception of the reception control unit 10 calls the sequence of actions for processing the reception end signal at the first output of the block 16. This sequence depends on the information in the position register 14 and the information in the control register type field of the control control B as follows.

Если устройство 1 работает без контрол  принимаемых данных, независимо от позиции устройства 1, сигнал на выходе элемента И 37 блока 16 и, следовательно, на входе элемента НЕ.91 блока 10 управлени  приемом отсутствует. В этом случае установка триггера 95 окончани  приема вызьгоает через элемент И 79 по вление на выходе элемента ИЛИ 100 сигнала окон чани  приёма.If the device 1 operates without monitoring the received data, regardless of the position of the device 1, there is no signal at the output of the element 37 of the block 16 and, therefore, at the input of the element HE.91 of the reception control block 10. In this case, the installation of the trigger 95 of the reception end is signaled through the element AND 79 and the appearance at the output of the element OR 100 of the signal of the end of reception.

Если устройство 1 работает с контролем принимаемых данных (независимо от того на чет или нечет осу O 5 0 If device 1 is working with the control of received data (regardless of whether it is even or even odd O 5 0

5five

О 5About 5

0 0

5five

ществл етс  контроль) и регистр 14 позиции указывает на первую или среднюю позицию при наращивании формата слова, сигнал окончани  приема на выходе элемента ИЛИ 100 формируетс  аналогично описанному случаю.there is a control) and the position register 14 indicates the first or middle position when building up the word format, the reception end signal at the output of the OR element 100 is generated in the same way as in the described case.

Если устройство 1 работает как и в предыдущем случае с контролем да;н- ных, но регистр 14 позиции указывает на работу без наращивани  формата или на последнюю позицию устройства 1 при наращивании формата, сигнсш на выходе элемента И 37 блока 16 и, следовательно, на входе элемента И 80 блока 10 управлени  приемом имеетс . В этом случае после установки триггера 95 окончани  приема, но до сброса триггера 96 приема, через элемент И 80 устанавливаетс  триггер 96 приема контрольного разр да. Установка триггера 95 окончани  приема вызывает через элемент ИЛИ 101 по вление на вьгходе элемента И 85 сигнала , которьй приводит к приему значени  контрольного разр да блоком 11 контрол . Установка триггера 94 вызывает через элемент И 91 по вление .на выходе элемента ИЛИ 100 сигнала окончани  приема. Установка триггера 94 приводит к по влению на выходе И 78 сигнала Сбой по контролю, если имеет место несовпадение прин того контрольного разр да с контрольным разр дом, сформированным в блоке 16.If device 1 works as in the previous case with monitoring yes; nn, but register position 14 indicates operation without increasing the format or the last position of device 1 when expanding the format, the signal at the output of the And 37 element of block 16 and, therefore, the input element And 80 block 10 control reception is. In this case, after the reception end trigger 95 is set, but before the reception trigger 96 is reset, check trigger trigger 96 is set through AND 80. The installation of the trigger 95 of the reception end, through the element OR 101, causes the appearance of the signal AND 85 at the input of the element, which leads to the reception of the value of the check bit by the control unit 11. The setting of the trigger 94 causes, through the AND 91 element, the appearance of the output of the OR element 100 of the reception termination signal. The installation of trigger 94 results in the appearance at the output of the And 78 signal of a control failure if there is a mismatch between the received check bit and the check bit generated in block 16.

Во всех трех описанных случа х задний фронт сигнала окончани  приема приводит к сбросу триггера 95 окончани  приема, сброс которого вы- зьшает сброс триггера 94 приема контрольного . Одновременно сигнал окончани  приема через элемент ИЛИ 33 блока 16 поступает на выход 135, информиру  внешнюю среду об окончании приема слова.In all three cases described, the falling edge of the reception end signal causes a reset of the reception end trigger 95, the reset of which causes the reset of the control reception trigger 94. At the same time, the reception end signal through the element OR 33 of the block 16 enters output 135, informing the environment about the end of word reception.

Контроль данных при приеме осуществл етс  в блоке 11 контрол . Он заключаетс  в подсчете по модулю два количества, единичных значений разр дов слова принимаемых данных, формирование значени  контрольного разр да прин тых данных, соответствующего типу контрол  указанному в регистре 8 управлени  и в сравнении этого значени  со значением прин того контрольного разр да принимаемого слова. Значение триггера 112 блока 11 контрол , а также его значение , сложенное по модулю два наThe data is monitored at reception in block 11 of the control. It consists in calculating modulo two quantities, single values of word bits of the received data, generating a check bit value of the received data corresponding to the type of control specified in control register 8 and comparing this value with the value of the received check bit of the word received. The trigger value 112 of the control block 11, as well as its value, folded modulo two per

11121112

элементе 111 сложени  по модулю два, со значением разр да Тип контрол  регистра 8 управлени  поступают по первой и второй лини м группы линий выхода блока 11 контрол  в блок 16 наращивани  формата приема.modulo two addition element 111, with a bit value. The control type of the control register 8 is fed through the first and second lines of the output lines group of the control unit 11 to the receiving form extension unit 16.

Устройство 1 обеспечивает обмен посылками с максимальным форматом 8 разр дов данных. Дл  осуществлени  обмена посылками свьше 8 разр дов необходимо соединить несколько устройств . Число адаптеров св зано с длиной посьтки m следующим соотношеDevice 1 provides the exchange of shipments with a maximum format of 8 data bits. In order to exchange shipments above 8 bits, several devices must be connected. The number of adapters is related to the length of the patch m as follows

нием п 1 о 1 где I- Гобозначаmnie n 1 about 1 where I-

ет наибольшую целую часть числа -Q-.em is the largest integer part of the number -Q-.

оabout

Соединение необходимого числа устройств 1 выполн етс  так, что на вы- ходы 130 и 135 предьщущего соедин ютс  соответственно с входами 123 и 128 последующего. Причем входы 123 и 128 первого устройства соедин ютс  соответственно с выходами 130 и 135 последнего устройства. Таким образом, имеет место цепочное соединение устройств, при котором все устройства 1, расположенные между первым и последним, называютс  средними . При программировании устройств цепочки дл  работы в регистр 14 позиции каждого устройства заноситс  код соответствующей позиции устройства в цепочке (перва , средн  , последн  ).The connection of the required number of devices 1 is performed in such a way that at outputs 130 and 135, the previous ones are connected respectively to inputs 123 and 128 of the subsequent one. Moreover, the inputs 123 and 128 of the first device are connected respectively to the outputs 130 and 135 of the last device. Thus, there is a chain connection of devices, in which all devices 1 located between the first and the last are called averages. When programming chain devices for operation, the position register 14 of each device is entered with the code of the corresponding device position in the chain (first, middle, last).

Соединение остальных входов и выходов устройств 1 в цепочке зависит от разр дности параллельной двунаправленной шины 126 данных.The connection of the remaining inputs and outputs of the devices 1 in the chain depends on the size of the parallel bidirectional data bus 126.

На фиг.9 приведен пример соединени  трех устройств 1 дл  случа  8-разр дной двунаправленной параллельной шины данных и 24-разр дного формата слов. При этом входы 124 всех устройств 1 (кроме входа Вы- бор кристалла) соответственно со- един ютс  так что выбор того или иного устройства дл  программированиFigure 9 shows an example of the connection of three devices 1 for the case of an 8-bit bidirectional parallel data bus and a 24-bit word format. In this case, the inputs 124 of all devices 1 (except for the Select Crystal input), respectively, are connected so that the choice of one or another device for programming

или обмена параллельными данными оп- Q мент ИДИ 20 блока 15 поступает наor the exchange of parallel data, the Q-ID of the IDN 20 of block 15 is fed to

редел етс  информацией на входе Выбор кристалла, входы 134, 127 и 125 всех устройств соответственно соедин ютс . Выходы 133 используютс  самосто тельно, так как несут.ин- формацию о состо нии устройств 1. Выходы 132 среднего и последнего устройств 1 не используютс  так же, как и входы 129.determined by the input information. The selection of the crystal, the inputs 134, 127 and 125 of all devices, respectively, are connected. Outputs 133 are used independently, as they carry information about the state of devices 1. Outputs 132 of middle and last devices 1 are not used in the same way as inputs 129.

второй вход элемента И 22, на оста ные входы которого поступают соответственно сигналы с первого выхода триггера 28, установленного еще в момент начала передачи, с второг выхода триггера 71 передачи блока управлени  передачей и из разр да наличи  контрол  пол  контрол  рег стра 8 управлени . В результате наthe second input of element 22, the remaining inputs of which receive, respectively, signals from the first output of the flip-flop 28, which was installed at the moment of the start of the transfer, from the second output of the flip-flop 71 of the transmission control unit and from the presence of the control of the control-control-8 control field. As a result on

1212

00

Q Q

На фиг.10 приведен пример соединени  трех устройств 1 дл  случа  24-раэр дной параллельной шины данных и 24-разр дного формата слова. Так как в этом случае программирование всех устройств и обмен данными с ними осуществл етс  одновременно, соответственно соедин ютс  входы 124 всех устройств. Выходы 131, а ;также входы 134, 127 и 125 адаптеров соедин ютс  так же, как и в предыдущем случае.Figure 10 shows an example of connecting three devices 1 for a case of a 24-bit parallel data bus and a 24-bit word format. Since in this case, the programming of all devices and the exchange of data with them takes place simultaneously, respectively, the inputs 124 of all devices are connected. The outputs 131, a; and the inputs 134, 127, and 125 of the adapters are connected in the same way as in the previous case.

Лини  Сбой выхода 133 первого устройства 1 и линии Запрос пере- 5 дачи, Запрос приема и Запрос прерывани  выхода 133 последнего устройства 1 информирует систему о состо нии устройств.Line The failure of the output 133 of the first device 1 and the transmission request 5 line, the reception request and the interrupt request of the output 133 of the last device 1 informs the system about the state of the devices.

Рассмотрим работу в режиме передачи устройства 1 при наращивании формата слова. Если в регистре 14 позиции указано, что он первьй в цепочке , аналогично тому, когда устройство работает одно, на выходе эле- 5 мента И 24 блока 15 по вл етс  сигнал запуска передачи, так как в исConsider the work in the transfer mode of the device 1 when increasing the format of the word. If in register 14 position it is indicated that it is the first in the chain, similarly to when the device is working alone, a transmission start signal appears at the output of the element AND 24 of block 15, since

ходном состо нии триггер 28 сброшен и на втором входе элемента ИЛИ 19 имеетс  сигнал позиции Устройство первое. По вление сигнала запуска передачи вызывает действи , аналогичные описанным, дл  , когда устройство работает без наращивани  формата слова, вплоть до по влени  на выходе элемента ИЛИ 18 сигнала окончани  передачи. Затем вслед за выдачей сигнала окончани  передачи, инициирующего запуск передачи в следующем (среднем или последнем ) устройстве 1 цепочки, на выход 130 первого устройства 1 поступает сигнал счета по модулю два переданного слова, которьй учитываетс  следующим устройством 1 цепочки при формировании своего выходного сигнала счета по модулю два. Этот сигнал вырабатываетс  следующим образом . Значение триггера 108 блока 7 контрол  через элемент И 26 и элевторой вход элемента И 22, на остальные входы которого поступают соответственно сигналы с первого выхода триггера 28, установленного еще в момент начала передачи, с второго выхода триггера 71 передачи блока 6 управлени  передачей и из разр да наличи  контрол  пол  контрол  регистра 8 управлени . В результате наthe triggering state, the trigger 28 is reset, and the position signal is the first at the second input of the OR element 19. The occurrence of a transmission trigger causes actions similar to those described for when the device operates without increasing the word format, until the appearance at the output of the element OR 18 of the transmission termination signal. Then, after the transmission end signal is issued, which initiates the transmission in the next (middle or last) device 1 of the chain, the output 130 of the first device 1 receives a counting signal modulo two transmitted words, which is taken into account by the next chain device 1 when generating its counting output signal module two. This signal is generated as follows. The value of the trigger 108 of the control unit 7 through the element 26 and the second input of the element 22, the remaining inputs of which receive signals from the first output of the trigger 28, which was set at the moment the transfer began, from the second output of the transmission trigger 71 of the transmission control block 6, and Yes, the presence of the control field control register 8 control. As a result on

1313

выходе элемента И 22, а затем на выходе элемента ИЛИ 18 по вл етс  сигнал счета по модулю два данных,переданных устройством.The output of the element And 22, and then at the output of the element OR 18, a modulo two data signal appears, transmitted by the device.

После передачи всеми устройствами цепочки на первьй вход триггера 29 блока 15 , .первого устройства поступает сигнал с выхода 130 последнего устройства, который сбрасьшает триггер 28, разреша  тем самым выработку элементом И 24 сигнала запуска передачи. Если к этому моменту в регистр 4 передачи загружены новые данные , процесс передачи данных возобновл етс .After all the devices in the chain have transmitted the first input of the trigger 29 of the block 15, the first device receives a signal from the output 130 of the last device, which resets the trigger 28, thereby allowing the element 24 to produce a transmission start signal. If at this point new data has been loaded into transfer register 4, the data transfer process is resumed.

Если в регистре 14 позиции указано , что устройство среднее в цепочке , в этом случае сигнал окончани  передачи от предыдущего (первого или среднего) устройства поступает на первьй вход триггера 28 блока 15, вызыва  его сброс. Это приводит к по влению на выходе элемента И 24 сигнала запуска передачи, которьш поступает в блок 6 управлени  передачей , иницииру  описанные действи  по передаче данных. Сигнал начала передачи из блока 6 управлени  передачей вызывает установку триггера 28 блока 15 и запись в триггер 29 информации, наход щейс  на первом входе этого триггера. Этой информацией в случае наращивани  формата слова при контроле переданной информации  вл етс  сигнал счета по модулю два единичных значений разр да слова предыдущего устройства, который через элемент 30 сложени  по модули два, элемент И 25, элемент ИЛИ 20, элемент И 22 и элемент ИЛИ 18 поступает вслед за сигналом окончани  передачи данного устройства на выход 130 Конец передачи,If in the position register 14 it is indicated that the device is average in the chain, in this case, the transmission termination signal from the previous (first or middle) device enters the first trigger input 28 of block 15, causing it to be reset. This leads to the appearance at the output of the element 24 of the transmission trigger signal, which enters the transmission control unit 6, initiating the described data transmission actions. The transmission start signal from transmission control block 6 causes the trigger 28 of block 15 to be set and the information written to the trigger 29 at the first input of this trigger is set to write. This information in the case of increasing the word format when monitoring the transmitted information is the modulo counting signal of two unit words of the previous device, which through the addition element 30 modulo two, the AND 25 element, the OR 20 element, the AND 22 element and the OR 18 element comes after the end of the transmission signal of this device to the output 130 End of transmission,

Если в регистре 14 позиции указано , что устройство последнее в цепочке , в этом случае сигнал оконча12If in register 14 position it is indicated that the device is the last in the chain, in this case the signal is terminated12

ки  передачи с первого выхода предыдущего (первого или среднего) устройства 1 поступает на вход 123 блока 15 последнего устройства цепочки и вызьгоает действи  по запуску передачи данных, которые аналогичны описанному случаю. После окончани  передачи данных из регистра 5 сдвига сигнал окончани  передачи дан ных с выхода 130 последнего устройства поступает на вход 123 первого устройства цепочки и вызывает запуск передачи данных нового слова. В слуThe transmissions from the first output of the previous (first or middle) device 1 are fed to the input 123 of the block 15 of the last device of the chain and trigger actions to start data transmission, which are similar to the described case. After the end of the transfer of data from the shift register 5, the signal of the end of the transfer of data from the output 130 of the last device to the input 123 of the first device of the chain causes the transfer of the data of the new word. In the

5050

- 55 - 55

95403149540314

чае контрол  слова при передаче последнее устройство выдает на второй выход регистра 5 сдвига информацию контрольного разр да, котора  формируетс  в блоке 15 с помощью триггера 29, элемента И 27 и элемента 31 сложени  по модулю два.In addition to the word control, when transmitting, the last device outputs to the second output of the shift register 5 information of the check bit, which is formed in block 15 with the help of trigger 29, element 27 and addition element 31 modulo two.

Работа устройства 1 в режиме приема при наращивании формата слова.The operation of the device 1 in the reception mode when expanding the format of the word.

JO Если в регистре 14 позиции указано, что устройство первое в цепочке, аналогично тому, когда устройство 1 работает одно, на выходе элемента И 40 блока 16 имеетс  сигнал запуска приJ5 ема, так как триггер 45 в исходном состо нии сброшен, и на втором входе элемента ИЛИ 34 имеетс  сигнал первой позиции устройства. По вление сигнала начала приема на входе 123 блокаJO If in the position register 14 it is indicated that the device is first in the chain, similar to when device 1 is working alone, the output of element 40 of block 16 has a start signal at j5, since trigger 45 is reset in the initial state, and at the second input element 34, there is a signal of the first position of the device. The appearance of the reception start signal at block 123

20 ,16 вызывает действи  аналогичные описанным дл  случа  работы без наращивани  формата слова вплоть до выдачи через элемент ИЛИ- 33 блока 16 сигнала окончани  приема. Вслед за20, 16 causes actions similar to those described for the case of operation without building up the word format until the end signal is output through the element OR-33 of the block 16. After

25 выдачей сигнала окончани  приема, инициирующего запуск приема в следующем (среднем или последнем) устройстве 1 цепочки, на выход 135 уст- ройства 1, если прием осуществл етс 25 by issuing a reception termination signal, which initiates the reception of the reception in the next (middle or last) device 1 of the chain, to the output 135 of the device 1, if the reception is carried out

30 с контролеМэ поступает сигнал счета по модулю два прин тых данных, который учитьтаетс  следующим устройством 1 цепочки при формировании своего выходного сигнала счета по моду35 лю два. Сигнал счета по модулю два прин тых первым устройством 1 данных формируетс  следующим образом. Значение триггера 112 счета по модулю дв а блока 11 контрол  через элемен40 ты И 42 и ИЛИ 35, И 38 и ИЛИ 33 блока 16 поступает на выход 135 адаптера .30 seconds, the control signal receives the modulo signal of two received data, which is taken into account by the next device 1 of the chain when forming its output signal of the modulo 35 ly two. The modulo count signal of the two data received by the first device 1 is generated as follows. The value of the trigger 112 of the account modulo two of the control block 11 through the elements of AND 42 and OR 35, And 38 and OR 33 of block 16 enters the output 135 of the adapter.

После приема данньш всеми устройствами цепочки на первьй вход триг45 гера 45 блока 16 первого устройства 1 поступает сигнал окончани  приема с выхода 135 последнего устройства цепочки, которьм сбрасьшает триггер 45 и разрешает тем самым выработку элементом И 40 сигнала запуска приема . Если вслед за этим на входе устройства 1 по вл етс  сигнал начала приема, то инициируетс  процесс приема след;ующего слова.After receiving all the devices in the chain, the reception end signal from the output 135 of the last device in the chain, which resets the trigger 45, is received at the first input of the trigger 45 of block 16 of the first device 1, thereby allowing the element 40 to generate the receive trigger signal. If, next to this, a start signal appears at the input of device 1, the process of receiving a trace;

Если в регистре 14 позиции устройства 1 указано, что оно среднее в цепочке, сигнал окончани  приема от предыдущего (первого или среднего ) устройства поступает на второйIf in register 14 of the position of device 1 it is indicated that it is average in the chain, the reception end signal from the previous (first or middle) device enters the second

1515

вход триггера 46 блока 16, вызыва  его сброс. Это приводит к по влению на выходе элемента И 40 сигнала запуска приема, который вызывает в блоке 10 управлени  приемом описанную последовательность действий по приему данных. Если прием осуществлетс  с контролем, после окончани  приема данных средним устройством п сигналу окончани  приема в триггерtrigger input 46 of block 16, causing it to reset. This leads to the appearance at the output of the element And 40 of the reception trigger signal, which in the reception control unit 10 causes the described sequence of actions for receiving data. If the reception is carried out with control, after the end of the reception of data by the average device and the signal of the end of reception in the trigger

46блока 16 заноситс  информаци  с входа 13А, котора  представл ет собой информацию счета по модулю два единичных значений разр дов данных прин тых предыдущим устройством. Эт информаци  складываетс  на элементе46 of block 16, information is input from input 13A, which is modulo information of the account modulo two unit values of data bits received by the previous device. This information is added to the item.

47сложени  по модулю два со значением триггера счета по модулю среднего устройства и через элементы47 modulo two with trigger count value modulo an average device and through elements

И 41, ИЛИ 35, И 38 и ИЛИ 33 поступает на вход 134 следующего (среднего или последнего) устройства цепочки .And 41, or 35, and 38 and or 33 are fed to the input 134 of the next (middle or last) device of the chain.

Если в регистре 14 позиции адаптера указано, что он последний в цепочке, в этом случае сигнал окончани  приема от предьщущего (первого или среднего) адаптера цепочки поступает на вход 134 последнего устройства, вызыва  действи  по запуску приема, аналогичные предьщуще- му случаю. Если прием данных осуществл етс  с контролем, в блоке 16 устройства на элементах И 43 и элементе 48 сложени  по модулю два осуществл етс  контроль данных принимаемого слова, прин тых всеми устройствами . В случае нарушени  типа контрол  сигнал с выхода элемента 48 сложени  по модулю два поступает на элемент И 78 блока 10 управлени  приема и далее в регистр 9 состо ни , где вызывает установку триггера Сбой по контролю.If the adapter position register 14 indicates that it is the last one in the chain, in this case the reception end signal from the previous adapter (first or middle) of the chain adapter is fed to the input 134 of the last device, causing actions to start the reception, similar to the previous case. If the data is received with control, in block 16, the device on elements And 43 and element 48 of the modulo-two addition controls the data of the received word received by all devices. In the event of a violation of the control type, the signal from the output of the addition element 48 modulo two is fed to the And 78 element of the receive control block 10 and then to the state register 9, where it causes a trigger to fail.

Claims (5)

1. Устройство дл  обмена данными между параллельным и последовательным интерфейсами, содержащее блок приемопередатчиков, дешифратор, регистр передачи, два регистра сдвига регистр управлени , регистр приема, два блока контрол , регистр состо ни , блок управлени  передачей, блок управлени  приемом, причем входы дешифратора  вл ютс  входами устройства дл  подключени  к шинам управле161. A device for data exchange between parallel and serial interfaces, comprising a transceiver unit, a decoder, a transmission register, two shift registers, a control register, a reception register, two control units, a status register, a transmission control unit, a reception control unit, and the decoder inputs are the inputs of the device to connect to the control buses OO 5five 00 5five НИН параллельного интерфейса, с первого по п тьш выходы дешифратора соединены соответственно с синхровхода- ми регистра передачи, регистра управлени , регистра состо ни , регистра приема и управл ющим входом блока приемопередатчиков, вход-выход которого  вл етс  входом-выходом устройства дл  подключени  к информационным шинам параллельного интерфейса , информационный выход блока приемопередатчиков соединен с информационными входами регистра управлени  и регистра передачи, выход которого соединен с информационным входом первого регистра сдвига, выход которого  вл етс  выходом устройства дл  подключени  к шине данных последовательного интерфейса, информацион- ньй вход регистра приема соединен с выходом второго регистра сдвига, информационный вход которого  вл етс  входом устройства дл  подключени  к информационной шине последовательного интерфейса, с первого по четвертый выходы регистра состо ний  вл ютс  выходами устройства дл  подключени  к шине управлени  параллельного интерфейса , п тый выход регистра состо ний соединен с первым информационным входом блока приемопередатчиков,второй информационньы вход которого соединен с выходом регистра приема, первый, второй, третий и четвертьй выходы блока управлени  приемом соединены соответственно с синхровходом второго регистра сдвига, первым информационным входом, входом четности информации первого блока контрол  и первым установочным входом регистра состо ни , информационный и второй установочньм входы которого соединены соответственно с первым и вторым выходами блока управлени  передачей, соединенными также с входом записи первого регистра сдвига, вход контрольного разр да и сдвиговьй вход которого соединены соответственно сThe parallel interface NIN, the first to fifth outputs of the decoder are connected respectively to the synchronous inputs of the transmission register, the control register, the status register, the reception register and the control input of the transceiver unit whose input-output is the input-output of the device parallel interface buses, the information output of the transceiver unit is connected to the information inputs of the control register and the transmission register, the output of which is connected to the information input of the first the shift register, the output of which is the output of the device for connecting the serial interface to the data bus, the information input of the receive register is connected to the output of the second shift register, whose information input is the input of the device for connecting to the serial interface information bus, first to fourth outputs the status registers are the outputs of the device for connection to the control bus of the parallel interface; the fifth output of the status register is connected to the first information input ode transceiver unit, the second information input of which is connected to the output of the receive register, the first, second, third and fourth outputs of the reception control unit are connected respectively to the synchronous input of the second shift register, the first information input, the parity input of the first control unit and the first installation input of the state register , information and second installation inputs of which are connected respectively to the first and second outputs of the transmission control unit, also connected to the recording input ne Vågå shift register, a control bit input and the shift input of which is connected respectively with третьим и четвертым выходами блока 0 управлени  передачей, п тьй выход которого соединен с входом счета формата второго блока контрол , первьш информационный вход которого соединен с выходом контрольного регистра сдвига, первьй и четвертьй выходы регистра состо ни  соединены соответственно с входами запроса блока управлени  передачей и блока управлени  приемом, п тый выход кото0the third and fourth outputs of the transmission control block 0, the five output of which is connected to the counting input of the second control unit, the first information input of which is connected to the output of the control shift register, the first and fourth outputs of the state register are connected respectively to the inputs of the transmission control block and the block reception control, fifth output which 5five 00 5five 5five 17,17, рого соединен с третьим установочным входом регистра состо ни , и входом записи регистра приема, первый выход регистра управлени  соединен с входами задани  формата слова блока управлени  передачей и блока управлени  приемом, синхровходы которых  вл ютс  соответственно синхровходами передачи и приема устройства, второй выход регистра управлени  соеди- JO иен с входами задани  типа контрол  первого и второго блоков контрол , второй информационный вход первого блока контрол  подключен к входу устройства дл  подключени  к информаци- f5 онной шине последовательного интер-, фейса, отличающеес  тем, что, с целью расцшрени  функциональ- |НЫХ возможностей за счет организации обмена словами переменного фо рмата 20 и повышени  быстродействи , оно содержит регистр позиции, блок наращивани  формата передачи и блок нараи1;и- вани  формата приема, причем инфор- мационньй и синхровходы регистра по- 25 зиции соединены соответственно с выходом блока приемопередатчиков и вторым выходом дешифратора, выход регистра позиции соединен с входами признаков позиции блока наращивани  30 формата передачи и блока наращивани  формата приема, входы признака контрол  которых, соединены с вторым выходом регистра управлени , а входы признака расширени  формата  вл ютс  5 одйоименными входами устройства,выход конца передачи блока наращивани  формата передачи  вл етс  выходом конца передачи устройства, а , выходы строба, запуска передачи и 40 контрольного разр да блока соединены с одноименными входами блока управлени  передачей, шестой и седьмой выходы которого соединены с входами конца передачи и признака переда- 45 чи блока наращивани  формата передачи , восьмой выход блока управлени  передачей соединен с входами начала передачи блока наращивани  формата передачи, второго блока контрол  и 50  вл етс  вьЕКодом начала передачи устройства, второй выход блока управлени  передачей соединен с входом записи блока наращивани  формата передачи , вход контрольного разр да 5 которого соединен с выходом второго блока контрол , вход начала приема и йыход конца приема блока наращивани  формата приема  вл ютс  одноимен129540318connected to the third setup input of the status register, and the write input of the receive register, the first output of the control register is connected to the input settings of the word format of the transmission control unit and the reception control unit, the synchronous inputs of which are respectively the transmission and reception sync inputs of the device, the second output of the control register - JO yen with the inputs of the control type setting of the first and second control blocks, the second information input of the first control block is connected to the device input for connecting to the information f5 The serial interface bus is characterized in that, in order to enhance functional possibilities due to the organization of the exchange of words of variable format 20 and speeding up, it contains a position register, a transfer format extension unit and a transmission block; the reception format, where the information and sync inputs of the position register 25 are connected respectively to the output of the transceiver unit and the second output of the decoder, the output of the position register is connected to the inputs of the position attributes of the building block 30 the transmission and the receive extension block whose control inputs are connected to the second output of the control register, and the inputs of the format expansion attribute are 5 identical inputs of the device, the output of the transmission end of the transmission extension module is the output of the transmission end of the device, and the gate outputs, start of transmission and 40 control bits of the block are connected to the same inputs of the transmission control block, the sixth and seventh outputs of which are connected to the inputs of the end of the transmission and the sign of the transmission of the block by increasing The transmission format, the eighth output of the transmission control unit is connected to the transmission start inputs of the transmission format incrementing unit, the second control unit and 50 is the device Start transfer code, the second output of the transmission control unit is connected to the recording input of the transmission format extension unit, control bit input 5 which is connected to the output of the second control unit, the input of the start of reception and the exit end of the reception of the building block of the receiving format are 129540318 ньми входом и выходом устройства, выходы строба, запуска приема, контрольного разр да, начала приема и входы конца приема, признака приема, сброса блока, нара1цивани  формата приема соединены с одноименными входами и шестым, седьмым, восьмым выходами блока управлени  приемом, выход первого блока контрол  соединен с входом контрольного разр да блока наращивани  формата приема.The device's input and output, gate outputs, reception start, check bit, reception start and reception end inputs, reception feature, unit reset, reception format definition are connected to the sixth, seventh, eighth outputs of the reception control unit, the output of the first block The control unit is connected to the input of the control bit of the block for increasing the reception format. 2. Устройство, ПОП.1, отличающеес  тем, что блок наращивани  формата передачи содержит первый , второй, третий и четвертый элементы ИЛИ, первьй, второй, третий, четвертый, п тый, шестой и седьмой элементы И, первьй и второй триггеры, первый и второй элементы сложени  по модулю два,, выходы конца передачи, строба, запуска передачи и контрольного разр да соединены соответственно с выходами первого элемента ИЛИ, первого и второго элементов И, и первого элемента сложени  по модулю два, первьй и второй входы которого соединены соответственно с первым разр дом входа контрольного разр да блока и выходом третьего элемента И, первьй и второй входы Которого соединены соответственно с первым разр дом входа признака позиции блока и выходом первого триггера, первьй и второй входы которого соединены соответственно с входами признака расширени  формата и начгала передачи блок а, вход признака расшзфени  формата блока со-. единен с первыми входами второгоэлемента ИЛИ и второго триггера, второй и третий входы которого соединены соответственно с выходами четвертого элемента И и входом начала пере-- дачи блока, первьй и второй выходы второго триггера соединены соответственно с первым входом п того элемента И и первым входом второго элемента И, второй вход которого со- еданен с выходом второго элемента ИПИ, второй и третий входы которого соединены соответственно с вторым и третьим разр дами входа признака позиции блока, второй разр д входа признака позиции блока соединен с первым входом шестого элемента И, второй вход которого соединен с первым входом второго элемента сложени  по модулю два и вторым разр дом входа контрольного разр да блока,вто1912954032. Device POP.1, characterized in that the increment block of the transmission format contains the first, second, third and fourth elements OR, first, second, third, fourth, fifth, sixth and seventh elements AND, first and second triggers, first and the second addition module modulo two, the outputs of the transmission end, strobe, transmission start and check bit are connected respectively to the outputs of the first OR element, the first and second And elements, and the first addition element modulo two, the first and second inputs of which are connected with pen the output bit of the input of the control bit of the block and the output of the third element I, the first and second inputs of which are connected respectively to the first bit of the input of the block position indicator and the output of the first trigger, the first and second inputs of which are connected respectively to the inputs of the format extension attribute and the start of the transfer of the block a, the input of the characteristic of the format of the block co. the first and second inputs of the second element OR and the second trigger, the second and third inputs of which are connected respectively to the outputs of the fourth element AND and the input of the beginning of the block transfer, the first and second outputs of the second trigger are connected respectively to the first input of the fifth element AND and the first input of the second element And, the second input of which is connected with the output of the second element of the IPD, the second and third inputs of which are connected respectively to the second and third bits of the input of the block position feature, the second bit of the position sign input unit is connected to the first input of the sixth element And, the second input of which is connected to the first input of the second addition element modulo two and the second discharge of the input of the check bit of the block, v129595403 второго элемента сложени  два соединен с выходом риггера, выходы второго элежени  по модулю два и шемента И соединены соответ- j- первыми входами седьмого И и третьего элемента ИЛИ, оды которых соединены соото с четвертым разр дом вхока позиции блока и выходом JO элемента И, выход третьего ИЛИ соединен с вторым вхоо элемента И, третий и входы которого соединены венно с входами признака 15 и передачи блока, выход емента И соединен с первым рвого элемента ИЛИ, втокоторого соединен с входомthe second element of the second two is connected to the output of the rigger; the outputs of the second arc modulo two and the sheeta are connected by the corresponding j-first inputs of the seventh AND and the third OR element, whose ods are connected to the fourth bit of the Vokok position of the block and the output of the JO element AND, the output The third OR is connected to the second inlet of the AND element, the third and the inputs of which are connected to the inputs of the sign 15 and the block transfer, the output of the AND terminal is connected to the first of the OR element, which is connected to the input пе пе ра эл ме не вь ко пе пе пр пе та вх то во дв с го го ра ка ме со ме ед та ед ме не ге И вх ше пр вх ше вх вх вы ро ты бл эл го со хо вт ти эл тр го со меThe first of the two is not the same as the second half of the second half of the first half of the second half of the second half of the first half of the second half of the second half of the second half of the second half of the second half of the second year. tgo me конца передачи блока, первый и вто- рой входы первого элемента И соединены соответственно с входом признака контрол  и в ыходом четвертого элемента ИЛИ, первьй и второй входы которого соединены соответственно с первым и третьим разр дами входа признака позиции блока, соединенньм с первым входом четвертого элемента И, второй вход которого соединен с входом записи блока.the end of the block transfer, the first and second inputs of the first element I are connected respectively to the input of the control sign and in the output of the fourth element OR, the first and second inputs of which are connected respectively to the first and third bits of the input of the sign of the position of the block And, the second input of which is connected to the input of the recording block. 3. Устройство по П.1, отличающеес  тем, что блок наращивани  формата приема содержит пер- вьш, второй, третий, четвертый и ддтый элементы ИЛИ, первый, второй, третий, четвертый, п тый,шестой и седьмой элементы И, элемент НЕ,первьй и второй триггеры, первый и второй элементы сложени  по модулю два, выходы конца приема, строба, запуска приема, контрольного разр да и начала приема соединены соответственно с выходами первого элемента ИЛИ, первого и второго эле- ментов И, первого сложени  по модулю два и второго элемента ИЛ первьй вход которого соединен с первым разр дом входа признака позиции блока, первым входом третьего элемента ИЛИ и первым входом третьего элемента И, второй вход второго элемента ИЛИ соединен с вторым разр дом входа признака позиции блока и первым входом четвертого элемента И, .третий вход второго элемента ИЛИ соединен с входом начала приема блока, второй вход четвертого элемента И соединен с выходом второго элемента сложени  по модулю два.3. The device according to Claim 1, characterized in that the block of building up the reception format contains the first, second, third, fourth and second elements OR, the first, second, third, fourth, fifth, sixth and seventh elements AND, the element NOT , the first and second triggers, the first and second elements of the modulo two addition, the outputs of the receiving end, strobe, reception start, the check bit and the start of reception are connected respectively to the outputs of the first OR element, the first and second And elements, and the first addition modulo two and second elements of IL inen with the first bit of the input of the block position indicator, the first input of the third element OR and the first input of the third element AND, the second input of the second element OR is connected to the second discharge of the input of the block position indicator and the first input of the fourth element AND, the third input of the second element OR is connected with the input of the beginning of the reception of the block, the second input of the fourth element I is connected to the output of the second element of the addition modulo two. 2020 - 5 - five 5five 0 00 0 5 0 5 0 5 5 0 5 0 5 первьш вход которого соединен с первым разр дом входа контрольного разр да блока и первым входом п того элемента И, второй вход второго элемента сложени  по модулю два соединен с выходом первого триггера, первьй вход которого соединен с входом конца приема блока и первым входом первого элемента ИЛИ, второй вход первого триггера соединен с входом признака расширени  формата блока, первыми входами четвертого элемента ИЖ и второго триггера и вторым входом третьего элемента И, выход которого соединен с первым входом первого элемента сложени  по модулю два, второй вход которого соединен с вторым разр дом входа контрольного разр да блока, второй вход п того элемента И соединен с третьим разр дом входа признака позиции блока и вторым входом четвертого элемента ИЛИ, выход п того элемента И соединен с первым входом п того элемента ИЛИ, второй вход которого соединен с выходом четвертого элемента И, выход п того элемента ИЛИ соединен с первым входом шестого элемента И, второй вход которого соединен с первым выходом второго триггера , третий вход шестого элемента И соединен с входом приема блока и . входом элемента НЕ, четвертьй вход шестого элемента И соединен с входом признака контрол  блока и первым входом первого элемента И, выход шестого элемента И соединен с вторым входом первого элемента ИЛИ, второй вход первого элемента И соединен с . выходом третьего элемента ИЛИ,второй вход которого соединен с четвертым разр дом входа признака позиции блока, третьим входом четвертого элемента ИЖ и первым входом седьмого элемента И, второй вход которого соединен с входом сброса блока, выход седьмого элемента И соединен с вторым входом второго триггера,третий вход которого соединен с выходом элемента НЕ, второй выход второго триггера соединен с первым входом второго элемента И,второй вход которого соединен с выходом четвертого элемента ИЛИ.whose first input is connected to the first bit of the control block input and the first input of the fifth element And, the second input of the second addition element modulo two is connected to the output of the first trigger, the first input of which is connected to the input end of the block and the first input of the first element OR , the second input of the first trigger is connected to the input of the sign of the expansion of the block format, the first inputs of the fourth IL element and the second trigger and the second input of the third And element, the output of which is connected to the first input of the first layer element Modulo two, the second input of which is connected to the second discharge of the control block input, the second input of the fifth element AND is connected to the third discharge of the input of the block position and the second input of the fourth element OR, the output of the fifth element AND is connected to the first input the fifth OR element, the second input of which is connected to the output of the fourth AND element, the output of the fifth OR element is connected to the first input of the sixth AND element, the second input of which is connected to the first output of the second trigger, the third input of the sixth AND element n with the input of the block and. the input element is NOT, the fourth input of the sixth element is AND is connected to the input of the control sign of the block and the first input of the first element is AND, the output of the sixth element is AND is connected to the second input of the first element OR, the second input of the first element is AND is connected to the output of the third element OR, the second input of which is connected to the fourth bit of the input of the sign of the block position, the third input of the fourth ILI element and the first input of the seventh element I, the second input of which is connected to the reset input of the block, the output of the seventh element I, is connected to the second input of the second trigger, the third input of which is connected to the output of the NOT element, the second output of the second trigger is connected to the first input of the second element AND, the second input of which is connected to the output of the fourth element OR. 4. Устройство по П.1, о т л и - чающеес  тем, что блок управлени  передачей содержит элементы И, ИЛИ, НЕ, триггеры, счетчик, элемен21 .4. The device according to claim 1, which means that the transmission control block contains AND, OR, NOT, triggers, a counter, an element. ты сложени  по модулю два, причем выход первого элемента И  вл етс  третьим выходом блока, первый вход первого элемента И соединен с входом контрольного разр да блока, второй вход первого элемента И соединен с выходом первого триггера и первым входом второго элемента И, второй вход которого соединен с первыми входами с третьего по седьмой элементов И и выходом первого элемента НЕ, выход второго элемента И соединен с первым входом первого элемента ИЛИ, второй вход которого соединен с выходом восьмого элемента И, выход первого элемента ИЛИ соединен с первыми входами первого и второго триггеров и шестым выходом блока , второй вход первого триггера соединен с выходом дев того элемента И, второй выход первого триггера соединен с вторым входом седьмого элемента И, первьш вход дев того элемента И соединен с первым выходом третьего триггера, первыми входами восьмого, дес того и одиннадцатого элементов И и вторым входом п того элемента И, второй вход дев того элемента И соединен с входом строба блока и входом первого элемента НЕ, выход которого соединен с вторым входом восьмого элемента И, третий вход которого соединен с первым выходом четвертого триггера и первыми входами двенадцатого и тринадцатого элементов И, третий вход п того эле мента И соединен с выходом четырнадцатого элемента И, выход п того элемента И соединен с первым входом чет10You add modulo two, with the output of the first element I being the third output of the block, the first input of the first element I connected to the input of the control bit of the block, the second input of the first element I connecting to the output of the first trigger and the first input of the second element I, the second input of which connected to the first inputs from the third to the seventh AND elements and the output of the first element NOT, the output of the second element AND connected to the first input of the first OR element, the second input of which is connected to the output of the eighth element AND, the output of the first IL element And connected to the first inputs of the first and second triggers and the sixth output of the block, the second input of the first trigger is connected to the output of the ninth And element, the second output of the first trigger is connected to the second input of the seventh And element, the first input of the ninth And element is connected to the first output of the third trigger , the first inputs of the eighth, tenth and eleventh And elements and the second input of the fifth element And, the second input of the ninth element And connected to the input of the gate of the block and the input of the first element NOT, the output of which is connected to the second input of the eighth And, the third input of which is connected to the first output of the fourth trigger and the first inputs of the twelfth and thirteenth elements And, the third input of the fifth element And is connected to the output of the fourteenth element And, the output of the fifth element And is connected to the first input of the fourth t5t5 вертого триггера, второй вход которого соединен с выходом седьмог о элемента И, второй выход четвертого триггера соединен с вторыми входами дес того и одиннадцатого элементов И и вторым входом шестого элемента И, третий вход и выход которого соединены соответственно с первым выходом п того триггера и первым входом третьего триггера, второй вход которого соединен с выходом двенадцатого элемента И, второй выход третьего триггера соединен с ше- ;стым выходом блока и третьим входом седьмого элемента И, четвертьй вход которого соединен с входом запуска пе редачи блока, второй вход и выход второго триггера соединены (Соответственно с выходом третьего элемента И и вторым входом четвертого эле129540322the second trigger whose second input is connected to the output of the seventh element And, the second output of the fourth trigger is connected to the second inputs of the tenth and eleventh elements And and the second input of the sixth element And, the third input and output of which are connected respectively to the first output of the fifth trigger and the first the input of the third trigger, the second input of which is connected to the output of the twelfth element I, the second output of the third trigger is connected to the sixth output of the block and the third input of the seventh element I, the fourth input of which is connected to the start of the transfer of the block, the second input and the output of the second trigger are connected (Accordingly, with the output of the third element AND and the second input of the fourth eleventh4040322 мента И, второй вход третьего элемента И соединен с вторым выходом п того триггера., первым выходом блока и первым входом п тнадцатого элемента И, первьй вход п того триггера (.оединен с выходом четвертого элемента И, второй вход п того триггера соединен с входом сброса счетчика, вторым выходом блока и выходом п тнадцатого элемента И, второй вход которого соединен с выходом второго элемента НЕ, третий вход п тнадцатого элемента И соединен с синхровхо- дом блока, входом третьего элемента НЕ, вторыми входами двенадцатого и тринадцатого элементов И и третьими входами дес того и одиннадцатого элементов И, вход второго элемента НЕ соединен с входом запроса передачи блока, выход тринадцатого элемента И соединен с первым входом шестого триггера, второй вход которого соединен с выходом одиннадцатого элемента И и восьмым выходом блока, выход шестого триггера соединен с четвертым входом одиннадцатого элемента И, выход дес того элемента И соединен с п тым выходом блока и счетным входом счетчика, первый, второй и третий выходы которого образуют четвертый выход блока и соединены с первыми входами первого, второго и третьего элементов сложени  по модулю два, вторые входы которых образуют вход задани  формата слова блока, выходы первого, второго и третьего элементов сложени  по модулю два соединены соответственно с первым, вторым и третьим входа- , ми четырнадцатого элемента И.And the second input of the third element And is connected to the second output of the fifth trigger., the first output of the block and the first input of the fifteenth element And, the first input of the fifth trigger (. connected to the output of the fourth element And, the second input of the fifth trigger is connected to the input reset the counter, the second output of the block and the output of the fifteenth element I, the second input of which is connected to the output of the second element NOT, the third input of the fifteenth element AND is connected to the synchronous input block, the input of the third element NOT, the second inputs of the twelfth and thirteenth elements And the third inputs of the tenth and eleventh And elements, the input of the second element is NOT connected to the input of the block transfer request, the output of the thirteenth element And is connected to the first input of the sixth trigger, the second input of which is connected to the output of the eleventh And element and the eighth output of the block, output of the sixth the trigger is connected to the fourth input of the eleventh element I, the output of the tenth element I is connected to the fifth output of the block and the counting input of the counter, the first, second and third outputs of which form the fourth output of the block and connected with the first inputs of the first, second and third elements of addition modulo two, the second inputs of which form the input of setting the block word format, the outputs of the first, second and third elements of addition modulo two are connected respectively to the first, second and third inputs of the fourteenth element AND . 2020 2525 30thirty 3535 4040 4545 /ABOUT 5555 5. Устройство по п.1, о т л и - чающеес  тем, что блок управлени  приемом содержит элементы И, элементы НЕ, триггеры, элементы ИЛИ, счетчик, элементы сложени  по модулю два, вьжод первого элемента И  вл етс  четвертыь выходом блока, первьш вход первого элемента И  вл етс  входом контрольного разр да блока, второй вход первого элемента И соединен с выходом первого триг«- гера и первым входом второго элемента И, второй вход которого соединен с синхровходом блока, первыми входами третьего, четвертого и п того элементов И и входом первого элемента НЕ, выход второго элемента И соединен с первым входом первого5. The device according to claim 1, wherein the reception control unit contains AND elements, NOT elements, triggers, OR elements, a counter, addition elements modulo two, the output of the first AND element is the fourth output of the block, The first input of the first element I is the input of the control bit of the block, the second input of the first element I is connected to the output of the first triggers, and the first input of the second element I, the second input of which is connected to the synchronous input of the block, the first inputs of the third, fourth and fifth elements And the input of the first element NOT output of the second AND element is connected to a first input of the first 5five ОABOUT 5five 5. Устройство по п.1, о т л и - чающеес  тем, что блок управлени  приемом содержит элементы И, элементы НЕ, триггеры, элементы ИЛИ, счетчик, элементы сложени  по модулю два, вьжод первого элемента И  вл етс  четвертыь выходом блока, первьш вход первого элемента И  вл етс  входом контрольного разр да блока, второй вход первого элемента И соединен с выходом первого триг«- гера и первым входом второго элемента И, второй вход которого соединен с синхровходом блока, первыми входами третьего, четвертого и п того элементов И и входом первого элемента НЕ, выход второго элемента И соединен с первым входом первого5. The device according to claim 1, wherein the reception control unit contains AND elements, NOT elements, triggers, OR elements, a counter, addition elements modulo two, the output of the first AND element is the fourth output of the block, The first input of the first element I is the input of the control bit of the block, the second input of the first element I is connected to the output of the first triggers, and the first input of the second element I, the second input of which is connected to the synchronous input of the block, the first inputs of the third, fourth and fifth elements And the input of the first element NOT output of the second AND element is connected to a first input of the first 231231 элемента ИЛИ, второй вход которого соединен с выходом третьего элемента И, выход первого элемента ИЖ соединен с шестым выходом блока и первым входом второго триггера,второй вход которого соединен с выходо шестого элемента И и первым входом третьего триггера, первый выход второго триггера соединен с первым входом первого триггера, второй выход второго триггера соединен с первыми входами седьмого элемента И и второго элемента ИЛИ и вторым входом третьего элемента И, третий вход которого соединен с выходом второго элемента НЕ, вход которого соединен с входом строба блока и вторым входом седьмого элемента И, третий вход которого соединен с выходом первого элемента НЕ и первыми входами шестого, восьмого, дев того и дес того элементов И, четвертый вход седьмого элемента И соединен с первым входом одиннадцатого эле- мента И, седьмым выходом блока и вторым выходом четвертого триггера, выход седьмого элемента И соединен с вторым входом первого триггера, второй вход третьего триггера соединен с входом запуска приема блока и первым входом двенадцатого элемента И, первый выход третьего триггера соединен с вторым входом четвертого элемента И, второй выход третьего триггера соединен с вторым входом п того элемента И и вторым входом двенадцатого элемента И, третий вход которого соединен с входом начала приема блока, выход двенадцатого элемента И соединен с третьим выходом блока, входом сброса счетчика и первым входом четверт(оthe OR element, the second input of which is connected to the output of the third element AND, the output of the first element IL is connected to the sixth output of the block and the first input of the second trigger, the second input of which is connected to the output of the sixth element And and the first input of the third trigger, the first output of the second trigger the input of the first trigger, the second output of the second trigger is connected to the first inputs of the seventh element AND and the second element OR, and the second input of the third element AND, the third input of which is connected to the output of the second element NOT whose input o is connected to the gate input of the block and the second input of the seventh element I, the third input of which is connected to the output of the first element NOT and the first inputs of the sixth, eighth, ninth and tenth elements And, the fourth input of the seventh element And connected to the first input of the eleventh element And, the seventh output of the block and the second output of the fourth trigger, the output of the seventh element And is connected to the second input of the first trigger, the second input of the third trigger is connected to the input of the block start reception and the first input of the twelfth element And, the first output of the third This trigger is connected to the second input of the fourth element I, the second output of the third trigger is connected to the second input of the fifth element I and the second input of the twelfth element I, the third input of which is connected to the input of the beginning of the block reception, the output of the twelfth element I is connected to the third output of the block, input reset counter and the first quarter entrance (o 5five 403403 00 5five 00 5five 00 2424 триггера, второй вход которого соединен с выходом четвертого элемента И, первый выход четвертого триггера соединен с третьим входом п того элемента И, вторым входом второго элемента ИЛИ и вторым входом шестого элемента И, третий вход которого соединен с выходом тринадцатого элемента И, выход второго элемента ИЛИ соединен с вторым входом восьмого элемента И, выход которого соединен с вторым выходом блока, вход запроса приема которого соединен с вторьм входом дев того элемента Ни входом третьего элемента НЕ, выход которого соединен с вторым входом одиннадцатого элемента И, третий вход и выход которого соединены соответственно с первым выходом п того триггера и первым входом шестого триггера, второй вход которого соединен с выходом дев того элемента И, выход шестого триггера соединен с п тым выходом блока и первым входом п того триггера, второй вход которого соединен с выходом п того элемента И и счетньм входом счетчика, второй выход п того триггера соединен с вторым входом дес того элемента И, выход которого соединен с восьмым выходом блока, первьш, второй и третий выходы счетчика образуют первый выход блока и соединены с первыми входами первого, второго и третьего элементов сложени  по модулю два, вторые входы которых образуют вход задани  формата слова блока, выходы первого, второго и третьего элементов сложени  по модулю два соединены соответственно с первым,вторым и третьим входами тринадцатого элемента И.trigger, the second input of which is connected to the output of the fourth element AND, the first output of the fourth trigger is connected to the third input of the fifth element AND, the second input of the second element OR and the second input of the sixth element And, the third input of which is connected to the output of the thirteenth element AND, the output of the second element OR is connected to the second input of the eighth element AND, the output of which is connected to the second output of the block, the input request request of which is connected to the second input of the ninth element Neither the input of the third element NOT, the output of which is connected to the third input and the output of which are connected respectively to the first output of the fifth trigger and the first input of the sixth trigger, the second input of which is connected to the output of the ninth element I, the output of the sixth trigger is connected to the fifth output of the block and the first input of the fifth trigger, the second input of which is connected to the output of the fifth element AND and the counting input of the counter, the second output of the fifth trigger is connected to the second input of the tenth element And, the output of which is connected to the eighth output of the block, first, second and third the outputs of the counter form the first output of the block and are connected to the first inputs of the first, second and third elements of the addition modulo two, the second inputs of which form the input setting the format of the block word, the outputs of the first, second and third elements of the modulo two are connected respectively to the first, second and second the third inputs of the thirteenth element I. Фиг.FIG. ten.ften.f -{I - {I JJ Фиг. гFIG. g от tofrom to от 8 от tofrom 8 to т0т 1 129t0t 1 129 II (i±iz:(i ± iz: I., I . I., i. (риг 7(rig 7 fJ5fJ5 KlOKlo от ISfrom IS Фиг.66 /J/J/ J / j из 10out of 10 изЮof you из 8of 8 фигЛfigl фиг.55 фиг.аfig
SU853955232A 1985-07-30 1985-07-30 Device for exchanging data between serial and parallel interfaces SU1295403A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU853955232A SU1295403A1 (en) 1985-07-30 1985-07-30 Device for exchanging data between serial and parallel interfaces

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU853955232A SU1295403A1 (en) 1985-07-30 1985-07-30 Device for exchanging data between serial and parallel interfaces

Publications (1)

Publication Number Publication Date
SU1295403A1 true SU1295403A1 (en) 1987-03-07

Family

ID=21197988

Family Applications (1)

Application Number Title Priority Date Filing Date
SU853955232A SU1295403A1 (en) 1985-07-30 1985-07-30 Device for exchanging data between serial and parallel interfaces

Country Status (1)

Country Link
SU (1) SU1295403A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Коган Б.М. и др. Микропроцессоры в цифровых системах. - Энерги , 1979. Патент US № 3975712,кл.340.147R, 1976. *

Similar Documents

Publication Publication Date Title
EP0522764B1 (en) Multiplexing scheme for modem control signals
US5748684A (en) Resynchronization of a synchronous serial interface
US5561771A (en) System for transmitting data between systems using selected subsets of plural interconnecting bus lines and including selection of a compatible transmission speed
US3975712A (en) Asynchronous communication interface adaptor
US4071887A (en) Synchronous serial data adaptor
US4573120A (en) I/O Control system for data transmission and reception between central processor and I/O units
US4298978A (en) Data communication apparatus
US4450572A (en) Interface for serial data communications link
CA1178686A (en) Line protocol for communication system
US3979732A (en) Asynchronous status interlock circuit for interface adaptor
US3668645A (en) Programable asynchronous data buffer having means to transmit error protected channel control signals
US4625307A (en) Apparatus for interfacing between at least one channel and at least one bus
US4097695A (en) Asynchronous addressable multiplex system
US5128666A (en) Protocol and apparatus for a control link between a control unit and several devices
EP0434083A2 (en) Data transfer system and method of transferring data
US4006457A (en) Logic circuitry for selection of dedicated registers
US4814761A (en) Method and apparatus for communication control in loop communication network
US4967409A (en) Network system of programmable controllers
US4787025A (en) Remote fan out facility for data terminals
SU1295403A1 (en) Device for exchanging data between serial and parallel interfaces
US6532239B1 (en) Transmission/reception concurrent matching apparatus for TDM channels and method thereof
US4532627A (en) Time multiplex controlled data system
US5212688A (en) TDM expansion bus
JPS61208331A (en) Serial data communication system
US4387446A (en) Stack control system