JPS6113349A - Microprocessor analyzer - Google Patents

Microprocessor analyzer

Info

Publication number
JPS6113349A
JPS6113349A JP59134186A JP13418684A JPS6113349A JP S6113349 A JPS6113349 A JP S6113349A JP 59134186 A JP59134186 A JP 59134186A JP 13418684 A JP13418684 A JP 13418684A JP S6113349 A JPS6113349 A JP S6113349A
Authority
JP
Japan
Prior art keywords
active
microprocessor
target
output
gate
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
Application number
JP59134186A
Other languages
Japanese (ja)
Inventor
Takami Yoshida
貴美 吉田
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Hokushin Electric Corp
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 Yokogawa Hokushin Electric Corp filed Critical Yokogawa Hokushin Electric Corp
Priority to JP59134186A priority Critical patent/JPS6113349A/en
Publication of JPS6113349A publication Critical patent/JPS6113349A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent wrong recognization of the executed result of an 8087CPU when an active program is run, by storing active requests (NMI) arrived while a BUSY signal is ''H'' by means of the 8087CPU until the BUSY signal becomes ''L'' and giving the NMI to the 80186CPU after the BUSY signal becomes inactive. CONSTITUTION:An 80186 and 8087 CPUs on a target 10 can be removed from sockets 11 and 12 and connectors 21 and 22 at a POD side are respectively mounted on each socket. The connectors 21 and 22 are respectively connected with an 80186 and 8087 chips mounted on a POD20 through cables 23 and 24 and the target is actuated by means of the POD20 side 80186 and 8087 chips. An active request control circuit 27 has a function which temporarily stores an active request given from the main body side while the 8087CPU executes an instruction and gives the request to the 80186CPU at a permissible time.

Description

【発明の詳細な説明】 (発明の属する技術分野) 本発明は、マイクロプロセッサ・アナライザに関し、詳
しくは2つのマイクロプロセッサを対にして使用するマ
イクロプロセッサにおいて一方のマイクロプロセッサ(
コプロセ、す(co−p、rocea@Or )と呼ば
れる側)が動作中のと籾のアクティブ要求受け付は制御
に関するものでおる。
DETAILED DESCRIPTION OF THE INVENTION (Technical field to which the invention pertains) The present invention relates to a microprocessor analyzer, and more specifically, in a microprocessor that uses two microprocessors in pairs, one microprocessor (
The reception of active requests for rice while the co-processor (co-p, called rocea@Or) is in operation is related to control.

(従来技術) マイクロプロセッサ応用機器をインサーキット・エミ為
し−ジ冒ン技法によシテストするいわゆるマイクロプロ
゛セ、す・ナナライザはよく知られている。このような
マイクロプロセッサ・アナライザはプローブを介して対
象のマイクロプロセッサ応用機器(以下ターゲットとい
う)と接続される。
(Prior Art) So-called microprocessor analyzers, which test microprocessor-applied equipment using in-circuit emission techniques, are well known. Such a microprocessor analyzer is connected to a target microprocessor application device (hereinafter referred to as a target) via a probe.

このプルーブ(通常PODと呼ばれる)には、夕一ゲ、
トに組込まれたものと同種のマイクロプロセッサを搭載
し、テストの際にはターゲットよυマイクロプロセッサ
を取シ外しくソケットが使用され着脱自在Keうている
)、そこにPODからのコネクタを接続し、POD上の
マイクロプロセッサが代行してターゲットを作動するよ
うになっている。
This probe (usually called POD) includes Yuichige,
It is equipped with the same type of microprocessor as the one built into the target, and a removable socket is used to remove the microprocessor from the target during testing.The connector from the POD is connected to it. However, the microprocessor on the POD operates the target on its behalf.

ところで、ターゲットに組込まれるマイクロプロセッサ
としては目的に応じて各種のものがある。
By the way, there are various types of microprocessors that can be incorporated into the target depending on the purpose.

例えば、インテル社−の16ビツトマイクロプロセッサ
1APX 186もその一つである。このマイクロプロ
セッサは中央処理装置(以下CPUという)として80
186チツプとこれに共同して用いられる8087テ、
プゴとを対にして使用する場合がある。
For example, Intel's 16-bit microprocessor 1APX 186 is one of them. This microprocessor functions as a central processing unit (hereinafter referred to as CPU).
186 chip and 8087 chip used in conjunction with this,
It is sometimes used in combination with Pugo.

