JPS6036612B2 - parallel bidirectional shifter - Google Patents

parallel bidirectional shifter

Info

Publication number
JPS6036612B2
JPS6036612B2 JP53065886A JP6588678A JPS6036612B2 JP S6036612 B2 JPS6036612 B2 JP S6036612B2 JP 53065886 A JP53065886 A JP 53065886A JP 6588678 A JP6588678 A JP 6588678A JP S6036612 B2 JPS6036612 B2 JP S6036612B2
Authority
JP
Japan
Prior art keywords
shift
input
word
output
binary
Prior art date
Legal status (The legal status 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 status listed.)
Expired
Application number
JP53065886A
Other languages
Japanese (ja)
Other versions
JPS546740A (en
Inventor
シ−ザ−・セザラツト
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nortel Networks Ltd
Original Assignee
Northern Telecom Ltd
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 Northern Telecom Ltd filed Critical Northern Telecom Ltd
Publication of JPS546740A publication Critical patent/JPS546740A/en
Publication of JPS6036612B2 publication Critical patent/JPS6036612B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F5/00Methods or arrangements for data conversion without changing the order or content of the data handled
    • G06F5/01Methods or arrangements for data conversion without changing the order or content of the data handled for shifting, e.g. justifying, scaling, normalising
    • G06F5/015Methods or arrangements for data conversion without changing the order or content of the data handled for shifting, e.g. justifying, scaling, normalising having at least two separately controlled shifting levels, e.g. using shifting matrices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Shift Register Type Memory (AREA)
  • Executing Machine-Instructions (AREA)
  • Use Of Switch Circuits For Exchanges And Methods Of Control Of Multiplex Exchanges (AREA)
  • Communication Control (AREA)
  • Time-Division Multiplex Systems (AREA)

Description

【発明の詳細な説明】 本発明はデータ処理装置に関し、より詳細には2進ワー
ドの双方向のシフト及びデータ処理のための回路に関す
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to data processing apparatus, and more particularly to circuits for bidirectional shifting of binary words and data processing.

2進ワードのビットの相対的位置をシフトする手段を具
備することはデータ処理装置では周知である。
It is well known in data processing equipment to provide means for shifting the relative positions of the bits of a binary word.

後の処理のために2進ワードの第2部分を分離するよう
にその第1部分をマスクする回路手段を具備することも
周知である。バイト−バィーバィト(ツに−by−by
te)・プロセッサの場合には、あるメモリから他のメ
モリに転送される時のビットの相対的な位置を再配置す
るための1対のメモリ・シフト回路及び論理回路を使用
することによりシフト機能を提供することは周知である
It is also known to include circuit means for masking a first part of a binary word so as to isolate the second part for subsequent processing. Byte-bye-bye (tsuni-by-by)
te) In the case of a processor, a shift function is achieved by using a pair of memory shift circuits and logic circuits to rearrange the relative position of bits as they are transferred from one memory to another. It is well known to provide

このような回路は、J.C.Moranに発行された米
国特許第3996566号に説明されている。完全な2
進ワードで動作するプロセッサの場合には、複数のレベ
ルでデータをシフトするシフト回路終によりシフト機能
を果すことも周知である。
Such a circuit is described in J. C. No. 3,996,566 issued to Moran. complete 2
In the case of processors operating on binary words, it is also well known to perform the shifting function by means of shift circuits that shift data in multiple levels.

例えば、このような回路は1971年6月27日にJ.
S.BuchanとF.P.Turpinに発行され更
に本出願人に譲渡された米国特許第3596251号に
説明されている。この特許は、夫々が左シフト論理ユニ
ット、非シフト論理ユニット及び右シフト論理ユニット
を含む複数のレベルを有する論理シフト装置を説明して
いる。これらのユニットは、Nビットから成る入力2進
ワードがN−1位置まで左或いは右にシフト可能なよう
に論理的に相互接続されている。シフトの間、シフトす
べき2進ワードは各レベルで論理ユニットの1つを伝搬
することが可能であり、更にシフト動作に要する時間は
シフトの大きさにかかわらず一定である。その装置は2
進ワ−ドのビットの相対的な位置のシフトという意図す
る目的に対しては非常に適することがわかっているが、
他の論理機能を行なうにはあまり適しない。今までの技
術の回路より優れた利点を有する並列双方向シフト装置
とデータ処理装置を提供することが本発明の目的である
For example, such a circuit was published in J.
S. Buchan and F. P. No. 3,596,251 issued to Turpin and assigned to the present applicant. This patent describes a logic shifting device having multiple levels, each level including a left shift logic unit, a non-shift logic unit, and a right shift logic unit. These units are logically interconnected so that an input binary word of N bits can be shifted left or right up to N-1 positions. During a shift, the binary word to be shifted may propagate through one of the logic units at each level, and furthermore, the time required for the shift operation is constant regardless of the size of the shift. The device is 2
Although it has been found to be very suitable for the intended purpose of shifting the relative position of the bits of a binary word,
It is not well suited for performing other logical functions. It is an object of the present invention to provide a parallel bidirectional shifting device and data processing device that has advantages over circuits of the prior art.

