JPS62151031A - Data processor - Google Patents
Data processorInfo
- Publication number
- JPS62151031A JPS62151031A JP29425185A JP29425185A JPS62151031A JP S62151031 A JPS62151031 A JP S62151031A JP 29425185 A JP29425185 A JP 29425185A JP 29425185 A JP29425185 A JP 29425185A JP S62151031 A JPS62151031 A JP S62151031A
- Authority
- JP
- Japan
- Prior art keywords
- parity
- latch
- barrel shifter
- shifter
- data
- 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.)
- Pending
Links
Abstract
Description
【発明の詳細な説明】
(技術分野)
本発明はバレルシフタを有するデータ処理装置に関する
ものである。DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to a data processing device having a barrel shifter.
(従来技術)
近年の集積回路技術の進歩に伴ない、マイクロプロセッ
サ等に代表される、データ処理装置は、よシ高速のもの
が求められている。(Prior Art) With recent advances in integrated circuit technology, data processing devices, typified by microprocessors, are required to be faster.
この高速化の要求によりマイクロプロセッサでもバレル
シフタが多用される様になった。Due to this demand for higher speeds, barrel shifters have come to be used frequently in microprocessors.
しかし、バレルシフタの検査をする場合、nbitのバ
レルシフタであればn2回シフト命令を実行する必要が
あり、テスト容易性の要請に反する事になる。これはn
bitのバレルシフタは n2個のスイッチング素子に
より実現されるため、n通りのデータに対し、n通りの
シフト量でシフトする必要があるためである。この為長
大なテストパターンを必要とする。However, when inspecting a barrel shifter, if it is an n-bit barrel shifter, it is necessary to execute the shift command n2 times, which goes against the requirement for testability. This is n
This is because the bit barrel shifter is realized by n2 switching elements, so it is necessary to shift n types of data by n types of shift amounts. For this reason, a long test pattern is required.
(発明の目的) ・
本発明の目的は、テスト容易性を向上させたバレルシフ
タを提供する事にある。(Object of the Invention) - An object of the present invention is to provide a barrel shifter with improved testability.
(発明の構成) 本発明の構成を第1図を用いて説明する。(Structure of the invention) The configuration of the present invention will be explained using FIG. 1.
第1図において、1・・・・・・内部データバス、2・
・・・・・シフタ入力ラッチ、3・・・・・・バレルシ
フタ、4・・・・・・シフタ出力ラッチ、5・・・・・
・パリティ生成器、6・・・・・・パリティラッチ、7
・・・・・・シフタ制御装置、8・・・・・・定数発生
器である。In FIG. 1, 1...internal data bus, 2...
...Shifter input latch, 3...Barrel shifter, 4...Shifter output latch, 5...
・Parity generator, 6... Parity latch, 7
. . . Shifter control device, 8 . . . Constant generator.
まず定数発生器で定数をデータバス上eこ発生する。こ
のデータを入力ラッチにラッチする。更にこのデータを
シ7りでシフトし、結果を出力う。First, a constant is generated on the data bus by a constant generator. Latch this data into the input latch. Furthermore, this data is shifted in a series and the result is output.
チにラッチする。latch on.
この出力ラッチの値のパリティを生成するが、もし、発
生する定数を1 bitのみ”1″にしておけば、パリ
ティの値でバレルシフタの良否を決定出来る。つマシ、
バレルシフタのスイッチング素子又は配線が形成されて
いなければ出力は全て0になりパリティの値は異なる。Parity is generated for the value of this output latch, but if only one bit of the generated constant is set to "1", the quality of the barrel shifter can be determined based on the parity value. Tsumashi,
If the switching element or wiring of the barrel shifter is not formed, all outputs will be 0 and the parity value will be different.
又、スイッチング素子間がシ目−ト又は、2個のスイッ
チング素子が導通している場合も又、パリティは異なる
。Furthermore, the parity also differs when there is a gap between the switching elements or when two switching elements are electrically connected.
(以上の事は、1bitのみ0の定数を使っても実現出
来る)
更に1以上の操作を全てのスイッチング素子に対して実
行する様に、シフト制御装置で繰返しの制御を行ない同
時に、目的外のパリティが発生した時にパリティラッチ
をセットする。以上の繰返し後に、パリティラッチを制
御装置で調べる事により、バレルシフタの良、否をチェ
ック出来る。(The above can also be achieved by using a constant with only 1 bit being 0.) Furthermore, the shift control device performs repeated control so that one or more operations are performed on all switching elements, and at the same time, Sets the parity latch when parity occurs. After repeating the above steps, by checking the parity latch with the control device, it is possible to check whether the barrel shifter is good or not.
(発明の効果)
本発明は、バレルシフタのテストを外部からの命令デー
タによらず、内部のみで行なう事が出来、テストパター
ンの減少、等、テスト容易性の向上に効果がある。′
(実施例)
次に第1、第2図を用いて本発明の一実施例を示す。(Effects of the Invention) The present invention is capable of testing the barrel shifter only internally without relying on external command data, and is effective in improving testability, such as reducing the number of test patterns. (Example) Next, an example of the present invention will be described using FIGS. 1 and 2.
今、第1図のデータ処理装置のシック制御装置・・・・
・・7が、第2図のフローチャート通シに動作すル事で
、バレルシフタのチェックが可能となる。Now, the thick control device of the data processing device shown in Fig. 1...
By following step 7 according to the flowchart shown in Figure 2, it is possible to check the barrel shifter.
第2図によると、まずnbitの定数(nはバレルシフ
タのbit長)を(OO・・・・・・01)にする。According to FIG. 2, first, the nbit constant (n is the bit length of the barrel shifter) is set to (OO...01).
この定数に対し、シフト量をO−nまで(nは、バレル
シフタのbit長)変化させシフトする。以上の繰返し
を(00・・・・・・01)から(10・・・・・・0
0)のn通シの定数に対して繰返す。The shift amount is changed to O-n (n is the bit length of the barrel shifter) with respect to this constant. Repeat the above from (00...01) to (10...0
Repeat for n constants of 0).
以上の操作の途中でパリティに異常があれば、第1図の
パリティラッチ・・・・・・6をセットする。更に、最
後にパリティラッチをチェックすれば、バレルシフタが
正常か異常かを判定出来る。If there is an abnormality in parity during the above operation, set parity latch 6 shown in FIG. Furthermore, by checking the parity latch at the end, you can determine whether the barrel shifter is normal or abnormal.
(発明のまとめ)
以上の様に本発明を用いる事により、長大なテストパタ
ーンを用いずにバレルシフタのテストが可能となりテス
ト容易性が改善される。(Summary of the Invention) As described above, by using the present invention, a barrel shifter can be tested without using a long test pattern, and testability is improved.
第1図は本発明の実施例のブロック図、第2図はその動
作を示すフローチャート図である。
1・・・・・・内部データバス、2・・−・・・シフタ
人力ラッチ、3・・・・・・バレルシフタ、4・・・・
・・シフタ出力う。
チ、5・・・・・・パリティ生成器、6・・・・・・パ
リティラ。
チ、7・・・・・・シフタ制御装置、8・・・・・・定
数発生器。
第1図
開始
7.・バレルンフタahl)it長
第?図FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a flowchart showing its operation. 1...Internal data bus, 2...Shifter manual latch, 3...Barrel shifter, 4...
...Shifter output. 5. Parity generator, 6. Parity generator. H, 7... Shifter control device, 8... Constant generator. Figure 1 Start 7.・Barrel lid ahl) IT chief? figure
Claims (1)
トするデータを定数発生器で発生させシフト結果のパリ
ティを生成するパリティ生成器と、該パリティがあらか
じめ設定された値以外の時にセットされるラッチを有し
、かつ前記ラッチの値をデータ処理装置の制御部で検査
する手段を設け、更に、任意回数シフトを繰返す様に構
成した事を特徴とするデータ処理装置。A data processing device having a barrel shifter, including a parity generator that generates data to be shifted using a constant generator and generates parity as a shift result, and a latch that is set when the parity is a value other than a preset value, A data processing device further comprising means for checking the value of the latch by a control unit of the data processing device, and further configured to repeat the shift an arbitrary number of times.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP29425185A JPS62151031A (en) | 1985-12-25 | 1985-12-25 | Data processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP29425185A JPS62151031A (en) | 1985-12-25 | 1985-12-25 | Data processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62151031A true JPS62151031A (en) | 1987-07-06 |
Family
ID=17805304
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP29425185A Pending JPS62151031A (en) | 1985-12-25 | 1985-12-25 | Data processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62151031A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04352518A (en) * | 1991-05-30 | 1992-12-07 | Matsushita Electric Ind Co Ltd | Arithmetic unit |
-
1985
- 1985-12-25 JP JP29425185A patent/JPS62151031A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04352518A (en) * | 1991-05-30 | 1992-12-07 | Matsushita Electric Ind Co Ltd | Arithmetic unit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH06105285B2 (en) | Semiconductor integrated circuit device | |
JPS62151031A (en) | Data processor | |
US4555783A (en) | Method of computerized in-circuit testing of electrical components and the like with automatic spurious signal suppression | |
US5293572A (en) | Testing system of computer by generation of an asynchronous pseudo-fault | |
JPH04296112A (en) | Register circuit | |
JP2588244B2 (en) | Semiconductor device | |
JPS59172734A (en) | Semiconductor integrated circuit | |
JPS61253477A (en) | Aging apparatus | |
JPH0291734A (en) | Testing system for lsi | |
JPS63233384A (en) | Logical check of printed circuit board unit | |
JPS63103985A (en) | Inspecting device for integrated circuit element | |
JPH0574913A (en) | Semiconductor integrated circuit device | |
JPS62293736A (en) | Integrated circuit with test circuit | |
JPS63206674A (en) | Integrated logic circuit | |
JPS6140574A (en) | Test condition setting apparatus | |
JPS5913962A (en) | Tester for logical integrated circuit | |
JPH0252461A (en) | Semiconductor device | |
JPS59178374A (en) | Circuit for testing integrated circuit | |
JPH01254877A (en) | Lsi tester | |
JPH11353265A (en) | Information transmission device | |
JPS6222086A (en) | Semiconductor integrated circuit | |
JPH03185756A (en) | Semiconductor integrated circuit device | |
JPS6140575A (en) | Performance tester for integrated circuit | |
JPS6373340A (en) | Power source controller | |
JPH02206773A (en) | Test circuit for semiconductor integrated circuit |