JP2001084142A - Microprocessor - Google Patents

Microprocessor

Info

Publication number
JP2001084142A
JP2001084142A JP25625499A JP25625499A JP2001084142A JP 2001084142 A JP2001084142 A JP 2001084142A JP 25625499 A JP25625499 A JP 25625499A JP 25625499 A JP25625499 A JP 25625499A JP 2001084142 A JP2001084142 A JP 2001084142A
Authority
JP
Japan
Prior art keywords
bus
instruction
stage
signal
microprocessor
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
JP25625499A
Other languages
Japanese (ja)
Inventor
Naohiro Adachi
直大 足立
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP25625499A priority Critical patent/JP2001084142A/en
Publication of JP2001084142A publication Critical patent/JP2001084142A/en
Pending legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)
  • Executing Machine-Instructions (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To attain a debug work in a real time by performing access from a bus master other than a microprocessor to a bus exclusive for data access without temporarily stopping the microprocessor. SOLUTION: This microprocessor is provided with a Harvard bus architecture and a bus line mechanism, and it is judged that an instruction in a pipe line stage in which data access is performed and a preceding pipe line stage is not any instruction for preventing data access by a pipe line controller 2, and it is predicted that a bus 5 is not used for the following instructions, and the bus 5 is related during that period.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、データ転送用のロ
ード(Load)命令又はストア(Store )命令のみでデー
タアクセス専用のバスをアクセスするマイクロプロセッ
サ(MPU )に関し、特にデバッグ支援装置に使用される
マイクロプロセッサに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microprocessor (MPU) for accessing a bus dedicated to data access only by a load instruction or a store instruction for data transfer, and is particularly used for a debug support device. Microprocessor.

【0002】[0002]

【従来の技術】従来、この種のMPUとしては、例えば
図3に示すように、ハーバードアーキテクチャを採用し
ているものが知られている。図3において、MPU10
1は、データアクセス専用のバス102を介してデータ
転送用のロード(Load)命令又はストア(Store )命令
のみでデータメモリ103をアクセスし、命令フェッチ
専用のバス104を介して命令メモリ105をアクセス
する。さらに、MPU101は、命令フェッチ(F)ス
テージ、デコード(D)ステージ、実行(E)ステー
ジ、メモリアクセス(M)ステージ及びライトバック
(W)ステージの5段のパイプライン構造を採用してお
り、上記データアクセス専用のバス102へのアクセス
はMステージで行なわれる。
2. Description of the Related Art Conventionally, as this type of MPU, for example, one employing a Harvard architecture as shown in FIG. 3 is known. In FIG. 3, the MPU 10
1 accesses the data memory 103 only through a data transfer load (Load) instruction or a store (Store) instruction via a data access dedicated bus 102, and accesses an instruction memory 105 via an instruction fetch dedicated bus 104. I do. Further, the MPU 101 adopts a five-stage pipeline structure of an instruction fetch (F) stage, a decode (D) stage, an execution (E) stage, a memory access (M) stage, and a write back (W) stage. Access to the data access bus 102 is performed at the M stage.

【0003】このようなシステムにおいて、MPU10
1以外でデータアクセス専用のバス102の使用権をと
り得るDMAC(ダイレクト・メモリ・アクセス・コン
トローラ)、DSU(デバッグ・サポート・ユニット)
等のバスマスタがデータアクセス専用のバス102の使
用権を獲得する場合には、バスマスタからMPU101
に対してバスリクエストが出され、これがMPU101
によって許可されるとバス102が解放されてバスマス
タがバス102の使用権を獲得し、解放されたバス10
2をバスマスタが使用していた。このようにバス102
の使用権がMPU101以外に解放されている状態で
は、MPU101の動作が一時停止(ストール)されて
いた。このため、このMPU101をデバッグ支援装置
で使用する場合に、デバッグ作業中にバス102が解放
された状態ではMPU101の動作が停止していたの
で、デバッグのリアルタイム性が損なわれていた。
In such a system, the MPU 10
DMAC (direct memory access controller), DSU (debug support unit) that can take the right to use the bus 102 exclusively for data access other than 1
When the bus master such as obtains the right to use the bus 102 dedicated to data access, the MPU 101
A bus request is issued to the MPU 101
Bus 102 is released, the bus master acquires the right to use the bus 102, and the released bus 10
2 was used by the bus master. Thus, the bus 102
The operation of the MPU 101 has been temporarily stopped (stalled) in a state where the use right of the MPU 101 has been released to other than the MPU 101. For this reason, when the MPU 101 is used in the debug support device, the operation of the MPU 101 is stopped in a state where the bus 102 is released during the debugging work, so that the real-time debugging is impaired.

【0004】[0004]

【発明が解決しようとする課題】以上説明したように、
ハーバードアーキテクチャを採用している従来のマイク
ロプロセッサにおいて、データアクセス専用のバスの使
用権がMPU以外の他のバスマスタに解放されている状
態にあっては、MPUは一時停止状態にあった。このた
め、このMPUを使って半導体装置をデバッグするよう
な場合に、デバッグ作業中にデータアクセス専用のバス
が解放された時にMPUが一時停止するため、デバッグ
のリアルタイム性が損なわれるといった不具合を招いて
いた。
As described above,
In a conventional microprocessor employing the Harvard architecture, the MPU is in a suspended state when the right to use a bus dedicated to data access is released to another bus master other than the MPU. For this reason, when a semiconductor device is debugged using this MPU, the MPU is temporarily stopped when a bus dedicated to data access is released during a debugging operation, which causes a problem that real-time debugging is impaired. I was

【0005】そこで、この発明は、上記に鑑みてなされ
たものであり、その目的とするところは、マイクロプロ
セッサを一時停止させることなくマイクロプロセッサ以
外のバスマスタからデータアクセス専用のバスをアクセ
ス可能とし、リアルタイムでデバッグ作業が可能なマイ
クロプロセッサを提供することにある。
The present invention has been made in view of the above, and an object of the present invention is to allow a bus master other than a microprocessor to access a dedicated bus for data access without suspending the microprocessor. It is an object of the present invention to provide a microprocessor capable of real-time debugging.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、課題を解決する第1の手段は、データアクセスを行
うメモリアクセスステージを含む複数段のパイプライン
ステージからなるパイプライン機構を備え、データアク
セス専用のバスを介してデータメモリとの間でアクセス
を行い、このアクセスは前記メモリアクセスステージで
のみ行われ、かつデータ転送命令以外の命令では行われ
ないアーキテクチャーを採用したマイクロプロセッサに
おいて、デコードした命令の中から前記データ転送命令
を判別し、判別信号を生成する命令デコーダと、前記命
令デコーダで生成された判別信号を受けて、前記データ
転送命令をデコードしたステージからデータアクセスが
行われるメモリアクセスステージまでの間判別信号を保
持し、保持している間のそれぞれのステージに対応して
判別信号を出力するパイプラインコントローラと、前記
パイプラインコントローラから出力される判別信号を受
けて、判別信号が検出されないステージからメモリアク
セスステージの前段のステージに対応して出力された判
別信号が検出されるまでの間前記バスの切り替え信号を
出力するバス切り替え制御回路と、前記バス切り替え制
御回路から出力された切り替え信号を受けて、この切り
替え信号が出力されている間、前記バスの使用権を解放
するバス切り替え回路とを有することを特徴とする。
In order to achieve the above object, a first means for solving the problem is to provide a pipeline mechanism including a plurality of pipeline stages including a memory access stage for performing data access, In a microprocessor employing an architecture in which an access is made to a data memory via a bus dedicated to data access, and this access is performed only in the memory access stage and is not performed by an instruction other than a data transfer instruction, An instruction decoder that determines the data transfer instruction from the decoded instructions and generates a determination signal, and receives a determination signal generated by the instruction decoder, and performs data access from a stage where the data transfer instruction is decoded. Holds the judgment signal until the memory access stage and holds A pipeline controller that outputs a determination signal corresponding to each of the stages, and receives a determination signal output from the pipeline controller, and corresponds to a stage preceding the memory access stage from a stage where no determination signal is detected. A bus switching control circuit for outputting the bus switching signal until the discrimination signal output from the bus switching control circuit is detected, and receiving the switching signal output from the bus switching control circuit, the switching signal is output. And a bus switching circuit for releasing the right to use the bus.

【0007】第2の手段は、前記第1の手段において、
前記バスの切り替え信号は、ステージに対応して出力さ
れるそれぞれの判別信号が前記データ転送命令でないこ
とを検出してからメモりアクセスステージの前段のステ
ージに対応して出力された判別信号が前記データ転送命
令であることを検出するまでの間、前記バス切り替え回
路に出力されることを特徴とする。
[0007] The second means is the first means,
The bus switching signal, the discrimination signal output corresponding to the stage preceding the memory access stage after detecting that each discrimination signal output corresponding to the stage is not the data transfer instruction, the The signal is output to the bus switching circuit until a data transfer instruction is detected.

【0008】第3の手段は、前記第2の手段において、
前記バス切り替え回路は、前記バス切り替え制御回路か
ら出力された切り替え信号を受けて、この信号が出力さ
れている間、前記バスの使用権を解放することを特徴と
する。
[0008] The third means is the second means,
The bus switching circuit receives a switching signal output from the bus switching control circuit, and releases the right to use the bus while the signal is being output.

【0009】[0009]

【発明の実施の形態】以下、図面を用いてこの発明の実
施形態を説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0010】図1はこの発明の一実施形態に係るマイク
ロプロセッサの構成を示す図であり、図2は図1に示す
マイクロプロセッサの動作タイミングを示す図である。
図1ににおいて、この実施形態のマイクロプロセッサ
は、前記したハーバードアーキテクチャを採用してお
り、前述したように5段のパイプラインステージにより
命令を処理し、命令デコーダ1、パイプラインコントロ
ーラ2、バス切り替え制御回路3ならびにバス切り替え
回路4を備えて構成される。
FIG. 1 is a diagram showing a configuration of a microprocessor according to an embodiment of the present invention, and FIG. 2 is a diagram showing operation timings of the microprocessor shown in FIG.
In FIG. 1, the microprocessor of this embodiment employs the Harvard architecture described above, processes instructions by five pipeline stages as described above, and stores an instruction decoder 1, a pipeline controller 2, a bus switch. It comprises a control circuit 3 and a bus switching circuit 4.

【0011】命令デコーダ1は、Dステージにおいて、
パイプラインコントローラ2から与えられる命令コード
を受けて、命令をデコードしデコード結果からその命令
がload命令又はstore命令(データ転送命令)であるこ
と判別し、load/store 命令判別信号を生成してパイプ
ラインコントローラ2に与える。
In the D stage, the instruction decoder 1
In response to the instruction code given from the pipeline controller 2, the instruction is decoded, and it is determined from the decoding result that the instruction is a load instruction or a store instruction (data transfer instruction), and a load / store instruction determination signal is generated to generate a load / store instruction determination signal. This is given to the line controller 2.

【0012】パイプラインコントローラ2は命令処理に
おけるパイプラインの動作を制御するものであり、命令
デコーダ1から与えられたload/store命令判別信号をD
ステージ(信号A)、Eステージ(信号B)、Mステー
ジ(信号C)の各パイプラインステージに対応して保持
する。保持したload/store命令判別信号(信号A、信号
B、信号C)は、バス切り替え制御回路3に与える。
The pipeline controller 2 controls the operation of the pipeline in the instruction processing, and outputs a load / store instruction discrimination signal supplied from the instruction decoder 1 to a D / D.
It is held corresponding to each pipeline stage of the stage (signal A), the E stage (signal B), and the M stage (signal C). The held load / store instruction determination signals (signal A, signal B, and signal C) are given to the bus switching control circuit 3.

【0013】バス切り替え制御回路3は、パイプライン
コントローラ2から与えられるD/E/M各パイプライ
ンステージのload/store命令判別信号を受けて、これら
の信号A、信号B、信号Cからバス切り替え信号(信号
D)を生成する回路である。バス切り替え信号(信号
D)は、Dステージ、Eステージ、Mステージのそれぞ
れの、load/store 命令判別信号(信号A、信号B、信
号C)が、load命令又はstore 命令でないこと(例えば
ローレベル)を検出し、例えばハイレベルのバス切り替
え信号を出力する。検出後、MPU(図示せず)は2ク
ロックの期間バス5を確実に使用しない。一方、MPU
にバス5の使用権を戻す場合には、Mステージ前段のE
ステージにload命令又はstore 命令がある時、すなわち
Eステージでload/store 命令判別信号(信号B)がハ
イレベルであることを検出し、Eステージにある命令が
load/store命令であれば、次段のMステージにload/sto
re命令がある時から、データアクセスのためバス5をM
PUが使用するので、バス5をMPUに戻さなければな
らない。
The bus switching control circuit 3 receives a load / store instruction discrimination signal for each of the D / E / M pipeline stages given from the pipeline controller 2 and switches the buses from these signals A, B and C. This is a circuit that generates a signal (signal D). The bus switching signal (signal D) is such that the load / store instruction determination signals (signal A, signal B, signal C) of each of the D stage, E stage, and M stage are not load instructions or store instructions (for example, low level). ), And outputs a high-level bus switching signal, for example. After detection, the MPU (not shown) does not use the bus 5 for a period of two clocks. On the other hand, MPU
To return the right to use the bus 5 to E,
When there is a load instruction or a store instruction in the stage, that is, in the E stage, it is detected that the load / store instruction discrimination signal (signal B) is at a high level.
If it is a load / store instruction, load / storage to the next M stage
Since there is a re instruction, the bus 5 is set to M for data access.
The bus 5 must be returned to the MPU because it is used by the PU.