第2図はPOD上における80186チツプと8087
チ、プとの接続関係を示す図で、8087 CPU 2
2は80186CPU 21のQsl”、sO(キエー
・ステータス信号)をモニターしながら80186 C
PU  に追従して同様の命令ブリフェッチを行なって
いる。この場合において、8087 CPUはエスケー
プ(ESC)命令をデコードしたときのみそれを実行し
、他の命令コードに対しては読み流し何ら実行しないよ
うになっている。ここで、80186CPHのテスト端
子(五肝端子)に接続されている80B7 CPUのビ
ジー(BUSY )端子は、8087が命令の実行中に
限シマ’H”レベルとなシ、80186ヘモニタ一信号
を与える。
Figure 2 shows the 80186 chip and 8087 chip on the POD.
8087 CPU 2
2 is the 80186 CPU while monitoring the Qsl'' and sO (key status signal) of the 80186 CPU 21.
A similar instruction briefetch is performed following the PU. In this case, the 8087 CPU executes the escape (ESC) instruction only when it is decoded, and does not read or execute any other instruction codes. Here, the busy (BUSY) terminal of the 80B7 CPU, which is connected to the test terminal (five liver terminals) of the 80186CPH, is at the 'H' level only while the 8087 is executing an instruction, and gives a monitor signal to the 80186. .

この場合次のような問題がある。8087が命令実行中
すなわちBUSY信号が”H”のときにアクティブ・リ
クエスト(NMI )が入力されると、NMIが受け付
けられるために8087の命令が中断される。NMI受
け付は後、アクティブ・プログラムが走行することによ
!1180186  と8087のキエー拳バ、ファに
は絶えずアクティブ・プログラムがプリフェッチして取
シ込まれることになり、80186  がNMIから復
帰した時に8087内部にあったESC命令は残されて
おらず、8087は中断していたESC命令を忘れてし
まうことKなる。これはアクティブ復帰後に8087の
演算結果の誤認をまねくことになり、極めて具合が悪い
という問題があった。
In this case, there are the following problems. If an active request (NMI) is input while the 8087 is executing an instruction, that is, when the BUSY signal is "H", the instruction of the 8087 is interrupted because the NMI is accepted. After NMI reception, the active program will run! The active program is constantly prefetched and imported into the 1180186 and 8087, and when the 80186 returns from NMI, the ESC command that was inside the 8087 is not left behind, and the 8087 is It is possible to forget the ESC command that was interrupted. This leads to a misunderstanding of the calculation result of the 8087 after returning to the active state, resulting in an extremely inconvenient problem.

(発明の目的) 本発明の目的は、このような問題点を解決するためのも
ので、8087 CPUが命令実行中すなわちBUSY
信号が++H++レベルの間に到来したNMIリクエス
トをBUSYがIILII Kなるまで記憶しておき、
BUSYがインアクティブになった後80186 CP
U K NMIを与えるようにするアクティブ・リクエ
ストの制御を行なうようKしたiイクロプロセ、す・ア
ナライザを提供するととにある。
(Object of the Invention) The object of the present invention is to solve such problems, and to
NMI requests that arrive while the signal is at ++H++ level are stored until BUSY reaches IILIIK,
80186 CP after BUSY becomes inactive
The present invention provides an icroprocessor and analyzer designed to control active requests to provide UK NMI.

(発明の概要) このような目的を達成するために、本発明ではコプロセ
、すを要するマイクロプロセッサを応用したデータ、)
K対し、これと同種のマイクロブ四セ、すを搭載するP
ODを備えインサーキット・エミエレーシ曹ンによシタ
−ゲットの動作をテストするマイクロプロセッサ・アナ
ライザにおいて、アクティブ・リクエストが到来したと
きコプロセ、すが命令実行中でないと色は直接アクティ
ブ・リクエストが受け付けられ処理され、コプロセッサ
が命令実行中はそ1の実行が終了するまで記憶してお趣
実行が終了した時点でアクティブ・リクエストが受け付
けられ処理されるように制御するためのアクティブ・リ
クエスト制御回路を具備したことを特徴とする。
(Summary of the Invention) In order to achieve the above object, the present invention utilizes a coprocessor (data processing using a microprocessor).
In contrast to K, P, which is equipped with the same type of microbucks,
In a microprocessor analyzer that is equipped with an OD and tests the operation of a target using an in-circuit electronic system, when an active request arrives, the coprocessor performs a coprocessor, but if an instruction is not currently being executed, the active request is directly accepted. an active request control circuit for controlling the active request so that it is stored until the first execution is completed while the coprocessor is executing an instruction, and the active request is accepted and processed at the time when the execution of the first instruction is completed. It is characterized by the following:

