JPH02126338A - Testing system for logical circuit - Google Patents
Testing system for logical circuitInfo
- Publication number
- JPH02126338A JPH02126338A JP63279784A JP27978488A JPH02126338A JP H02126338 A JPH02126338 A JP H02126338A JP 63279784 A JP63279784 A JP 63279784A JP 27978488 A JP27978488 A JP 27978488A JP H02126338 A JPH02126338 A JP H02126338A
- Authority
- JP
- Japan
- Prior art keywords
- shift
- register
- word
- counter
- shift path
- 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.)
- Ceased
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は情報処理装置における論理回路の試験方式に関
し、特にシフトパスによる論理回路の試験方式に関する
。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a test method for logic circuits in an information processing device, and particularly to a test method for logic circuits using shift passes.
従来、この種のシフトパスによる論理回路の試験方式に
おいては、レジスタファイルはシフ)〜バスから除かれ
るか、特定のワードが固定的に取り込まれる方式となっ
ていた。Conventionally, in this type of logic circuit testing method using a shift pass, the register file is removed from the bus, or a specific word is fixedly taken in.
上述した従来のシフトパスによる論理回路の方式は、レ
ジスタファイルの全ワードがシフトパス中に含まれない
ため、試験動作においてレジスタファイル中に直接アク
セスできないワードが発生するという欠点がある。The above-described conventional logic circuit system using a shift pass has the disadvantage that all words of the register file are not included in the shift pass, and therefore, there are words in the register file that cannot be directly accessed during a test operation.
又、特定のワードのみしかシフトパスに含まれないため
、全ワードに関する試験がシフトノ<スを介して行なえ
ないという欠点がある。Furthermore, since only specific words are included in the shift path, there is a drawback that tests regarding all words cannot be performed via the shift path.
第1の発明の論理回路の試験方式の構成は、任意のビッ
ト長のレジスタと、nワード構成のレジスタファイルと
、2m>nを満足するmビ・ント幅のカウンタと、この
カウンタにより指示される前記レジスタファイル中の1
ワードを前記レジスタで構成されるシフトパスに組み込
む手段と、非シフトモード時には、前記カウンタをn−
1にプリセットする手段と、シフトモード時、シフトク
ロツタ毎に前記カウンタを−1する手段と、前記シフト
モード時でかつ、前記カウンタがOの場合、次のシフト
クロックにより前記カウンタをn−1にプリセットする
手段を含むことを特徴とする。The configuration of the logic circuit testing method of the first invention includes a register with an arbitrary bit length, a register file with an n-word configuration, a counter with an m-bit width that satisfies 2m>n, and a 1 in the register file
means for incorporating words into a shift path comprised of said registers; and in non-shift mode said counter is
means for presetting the counter to 1; and means for decrementing the counter by 1 for each shift clock in the shift mode; and in the shift mode and when the counter is O, presetting the counter to n-1 by the next shift clock; It is characterized in that it includes means for.
又、第2の発明の論理回路の試験方式の構成は、任意ビ
ットのレジスタと、nビ・ント×mワードのレジスタフ
ァイルと、前記レジスタ及び前記レジスタファイルの特
定の1ワードにより構成される主シフトパスと、前記レ
ジスタファイルのどのワードを前記主シフトパス中に組
み込むかを指定し2K>mを満足するワード指示レジス
タと、このワード指示レジスタにより構成される制御用
シフトパスと、この制御用シフトパスのシフトアウト側
に接続され前記主シフトパスと前記制御用シフトパスと
の切り替え制御に用いるシフトパス切り替え指示レジス
タとを有し、非シフトモード時には、前記シフトパス切
り替え指示レジスタ及び前記ワード指示レジスタをリセ
ットする手段と、シフトモード時には、シフト入力の先
頭に論理1信号をシフト入力し、続いてにビットのワー
ド指示情報をシフト入力することにより、先頭のに+1
ビットのシフト入力信号は前記制御用シフトパスにシフ
ト入力され、先頭の論理1信号が前記シフトパス切り替
えレジスタに到達した時点で、シフトパスが前記レジス
タファイル中の指定したワードを組み込んだ前記主シフ
トパスへと切り替わり、通常のシフト動作を行うことを
可能とする手段を含むことを特徴とする。The configuration of the logic circuit testing method of the second invention is as follows: a register of arbitrary bits, a register file of n bits x m words, and a main unit consisting of the register and one specific word of the register file. A shift path, a word instruction register that specifies which word of the register file is to be incorporated into the main shift path and satisfies 2K>m, a control shift path constituted by this word instruction register, and a shift of this control shift path. a shift path switching instruction register connected to the outside and used for switching control between the main shift path and the control shift path; means for resetting the shift path switching instruction register and the word instruction register in a non-shift mode; In the mode, by shifting a logic 1 signal to the beginning of the shift input, and then shifting the word instruction information of the bit to the beginning, +1 is input to the beginning of the shift input.
A bit shift input signal is shifted into the control shift path, and when the first logical 1 signal reaches the shift path switching register, the shift path is switched to the main shift path incorporating the designated word in the register file. , is characterized in that it includes means for making it possible to perform a normal shift operation.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は第1の発明の一実施例のブロック図、第2図は
第1図のデータの状態遷移図である。FIG. 1 is a block diagram of an embodiment of the first invention, and FIG. 2 is a state transition diagram of the data in FIG.
2.3.4,6.7は、シフトバズを構成するレジスタ
、1はシフト入力端子、8はシフト出力端子、5はレジ
スタファイルであり、1個のマスターフリップフロップ
51とn個のスレーブフリップフロップ52で構成され
、ワード指定の信号によりnワード中の1ワードがシフ
トパス中に組み込まれる構成となっている。11はシフ
ト時にレジスタファイルのリード指定を行うためのカウ
ンタであり、mb i t (2m>n)構成である。2.3.4 and 6.7 are registers that constitute the shift buzz; 1 is a shift input terminal; 8 is a shift output terminal; 5 is a register file; one master flip-flop 51 and n slave flip-flops; 52, and one word out of n words is incorporated into the shift path by a word designation signal. Reference numeral 11 denotes a counter for specifying read of the register file at the time of shift, and has a configuration of mb i t (2m>n).
カウンタ11はシフトモード信号SFMが論理0の時に
n−1にプリセットされ、シフトモード信号SFMが論
理1の時にシフトクロックSCKの立上がりでカウント
ダウンを行う、さらに、カウント値が0となった次のシ
フトクロックSCKにより再度n−1にプリセットされ
る。The counter 11 is preset to n-1 when the shift mode signal SFM is logic 0, and counts down at the rising edge of the shift clock SCK when the shift mode signal SFM is logic 1. It is preset to n-1 again by the clock SCK.
以上の動きを、4ワードのレジスタファイルをシフトパ
スに組み込んだ場合を例にとり、第2図に従い説明する
。The above operation will be explained with reference to FIG. 2, taking as an example a case where a 4-word register file is incorporated into the shift path.
状態1はシフト動作開始前の初期状態における各レジス
タの値であり、カウンタはプリセット状態により3を指
示している。状B2はシフト動作開始後で、シフト20
ツクが1回入力された状態である。ただし、カウンタの
値はクロック入力前を示し、その他のレジスタ、レジス
タファイルの値はクロック入力後の値な示している。State 1 is the value of each register in the initial state before the start of the shift operation, and the counter indicates 3 due to the preset state. State B2 is shift 20 after the start of the shift operation.
This is the state in which the tsk has been input once. However, the counter value shows the value before clock input, and the values of other registers and register files show the values after clock input.
状態2においては、カウンタで指示されているワー1<
3のレジスタファイルがシフトされている。以降、状
態3〜13まで順次遷移させて行くと、状態13におい
て、全レジスタと全レジスタファイルに関してシフト動
作が完了することになる。第2図から明らかなように、
本方式によれば、レジスタファイルを含むシフトパスが
、レジスタ0→レジスタ1−4−レジスタ2→レジスタ
3−→レジスタファイル0−レジスタファイル1→レジ
スタファイル2→レジスタファイル3→レジスタ4→レ
ジスタ5→1/ジスタロ→レジスタ7とあたかも1本に
つながっているように扱うことが可能となる。In state 2, the word 1 < indicated by the counter
3 register files have been shifted. Thereafter, if the states 3 to 13 are sequentially changed, in state 13, the shift operation is completed for all registers and all register files. As is clear from Figure 2,
According to this method, the shift path including the register file is register 0 → register 1-4 - register 2 → register 3 - → register file 0 - register file 1 → register file 2 → register file 3 → register 4 → register 5 → 1/Dystaro→Register 7 can be handled as if they were connected as one.
次に第2の発明について図面を参照して説明する。Next, the second invention will be explained with reference to the drawings.
第3図は第2の発明の一実施例め回路図である。FIG. 3 is a circuit diagram of an embodiment of the second invention.
主シフトパスは、レジスタ10とレジスタファイルを構
成するマスタラッチ20とワード指示レジスタ30で指
示されたワードのスレーブラッチ21をワードセレクタ
24で選択して構成される。The main shift path is constructed by selecting the master latch 20 that constitutes the register 10 and the register file, and the slave latch 21 of the word specified by the word instruction register 30 using the word selector 24.
制御シフトパスは、ワード指示レジスタ30とシフトパ
ス切り替え指示レジスタ31で構成される。The control shift path is composed of a word instruction register 30 and a shift path switching instruction register 31.
シフトモード時には、シフトモード信号SFMが論理0
のため、ワード指示レジスタ3oとシフトモード切り替
え指示レジスタ31は、リセットされる。In shift mode, shift mode signal SFM is logic 0.
Therefore, the word instruction register 3o and shift mode switching instruction register 31 are reset.
シフト開始時には、シフトモード切り替え指示レジスタ
31が論理0のため、制御用シフトパスのシフトクロッ
ク制御回路41により制御用シフトパススにシフトクロ
ックが供給され、主シフトパス側は主シフl−パスのシ
フトクロック制御回路40およびスレーブラッチのライ
トパルス制御回路22によりシフトクロックが停止され
ているため、制御用シフトパスに対してシフト動作が行
われる。シフト入力信号SINの先頭に入力した論理用
シフトパス切り替えレジスタ31に到達すると、制御用
シフトパスのクロック制御回路41により制御用シフト
パスのシフトクロックが停止し、主シフトパスのクロッ
ク制御回840およびスレーブラッチのライトパルス制
御回路により主ジフトパスに対するシフトクロックの供
給が開始され、シフトパスが制御用シフトパスがら主シ
フトパスへと切り替わる。シフトパスが切り替わった時
点で、kビット分のワード指示情報はワード指示レジス
タ30に入力されているので、ワードセレクタ24は指
示されたワードを選択する。At the start of the shift, the shift mode switching instruction register 31 is logic 0, so the shift clock control circuit 41 of the control shift path supplies the shift clock to the control shift path, and the main shift path side is supplied with the shift clock control circuit of the main shift l-path. 40 and the slave latch write pulse control circuit 22 have stopped the shift clock, so a shift operation is performed on the control shift path. When the shift input signal SIN reaches the logic shift path switching register 31 input at the beginning, the shift clock of the control shift path is stopped by the clock control circuit 41 of the control shift path, and the clock control circuit 840 of the main shift path and the write of the slave latch are stopped. The pulse control circuit starts supplying a shift clock to the main shift path, and the shift path is switched from the control shift path to the main shift path. At the time when the shift path is switched, k bits of word instruction information have been input to the word instruction register 30, so the word selector 24 selects the instructed word.
また、スレーブラッチ選択信号デコーダ回路23もワー
ド指示信号により選択されたワードを指示し、スレーブ
ラッチのライトパルス制御回路に対して選択されたワー
ドの選択信号を出力する。Further, the slave latch selection signal decoder circuit 23 also designates the word selected by the word designation signal, and outputs a selection signal of the selected word to the write pulse control circuit of the slave latch.
以上説明したように、第1の発明によれば、レジスタフ
ァイルのワードを指定するためのカウンタを設け、カウ
ンタの指定に従いレジスタファイル中の1ワードをシフ
トパス中に組み込む手段を設けることにより、レジスタ
ファイルを1本のシフトパス上に存在するレジスタとし
て扱うことを可能とし、また、本発明に要する追加論理
回路は、本来レジスタファイルが有するワード選択機能
と共用可能であるため、ワード指定用のカウンタ及びワ
ード指定信号切り替え用のセレクタを追加すれば良く、
ハードウェア量は少量ですむ利点がある。As explained above, according to the first invention, by providing a counter for specifying a word in the register file and providing means for incorporating one word in the register file into a shift path according to the designation of the counter, the register file can be handled as a register existing on one shift path, and the additional logic circuit required by the present invention can be shared with the word selection function originally included in the register file, so the word selection counter and word All you have to do is add a selector to switch the specified signal,
It has the advantage of requiring only a small amount of hardware.
又、第2の発明によれば、ワード指示レジスタとシフト
パス切り替え指示レジスタにより構成される制御用シフ
トパスを設けることにより、レジスタファイル中の任意
のワードをシフトパスのみを用いてアクセスすることを
可能とする効果がある。Further, according to the second invention, by providing a control shift path composed of a word instruction register and a shift path switching instruction register, it is possible to access any word in the register file using only the shift path. effective.
第1図は第1の発明の一実施例のブロック図、第2図は
第1図の状態遷移図、第3図は第2の発明の回路図であ
る。
SCK・・・シフトクロック、SFM・・・シフトモー
ド信号、1・・・シフト入力端子、2,3,4.6゜7
.10・・・レジスタ、5・・・レジスタファイル、8
・・・シフト出力端子、11・・・カウンタ、20・・
・マスタラッチ、21・・・スレーブラッチ、22・・
・スレーブラッチライトパルス制御回路、23・・・ス
レーブラッチ選択信号デコード回路、24・・・レジス
タファイルセレクタ、30・・・ワード指示レジスタ、
31・・・シフトパス切り替え指示レジスタ、40・・
・主シフトパス切り替え指示レジスタ、41・・・副シ
フトパスシフトクロック制御回路。FIG. 1 is a block diagram of an embodiment of the first invention, FIG. 2 is a state transition diagram of FIG. 1, and FIG. 3 is a circuit diagram of the second invention. SCK...Shift clock, SFM...Shift mode signal, 1...Shift input terminal, 2, 3, 4.6°7
.. 10...Register, 5...Register file, 8
...Shift output terminal, 11...Counter, 20...
・Master latch, 21...Slave latch, 22...
- Slave latch write pulse control circuit, 23... Slave latch selection signal decoding circuit, 24... Register file selector, 30... Word instruction register,
31...Shift path switching instruction register, 40...
-Main shift path switching instruction register, 41...Sub shift path shift clock control circuit.
Claims (1)
ジスタファイルと、2m>nを満足するmビット幅のカ
ウンタと、このカウンタにより指示される前記レジスタ
ファイル中の1ワードを前記レジスタで構成されるシフ
トパスに組み込む手段と、非シフトモード時には、前記
カウンタをn−1にプリセットする手段と、シフトモー
ド時、シフトクロック毎に前記カウンタを−1する手段
と、前記シフトモード時でかつ、前記カウンタが0の場
合、次のシフトクロックにより前記カウンタをn−1に
プリセットする手段を含むことを特徴とする論理回路の
試験方式。 2、任意ビットのレジスタと、nビット×mワードの
レジスタファイルと、前記レジスタ及び前記レジスタフ
ァイルの特定の1ワードにより構成される主シフトパス
と、前記レジスタファイルのどのワードを前記主シフト
パス中に組み込むかを指定し2^K>mを満足するワー
ド指示レジスタと、このワード指示レジスタにより構成
される制御用シフトパスと、この制御用シフトパスのシ
フトアウト側に接続され前記主シフトパスと前記制御用
シフトパスとの切り替え制御に用いるシフトパス切り替
え指示レジスタとを有し、非シフトモード時には、前記
シフトパス切り替え指示レジスタ及び前記ワード指示レ
ジスタをリセットする手段と、シフトモード時には、シ
フト入力の先頭に論理1信号をシフト入力し、続いてk
ビットのワード指示情報をシフト入力することにより、
先頭のk+1ビットのシフト入力信号は前記制御用シフ
トパスにシフト入力され、先頭の論理1信号が前記シフ
トパス切り替えレジスタに到達した時点で、シフトパス
が前記レジスタファイル中の指定したワードを組み込ん
だ前記主シフトパスへと切り替わり、通常のシフト動作
を行うことを可能とする手段を含むことを特徴とした論
理回路の試験方式。[Claims] 1. A register of arbitrary bit length, a register file of n-word configuration, a counter of m-bit width satisfying 2m>n, and one word in the register file indicated by this counter. means for incorporating the counter into a shift path constituted by the register, means for presetting the counter to n-1 in the non-shift mode, means for decrementing the counter by 1 for each shift clock in the shift mode, and the shift mode 1. A test method for a logic circuit, comprising means for presetting the counter to n-1 by a next shift clock when the counter is 0 and the counter is 0. 2. A register of arbitrary bits, a register file of n bits x m words, a main shift path composed of the register and one specific word of the register file, and which word of the register file is incorporated into the main shift path. a word instruction register that specifies 2^K>m, a control shift path constituted by this word instruction register, and a control shift path connected to the shift-out side of this control shift path and connected to the main shift path and the control shift path. and a shift path switching instruction register used for switching control, and means for resetting the shift path switching instruction register and the word instruction register in the non-shift mode, and means for shifting a logic 1 signal to the beginning of the shift input in the shift mode. followed by k
By shifting in the bit word instruction information,
The first k+1 bit shift input signal is shifted into the control shift path, and when the first logical 1 signal reaches the shift path switching register, the shift path changes to the main shift path that incorporates the specified word in the register file. 1. A logic circuit testing method characterized by including means for switching to and performing a normal shift operation.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63279784A JPH02126338A (en) | 1988-11-04 | 1988-11-04 | Testing system for logical circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63279784A JPH02126338A (en) | 1988-11-04 | 1988-11-04 | Testing system for logical circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02126338A true JPH02126338A (en) | 1990-05-15 |
Family
ID=17615869
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63279784A Ceased JPH02126338A (en) | 1988-11-04 | 1988-11-04 | Testing system for logical circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02126338A (en) |
-
1988
- 1988-11-04 JP JP63279784A patent/JPH02126338A/en not_active Ceased
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR0123239B1 (en) | Fifo memory | |
| JPS6338725B2 (en) | ||
| KR940003081B1 (en) | Sequential logic circuit device | |
| US20040221078A1 (en) | Programmable state machine interface | |
| KR910001708B1 (en) | Central processing unit | |
| EP0661648A2 (en) | Digital signal processing circuit | |
| JPH0310129B2 (en) | ||
| CN117194281B (en) | Asymmetric access method for indefinite length data in ASIC | |
| JPH0222413B2 (en) | ||
| JP2655435B2 (en) | Test mode setting circuit | |
| JPS59218548A (en) | Logical circuit | |
| JPS59186016A (en) | Storage circuit | |
| SU1151961A1 (en) | Microprogram control device | |
| JPH05265701A (en) | FIFO memory | |
| JPS6113611B2 (en) | ||
| JPS6144342B2 (en) | ||
| JPH0450784A (en) | Semiconductor integrated circuit | |
| JPH01283635A (en) | Buffer control circuit | |
| JPS6118785B2 (en) | ||
| JPH04248609A (en) | Information processor, attachment connected to information processor and information processing system including information processor and attachment | |
| JPS6020706B2 (en) | Logic device diagnostic circuit | |
| JPH01185737A (en) | Shift path circuit for ram | |
| JPS60119699A (en) | Data processing unit | |
| JPS6045452B2 (en) | memory circuit | |
| JPS6055853B2 (en) | History memory circuit |