【0014】バス切り替え制御回路3は、このような制
御を行うために、例えば図1に示すように、信号A、信
号B、信号Cの反転信号を入力とするANDゲート31
と、ANDゲート31の出力をセット(S)入力とし、
信号Bをリセット(R)入力とするRSフリップフロッ
プ32と、RSフリップフロップ32の出力(Q)を入
力(D)とし出力(Q)をバス切り替え信号とするDフ
リップフロップ33を備えて構成されている。
The bus switching control circuit 3 performs such control by, for example, as shown in FIG. 1, an AND gate 31 which receives inverted signals of signals A, B and C as inputs.
And the output of the AND gate 31 as a set (S) input,
An RS flip-flop 32 having a signal B as a reset (R) input, and a D flip-flop 33 having an output (Q) of the RS flip-flop 32 as an input (D) and an output (Q) as a bus switching signal are provided. ing.

【0015】バス切り替え回路4は、バス切り替え制御
回路3から与えられるバス切り替え信号(信号D)にし
たがって、データアクセス専用のバス5をMPU又はD
MACやDSU等の外部バスマスタ6に選択的に切り替
え、バス切り替え制御回路3からハイレベルのバス制御
切り替え信号が与えられると、バス5と外部バスマスタ
6を接続する。
The bus switching circuit 4 connects the bus 5 dedicated to data access to the MPU or the DPU in accordance with a bus switching signal (signal D) given from the bus switching control circuit 3.
When a high-level bus control switching signal is given from the bus switching control circuit 3, the bus 5 and the external bus master 6 are connected.