(実施例) 以下図面を用いて本発明の詳細な説明する。第1図は本
発明の一実施例を示す構成図である。同図において、1
0はターゲット、20唸マイクロブpセツサ・アナライ
ザのPODである。
(Example) The present invention will be described in detail below using the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention. In the same figure, 1
0 is the target, the POD of the 20-microbe pset analyzer.

ターゲット10上の80186 CPUと8087 C
PUはソケッ) 11.12から取シ外され、各ソケッ
トにはPOD側のコネクタ21.22が装着される。コ
ネクタ21.22はケーブル23.24を介してPOD
 20の搭載の80186および8087と接続されて
おシ、とのPOD 20側のCPU 80186と80
87 Kよってターゲツトを作動させるようになってい
る。
80186 CPU and 8087 C on target 10
The PU is removed from the sockets) 11.12, and the POD side connectors 21.22 are attached to each socket. Connector 21.22 connects to POD via cable 23.24
The CPU 80186 and 80 on the POD 20 side are connected to the 80186 and 8087 installed in the POD 20.
87 K activates the target.

POD 20は、この80186  と8087 CP
!U を含む80186テツプ25と8087チツプ2
6、およびアクティブ・リクエスト制御回路27を備え
ている。POD 20はケーブル28を介して図示しな
いマイクロプロセッサ・アナライザ本体側に接続され、
信号及びデータの送受が可能に構成されている。POD
 20の80186 。
POD 20 uses this 80186 and 8087 CP
! 80186 chip 25 and 8087 chip 2 including U
6, and an active request control circuit 27. The POD 20 is connected to the main body of a microprocessor analyzer (not shown) via a cable 28.
It is configured to allow transmission and reception of signals and data. P.O.D.
80186 of 20.

8087は必要に応じて本体側からの命令に従って対応
するプログラムを実′行する。
The 8087 executes the corresponding program according to instructions from the main body as necessary.

アクティブ・リクエスト制御回路27け8087が命令
実行中に本体側から与えられるアクティブ・リクエスト
を一時記憶した後許される時点で80186に与える機
能を有するものである。
The active request control circuit 27 8087 has a function of temporarily storing an active request given from the main body side during instruction execution and then giving it to the 80186 at a permitted time.

第3図はこのアクティブ・リクエスト制御回路27の詳
細を示す構成図である。同図において、31〜34はJ
−にフリップ7o、プ(以下FFと略称する)で、各F
FのJ、 K入力端は前段のFFのQ、 74出力端に
接続され、FF31のJ、 K入力端は共にコモンライ
ンに接続されている。またFF31.33 、34のク
ロック端子CPにはバスサイクルの第5クロ、クサイク
ル信号ζが与えられ、FF32 のクロック端子cpに
はインバータ35を介して画信号が与えられている。
FIG. 3 is a block diagram showing details of this active request control circuit 27. In the same figure, 31 to 34 are J
-, flip 7o, flip (hereinafter abbreviated as FF), each F
The J and K input terminals of F are connected to the Q and 74 output terminals of the preceding FF, and the J and K input terminals of FF31 are both connected to the common line. Further, the clock terminals CP of the FFs 31, 33 and 34 are supplied with the fifth clock cycle signal ζ of the bus cycle, and the clock terminal CP of the FF 32 is supplied with an image signal via an inverter 35.

更に、FF31のプリセット端子Pにはゲート36の出
力が与えられ為py32,33.34のP端子は+5V
Kプルアツプされている。他方FF 31 、32のク
リア端子CKはゲート41の出力が与えられ、FF33
,34のC端子にはクロック同期化信号R8TBが与え
られる。この画信号は80186 CPUのリセット入
力のクロック同期化信号である。
Furthermore, since the output of the gate 36 is given to the preset terminal P of FF31, the P terminals of py32, 33.34 are +5V.
K is pulled up. On the other hand, the clear terminal CK of FF 31 and 32 is given the output of the gate 41,
, 34 are supplied with a clock synchronization signal R8TB. This image signal is a clock synchronization signal for the reset input of the 80186 CPU.

ゲート41には蔀預信号とゲー)40の出力信号が入力
され、ゲート4oにはFF 34 のQ出力とインバー
タ39を介し九FF 32のQ出力とが加えられる。
The gate signal and the output signal of the gate 40 are input to the gate 41, and the Q output of the FF 34 and the Q output of the nine FF 32 are applied to the gate 4o via the inverter 39.

