SU1238058A1 - Shifting device with check - Google Patents

Shifting device with check Download PDF

Info

Publication number
SU1238058A1
SU1238058A1 SU843689667A SU3689667A SU1238058A1 SU 1238058 A1 SU1238058 A1 SU 1238058A1 SU 843689667 A SU843689667 A SU 843689667A SU 3689667 A SU3689667 A SU 3689667A SU 1238058 A1 SU1238058 A1 SU 1238058A1
Authority
SU
USSR - Soviet Union
Prior art keywords
group
shift
inputs
input
outputs
Prior art date
Application number
SU843689667A
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 SU843689667A priority Critical patent/SU1238058A1/en
Application granted granted Critical
Publication of SU1238058A1 publication Critical patent/SU1238058A1/en

Links

Abstract

Изобретение относитс  к области вычислительной техники, в частности к цифровым параллельным сдвигател м, используемым в процессорах малых и средних ЭВМ. Целью изобретени   вл етс  сокращение аппаратурных затрат. Дл  достижени  зтоЙ цели устройство, содержащее блок сдвига, группу блоков , сдвига, регистр, триггер, схему сравнени , группу регистров сдвига, первую и вторую группы элементов ИСКЛЮЧАЮЩЕЕ ИЛИ и группу коммутаторов , содержит третью и четвертую группы элементов ИСКЛЮЧАЩЕЕ ИЛИ и блок элементов И. 1 ил. с S ьр ОО оо сд 00The invention relates to the field of computing, in particular to digital parallel shifters used in processors of small and medium-sized computers. The aim of the invention is to reduce hardware costs. To achieve this goal, a device containing a shift block, a block group, a shift, a register, a trigger, a comparison circuit, a group of shift registers, the first and second groups of elements EXCLUSIVE OR, and a group of switches, contains the third and fourth groups of elements EXCLUSIVE OR and the block of elements I. 1 il. with S op OO oo sd 00

Description

1one

Изобретение относитс  к вычисли- тельной технике, а более точно к цифровым параллельным сдвигател м, используемым в процессорах малых, средних ЭВМ,.The invention relates to computing technology, and more specifically to digital parallel shifters used in processors of small, medium-sized computers.

Цель изобретени  - сокращение аппаратурных затрат.The purpose of the invention is to reduce hardware costs.

На ч ертеже представлена схема устройства дл  сдвига с контролем.The diagram shows the layout of the device for shifting with control.

Устройство дл  сдвига с контролем содержит группу блоков 1 сдвига, группу регистров 2 сдвига, группу 3 элементов ИСКЛЮЧАЮЩЕЕ ИЛИ, тактовый вход 4 устройства, вход 5 задани  режима устройства, выход 6 сбо  уст- ройства, группу 7 элементов ИСКЛЮЧАЮЩЕЕ ИЛИ, группу коммутаторов 8, группы 9, 10 элементов ИСКЛЮЧАЩЕЕ ИЛИ, блок 11 элементов И, регистр 12, схему 13 сравнени , триггер 14, вход 15 левого вдвигаемого разр да устройства, информационньй вход 16 устройства, вход J7 кода сдвига устройства , вход 18 вида сдвига устройства , вход 19 знака устройства, вход 20 правого вдвигаемого разр да устройства , информационный выход 21 устройства , выход-22 контрольных разр дов устройства, блок 23 сдвига.The device for shifting with control contains a group of 1 shift blocks, a group of shift registers 2, a group of 3 elements EXCLUSIVE OR, a clock input 4 of the device, an input 5 specifying the device mode, an output 6 of the device, a group of 7 elements EXCLUSIVE OR, a group of switches 8, groups 9, 10 elements EXCLUSIVE OR, block 11 elements AND, register 12, comparison circuit 13, trigger 14, input 15 of the left sliding device, information information input 16 of the device, input J7 of the device shift code, input 18 of the device shift type, input 19 device sign, input 20 right th device's sliding bit, information output 21 of the device, output-22 of the control bits of the device, shift block 23.

