SU1300477A1 - Shifting device with checking - Google Patents

Shifting device with checking Download PDF

Info

Publication number
SU1300477A1
SU1300477A1 SU853972757A SU3972757A SU1300477A1 SU 1300477 A1 SU1300477 A1 SU 1300477A1 SU 853972757 A SU853972757 A SU 853972757A SU 3972757 A SU3972757 A SU 3972757A SU 1300477 A1 SU1300477 A1 SU 1300477A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
shift
code
inputs
information
Prior art date
Application number
SU853972757A
Other languages
Russian (ru)
Inventor
Александр Антонович Шостак
Original Assignee
Минский радиотехнический институт
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Минский радиотехнический институт filed Critical Минский радиотехнический институт
Priority to SU853972757A priority Critical patent/SU1300477A1/en
Application granted granted Critical
Publication of SU1300477A1 publication Critical patent/SU1300477A1/en

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

Изобретение относитс  к вычислительной технике и предназначено дл  организации сдвига в высокопроизводительных системах обработки ин .формации, контроль которых осуществ 2j л етс  по четности. Целью изобретени   вл етс  расширение функциональных возможностей за счет выполнени  арифметического и циклического сдвига с контролем. Поставленна  цель достигаетс  тем, что в устройство, содержащее блок 1 сдвига, дешифраторы 2, 3 нул , узел 5 формировани  дополнительного кода, ко1 мутаторы 6-8, элементы ИСКЛЮЧАКЩЕЕ ИЛИ 9-12, 20, блок 16 элементов И, блок 18 элементов ИСКЛЮЧАЮЩЕЕ ШМ, элемент И 19, введены узел 4 формировани  обратного кода, сумматор 13, формирователи 14, 15 кода маски, блок 17 элементов И и дешифратор 21 вида сдвига с соответствующими св з ми. 1 з.п. ф-лы, 2 ип., 1 табл. У 2St (Л со о о 4 33 Фие. 1The invention relates to computing and is intended for the organization of a shift in high-performance information processing systems, the control of which is carried out by parity 2j. The aim of the invention is to enhance the functionality by performing arithmetic and cyclic shift with control. The goal is achieved in that the device containing the shift unit 1, the decoders 2, 3 zero, the additional code generation unit 5, the co1 mutators 6-8, the elements EXCLUSIVE OR 9-12, 20, the block 16 elements AND, the block 18 elements EXCLUSIVE BL, element 19, the reverse code generation unit 4, adder 13, mask drivers 14, 15 of the mask code, AND block 17, and a shift type decoder 21 with corresponding links are entered. 1 hp f-ly, 2 ip., 1 tab. U 2St (L of about 4 33 Fi. 1

Description

1one

1one

Изобретение относитс  к вычислительной технике и может быть применено в высокопроизводительных системах обработки информации, контроль которых организован по четности.The invention relates to computing and can be applied in high-performance information processing systems, the control of which is organized by parity.

Целью изобретени   вл етс  расширение функциональных возможностей за счет выполнени  арифметического и циклического сдвига с контролем.The aim of the invention is to enhance the functionality by performing arithmetic and cyclic shift with control.

На фиг.1 приведена структурна  схема устройства дл  сдвига с контролем; на фиг.2 - функциональна  схема формировани  кода маски (дл  случа  обработки в устройстве восьми байтов информации, каждый из которых имеет свой контрольный разр д).Figure 1 shows the block diagram of the device for the shift with the control; Fig. 2 is a functional diagram of the formation of a mask code (for the case of processing in the device eight bytes of information, each of which has its own check bit).

Устройство дл  сдвига с контролем (фиг,1) содержит блок 1 сдвига, первый дешифратор 2 нул , второй дешифратор 3 нул , узел 4 формировани  об ратного кода, узел 5 формировани  до полнительного кода, первый коммута- :тор 6, второй коммутатор 7, третий Хоммутатор 8, элементы 9-12 ИСКЛЮЧАЮЩЕЕ ИЛИ с первого по четвертый со- ответственно, сумматор 13, первый формирователь 14.кода маски, второй формирователь 15 кода маски, первый блок 16 элементов И, второй блок 17The device for shifting with the control (FIG. 1) contains the shift unit 1, the first decoder 2 zero, the second decoder 3 zero, the reverse code generation unit 4, the additional code generation unit 5, the first commutator 6, the second switch 7, the third Hommutator 8, elements 9-12 EXCLUSIVE OR from the first to the fourth, respectively, adder 13, the first driver of the 14. mask code, the second driver of the mask code 15, the first block 16 of the elements And, the second block 17

элементов И, блок 18 элементов ИСКЛЮ-ЗО кода.сдвига, если в .устройстве выЧАИЩЕЕ ИЛИ, элемент И 19, п тьй элемент ИСКЛЮЧАЩЕЕ ИЛИ 20, дешифратор 21 вида сдвига, вход 22 кода сдвига устройства, старшие разр ды 22 входа 22, младшие разр ды 22g входа 22, младший разр д 22. входа 22, вход 23 направлени  сдвига устройства, вход 24 типа сдвига устройства, вход 25 контрольных разр дов устройства, выходы 26-29 дешифратора 21, выход 30 контрольных разр дов устройства, выход 31 ошибки устройства, вход 32 данных устройства, старший разр д 32 входа 32, выход 33 результата устройства .AND elements, block 18 elements EXCEPT-ZO code.shift, if the device is NEXT OR, element AND 19, five elements EXCLUSIVE OR 20, decoder 21 types of shift, input 22 of the device shift code, high order 22 input 22, lower bits 22g of input 22, lower bit 22. input 22, device shift direction input 23, device shift type input 24, device check bits 25, decoder outputs 26-29, device check bits output 30, error output 31 device, device data input 32, high-resolution 32 input 32, output 33 of the result device a.

Формирователь 14 (15) кода маски (фиг,2) содержит мультиплексоры 34 - 39, первый и второй управл ющие входы 40 и 41 формировател , информа- ционньй вход 42 формировател , выход 43 формировател , мультиплексор 44.Shaper 14 (15) of the mask code (FIG. 2) contains multiplexers 34-39, first and second control inputs 40 and 41 of the shaper, information input 42 of the shaper, output 43 of the shaper, multiplexer 44.

Функциональное назначение и реализаци  основных узлов и блоков устройства дл  сдвига с контролем, дл  определенности предполагаетс , что в устройстве обрабатываетс  восемь байтов информации, каждый из которых; имеет свой контрольный разр д четности .The functional purpose and implementation of the basic units and units of the device for shifting with control, for certainty, assumes that the device processes eight bytes of information, each of which is; has its own parity check.

13004771300477

Блок 1 сдвига предназначен дл  выполнени  под действием соответствующих управл ющих сигналов логиче.ского, арифметического и циклического сдвигов информации.The shift unit 1 is designed to perform, under the action of the corresponding control signals, logical, arithmetic and cyclic information shifts.

Первьш дешифратор 2 нул  предназначен дл  выработки на своем выходе потен1 иала логической 1, когда три старших разр да -кода сдвига равны нулю и на входе 23 направлени  сдвига устройства присутствует сигнал сдвига информации влево. Второй дешифратор 3 нул  также предназначен дл  выработки на своем выходе потенциала логической 1, однако когда три младших разр да кода сдвига равны нулю и в устройстве осуществл етс  сдвиг информации влево.The first decoder 2 zero is designed to generate at its output a potential of logical 1, when the three most significant digits of the shift code are zero and the information shift signal to the left is present at the input 23 of the device shift direction. The second decoder 3 zero is also designed to generate a logical 1 at its output, however, when the three lower digits of the shift code are zero and the device shifts information to the left.

Б узел 4 юрмируетс  обратный код от значени  трех старших разр дов кода сдвига, а в узле 5 - дополнительный код от значени  трех младших разр дов кода сдвига (предполагаетс , что на вход 22 кода сдвига устройства , независимо от направлени  сдвига всегда подаетс  пр мой код величины сдвига).The Node 4 unit automatically regulates the return code from the value of the three higher bits of the shift code, and in node 5, the additional code from the value of the three lower digits of the shift code (it is assumed that a forward code is always fed to the input 22 of the shift code of the device, regardless of the direction of the shift shift values).

Первый коммутатор 6 пропускает на выход значение трех младших разр дов The first switch 6 passes to the output the value of the three lower bits.

5five

00

полн етс  сдвиг информации вправо. В противном шучае на его выход передаетс  дополнительный код значени  трех младших разр дов кода сдвига, образованный в узле 5 формировани  дополнительного кода. Второй коммутатор 7 пропускает на выход значение трех старших разр дов кода сдвига, когда в устройстве осуществл етс  сдвиг информации вправо. В противном- же случае на его выход передаетс  обратный код значени  трех старших разр дов кода сдвига, полученньй в узле 4 форми1)овани  обратного кода. Третий коммутатор 8 осуществл ет эыборку с входа того байта входной информации, разр ды которого могут быть частично выдвинуты в процессе сдвига информации в устройстве. Выборка этого байта производитс  в соответствии со следующим правилом.The information shifts to the right. Otherwise, an additional code of the value of the three lower bits of the shift code, formed in the node 5 of the formation of the additional code, is transmitted to its output. The second switch 7 passes to the output the value of the three higher bits of the shift code when the device shifts the information to the right. Otherwise, the opposite code transmits the code of the value of the three higher bits of the shift code, obtained in the node 4 form1) of the reverse code. The third switch 8 performs a sampling from the input of that byte of input information, the bits of which can be partially extended in the process of shifting information in the device. This byte is sampled according to the following rule.

