JPS602695B2 - 3-bit slice recipe generation method - Google Patents
3-bit slice recipe generation methodInfo
- Publication number
- JPS602695B2 JPS602695B2 JP55183342A JP18334280A JPS602695B2 JP S602695 B2 JPS602695 B2 JP S602695B2 JP 55183342 A JP55183342 A JP 55183342A JP 18334280 A JP18334280 A JP 18334280A JP S602695 B2 JPS602695 B2 JP S602695B2
- Authority
- JP
- Japan
- Prior art keywords
- recipe
- output
- bit
- section
- recipe generation
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/60—Methods or arrangements for performing computations using a digital non-denominational number representation, i.e. number representation without radix; Computing devices using combinations of denominational and non-denominational quantity representations, e.g. using difunction pulse trains, STEELE computers, phase computers
- G06F7/72—Methods or arrangements for performing computations using a digital non-denominational number representation, i.e. number representation without radix; Computing devices using combinations of denominational and non-denominational quantity representations, e.g. using difunction pulse trains, STEELE computers, phase computers using residue arithmetic
- G06F7/729—Methods or arrangements for performing computations using a digital non-denominational number representation, i.e. number representation without radix; Computing devices using combinations of denominational and non-denominational quantity representations, e.g. using difunction pulse trains, STEELE computers, phase computers using residue arithmetic using representation by a residue number system
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- General Engineering & Computer Science (AREA)
- Detection And Correction Of Errors (AREA)
Description
【発明の詳細な説明】
本発明は3ビットスライスのレシジュ
(RESIDUE)生成方式に関し、特に3ビットスラ
イスの場合でも同一構成のレシジュ生成部を使用して異
なるタイプのスライス区域のレシジュを生成できるよう
にしたレシジュ生成方式に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a RESIDUE generation method for 3-bit slices, and particularly to a method for generating RESIDUEs for different types of slice areas using the same recipe generator even for 3-bit slices. Regarding the recipe generation method.
例えばデータ処理装置において演算を行なう場合、演算
結果が正しいか否かを識別するための手法の一つにレシ
ジュチェツク方式がある。For example, when a calculation is performed in a data processing device, one method for identifying whether or not the calculation result is correct is a recipe check method.
これは、例えば第1図に示すように、8ビットのデータ
の演算を行なうとき、その重みにより、1または2のレ
シジュが決まるので、入力データのレシジュを求め、ま
た演算結果のレシジュを求めその結果を比較して演算結
果が正確に行なわれたか否かをチェックする。この場合
、通常2ビットスライス毎でつまり20と21、22と
23……26と27といった2ビット毎にスライスして
、あるいは4ビット毎にスライスしてレシジュの計算を
行なっていた。この場合、各スライス単位のレシジユの
パターンは、いずれも同一パターンなので同一構成のレ
シジュ生成部を使用することができる。しかしながら、
データ処理装置をLSIで構成する場合、この瓜1の数
をなるべく節約することが要求される。For example, as shown in Figure 1, when performing an operation on 8-bit data, the result of 1 or 2 is determined by the weight, so the result of the input data is determined, and the result of the operation is determined. The results are compared to check whether the calculation results were performed correctly. In this case, the recipe is usually calculated by slicing every 2 bits, such as 20 and 21, 22 and 23, . . . 26 and 27, or slicing every 4 bits. In this case, since the recipe patterns for each slice are the same pattern, it is possible to use recipe generation units having the same configuration. however,
When the data processing device is configured with an LSI, it is required to reduce the number of melons 1 as much as possible.
それ故LSIによってはできるだけ回路を密に構成する
ことになり、その結果3ビットスライスでレシジュを生
成しなければならないようなことが生ずる。この場合、
第2図に示すように、下位3ビット2o〜22のレシジ
ュバターンと、次の3ビット23〜25のレシジュパタ
ーンが、タイプQおよびタイプ8に示されるように、「
121」、「212」と異なるため、通常は同一構成の
レシジュ生成部でこれらのものを構成することができな
いものとされていた。本発明者等はこのような問題点を
改善して、このようなしシジュパターンの異なる3ビッ
トスライスの場合でも同一構成のレシジュ生成部で3ビ
ットスライスを生成することができるようにしたもので
ある。Therefore, depending on the LSI, the circuit must be configured as densely as possible, and as a result, a recipe must be generated using a 3-bit slice. in this case,
As shown in FIG. 2, the recipe pattern of the lower three bits 2o to 22 and the recipe pattern of the next three bits 23 to 25 are as shown in type Q and type 8.
121'' and ``212'', it was generally considered that these could not be configured with the same recipe generation unit. The inventors of the present invention have improved this problem and made it possible to generate 3-bit slices with the same recipe generation unit even in the case of 3-bit slices with different non-result patterns. be.
そしてこのために本発明の3ビットスライスのレシジュ
生成方式では、Nビットのデータを3ビットずつに分割
されたデータにもとづくレシジユが入力される入力部と
、そのレシジュの演算結果が出力される出力部とを有す
る同一構成のレシジュ生成部を設け、そのNビットの桁
に応じてその出力部の取出位置を変更する変更手段を設
けることにより3ビット単位のレシジュ生成を行なうよ
うにしたことを特徴とする。For this purpose, the 3-bit slice recipe generation method of the present invention has an input section into which a recipe based on data divided into 3 bits of N-bit data is input, and an output section where the calculation result of the recipe is output. The present invention is characterized in that a recipe generation section having the same configuration as the output section is provided, and a changing means is provided for changing the extraction position of the output section according to the digit of the N bits, thereby generating the recipe in units of 3 bits. shall be.
以下本発明の一実施例を第3図〜第5図にもとづき説明
する。An embodiment of the present invention will be described below based on FIGS. 3 to 5.
第3図は本発明の動作原理説明図、第4図は本発明にお
いて使用されるレシジュ生成部、第5図は8ビットのレ
シジュ生成装置である。FIG. 3 is a diagram illustrating the operating principle of the present invention, FIG. 4 is a recipe generating section used in the present invention, and FIG. 5 is an 8-bit recipe generating device.
図中、1はタイプQのレシジュ生成部、2はタイプ8の
レシジュ生成部、3はしシジュ発生部、4〜6はしシジ
ュ生成部、7〜9はしシジュ出力部、10はしシジュ作
成部、11はしシジュ送出部である。In the figure, 1 is a type Q recipe generation unit, 2 is a type 8 recipe generation unit, 3 is a recipe generation unit, 4 to 6 are recipe generation units, 7 to 9 are recipe output units, and 10 is a recipe generation unit. The creation section and 11 are the output section.
本発明の一実施例構成を説瀕するに先立ち本発明の動作
原理を第3図に示す真理値説明図にもとづき、第2図お
よび第4図を参照しつつ説明する。Before explaining the construction of an embodiment of the present invention, the operating principle of the present invention will be explained based on the truth value explanatory diagram shown in FIG. 3 and with reference to FIGS. 2 and 4.
いま、第2図において桁2o=「1」が入力されるとし
シジュ1が生じ、21=「1」が入力されるとしシジュ
2が生じ、22=「1」が入力されるとしシジュ1が生
ずる。Now, in Figure 2, if digit 2o = "1" is input, Shiju 1 will occur, if 21 = "1" is input, Shiju 2 will occur, and if 22 = "1" is input, Shiju 1 will occur. arise.
そしてタイプQのパターンでは、それぞれの入力状態に
応じ、第3図のレシジュQに示すような出力を生ずる。
例えば20〜22がすべて「1」のとき、レシジユは1
十2十3=4となり4÷3=1……あまり1となり、1
が生ずる。同様に、タイプ8のパターンもそれぞれの入
力状態に応じて第3図のレシジュ3に示すような出力を
生ずる。したがって、この第3図より、タイプのこおい
て22 =A、21=B、20=Cとすれば、RESO
=ABC十ABC+ABC .・・・..・.
.mRESI=ABC+ABC+ABC ……
…{2)RES2=ABC+ABC ………
{3}またタイプ8において25 =A′、24:B′
、23=C′とすればRESO′=A′BC′+A′B
C′+A′BC′ ……‘41RESI′=A′8C
′+A′BC′ ……{5’RES2′=
A′BC′+A′BC′+A′BC′ ……{6}と
なる。In the type Q pattern, an output as shown in recipe Q in FIG. 3 is produced according to each input state.
For example, if 20 to 22 are all "1", the recipe is 1.
123 = 4 and 4 ÷ 3 = 1...The remainder is 1, so 1
occurs. Similarly, the type 8 pattern also produces an output as shown in recipe 3 in FIG. 3 depending on each input state. Therefore, from this Figure 3, if the type is 22 = A, 21 = B, 20 = C, RESO
=ABC ten ABC+ABC.・・・. ..・..
.. mRESI=ABC+ABC+ABC...
…{2) RES2=ABC+ABC ………
{3} Also in type 8, 25 = A', 24:B'
, 23=C', then RESO'=A'BC'+A'B
C'+A'BC'...'41RESI'=A'8C
'+A'BC'...{5'RES2'=
A'BC'+A'BC'+A'BC'...{6}.
これらの式を比較すれば、式‘11と‘2}は同一論理
であり式(21と‘6)は同一論理であり、式【31と
‘5’が同4一論理であることがわかる。By comparing these formulas, we can see that formulas '11 and '2} have the same logic, formulas (21 and '6) have the same logic, and formulas [31 and '5' have the same logic. .
それ故、上記式【1)、‘21、‘3’にもとづき、第
4図におけるレシジュ生成部1を構成し、上記式{4}
、【5ー、‘6)にもとづきレシジュ生成部2を構成し
たとき、レシジュ生成部1においてその出力端RESI
をレシジュ生成部2の出力端RES2′として使用し、
出力機RES2を同じく出力端RESIとして使用する
ならば、レシジュ生成部1と2は全く同一構成のものが
使用できることになる。Therefore, based on the above formulas [1], '21, and '3', the recipe generation unit 1 in FIG. 4 is configured, and the above formula {4}
, [5-, '6), when the recipe generating section 2 is configured, the output terminal RESI in the recipe generating section 1 is
is used as the output terminal RES2' of the recipe generating section 2,
If the output device RES2 is also used as the output terminal RESI, the recipe generation sections 1 and 2 can have exactly the same configuration.
したがって、第5図に示すように、2o〜27の各ビッ
トに応じてレシジュを出力するレシジュ発生部3と、同
一構成のレシジュ生成部4,5,6と、レシジュ出力部
7,8,9を設ける。Therefore, as shown in FIG. 5, there is a recipe generation section 3 that outputs a recipe according to each bit of 2o to 27, a recipe generation section 4, 5, 6 having the same configuration, and a recipe output section 7, 8, 9. will be established.
そしてレシジュ生成部6の入力端Aに0を常時入力して
おく。この場合レシジュ出力部7および9はしシジュ生
成部4,6の出力がそのままのレシジュで出力されるよ
うに接続されている。しかし、レシジュ出力部8は、レ
シジュ1と2とが入れかわって出力されるように構成さ
れている。換言すればレシジュ生成部5がレシジューを
出力したときレシジュ出力部8からしシジュ2が出力さ
れ、またレシジュ生成部5がレシジュ2を出力したとき
レシジュ出力部8からはしシジュ1が出力される。そし
てこのようにして各レシジュ出力部7〜9から出力され
たレシジュを通常のレシジュ作成部1川こ印加してこれ
を例えば8ビットのデータに作成しレシジュ送出部11
からこの8ビットレシジュを送出する。それ故、この装
置を、例えば第5図の一点鎖線で示すようにLSIチッ
プ1,0,mで3ビットスライス的に分割して構成する
ような場合に、レシジュ生成部4,5,6を同一構成に
することができ、LSI化するときに非常に効果がある
。Then, 0 is always input to the input terminal A of the recipe generating section 6. In this case, the recipe output units 7 and 9 are connected so that the outputs of the recipe generators 4 and 6 are output as they are. However, the recipe output section 8 is configured so that recipe 1 and recipe 2 are outputted interchangeably. In other words, when the recipe generation section 5 outputs the recipe, the recipe output section 8 outputs the recipe 2, and when the recipe generation section 5 outputs the recipe 2, the recipe output section 8 outputs the recipe 1. . Then, the recipe outputted from each recipe output unit 7 to 9 in this way is applied to a regular recipe generation unit 1 to create, for example, 8-bit data, and the recipe output unit 11
This 8-bit recipe is sent from. Therefore, when this device is configured by dividing LSI chips 1, 0, and m into 3-bit slices as shown by the dashed line in FIG. It is possible to have the same configuration, which is very effective when integrated into LSI.
以上説明の如く、本発明によれば3ピ・ツトスラィスに
よりレシジュを生成する場合でも同一構成のレシジュ生
成部を使用することができるので、LSI化するときに
非常に効果がある。As described above, according to the present invention, even when a recipe is generated by 3-pin slices, the same recipe generation section can be used, which is very effective when implementing an LSI.
第1図はしシジュの説明図、第2図は3ビットスライス
時の問題点説明図、第3図は本発明の動作原理説明図、
第4図は本発明において使用されるレシジュ生成部、第
5図は8ビットのレシジュ生成装置である。
図中、1はタイプQのレシジュ生成部、2はタイプPの
レシジュ生成部、3はしシジュ発生部、4〜6はしシジ
ュ生成部、7〜9はしシジュ出力部、10‘ましシジュ
作成部、11はしシジュ送出部をそれぞれ示す。
矛1図
矛2図
矛3図
矛4図
オ5斑Fig. 1 is an explanatory diagram of the cutting process, Fig. 2 is an explanatory diagram of problems when slicing 3 bits, Fig. 3 is an explanatory diagram of the operating principle of the present invention,
FIG. 4 shows a recipe generator used in the present invention, and FIG. 5 shows an 8-bit recipe generator. In the figure, 1 is a type Q recipe generation unit, 2 is a type P recipe generation unit, 3 is a recipe generation unit, 4 to 6 are recipe generation units, 7 to 9 are recipe output units, and 10' is a recipe generation unit. 11 shows a creation unit, and 11 shows a transfer unit, respectively. 1 spear 2 spears 3 spears 4 spears 5 spots
Claims (1)
タにもとづくレシジユが入力される入力部と、そのレシ
ジユの演算結果が出力される出力部とを有する同一構成
のレシジユ生成部を設け、そのNビツトの桁に応じてそ
の出力部の取出位置を変更する変更手段を設けることに
より3ビツト単位のレシジユ生成を行なうようにしたこ
とを特徴とする3ビツトスライスのレシジユ生成方式。1. A recipe generating section having the same configuration is provided, which has an input section into which a recipe based on data obtained by dividing N-bit data into 3-bit data is input, and an output section from which the calculation result of the recipe is output. A 3-bit slice recipe generation method, characterized in that the recipe is generated in units of 3 bits by providing a changing means for changing the extraction position of the output section according to the digit of the bit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55183342A JPS602695B2 (en) | 1980-12-24 | 1980-12-24 | 3-bit slice recipe generation method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55183342A JPS602695B2 (en) | 1980-12-24 | 1980-12-24 | 3-bit slice recipe generation method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS57106961A JPS57106961A (en) | 1982-07-03 |
| JPS602695B2 true JPS602695B2 (en) | 1985-01-23 |
Family
ID=16134040
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP55183342A Expired JPS602695B2 (en) | 1980-12-24 | 1980-12-24 | 3-bit slice recipe generation method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS602695B2 (en) |
-
1980
- 1980-12-24 JP JP55183342A patent/JPS602695B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS57106961A (en) | 1982-07-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5446683A (en) | Methods and apparatus for generating pseudo-random binary patterns | |
| US3697948A (en) | Apparatus for correcting two groups of multiple errors | |
| JPH02504339A (en) | Multiplier-adders in Galois fields and their use in digital signal processors | |
| JPH0682528A (en) | Circuit for generating binary sequence having controllable weight | |
| EP0480621A2 (en) | Apparatus and method for parallel generation of cyclic redundancy check (CRC) codes | |
| Coron | On the security of random sources | |
| EP0204576A2 (en) | Apparatus for and methods of decoding a BCH code | |
| NO141294B (en) | METHODS OF CREATING RANDOM BINARY SIGNAL SEQUENCES | |
| JPH0697932A (en) | Method and apparatus for encoding of communication signal | |
| US4532638A (en) | Method and apparatus for the exponentiation of large binary numbers in a residue class modulo N, particularly for encoding and decoding digitally-represented messages | |
| JP2004531141A (en) | Digital system and error detection method for the digital system | |
| CA1232072A (en) | Multiplication circuit using a multiplier and a carry propagating adder | |
| JPS602695B2 (en) | 3-bit slice recipe generation method | |
| JP2001251194A (en) | CRC arithmetic unit | |
| JPH08149017A (en) | CRC code generation method | |
| US20040117416A1 (en) | Integrated circuit and process for identifying minimum or maximum input value among plural inputs | |
| JPH0580972A (en) | Data compression device | |
| JPS58129653A (en) | Multiplication system | |
| JPH01220528A (en) | Parity generator | |
| JP2822928B2 (en) | CRC code calculation method and circuit | |
| JPH0628203A (en) | Multiplication circuit inspection method | |
| JPH0964754A (en) | Error detection code generation circuit | |
| JPS60176177A (en) | Auto generating system of logical diagram | |
| JP2644389B2 (en) | Instruction sequence generator | |
| Kruh et al. | The typex cryptograph |