【0016】このような構成において、図2の動作タイ
ミングチャートに示すように、例えば命令5(load命令
又はstore命令)から命令4(load命令又はstore命令以
外の命令)、命令3(load命令又はstore 命令以外の命
令)、命令2(load命令又store命令以外の命令)、命
令1(load命令又はstore命令)の順序でパイプライン
処理が行われる場合に、命令5がデコードされてload命
令又はstore 命令であることが判別されると、判別信号
はDステージならびにEステージ、Mステージに対応し
てパイプラインコントローラ2で信号A、信号B、信号
Cとして保持される。命令5によるバス5のアクセスが
終了し、バス切り替え制御回路3がクロック(信号X)
の立ち下がりエッジで、D、E、Mの各ステージそれぞ
れの判別信号(信号A、信号B、信号C)がload命令又
はstore 命令でないこと(ローレベル)を検出する。検
出後は、MPUはバス5を2クロックの期間使用しない
ので、ハイレベルのバス切り替え信号(信号D)がバス
切り替え制御回路3からバス切り替え回路4に出力され
てバス5が切り替えられ、バス切り替え回路4を介して
外部バスマスタ6とバス5が接続され、この期間外部バ
スマスタ6にバス5の使用権が解放される。
In such a configuration, as shown in the operation timing chart of FIG. 2, for example, instruction 5 (load instruction or store instruction) to instruction 4 (instruction other than load instruction or store instruction), instruction 3 (load instruction or store instruction). When the pipeline processing is performed in the order of the instruction other than the store instruction, the instruction 2 (the instruction other than the load instruction or the store instruction), and the instruction 1 (the load instruction or the store instruction), the instruction 5 is decoded and the load instruction or the instruction is decoded. When it is determined that the instruction is a store instruction, the determination signal is held as a signal A, a signal B, and a signal C by the pipeline controller 2 corresponding to the D stage, the E stage, and the M stage. The access to the bus 5 by the instruction 5 is completed, and the bus switching control circuit 3
, It is detected that the discrimination signal (signal A, signal B, signal C) of each of the D, E, M stages is not a load instruction or a store instruction (low level). After the detection, the MPU does not use the bus 5 for a period of two clocks. Therefore, a high-level bus switching signal (signal D) is output from the bus switching control circuit 3 to the bus switching circuit 4, and the bus 5 is switched. The external bus master 6 and the bus 5 are connected via the circuit 4, and the right to use the bus 5 is released to the external bus master 6 during this period.