Пусть самый старший байт входной информации устройства имеет первый , пор дковый номер, а самый младший - 5 восьмой пор дковый номер. Тогда при поступлении на управл ющий вход коммутатора 8 кода 000 на его выходе выдел етс  восьмой (самый младший) байт входной ифнормации, при кодеLet the most significant byte of the input information of a device be the first, the sequence number, and the lowest one, the 5th, the eighth serial number. Then, when a code 000 arrives at the control input of the switch 8, its output is the eighth (lowest) byte of the input information, with the code

5five

00

информации, разр ды которых или во обще не выдвигаютс  в процессе сдв га информации в устройстве, или же выдвигаютс  частично.information, the bits of which are either not generally put forward during the transfer of information in the device, or partially put forward.

001 - седьмой, при коде 010 - шестой и т.д., при коде 111 - первый (самый старший) байт входной информации .001 - the seventh, with code 010 - the sixth, etc., with code 111 - the first (most significant) byte of input information.

Первый формирователь 14 кода маски 5 совместно с первым блоком 16 элементов И предназначен дл  вьщелени  кон- нирование первого формировател  14 ;трольных разр дов тех байтов входной кода маски.The first driver 14 of the mask code 5, together with the first block 16 of the elements And, is intended to select the end of the first driver 14; the bits of those bytes of the input mask code.

В табл.1 детально описано функцTable 1 describes in detail the functions