Устройство дл  сдвига с контролем работает с широко распространенным 64-разр дным форматом данных, имеющи байтную структуру с одним контрольны разр дом на байт.The shifter with control works with a widespread 64-bit data format that has a byte structure with one check bit per byte.

Блок 1 сдвига зьтолн ет набор one раций согласно следующей таблице:The 1 shift unit is a set of one-way radios according to the following table:

сдвига Оshift o

II

Вьтолн ема  функци Executable function

Распространение всем выходамSpread to all outlets

знака поsign on

ОABOUT

оabout

оabout

оabout

II

Блокировка выходов (заполнение единицами) Сдвиг влево в дополнительном кодеBlocking of outputs (filling with units) Shift to the left in the additional code

Сдвиг вправо в дополнительном кодеShift to the right in the additional code

Сдвиг циклический вправо Сдвиг циклический влевоShift cyclical right Shift cyclical left

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

Сдвиг арифметический влевоArithmetic left shift

5five

1238058J1238058J

Блок 1 сдвига вьшолн ет сдвиги на количество разр дов кратное четырем и реализован аналогично прототипу.The shift unit 1 performs shifts by the number of bits a multiple of four and is implemented similarly to the prototype.

Регистр 2 сдвига выполн ет сдвиги 5 на один разр д за такт следующим образом:Shift register 2 performs shifts 5 per bit per clock as follows:

Код управлени  РежимControl Code Mode

Хранение Сдвиг вправо Сдвиг влево Прием данньпсStorage Shift Right Shift Left Reception Data

Устройство дл  сдвига с контролем может выполн ть следующие операции: тетрадный или байтный сдвиг; параллельно-последовательный сдвиг; последовательный сдвиг.The shifter with the control can perform the following operations: tetrad or byte shift; parallel-serial shift; sequential shift.

В начале временного цикла работы на входе 18 устанавливаетс  код требуемой операи 1И, на входе 17 - код числа сдвигов, на входе 19 - знак числа. На входе 5 устанавливаетс  режим приема. На входе 16 устанавливаютс  входные данные, которые поступают на входы блоков 1 сдвига группы, где сдвигаютс  на заданное количество разр дов в соответствии со знаком и видом сдвига. Входные данные с входа 16 устройства поступают также на группу 3 элементов ИСКЛЮЧАЩЕЕ ИЛИ, где сворачиваютс  потетрадно и поступают на вход блока 23 сдвига, где сдвигаютс  на то же число разр дов , что и входные данные. Сдвинутые входные данные в соответствии со значением входа 5 устройства принимаютс  в регистры 2 сдвига. С выхода блока 23 сдвига значени  поступают на группу 9 элементов ИСКЛЮЧАЮЩЕЕ ИЛИ, где формируютс  значени  контрольных разр дов байтов, которые по импульсу с входа 4 устройства проход т через блок II элементов И и занос тс  через установочные входы в триггеры регистра 12.At the beginning of the time cycle of operation, input code 18 sets the code for the required operation 1I, input number 17 the code of the number of shifts, and input 19 the sign of the number. Input 5 sets the receive mode. At the input 16, the input data is set, which is fed to the inputs of the group 1 shift blocks, where they are shifted by a given number of bits in accordance with the sign and type of shift. The input data from the device input 16 also goes to a group of 3 EXCLUSIVE OR elements, where they are minimized and fed to the input of the shifter 23, where they are shifted by the same number of bits as the input data. The shifted input data in accordance with the value of input 5 of the device is received in the shift register 2. From the output of the shift block 23, the values arrive at a group of 9 EXCLUSIVE OR elements, where the values of the control bits of the bytes are formed, which pulse from the input 4 of the device passes through the block II of the elements AND and entered through the setup inputs to the trigger 12 register.

Сдвинутые данные поступают на выход 21. данных, а контрольные разр ды дл  них, вырабатываемые на элементах ИСКЛЮЧАЮЩЕЕ ИЛИ 7, поступают на выход 22.The shifted data is fed to the output 21. data, and the control bits for them, generated on the elements EXCLUSIVE OR 7, go to the output 22.