【0017】このような状態の後、命令1に対応した判
別信号がEステージにくると、次のMステージにおいて
MPUが命令1を実行するためにバス5を使用するの
で、バス5の使用権がMPUに戻される。すなわち、M
ステージ前段のEステージで判別信号(信号B)がハイ
レベルになった時がクロック(信号X)の立ち下がりで
検出され、これによりバス切り替え信号(信号D)がロ
ウレベルとなり、バス5が切り替えられてバス切り替え
回路4を介してバス5とMPUが接続される。
After such a state, when the discrimination signal corresponding to the instruction 1 comes to the E stage, the MPU uses the bus 5 to execute the instruction 1 in the next M stage. Is returned to the MPU. That is, M
When the discrimination signal (signal B) goes high in the E stage preceding the stage, it is detected at the falling edge of the clock (signal X), whereby the bus switching signal (signal D) goes low and the bus 5 is switched. The bus 5 and the MPU are connected via the bus switching circuit 4.

【0018】このように、上記実施形態においては、D
ステージでLoad命令又はstore 命令を判別後、パイプラ
インにこの情報を一緒に流すことによって、Dステー
ジ、Eステージにload命令又はstore命令がないことを
判別して後続2命令がload命令、store 命令でないこと
を予測し、現在のMステージの命令とこれらMステージ
前2段の2命令の計3命令でデータアクセス専用のバス
5へのMPUのアクセスが行われないことを利用し、デ
ータアクセス専用のバス5を外部バスマスタ6に解放
し、解放されたバス5は少なくとも1バスサイクルの空
きがあるため、この空きサイクルでMPU以外の外部バ
スマスタ6がMPUを一時停止させることなく、バス5
を利用してメモリのリード/ライトを行うことができる
ようになる。したがって、このMPUを使用してデバッ
グ作業を行ってもリアルタイムでデバッグ作業を行うこ
とができる。
As described above, in the above embodiment, D
After discriminating the Load instruction or the store instruction in the stage, by flowing this information together in the pipeline, it is determined that there is no load instruction or the store instruction in the D stage and the E stage, and the subsequent two instructions are the load instruction and the store instruction. It is expected that the MPU will not access the bus 5 exclusively for data access by the current M-stage instruction and the two instructions before the M-stage, that is, two instructions. Bus 5 is released to the external bus master 6, and since the released bus 5 has at least one bus cycle, the external bus master 6 other than the MPU does not temporarily stop the MPU in this empty cycle.
Can be used to read / write the memory. Therefore, even when a debugging operation is performed using this MPU, the debugging operation can be performed in real time.