フィールドを右へ配置するように入力2進ワード内のデ
ータのフイ−ルドを効果的に分離するために回路が使用
されるということが本発明の特徴である;即ち、出力2
進ワードは、ワードの最下位位置に配置された分離ビッ
トのみを含む。オフ・ザ・シヱルフ・ベース(oH−t
he−shelfbasis)で市販されている最小の
構成要素及び最小の型を用いて実現されるということも
本発明の回路の特徴である。更に、回路のいかなる機能
も最小実時間で完了され、いかなる動作を完了するため
に要する時間も一定であるということも本発明の特徴で
ある。本発明に従えば、Nビットの2進ワードを左或い
は右へN−1位置までの数シフトさせるための回路が提
供される。
It is a feature of the invention that a circuit is used to effectively separate the fields of data within the input binary word such that the fields are placed to the right;
The hexadecimal word contains only the isolation bit located in the least significant position of the word. Off the Thief Base (oH-t
It is also a feature of the circuit of the present invention that it is implemented using the smallest components and the smallest molds commercially available on a he-shelf basis. It is further a feature of the invention that any function of the circuit is completed in minimal real time and that the time required to complete any operation is constant. In accordance with the invention, a circuit is provided for shifting an N-bit binary word to the left or right by up to N-1 positions.

シフト回路網は、入力2進ワードを所定数の位置所定の
方向にシフトするために使用される。アキュムレータ・
レジスタはシフト回路の出力に現われる2進ワードの鏡
像を記憶するために、シフト回路に論理的に接続されて
いる。
Shifting circuitry is used to shift the input binary word a predetermined number of positions in a predetermined direction. accumulator·
A register is logically connected to the shift circuit for storing a mirror image of the binary word appearing at the output of the shift circuit.

プロセッサの制御下のシフト制御回路によりシフト回路
の適当な位置は所望のシフト量を得ることができ、入力
2進ワードはどの動作に対してもシフト回路網とアキュ
ムレータ・レジスタ内を2度循環される。第2の命令が
第1の命令から生じる鏡像データで実行される2つのマ
イクロ命令を用いるシフト機能を回路が果すので、デー
タ・フィールド分離(マスク)機能は同じ回路を用いて
最小の実時間で効率的に実施される。
A shift control circuit under control of the processor allows the appropriate position of the shift circuit to obtain the desired amount of shift, and the input binary word is cycled through the shift network and accumulator register twice for any operation. Ru. The data field separation (mask) function can be performed using the same circuitry in minimal real time since the circuitry performs the shift function using two microinstructions where the second instruction is executed with mirrored data resulting from the first instruction. Implemented efficiently.

本発明の次の具体例は、16ビット0−15を有する2
進ワードで動作するようになっている回路である。
The next embodiment of the invention is 2 bits with 16 bits 0-15.
This circuit is designed to operate on binary words.

本発明を用いる双方向シフト及びデータ処理回路がいか
なる長さの2進ワードでも動作するように構成されても
よいことを理解されたい。第1図は、SH−1又はSH
−0,SH−2又はSH−0,SH−4又はSH−0,
SH−8又はSH−0で示される4レベルを有するシフ
ト回路網20である。これらは以下に述べるように論理
的に接続されており、各レベルは入力データ・ワードを
所定数の位置或いは雫位置だけシフトするようになって
いる。シフト制御回路21はクロツク信号に応答し、更
にシフト回路網20の対応するレベルに対して駆動信号
20,21,22,23を提供するためのマイクロプロ
セッサ・データ・レジスタ(図示されていない)からの
4ビット・データ・フィールドにも応答する。アキュム
レータ・レジスタ22は、入力データ・バスからの或い
はシフト回路網20からのデータを受けるためのセレク
ト・ゲーム入力を有する。アキユムレータ・レジスタ2
2はマイクロプロセッサからのセレクト制御信号とクロ
ック信号により制御される。レジスタ22がシフト回路
網20の出力に現われる2進ワードの鏡像を記憶するよ
うに、シフト回路網20の並列出力リード0−15はし
ジスタ22の16の入力15−川こ交差接続されている
。レジスタ22からの出力は、装置に対する出力デー夕
・バスとして且つレジスタ22からシフト回路網20の
入力へ戻る出力デ−夕を供給するための循環バスとして
機能を果すバス23に接続されている。第2図は、第1
図の回路の簡略図である。
It should be appreciated that bidirectional shifting and data processing circuitry employing the present invention may be configured to operate with binary words of any length. Figure 1 shows SH-1 or SH
-0, SH-2 or SH-0, SH-4 or SH-0,
Shift network 20 has four levels designated SH-8 or SH-0. These are logically connected as described below, with each level shifting the input data word by a predetermined number of positions or drops. Shift control circuit 21 is responsive to the clock signal and further receives signals from microprocessor data registers (not shown) for providing drive signals 20, 21, 22, 23 to corresponding levels of shift circuitry 20. It also responds to a 4-bit data field. Accumulator register 22 has a select game input for receiving data from the input data bus or from shift circuitry 20. Accumulator register 2
2 is controlled by a select control signal and a clock signal from the microprocessor. The parallel output leads 0-15 of shift network 20 are cross-connected to the 16 inputs 15 of register 22 so that register 22 stores a mirror image of the binary word appearing at the output of shift network 20. . The output from register 22 is connected to a bus 23 which serves as the output data bus for the device and as a circular bus for providing output data from register 22 back to the input of shift network 20. Figure 2 shows the first
1 is a simplified diagram of the circuit shown in FIG.

回路網20のシフト・ゲートの4レベルに対応する4つ
の駆動信号SI,S2,S4及びS8を提供するための
クロック信号により制御されるだけなので、シフト制御
回路21は第1図より詳細には図示されない。回路網2
0の各シフト・レベルは16のゲートAO−A15,B
O−B15,CO−C15及びDO−015から成る。
The shift control circuit 21 is shown in more detail in FIG. Not shown. Circuit network 2
Each shift level of 0 is connected to 16 gates AO-A15,B.
Consists of O-B15, CO-C15 and DO-015.

これらの各ゲートは一方が制御信号S1,S2,S4,
S8により選択される1対の入力を有する。第3図は、
その動作を示す真理値表が付加されているゲートを示し
ている。セレクト・リード即ち駆動リードが駆動されて
いない場合、ゲートGは入力リードのデータを出力リー
ドCに出力させ、セレクト・リードが駆動される場合、
ゲートGは入力Bのデータを出力リードCに出力される
。この型のゲートはオフーザーシェルフ構成要素として
市販されており、2入力データ・セレクト・ゲートとし
て周知である。シフト回路網の各レベルでのゲートは、
2進ワードを所定数の位置だけ左へシフトするため、前
のレベルのゲートに論理的に接続されている。例えば、
第1レベルのAO−AI5の各ゲートはバス23の2つ
のIJ一ド‘こ接続されている。リードSIが駆動され
ていなければ、ゲートAO−AI6は、バス23に現わ
れるデータ・ワードをゲートAO−AI5の出力させる
以外にデータ・ワー日こは影響を与えない;しかしリー
ドSIが駆動されているならば、ゲートAO−AI5は
バス23に現われるデータを効率的に1位置左へシフト
させる。同様に第2レベルのゲートBO−B15は第1
レベルゲートAO−AI5の出力に現われるデータをシ
フトしないように(リードS2は非駆動)或いは2位置
左へシフトするように(リードS2が駆動)なっている
。第3レベル及び第4レベルのゲートもシフトしないよ
うに或いは夫々左へ4位置及び8位置シフトするように
なっている。従って、Nビットを有する2進ワードをシ
フト回路網20の4レベルを通して転送させることによ
り、更にそのレベルを選択して駆動させることにより、
シフト回路網の出力に現われる2進ワードはN−1まで
の任意の位置の左シフトを表している。アキュムレータ
・レジスタ22は、夫々が前記の型の2入力セレクト・
ゲートを有する16のフリップRO−R15から構成さ
れている。
One of these gates receives control signals S1, S2, S4,
It has a pair of inputs selected by S8. Figure 3 shows
A gate is shown with a truth table attached to show its operation. When the select lead or drive lead is not driven, the gate G outputs the data on the input lead to the output lead C; when the select lead is driven,
Gate G outputs data from input B to output lead C. This type of gate is commercially available as an off-shelf component and is known as a two-input data select gate. The gates at each level of the shift network are
It is logically connected to the previous level gate to shift the binary word to the left by a predetermined number of positions. for example,
Each gate of the first level AO-AI 5 is connected to two IJs of the bus 23. If lead SI is not driven, gate AO-AI6 has no effect other than causing the data word appearing on bus 23 to be output by gate AO-AI5; however, if lead SI is driven If so, gate AO-AI5 effectively shifts the data appearing on bus 23 one position to the left. Similarly, the second level gate BO-B15 is connected to the first level gate BO-B15.
The data appearing at the output of level gate AO-AI5 is not shifted (lead S2 is not driven) or is shifted two positions to the left (lead S2 is driven). The third and fourth level gates are also not shifted or are shifted to the left by 4 and 8 positions, respectively. Thus, by transferring a binary word having N bits through the four levels of shift network 20, and by selectively driving the levels,
The binary word appearing at the output of the shift network represents a left shift of any position up to N-1. The accumulator registers 22 each include a two-input select register of the type described above.
It consists of 16 flip RO-R15s with gates.

これらの素子はオフーザーシェルフ構成要素として市販
されている。素子RO−R15に対する入力の第1の組
は入力データ・バスのリード‘こ夫々接続されている。
そのバスに現われる2進データ・ワードはクロック信号
に応じて且つセレクト・ロードを駆動することによりレ
ジスタ22に記憶される。この信号は通常システムのマ
イクロプロセッサ(図示されていない)で発生される。
レジスタ22の素子RO−R15に対する入力RO−R
15の第2の絹は、回路網20の出力DO−D15に交
差接続されている。これらの交差接続は交差する矢印2
4で表されている。効果的に、出力DOが入力R15に
、DIがR14に、.D2がR13に、D3がR12に
、D4がRIIに・・・・・・・・・更にD15がRO
‘こ接続されている。従ってレジスタ22は回路網20
の出力に現われる2進データ・ワードの鏡像を記憶する
。レジスタ22の素子RO−R15の出力は、装置のた
めの出力データ・バスとして働き且つレジスタ22の出
力に現われる2進データ・ワードをシフト回路絹20の
入力に戻す動きをするバス23に接続されている。
These elements are commercially available as offuser shelf components. A first set of inputs to element RO-R15 are connected to respective leads of the input data bus.
Binary data words appearing on the bus are stored in register 22 in response to the clock signal and by driving the select load. This signal is typically generated by the system's microprocessor (not shown).
Input RO-R to element RO-R15 of register 22
15 second silks are cross-connected to the output DO-D 15 of network 20. These cross connections are crossed arrows 2
It is represented by 4. Effectively, output DO goes to input R15, DI goes to R14, . D2 becomes R13, D3 becomes R12, D4 becomes RII, and D15 becomes RO.
'This is connected. Therefore, register 22 is
The mirror image of the binary data word that appears at the output of is stored. The output of element RO-R15 of register 22 is connected to bus 23 which serves as an output data bus for the device and which operates to return the binary data word appearing at the output of register 22 to the input of shift circuit 20. ing.

簡単のために入力データ・バスはしジスタ22の入力に
接続されているだけであることを理解されたい。
It should be understood that the input data bus is only connected to the input of resistor 22 for simplicity.

入力データリゞスも同様にしてシフト回路網20の入力
に直接接続されている。第4図のタイミング図と第5図
から第7図に図示されている例と用いた以下の動作の説
明から、上記の回路がよりよく理解されるだろう。
The input data source is similarly connected directly to the input of shift network 20. The circuit described above will be better understood from the following explanation of its operation using the timing diagram of FIG. 4 and the examples illustrated in FIGS. 5-7.

シフトすべき2進ワードは、入力データリゞスのりード
0一15に加えられる。
The binary word to be shifted is applied to input data reads 0-15.

同時にセレクト・リードが駆動され(1レベル)、シフ
ト量データ・フィールドがシフト制御回路21に送られ
る。次のクロック・パルスが発生すると(t仇第4図)
シフト回路網20の適当なしベルが駆動され、入力デー
タ・バスの2進データ・ワードはしジスタ22に記憶さ
れ且つバス23を経て回路網20の入力に現われ更に回
路網内を転送される。次のクロック・パルス(t,、第
4図)では、このデー外ましジス夕22に記載され、セ
レクト制御リードが駆動されない(0レベル)ことを除
いてその動作が繰り返される。第5図から第7図は各種
の機能を果す2進ワードの動作を示す。第5図は、7位
置の左シフトを行なう2進ワードの動作を示す。
At the same time, the select read is driven (1 level) and the shift amount data field is sent to the shift control circuit 21. When the next clock pulse occurs (Figure 4)
The appropriate bells of shift network 20 are driven and the binary data word on the input data bus is stored in register 22 and appears at the input of network 20 via bus 23 for further transfer within the network. On the next clock pulse (t, FIG. 4), this data is written to the register 22 and the operation is repeated except that the select control lead is not driven (0 level). Figures 5 through 7 illustrate the operation of binary words that perform various functions. FIG. 5 shows the operation of a binary word that performs a left shift of seven positions.

装置内の第1のパスの際、2進ワード‘ま左へ7位置シ
フトされる(レベルー,2及び3が駆動)が交差接続2
4のために得られるワードはしジスタ22の鏡像である
。第2パスの際、シフト回路網が駆動されておらず且つ
交差嬢続24のために、レジスタ22は出力データ・バ
スで利用可能な所望の2進データを含んでいる。第6図
は、9位置の右シフトを行なうための2進ワードの動作
を示す。回路網内の第1パスの際9レベルが駆動される
が、交差接続24のためしジスタ22の2進ワードは入
力データ・バス2進ワードの鏡像である。回路絹20内
の第2パスの際、現在レジスタ22にある2進データ・
ワードは9位置へシフトされ(レベル1と4が駆動)更
に交差接続24を経てレジスタ22に再び記憶される。
現在レジスタ22にある2進データ・ワ−ド‘ま元の2
進データ・ワード‘こ対して右へ9位置シフトしたもの
を表しており、出力データバスで利用可能である。第7
図は、ワード内のデータ・フィールドの分離を行なうた
めの2進データ・ワードの動作を示す。
During the first pass through the device, the binary word '' is shifted 7 positions to the left (levels 2 and 3 are driven) by the cross-connect 2
The word obtained for 4 is a mirror image of register 22. During the second pass, because the shift circuitry is not driven and because of the cross-connect 24, the register 22 contains the desired binary data available on the output data bus. FIG. 6 shows the operation of a binary word to perform a right shift of nine positions. During the first pass through the network, nine levels are driven, but because of cross-connect 24, the binary word in register 22 is a mirror image of the input data bus binary word. During the second pass through circuit 20, the binary data currently in register 22
The word is shifted to 9 positions (levels 1 and 4 driven) and stored back into register 22 via cross-connect 24.
The binary data word currently in register 22 is the original 2
It represents the decimal data word 'shifted nine positions to the right and is available on the output data bus. 7th
The figure shows the operation of a binary data word to effect separation of data fields within the word.

2進ワードのビット3から6を含むデータ・フィールド
を分離すること及びデータ・フィールドをワードの最下
位位置に配置することが望ましい。
It is desirable to separate the data field containing bits 3 through 6 of a binary word and to place the data field in the least significant position of the word.

回路絹内の第1パスの際、ワードは左へ9位置シフトさ
れ(レベルーと4が駆動)更に交差接続24のため、レ
ジス夕22の得られたデータ・ワードは隣接するビット
0,1及び2と共に最下位位置に配置されたデータ・フ
ィールドの鏡像を含んでいる。これらは、再びシフト回
路網を通り左へ12位置シフトされる(レベル3と4が
駆動)することにより、これらはワードから除去される
。レジスタ22の得られる2進ワードはワードの最下位
位置に配置された必要なデータ・フィールドを含んでお
り、ワードの残りのビットは0である。概略すれば回路
の動作は以下のように要約される。
During the first pass through the circuit, the word is shifted 9 positions to the left (levels 0 and 4 are driven) and due to the cross-connect 24, the resulting data word in register 22 is shifted to the left by 9 positions (levels 0 and 4 are driven). contains a mirror image of the data field located in the lowest position along with . These are shifted 12 positions to the left through the shift network again (levels 3 and 4 driven), thereby removing them from the word. The resulting binary word in register 22 contains the necessary data field located in the least significant position of the word, with the remaining bits of the word being zeros. Briefly, the operation of the circuit can be summarized as follows.

Nビットを有する2進ワードのYビット位置左シフトに
対しては一回路内の第1パスの際2進ワードはY位置左
へシフトされ、第2パスの際0位置シフトされる。×ビ
ット位置の右シフトに対しては一回路内の第1パスの際
2進ワードは0位置シフトされ、第2パスの際×位置左
へシフトされる。ワードの最上位位置からDビット位置
にあるデータ・フィールドWビット幅を分離且つ正しく
正当化することが所望ならば一回路内の第1パスの際2
進ワードはD位置シフトされ、第2バスの際N−W位置
シフトされる。上の例で示されるように、左或いは石へ
の各シフト機能及び各データ・フィールド分離機能貝0
ちマスク機能は装置を通る2パスを必要とする。
For a Y bit position left shift of a binary word having N bits, during the first pass within a circuit the binary word is shifted Y positions to the left and during the second pass it is shifted 0 positions. For a right shift of x bit positions, the binary word is shifted 0 positions during the first pass within a circuit, and shifted x positions to the left during the second pass. If it is desired to separate and correctly justify the data field W bit width at D bit positions from the most significant position of the word, then during the first pass within a circuit
The forward word is shifted D positions and shifted N-W positions on the second bus. As shown in the example above, each shift function to the left or stone and each data field separation function shell 0
The mask function requires two passes through the device.

これらは、現在の技術では命令ベース毎に約5仇sで容
易に動作可能なマイクロプロセッサの2つのマイクロ命
令に相当する。従って本発明は、一定の時間で且つ最小
実時間でその目的の機能のすべてを行なう双方向並列シ
フト及び処理回路を提供する。簡単で経済的であり更に
市販のオフーザーシェルフ構成要素を用いて実現できる
という利点もある。一方向にシフトするために必要なハ
ードウェアのみを必要とするので、これらの利点は部分
的に生じる。上記の本発明の具体例は2進データ・ワー
ドを左へシフトするためのシフト回路網を使用する。
These correspond to two microinstructions in a microprocessor, which with current technology can easily operate in about 5 seconds per instruction base. The present invention therefore provides a bidirectional parallel shifting and processing circuit that performs all of its intended functions in constant time and with minimal real time. It also has the advantage of being simple and economical and can be implemented using off-the-shelf off-the-shelf components. These advantages arise in part because they require only the necessary hardware to shift in one direction. The embodiment of the invention described above uses shift circuitry to shift binary data words to the left.

本発明は右シフト回路網を用いるシフト装置にも同様に
して適用できるとが理解できよう。それは単に装置を通
る第1パスと第2パスのシフト機能を反転且つ交換する
だけのことである。例えば、第5図で右シフト回路を用
いて7位置左へシフトすることが所望の場合を考える。
回路網内の第1パスの際、どのレベルも駆動されず(シ
フトなし)従ってレジス夕22の元のワードの鏡像であ
る。第2パスの際、レジスタ22のワードは7位置右へ
シフトされ更に交差接続24により鏡像がとられる。そ
の結果レジスタ22のワードは、元のワード‘こ対して
7位置左へシフトされていることになる。勿論、右シフ
ト回路網が用いられるならば、マスク機能は左調整され
ている分離したフイールドのビットとなる;即ちフイー
ルドはアキュムレータ・レジス夕のワードの最上位位置
を占める。
It will be appreciated that the invention is equally applicable to shifting devices using right shifting circuitry. It is simply a matter of reversing and exchanging the shift functions of the first and second passes through the device. For example, consider the case where it is desired to shift seven positions to the left using the right shift circuit in FIG.
During the first pass through the network, no levels are driven (no shifts) and are therefore mirror images of the original word in register 22. During the second pass, the word in register 22 is shifted seven places to the right and mirrored by cross-connect 24. As a result, the word in register 22 has been shifted seven positions to the left relative to the original word '. Of course, if right shift circuitry is used, the mask function will be a separate field bit that is left adjusted; ie, the field occupies the most significant position of the word in the accumulator register.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は、本発明に従った並列双方向シフト回路のブロ
ック図、第2図は、第1図の回路の簡略フロック図、第
3図は関連した真理値表のある第2図に示したゲートの
1つの簡略図、第4図は、第2図の回路の動作を示すタ
イミング図、第5図から第7図は、異なる機能に対して
第2図の回路の異なる地点に現われる2進ワード。 20:シフト回路網、21;シフト制御回路、22;ア
キユムレータ・レジスタ、23;バス。 F′G′‘′G.2 F′G.6 F′G.7 F′G.3 FrG.4 F′G.5
1 is a block diagram of a parallel bidirectional shift circuit according to the present invention; FIG. 2 is a simplified block diagram of the circuit of FIG. 1; and FIG. 3 is a simplified block diagram of the circuit of FIG. FIG. 4 is a timing diagram showing the operation of the circuit of FIG. 2; FIGS. forward word. 20: Shift circuitry, 21: Shift control circuit, 22: Accumulator register, 23: Bus. F'G'''G. 2 F'G. 6 F'G. 7 F'G. 3 FrG. 4 F'G. 5

Claims (1)

【特許請求の範囲】 1 Nビツトを有する2進データ・ワードをN−1位置
まで任意の数左又は右へシフトするための並列双方向シ
フト回路に於いて、2進データ・ワードを所定の一方向
にN−1位置まで任意の数シフトするための、N出力リ
ードを有するシフト回路網20と、N記憶位置とN入力
リードとを有するデータ・レジスタ22とを有し、該シ
フト回路網の該出力リードが該レジスタの該入力リード
に交差接続されていて、該シフト回路網からの該レジス
タに記憶された2進データ・ワードが該回路網の出力に
現われる2進ワードの鏡像であり、該レジスタの該出力
が該シフト回路網20の該入力に戻されて接続されてい
ることを特徴とする並列双方向シフト回路網。 2 Nビツトを有する2進データ・ワードをN−1位置
までの任意の数左又は右へシフトするための並列双方向
シフト回路に於いて、各々が複数個のゲート0−15を
具備する複数個のシフト・レベルA,B,C,Dを有す
るシフト回路網20を具備し、該回路網20の各々のレ
ベルで該ゲートが前のレベルで該ゲートに論理的に接続
されていて、その出力にて2進データ・ワードを所定の
方向に所定の位置数シフトし、各々のレベルにて該ゲー
トが前のレベルで該ゲートに論理的に接続されてもいて
、その出力で2進データ・ワードを位置シフトせずに転
送し、そして更に、各レベルにて該ゲートの作動を制御
するための信号S1,S2,S3,S8を受けるため手
段と、該回路網からのレジスタに記憶された2進ワード
がその出力に現われる2進データ・ワードの鏡像である
ように、該シフト回路網20の出力に交差接続された入
力24を有するデータ・レジスタ22とを具備し、該レ
ジスタの出力が該シフト回路網の入力に戻つて接続され
ていることを特徴とする並列双方向シフト回路網。 3 該シフト回路網の各々のレベルにて該ゲートの各々
が2入力データ・セレクト・ゲートである特許請求の範
囲第2項記載のシフト回路網。 4 それぞれ入力データ・バスと出力データ・バスとの
接続のための複数個の入力端子及び出力端子0−15)
を有し、該データ・レジスタ22の各記憶素子RO−R
15が該入力端子0−15の1つに接続された第1入力
と、シフト回路網RO/D15−R15/DOに交差接
続された第2入力と、該記憶素子の入力に接続された出
力とを有する2入力データ・セレクト・ゲートを含んで
おり、該記憶素子RO−R15の各々の出力が該出力端
子のそれぞれ1つにも接続されており、そして更に、該
データ・セレクト・ゲートの作動を制御するための信号
を受けるための手段を有する特許請求の範囲第8項記載
のシフト回路。 5 更に、信号を受けて該データ・レジスタへの入力デ
ータワードの記憶を制御し且つ該シフト回路網及び該デ
ータ・レジスタを介して2度循環させるための手段21
を有する特許請求の範囲第4項記載のシフト回路。 6 2進ワードを所定の一方向のみにN−1位置までの
任意の数シフトするようになつているシフト回路網20
を使用して、Nビツトを有する入力2進データ・ワード
を左又は右にN−1位置までの任意の所望の数シフトさ
せるための方法に於いて、 一方向の第1の位置シフト
を行なうために、シフト回路網20に入力2進ワードを
通過させることと、 その鏡像を形成するために第1の
バスから得られる2進ワードのビツトの相対的位置を交
換することと、 該一方向にて第2の位置シフトを行な
うために、シフト回路網に鏡像させることと、 その鏡
像を形成するために回路網を通る第2のバスから得られ
る2進ワードのビツトの相対的位置を交換し、それによ
つて、第2の形成された鏡像ワードが元の二進ワードの
所望の左又は右の位置シフトを表わすことを含むことを
特徴とする方法。
Claims: 1. In a parallel bidirectional shift circuit for shifting a binary data word having N bits to the left or right by an arbitrary number of N-1 positions, A shift network 20 having N output leads and a data register 22 having N storage locations and N input leads for shifting any number of N-1 positions in one direction. the output leads of the register are cross-connected to the input leads of the register, and the binary data word stored in the register from the shift circuitry is a mirror image of the binary word appearing at the output of the circuitry. , the output of the register is connected back to the input of the shift network 20. 2. In a parallel bidirectional shift circuit for shifting a binary data word having N bits to the left or right by any number of N-1 positions, a plurality of gates each having a plurality of gates 0-15 are used. shift circuitry 20 having shift levels A, B, C, D, in each level of the network 20 the gates are logically connected to the gates in the previous level; Shifts the binary data word at the output a predetermined number of positions in a predetermined direction, and at each level the gate is also logically connected to the gate at the previous level, and the binary data word is shifted at the output by a predetermined number of positions. means for transferring the words without position shifting and further receiving signals S1, S2, S3, S8 for controlling the operation of the gate at each level and stored in registers from the network; a data register 22 having an input 24 cross-coupled to the output of the shift network 20 such that the binary word appearing at its output is a mirror image of the binary data word appearing at its output; is connected back to an input of the shifting network. 3. The shifting network of claim 2, wherein each of said gates at each level of said shifting network is a two-input data select gate. 4 a plurality of input terminals and output terminals 0-15 for connection with the input data bus and the output data bus, respectively)
and each storage element RO-R of the data register 22
15 is connected to one of said input terminals 0-15, a second input is cross-connected to a shift network RO/D15-R15/DO, and an output is connected to an input of said storage element. a two-input data select gate having a respective one of the output terminals; 9. A shift circuit according to claim 8, further comprising means for receiving signals for controlling operation. 5 further comprising means 21 for receiving signals for controlling the storage of input data words into said data register and for circulating twice through said shift circuitry and said data register;
The shift circuit according to claim 4, having the following. 6. A shift network 20 adapted to shift a binary word in only one predetermined direction by any number of positions up to N-1.
in a method for shifting an input binary data word having N bits to the left or right any desired number of up to N-1 positions using passing the input binary word through shift circuitry 20 for the purpose of converting the input binary word to the shift circuitry 20; exchanging the relative positions of the bits of the binary word obtained from the first bus to form a mirror image thereof; mirroring the shift network in order to perform a second position shift at , whereby the second formed mirror image word represents a desired left or right positional shift of the original binary word.
JP53065886A 1977-06-16 1978-06-02 parallel bidirectional shifter Expired JPS6036612B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CA280669 1977-06-16
CA280,669A CA1076708A (en) 1977-06-16 1977-06-16 Parallel bidirectional shifter