информации, разр ды которых или вообще не выдвигаютс  в процессе сдвига информации в устройстве, или же выдвигаютс  частично.information, the bits of which are either not put forward at all during the process of shifting information in the device, or are partially put forward.

ование первого формировател  14 а маски.Creation of the first shaper 14a masks.

В табл.1 детально описано функциоТаблица 1Table 1 describes in detail the functions of Table 1.

5151

Второй формирователь 15 кода маски совместно со вторым блоком 17 элементов И осуществл ют выделение трех разр дов байта, выбранного третьим коммутатором 8, которые должны быть выдвинуты в процессе сдвига.информации в устройстве. Второй формирователь 15 кода маски может быть реализован точно так же, как и первы формирователь 14 кода маски, The second driver 15 of the mask code together with the second block 17 of the elements And allocates three bits of the byte selected by the third switch 8, which must be pushed in the process of shifting the information in the device. The second driver 15 of the mask code can be implemented in the same way as the former driver of the mask code 14,

Блок 18 включает восемь элементов ИСКЛЮЧАЮЩЕЕ ИЛИ, на выходах которых формируютс  контрольные разр ды (четности ) дл  восьми байтов информации, полученной на выходе блока 1 сдвига. Block 18 includes eight EXCLUSIVE OR elements, the outputs of which form check bits (parity) for eight bytes of information obtained at the output of shift block 1.

Элемент И 19 предназначен дл  фор мировани  сигнала, учитьгоающего чет- ность вдвигаемых единиц при выполнении в устройстве арифметического сдвига вправо. Этот сигнал равен единице только в том случае, когда выполн етс  в устройстве арифметический сдвиг вправо на нечетное число разр дов отрицательного числа.Element I 19 is intended for forming a signal that allows parity of the retractable units when the arithmetic shift to the right is performed in the device. This signal is equal to one only when an arithmetic right shift is performed in the device by an odd number of bits of a negative number.

- На элементе ИСКЛЮЧАЮЩЕЕ ИЛИ 9 вы- полн етс  суммирование по модулю два следующих четьфех групп слагаемых:; контрольных разр дов тех байтов входной информации, разр да которых вооб - The element EXCLUSIVE OR 9 performs the modulo summation of the two following groups of addends :; check bits of those bytes of input information, the bits of which are

Работа устройства рассматриваетс етс  пр мой двоичный код величиныThe operation of the device is considered a forward binary value code.

в различных режимах на примере сдвигасдвига 110101). в нем восьми байтов входной информа- Пусть первый байт а а а ,.,.,а ции ,jaj , .. . ,а на 53 двоичных.. - i i зin various modes on the example of shift shift 110101). it has eight bytes of input information. Let the first byte be aa aa,.,., atsii, jaj, .... , and on 53 binary .. - i i s

разр да (на вход 22 устройства подавходной информации  вл етс  самым старшим и сопровождаетс  контрольнbit (the input 22 of the auxiliary information device is the oldest and is accompanied by a control

OO

5five

5 five

ще не въщвигаютс  в процессе сдвига информации в устройстве или.же вьщви- гаютс  частично (эти контрольные разр ды поступают с выхода первого бло- ка 16 элементов И); вьщвигаемых разр дов того байта входной информации, разр дь которого только частично тер ютс  в процессе сдвига информации вthey are not inserted in the process of shifting information in the device or are already partially loaded (these control bits come from the output of the first block of 16 I elements); the shifting bits of that byte of input information, the discharge of which is only partially lost in the process of shifting information into

-ABOUT

устройстве (эти разр ды поступают с выхода второго блока 17 элементов И); контрольных разр дов всех байтов выходной информации устройства; поступающих с выхода блока 18; сигнала, учитывающего четность вдвигаемых единиц при арифметическом сдвиге вправо отрицательного числа (значение этого сигнала подаетс  с выхода элемента И 19).device (these bits come from the output of the second block 17 of the elements I); check bits of all bytes of the device output information; coming from the output of block 18; a signal that takes into account the parity of the units being moved during the arithmetic shift to the right of a negative number (the value of this signal is supplied from the output of the And 19 element).

Фактически на элементе ИСКЛЮЧАКЯЦЕЕ ИЛИ 9 осуществл етс  сравнение значений предсказанной и непосредственно сформированной четностей результата. Единичный сигнал на выходе элемента ИСКЛЮЧАЩЕЕ ИЛИ 9 служит признаком ошибки.In fact, on the element EXCLUSIVE OR 9, the values of the predicted and directly formed parities of the result are compared. A single signal at the output of the EXCLUSIVE OR 9 element is an indication of an error.

Дешифратор 21 вида сдвига выпол- L н ет формирование управл ющих сигналов в зависимости от типа и направлени  сдвига и описываетс  табл.2.The decoder 21 of the type of shift is performed; the control signals are generated depending on the type and direction of the shift and is described in Table 2.

00

Таблица 2table 2

сдвига 110101). Пусть первый байт а а а ,.,.,а .. - i i зshear 110101). Let the first byte aa a,.,., And .. - i i з

8eight

входной информации  вл етс  самым старшим и сопровождаетс  контрольнымinput information is the oldest and is accompanied by a control

разр дом К , а восьмой байт а а а, а,„ а,, а-,  вл етс  самым младьО б о оЗ о the discharge of K, and the eighth byte aa a, a, a, a, a-, is the youngest OS

шим и сопровождаетс  контрольным разр дом Kg.and it is accompanied by a check bit Kg.