【0019】[0019]

【発明の効果】以上説明したように、この発明によれ
ば、Load命令又はStore 命令をデータアクセス前のパイ
プラインステージにおいて予測することによって、MP
Uがデータアクセス専用のバスを占有しないタイミング
を検出することが可能となる。したがって、MPUを一
時停止させることなくデータアクセス専用のバスをMP
U以外のバスマスタに解放することができる。これによ
り、このMPUを使用してデバッグ作業をリアルタイム
で実施することができる。
As described above, according to the present invention, the load instruction or the store instruction is predicted in the pipeline stage before data access, thereby enabling the MP instruction.
It is possible to detect the timing at which U does not occupy the bus dedicated to data access. Therefore, the bus dedicated to data access is connected to the MPU without suspending the MPU.
It can be released to bus masters other than U. Thus, a debugging operation can be performed in real time using this MPU.

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

【図1】この発明の一実施形態に係るマイクロプロセッ
サの構成を示す図である。
FIG. 1 is a diagram showing a configuration of a microprocessor according to an embodiment of the present invention.

【図2】図1に示すマイクロプロセッサの動作タイミン
グを示す図である。
FIG. 2 is a diagram showing operation timings of the microprocessor shown in FIG.

【図3】ハーバードアーキテクチャを採用した従来のM
PUのシステム構成を示す図である。
FIG. 3 shows a conventional M employing a Harvard architecture.
It is a figure showing the system configuration of PU.