Publications (2)

Publication Number Publication Date
JPS546740A JPS546740A (en) 1979-01-19
JPS6036612B2 true JPS6036612B2 (en) 1985-08-21

Family

ID=4108895

Family Applications (1)

Application Number Title Priority Date Filing Date
JP53065886A Expired JPS6036612B2 (en) 1977-06-16 1978-06-02 parallel bidirectional shifter

Country Status (5)

Country Link
JP (1) JPS6036612B2 (en)
CA (1) CA1076708A (en)
FR (1) FR2394869A1 (en)
GB (1) GB1575158A (en)
SE (1) SE438044B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02145364A (en) * 1988-11-28 1990-06-04 Olympus Optical Co Ltd Recoding head

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56109156U (en) * 1980-01-18 1981-08-24
JPS58144947A (en) * 1982-02-23 1983-08-29 Toshiba Corp Data shifting system
JPS59161731A (en) * 1983-03-07 1984-09-12 Hitachi Ltd Barrel shifter
JPS60179839A (en) * 1984-02-28 1985-09-13 Fujitsu Ltd Data shift circuit for processing digital signal
US5988974A (en) * 1997-03-21 1999-11-23 Zackovich; Stanley E. Vehicle lifting and towing apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3781819A (en) * 1971-10-08 1973-12-25 Ibm Shift unit for variable data widths
US3768077A (en) * 1972-04-24 1973-10-23 Ibm Data processor with reflect capability for shift operations

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02145364A (en) * 1988-11-28 1990-06-04 Olympus Optical Co Ltd Recoding head