Сдвига вправо логический. На входы 23 и 24 направлени  и типа сдвига устройства поступают сигналы , настраивающие блок 1 сдвига на выполнение в нем логического сдвига информации вправо. Одновременно с этим на первом и втором выходах 26 и ,27 дешифратора 21 формируютс  код 10, а на его третьем управл ющем выходе 28 - нулевой потенциал. В результате этого первый формирователь 14 кода маски управл етс  кодом 10 а второй формирователь 15 кода маски кодом 01. Так как в устройстве осуществл етс  сдвиг информации вправо, то на информационный вход первого формировател  14 кода маски и на управл ющий вход третьего коммутатора 8 сдвига с выхода второго коммутатора 7 подаетс  значение пр мого кода трех старших разр дов кода сдвига (дл  рассматриваемого примера 110), а н информационньй вход второго формировател  15 кода маски поступает значение пр мого кода трех младших разр дов кода сдвига (дл  рассматривае- мого примера 101). Третий коммутатор 8 выбирает с выхода 32 данных устройства второй байт 9«««) а,, входной информации, на выходе первого формировател  14 образуетс  код маски 11000000, а на выходе второго формировател  15 - код маски 00011111 (см. табл.1). По сформированным в устройстве маскирующим кодам на выходе первого блока 16 элементов И получаетс  значение К К-ОООООО, а на выходе второго блока 17 элементов И - значение ОООа а а а а . Эти значени , суммиру сь на элементе 9 по модулю два, образуют значение предсказанной четности результата РThe right shift is logical. The inputs 23 and 24 of the direction and type of shift of the device receive signals that set up the shift block 1 to perform the logical shift of information in it to the right. At the same time, a code 10 is formed at the first and second outputs 26 and, 27 of the decoder 21, and a zero potential at its third control output 28. As a result, the first shaper 14 of the mask code is controlled by code 10 and the second shaper 15 of the mask code by code 01. Since the device shifts the information to the right, then the information input of the first shaper 14 of the mask code and the control input of the third switch 8 off the output of the second switch 7 is supplied with the value of the direct code of the three most significant bits of the shift code (for the considered example 110), and the value of the direct code of the three lower bits of the code c arrives at the information input of the second generator 15 of the mask code engine (for the considered example 101). The third switch 8 selects from the output 32 of the device data the second byte 9 "" "), the input information, the output of the first driver 14 generates a mask code 11000000, and the output of the second generator 15 - mask code 00011111 (see Table 1). Using the masking codes formed in the device, the output of the first block of 16 elements And is obtained the value of K K-Oooooo, and the output of the second block of 17 elements I - the value of the LLC a and a a. These values, summing modulo two on element 9, form the value of the predicted parity of the result P

КTO

17 1 Ч17 1 H

, котороеwhich

©а,®а,, , сравниваетс  со значением фактической четности результата, полученного на выходе 33 устройства.© a, ® a ,,, is compared with the value of the actual parity of the result obtained at the output 33 of the device.

Сдвиг вправо арифметический.Arithmetic right shift.

В этом режиме устройство работает аналогично предыдущему. Отличие сое- тоит только в том, что на выходе 28 дешифратора 21 формируетс  потенциал логической 1, а блок 1 сдвига через вход 24 типа сдвига настраиваетс  на выполнение в нем арифметического сдвига информации. Дл  тех же данных в этом случае формируетс  следующее значение предсказанной четности Р К,+ Kj® а, @ © а ® (J) а + П, где П - признак, учи- тьшающий четность вдвигаемых частиц при сдвиге отрицательного числа (значение признака П формируетс  на выходе элемента И 19).In this mode, the device works like the previous one. The only difference is that the potential of logical 1 is formed at the output 28 of the decoder 21, and the shift unit 1 through the shift type input 24 is tuned to perform arithmetic information shift in it. For the same data, in this case, the following value of the predicted parity P K, + Kj® a, @ а a ® (J) a + P is formed, where P is a sign that takes into account the parity of the inserted particles when the negative number is shifted (the value of the sign formed at the output of the element 19).

Сдвиг влево логический.Shift left logical.

На входы 23 и 24 направлени  и ти- п-а сдвига устройства поступают сигналы , настраивающие блок 1 сдвига на выполнение в нем логического сдвига информации влево. Одновременно с этим на выходах 26 и 27 дешифратора 21 формируетс  код 01, а на его выходе 28 - нулевой потенциал. В результате этого первый формирователь 14 кода маски управл етс  кодом 01, а второй формирователь 15 кода маски- кодом 10. Так как в устройстве осуществл етс  сдвиг информац ии влево,, то на информационный вход первого формировател  14 кода маски с выхода сумматора 13 подаетс  значение дополнительного кода трех старших разр дов кода сдвига (дл  рассматриваемого примера 010), на информационный вход второго формировател  15 кода маски с выхода узла 5 через первый коммутатор 6 также поступает значение дополнительного кода, однако трех младших разр дов кода сдвига (дл  рассматриваемого примера 011), а на управл ющий вход третьего коммутатора 8 с выхода узла 4 через второй коммутатор 7 подаетс  значение обратного кода трех старших разр дов кода сдвига (дл  рассматриваемого примера 001). Третий коммутатор 8 выбирает с входа 32 данных устройства седьмой байт а а а, ,...,а,The inputs 23 and 24 of the direction and type of the device shift receive signals that set up the shift unit 1 to perform the logical information shift to the left in it. At the same time, code 01 is generated at outputs 26 and 27 of the decoder 21, and zero potential is output at its output 28. As a result, the first shaper 14 of the mask code is controlled by code 01, and the second shaper 15 of the mask-code code 10. As the device shifts the information left, the value of the mask code from the output of the adder 13 is applied to the information input of the first shaper 14 of the mask code the additional code of the three higher bits of the shift code (for the considered example 010), the information input of the second generator 15 of the mask code from the output of node 5 through the first switch 6 also receives the value of the additional code, however three lower times the shift code rows (for the considered example 011), and the return input of the three higher bits of the shift code (for the considered example 001) is fed to the control input of the third switch 8 from the output of node 4 via the second switch 7. The third switch 8 selects from the input 32 of the device data the seventh byte aa a, a,, ..., a,