【符号の説明】[Explanation of symbols]

1 命令デコーダ 2 パイプラインコントローラ 3 バス切り替え制御回路 4 バス切り替え回路 5 データアクセス専用のバス 6 外部バスマスタ 31 ANDゲート 32,33 フリップフロップ DESCRIPTION OF SYMBOLS 1 Instruction decoder 2 Pipeline controller 3 Bus switching control circuit 4 Bus switching circuit 5 Bus dedicated to data access 6 External bus master 31 AND gate 32, 33 flip-flop

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 データアクセスを行うメモリアクセスス
テージを含む複数段のパイプラインステージからなるパ
イプライン機構を備え、データアクセス専用のバスを介
してデータメモリとの間でアクセスを行い、このアクセ
スは前記メモリアクセスステージでのみ行われ、かつデ
ータ転送命令以外の命令では行われないアーキテクチャ
ーを採用したマイクロプロセッサにおいて、 デコードした命令の中から前記データ転送命令を判別
し、判別信号を生成する命令デコーダと、 前記命令デコーダで生成された判別信号を受けて、前記
データ転送命令をデコードしたステージからデータアク
セスが行われるメモリアクセスステージまでの間判別信
号を保持し、保持している間のそれぞれのステージに対
応して判別信号を出力するパイプラインコントローラ
と、 前記パイプラインコントローラから出力される判別信号
を受けて、ステージに対応して出力されるそれぞれの判
別信号が前記データ転送命令でないことを検出し、かつ
メモリアクセスステージの前段のステージに対応して出
力された判別信号が前記データ転送命令であることを検
出して前記バスの切り替え信号を出力するバス切り替え
制御回路と、 前記バス切り替え制御回路から出力された切り替え信号
を受けて、前記バスの使用権を切り替えるバス切り替え
回路とを有することを特徴とするマイクロプロセッサ。
1. A data processing system comprising a pipeline mechanism including a plurality of pipeline stages including a memory access stage for performing data access, and performing access with a data memory via a bus dedicated to data access. An instruction decoder for determining a data transfer instruction from decoded instructions and generating a determination signal in a microprocessor employing an architecture that is performed only in a memory access stage and is not performed by an instruction other than a data transfer instruction. Receiving the determination signal generated by the instruction decoder, holding the determination signal from a stage where the data transfer instruction is decoded to a memory access stage where data access is performed; Pipeline controller that outputs a discrimination signal in response Roller, receiving a determination signal output from the pipeline controller, detecting that each determination signal output corresponding to the stage is not the data transfer instruction, and corresponding to a stage preceding the memory access stage. A bus switching control circuit that detects that the discrimination signal output as the data transfer instruction is to output the bus switching signal; and receives the switching signal output from the bus switching control circuit, A bus switching circuit for switching a use right of the microprocessor.
【請求項2】 前記バスの切り替え信号は、ステージに
対応して出力されるそれぞれの判別信号が前記データ転
送命令でないことを検出してからメモりアクセスステー
ジの前段のステージに対応して出力された判別信号が前
記データ転送命令であることを検出するまでの間、前記
バス切り替え回路に出力されることを特徴とする請求項
1記載のマイクロプロセッサ。
2. The bus switching signal is output in response to a stage preceding a memory access stage after detecting that each discrimination signal output corresponding to the stage is not the data transfer instruction. 2. The microprocessor according to claim 1, wherein the determination signal is output to the bus switching circuit until the determination signal indicates that the instruction is the data transfer instruction.
【請求項3】 前記バス切り替え回路は、前記バス切り
替え制御回路から出力された切り替え信号を受けて、こ
の信号が出力されている間、前記バスの使用権を解放す
ることを特徴とする請求項2記載のマイクロプロセッ
サ。
3. The bus switching circuit receives a switching signal output from the bus switching control circuit, and releases the right to use the bus while the signal is being output. 2. The microprocessor according to 2.
JP25625499A 1999-09-09 1999-09-09 Microprocessor Pending JP2001084142A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25625499A JP2001084142A (en) 1999-09-09 1999-09-09 Microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25625499A JP2001084142A (en) 1999-09-09 1999-09-09 Microprocessor