ゲート38はFF 32の回出力とゲート37の出力と
を受け、その出力はアクティブ・リクエスト信号ACT
VREQ lとして80186 CPUに与えられる。
Gate 38 receives the output of FF 32 and the output of gate 37, and its output is an active request signal ACT.
It is given to the 80186 CPU as VREQ l.

ゲート37には本体側から与えられるアクティブ・リク
エストACTVREQとインバータ35を介した画信号
とが加えられる。また、ゲート36にはACTVREQ
とBUSYとが導かれている。
An active request ACTVREQ applied from the main body side and an image signal via an inverter 35 are applied to the gate 37. Also, the gate 36 has ACTVREQ
and BUSY are being guided.

このよう々構成における動作を第4図のタイムチャート
を参照して次に説明する。FF 3:3.34  がま
ずR8TBによってクリアされ、FF31.32.33
のQ出力は第4図の(へ)、())、(イ)のように°
ILI+ レベル、FF 34のす出力は同図(す)は
°°■°゛レベルとなっている。BUSYが”L” (
BUSYが”H’“)レベルのと色2m頭信号は入力オ
アゲート36を通らずゲート37、38を通ってACT
VREQ ’信号として直接出力される。
The operation in this configuration will now be described with reference to the time chart of FIG. FF 3:3.34 is first cleared by R8TB, then FF31.32.33
The Q output of
The ILI+ level and the output of the FF 34 are at the °°■° level in the figure. BUSY is “L” (
The 2m head signal with BUSY at "H'" level does not pass through the input OR gate 36, but passes through gates 37 and 38 and is ACT.
It is output directly as the VREQ' signal.

次に、BUSYがIIHI+ (四ごがI+LI+ )
レベルのときは、ゲート37はインバータ35の出力+
+H++で禁止され、他方ゲート36が開放され、その
出力により FF31をプリセットするためFF31の
Q出力は第4図の(へ)のように゛°H°°レベルにな
る。この回出力はBUSYの立ち上がシでFF32にう
、テされ、FF 32のQ出力は同図(ト)のようにI
IH1+レベルになる。
Next, BUSY is IIHI+ (Yogoga I+LI+)
At the level, the gate 37 outputs the output of the inverter 35 +
+H++, the other gate 36 is opened, and the output presets the FF 31, so the Q output of the FF 31 goes to the ゛°H°° level as shown in Fig. 4(b). This output is sent to FF32 at the rising edge of BUSY, and the Q output of FF32 is input as shown in the same figure (G).
It becomes IH1+ level.

ここで、pF32 の出力はゲート41の出力(同図の
(ロ))がIILI+レベルになるまで保持される。F
F32のQ出力が°’H’ルベルになったとき、ゲート
4oけ一方の入力(ゲート39の出力)がIIL++レ
ベルになるため、開放状態となる。また、この時FF 
32の鯖の立ち下がシにてFF 33によ!7 FF 
34のJ、に入力がセットされ、次の可でFF 34 
のす出力が同図(す)のようにIILI+となり、−ゲ
ート41の出力(同図体))を°“L” シテFF31
 、32をクリアする。このときFF32の回出カが+
+H・ルベルと表シ、ゲート38の出力であるACTV
REQI (同図(ロ))はインアクティブとなる。 
′ このように、BUSYがIILI+のときは2m頭  
は直接80186 CPUK 送られ、BUSY カ+
+H+t  oときは双〒m順がラッチされ、BUOY
がインアクティブになった後はじめて80186 CP
Uに与えられる。
Here, the output of pF32 is held until the output of gate 41 ((b) in the figure) reaches the IILI+ level. F
When the Q output of F32 reaches the °'H' level, one input of gate 4o (output of gate 39) goes to IIL++ level, so it becomes open. Also, at this time FF
32's mackerel's fall is in FF 33! 7FF
The input is set to J of 34, and FF is set at the next enable.
The output of the gate 41 becomes IILI+ as shown in the same figure, and the output of the - gate 41 (the same figure) becomes °“L”.
, clear 32. At this time, the output power of FF32 is +
ACTV, which is the output of gate 38,
REQI ((b) in the same figure) becomes inactive.
' In this way, when BUSY is IILI+, 2m head
is sent directly to 80186 CPUK and BUSY
+H+t When o, double 〒m order is latched and BUOY
80186 CP only after becomes inactive
given to U.

(発明の効果) 以上説明したように、本発明によれば、pOD内で80
186 、8087間のNMI制御を行なうことができ
、アクティブ・プログラム走行による8087実行結果
の誤認を簡単に防止することができるという効果がある
(Effects of the Invention) As explained above, according to the present invention, the pOD is 80
NMI control between 186 and 8087 can be performed, and there is an effect that erroneous recognition of the 8087 execution result due to active program running can be easily prevented.

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

