SU1691893A2 - Device for shifting information with checking - Google Patents

Device for shifting information with checking Download PDF

Info

Publication number
SU1691893A2
SU1691893A2 SU894756559A SU4756559A SU1691893A2 SU 1691893 A2 SU1691893 A2 SU 1691893A2 SU 894756559 A SU894756559 A SU 894756559A SU 4756559 A SU4756559 A SU 4756559A SU 1691893 A2 SU1691893 A2 SU 1691893A2
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
shift
information
block
Prior art date
Application number
SU894756559A
Other languages
Russian (ru)
Inventor
Сергей Григорьевич Диденко
Original Assignee
Предприятие П/Я Г-4135
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 Предприятие П/Я Г-4135 filed Critical Предприятие П/Я Г-4135
Priority to SU894756559A priority Critical patent/SU1691893A2/en
Application granted granted Critical
Publication of SU1691893A2 publication Critical patent/SU1691893A2/en

Links

Abstract

Изобретение относитс  к автоматике и вычислительной технике и может быть применено в высокопроизводительных цифровых устройствах обработки информации. Цель изобретени  - повышение достоверности контрол  - достигаетс  за счет анализа выходной информации при нулевой входной информации. В устройство дл  сдвига информации с контролем, содержащее блок 1 сдвига, формирователь 2 кода маски, блок 3 элементов И, блоки 4-6 сложени  по модулю два, элемент И, введены элемент ИЛИ-НЕ 21, элемент ИЛИ 22, второй элемент И 23 и соответствующие функциональные св зи.1 ил.The invention relates to automation and computing and can be applied in high-performance digital information processing devices. The purpose of the invention — an increase in the reliability of the control — is achieved by analyzing the output information with zero input information. In the device for shifting information with the control containing block 1 shift, shaper 2 mask code, block 3 elements AND, blocks 4-6 addition modulo two, element AND, entered the element OR NOT 21, element OR 22, the second element AND 23 and corresponding functional relationships. 1 ill.

Description