4Э so 51 S64E so 51 S6

ВХОДНОЙ информации, на выходе первого формировател  14 образуетс  код маски 00000011, а на выходе второго формировател  15 - код маски 11111000 (см. табл.1). По сформированным в устройстве маскирующим кодам на выходе первого блока 16 элементов И получаетс  значение OOOOOOK Kg, а на выходе второго блока 17 элементов И - значение а а 000. Эти значени , суммиру сь на элементе 9 по модулю два, образуют значение предсказанной четности результата Р К,® К,® а,д® а,, ® а., ® а,, ,INPUT information, the mask code 00000011 is generated at the output of the first generator 14, and the mask code 11111000 is output at the output of the second generator 15 (see Table 1). Using the masking codes formed in the device, the output of the first block of 16 elements And is obtained the value of OOOOOOK Kg, and the output of the second block of 17 elements I is the value of a and 000. These values, summed together on element 9 modulo two, form the value of the predicted parity of the result P K, ® K, ® a, d® a ,, ® a., ® a ,,,

которое и сравниваетс  со значением фактической четности результата, полученного на выходе 33 устройства.which is compared with the value of the actual parity of the result obtained at the output 33 of the device.

При сдвиге информации влево в случае равенства нулю трех старших j или трех младших разр дов кода сдвига (или тех и других одновременно) на выходах соответствующих дешифраторов 2 и 3 нул  вырабатываютс  единичные сигналы, которые инвертируют Ю значени  сигналов на управл ющих входах формирователей 14 и 15 кодов масок .When the information is shifted to the left, if the three higher j or three lower bits of the shift code (or both simultaneously) are equal to zero, single signals are generated at the outputs of the corresponding decoders 2 and 3 zero, which invert the values of the signals at the control inputs of the drivers 14 and 15 mask codes.

Сдвиг, влево арифметический.Shift, left arithmetic.

В этом режиме устройство работает f5 точно так же, как и в предыдущем режиме , и дл  тех же данных формируетс  то же значение предсказанной четности .In this mode, the device operates f5 in the same way as in the previous mode, and for the same data the same value of the predicted parity is formed.

Сдвиг циклический.20Cyclic shift.20

Предполагаетс , что в устройстве этот сдвиг выполн етс  только вправо (сдвигать влево и вправо циклически нет смысла). На входы 23 и 24 напне ограничивгиощего варианты реализации .It is assumed that in the device this shift is performed only to the right (shifting left and right cyclically does not make sense). At entrances 23 and 24 do not restrict the implementation options.

Claims (2)