При правильной работе устройства сформированньй код на элементах 7 и код, полученный в результате сдвига в регистре 12, должны совпадать. ВWhen the device is working properly, the generated code on the elements 7 and the code obtained as a result of the shift in register 12 must match. AT

противном случае на схеме 13 сравнени  вырабатьтаетс  сигнал сбо , по которому установитс  триггер 14.otherwise, a comparison signal is generated in the comparison circuit 13, according to which the trigger 14 is set.

Параллельно-последовательные сдвиги используютс  дл  выполнени  сдви- га данных на любое число разр дов от О до 63. Эта операци  используетс  преимущественно дл  вьтолнени  логических и арифметических сдвигов.Parallel-sequential shifts are used to perform data shifts for any number of bits from 0 to 63. This operation is mainly used to execute logical and arithmetic shifts.

Сдвиги на произвольное число раз- р дов выполн ютс  за один или два микрокомандных цикла, в первом из которых выполн етс  тетр адный и один (ни одного) однократный сдвиги, а во втором цикле выполн ютс  два одно- кратных сдвига. Количество циклов и действи  в них определ ютс  путем ветвлени  в микропрограмме по двум младшим разр дам кода сдвига. Если задан режим сдвига на входе 5 устрой- ства, то производитс  однократный сдвиг данных в регистре 2. Сдвигаемые между байтами данные выдел ютс  на коммутаторах 8, при этом при сдвиге влево коммутаторы 8 управл - ютс  старшим, а при сдвиге вправо - младшим разр дами входа 5 устройства .Shifts to an arbitrary number of bits are performed in one or two micro-command loops, the first of which performs tetradetic and one (none) single-time shifts, and in the second cycle, two one-time shifts are performed. The number of cycles and actions in them are determined by branching in the microprogram by two lower digits of the shift code. If the shift mode at input 5 of the device is set, a single shift of data in register 2 is performed. The data shifted between the bytes is allocated on the switches 8, while the shift 8 to the left is controlled by the high-order, and when shifting to the right - the lower-order input 5 device.

На входы элементов ИСКЛЮЧАЮЩЕЕ ИЛИ 10 поступают вдвигаемые и вьщвигаемые разр ды дл  каждого регистра 2. Если на входе любого элемента 10 сигналы входного и выходного сдвигаемых разр дов не совпадают, то на выходе вьфабатываетс  сигнал. Эти сигналы поступают на счетные входы соответствующих триггеров регистра 12 и ин- рертируют контрольные разр ды соответствующих байтов. После окончани  последовательных сдвигов коды в регистре 12 и выработанный на элементах 7 должны совпасть . В противном случае фиксируетс  сбой на триггере 14.Input elements EXCLUSIVE OR 10 receive pushed and pivoted bits for each register 2. If at the input of any element 10 the signals of the input and output shifted bits do not match, then the output signal fails. These signals arrive at the counting inputs of the corresponding triggers of register 12 and invert the check bits of the corresponding bytes. After the completion of successive shifts, the codes in register 12 and those generated on elements 7 must match. Otherwise, a failure is detected on the trigger 14.

При операции последовательного сдвига, сдвиговые регистры 2 могут использоватьс  дл  хранени  и сдвига множител  и накоплени  произведени  и частного. Предварительные исходные данные могут быть загружены в регистр 2 при нулевом числе сдвигов, как описано при операции байтных сдвигов.In a sequential shift operation, the shift registers 2 can be used to store and shift the multiplier and accumulate the product and quotient. Preliminary source data can be loaded into register 2 at zero number of offsets, as described in the byte shift operation.

Claims (1)

