JPH04225443A - Bus access control system - Google Patents

Bus access control system

Info

Publication number
JPH04225443A
JPH04225443A JP40752690A JP40752690A JPH04225443A JP H04225443 A JPH04225443 A JP H04225443A JP 40752690 A JP40752690 A JP 40752690A JP 40752690 A JP40752690 A JP 40752690A JP H04225443 A JPH04225443 A JP H04225443A
Authority
JP
Japan
Prior art keywords
waiting time
rom
bus
time
access
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
JP40752690A
Other languages
Japanese (ja)
Inventor
Toshiaki Ikeda
池田 敏昭
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.)
NEC Communication Systems Ltd
Original Assignee
NEC Communication Systems Ltd
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 NEC Communication Systems Ltd filed Critical NEC Communication Systems Ltd
Priority to JP40752690A priority Critical patent/JPH04225443A/en
Publication of JPH04225443A publication Critical patent/JPH04225443A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the excessive waiting time to a high speed ROM and the short waiting time to a low speed ROM respectively by applying the access drive to the ROM via a bus and in the waiting time proper to the ROM. CONSTITUTION:A waiting time counter 3 measures and decides a waiting time (access time) based on the specific pattern data 41 stored in a ROM 4. A drive control circuit 2 which transmits an access drive signal to a CPU 1 writes the decided waiting time into a waiting time setting part 21 in an initialization state. Then the CPU 1 performs the access drive of the ROM 4 at the time written into the part 21.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、中央処理装置がアドレ
スバスおよびデータバスを介して一定の待ち時間でRO
M(読取専用メモリ)にアクセス処理するプロセッサシ
ステムの、特にアクセス時間の異なるROMに対するバ
スアクセス制御方式に関する。
FIELD OF INDUSTRIAL APPLICATION The present invention provides a system in which a central processing unit performs RO
The present invention relates to a bus access control system for a processor system that processes access to M (read-only memory), particularly for ROMs with different access times.

【0002】0002

【従来の技術】従来、この種のバスアクセス制御方式は
、搭載するROMがもつアクセス時間により中央処理装
置を駆動する駆動制御回路を有する。
2. Description of the Related Art Conventionally, this type of bus access control system has a drive control circuit that drives a central processing unit based on the access time of a mounted ROM.

【0003】すなわち、中央処理装置は常に一定の待ち
時間によりバスを介してROMにアクセス処理する。
That is, the central processing unit always accesses the ROM via the bus with a fixed waiting time.

【0004】従って、アクセス時間の異なるROMの搭
載に対してはこのアクセス時間を待ち時間とする駆動制
御回路が備えられた。
[0004] Therefore, for mounting ROMs with different access times, a drive control circuit has been provided that uses the access time as a waiting time.

【0005】[0005]

【発明が解決しようとする課題】上述した従来のバスア
クセス制御方式は、ROMアクセス時の中央処理装置の
バス駆動周期が駆動制御回路で一定になっているので、
アクセス時間の異なるROMに変更する場合でも、駆動
周期が変わらず、例えば高速のROMに変更時は無駄な
待ち時間を要し、低速のROMに変更時は待ち時間が足
りないという現象が生じてしまい、駆動周期を変えるに
は駆動制御回路の回路変更をしなければならないという
欠点があった。
[Problems to be Solved by the Invention] In the conventional bus access control method described above, the bus drive cycle of the central processing unit during ROM access is kept constant by the drive control circuit.
Even when changing to a ROM with a different access time, the drive cycle does not change, resulting in the phenomenon that, for example, when changing to a high-speed ROM, unnecessary waiting time is required, and when changing to a low-speed ROM, there is not enough waiting time. However, in order to change the drive cycle, it is necessary to change the drive control circuit.

【0006】本発明の目的は、駆動制御回路に待ち時間
を書き込む待時間設定部を備えることにより、上記欠点
を解消するバスアクセス制御方式を提供することにある
SUMMARY OF THE INVENTION An object of the present invention is to provide a bus access control system that eliminates the above-mentioned drawbacks by providing a wait time setting section for writing a wait time into a drive control circuit.

【0007】[0007]

【課題を解決するための手段】本発明によるバスアクセ
ス制御方式は、中央処置装置がアドレスバスおよびデー
タバスを介して一定の待ち時間をROM(読取専用メモ
リ)にアクセス処理するプロセッサシステムのバスアク
セス制御方式において、前記バスへのアクセス処理を繰
り返す周期となる前記待ち時間を設定する待時間設定部
を備え、前記ROMに特定パターンデータを予め記憶し
、かつ、初期設定時に前記ROMから記憶する特定パタ
ーンデータを取り出してデータの確定する時間を計測し
、確定した時間を待ち時間として前記待時間設定部に新
たに書き込み設定し、この後はこの設定した待ち時間に
より前記中央処理装置を駆動する駆動制御回路を有する
A bus access control method according to the present invention provides a bus access control method for a processor system in which a central processing unit processes access to a ROM (read-only memory) for a certain amount of time via an address bus and a data bus. The control method further includes a waiting time setting unit that sets the waiting time that is a cycle for repeating the access process to the bus, and a specific pattern data that is stored in the ROM in advance, and a specific pattern data that is stored from the ROM at the time of initial setting. A drive that extracts pattern data, measures the time for the data to be finalized, writes and sets the determined time as a waiting time in the waiting time setting section, and thereafter drives the central processing unit according to the set waiting time. It has a control circuit.