Publications (1)

Publication Number Publication Date
JP2001084142A true JP2001084142A (en) 2001-03-30

Family

ID=17290094

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25625499A Pending JP2001084142A (en) 1999-09-09 1999-09-09 Microprocessor

Country Status (1)

Country Link
JP (1) JP2001084142A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013125389A (en) * 2011-12-14 2013-06-24 Renesas Electronics Corp Semiconductor device and method of controlling the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013125389A (en) * 2011-12-14 2013-06-24 Renesas Electronics Corp Semiconductor device and method of controlling the same

Similar Documents

Publication Publication Date Title
JP4990829B2 (en) Method and apparatus for suspending execution of thread until specified memory access occurs
CN100530155C (en) Livelock resolution method, apparatus and system
US6959367B2 (en) System having read-modify-write unit
RU2137182C1 (en) Execution of data processing instruction
US4949241A (en) Microcomputer system including a master processor and a slave processor synchronized by three control lines
JPH06139189A (en) Common bus arbitrating mechanism
JP2748822B2 (en) Information processing device
US20070016710A1 (en) Interrupt controller and method for handling interrupts
KR20080104177A (en) Firmware extendable commands for a microcontroller based flash memory digital controller
US6877113B2 (en) Break determining circuit for a debugging support unit in a semiconductor integrated circuit
JP2001084142A (en) Microprocessor
JPH08171504A (en) Emulation device
JPH064301A (en) Time division interruption control system
JP2007018497A (en) Risc microprocessor priority vector interrupt system
JP3077807B2 (en) Microcomputer system
JPH09319592A (en) Microcomputer
JP2734382B2 (en) In-circuit emulator and debugging method thereof
JPH10333920A (en) Interruption processing circuit
JPH0444125A (en) Microprocessor
JP2004348719A (en) Microcomputer
JPH0589031A (en) Microprocessor
JP2001159987A (en) Emulation circuit
JPH02115963A (en) Pre-charge time control circuit
JPH0373021A (en) Microcomputer
JPH04148236A (en) Central processing unit