1. Устройство дл  сдвига с контролем , содержащее блок сдвига, три коммутатора, узел формировани  дополнительного кода, первый блок элементов И, элемент И, блок элементов ИСКЛЮЧАЮЦЕЕ ИЛИ,п ть элементов ИСКЛЮ ЧАЮЩЕЕ ИЛИ и два дешифратора нул , причем вход данных устройства соединен с информационным входом блока сдвига, входы величины сдвига и направлени  сдвига которого соединены с входами кода сдвига и направлени  сдвига устройства соответственно, вы ход блока сдвига соединен с входом блока элементов ИСКЛЮЧАЮЩЕЕ ИЛИ и  вл етс  выходом результата устройства , выход узла формировани  дополнительного кода соединен с первым ин ,. формационным входом первого коммутаравлени  и типа сдвига устройства по-25 управл ющий вход которого сое- ступают сигналы, настраивающие блок1. A device for shifting with a control, containing a shift unit, three switches, an additional code generation unit, the first block of AND elements, the AND element, the block of EXCLUSIVE OR elements, five elements EXCEL SINGER OR, and two zero decoder, and the device data input is connected to the information input of the shift block, the inputs of the shift value and the shift direction of which are connected to the inputs of the shift code and the direction of the shift of the device, respectively, the output of the shift block is connected to the input of the block of the EXCLUSIVE OR elements and is the output p According to the result of the device, the output of the node for the formation of an additional code is connected to the first terminal,. the formation input of the first commutator and the type of shift of the device, along the control input-25, of which are connected the signals that set up the block динен с входом направлени  сдвига устройства и с управл ющим входом второго коммутатора, второй информационный вход первого коммутатора сое- ;динен с входом узла формировани  до- :полнительного кода, выход первого блока элементов И соединен с первым входом первого элемента ИСКЛЮЧАЮЩЕЕdinene with the input of the device shift direction and with the control input of the second switch, the second information input of the first switch is connected to the first input of the first element EXCLUSIVE 1 сдвига на выполнение в нем циклического сдвига вправо и блокирующие работу второго блока 17 элементов И. Последним фактически исключаютс  из работы устройства второй формирователь 15 кода маски и третий коммутатор 8. Одновременно с этим на выходах 26 и 27 дешифратора 21 формиру301 shift to perform in it a cyclic shift to the right and blocking the operation of the second block 17 of the elements I. The latter are effectively excluded from the operation of the device the second generator 15 of the mask code and the third switch 8. At the same time, at outputs 26 and 27 of the decoder 21, динен с входом направлени  сдвига устройства и с управл ющим входом второго коммутатора, второй информационный вход первого коммутатора сое- ;динен с входом узла формировани  до- :полнительного кода, выход первого блока элементов И соединен с первым входом первого элемента ИСКЛЮЧАЮЩЕЕdinene with the input of the device shift direction and with the control input of the second switch, the second information input of the first switch is connected to the first input of the first element EXCLUSIVE ., „„„ИЛИ, отличающеес  тем,., „„ „OR, characterized by етс  код 11 % на выходе 28 - нуле- 35 расширени  функциональных возможностей за счет выполнени  арифметического и циклического сдвига с контрол€;м, оно содержит второй блок элементов И, сумматор, два фор-.The 11% code at output 28 is null-35 extensions of functionality due to performing arithmetic and cyclic shift with the control €; m, it contains the second block of AND elements, an adder, two for-. вой. сигнал, в результате чего на выходе первого формировател  14 кода маски независимо от значени  кода на его информационном входе образуетс  код, состо щий из одних единиц 11111111 (см. табл.1). На выходе первого блока 16 элементов И получаетс  значение К,К,К K.,Kg , кото40howl a signal, as a result of which, at the output of the first generator 14 of the mask code, regardless of the value of the code, a code consisting of only 11111111 units is formed at its information input (see Table 1). At the output of the first block of 16 elements, And the value K, K, K is obtained. K., Kg, which мировател  кода маски, узел формировани  обратного кода и дешифратор вида сдвига, причем выход узла формировани  обратного кода соединен сthe worldviewer of the mask code, the reverse code formation node and the shift type decoder, the output of the reverse code formation node being connected to рые, суммиру сь по модулю два на эле информационным входом второго менте 9, образует значение предск,а- 45 р информационный ванной четности результата Р - + . Kg . Это значение сравниваетс  со значением фактической четности результата, по50In other words, summing modulo two on the element by the information input of the second ment 9, forms the value predicted, a- 45 p, the information bath of the parity of the result P - +. Kg. This value is compared with the value of the actual parity of the result, 50 вход которого соединен с входом уз- jia формировани  обратного кода, с информационным входом первого дешифратора нул  и со старшими разр дами входа кода сдвига устройства, младшие разр ды входа кода сдвига которого соединены с входом узла формировани  дополнительного кода, с инлученного на вькоде 33 устройства.the input of which is connected to the input of the reverse code generation node, with the information input of the first decoder zero and with the higher bits of the input of the device shift code, the lower bits of the input of the shift code are connected to the input of the additional code generation node from the device on the device code 33. Дополнительный положительный эффект от использовани  изобретени  заключаетс  в сокращении оборудовани  контрол  и расширении области приме- формационным входом второго дешифра- нени  устройства за счет организации тора нул , вход направлени  сдвига в нем независимого контрол  по чет- устройства соединен с входами разности , не требующего введени  допол- решени  первого и второго дешифрато- нительных св зей с блоком сдвига и ров нул  и с входом переноса суммане ограничивгиощего варианты реализации .An additional positive effect from the use of the invention is the reduction of the monitoring equipment and the expansion of the area by the application input of the second decryption of the device due to the organization of the zero torus, the input of the shear direction in it is independent control of the even device connected to the difference inputs solutions of the first and second deciphering links with the shift unit and the level zero and with the transfer input summan limited implementation options. Формула изобретени Invention Formula 1. Устройство дл  сдвига с контролем , содержащее блок сдвига, три коммутатора, узел формировани  дополнительного кода, первый блок элементов И, элемент И, блок элементов ИСКЛЮЧАЮЦЕЕ ИЛИ,п ть элементов ИСКЛЮЧАЮЩЕЕ ИЛИ и два дешифратора нул , причем вход данных устройства соединен с информационным входом блока сдвига, входы величины сдвига и направлени  сдвига которого соединены с входами кода сдвига и направлени  сдвига устройства соответственно, выход блока сдвига соединен с входом блока элементов ИСКЛЮЧАЮЩЕЕ ИЛИ и  вл етс  выходом результата устройства , выход узла формировани  дополнительного кода соединен с первым ин управл ющий вход которого сое- 1. A device for shifting with a control, containing a shift unit, three switches, an additional code generation unit, the first block of AND elements, the AND element, an EXCLUSIVE OR block of elements, five EXCLUSIVE OR elements, and two zero decoder, and the device data input is connected to the information the input of the shift block, the inputs of the shift value and the shift direction of which are connected to the inputs of the shift code and the shift direction of the device, respectively, the output of the shift block is connected to the input of the block of the EXCLUSIVE OR elements and is the output p On the result of the device, the output of the node for the formation of an additional code is connected to the first in which control input is connected динен с входом направлени  сдвига устройства и с управл ющим входом второго коммутатора, второй информационный вход первого коммутатора сое- ;динен с входом узла формировани  до- :полнительного кода, выход первого блока элементов И соединен с первым входом первого элемента ИСКЛЮЧАЮЩЕЕdinene with the input of the device shift direction and with the control input of the second switch, the second information input of the first switch is connected to the first input of the first element EXCLUSIVE ных возможностей за счет выполнени  арифметического и циклического сдвига с контрол€;м, оно содержит второй блок элементов И, сумматор, два фор-.capabilities due to the implementation of arithmetic and cyclic shift with control €; m, it contains the second block of elements And, adder, two for-. мировател  кода маски, узел формировани  обратного кода и дешифратор вида сдвига, причем выход узла формировани  обратного кода соединен сthe worldviewer of the mask code, the reverse code formation node and the shift type decoder, the output of the reverse code formation node being connected to информационным входом второго р информационный  information input of the second p information информационным входом второго р информационный  information input of the second p information вход которого соединен с входом уз- jia формировани  обратного кода, с информационным входом первого дешифратора нул  и со старшими разр дами входа кода сдвига устройства, младшие разр ды входа кода сдвига которого соединены с входом узла формировани  дополнительного кода, с информационным входом второго дешифра- тора нул , вход направлени  сдвига устройства соединен с входами разрешени  первого и второго дешифрато- ров нул  и с входом переноса сумматора , вход слагаемого которого соеди- нвн с выходом второго коммутатора и t управл ющим входом третьего коммутатора , информационный вход которого соединен с входом данных уст- ройства, выходы сумматора и первого коммутатора соединены с информационными входами первого и второго формирователей кода маски соответственно, выходы которых соединены с первыми входами первого и второго блоков элементов И соответственно, вторые входы которых соединены с входом контрольных разр дов устройства и с выходом третьего коммутатора соответthe input of which is connected to the input of the reciprocating code formation jia, with the information input of the first decoder zero and with the higher bits of the input of the device shift code, the lower bits of the input of the shift code of which are connected to the input of the node of the additional code formation, with the information input of the second decoder zero, the shift direction input of the device is connected to the resolution inputs of the first and second decoders zero and to the transfer input of the adder, the input of which is connected to the output of the second switchboard and t controlling the input of the third switch, whose information input is connected to the data input of the device, the outputs of the adder and the first switch are connected to the information inputs of the first and second drivers of the mask code, respectively, the outputs of which are connected to the first inputs of the first and second blocks of elements And, respectively, the second inputs of which are connected with the input of the control bits of the device and with the output of the third switch, respectively ственно, выходы второго блока элементов И, блока элементов ИСКЛЮЧАЮЩЕЕ ИЛИ и элемента И соединены соответственно с вторым, .третьим- и четвертым входами первого элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, выход которого  вл етс  выходом ошибки устройства, выход блока элементов ИСКЛЮЧАЩЕЕ ИЛИ  вл етс  выходом контрольных разр довActually, the outputs of the second block of elements AND, the block of elements EXCLUSIVE OR, and the element AND are connected respectively to the second, third and fourth inputs of the first element EXCLUSIVE OR, whose output is the output of the device error, the output of the block of elements EXCLUSIVE OR is the output of the control bits 20 вым и вторым управл ющими входами формировател  кода маски, первые информационные входы первого, второго и третьего мультиплексоров, вторые информационные входы второго, треустройства , входы типа сдвига и нап- 25 тьего и четвертого мультиплексоров, равлени  сдвига устройства соединены третьи информационные входы третьего, соответственно с входами разр дов дешифратора вида сдвига, выходы которого соединены соответственно с перчетвертого и п того мультиплексоров, четвертые информационные входы четвертого , п того и шестого мультивыми входами второго и третьего эле- 30 плексоров соединены с выходом седьментов ИСКЛЮЧАЩЕЕ ИЛИ, с первым входом элемента И и с третьим входом второго блока элементов И, вход типа сдвига блока сдвига соединен с входом типа сдвига устройства, второй вход элемента И соединен с младшим разр  дом входа кода сдвига устройства, третий вход элемента И соединен со старшим разр дом входа данных уст- ,ройства, первые входы второго и третьего элементов ИСКЛЮЧАЮЩЕЕ ШЩ соединены соответственно с первыми входами четвертого и п того элементов ИСКЛЮЧАКЛЦЕЕ ИЛИ, выход первого дешифратора нул  соединен с вторыми входами второго и третьего элементов ИСКЛЮЧАЩЕЕ ИЛИ, выходы которых сое- динены с первым и вторым управл клцими входами первого формировател  кодаThe 20th and second control inputs of the mask code generator, the first information inputs of the first, second and third multiplexers, the second information inputs of the second, three-way, shift-type and forward-25 and fourth multiplexers, the device shift section are connected to the third information inputs of the third, respectively with the inputs of the bits of the decoder type of shift, the outputs of which are connected respectively to the fourth and fifth multiplexers, the fourth information inputs of the fourth, fifth and sixth multiv The second and third plexer inputs are connected to the output of the EXCLUSIVE OR seedlings, to the first input of the AND element and to the third input of the second block of AND elements, the shift type shift input is connected to the device shift type input, the second input of the AND element is lower-order the house of the input of the device shift code, the third input of the element I is connected to the highest input of the data of the device, the first inputs of the second and third elements EXCLUSIVE SCHSCH are connected respectively to the first inputs of the fourth and fifth elements of the EXCLUSIVE CEE OR, the output of the first decoder zero is connected to the second inputs of the second and third elements EXCLUSIVE OR, the outputs of which are connected to the first and second controls of the first shaper code маски соответственно, выход второ- 50 и шестого мультиплексоров соединены сmasks, respectively, the output of the second and sixth multiplexers are connected to го дешифратора нул  соединен с вто , O th decoder zero is connected to wto, o рыми входами п того и четвертого элементов ИСКЛЮЧАЮПЩЕ ИЛИ, выходы которых соединены с первым и вторым управл  ющими входами второго формировател  кода маски соответственно. The primary inputs of the fifth and fourth elements are EXCLUSIVE OR, the outputs of which are connected to the first and second control inputs of the second generator of the mask code, respectively. 2. Устройство по п.1, о т л и - чающеес  тем, что формирователь кода маски содержит семь мультиплексоров, причем второй и третий разр ды информационного входа формировател  кода маски соединены соответственно с первым и вторым управл ющими входами мультиплексоров с первого по шестой, первый разр д ин5 формационного входа формировател  кода маски соединен с управл ющим входом седьмого мультиплексора, первый и второй информационные входы которого соединены соответственно с пер0 вым и вторым управл ющими входами формировател  кода маски, первые информационные входы первого, второго и третьего мультиплексоров, вторые информационные входы второго, тре5 тьего и четвертого мультиплексоров, третьи информационные входы третьего, 2. The device as claimed in claim 1, wherein the mask code generator contains seven multiplexers, the second and third bits of the information input of the mask code generator are connected to the first and second control inputs of the multiplexers one through six, respectively the first bit of the informational input of the mask code generator is connected to the control input of the seventh multiplexer, the first and second information inputs of which are connected respectively to the first and second control inputs of the mask code generator First data inputs of the first, second and third multiplexers, second inputs of the second information, tre5 tego and fourth multiplexers, the third informational inputs of the third, тьего и четвертого мультиплексоров, третьи информационные входы третьего, the third and fourth multiplexers, the third information inputs of the third, четвертого и п того мультиплексоров, четвертые информационные входы четвертого , п того и шестого мультимого мультиплексора, второй, третий и четвертый информационные входы первого мультиплексора, третий и четвертый информационные входы второго мультиплексора, четвертый информационный вход третьего мультиплексора соединены с первым информационным входом седьмого мультиплексора , второй информационный вход которого соединен с первым информационным входом четвертого мультиплексора , с первым и вторым информационными входами п того мультиплексора, с первым, вторым и третьим информадионными входами шестого мультиплексора , второй информационный вход седьмого мультиплексора, выходы первого, второго и третьего мультиплексоров, выходы седьмого, четвертого, п тогоthe fourth and fifth multiplexers, the fourth information inputs of the fourth, fifth and sixth multiplexers, the second, third and fourth information inputs of the first multiplexer, the third and fourth information inputs of the second multiplexer, the fourth information input of the third multiplexer is connected to the first information input of the seventh multiplexer, the second information input of which is connected to the first information input of the fourth multiplexer, with the first and second information inputs of p that multiplexer, with the first, second and third informational inputs of the sixth multiplexer, the second information input of the seventh multiplexer, the outputs of the first, second and third multiplexers, the outputs of the seventh, fourth, fifth выходом формировател  кода маски.the output of the mask code driver. 5five 13.13. Редактор Л.ПовханEditor L.Povkhan Составитель А.Клюев Техред А.КравчукCompiled by A. Klyuev Tehred A. Kravchuk :Заказ 1150/48 Тираж 673Подписное: Order 1150/48 Circulation 673 Subscription ВНИИПИ Государственного комитета СССРVNIIPI USSR State Committee по делам изобретений и открытий 113035, Москва, Ж-35, Раушска  наб., д. 4/5for inventions and discoveries 113035, Moscow, Zh-35, Raushsk nab., 4/5 Производственно-полиграфическое предпри тие, г.Ужгород, ул. Проектна , 4Production and printing company, Uzhgorod, st. Project, 4 Корректор Л.ПатайProofreader L. Patay
SU853972757A 1985-11-04 1985-11-04 Shifting device with checking SU1300477A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU853972757A SU1300477A1 (en) 1985-11-04 1985-11-04 Shifting device with checking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU853972757A SU1300477A1 (en) 1985-11-04 1985-11-04 Shifting device with checking