第1図は本発明に係る育イクロプロセッサ・アナライザ
の一実施例を示す要部構成図、第2図は80186テツ
プと8087チツプの接続状態を示す略示的構成図、第
5図はアクティブ・リクエスト制御回路の実施例図、第
4図は動作説明のためのタイムチャートである。 10・・・デーゲ、)、20・・・pOD、25・・・
80186 テップ、26・・・8087テツプ、27
・・・アクティブ・リクエスト制御回路、FF31 〜
34・・・フリップ・70レプ、35.39・・・イン
バータ、36.37 、38.40.41・・・ゲート
FIG. 1 is a block diagram showing the main parts of an embodiment of the microprocessor analyzer according to the present invention, FIG. 2 is a schematic block diagram showing the connection state of an 80186 chip and an 8087 chip, and FIG. FIG. 4, which is an embodiment diagram of the request control circuit, is a time chart for explaining the operation. 10... Dege, ), 20... pOD, 25...
80186 step, 26...8087 step, 27
...Active request control circuit, FF31 ~
34...Flip 70 reps, 35.39...Inverter, 36.37, 38.40.41...Gate.

Claims (1)

【特許請求の範囲】[Claims] コプロセッサを要するマイクロプロセッサを応用したタ
ーゲットに対し、これと同種のマイクロプロセッサを搭
載するPODを備えインサーキット・エミュレーション
によりターゲットの動作をテストするマイクロプロセッ
サ・アナライザにおいて、アクティブ・リクエストが到
来したときコプロセッサが命令実行中でないときは直接
アクティブ・リクエストが受け付けられ処理され、コプ
ロセッサが命令実行中はその実行が終了するまで記憶し
ておき実行が終了した時点でアクティブ・リクエストが
受け付けられ処理されるように制御するためのアクティ
ブ・リクエスト制御回路を具備したことを特徴とするマ
イクロプロセッサ・アナライザ。
For a target that uses a microprocessor that requires a coprocessor, a microprocessor analyzer that is equipped with a POD equipped with the same type of microprocessor and tests the operation of the target by in-circuit emulation, when an active request arrives, When the processor is not executing an instruction, active requests are directly accepted and processed; when the coprocessor is executing an instruction, the active requests are stored until the execution is completed, and when execution is finished, active requests are accepted and processed. A microprocessor analyzer characterized by comprising an active request control circuit for controlling the microprocessor analyzer.
JP59134186A 1984-06-29 1984-06-29 Microprocessor analyzer Pending JPS6113349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59134186A JPS6113349A (en) 1984-06-29 1984-06-29 Microprocessor analyzer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59134186A JPS6113349A (en) 1984-06-29 1984-06-29 Microprocessor analyzer

Publications (1)

Publication Number Publication Date
JPS6113349A true JPS6113349A (en) 1986-01-21

Family

ID=15122446

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59134186A Pending JPS6113349A (en) 1984-06-29 1984-06-29 Microprocessor analyzer

Country Status (1)

Country Link
JP (1) JPS6113349A (en)

Similar Documents

Publication Publication Date Title
EP0510241A2 (en) Upgradeable/downgradeable computer
US5551012A (en) Single socket upgradeable computer motherboard with automatic detection and socket reconfiguration for inserted CPU chip
US20030192034A1 (en) Trace device preventing loss of trace information which will be important in debugging
US20030120970A1 (en) Method and apparatus for debugging an electronic product using an internal I/O port
JPS6113349A (en) Microprocessor analyzer
JPS6310456B2 (en)
JP2935710B2 (en) Test equipment for processor integrated circuit devices
EP0989495B1 (en) Electronic circuit for protecting data contained in a semiconductor device
JP2558902B2 (en) Semiconductor integrated circuit device
JPS61221837A (en) Computer checking method
EP0694841B1 (en) Interrupt processing apparatus
KR860001785B1 (en) System program protection circuit of z80 cpu
JPH10187480A (en) Emulator
JP2926941B2 (en) Instruction decoding device
JPS61145617A (en) Power supply disconnection circuit
JPH0594328A (en) Debugger and emulator
JPS60122432A (en) Interruption function diagnostic system in computer system
JPS63106840A (en) Data processor unit
JPS58189746A (en) Processor
JPH0529936B2 (en)
JPH0863368A (en) Emulator and microcomputer
JPS648381B2 (en)
JPH09185521A (en) Incircuit emulator device provided on pci bus line
JPS62102338A (en) Emulator
JPH086920A (en) Information processor