JPH0561817A - Semiconductor device and electronic equipment - Google Patents
Semiconductor device and electronic equipmentInfo
- Publication number
- JPH0561817A JPH0561817A JP3224157A JP22415791A JPH0561817A JP H0561817 A JPH0561817 A JP H0561817A JP 3224157 A JP3224157 A JP 3224157A JP 22415791 A JP22415791 A JP 22415791A JP H0561817 A JPH0561817 A JP H0561817A
- Authority
- JP
- Japan
- Prior art keywords
- bus release
- signal line
- bus
- semiconductor device
- 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
Links
- 239000004065 semiconductor Substances 0.000 title claims abstract description 14
- 230000004044 response Effects 0.000 claims abstract description 23
- 238000005070 sampling Methods 0.000 claims description 4
- 230000006870 function Effects 0.000 abstract description 9
- 239000000872 buffer Substances 0.000 description 6
- 238000010586 diagram Methods 0.000 description 3
- 238000007796 conventional method Methods 0.000 description 1
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
- Bus Control (AREA)
- Microcomputers (AREA)
Abstract
(57)【要約】
【目的】マイクロプロセッサのバス解放機能において、
インサーキットエミュレータ(ICE)専用のバス解放
機能を用意することで、部品点数を減らし、コストの低
減、小型化、高速動作への対応を図ることを目的とす
る。
【構成】マイクロプロセッサのバス解放機能において、
ICE専用のバス解放要求信号線と、ICE専用のバス
解放応答信号線と、フリップフロップと、優先度を判定
するゲート回路を従来技術(単一のバス解放機能)に付
加し、エミュレーションメモリへプログラムをダウンロ
ードする際にマイクロプロセッサをバス解放状態にさせ
るよう構成する半導体装置。または、この半導体装置を
応用した電子機器。
(57) [Summary] [Purpose] In the bus release function of the microprocessor,
By providing a bus release function dedicated to the in-circuit emulator (ICE), the object is to reduce the number of parts, reduce cost, downsize, and respond to high-speed operation. [Configuration] In the bus release function of the microprocessor,
An ICE-dedicated bus release request signal line, an ICE-dedicated bus release response signal line, a flip-flop, and a gate circuit for determining priority are added to the conventional technology (single bus release function), and the program is written in the emulation memory. A semiconductor device configured to bring a microprocessor into a bus release state when downloading a file. Alternatively, an electronic device to which this semiconductor device is applied.
Description
【0001】[0001]
【産業上の利用分野】本発明は半導体装置に関し、特に
マイクロプロセッサのバス解放機能の改良に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a semiconductor device, and more particularly to improvement of a bus releasing function of a microprocessor.
【0002】[0002]
【従来の技術】従来の半導体装置はマイクロプロセッサ
のバス解放機能において、図3に示すように、バス解放
要求信号線301と、フリップフロップ302と、バス
解放応答信号線303と、ラッチ304と、第2基準ク
ロック305によって構成される。2. Description of the Related Art In a conventional semiconductor device, in a bus release function of a microprocessor, as shown in FIG. 3, a bus release request signal line 301, a flip-flop 302, a bus release response signal line 303, a latch 304, and It is composed of the second reference clock 305.
【0003】外部からバス解放要求信号線301がアサ
ートされると、基準クロックに同期して前記バス解放要
求信号線301をサンプリングしているフリップフロッ
プ302がイネーブル状態を検出し、バス解放応答信号
線303をイネーブルにする。次に通常スルー(データ
筒抜け)状態にあるラッチ304のゲートをネゲートし
て第2基準クロック305を停止し、バス解放状態に遷
移可能とするための制御を行なう。When the bus release request signal line 301 is asserted from the outside, the flip-flop 302 sampling the bus release request signal line 301 in synchronization with the reference clock detects the enabled state, and the bus release response signal line is detected. Enable 303. Next, the gate of the latch 304 which is normally in the through state (missing data cylinder) is negated to stop the second reference clock 305, and control is performed so that the bus can be released.
【0004】以上により、マイクロプロセッサが前記バ
ス解放応答信号線303のイネーブル状態を検出し、バ
スドライバをネゲートすることで、バスのハイインピー
ダンス状態が実現される。As described above, the microprocessor detects the enable state of the bus release response signal line 303 and negates the bus driver, so that the high impedance state of the bus is realized.
【0005】[0005]
【発明が解決しようとする課題】しかし前記の従来の技
術では、バス解放要求信号線とバス解放応答信号線とを
一組しか有していないため、以下の不都合が生じる。However, the above-mentioned conventional technique has only one set of the bus release request signal line and the bus release response signal line, so that the following problems occur.
【0006】インサーキットエミュレータ(以下、IC
Eと略す)上でマイクロプロセッサのプログラムデバッ
グを行なう場合、通常ICE上のエミュレーションメモ
リにプログラムをダウンロードする必要がある。この時
ICEがマイクロプロセッサをバスから切り離して直接
プログラムをエミュレーションメモリに書き込むが、バ
ス解放要求信号線、およびバス解放応答信号線は通常外
部のDMAコントローラ等に開放されるため、ICEは
マイクロプロセッサのバス開放機能を使用することがで
きない。よって、マイクロプロセッサとエミュレーショ
ンメモリとの間にトライステートバッファを設け、前記
トライステートバッファをネゲートすることで、エミュ
レーションメモリへのICEからのアクセスを可能とし
ている。従って、バスの本数分トライステートバッファ
が必要であり、ICEのコストアップ、実装面積の消
費、およびバッファのディレイによるマイクロプロセッ
サの高速動作への障害といった課題を有している。In-circuit emulator (hereinafter referred to as IC
When performing program debugging of a microprocessor on (abbreviated as E), it is usually necessary to download the program to the emulation memory on the ICE. At this time, the ICE disconnects the microprocessor from the bus and directly writes the program in the emulation memory. However, since the bus release request signal line and the bus release response signal line are normally opened to an external DMA controller or the like, the ICE The bus release function cannot be used. Therefore, by providing a tri-state buffer between the microprocessor and the emulation memory and negating the tri-state buffer, the ICE can access the emulation memory. Therefore, tri-state buffers for the number of buses are required, and there are problems that the cost of ICE increases, the mounting area is consumed, and the delay of the buffer hinders high-speed operation of the microprocessor.
【0007】そこで本発明はこのような課題を解決する
もので、その目的とするところは、ICEの実現に当た
って、コストの低減、小型化、および高速動作への対応
を可能とする半導体装置の提供にある。Therefore, the present invention solves such a problem, and an object of the present invention is to provide a semiconductor device which can realize cost reduction, downsizing, and high-speed operation in realizing ICE. It is in.
【0008】[0008]
【課題を解決するための手段】本発明の半導体装置は、
マイクロプロセッサのバス解放機能において、 a)2つ以上のバス解放要求信号線と、 b)前記2つ以上のバス解放要求信号線をサンプリング
する2つ以上のフリップフロップと、 c)前記2つ以上のフリップフロップの出力優先度を決
定するゲート回路と、 d)前記ゲート回路によって優先度が決定され、出力さ
れる2つ以上のバス解放応答信号線と、 e)前記ゲート回路の出力信号によって基準クロックを
停止するラッチと、 f)前記ラッチから出力される第2基準クロックとから
なることを特徴とする。The semiconductor device of the present invention comprises:
In the bus release function of a microprocessor, a) two or more bus release request signal lines, b) two or more flip-flops sampling the two or more bus release request signal lines, and c) the two or more. A gate circuit that determines the output priority of the flip-flop, and d) two or more bus release response signal lines whose priority is determined and output by the gate circuit, and e) a reference based on the output signal of the gate circuit. A latch for stopping the clock; and f) a second reference clock output from the latch.
【0009】[0009]
【実施例】以下、本発明について実施例に基づき詳細に
説明する。EXAMPLES The present invention will be described in detail below based on examples.
【0010】図1は本発明の半導体装置図である。10
1はICEからバス解放要求を行なうバス解放要求信号
線A。102は外部のDMAコントローラ等からバス解
放要求を行なうバス解放要求信号線B。103、および
104はそれぞれ、前記バス解放要求信号線A101、
および前記バス解放要求信号線B102の状態をサンプ
リングするフリップフロップA、およびフリップフロッ
プB。105は前記バス解放要求信号線A101、およ
び前記バス解放要求信号線B102の優先度を判定する
ゲート回路。106は前記ゲート回路105から出力さ
れるバス解放応答信号線A。107は前記ゲート回路1
05から出力されるバス解放応答信号線B。108は前
記ゲート回路105に結合され、バス解放状態へ移行時
に基準クロックを停止するラッチ。109は前記ラッチ
から出力される第2基準クロック。 以上によって本発
明の半導体装置が構成される。FIG. 1 is a diagram of a semiconductor device of the present invention. 10
Reference numeral 1 is a bus release request signal line A for issuing a bus release request from the ICE. A bus release request signal line B 102 issues a bus release request from an external DMA controller or the like. 103 and 104 are the bus release request signal lines A101 and A101, respectively.
And a flip-flop A and a flip-flop B for sampling the state of the bus release request signal line B102. Reference numeral 105 denotes a gate circuit that determines the priority of the bus release request signal line A101 and the bus release request signal line B102. Reference numeral 106 denotes a bus release response signal line A output from the gate circuit 105. 107 is the gate circuit 1
Bus release response signal line B output from 05. A latch 108 is coupled to the gate circuit 105 and stops the reference clock when the bus is released. 109 is the second reference clock output from the latch. The semiconductor device of the present invention is configured as described above.
【0011】図2のタイミングチャートに示すように、
まずバス解放要求信号線A101をアサートすると、そ
の状態がフリップフロップA103によってサンプリン
グされゲート回路105より、バス解放応答信号線A1
06がイネーブル状態として出力される。この時の状態
は前記バス解放応答信号線A106のみがイネーブル状
態となる。As shown in the timing chart of FIG.
First, when the bus release request signal line A101 is asserted, the state is sampled by the flip-flop A103, and the gate circuit 105 causes the bus release response signal line A1 to be sampled.
06 is output as an enable state. At this time, only the bus release response signal line A106 is enabled.
【0012】次に、前記バス解放要求信号線A101を
ネゲートし、バス解放要求信号線B102をアサートす
る。前記と同様に今度はバス解放要求信号線B102が
フリップフロップB104によってサンプリングされゲ
ート回路105より、バス解放応答信号線B107がイ
ネーブル状態として出力される。この時の状態は前記バ
ス解放応答信号線B107のみがイネーブル状態とな
る。Next, the bus release request signal line A101 is negated and the bus release request signal line B102 is asserted. Similarly to the above, this time, the bus release request signal line B102 is sampled by the flip-flop B104, and the bus release response signal line B107 is output from the gate circuit 105 in the enabled state. At this time, only the bus release response signal line B107 is enabled.
【0013】さらに、前記バス解放要求信号線A10
1、およびバス解放要求信号線B102を同時にアサー
トした場合は、それぞれの信号がフリップフロップA1
03、およびフリップフロップB104にサンプリング
される。この時、ゲート回路105はそれぞれの入力信
号の優先度を判定し、バス解放応答信号線A106のみ
をイネーブル状態として出力する。Further, the bus release request signal line A10
1 and the bus release request signal line B102 are asserted at the same time, the respective signals are flip-flop A1.
03 and the flip-flop B104. At this time, the gate circuit 105 determines the priority of each input signal and outputs only the bus release response signal line A106 as an enabled state.
【0014】前記の3通りの動作についていずれも、前
記バス解放応答信号線A106、または、前記バス解放
応答信号線B107のどちらか一方がイネーブルとなっ
た時点で、前記ゲート回路105に結合されるラッチ1
08のゲート信号がディセーブルとなる。その結果、前
記ラッチ108がホールド状態となり、第2基準クロッ
ク109が停止する。All of the above three operations are coupled to the gate circuit 105 when either the bus release response signal line A106 or the bus release response signal line B107 is enabled. Latch 1
The 08 gate signal is disabled. As a result, the latch 108 enters the hold state, and the second reference clock 109 stops.
【0015】よって、第2基準クロック109をもとに
して動作するマイクロプロセッサは、CPUとしての動
作を停止し、前記バス解放応答信号線A106、または
前記バス解放応答信号線B107のイネーブル状態をも
とに、バス解放を行なう。Therefore, the microprocessor operating on the basis of the second reference clock 109 stops its operation as a CPU, and the bus release response signal line A106 or the bus release response signal line B107 is also enabled. Then, the bus is released.
【0016】[0016]
【発明の効果】以上述べたように、本発明では従来一組
であったバス解放要求信号線とバス解放応答信号線を2
組以上設け、さらにそれらに優先度を設けることで、マ
イクロプロセッサのバス解放機能をICEに割当ること
を可能とする。前記により、従来必須であったマイクロ
プロセッサとエミュレーションメモリ間のトライステー
トバッファ(バスバッファ)をすべて削除することがで
き、その結果、コストの低減、小型化、高速動作への対
応を図ることが可能となる。As described above, according to the present invention, two sets of the bus release request signal line and the bus release response signal line, which are one pair in the related art, are provided.
By providing more than one group and further providing them with priority, the bus release function of the microprocessor can be assigned to the ICE. Due to the above, all tristate buffers (bus buffers) between the microprocessor and emulation memory, which were indispensable in the past, can be deleted, resulting in cost reduction, downsizing, and high-speed operation. Becomes
【図1】本発明の半導体装置図。FIG. 1 is a semiconductor device diagram of the present invention.
【図2】本発明の半導体装置のタイミングチャート。FIG. 2 is a timing chart of a semiconductor device of the invention.
【図3】従来の半導体装置図。FIG. 3 is a diagram of a conventional semiconductor device.
101. バス解放要求信号線A 102. バス解放要求信号線B 103. フリップフロップA 104. フリップフロップB 105. ゲート回路 106. バス解放応答信号線A 107. バス解放応答信号線B 108. ラッチ 109. 第2基準クロック 301. バス解放要求信号線 302. フリップフロップ 303. バス解放応答信号線 304. ラッチ 305. 第2基準クロック 101. Bus release request signal line A 102. Bus release request signal line B 103. Flip-flop A 104. Flip-flop B 105. Gate circuit 106. Bus release response signal line A 107. Bus release response signal line B 108. Latch 109. Second reference clock 301. Bus release request signal line 302. Flip-flop 303. Bus release response signal line 304. Latch 305. Second reference clock
Claims (2)
て、 a)2つ以上のバス解放要求信号線と、 b)前記2つ以上のバス解放要求信号線をサンプリング
する2つ以上のフリップフロップと、 c)前記2つ以上のフリップフロップの出力優先度を決
定するゲート回路と、 d)前記ゲート回路によって優先度が決定され、出力さ
れる2つ以上のバス解放応答信号線と、 e)前記ゲート回路の出力信号によって基準クロックを
停止するラッチと、 f)前記ラッチから出力される第2基準クロックとから
なることを特徴とする半導体装置。1. In a bus release function of a microprocessor, a) two or more bus release request signal lines, b) two or more flip-flops sampling the two or more bus release request signal lines, and c. ) A gate circuit that determines the output priority of the two or more flip-flops, d) Two or more bus release response signal lines whose priority is determined and output by the gate circuit, and e) the gate circuit. And a second reference clock output from the latch, the semiconductor device comprising:
たことを特徴とする電子機器。2. An electronic device to which the semiconductor device according to claim 1 is applied.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3224157A JPH0561817A (en) | 1991-09-04 | 1991-09-04 | Semiconductor device and electronic equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3224157A JPH0561817A (en) | 1991-09-04 | 1991-09-04 | Semiconductor device and electronic equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0561817A true JPH0561817A (en) | 1993-03-12 |
Family
ID=16809429
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3224157A Pending JPH0561817A (en) | 1991-09-04 | 1991-09-04 | Semiconductor device and electronic equipment |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0561817A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7982217B2 (en) | 2001-03-19 | 2011-07-19 | Renesas Electronics Corporation | Semiconductor device and its test method |
-
1991
- 1991-09-04 JP JP3224157A patent/JPH0561817A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7982217B2 (en) | 2001-03-19 | 2011-07-19 | Renesas Electronics Corporation | Semiconductor device and its test method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| IL134870A (en) | Data transfer system for accomplishing data transfers in an information processing system | |
| JPH10149335A (en) | PCI interface synchronization circuit | |
| US5357613A (en) | Time-domain boundary buffer method and apparatus | |
| US5694614A (en) | Minimum latency bus interface circuit with reduced I/O pin count through multi-mode operation | |
| JP2857524B2 (en) | Data transfer method | |
| JP2563679B2 (en) | Bidirectional input / output signal separation circuit | |
| US20030056039A1 (en) | Data buffer | |
| US7822905B2 (en) | Bridges capable of controlling data flushing and methods for flushing data | |
| JP3946980B2 (en) | Register access device | |
| KR100222183B1 (en) | The interface control apparatus between pci-bus and y-bus | |
| JP2565916B2 (en) | Memory access controller | |
| JP2628311B2 (en) | Microcomputer | |
| KR950003057Y1 (en) | Command / Status Information Exchange Circuit | |
| JP2575895B2 (en) | Control signal switching device for integrated circuits | |
| CN119782223A (en) | A plug-in universal DMA module for AHB bus | |
| KR930011348B1 (en) | Interface circuit between decoder IC and SCSI IC | |
| JPH0551931B2 (en) | ||
| JP2747154B2 (en) | Input/Output Processor | |
| JPH03276218A (en) | electronic circuit control device | |
| JPS60201465A (en) | Data processing device | |
| JPH02211571A (en) | Information processor | |
| JPH07244633A (en) | Interface device | |
| KR20000015400A (en) | Bus controller for an inter-integrated circuit serial interface bus | |
| JPS6215648A (en) | parallel input port | |
| JPH01276262A (en) | Dma device |