SU1305661A1 - Device for shifting information - Google Patents
Device for shifting information Download PDFInfo
- Publication number
- SU1305661A1 SU1305661A1 SU853941120A SU3941120A SU1305661A1 SU 1305661 A1 SU1305661 A1 SU 1305661A1 SU 853941120 A SU853941120 A SU 853941120A SU 3941120 A SU3941120 A SU 3941120A SU 1305661 A1 SU1305661 A1 SU 1305661A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- inputs
- elements
- node
- Prior art date
Links
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
Изобретение относитс к вычислительной технике и может использоватьс дл выполнени сдвига в обрабатывающих блоках ЭВМ средней производительности . Цель изобретени - повышение быстродействи . Это достигаетс тем, что устройство, содержащее сдвиговые регистры t,2, узел 7 задани режима и узел 8 синхронизации , содержит счетчики 3, 4 и элементы И-ИДИ 5,6 с соответствующими св з ми . 4 ил. 1 табл.The invention relates to computing and can be used to shift in processing units of an average-capacity computer. The purpose of the invention is to increase speed. This is achieved by the fact that the device containing the shift registers t, 2, the mode setting node 7 and the synchronization node 8, contains counters 3, 4 and the AND-IDN elements 5,6 with corresponding links. 4 il. 1 tab.
Description
11eleven
Изобретение относитс к вычислительной технике и может использоватьс в обрабатывающих блоках ЭВМ средней производительности.The invention relates to computing and can be used in processing blocks of average-capacity computers.
Цель изобретени - повьЕпение бы- стродействи .The purpose of the invention is to increase speed.
На фиг. 1 представлена схема устройства дл сдвига информации; на фиг. 2 - схема узла синхронизации; на фиг. 3 - схема узла задани режи- ма, на фиг. 4 - временна диаграмма работы устройства.FIG. 1 shows a diagram of an apparatus for shifting information; in fig. 2 is a diagram of the synchronization node; in fig. 3 is a schematic diagram of a mode setting node; 4 - time diagram of the device.
Устройство дл сдвига информации (фиг. 1) содержит первый сдвиговый регистр 1, второй сдвиговой регистр 2, первый счетчик 3, второй счетчик 4, первый элемент И-ИЛИ 5, второй элемент И-ИЛИ 6, узел 7 задани реThe device for shifting information (Fig. 1) contains the first shift register 1, the second shift register 2, the first counter 3, the second counter 4, the first AND-OR element 5, the second AND-OR element 6, the task node 7
жима, узел 8 синхронизации, вход 9bench, node 8 synchronization, input 9
начальной установки устройства, вход 10 числа сдвигов устройства-, вход 11 данных устройства, вход 12 запуска устройства, вход 13 направлени сдвига устройства, вход 14 синхронизации устройства, выход 15 результата устг ройства, выход 16 конца операции устройства, выходы 17-21 узла 8 синхронизации , выходы 22 и 23 узла 7 задани режима, входы 24 ,и 25 узла 8 синхронизации.device setup, input 10, the device shifts number, device data input 11, device start input 12, device shift direction input 13, device sync input 14, device result output 15, device operation end output 16, node 8 outputs 17-21 synchronization, the outputs 22 and 23 of the node 7 setting the mode, the inputs 24, and 25 of the node 8 synchronization.
Узел 8 синхронизации (фиг. 2) содержит элементы ИЛИ 26-29, элементы И 30-33 и элемент 34 задержки.The node 8 synchronization (Fig. 2) contains the elements OR 26-29, elements AND 30-33 and the element 34 of the delay.
Узел 7 задани режима (фиг. 3) содержит элемент НЕ 35, элементы И 3 и 37 и элементы ИЛИ 38-42.The mode setting node 7 (FIG. 3) contains an HE element 35, the AND 3 and 37 elements and the OR elements 38-42.
Первый сдвиговый регистр 1 предназначен дл организации сдвигов на четыре разр да. Лервый сдвиговый регистр 1 содержит п разр дов (п кратно четырем) и состоит из четырех независимых сдвиговых регистров, каждый из которых имеет разр дность п/4. Все четыре регистра имеют .общее управление и общую синхронизацию.The first shift register 1 is designed to organize shifts by four bits. The left shift register 1 contains n bits (n is a multiple of four) and consists of four independent shift registers, each of which has a bit width n / 4. All four registers have common control and general synchronization.
Если входную информацию разбить на п/4 четырехразр дных цифр, одноименные разп ды каждой цифры занос тс в свой n/4-разр дный регистр. В первый n/4-разр дный регистр занос тс разр ды 1, 5, 9п-3, воIf the input information is split into n / 4 four-digit digits, the like digits of each digit are entered in their n / 4-bit register. The first n / 4-bit register puts bits 1, 5, 9n-3, during
второй n/4-разр дный регистр - разр ды 2,6,10,...,п-2, в третий п/4- разр дный регистр - разр ды 3, 7, 11 ,.., п-1, в четвертый n/4-разр дный регистр - разр ды 4, 8, 12,...,п.the second n / 4-bit register - bits 2,6,10, ..., p-2; the third n / 4-bit register - bits 3, 7, 11, .., p-1, in the fourth n / 4-bit register - bits 4, 8, 12, ..., p.
По отдельному синхроимпульсу каждый из п/4-разр дных регистров осуOn a separate clock pulse, each of the n / 4-bit registers was
5five
00
1212
ществл ет сдвиг хран щийс в нем информации на один разр д В освобождающиес разр ды вдвигаютс нули.there is a shift in the information stored therein by one bit B, the bits being released are shifted by zeros.
Второй сдвиговый регистр 2 предназначен дл формировани окончательного результата сдвига, он содержит п разр дов (п кратно четырем). Этот регистр позвол ет осуществл ть сдвиг на ОДИ.Н разр д. Когда в первом сдвиговом регистре 1 осуществл ютс сдвиги на четыре разр да, второй сдвиговой регистр 2 работает в режиме занесени и после каждого сдвига перезапоминает информацию, сдвинутую на четыре разр да в первом сдвиговом регистре 1. Передача информации из первого сдвигового регистра 1 во второй сдвиговый регистр 2 осуществл етс в соответствии с таблицей.The second shift register 2 is designed to form the final shift result, it contains n bits (n is a multiple of four). This register allows the shift to RCD. When the first shift register 1 is shifted by four bits, the second shift register 2 operates in the recording mode and after each shift resets the information shifted by four bits in the first shift register 1. The transfer of information from the first shift register 1 to the second shift register 2 is carried out in accordance with the table.
Если цосле завершени сдвигов на четыре разр да необходимо осуществить сдвиги на один разр д, второй сдвиговый регистр 2 из режима перезаписи переходит в режим сдвига и осуществл ет недостающие сдвиги.If the shift to four bits is completed, one shift needs to be made, the second shift register 2 from the overwrite mode goes into the shift mode and performs the missing shift.
IIII
IIIIII
1 2 31 2 3
п/4p / 4
1one
22
33
п/4p / 4
1one
22
33
п/4p / 4
1one
5 9 п-35 9 p-3
1 5 9 п-31 5 9 p-3
Продолжение таблицы 3Continuation of table 3
IZIEIIIziei
Управление сдвигами осуществл ют первый и второй счетчики 3 и 4. Первый счетчик управл ет сдвигами на один разр д. Втор-ой счетчик А управл ет сдвигами на четыре разр да.Shifts are controlled by the first and second counters 3 and 4. The first counter controls shifts by one bit. The second counter, A, controls the shifts by four bits.
Узел 7 задани режима определ ет режимы работы первого и второго сдвигового регистров 1 и 2. Дл этих регистров режим работы определ етс состо нием входов S- , S.The mode setting unit 7 determines the operation modes of the first and second shift registers 1 and 2. For these registers, the operation mode is determined by the state of the inputs S-, S.
Имеютс следующие режимы работы: 00 - хранение, 01 - сдвиг влево, 10 - сдвиг вправо , 11 - занесение.The following modes of operation are available: 00 - storage, 01 - left shift, 10 - right shift, 11 - entry.
Единичное состо ние входа S счетчиков 3 и 4 определ ет режим занесени . Если , дл счетчиков 3 и 4The single input state S of counters 3 and 4 determines the recording mode. If, for counters 3 and 4
устанавливаетс режим модификации на - 1 set modification mode to - 1
. Устройство работает следующим образом .. The device works as follows.
При по влении на входе 9 устройства сигнала единичное состо ние дл счетчиков 3 и 4 устанавливаетс непосредственно . Дл первого сдвигового регистра режим занесени устанавливаетс через элементы ИЛИ 38 и 39. Дл второго сдвигового регистра реСледующие три синхроимпульса осуществл ют оставшиес сдвиги влево наWhen a signal appears at the input 9 of the device, a single state for counters 3 and 4 is established directly. For the first shift register, the entry mode is set via the OR elements 38 and 39. For the second shift register, the next three sync pulses make the remaining shift to the left by
жим занесени устанавливаетс элементами ИЛИ 41 и 40 под управлением эле- четыре .разр да, по окончании послед- мента ИЛИ 42. Задним фронтом очеред- него из них в первом и втором сдвиго- ного синхроимпульса осуществл етс вых регистрах 1 и 2 находитс инфор- занесение информации в счетчики 3 и 4 маци , сдвинута влево на 16 разр - и в регистры 1 и 2. Импульс занеседов , а содержимое второго счетчика 4 становитс равным нулю. В этом случае элемент ИЛИ 27 блокирует элемент И 30, что прекращает подачу синхроим- (Пульсов на первый сдвиговый регистр 1. Элемент И.ПИ 27 блокирует также элемент И-ИЛИ 5 и снимает блокировку элемента И-ИЛИ 6. Ненулевое состо ние первого счетчика 3 через элемент ИЛИ 28 разрещает модификацию первого счетчика 3. Модификаци второго счетни длины сдвигов в первый и второй счетчики 3 и 4 формируетс элементом И 31. Импульс занесени информации в первый сдвиговый регистр 1 формируетс элементом ИЛИ 26 под управлением элемента И 31. Импульс занесени ин- формации во второй сдвиговый регистр 2 выдаетс с задержкой по отнощению к предыдущему импульсу, который формируетс элементом ИЛИ 29 под управThe entry pressure is set by the elements OR 41 and 40 under the control of an elec- tron four, at the end of the last OR 42. The falling edge of the next of them in the first and second shift sync pulse is carried out by the output registers 1 and 2 entering information into counters 3 and 4 maci is shifted to the left by 16 bits and into registers 1 and 2. The impulse is registered, and the content of the second counter 4 becomes equal to zero. In this case, the OR element 27 blocks the AND 30 element, which stops the supply of synchro- (pulses to the first shift register 1. The I.PI element 27 also blocks the AND-OR 5 element and removes the blocking of the AND-OR element 6. Non-zero state of the first counter 3 through element OR 28 permits modification of the first counter 3. Modification of the second countershift lengths in the first and second counters 3 and 4 is formed by element AND 31. An impulse of entering information into the first shift register 1 is formed by the element OR 26 controlled by element AND 31. - pho The second shift register 2 is issued with a delay in relation to the previous pulse, which is generated by the OR element 29 under control
лением элемента ИЛИ 26 и элемента 34 задержки.element 26 or delay element 34.
На вход 13 устройства подаетс единичное значение при сдвиге влево, в .противном случае - сдвиг вправо.A single value is fed to the input 13 of the device when shifting to the left, in the opposite case a shift to the right.
Рассматривают операцию сдвига влево на 17 разр дов. При этом в устройстве необходимо выполнить четыре сдвига на четьфе разр да и один сдвиг на разр д влево. На вход 12 устройства в этом случае подаетс единичный сигнал.Consider the left shift operation for 17 bits. In this case, it is necessary to carry out four shifts on the discharge cell and one shift per discharge to the left in the device. In this case, a single signal is applied to the input 12 of the device.
Перед началом выполнени операции сдвига на входе 13 устройства установлена 1, во второй счетчик 4 занесено 4, в первый счетчик 3 занесена 1, в сдвиговые регистры 1 и 2 занесена исходна информаци . Ненулевое состо ние второго счетчикаBefore the start of the operation, the shift at the input 13 of the device is set to 1, 4 is entered into the second counter 4, 1 is entered into the first counter 3, and the initial information is entered into the shift registers 1 and 2. Non-zero state of the second counter
4 через элемент ИЛИ 27 блокирует элемент И-ИЛИ 6. При этом разрешаетс модификаци содержимого второго счетчика 4 и запрещаетс модификаци содержимого первого счетчика 3. Элемент ИЛИ 27 через элемент И 37 и элементы ИЛИ 38 и 39 дл первого сдвигового регистра 1 задает режим сдвига влево, а дл второго сдвигового регистра 2 - режим занесени .4 through the OR element 27 blocks the AND-OR 6 element. This modifies the contents of the second counter 4 and prevents the contents of the first counter 3 from being modified. The OR element 27 through AND 37 and the OR elements 38 and 39 for the first shift register 1 sets the left-shift mode and for the second shift register 2, the recording mode.
Через элемент И 30 и элемент ИЛИ 26 по очередному синхроимпульсу формируетс строб первого сдвигового регистра 1 и через элемент 34 задержки и элемент ИЛИ 29 - строб втоРого сдвигового регистра 2. По этим стробам осуществл етс в первом регистре сдвиг на 4 разр да влево, а во втором регистре - перезапоминание сдвинутой информации. Одновременно модифицируетс на -1 содержимое второго счетчика 4.Through the AND 30 element and the OR element 26, the gate of the first shift register 1 is formed by the next clock pulse and through the delay element 34 and the OR element 29 is the gate of the second shift register 2. For these gates, the first register is shifted by 4 bits to the left, and the second case is the re-memorization of the shifted information. At the same time, the content of the second counter 4 is modified to -1.
II
Следующие три синхроимпульса осуществл ют оставшиес сдвиги влево наThe next three clock pulses make the remaining left shift by
четыре .разр да, по окончании послед- него из них в первом и втором сдвиго- вых регистрах 1 и 2 находитс инфор- маци , сдвинута влево на 16 разр - four digits, at the end of the last of them in the first and second shift registers 1 and 2 there is information that is shifted to the left by 16 bits
четыре .разр да, по окончании послед- него из них в первом и втором сдвиго- вых регистрах 1 и 2 находитс инфор- маци , сдвинута влево на 16 разр - four digits, at the end of the last of them in the first and second shift registers 1 and 2 there is information that is shifted to the left by 16 bits
дов, а содержимое второго счетчика 4 становитс равным нулю. В этом случае элемент ИЛИ 27 блокирует элемент И 30, что прекращает подачу синхроим- (Пульсов на первый сдвиговый регистр 1. Элемент И.ПИ 27 блокирует также элемент И-ИЛИ 5 и снимает блокировку элемента И-ИЛИ 6. Ненулевое состо ние первого счетчика 3 через элемент ИЛИ 28 разрещает модификацию первого счетчика 3. Модификаци второго счетчика 4 блокируетс . ЭлементыЮШ 38 И 39 задают режим дл первого СДБИ- гового .регистра 2, элементы ИЛИ 41 и 40 - режим сдвига влево.Dov, and the contents of the second counter 4 becomes zero. In this case, the OR element 27 blocks the AND 30 element, which stops the supply of synchro- (pulses to the first shift register 1. The I.PI element 27 also blocks the AND-OR 5 element and removes the blocking of the AND-OR element 6. Non-zero state of the first counter 3 through the OR element 28 allows modification of the first counter 3. Modification of the second counter 4 is blocked. Elements 38 and 39 set the mode for the first SDBig register 2, elements OR 41 and 40 set the left-shift mode.
Через элемент И 32 и элемент ИЛИ 29 очередньш синхроимпульсом формируетс строб второго сдвигового рег и- стра 2 и строб первого счетчика 3. Этим стробом осуществл етс сдвиг влево на один разр д содержимого второго сдвигового регистра 2 и модификаци на -1 содержимого первого счетчика 3. Так как после этой модификации содержимое первого счет- чика 3 становитс равньпм нулю, то элемент ИЛИ 28 блокирует элемент И 32, чем запрещаетс подача синхроимпульса на второй сдвиговой регистр 2The second shift register 2 and the gate of the first counter 3 are formed through the AND 32 element and the OR element 29 of the second sync pulse. This gate shifts left the contents of the second shift register 2 by one bit and modifies the contents of the first counter 3 by -1. Since after this modification the contents of the first counter 3 becomes equal to zero, the OR element 28 blocks the AND 32 element, which prohibits the clock pulse to the second shift register 2
Нулевое состо ние счетчиков 3 и 4 через элементы ИЛИ 28 и 27 и элемент И 33 определ ет вьщачу на выход 16 конца операции признака завершени операции сдвига. На выход 15 ре- .зультата вьщаетс информаци , сдвинута влево на 17 разр дов.The zero state of the counters 3 and 4 through the elements OR 28 and 27 and the element AND 33 determines the output at the end 16 of the operation of the sign of the completion of the shift operation. At output 15, the result is information shifted to the left by 17 bits.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU853941120A SU1305661A1 (en) | 1985-07-29 | 1985-07-29 | Device for shifting information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU853941120A SU1305661A1 (en) | 1985-07-29 | 1985-07-29 | Device for shifting information |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1305661A1 true SU1305661A1 (en) | 1987-04-23 |
Family
ID=21193212
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU853941120A SU1305661A1 (en) | 1985-07-29 | 1985-07-29 | Device for shifting information |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1305661A1 (en) |
-
1985
- 1985-07-29 SU SU853941120A patent/SU1305661A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 657433, кл. G 06 F 7/38, 1977. Авторское свидетельство СССР № 1238058, кл. G 06 F 7/38, 1984. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US3395400A (en) | Serial to parallel data converter | |
SU1305661A1 (en) | Device for shifting information | |
US3212009A (en) | Digital register employing inhibiting means allowing gating only under preset conditions and in certain order | |
US4387341A (en) | Multi-purpose retimer driver | |
SU924704A1 (en) | Device for raising to the third power | |
SU1653154A1 (en) | Frequency divider | |
SU1418715A1 (en) | Variable priority device | |
SU1368978A2 (en) | Threshold element | |
SU551633A2 (en) | Input device | |
GB1343643A (en) | Apparatus for shifting digital data in a register | |
SU488344A1 (en) | Reversible distributor | |
SU1367153A1 (en) | Frequency divider with fractional countdown ratio | |
SU417910A1 (en) | ||
SU1596335A1 (en) | Device for shaping control code by modulo two | |
SU1061131A1 (en) | Binary code/compressed code translator | |
SU1474853A1 (en) | Parallel-to-serial code converter | |
SU1596322A1 (en) | Device for squaring binary numbers | |
SU385270A1 (en) | DIGITAL COMPARATOR | |
SU911535A1 (en) | Device for scanning combinations | |
SU993263A1 (en) | Device for discriminating the last non-zero digit from series code | |
SU1517038A1 (en) | Device for search for permutations | |
SU1070555A1 (en) | Device for sequential selecting of ones from binary code | |
SU834691A1 (en) | Information input device | |
SU1262519A1 (en) | Device for logical processing of information | |
SU1201855A1 (en) | Device for comparing binary numbers |