【0008】[0008]

【実施例】次に本発明について図面を参照して説明する
。図1は本発明の一実施例を示すブロック図、また図2
は図1による主要動作手順の一例を示すフローチャート
である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG.
2 is a flowchart showing an example of the main operation procedure according to FIG. 1. FIG.

【0009】図1に示すように、中央処理装置1は駆動
制御回路2、待時間カウンタ3およびROM4とアドレ
スバス5およびデータバス6を介して接続する。
As shown in FIG. 1, a central processing unit 1 is connected to a drive control circuit 2, a waiting time counter 3, and a ROM 4 via an address bus 5 and a data bus 6.

【0010】駆動制御回路2は待時間設定部21を有し
、この待時間設定部21に待時間カウンタ3により計測
された計測値が待ち時間として書き込まれる。
The drive control circuit 2 has a waiting time setting section 21, and a measured value measured by the waiting time counter 3 is written into this waiting time setting section 21 as a waiting time.

【0011】待時間カウンタ3はROM4が予め記憶す
る特定パターンデータ41を読み出し、開始から確定す
るまでの時間を計測し、中央処理装置1がこれを取り出
して待時間設定部21に書き込む。
The waiting time counter 3 reads specific pattern data 41 stored in advance in the ROM 4, measures the time from start to finalization, and the central processing unit 1 extracts this and writes it into the waiting time setting section 21.

【0012】次に、図2に図1を併せ参照して動作手順
について説明する。
Next, the operating procedure will be explained with reference to FIG. 2 and FIG. 1.

【0013】まず、中央処理装置1は初期動作時、初期
設定を指示(101)し、待時間カウンタ3の待ち時間
計数値を零復帰(102)させるとともに、駆動制御回
路2の待時間設定部21に最大待ち時間を設定させて駆
動信号7により起動(103)する。
First, at the time of initial operation, the central processing unit 1 instructs the initial setting (101), returns the waiting time count value of the waiting time counter 3 to zero (102), and also sets the waiting time setting section of the drive control circuit 2. 21 is set to a maximum waiting time and activated by the drive signal 7 (103).

【0014】この起動により中央処理装置1はROM4
の初期設定実行プログラムを取り出して特定番地により
特定パターンデータ41の領域を呼び出し(104)、
待時間カウンタ3が計数を開始することによりROM4
の特定パターンデータ41の転送(105)が開始され
る。
[0014] With this activation, the central processing unit 1 loads the ROM 4
extracts the initial setting execution program and calls the area of specific pattern data 41 at a specific address (104);
When the waiting time counter 3 starts counting, the ROM 4
Transfer (105) of the specific pattern data 41 is started.

【0015】待時間カウンタ3は特定パターンデータ4
1が特定パターンの正解値と一致するまで計測(106
)を続ける。
The waiting time counter 3 has specific pattern data 4.
Measure until 1 matches the correct value of the specific pattern (106
) continue.

【0016】中央処理装置1は特定パターンデータ41
を読み取ったのち待時間カウンタ3から計測終了後の計
数値を読み取り(107)、駆動制御回路2の待時間設
定部21に待ち時間として書き込み、設定(108)す
る。
The central processing unit 1 stores specific pattern data 41.
After reading, the counted value after the measurement is completed is read from the waiting time counter 3 (107), and written as a waiting time in the waiting time setting section 21 of the drive control circuit 2, and set (108).

【0017】以後、駆動制御回路2は待時間設定部21
に書き込まれたROM4がもつ待ち時間により、周期的
に、中央処理装置1の駆動信号7を送信する。
Thereafter, the drive control circuit 2 uses the waiting time setting section 21.
The drive signal 7 of the central processing unit 1 is periodically transmitted according to the waiting time of the ROM 4 written in the ROM 4 .

【0018】従って、アドレスバス5およびデータバス
6に接続されたROM4がもつ待ち時間、すなわちアク
セス時間により、中央処理装置1はROM4をアクセス
処理できる。
Therefore, the central processing unit 1 can access the ROM 4 due to the waiting time, ie, the access time, of the ROM 4 connected to the address bus 5 and the data bus 6.

【0019】本実施例では待時間カウンタを使用して、
ROMがもつ待ち時間を特定パターンデータで計測した
が、設計時に待ち時間を予め計算し、ROMに特定パタ
ーンの代りに、待ち時間を設定し、中央処理装置が直接
アクセス時間として読み取る方法でもよい。
In this embodiment, a waiting time counter is used to
Although the waiting time of the ROM was measured using specific pattern data, it is also possible to calculate the waiting time in advance at the time of design, set the waiting time in the ROM instead of the specific pattern, and read it as the access time directly by the central processing unit.

【0020】[0020]

