JPH0385661A - Dynamic access time control data processor - Google Patents
Dynamic access time control data processorInfo
- Publication number
- JPH0385661A JPH0385661A JP22387989A JP22387989A JPH0385661A JP H0385661 A JPH0385661 A JP H0385661A JP 22387989 A JP22387989 A JP 22387989A JP 22387989 A JP22387989 A JP 22387989A JP H0385661 A JPH0385661 A JP H0385661A
- Authority
- JP
- Japan
- Prior art keywords
- address
- signal
- period
- low
- speed
- 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 abstract description 22
- 230000003111 delayed effect Effects 0.000 abstract description 3
- 230000001360 synchronised effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
この発明はデータプロセッサに関し、特に動作の遅い周
辺機器からのデータの読込みを可能にしたデータプロセ
ッサに関する。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a data processor, and more particularly to a data processor capable of reading data from slow-operating peripheral devices.
従来の技術
マイクロプロセッサにおいて、周辺機器かラノデータの
読込、書込は所定のアドレス期間にマイクロプロセッサ
から出力されるアドレスによって当該周辺機器がアクセ
スされ、アドレスセットアツプを行ないデータをマイク
ロプロセッサへ読出す等の作業を行なう。In conventional microprocessors, when reading or writing data from a peripheral device, the peripheral device is accessed by an address output from the microprocessor during a predetermined address period, the address is set up, and the data is read out to the microprocessor. Perform this work.
発明が解決しようとする課題
この種のマイクロプロセッサシステムにおいてメモリペ
ルフェラル等周辺機器は種類、オンチップ等でアクセス
タイムが違ってくる。しかしそれぞれアクセスタイムの
違う周辺機器デバイスにマイクロプロセッサがダイナミ
ックにアクセスタイムを合わせることは難しい。Problems to be Solved by the Invention In this type of microprocessor system, the access time of peripheral devices such as memory peripherals differs depending on the type, on-chip, etc. However, it is difficult for a microprocessor to dynamically adjust its access time to peripheral devices that have different access times.
従来のマイクロプロセッサでは第3図、第4図の様にM
RDY、WAI T等の入力によりアクセスタイムの後
半のみウェイトサイクルが入るため、アドレスセットア
ツプ等アクセスタイムの前半の規格が遅い周辺機器には
アクセスできない。In conventional microprocessors, M
Since a wait cycle is entered only in the second half of the access time due to inputs such as RDY and WAIT, peripheral devices whose specifications are slow in the first half of the access time, such as address set-up, cannot be accessed.
この発明は上述の問題を解決するためになされたもので
あって、所定のアクセス速度の周辺機器に対して確実に
動作するとともに、アクセス速度の遅い周辺機器に対し
ても容易に、かつ確実にアクセスを行なえるマイクロプ
ロセッサを提供することを目的とする。The present invention has been made to solve the above-mentioned problems, and is capable of reliably operating peripheral devices having a predetermined access speed, and easily and reliably operating peripheral devices having a slow access speed. The purpose is to provide a microprocessor that can access
課題を解決する手段
この発明のデータプロセソサは、アクセスすべき機器を
指定するアドレスをアドレス期間にアドレス端子から出
力するとともに指定された機器からのデータをリード(
読込み)期間にリード端子に受けるマイクロプロセッサ
において、動作か遅い機器であることを示すLSP信号
を受ける端子を了fし、1. S l)信弓力側?定の
処理レベルとなったとき、アドレス期間とリード期間を
延長することを特徴とする。Means for Solving the Problems The data processor of the present invention outputs an address specifying a device to be accessed from an address terminal during an address period, and reads data from the specified device (
In the microprocessor that receives the LSP signal at the read terminal during the reading period, the terminal that receives the LSP signal indicating that the device is operating slowly is terminated;1. S l) Shinkyuriki side? The feature is that when the processing level reaches a certain level, the address period and the read period are extended.
実施例
第1図において1はマイクロプロセッサを用いたCPU
、2はデコータ、3はRAM、!=ROM。Embodiment In FIG. 1, 1 is a CPU using a microprocessor.
, 2 is the decoder, 3 is the RAM, ! =ROM.
4は低速周辺機2gである。4 is a low-speed peripheral device 2g.
CPUIは通常のマイクロプロセッサと同様に第3図に
示す種々の端子
AO〜AI5 ・アドレスバス出力
BAO−BA7 : バンクアドレスバス出力BE′バ
スイネーブル入力
CLK ・クロック人力
DO〜D7.データバス入出力
DA、データ・アドレス出力
IRQ :割り込み入力
l5EO,l5EI・ IRQ選択入力ML、メモリロ
ック出力
11M+ ノンマスカブル割り込み入力PA
・プログラム・アドレス出力R11l リード・
バー出力
RES リセット割り込み入力RWB
リード/ライト出力Sl、 S2 ・同期クロ
ック出ノJVTA ・ベクタ・アドレス・テーブ
ル出力WAIT :プロセッサ停止入力
WB、ライト・バー出力
を備えている。そしてアクセスすべき機器を指定するア
ドレスをアドレス期間に71−レス端子から出力すると
ともに指定された機器からのデータをリード(読込み)
期間にリード端子に受けて読込んたデータを所定のプロ
グラムにしたがって処理する。Similar to a normal microprocessor, the CPU has various terminals AO to AI5 shown in FIG. 3. Address bus outputs BAO to BA7: Bank address bus output BE' bus enable input CLK. Data bus input/output DA, data/address output IRQ: Interrupt input l5EO, l5EI/IRQ selection input ML, memory lock output 11M+ Non-maskable interrupt input PA
・Program address output R11l read
Bar output RES Reset interrupt input RWB
Read/write outputs Sl, S2 - Synchronous clock output JVTA - Vector address table output WAIT: Equipped with processor stop input WB and write bar output. Then, the address specifying the device to be accessed is output from the 71-less terminal during the address period, and the data from the specified device is read.
The data received and read into the lead terminal during the period is processed according to a predetermined program.
CPUIはさらに低速周辺機器を作動させる状態とする
ためのLSP信号を受けるための端子LSPをも備えて
いる。The CPUI further includes a terminal LSP for receiving an LSP signal for activating low-speed peripheral devices.
この発明においてはCPUIはLSP端子が“I7″の
ときは従来のマイクロプロセッサと同様に作動する。一
方上記LSP端子をH゛(ハイ)レベルにすると、1/
2バスサイクルだけCPUIの動作を遅くする。この実
施例においては同期クロックS1の゛L゛部分と“H’
”部分共に該同期クロックS1の1/4サイクルずつ延
長し、その結果アドレス期間もLSP信号がローである
場合の長さALに比して同期クロックS1の1/2サイ
クル分を延長してAHに示すように長くしたものである
。その結果読出期間RDも延長されアドレスセットアツ
プに使える期間ts、もLSP信号が“L”である期間
のセントアップ期間ts、に比して長くした。これによ
ってアクセスタイム前半のアドレスセットアツプ部分が
遅いデバイスにも対応できるようにする。In this invention, the CPUI operates in the same manner as a conventional microprocessor when the LSP terminal is "I7". On the other hand, when the above LSP terminal is set to H level, 1/
Slows down CPUI operation by two bus cycles. In this embodiment, the “L” portion of the synchronous clock S1 and the “H” portion
``The address period is extended by 1/4 cycle of the synchronous clock S1 in both parts, and as a result, the address period is also extended by 1/2 cycle of the synchronous clock S1 compared to the length AL when the LSP signal is low. As a result, the read period RD is also extended, and the period ts that can be used for address setup is also longer than the cent-up period ts during which the LSP signal is "L". This makes it possible to support devices that have a slow address setup part in the first half of the access time.
またLSP端子は通常のWA I T端子と違って“’
L″″の期間継続してサイクルが遅れるわけではなく”
H”になると172バスサイクルだけ遅れることになる
。これによりLSP端子はWAITのように、WAIT
を解除して、CPUIの実行を継続する動作は必要とし
ない。Also, unlike the normal WAIT terminal, the LSP terminal is
The cycle does not continue to be delayed for a period of L″″.
When it goes to "H", there is a delay of 172 bus cycles.As a result, the LSP terminal becomes
It is not necessary to release the CPU and continue executing the CPUI.
上述の実施例においては、信号LSPはCPU1から出
力されるアドレスが低速周辺機器4を指示するものであ
ればそのアドレスをデコーダ2でデコードすることによ
って得られる。上述の装置によればCPUIからのアド
レスが低速周辺機器4以外の通常の速度(高速度)でア
ドレスセットアツプ可能な外部機器(図示せず)を指定
している場合にはエンコーダ2からのLSP信号は°’
L°”であり、第2図の左半部に示す通常の速度でアド
レスセットアツプとデータ読取りなどの動作が得られる
。In the embodiment described above, the signal LSP is obtained by decoding the address output from the CPU 1 with the decoder 2 if the address is indicative of the low-speed peripheral device 4. According to the above-mentioned device, if the address from the CPUI specifies an external device (not shown) capable of address setup at normal speed (high speed) other than the low-speed peripheral device 4, the LSP from the encoder 2 is The signal is °'
L°'', operations such as address setup and data reading can be obtained at the normal speed shown in the left half of FIG.
いまCPUIから低速周辺機器4を指定するアドレスか
出力されると、そのアドレスコードにしたかって、エン
コータ2はLSP信号を“H”とする。Now, when the CPU outputs an address specifying the low-speed peripheral device 4, the encoder 2 sets the LSP signal to "H" in order to use that address code.
この“’ l−1”レベルの信号によってCPUIから
のアドレス信号はAH時間延長され、低速周辺機器4に
は長いアドレス期間か得られ、低速の周辺機器4のアド
レスセットアツプも正しく行えるようになる。This "'l-1" level signal extends the AH time of the address signal from the CPU, providing a long address period for the low-speed peripheral device 4, and allowing the address setup of the low-speed peripheral device 4 to be performed correctly. .
なお信号r、spはこの実施例のようにアドレス信号を
デコートシて得る方法に限らず、他の方法によって作製
してもよい。Note that the signals r and sp are not limited to the method of decoding address signals as in this embodiment, but may be produced by other methods.
発明の効果
以上のように、この発明はアドレスセットアツプ等アク
セスタイムの前半を遅らせることが可能となり、アドレ
スセットアツプ動作の遅い周辺機器についても確実にア
クセスすることがてきる。Effects of the Invention As described above, the present invention makes it possible to delay the first half of the access time such as address set-up, and even peripheral devices whose address set-up operation is slow can be reliably accessed.
また、この発明によればウェイトの解除をしなくても1
/2バスサイクル後にLSP状態から自動的に解除され
る利点もある。Further, according to this invention, even if the weight is not released, 1
Another advantage is that the LSP state is automatically released after /2 bus cycles.
第1図はこの発明の一実施例を示すブロック図、第2図
は第1図の要部の動作を示すタイムチャート、第3図は
第1図の実施例の端子を示す図、第4図と第5図は従来
の装置の動作を示すタイムチャートである。FIG. 1 is a block diagram showing one embodiment of the present invention, FIG. 2 is a time chart showing the operation of the main parts of FIG. 1, FIG. 3 is a diagram showing the terminals of the embodiment of FIG. 1, and FIG. 5 and 5 are time charts showing the operation of the conventional device.
Claims (1)
ス期間にアドレス端子から出力するとともに指定された
機器からのデータをリード(読込み)期間にリード端子
に受けるマイクロプロセッサにおいて、動作が遅い機器
であることを示すLSP信号を受ける端子を有し、LS
P信号が特定の論理レベルとなったとき、アドレス期間
とリード期間を延長することを特徴とするダイナミック
アクセスタイムコントロールデータプロセッサ。(1) The microprocessor outputs an address specifying the device to be accessed from the address terminal during the address period and receives data from the specified device at the read terminal during the read period, and the device must operate slowly. It has a terminal that receives an LSP signal indicating LS
A dynamic access time control data processor characterized in that an address period and a read period are extended when a P signal reaches a specific logic level.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP22387989A JPH0385661A (en) | 1989-08-30 | 1989-08-30 | Dynamic access time control data processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP22387989A JPH0385661A (en) | 1989-08-30 | 1989-08-30 | Dynamic access time control data processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0385661A true JPH0385661A (en) | 1991-04-10 |
Family
ID=16805141
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP22387989A Pending JPH0385661A (en) | 1989-08-30 | 1989-08-30 | Dynamic access time control data processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0385661A (en) |
-
1989
- 1989-08-30 JP JP22387989A patent/JPH0385661A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4747045A (en) | Information processing apparatus having an instruction prefetch circuit | |
JPS581451B2 (en) | Data transfer method | |
JPH0385661A (en) | Dynamic access time control data processor | |
JPS5984292A (en) | Crt display controller | |
JPH06274462A (en) | Asynchronous writing system for shared memory | |
JPH0435957Y2 (en) | ||
JPS603049A (en) | Bus interface apparatus | |
JPH0333934A (en) | Register saving/recovering system | |
JP2546002B2 (en) | Parity circuit | |
JPS62125458A (en) | Data transfer control circuit | |
JPS5886623A (en) | Memory control system | |
JPH06180681A (en) | Central processing unit | |
JPS62125460A (en) | Input and output access system | |
JPS61161560A (en) | Memory device | |
JPH02291034A (en) | Address converting system | |
JPH08194658A (en) | Microcomputer system | |
JPS58109950A (en) | Hidden memory access control circuit | |
JPH02242341A (en) | Microcomputer | |
JPS63233455A (en) | Microprocessor | |
JPH02252033A (en) | Sequential trigger enabling function circuit | |
JPS63253461A (en) | Data transfer buffer | |
JPS6146538A (en) | Fast reading method of memory | |
JPH03129536A (en) | Brake address detecting device | |
JPS58175062A (en) | Debugging processing method | |
JPS61286956A (en) | Data processor |