Also Published As

Publication number Publication date
SE7806741L (en) 1978-12-17
CA1076708A (en) 1980-04-29
FR2394869A1 (en) 1979-01-12
GB1575158A (en) 1980-09-17
FR2394869B1 (en) 1984-10-26
SE438044B (en) 1985-03-25
JPS546740A (en) 1979-01-19

Similar Documents

Publication Publication Date Title
US4122534A (en) Parallel bidirectional shifter
US3753234A (en) Multicomputer system with simultaneous data interchange between computers
US5045995A (en) Selective operation of processing elements in a single instruction multiple data stream (SIMD) computer system
NL8900608A (en) PROGRAMMABLE PROCESSING DEVICE FOR LARGE-SCALE INTEGRATION.
JPS6254359A (en) Computer apparatus
EP0261497A2 (en) Semaphore circuit for shared memory cells
JPS6036612B2 (en) parallel bidirectional shifter
US4503511A (en) Computing system with multifunctional arithmetic logic unit in single integrated circuit
JPS642986B2 (en)
JPS607812B2 (en) Data buffering device
US4387294A (en) Shift register-latch circuit driven by clocks with half cycle phase deviation and usable with a serial alu
US4641278A (en) Memory device with a register interchange function
KR900002327B1 (en) Color image display device
US3702463A (en) Data processor with conditionally supplied clock signals
US4305138A (en) Stack memory device
JPS6057593B2 (en) Character pattern processing method
US4589086A (en) Data processing system
RU1786481C (en) Device for inputting discrete signals into computer
JP2558701B2 (en) Data transfer device
RU1791818C (en) Device for control of modulo three residual code
SU1758873A1 (en) Reversible binary counter
US3215822A (en) Electrical digital data manipulating apparatus
SU1283746A1 (en) Calculating device
SU451080A1 (en) Firmware Control
SU941978A1 (en) Data exchange device