Формулаизобретени  Invention Formula Устройство дл  сдвига с контролем содержащее блок сдвига, группу блоA control shift device containing a shift block, a block group 5 0 5 5 0 5 5 0 50 5five 00 5five 00 ков сдвига, регистр, триггер, схему сравнени , группу регистров сдвига, первую группу элементов ИСКЛЮЧАЮЩЕЕ ИЛИ, вторую группу элементов ИСКЛЮЧАЮЩЕЕ ИЛИ и группу коммутаторов, причем информационный вход устройства соединен с Информационными входами блоков сдвига группы, выходы которых соединены соответственно с информационными входами регистров сдвига группы, входы режима которых соединены с управл ющими входали коммутаторов группы и с входом задани  режима устройства, входы кода сдвига , вида сдвига и знака которого соединены с соответствующими входами блоков сдвига группы и блока сдвига, выходы регистров сдвига группы  вл ютс  информационным выходом устройства , выходы элементов ИСКЛЮЧАКНЦЕЕ ИЛИ первой группы соединены с инфор- мационным входом блока сдвига, выходы регистров сдвига группы соединены с входами соответствующих элементов ИСКЛЮЧАЮЩЕЕ ИЛИ второй группы, выходы которых соединены с первой группой входов схемы сравнени , втора  группа входов которой соединена с выходами регистра, выход схемы сравнени  соединен с входом триггера, выход которого  вл етс  выходом сбо  устройства, отличающеес  тем, что, с целью .сокращени  аппаратурных затрат, оно содержит третью группу элементов ИСКЛЮЧАЮЩЕЕ ИЛИ, блок элементов И, четвертую группу элементов ИСКЛЮЧАЩЕЕ ИЛИ, причем разр ды информационного входа устройства соединены соответственно с входами элементов ИСКЛЮЧАЮЩЕЕ ИЛИ первой группы, выходы блока сдвига сое- динены соответственно с входами элементов ИСКЛЮЧАЮЩЕЕ ИЛИ третьей группы , выходы которых соединены с информационным входом блока элементов И, управл ющий вход и выход которого соединены соответственно с тактовым входом устройства и установочным входом регистра, счетные входы триггеров которого соединеш 1 с выходами соответствующих элементов ИСКЛЮЧАЮЩЕЕ ИЛИ четвертой группы, первый и второй входы k-ro элемента ИСКЛЮЧАЮЩЕЕ ИЛИ четвертой группы (k 1 г,п- разр дность числа) соединены оshift, register, trigger, comparison circuit, group of shift registers, first group of elements EXCLUSIVE OR, second group of elements EXCLUSIVE OR, and group of switches, moreover, the information input of the device is connected to the Information inputs of the blocks of the shift group, the outputs of which are connected respectively to the information inputs of the shift registers the groups whose mode inputs are connected to the control switches of the group switches and to the input of the device mode setting, the inputs of the shift code, the type of shift and the sign of which are connected to the corresponding inputs of the group shift block and the shift block, the outputs of the group shift registers are the information output of the device, the outputs of the EXCLUSIVE OR of the first group are connected to the information input of the shift block, the outputs of the group of shift registers are connected to the inputs of the corresponding EXCLUSIVE OR of the second group, whose outputs connected to the first group of inputs of the comparison circuit, the second group of inputs of which is connected to the outputs of the register, the output of the comparison circuit is connected to the trigger input, the output of which is A device output, characterized in that, for the purpose of reducing hardware costs, it contains a third group of EXCLUSIVE OR elements, a block of AND elements, a fourth group of EXCLUSIVE OR elements, and the bits of the information input of the device are connected respectively to the inputs of the EXCLUSIVE OR elements of the first group , the outputs of the shift block are connected respectively to the inputs of the EXCLUSIVE OR elements of the third group, the outputs of which are connected to the information input of the AND block whose control input and output are are united respectively with the clock input of the device and the setup input of the register, the counting inputs of the flip-flops of which are connected to the outputs of the corresponding elements EXCLUSIVE OR of the fourth group, the first and second inputs of the k-ro element EXCLUSIVE OR of the fourth group (k 1 g, n is the number) about соответственно С выходами k-ro и (k+l)-ro коммутаторов группы, входы шэавого и левого вдвигаемых разр до вWith the k-ro and (k + l) -ro outputs of the group switches, respectively, the inputs of the sheavoid and left retractable bits are in устройства соединены соответственно с входами правого разр да k-ro и левого разр да первого регистров сдвига группы, вход и выход правого разр да k-ro регистра сдвига группы соединены соответственно с выходом и входом левого разр да (k+1)-го регистра сдвига группы, выходы левых разр дов регистров группы и вход право- го.вдвигаемого|разр да устройства соединены соответственно с первыми информационными входами коммутаторов группы, вход левого вдвигаемого разр да устройства и выходы правых разр дов регистров сдвига группы соединены соответственно с вторыми информационными входами коммутаторов группы, выходы элементов ИСКЛЮЧАЮЩЕЕ ИЛИ второй группы  вл ютс  выходом контрольных разр дов устройства.the devices are connected respectively to the right bit inputs of the k-ro and left bits of the first group shift registers, the input and output of the right bits of the k-ro group shift register are connected respectively to the output and input of the left bit of the (k + 1) th shift register the groups, the outputs of the left bits of the group registers and the input of the right-moved | bit device are connected respectively to the first information inputs of the group switches, the input of the left-sliding device bit and the outputs of the right bits of the group shift registers are connected respectively Consequently, with the second information inputs of the group switches, the outputs of the EXCLUSIVE OR elements of the second group are the output of the control bits of the device. ffff 2323 Л  L п k« p k " Составитель А, Клюев , Редактор М. Товтин ТехредМ.Ходанич Корректор Л.ПатайCompiled by A, Klyuev, Editor M. Tovtin Tehred.Hodanich Proofreader L. Patay Заказ 3292/49 Тираж 671 ПодписноеOrder 3292/49 Circulation 671 Subscription ВНИИПИ Государственного комите:та СССРVNIIPI State Committee: the USSR по делам изобретений и открытий 113035, Москва, Ж-35, Раушска  наб., д. 4/5for inventions and discoveries 113035, Moscow, Zh-35, Raushsk nab., 4/5 Производственно-полиграфическое предпри тие, г. Ужгород, ул. Проектна , 4Production and printing company, Uzhgorod, st. Project, 4
SU843689667A 1984-01-09 1984-01-09 Shifting device with check SU1238058A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU843689667A SU1238058A1 (en) 1984-01-09 1984-01-09 Shifting device with check

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU843689667A SU1238058A1 (en) 1984-01-09 1984-01-09 Shifting device with check