Publications (1)

Publication Number Publication Date
SU1300477A1 true SU1300477A1 (en) 1987-03-30

Family

ID=21203856

Family Applications (1)

Application Number Title Priority Date Filing Date
SU853972757A SU1300477A1 (en) 1985-11-04 1985-11-04 Shifting device with checking

Country Status (1)

Country Link
SU (1) SU1300477A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1140113, кл. G 06 F 7/38, 1983. Авторское свидетельство СССР № 1095184, кл. G 06 F 11/1-0, 1983. *

Similar Documents

Publication Publication Date Title
US3986015A (en) Arithmetic unit for use in a digital data processor and having an improved system for parity check bit generation and error detection
US4683548A (en) Binary MOS ripple-carry parallel adder/subtracter and adder/subtracter stage suitable therefor
SU1300477A1 (en) Shifting device with checking
US3610903A (en) Electronic barrel switch for data shifting
SU1658155A1 (en) Device for shifter result parity prediction
US4411009A (en) Digital dual half word or single word position scaler
SU1238073A1 (en) Adder with check
SU1413623A1 (en) Device for adding in binary redundant code
RU2149442C1 (en) Device for modulo seven multiplication
RU2143722C1 (en) Device for multiplication by modulo 7
SU1173447A1 (en) Data shifter
SU1132284A1 (en) Device for changing number fields
SU1115045A1 (en) P-ary position code-to-binary code translator
SU1658143A1 (en) One-digit decimal adder in "5421" code
SU1221758A1 (en) Binary-coded decimal code-to-binary code translator
RU2131618C1 (en) Device for module addition of n integers
SU1117632A1 (en) Device for shifting information
SU1297116A1 (en) Device for shifting information with checking
SU1427590A1 (en) Device for shaping non-linear signals
SU1246091A1 (en) Device for extracting square root
SU1104511A1 (en) Device for extracting square root
SU1298739A1 (en) Device for shifting operands
RU2269153C2 (en) Accumulating type adder
RU2030792C1 (en) Computing device
SU1310826A1 (en) Device for adding the floating-point operand with checking