JPS6234079A - Test circuit - Google Patents
Test circuitInfo
- Publication number
- JPS6234079A JPS6234079A JP60173241A JP17324185A JPS6234079A JP S6234079 A JPS6234079 A JP S6234079A JP 60173241 A JP60173241 A JP 60173241A JP 17324185 A JP17324185 A JP 17324185A JP S6234079 A JPS6234079 A JP S6234079A
- Authority
- JP
- Japan
- Prior art keywords
- register
- time
- integrated control
- counter
- terminal
- 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
Landscapes
- Tests Of Electronic Circuits (AREA)
Abstract
Description
【発明の詳細な説明】
(発明の属する技術分野)
本発明は、チップ試験の容易化、並びに、高集積化制御
装置を用いたプログラムデバグの容易化を図るための支
援回路に関するものである。TECHNICAL FIELD The present invention relates to a support circuit for facilitating chip testing and program debugging using a highly integrated control device.
(従来の技wi)
従来、SSI、MSI等で構成された制御装置は制御装
置内のフリップフロップ、レジスタの内容が容易に観測
でき、各種試験、デバグが容易に行なわれた。(Conventional Technique) Conventionally, in a control device configured with SSI, MSI, etc., the contents of flip-flops and registers in the control device can be easily observed, and various tests and debugging can be easily performed.
集積技術の進歩により制御装置が1チツプ化されると、
チップレベルでのテストはLSI試験機により実施でき
問題はない。As the control device becomes a single chip due to advances in integrated technology,
Tests at the chip level can be performed using an LSI tester without any problems.
しかし、制御装置の各種デバグはLSI試験機のみでは
発見できず、オンラインプログラムを走行させて始めて
発見されるバグもある。However, various debugs in the control device cannot be discovered using an LSI tester alone; some bugs are discovered only after running an online program.
このような場合、装置化され、機能が複雑化した装置を
、LSI試験機を用いて制御装置内の内部状態を外部か
ら観測し、バグの原因究明をすることは不可能である。In such a case, it is impossible to use an LSI tester to observe the internal state of the control device from the outside and investigate the cause of the bug in the device, which has become a device and has complicated functions.
また、プログラムデバグのため、ある時点のレジスタの
内容を観測したい場合が起きるが、この場合JKI、コ
ンソールを配備すれば容易に解決する。Additionally, for program debugging, there may be cases where it is desired to observe the contents of a register at a certain point in time, but this can be easily resolved by deploying a JKI and a console.
しかし、完全なJKLコンソールを配備すると高価格と
なるため、5TART、5TOPの機能しかない場合も
ある。However, deploying a complete JKL console would be expensive, so it may only have 5TART and 5TOP functions.
(発明の目的)
本発明はこれらの問題点を解決するため、集積化制御装
置内の任意のレジスタ、フリップフロップの任意の時点
での状態をチップ外から観測可能としたものである。(Object of the Invention) In order to solve these problems, the present invention makes it possible to observe the state of any register or flip-flop in an integrated control device at any time from outside the chip.
以下図面について詳細に説明する。The drawings will be explained in detail below.
(発明の構成および作用の説明)
図は本発明の一実施例のブロック図であって、1〜4は
チップの端子で、1はアドレスバス端子、2はデータバ
ス端子、3はレジスタセット信号端子、4はチップを起
動するためのスタート信号端子であり、5,6は出力バ
ッファ、7〜9は入力バッファ、10はアドレスバスを
駆動する内容を保持しているメモリアドレスレジスタ、
11はデータバスから受信した内容を格納するメモリバ
ッファレジスタ、12は演算用のバス、13はALU
(ArithIletic Logic 1Jnit)
、14は演算の途中結果を格納するバッファレジスタ、
15は必要な制御信号を発生する制御系、 16.17
はフリップフロップ、18はフリップフロップからなり
タイミング信号を発生するコントロールトリー、19は
プロセッサからデータバスを駆動する場合のデータを格
納するバッファレジスタ、100はこれら回路を含む周
知のプロセッサ例である。(Description of structure and operation of the invention) The figure is a block diagram of an embodiment of the invention, in which 1 to 4 are chip terminals, 1 is an address bus terminal, 2 is a data bus terminal, and 3 is a register set signal. Terminal 4 is a start signal terminal for starting the chip, 5 and 6 are output buffers, 7 to 9 are input buffers, 10 is a memory address register that holds the contents to drive the address bus,
11 is a memory buffer register that stores the contents received from the data bus, 12 is a bus for calculation, and 13 is an ALU.
(ArithIletic Logic 1Jnit)
, 14 is a buffer register for storing intermediate results of calculations;
15 is a control system that generates necessary control signals, 16.17
1 is a flip-flop, 18 is a control tree composed of flip-flops and generates a timing signal, 19 is a buffer register that stores data when driving a data bus from the processor, and 100 is an example of a well-known processor including these circuits.
20〜25は論理積回路、26.27は論理和回路、2
8は観測すべき箇所と時間を格納する指定レジスタ、2
9は指定レジスタ28内の箇所のパートをデコードする
デコーダ、29−1〜29−nはデコーダ29の出力、
30はスタート信号端子4により起動するカウンタで経
過クロック数をカウントし、31はカウンタ30と指定
レジスタ28の時間のパートとを照合する照合回路、3
2は照合回路31の出力である。20 to 25 are AND circuits, 26.27 are OR circuits, 2
8 is a designated register that stores the location and time to be observed; 2
9 is a decoder that decodes the part in the specified register 28; 29-1 to 29-n are the outputs of the decoder 29;
30 is a counter activated by the start signal terminal 4 and counts the number of elapsed clocks; 31 is a collation circuit that collates the time part of the counter 30 and the designated register 28;
2 is the output of the matching circuit 31.
プロセッサ100内の動作は周知であり、説明を要しな
いが、簡単にいえばメモリアドレスレジスタ10の内容
でメモリをアクセスし、メモリバッファレジスタ11に
入ってきた命令を制御系15に印加し、制御系15がA
LU13等を制御して演算を行なう。The operation within the processor 100 is well known and does not require explanation, but to put it simply, the memory is accessed according to the contents of the memory address register 10, the command entered in the memory buffer register 11 is applied to the control system 15, and the control system 15 is executed. System 15 is A
It performs calculations by controlling the LU 13 and the like.
プロセッサ100内の状態を見たいときは、プロセッサ
100が停止しているとき外部より箇所と時間をデータ
バス端子2に印加し、レジスタセット信号をレジスタセ
ット端子3に印加する。これにより、箇所と時間は論理
積回路22を通して指定レジスタ28へ格納される。When it is desired to see the internal state of the processor 100, the location and time are applied from the outside to the data bus terminal 2 while the processor 100 is stopped, and a register set signal is applied to the register set terminal 3. As a result, the location and time are stored in the designated register 28 through the AND circuit 22.
次にプロセッサを起動するためスタート信号端子4にス
タート信号を印加すると、制御系15を起動すると共に
カウンタ30を起動する。Next, when a start signal is applied to the start signal terminal 4 to start the processor, the control system 15 is started and the counter 30 is also started.
照合回路31はカウンタ30と指定レジスタの時間のパ
ートを常時照合しており、一致が起きると照合回路の出
力32に論理LL 111を出力する。The matching circuit 31 constantly matches the time part of the counter 30 and the designated register, and when a match occurs, outputs a logic LL 111 to the output 32 of the matching circuit.
ここで照合回路31が照合を実行するか否かは、指定レ
ジスタ28の時間パートがII O11であれば照合し
ないとか、別の照合可否ビットを指定レジスタ28内1
こ付加し制御してもよい。Here, whether or not the collation circuit 31 executes the collation is determined by not collating if the time part of the designated register 28 is II O11, or by setting another collation enable/disable bit to 1 in the designated register 28.
This may be added and controlled.
照合回路の出力32が論理“1″になると、制御系15
に加えプロセッサ100を停止させると共に、デコーダ
29をイネーブルとし、指定レジスタ28の箇所のパー
トをデコードし、例えばデコーダ出力29−nを論理I
I I IIとする。When the output 32 of the verification circuit becomes logic "1", the control system 15
In addition to stopping the processor 100, the decoder 29 is enabled to decode the part in the specified register 28, and for example, the decoder output 29-n is converted into a logic I
I II II.
デコーダ出力29−nが論理it 1 rrとなると、
論理積回路25が動作しコントロールトリー18の内容
がバッファレジスタ33に格納され、続いて、照合回路
の出力32の信号により論理積回路21が動作してバッ
ファレジスタ33の内容がデータバス端子2へ出力され
る。When the decoder output 29-n becomes logic it 1 rr,
The AND circuit 25 operates and the contents of the control tree 18 are stored in the buffer register 33. Subsequently, the AND circuit 21 operates according to the signal from the output 32 of the collation circuit, and the contents of the buffer register 33 are transferred to the data bus terminal 2. Output.
以上のような構成となっているため、プロセッサ内の任
意の箇所の任意の時点の状態をチップ側から観測するこ
とが可能となる。With the above configuration, it is possible to observe the state of any location in the processor at any time from the chip side.
(効果の説明)
本発明は、以上説明したような構成となっているため、
端子を増加させずに、かつ、 LSI試験機を用いるこ
となくチップ内の状態を観測することができ、各種バグ
の解析が容易になると共に、大規模なJKLコンソール
を設けずにプログラムデバグが可能になる利点がある。(Description of Effects) Since the present invention has the configuration as described above,
It is possible to observe the state inside the chip without increasing the number of terminals or using an LSI tester, making it easier to analyze various bugs, and making it possible to debug programs without installing a large-scale JKL console. There are advantages to becoming
図は本発明の一実施例のブロック図である。
1 ・・・アドレスバス端子、
2 ・・・データバス端子、
3 ・・・ レジスタセット信号端子、4 ・・・スタ
ート信号端子、
5.6 ・・・出力バッファ、
7〜9 ・・・入カバソファ、
10・・・ メモリアドレスレジスタ、11・・・ メ
モリバッファレジスタ、12 ・・演算用のバス、1
3・・・ALU、14.19.33・・・バッファレジ
スタ、15・・・制御系、16.17・・・フリップフ
ロップ。
18 ・・ コントロールトリー、
20〜25・・・論理積回路、26.27・・・論理和
回路、28・・・指定レジスタ、29・・・デコーダ。
29−1〜29−n・・・デコーダの出力、30・・・
カウンタ、31・・・照合回路、32・・照合回路の出
力、100・・・プロセッサ。The figure is a block diagram of one embodiment of the present invention. 1...Address bus terminal, 2...Data bus terminal, 3...Register set signal terminal, 4...Start signal terminal, 5.6...Output buffer, 7-9...Input cover sofa , 10... Memory address register, 11... Memory buffer register, 12... Bus for calculation, 1
3...ALU, 14.19.33...Buffer register, 15...Control system, 16.17...Flip-flop. 18... Control tree, 20-25... AND circuit, 26.27... OR circuit, 28... Specification register, 29... Decoder. 29-1 to 29-n...Decoder output, 30...
Counter, 31... Verification circuit, 32... Output of the verification circuit, 100... Processor.
Claims (1)
装置において、 集積化制御装置内の任意のレジスタと、制御用フリップ
フロップの任意の時点の状態をチップ外から観測するた
め、観測する箇所ならびに時間を指定するレジスタを有
し、 そのレジスタはチップ外からバスを介して情報が設定で
き、 集積化制御装置を起動すると経過クロック数をカウント
するカウンタが動作し、前記レジスタ内の指定時間と照
合をとり、 照合がとれると集積化制御装置を停止させると共に、前
記レジスタ内の指定箇所の状態をバッファレジスタにと
り込み、 バッファレジスタの内容をデータバスを駆動しチップ外
に表示することを特徴とする試験回路。[Claims] In an integrated control device having buses such as a data bus and an address bus, for observing the states of any registers and control flip-flops in the integrated control device at any time from outside the chip. , it has a register that specifies the location and time to observe, and information can be set in that register from outside the chip via a bus.When the integrated control device is started, a counter that counts the number of elapsed clocks operates, and the information in the register is set. When a match is made, the integrated control device is stopped, the state of the specified location in the register is loaded into a buffer register, and the contents of the buffer register are displayed outside the chip by driving a data bus. A test circuit characterized by:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60173241A JPS6234079A (en) | 1985-08-08 | 1985-08-08 | Test circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60173241A JPS6234079A (en) | 1985-08-08 | 1985-08-08 | Test circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS6234079A true JPS6234079A (en) | 1987-02-14 |
Family
ID=15956772
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60173241A Pending JPS6234079A (en) | 1985-08-08 | 1985-08-08 | Test circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6234079A (en) |
-
1985
- 1985-08-08 JP JP60173241A patent/JPS6234079A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7689867B2 (en) | Multiprocessor breakpoint | |
| US6523136B1 (en) | Semiconductor integrated circuit device with processor | |
| US6094730A (en) | Hardware-assisted firmware tracing method and apparatus | |
| KR0168656B1 (en) | Data processing system | |
| US20040064757A1 (en) | Embedded symmetric multiprocessor system debug | |
| JPH07175780A (en) | Microprocessor | |
| JP2006514375A (en) | Diagnostic circuit for integrated circuits | |
| JPH11110255A (en) | Software debugging device and method | |
| JPS5999369A (en) | Test equipment for highly integrated microprogram controlled electronic modules | |
| JPS6360424B2 (en) | ||
| JPS6234079A (en) | Test circuit | |
| US20060179380A1 (en) | On-chip electronic hardware debug support units having execution halting capabilities | |
| KR20030055150A (en) | Microprocessor and processing method of microprocessor | |
| KR102821760B1 (en) | Read-only memory testing using built-in memory self-test controller | |
| JPH0581087A (en) | Processor monitoring system | |
| KR0150161B1 (en) | Device for displaying register and ram data | |
| JPH05224989A (en) | Microprocessor containing cache memory and its trace analyzer | |
| JPS60229141A (en) | Preserving system of register data | |
| JPH01121945A (en) | Single chip microcomputer | |
| JPH0322146A (en) | Microprogram control device | |
| JPH01253043A (en) | Input/output controller | |
| JPH0217555A (en) | Memory diagnosing system | |
| JPS6125255A (en) | Simple process tracer | |
| JPH0836505A (en) | Microcomputer development support system | |
| JPH0526967A (en) | Control device of ic tester |