Publications (1)

Publication Number Publication Date
SU1238058A1 true SU1238058A1 (en) 1986-06-15

Family

ID=21099400

Family Applications (1)

Application Number Title Priority Date Filing Date
SU843689667A SU1238058A1 (en) 1984-01-09 1984-01-09 Shifting device with check

Country Status (1)

Country Link
SU (1) SU1238058A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Патент US 4U9263, кл. 364-900, опублик. 1979. ABToiJCKoe свидетельство СССР 1095184, кл. G 06 F П/10, 5983. *

Similar Documents

Publication Publication Date Title
US3675001A (en) Fast adder for multi-number additions
SU1238058A1 (en) Shifting device with check
GB933066A (en) Computer indexing system
US3388239A (en) Adder
US3229080A (en) Digital computing systems
US3495075A (en) Shifting apparatus
US3207888A (en) Electronic circuit for complementing binary coded decimal numbers
RU2761135C1 (en) Counter with saving the number of units
SU556435A1 (en) Dividing device
SU911519A1 (en) Device for computing elementary functions
SU1228098A1 (en) Device for shifting information
SU549808A1 (en) Dividing device
SU593211A1 (en) Digital computer
SU1439580A1 (en) Device for simultaneous subtraction of two polynominals
SU669353A1 (en) Arithmetic device
SU734681A1 (en) One-digit adder
SU758152A1 (en) Device for dividing decimal numbers
SU930689A1 (en) Functional counter
SU404077A1 (en) CONVERTER OF THE RIGHT BINARY-DECIMAL CRUSHES TO BINARY CRACKS
SU1156072A1 (en) Microprocessor control unit
US3505510A (en) Counter,delay generator and word generator
SU1693601A1 (en) Conveyor computer
SU1465883A1 (en) Device for dividing numbers
SU640292A1 (en) Multiplier
SU748409A1 (en) Device for multiplying binary-decimal numbers