(L

СWITH

$ #$ #

Изобретение относитс  к автоматике и вычислительной технике, может быть применено в высокопроизводительных цифро4 иых устройствах обработки информации и касаетс  усовершенствовани  устройства по авт. св. № 1297116.The invention relates to automation and computing, can be applied in high-performance digital information processing devices and relates to the improvement of the device according to the author. St. No. 1297116.

На черте се приведена схема устройства .In the drawing there is a device diagram.

Устройство содержит блок 1 сдвига формирователь2 кода масю , блокЗ элементов И, первый, второй и третий блоки 4-6 сложени  по модулю дв&, первый элемент Vi 7, вход 8 данных устройства, вход 9 количества сдвигов устройства, вход 10 направлени  сдвига устройства, вход 11 вида сдвига устройства, вход 12 контрольных разр дов устройства, старший разр д 13 данных устройства , младший разр д 14 количества сдвигов устройства, первым, второй и третий управл ющие входы 15-17 устройства соответственно, выход 18 данных устройства , выход 19 дантрольннх разр дов устройства , первый выход 20 ошибки устройства, элемент ИЛИ-НЕ 21, элемент ИЛИ 22, второй элемент 1/1 23 и второй выход 24 ошибки устройства.The device contains a block 1 of a shift driver 2 of the code code, a block of the elements I, the first, second and third blocks 4-6 addition modulo two &, the first element Vi 7, the input 8 of the device data, the input 9 of the number of device shifts, the input 10 of the shift direction of the device input 11 of the device shift type, input 12 control bits of the device, senior bit 13 of the device data, low bit 14 of the number of device shifts, first, second and third control inputs 15-17 of the device, respectively, output 18 of the device data, output 19 of the remote bit size roystva, the first output device 20 errors OR-NO element 21, an OR gate 22, the second element 23 and the 1/1 second output device 24 errors.

Первый управл ющей вход формировател  2 кода маски и первый управл ющий вход с двигател   вл ютс  входом 9 количества сдвигов устройства, второй и третий управл ющие входы формировател  2 кода маски  вл ютс  первым и вторым управл ющими входами 15 и 16 устройства соответственно , выход .формировател  2 кода маски соединен с первым входом блока 3 элементов И, второй вход которого соединен с информационным входом блока 1 сдвига, второй и третий управл ющие входы блока 1 сдвига  вл ютс  входами 10 и 11 направлени  и типа сдвига устройства соответственно , группа выходов блока 1 сдвига соединена с группой входов первого блока 4 сложени  по модулю два и  вл етс  выходом 18 данных устройства, группа выходов первого блока 4 сложени  по модулю два соединена с первым входом третьего блока 6 сложени  по модулю два и с оыходом 1Э контрольных разр дов устройства, вход 12 контрольных разр дов устройства соединен с первь л входом второго блока 5 сложени  по модулю два, второй вход которого соединен с выходом блока 3 элементов И, а третий вход соединен с выходом первого элемента Л 7, первый вход 13 первого элемента И 7  вл етс  старшим разр дом входных данных устройства, второй вход 14 первого элемента И 7  вл етс  младшим разр дом числа сдвигов устройства, третий вход 17 первого элемента И 7 соединен с третьим управл ющим входом 17 устройства , выход блока 5 сложени  по модулю два соединен с вторым входом блока 6 сложени  по модулю два, выход которого  вл етс  первым выходом 20 ошибки устройства,The first control input of the generator 2 of the mask code and the first control input from the engine are the input 9 of the number of device shifts, the second and third control inputs of the generator 2 of the mask code are the first and second control inputs 15 and 16 of the device, respectively, the output of the former The 2 mask codes are connected to the first input of the 3 I block, the second input of which is connected to the information input of the shift unit 1, the second and third control inputs of the shift unit 1 are inputs 10 and 11 of the direction and type of device shift, respectively Actually, the output group of the shift unit 1 is connected to the input group of the first addition unit 4 modulo two and is the output 18 of the device data, the output group of the first addition unit 4 modulo two is connected to the first input of the third addition unit 6 modulo two and with output 1E the control bits of the device, the input 12 of the control bits of the device is connected to the first input of the second addition unit 5 modulo two, the second input of which is connected to the output of the block 3 And elements, and the third input is connected to the output of the first element L 7, the first input 13 ne The first element AND 7 is the highest bit of the input data of the device, the second input 14 of the first element AND 7 is the youngest bit of the number of device shifts, the third input 17 of the first element And 7 is connected to the third control input 17 of the device, the output of the addition block 5 is module two is connected to a second input of modulo-two adder unit 6, the output of which is the first error output device 20,

группа входов элемента ИЛИ 22 соединена с группой выходов блока 1 сдвига, выход элемента ИЛИ 22 соединен с вторым входом второго элемента И 23, выход которого  вл етс  вторым выходом 24 ошибки устрой0 ства, первый вход второго элемента И 23 соединен с выходом элемента ИЛИ-НЕ, группа выходов которого соединена с информационным входом блока сдвига.an input group of the element OR 22 is connected to a group of outputs of the shift unit 1, the output of the element OR 22 is connected to the second input of the second element AND 23, the output of which is the second output 24 of the device error, the first input of the second element AND 23 is connected to the output of the element OR NOT whose output group is connected to the information input of the shift block.

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

На вход 8 данных устройства и вход блока сдвига поступает информаци  дл  выполнени  в блоке сдвига логического, арифметического или циклического видаThe input 8 of the device data and the input of the shift unit receive information for performing a logical, arithmetic or cyclic type in the shift unit.

0 сдвигов. На входы 9, 10, 11 устройства поступают сигналы, настраивающие блок сдвига на выполнение определенного количества сдвигов вправо или влево и вид сдвигов соответственно, Аналогичные сигналы0 shifts. The inputs 9, 10, 11 of the device receive signals that set the shift unit to perform a certain number of shifts to the right or left and the type of shifts, respectively. Similar signals

5 поступают на входы формировател  кода маски. По значению количества сдвигов на входе 9 устройства и по значению управл ющих сигналов на входах 15 и 1 б устройства на выходе формировател  2 образуетс  со0 ответствующий код, который далее в блоке 3 поразр дно логически перемножаетс  с двоичным кодом входной информации блока 1 сдвига. В результате этого на выход блока 3 поступают только те разр ды вход5 ной информации блока 1 сдвига, которые должны быть выдвинуты в результате выполнени  в устройстве операции сдвига. При сдвиге на нуль разр дов, а также при циклическом сдвиге все разр ды входной5 are fed to the inputs of the mask code generator. The value of the number of shifts at the input 9 of the device and the value of the control signals at the inputs 15 and 1 b of the device at the output of the shaper 2 forms the corresponding code, which is then sequentially multiplied in block 3 with the binary code of the input information of the shift 1. As a result, the output of block 3 receives only those bits of the input information of the shift block 1, which should be pushed as a result of performing a shift operation in the device. When shifting to zero bits, as well as cyclic shift all bits of the input

0 информации устройства сохран ютс , поэтому на выходе формирователь 2 кода маски , а следовательно, и на выходе блока 3 элементов И должен сформироватьс  двоичный код, состо щий из одних нулей. iThe information of the device is saved, therefore, the output of the mask code generator 2, and, consequently, the output of the block 3 of the elements I, must also form a binary code consisting of all zeros. i

5 Формирователь 2 кода маски может быть реализован на ПЗУ по соответствующей таблице истинности. В этом случае входы 9, 15 и 16 устройства образуют адресный аход этого ПЗУ. Ниже приведена таблица,5 Shaper 2 mask codes can be implemented on the ROM according to the corresponding truth table. In this case, the inputs 9, 15, and 16 of the device form the address address of this ROM. Below is a table

0 по сн юща  функционирование формировател  2 кода маски дл  случа  . При этом предполагаетс , что при сдвиге влево на вход 9 устройства подаетс  пр мой код количества сдвигов, а при сдвиге вправо 5 дополнительный.0 explaining the functioning of the imaging unit 2 mask code for the case. In this case, it is assumed that when you shift to the left, the direct code of the number of shifts is fed to the input 9 of the device, and when you shift to the right, 5 is optional.

В блоке 5 осуществл етс  сложение по модулю два двух групп слагаемых. Первую группу слагаемых образуют разр ды (четности ), относ щиес  к определенным группам разр дов (например, к байтам) входной информации устройства. Эта группа слагаемых подаетс  на первый вход блока 5 с входа 12 устройства. Вторую группу слагаемых образуют значени  выходов блока 3 элементов И (на эти выходы поступают значени  тех разр дов входной информации устройства , которые должны быть выдвинуты в процессе выполнени  в нем операции сдвига} . Втора  группа слагаемых подаетс  на второй вход блока 5 с выхода блока 3 элементов . На третий вход блока S с зыхода первого элемента И 7 подаетс  сигнал, учитывающий четность вдвигаемых единиц при выполнении в устройстве арифметического сдвига вправо. Этот сигнал равен единице только в том случае, когда в устройстве выполн етс  арифметический сдвиг вправо на нечетное число разр дов отрицательного числа (в этом случае на входах 13, 14 и 17 устройства присутствуют единичные сигналы ), на выходе блока 5 образуетс  значение предсказываемой четности результата.In block 5, the modular addition of two two groups of terms is carried out. The first group of terms is formed by bits (parity), related to certain groups of bits (for example, to bytes) of the input information of the device. This group of terms is fed to the first input of the unit 5 from the input 12 of the device. The second group of terms is formed by the outputs of the block of 3 elements AND (these outputs receive the values of those bits of the input information of the device that must be pushed in the process of performing a shift operation in it.) The third input of the block S from the exit of the first element I 7 is given a signal that takes into account the parity of the units being moved when the arithmetic shift to the right is performed in the device. This signal is equal to one only when you the arithmetic shift to the right is filled by an odd number of bits of a negative number (in this case, single signals are present at the inputs 13, 14 and 17 of the device), the output of block 5 forms the value of the predicted result parity.

С помощью первого блока 4 сложени  по модулю два осуществл етс  формирование фактических четностей дл  групп рэзр - дов (например, байтов) выходной информации блока 1 сдвига. Значени  этих четностей подаютс  на выход 19 устройства в качестве контрольных разр дов результата . Эти же четности поступают в третий блок 6, где суммируютс  по модулю два между собой и со значением предсказанной четности результата и где провер етс  их равенство . Когда значени  фактической и поедсказанной четностей результата не совпадают , на выходе 20 устройства формируетс  сигнал ошибки.With the help of the first modulo 2 addition unit 4, the formation of the actual parities for the groups of spars (for example, bytes) of the output information of the shift unit 1 is carried out. The values of these parities are fed to the output 19 of the device as control bits of the result. The same parities come in the third block 6, where they modulo two are added to each other and to the value of the predicted parity of the result and where their equality is checked. When the values of the actual and edited parities of the result do not match, an error signal is generated at the output 20 of the device.

Ниже приводитс  пример сдвига в устройстве байта информации А а132333435363738 с одним контрольным разр дом К, дополн ющим ее до четности.Below is an example of a shift in the device byte A of information A132333435363738 with one check bit K, which supplements it to parity.

Пусть в устройстве необходимо выполнить арифметический сдвиг контролем информации А 31Э2аз34а5асЬ Зг на тр и разр да вправо в предположен что старший разр д 31 знаковый и .Дл  этого на вход 8 данных устройства подаетс  значение A ai3233a ia5a6a7a8, на вход 2 контрольных разр дов устройства - значение контрольного разр да К, на вход 9 количества сдвигов - двоичный код 101,  вл ющийс  дополнением кода 011, на входы 10, 11 устройствэ поступают сигналы, настраивающие блок 1 на выполнение в нем арифметического сдвига вправо, на первый и второй управл ющие входы 15 и 16 устройства подаетс  код 10, настраивающий формирователь 2 на получение кода маски дл  сдвига информации вправо, на третийSuppose that in the device it is necessary to perform an arithmetic shift in the control of information A 31E2az34a5as3r by tp and discharge to the right, it is assumed that the most significant bit is 31-digit and. the control bit K, the input 9 of the number of shifts is the binary code 101, which is the complement of the code 011, the inputs 10, 11 of the device receive signals that set up block 1 to perform an arithmetic shift to the right in it, to the first and second control inputs s 15 and 16 of device 10 is supplied to the code, tuning generator 2 for a code mask for the shift to the right information, the third

КфНKFN

управл ющий вход 17 устройства подаетс  сигнал логической единицы.the control input 17 of the device is given a logical unit signal.

В результате этого на выходе блока 1 сдвига формируетс  значениеAs a result, the value of

А1- Ша1Э23зэ4а5. которое и поступает на выход 1 а устройства в качестве его результата. Значение А1 используетс  в первом блоке 4 сложени  по модулю два дл  формировани  в соответствии с выражением Э I ©I ©31 ©32Фзз®34®а5 фактической четности результата Кф (знэчение Кф в качестве контрольного разр да результата подаетс  на выход 19 устройствэ). На выходе формировател  2 образуетс  код маскиA1-Sha1E23ze4a5. which arrives at output 1 of the device as its result. The value of A1 is used in the first block 4 of the modulo two addition to form the actual parity of the Kf result in accordance with the expression E I © I 32 31 32 32Fzz®34® -5 (the Kf value is output to the device 19 as the control bit of the result). At the output of the imaging unit 2, a mask code is generated.

5 00000111, а на выходе блока 3 элементов И формируетс  результат ОООООаеатэв, который равен значению группы выдвигаемых разр дов в исходной информации А. С помощью второго блока 5 сложени  по модулю5 00000111, and at the output of block 3 of the elements I, the result is formed of LLC Oooaatev, which is equal to the value of the group of nominated bits in the initial information A. With the help of the second block 5 addition modulo

0 два формируетс  значение предсказываемой четности результата Кп КФае©атФа8©1, где 1 отражает четность вдвигаемых при сдвиге вправо единиц (единица формируетс  на выходе первого элемента И 7). В третьем0 two, the value of the predicted parity of the Kp KFaE © atFa8 © 1 result is formed, where 1 represents the parity of the units moved in the right shift (one is formed at the output of the first element And 7). In third

5 блоке 6 сложени  по модулю два осуществл етс  сравнение значени  фактической четности Кф результата со значением предсказываемой четности Кп результата, нз основании чего на выходе 20 устройства вырабатываетс  или не5, modulo two addition block 6 compares the actual parity value Kf of the result with the predicted parity value Kp of the result, based on which the output 20 of the device is generated or not

0 вырабатываетс  сигнзл ошибки.0 generated error signal.

Подобным обрззом может быть рассмотрена работа устройства и дл  тех случаев , когда информаци , поступающа  на вход 8 данных устройства, сопровождаетс  не5 сколькими контрольными разр дами (например, каждый байт входной информации сопровождаетс  своим контрольным разр дом).Similarly, the operation of the device can be considered for those cases where the information received at the input 8 of the device is accompanied by several 5 control bits (for example, each byte of the input information is accompanied by its own control bit).

Если на вход 8 данных устройства поступает дл  сдвига нулева  информаци , то наIf the input device data 8 is fed to shift the zero information, then

0 выходе элемента ИЛ1Л-НЕ21, выполн ющего функцию дешифратора нулевого кода, по вл етс  высокий уровень напр жени , который поступает нз первый вход второго элемента И 23. Если блок сдвига работает0 the output of the element IL1L-HE21, which performs the function of the zero-code decoder, appears a high level of voltage, which is supplied from the first input of the second element And 23. If the shifter is working

5 правильно, то на его группе выходов (вне зависимости от сигналов на входах 9-11 устройства ) по вл етс  нулева  информзци , котора  поступает на группу входов элемента ИЛИ 22, На выходе элемента ИЛИ 225 is correct, then on its output group (regardless of the signals at the inputs 9-11 of the device) there appears zero information that goes to the input group of the element OR 22, At the output of the element OR 22

0 по вл етс  низкий уровень напр жени , который поступает на второй вход элемента И 23, вызыва  по вление на его выходе и на выходе 24 устройства низкого уровн  напр жени , что свидетельствует об отсутствии0, a low voltage level appears that goes to the second input of the element 23, causing the appearance at its output and output 24 of a low voltage device, which indicates the absence of

5 сигнала ошибки, Если же блок сдвига работает неправильно и на его группе выходов по вл етс  ненулева  информаци  в одном или нескольких разр дах, в этом случае на выходе элемента ИЛИ 22 по влчетс  высокий уровень напр жени , который поступает на второй вход элемента И 23, вызыва  по вление на его выходе и на выходе 24 устройства высокого уровн  напр жени , что свидетельствует о наличии ошибки в работе блока сдвига.5 error signals, if the shift block is working incorrectly and its group of outputs contains non-zero information in one or several bits, in this case, the output of the OR 22 element will result in a high voltage level that goes to the second input of the AND 23 element , causing the appearance at its output and output 24 of a high voltage device, which indicates the presence of an error in the operation of the shear unit.

Устройство позвол ет повысить достоверность контрол  блока сдвига за счет анализа выходной информации при нулевой входной информации.The device allows to increase the reliability of the control unit shift by analyzing the output information with zero input information.

Claims (1)

Формула изобретени  Устройство дл  сдвига информации с контролем по авт. св. № 1297116, отличаТаблица функционировани  формировател  кода маскиThe invention of the device for shifting information with control on the author. St. No. 1297116, distinguishing the function table of the mask code generator О 0 При циклическом сдвигеO 0 Under cyclic shift ю щ е е с   тем, что, с целью повышени  достоверности контрол , в него введены элемент ИЛИ-НЕ, второй элемент И и элемент ИЛ И, группа входов которого соединена соответственно с группой выходов блока сдвига, а выход - с вторым входом второго элемента И, выход которого  вл етс  вторым выходом ошибки устройства, а первый соединен с выходом элемента ИЛИ НЕ,группа входов которого соедине на с информационным входом блок сдвига.It is so that, in order to increase the reliability of the control, an OR-NOT element, a second AND element and an IL AND element are entered into it, the input group of which is connected respectively to the output group of the shift block, and the output to the second input of the second element And, the output of which is the second output error of the device, and the first is connected to the output of the element OR NOT, the group of inputs of which is connected to the information input of the shift block. 0000000000000000
SU894756559A 1989-08-22 1989-08-22 Device for shifting information with checking SU1691893A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU894756559A SU1691893A2 (en) 1989-08-22 1989-08-22 Device for shifting information with checking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU894756559A SU1691893A2 (en) 1989-08-22 1989-08-22 Device for shifting information with checking

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
SU1297116A Addition SU391968A1 (en) 1969-01-07 1969-01-07 BELT CONVEYOR

Publications (1)

Publication Number Publication Date
SU1691893A2 true SU1691893A2 (en) 1991-11-15

Family

ID=21478266

Family Applications (1)

Application Number Title Priority Date Filing Date
SU894756559A SU1691893A2 (en) 1989-08-22 1989-08-22 Device for shifting information with checking

Country Status (1)

Country Link
SU (1) SU1691893A2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР Ms 1297116, кл. G 11 С 19/28, 1985. *

Similar Documents

Publication Publication Date Title
Albertengo et al. Parallel CRC generation
US4723243A (en) CRC calculation machine with variable bit boundary
US4712215A (en) CRC calculation machine for separate calculation of checkbits for the header packet and data packet
EP0034036A2 (en) Encoders and decoders for cyclic block codes
US4691319A (en) Method and system for detecting a predetermined number of unidirectional errors
US4720831A (en) CRC calculation machine with concurrent preset and CRC calculation function
US3303333A (en) Error detection and correction system for convolutional codes
US5434810A (en) Binary operator using block select look ahead system which serves as parallel adder/subtracter able to greatly reduce the number of elements of circuit with out sacrifice to high speed of computation
SU1691893A2 (en) Device for shifting information with checking
US5408476A (en) One bit error correction method having actual data reproduction function
US4507749A (en) Two's complement multiplier circuit
US4860241A (en) Method and apparatus for cellular division
US4803649A (en) Modulo-2-adder for the logic-linking of three input signals
US3475725A (en) Encoding transmission system
SU1297116A1 (en) Device for shifting information with checking
JPH0345020A (en) Cyclic code processing circuit
SU1363310A1 (en) Information shift device
RU1791818C (en) Device for control of modulo three residual code
RU1829030C (en) Device for accumulation floating point numbers
KR0164726B1 (en) Parallel cycle redundancy check encoder
SU1741271A2 (en) Code converter
SU1141422A2 (en) Device for determining phase of spectrum components of analyzed signal
KR100203742B1 (en) Adder using multiplex
SU1672456A1 (en) Shifter checking device
RU1817248C (en) Device for correcting errors in two fibonacci codes