【発明の効果】以上説明したように本発明は、ROMが
もつ待時間(アクセス時間)(ROMがもつ特定パター
ンデータから待時間カウンタが計時した)データを、ア
クセスの駆動信号を中央処理装置に送信する駆動制御回
路が、初期設定時に待時間設定部に書き込み、以後この
待時間設定部の時間でROMをアクセス駆動することに
より、バスに接続されたROMがもつ待ち時間でバスを
介してROMをアクセス駆動できるので、高速ROMに
対する待ち時間の余剰および低速ROMに対する待ち時
間の不足の発生を防止できる効果がある。
Effects of the Invention As explained above, the present invention allows the waiting time (access time) of the ROM (measured by the waiting time counter from the specific pattern data of the ROM) to be transmitted to the central processing unit by an access drive signal. The transmitting drive control circuit writes in the waiting time setting part at the time of initial setting, and thereafter accesses and drives the ROM using the time of this waiting time setting part, so that the ROM can be read from the ROM via the bus using the waiting time of the ROM connected to the bus. This has the effect of preventing excess waiting time for the high-speed ROM and shortage of waiting time for the low-speed ROM.

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

【図1】本発明のバスアクセス制御方式の一実施例を示
すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a bus access control method of the present invention.

【図2】図1による主要動作手順の一例を示すフローチ
ャートである。
FIG. 2 is a flowchart showing an example of the main operation procedure according to FIG. 1;

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

1    中央処理装置 2    駆動制御回路 3    待時間カウンタ 4    ROM 5,6    バス 7    駆動信号 21    待時間設定部 41    特定パターンデータ 1 Central processing unit 2 Drive control circuit 3 Waiting time counter 4 ROM 5, 6 bus 7 Drive signal 21 Waiting time setting section 41 Specific pattern data

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  中央処置装置がアドレスバスおよびデ
ータバスを介して一定の待ち時間をROM(読取専用メ
モリ)にアクセス処理するプロセッサシステムのバスア
クセス制御方式において、前記バスへのアクセス処理を
繰り返す周期となる前記待ち時間を設定する待時間設定
部を備え、前記ROMに特定パターンデータを予め記憶
し、かつ、初期設定時に前記ROMから記憶する特定パ
ターンデータを取り出してデータの確定する時間を計測
し、確定した時間を待ち時間として前記待時間設定部に
新たに書き込み設定し、この後はこの設定した待ち時間
により前記中央処理装置を駆動する駆動制御回路を有す
ることを特徴とするバスアクセス制御方式。
1. In a bus access control method for a processor system in which a central processing unit processes access to a ROM (read-only memory) for a fixed waiting time via an address bus and a data bus, a period in which the access process to the bus is repeated. The apparatus further includes a waiting time setting section for setting the waiting time, which stores specific pattern data in the ROM in advance, and extracts the stored specific pattern data from the ROM at the time of initial setting and measures the time for the data to be finalized. , a bus access control system comprising a drive control circuit that newly writes and sets the determined time as a waiting time in the waiting time setting section and thereafter drives the central processing unit according to the set waiting time. .
JP40752690A 1990-12-27 1990-12-27 Bus access control system Pending JPH04225443A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP40752690A JPH04225443A (en) 1990-12-27 1990-12-27 Bus access control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP40752690A JPH04225443A (en) 1990-12-27 1990-12-27 Bus access control system

Publications (1)

Publication Number Publication Date
JPH04225443A true JPH04225443A (en) 1992-08-14

Family

ID=18517096

Family Applications (1)

Application Number Title Priority Date Filing Date
JP40752690A Pending JPH04225443A (en) 1990-12-27 1990-12-27 Bus access control system

Country Status (1)

Country Link
JP (1) JPH04225443A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02165245A (en) * 1988-12-19 1990-06-26 Fuji Electric Co Ltd Automatically setting method for number of waits

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02165245A (en) * 1988-12-19 1990-06-26 Fuji Electric Co Ltd Automatically setting method for number of waits

Similar Documents

Publication Publication Date Title
JPH02235156A (en) Information processor
JP2011204269A (en) Readdressable virtual dma control and status register
JPH1083303A (en) Electronic circuit and method for using coprocessor
JPH04225443A (en) Bus access control system
JP2555084B2 (en) Micro Processor
JPH0981501A (en) Digital processor and dma controller
JP2625573B2 (en) Direct memory access controller
JP2634893B2 (en) Single chip microcomputer
JPH08328898A (en) User space access method and emulator
JPS6142293B2 (en)
JP2003036241A (en) Wait cycle control device and wait cycle control method
JPH06348581A (en) Memory access controller
JPS6132144A (en) Exclusive data processing system by microprogram control
JP2515772B2 (en) Information processing device
JPH0250495B2 (en)
JPH0358157A (en) Information processor
JPH05174201A (en) Ic card reader/writer
JPH0425958A (en) Address counter control system
JPH08137785A (en) Dma controller
JPH06231010A (en) Information processing system
JPH06208544A (en) Method and device for controlling bus interface
JPH05257859A (en) Information processor
JPS58178428A (en) Data processor
JPH1153252A (en) Memory control circuit
JPH02310729A (en) Processing mode change control system for information processor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19961022