JPS63233455A - Microprocessor - Google Patents
MicroprocessorInfo
- Publication number
- JPS63233455A JPS63233455A JP62065851A JP6585187A JPS63233455A JP S63233455 A JPS63233455 A JP S63233455A JP 62065851 A JP62065851 A JP 62065851A JP 6585187 A JP6585187 A JP 6585187A JP S63233455 A JPS63233455 A JP S63233455A
- Authority
- JP
- Japan
- Prior art keywords
- external
- access
- block
- microprocessor
- request
- 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
- 230000002093 peripheral effect Effects 0.000 claims abstract description 11
- 230000003111 delayed effect Effects 0.000 abstract 1
- 230000006870 function Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000000034 method Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 1
Landscapes
- Bus Control (AREA)
- Microcomputers (AREA)
Abstract
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロプロセッサ(;関するものである。[Detailed description of the invention] [Industrial application field] The present invention relates to a microprocessor.
従来のマイクロプロセッサでは、外部メモリあるいは周
辺I、S工(以下外部周辺ICという。)をアクセスす
る場合、マイクロプロセッサのアクセス・スピードを外
部周辺ICのアクセス・スピードに合せる為に、マイク
ロプロセッサが外部に対して読出し又は書込みを実行す
る時に。In conventional microprocessors, when accessing external memory or peripheral ICs (hereinafter referred to as external peripheral ICs), the microprocessor must when reading from or writing to.
読出し制御信号又は書込み制御信号を外部信号入力ある
いはマイクロプロセッサ内部設定により、アクセス時間
を延ばすだけのパス待機能を有していた。It has a path waiting function that extends the access time by inputting a read control signal or a write control signal from an external signal or by setting it internally in the microprocessor.
上述した従来のマイクロプロセッサでは、外部低速アク
セスIOを接続する場合、アクセス時間を延ばすパスウ
ェイト機能しか有していない為、連続的に低速アクセス
ICをアクセスする場合、低速アクセスエCに対する読
出し/書込みサイクル時間が守れなくなる。これを防ぐ
為には、ソフトウェアにより連続アクセス命令の間にダ
ミーの命令を追加し時間をかせぐか。The conventional microprocessor described above only has a path wait function that extends the access time when connecting an external low-speed access IO, so when continuously accessing the low-speed access IC, reading/writing to the low-speed access IC is difficult. Cycle time cannot be met. In order to prevent this, the software should add a dummy instruction between consecutive access instructions to increase the time.
外付は回路で信用を加工する必要がある。この時ソフト
ウェアの対処方法では、マイクロプロセッサの高速化に
伴いアクセスサイクル時間が短かくなり、そのたび毎に
ダミー命令を変更する必要が出てきてソフトウェアの継
承性がなくなり問題となる。又、外付回路による対処方
法では、システムパスの専有時間が長くなり、システム
の性能が落ちるという欠点がある。For external devices, it is necessary to process the reliability using the circuit. At this time, the software method for dealing with this problem is that as the speed of microprocessors increases, the access cycle time becomes shorter, and it becomes necessary to change the dummy instruction each time, resulting in the loss of software inheritance. Furthermore, the method of dealing with the problem using an external circuit has the disadvantage that the system path is occupied for a long time, resulting in a decrease in system performance.
本発明(−よれば外部周辺ICに対するアクセス時間を
延ばすバス・ウェイト機能を持つマイクロプロセッサに
おいて、このマイクロプロセッサ立上げ時に予め定めら
れた外部アクセス遅延サイクル値が設定され、且つソフ
トウェア:;より該遅延サイクル値の変更可能な遅延サ
イクル値設定レジスタと、外部アクセス要求により起動
し、前記設定された外部アクセス遅延サイクル値のカウ
ントが終るまで該マイクロプロセッサの前記外部周辺I
C(二対するアクセスを遅延させる手段とを含むことを
特徴とするマイクロプロセッサが得られる。According to the present invention (-), in a microprocessor having a bus wait function that extends access time to an external peripheral IC, a predetermined external access delay cycle value is set at startup of the microprocessor, and software: a delay cycle value setting register whose cycle value can be changed, and the external peripheral I of the microprocessor that is activated by an external access request and until the set external access delay cycle value is counted.
A microprocessor is obtained, characterized in that it includes a means for delaying access to C.
次に9本発明について図面を参照して説明する。 Next, nine aspects of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例のマイクロプロセッサ(=付
加される機能のブロック図である。遅延サイクル値設定
レジスタ1は本マイクロプロセッサ立上げ時に予め定め
られた値がセットされ、その後プログラム(二より値が
変更可能なレジスタであり、プロセッサクロックaを受
けて動作するイベントカウンタ2は、マイクロプロセッ
サの実行ブロック3より外部周辺ICに対するアクセス
要求すがあった時にカウントを始め、遅延サイクル値設
定レジスタ1の値の分だけカウントし、外部パス・、ア
クセスブロック4(二外部アンセス要求Cを発する。ま
たイベントカウンタ2はプロセッサクロックaによりカ
ウントされる。外部パス・アクセスブロック4はイベン
トカウンタ2がらの外部アクセス要求Cにより外部工0
リード信号dあるいは外部工。FIG. 1 is a block diagram of a microprocessor (=added functions) of an embodiment of the present invention.A delay cycle value setting register 1 is set to a predetermined value when this microprocessor is started up, and then the program ( The event counter 2, which is a register whose value can be changed from 2 to 2, and which operates in response to the processor clock a, starts counting when there is an access request to the external peripheral IC from the execution block 3 of the microprocessor, and sets the delay cycle value. It counts the value of register 1 and issues an external access request C to external path/access block 4 (2). Also, event counter 2 is counted by the processor clock a. Due to external access request C, external work is 0
Lead signal d or external processing.
ライト信号eを外部周辺ICに対して発する。A write signal e is issued to the external peripheral IC.
実行ブロック6では外部工0アクセスの必要時のみイベ
ントカウンタ2に対し要求を出し、外部メモリ・アクセ
ス要求に対してはイベントカウンタ2を通らずに直接信
号fにより外部パス・アクセスブロック4に対し外部メ
モリ・アクセス要求を行なう。The execution block 6 issues a request to the event counter 2 only when external memory access is required, and in response to an external memory access request, the external path access block 4 is directly sent a signal f without passing through the event counter 2. Make a memory access request.
次に具体的動作フローを第1図、第2図及び第6図を併
せ用いて説明する。実行ブロック3がIOアクセス命令
と判断した場合、ただちにイベントカウンタ2に対して
カウント開始要求すなわちアクセス要求すを立ち上げ、
イベントカウンタ2はアクセス要求すの立上りによって
カウントを開始し、遅延サイクル値設定レジスタ1の値
の分だけカウントし外部アクセス要求Cを立上げる。こ
の時遅延サイクル値がゼロであれは第2図の様なタイミ
ングとなり、遅延サイクル値が1″であれば、第3図の
様に、第2図の外部アクセス要求Cの立上りタイミング
より1プロセツサクロツク遅延して外部アクセス要求C
が立ち上がる。Next, a specific operation flow will be explained using FIG. 1, FIG. 2, and FIG. 6. If the execution block 3 determines that it is an IO access command, it immediately issues a count start request to the event counter 2, that is, an access request.
The event counter 2 starts counting when the access request C rises, counts by the value of the delay cycle value setting register 1, and then raises the external access request C. At this time, if the delay cycle value is zero, the timing will be as shown in Figure 2, and if the delay cycle value is 1'', as shown in Figure 3, the timing will be one program from the rising timing of external access request C in Figure 2. External access request C due to set clock delay
stands up.
この様に遅延サイクル値を1以上に設定することにより
、外部IOアクセスが°連続して実行されるソフトウェ
アの場合でも、最初の外部工0アクセス終了から次の外
部工0アクセス開始までのサイクル時間Aを延ばすこと
ができる。By setting the delay cycle value to 1 or more in this way, even in the case of software in which external IO accesses are executed continuously, the cycle time from the end of the first external IO access to the start of the next external IO access is A can be extended.
以上説明したように本発明は、従来の汎用マイクロプロ
セッサに外部IOアクセス開始遅延ブロックを有するこ
とにより、マイクロプロセッサが高速化した場合でも、
マイクロプロセッサ立ち上げ時に外部工○アクセス開始
遅延サイクル値を設定あるいは初期化されることにより
。As explained above, the present invention provides a conventional general-purpose microprocessor with an external IO access start delay block, so that even when the microprocessor speeds up,
By setting or initializing the external access start delay cycle value when starting up the microprocessor.
低速アクセスの周辺ICを接続した場合でも。Even when peripheral ICs with low-speed access are connected.
システムのソフトウェアの変更あるいは外付回路による
外部工0アクセス信号の加工の必要がなくなるという効
果がある。This has the effect that there is no need to change the system software or process the external 0 access signal using an external circuit.
第1図は本発明によりマイクロプロセッサ:二付加され
る機能のブロック図、第2図は第1図で付加された機能
(二おいて、遅延サイクル値−〇の時の外部工Oアクセ
スサイクル最少タイミング図、第6図は遅延サイクル値
=1の時の外部工Oアクセスサイクル最少タイミング図
である。
記号の説明:1は遅延サイクル値設定レジスタ、2はイ
ベントカウンタ、6は実行ブロック。
4は外部パス・アクセスブロック、aはプロセッサクロ
ック、bはアクセス要求、Cは外部アクセス要求、dは
外部工0リード信号、eは外部IQライト槍号、fは直
接信号をそれぞれあられしている。
夷1図
第2図
第3図Figure 1 is a block diagram of the functions added to the microprocessor according to the present invention, and Figure 2 is a block diagram of the functions added in Figure 1. Timing diagram, Fig. 6 is a minimum timing diagram of the external operation access cycle when the delay cycle value = 1. Explanation of symbols: 1 is the delay cycle value setting register, 2 is the event counter, 6 is the execution block. 4 is the execution block. External path access block, a is the processor clock, b is the access request, C is the external access request, d is the external process 0 read signal, e is the external IQ write signal, and f is the direct signal. Figure 1 Figure 2 Figure 3
Claims (1)
ウェイト機能を持つマイクロプロセッサにおいて、この
マイクロプロセッサ立上げ時に予め定められた外部アク
セス遅延サイクル値が設定され、且つソフトウェアによ
り該遅延サイクル値の変更可能な遅延サイクル値設定レ
ジスタと、外部アクセス要求により起動し、前記設定さ
れた外部アクセス遅延サイクル値のカウントが終るまで
該マイクロプロセッサの前記外部周辺ICに対するアク
セスを遅延させる手段とを含むことを特徴とするマイク
ロプロセッサ。1. A bus that extends access time to external peripheral ICs.
In a microprocessor with a wait function, a predetermined external access delay cycle value is set when the microprocessor is started up, and the delay cycle value can be changed by software. and means for delaying access of the microprocessor to the external peripheral IC until the set external access delay cycle value is counted.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62065851A JPS63233455A (en) | 1987-03-23 | 1987-03-23 | Microprocessor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62065851A JPS63233455A (en) | 1987-03-23 | 1987-03-23 | Microprocessor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS63233455A true JPS63233455A (en) | 1988-09-29 |
Family
ID=13298926
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62065851A Pending JPS63233455A (en) | 1987-03-23 | 1987-03-23 | Microprocessor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS63233455A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7444447B2 (en) | 2004-01-30 | 2008-10-28 | Samsung Electronics Co., Ltd. | Arrangement, device and method for controlling bus request signal generation |
-
1987
- 1987-03-23 JP JP62065851A patent/JPS63233455A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7444447B2 (en) | 2004-01-30 | 2008-10-28 | Samsung Electronics Co., Ltd. | Arrangement, device and method for controlling bus request signal generation |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH045216B2 (en) | ||
| JPH0543151B2 (en) | ||
| JPH05324348A (en) | Single chip microcomputer | |
| JPS581451B2 (en) | Data transfer method | |
| JPH0962621A (en) | Computer system and command cycle switching method | |
| JPS5942331B2 (en) | Prosetsusasouchinoseigiohoshiki | |
| JP2515772B2 (en) | Information processing device | |
| JPS59231639A (en) | Terminal interface device | |
| JPH0333934A (en) | Register saving/recovering system | |
| JPS596408B2 (en) | Data transfer control method | |
| JP2536103B2 (en) | Data processing device | |
| JPS60140440A (en) | Central processing unit | |
| JPS61161560A (en) | Memory device | |
| JPH01318135A (en) | Direct memory access control circuit | |
| JPS61112271A (en) | data processing equipment | |
| JPS60170854U (en) | microcomputer | |
| JPH03156647A (en) | Watchdog timer | |
| JPS6120139A (en) | Interruption control system | |
| JPH04291441A (en) | Program control circuit | |
| JPS61183770A (en) | multiprocessor system | |
| JPS6347854A (en) | Access control circuit | |
| JPH048825B2 (en) | ||
| JPH02297653A (en) | Information processor | |
| JPH0385661A (en) | Dynamic access time control data processor | |
| JPH0210626B2 (en) |