JPH1021135A - Method of optimizing bus cycle length of memory and control circuit - Google Patents

Method of optimizing bus cycle length of memory and control circuit

Info

Publication number
JPH1021135A
JPH1021135A JP17446696A JP17446696A JPH1021135A JP H1021135 A JPH1021135 A JP H1021135A JP 17446696 A JP17446696 A JP 17446696A JP 17446696 A JP17446696 A JP 17446696A JP H1021135 A JPH1021135 A JP H1021135A
Authority
JP
Japan
Prior art keywords
data
memory element
time
clock cycle
memory
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
JP17446696A
Other languages
Japanese (ja)
Inventor
Hideki Ota
英樹 太田
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP17446696A priority Critical patent/JPH1021135A/en
Publication of JPH1021135A publication Critical patent/JPH1021135A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To optimize memory bus cycle length of a micro-CPU element and a memory element. SOLUTION: A register 3 previously set a number N, a counter 4 counts time by the number N and a clock cycle, the micro-CPU element 1 adopts the counting time of the counter as a waiting time, data to be written in the same address as that of the memory element 2 is collated with data to be read and one of substrate from the number N of the register 3 when the two kinds of data matched with each out. The counter 4 counts the time by the number (N-1) of the register and the clock cycle, the micro-CPU element 1 adopts the counted time as the waiting time again and data to be written in the same address as that of the memory element 2 is collated with data to be read. The operation is repeated till the two kinds of data are not matched with each other. When they are not matched, the number of the register 3 is adopted as (a). The counter 4 counts the time by the number (a+1) which is obtained by adding one to the number A of the register 3 and the clock cycle, the micro-CPU element 1 adopts the time (clock cycle × (a+1)) as the waiting time and data is read and write in the memory element 2.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、マイクロCPU
素子がメモリ素子へデータを読み書きするメモリのバス
サイクル長の最適化方法とメモリのバスサイクル長を最
適に制御する制御回路に関する。
The present invention relates to a micro CPU.
The present invention relates to a method of optimizing a bus cycle length of a memory in which an element reads and writes data from and to a memory element, and a control circuit that optimally controls the bus cycle length of the memory.

【0002】[0002]

【従来の技術】マイクロCPU素子と非同期メモリ素子
を接続し、非同期メモリ素子へデータを読み書きする場
合、非同期メモリ素子のアクセス時間、及びインターフ
ェース制御の信号タイミングにより非同期メモリ素子の
バスサイクル長を定める。このバスサイクル長が規定す
るアクノリッジ信号をマイクロCPU素子に入力し、非
同期メモリ素子へのデータ読み書きタイミング同期をと
る。
2. Description of the Related Art When a micro CPU device and an asynchronous memory device are connected and data is read from or written to the asynchronous memory device, the bus cycle length of the asynchronous memory device is determined by the access time of the asynchronous memory device and the signal timing of interface control. An acknowledgment signal defined by the bus cycle length is input to the micro CPU element to synchronize data read / write timing with the asynchronous memory element.

【0003】[0003]

【発明が解決しようとする課題】非同期メモリ素子のア
クセス時間はその仕様に範囲幅があり、且つ、インター
フェース制御のタイミング信号においても、この信号を
生成する回路に使用する素子の動作時間仕様の範囲幅に
より、差異を生ずる。従来、上記の点を考慮してバスサ
イクル長は、非同期メモリ素子のアクセス時間仕様、及
びインターフェース制御のタイミング信号を生成する回
路に使用する素子の動作時間仕様のmax値により、定
めている。
The access time of the asynchronous memory device has a wide range in its specification, and the operating time of the device used in the circuit that generates this signal is also specified in the interface control timing signal. Depending on the width, a difference is made. Conventionally, in consideration of the above points, the bus cycle length is determined by the access time specification of the asynchronous memory element and the max value of the operation time specification of the element used for the circuit for generating the interface control timing signal.

【0004】従って、非同期メモリ素子のアクセス時
間、及びインターフェース制御のタイミング信号を生成
する回路の素子の動作時間がtyp値の場合、従来の方
法により定めるバスサイクル長は無駄時間を生ずる。こ
の無駄時間は、特に高速データ処理を要求する情報処理
装置において、問題となっている。
Therefore, when the access time of the asynchronous memory device and the operation time of the device for generating the interface control timing signal are typ values, the bus cycle length determined by the conventional method causes a dead time. This dead time is a problem particularly in information processing apparatuses that require high-speed data processing.

【0005】また、メモリの接続規模(バスの負荷容
量)においてもメモリのアクセス時間は異なり、回路構
成によってはメモリのアクセス時間のmax値を超える
ことも考えられる。本発明は上記の点にかんがみてなさ
れたものであり、その目的は非同期メモリ素子へのバス
サイクル長の最適化方法を提案し、この手法による無駄
時間のない、且つ、的確な動作時間マージンを持つバス
サイクル長を実現する制御回路を提供することにある。
[0005] Further, the memory access time differs depending on the connection scale of the memory (the load capacity of the bus), and depending on the circuit configuration, the memory access time may exceed the maximum value of the memory access time. The present invention has been made in view of the above points, and an object of the present invention is to propose a method of optimizing a bus cycle length for an asynchronous memory device, and to reduce a waste time and an accurate operation time margin by this method. It is an object of the present invention to provide a control circuit for realizing a bus cycle length.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に第一の発明においては、数Nを定め、マイクロCPU
素子がメモリ素子にアドレスを出力し、メモリ素子へデ
ータを読み書きする場合の待ち時間をクロック周期×N
とし、メモリ素子の同一アドレスに書き込むデータと読
み出すデータとを照合し、この二つのデータが一致する
場合は数Nより1を減算する。
In order to achieve the above object, according to a first aspect of the present invention, a number N is determined,
The waiting time when the element outputs an address to the memory element and reads / writes data to / from the memory element is represented by clock cycle × N
The data to be written to the same address of the memory element and the data to be read are collated, and if these two data match, 1 is subtracted from the number N.

【0007】マイクロCPU素子がメモリ素子にアドレ
スを出力し、再び、メモリ素子へデータを読み書きする
場合の待ち時間をクロック周期×(N−1)とし、メモ
リ素子の同一アドレスに書き込むデータと読み出すデー
タとを照合し、この二つのデータが一致する場合、更
に、数(N−1)より1を減算する。この二つのデータ
が一致しなくなる迄、上記動作を繰り返し、二つのデー
タが一致しなくなる数の数値aを記憶する。
A wait time when the micro CPU element outputs an address to the memory element and the data is again read from and written to the memory element is defined as a clock cycle × (N−1), and data to be written to the same address of the memory element and data to be read are set. And if these two data match, 1 is further subtracted from the number (N-1). The above operation is repeated until these two data do not match, and the numerical value a of the number at which the two data do not match is stored.

【0008】マイクロCPU素子がメモリ素子へデータ
を読み書きする待ち場合の時間は、クロック周期×(a
+1)とするものとする。第二の発明においては、第一
の発明に記載するメモリのバスサイクル長最適化方法に
よる制御回路はレジスタとカウンタとを備える。レジス
タは予め数Nを設定し、カウンタはこの数Nとクロック
周期とにより時間(クロック周期×N)を計時する。
[0008] The time when the micro CPU element waits for reading and writing data from and to the memory element is represented by clock cycle × (a
+1). In a second aspect, a control circuit according to the method for optimizing a bus cycle length of a memory according to the first aspect includes a register and a counter. The register sets a number N in advance, and the counter measures time (clock cycle × N) based on the number N and the clock cycle.

【0009】マイクロCPU素子は、カウンタが計時す
る時間(クロック周期×N)を待ち時間とし、メモリ素
子の同一アドレスに書き込むデータと読み出すデータと
を照合し、この二つのデータが一致する場合、レジスタ
に設定する数Nより1を減算する。カウンタは、レジス
タの数(N−1)とクロック周期とにより時間(クロッ
ク周期×(N−1))を計時する。
The micro CPU element uses the time counted by the counter (clock cycle × N) as a waiting time, compares data to be written to the same address of the memory element with data to be read, and if the two data match, the register 1 is subtracted from the number N set in. The counter measures time (clock cycle × (N−1)) based on the number of registers (N−1) and the clock cycle.

【0010】マイクロCPU素子は、再び、カウンタが
計時するこの時間(クロック周期×(N−1))を待ち
時間とし、メモリ素子の同一アドレスに書き込むデータ
と読み出すデータとを照合する。この二つのデータが一
致しなくなる迄、上記動作を繰り返す。二つのデータが
一致しなくなる時、レジスタの数をaとする。
The micro CPU element again sets the time (clock cycle × (N-1)) counted by the counter as a waiting time, and compares data to be written to the same address of the memory element with data to be read. The above operation is repeated until the two data do not match. When the two data do not match, the number of registers is set to a.

【0011】マイクロCPU素子は、カウンタがレジス
タの数aに1を加算する数(a+1)とクロック周期と
により計時する時間(クロック周期×(a+1))を待
ち時間として、メモリ素子へデータを読み書きするもの
とする。
The micro CPU element reads and writes data from and to the memory element using a time (clock cycle × (a + 1)) measured by the counter as a number (a + 1) in which 1 is added to the number a of the register and a clock cycle as a waiting time. It shall be.

【0012】[0012]

【発明の実施の形態】図1は、第一の発明によるメモリ
のバスサイクル長最適化手法を説明するタイムチャート
図を示す。図1は、マイクロCPU素子とメモリ素子と
について、本発明の説明に必要なタイムチャート(図1
では、データを読む場合を例示する)を図示する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a time chart illustrating a method for optimizing a bus cycle length of a memory according to the first invention. FIG. 1 is a time chart (FIG. 1) necessary for describing the present invention for a micro CPU element and a memory element.
Here, a case where data is read is illustrated).

【0013】図1(イ)、(ロ)、(ハ)において、マ
イクロCPU素子は、メモリ素子に対し、クロック信号
S1のタイミングでアドレス信号を出力し、メモリ素子
のデータ出力を許容するアウトプットイネーブル信号を
出力する。メモリ素子は、動作速度時間(τ)後に、デ
ータ(図1では、DATAと記す)を出力する。
In FIGS. 1A, 1B and 1C, the micro CPU element outputs an address signal to the memory element at the timing of the clock signal S1 to allow the memory element to output data. Outputs an enable signal. The memory element outputs data (denoted as DATA in FIG. 1) after the operation speed time (τ).

【0014】メモリ素子のアクセス時間のmax値を考
慮して数Nを設定し、この数Nによる待ち時間(クロッ
ク周期×N)終了後、最初のクロック周期の期間、デー
タアクナリッジ信号(図1では、*DACKと記す)を
マイクロCPU素子に入力する。マイクロCPU素子
は、このデータアクナリッジ信号の入力により、クロッ
ク信号S3のタイミングで、メモリ素子のデータを読
(Read)む。
The number N is set in consideration of the maximum value of the access time of the memory element, and after the waiting time (clock cycle × N) based on the number N is completed, the data acknowledge signal (FIG. Then, * DACK) is input to the micro CPU element. The micro CPU element reads the data of the memory element at the timing of the clock signal S3 in response to the input of the data acknowledge signal.

【0015】図1(イ)は、数Nの場合のタイムチャー
ト図を示す。数Nによる待ち時間(クロック周期×N)
が終了し、データアクナリッジ信号がマイクロCPU素
子に入力し、クロック信号S3の降下エッジ点で、マイ
クロCPU素子はメモリ素子が出力するデータを読む。
図1(イ)に示す例では、メモリ素子は動作速度時間
(τ)後にデータを出力し、マイクロCPU素子はメモ
リ素子のデータを正常に読む事が出来る。
FIG. 1A is a time chart in the case of the number N. Waiting time by number N (clock cycle x N)
Is completed, the data acknowledge signal is input to the micro CPU element, and at the falling edge point of the clock signal S3, the micro CPU element reads the data output from the memory element.
In the example shown in FIG. 1A, the memory element outputs data after the operation speed time (τ), and the micro CPU element can normally read the data of the memory element.

【0016】数Nを−1し、待ち時間を(クロック周期
×(N−1))とし、クロック信号S3の降下エッジ点
で、マイクロCPU素子はメモリ素子が出力するデータ
を読む。メモリ素子が出力するデータを正常に読む事が
出来れば、更に、数(N−1)を−1し、マイクロCP
U素子は、メモリ素子が出力するデータを正常に読む事
が出来なくなるまで、上記動作を繰り返し、この時の数
をaとする。
The number N is decremented by 1, and the waiting time is (clock cycle × (N-1)). At the falling edge point of the clock signal S3, the micro CPU reads data output from the memory. If the data output from the memory element can be read normally, the number (N-1) is further decremented by 1, and the micro CP
The U element repeats the above operation until the data output from the memory element cannot be read normally, and the number at this time is a.

【0017】図1(ロ)は、数aの場合のタイムチャー
ト図を示す。数aによる待ち時間(クロック周期×a)
が終了し、データアクナリッジ信号がマイクロCPU素
子に入力し、クロック信号S3の降下エッジ点で、マイ
クロCPU素子はメモリ素子が出力するデータを読む。
図1(ロ)に示す如く、メモリ素子は、動作速度時間
(τ)が経過していないため、未だデータを出力してい
ない。
FIG. 1B is a time chart for the case of the number a. Wait time by number a (clock cycle x a)
Is completed, the data acknowledge signal is input to the micro CPU element, and at the falling edge point of the clock signal S3, the micro CPU element reads the data output from the memory element.
As shown in FIG. 1B, the memory element has not yet output data because the operation speed time (τ) has not elapsed.

【0018】従って、マイクロCPU素子はメモリ素子
のデータを読む事が出来ない。数aを+1し、(a+
1)とする。図1(ハ)は、数(a+1)の場合のタイ
ムチャート図を示す。数(a+1)による待ち時間(ク
ロック周期×(a+1))が終了し、データアクナリッ
ジ信号がマイクロCPU素子に入力し、クロック信号S
3の降下エッジ点で、マイクロCPU素子はメモリ素子
が出力するデータを読む。
Therefore, the micro CPU element cannot read the data of the memory element. The number a is incremented by 1, and (a +
1). FIG. 1C shows a time chart in the case of the number (a + 1). The waiting time (clock cycle × (a + 1)) based on the number (a + 1) ends, the data acknowledge signal is input to the micro CPU element, and the clock signal S
At the falling edge point of 3, the micro CPU device reads the data output by the memory device.

【0019】図1(ハ)に示す如く、待ち時間(クロッ
ク周期×(a+1))終了時点は、メモリ素子は、動作
速度τ時間経過していいるため、データを出力してい
る。従って、マイクロCPU素子はメモリ素子が出力す
るデータを正常に読む事が出来る。マイクロCPU素子
は、待ち時間を(クロック周期×(a+1))とし、メ
モリ素子のデータを読み書きする。
As shown in FIG. 1C, at the end of the waiting time (clock cycle × (a + 1)), the memory element outputs data because the operation speed τ has elapsed. Therefore, the micro CPU device can normally read the data output from the memory device. The micro CPU element sets the waiting time to (clock cycle × (a + 1)), and reads and writes data in the memory element.

【0020】[0020]

【実施例】図2は、第二の発明によるメモリのバスサイ
クル長最適化を実施する制御回路の一実施例の構成を示
す。マイクロCPU素子1は、データバスを介し、メモ
リ素子2とレジスタ3とに接続する。
FIG. 2 shows a configuration of an embodiment of a control circuit for optimizing a bus cycle length of a memory according to the second invention. The micro CPU element 1 is connected to the memory element 2 and the register 3 via a data bus.

【0021】カウンタ4は、レジスタ3に設定する数N
とクロック周期とにより、時間(クロック周期×N)を
計時し、データアクナリッジ信号(図2では、*DAC
Kと記す)を出力し、このデータアクナリッジ信号はマ
イクロCPU素子1に接続する。図3は、図2に示す制
御回路の動作のフロー図を示す。
The counter 4 stores the number N set in the register 3
And a clock cycle, a time (clock cycle × N) is measured, and a data acknowledge signal (* DAC in FIG. 2)
K), and this data acknowledge signal is connected to the micro CPU element 1. FIG. 3 shows a flowchart of the operation of the control circuit shown in FIG.

【0022】図3により、この制御回路の動作を説明す
る。始めに、レジスタ3にバスサイクル長を規定する数
N(図3では、BCREG=Nと記す)を設定する。メ
モリ3のアドレス番地$A(x)を指定し、待ち時間
(クロック周期×N)時間後に任意のデータXを書き込
む。
The operation of the control circuit will be described with reference to FIG. First, a number N (BCREG = N in FIG. 3) that defines the bus cycle length is set in the register 3. An address #A (x) of the memory 3 is designated, and arbitrary data X is written after a waiting time (clock cycle × N).

【0023】メモリ3のアドレス番地$A(x)を指定
し、待ち時間(クロック周期×N)時間後にデータX’
を読み出す。X=X’ならば、数Nより1を減算し、レ
ジスタ3の設定値をN−1(BCREG=N−1)と
し、再び、上記動作を繰り返す。X≠X’ならば、この
時のレジスタ3の設定値aに1を加算し、レジスタ3の
設定値をa+1(BCREG=a+1)とし、メモリ3
のアドレス番地$A(x)を指定し、待ち時間(クロッ
ク周期×(a+1))時間後に任意のデータXを書き込
む。
An address address @A (x) of the memory 3 is designated, and after the waiting time (clock cycle × N), the data X ′
Is read. If X = X ′, 1 is subtracted from the number N, the set value of the register 3 is set to N−1 (BCREG = N−1), and the above operation is repeated again. If X ≠ X ′, 1 is added to the set value a of the register 3 at this time, and the set value of the register 3 is set to a + 1 (BCREG = a + 1).
And write any data X after a waiting time (clock cycle × (a + 1)) time.

【0024】メモリ3のアドレス番地$A(x)を指定
し、待ち時間(クロック周期×(a+1))時間後にデ
ータX’を読み出す。X=X’ならば、終わりとなる。
X≠X’(NG)ならば、始めに戻るか、又はNGに係
わる処理を行う。マイクロCPU素子1が待ち時間(ウ
エイトサイクルとも呼ばれる)の設定可能な素子(例え
ば、モトローラ社製MC68360等)の場合、特にレ
ジスタ3とカウンタ4とを備えること無く、図3に示す
動作を実行する。
The address XA (x) of the memory 3 is designated, and the data X 'is read out after a waiting time (clock cycle × (a + 1)). If X = X ', the process ends.
If X ≠ X ′ (NG), return to the beginning or perform processing related to NG. When the micro CPU element 1 is an element (for example, MC68360 manufactured by Motorola, etc.) for which a waiting time (also called a wait cycle) can be set, the operation shown in FIG. 3 is executed without particularly including the register 3 and the counter 4. .

【0025】[0025]

【発明の効果】本発明によれば、マイクロCPU素子と
メモリ素子とを接続し、メモリ素子へデータを読み書き
する手法において、数Nを定め、マイクロCPU素子が
メモリ素子にアドレスを出力し、メモリ素子へデータを
読み書きする待ち時間をクロック周期×Nとし、メモリ
素子の同一アドレスに書き込むデータと読み出すデータ
とを照合する。
According to the present invention, in a method of connecting a micro CPU element and a memory element and reading and writing data in the memory element, the number N is determined, the micro CPU element outputs an address to the memory element, The waiting time for reading / writing data from / to the element is set to the clock cycle × N, and data to be written to the same address of the memory element and data to be read are collated.

【0026】この二つのデータが一致する場合は数Nを
−1し、メモリ素子へデータを読み書きする待ち時間を
クロック周期×(N−1)とし、再び、メモリ素子の同
一アドレスに書き込むデータと読み出すデータとを照合
する。この二つのデータが一致しなくなる迄、上記動作
を繰り返す。二つのデータが一致しなくなる数の数値a
を記憶する。
When these two data coincide, the number N is decremented by one, the waiting time for reading and writing data to the memory element is set to the clock cycle × (N-1), and the data to be written to the same address of the memory element again Check the data to be read. The above operation is repeated until the two data do not match. Numerical value a that makes two data inconsistent
Is stored.

【0027】マイクロCPU素子は、メモリ素子へデー
タを読み書きする待ち時間をクロック周期×(a+1)
とすることにより、メモリ素子の動作時間仕様を満足
し、且つ、最も速いメモリのバスサイクル長により、メ
モリ素子へデータを読み書きすることが出来る。更に、
電源投入時などの制御回路の初期動作処理(イニシャル
処理とも呼ばれる)に上記動作を付加する事により、メ
モリ素子の交換、或いはメモリ素子の改良に際しても、
常に、メモリ素子の動作時間仕様を満足し、且つ、最も
速いメモリのバスサイクル長により、マイクロCPU素
子はメモリ素子へデータを読み書きすることが出来る。
The micro CPU element has a waiting time for reading and writing data from / to the memory element is calculated by multiplying a clock cycle × (a + 1).
Accordingly, data can be read from and written to the memory element by satisfying the operation time specification of the memory element and by using the fastest memory bus cycle length. Furthermore,
By adding the above operation to the initial operation processing (also called initial processing) of the control circuit at the time of turning on the power supply, even when replacing the memory element or improving the memory element,
The micro CPU device can always read and write data from and to the memory device by always satisfying the operation time specifications of the memory device and by the fastest memory bus cycle length.

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

【図1】第一の発明によるメモリのバスサイクル長最適
化方法を説明するタイムチャート図
FIG. 1 is a time chart illustrating a method for optimizing a bus cycle length of a memory according to a first invention.

【図2】第二の発明によるメモリのバスサイクル長最適
化を実施する制御回路の一実施例の構成図
FIG. 2 is a block diagram of an embodiment of a control circuit for optimizing a bus cycle length of a memory according to the second invention;

【図3】第二の発明によるメモリのバスサイクル長最適
化を実施する制御回路の動作のフロー図
FIG. 3 is a flowchart showing the operation of a control circuit for optimizing a bus cycle length of a memory according to the second invention;

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

1 マイクロCPU素子 2 メモリ素子 3 レジスタ 4 カウンタ 1 Micro CPU element 2 Memory element 3 Register 4 Counter

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】マイクロCPU素子とメモリ素子とを接続
し、メモリ素子へデータを読み書きする方法に於いて、 数Nを定め、 マイクロCPU素子はメモリ素子にアドレスを出力し、
メモリ素子へのデータを読み書きする待ち時間をクロッ
ク周期×Nとし、 メモリ素子の同一アドレスに書き込むデータと読み出す
データとを照合し、 この二つのデータが一致する場合は数Nを−1し、 メモリ素子へのデータを読み書きする待ち時間をクロッ
ク周期×(N−1)とし、再び、メモリ素子の同一アド
レスに書き込むデータと読み出すデータとを照合し、 この二つのデータが一致しなくなる迄、上記動作を繰り
返し、 二つのデータが一致しなくなる数の数値aを記憶し、 マイクロCPU素子がメモリ素子へデータを読み書きす
る待ち時間を、 クロック周期×(a+1)とする、 ことを特徴とするメモリのバスサイクル長最適化方法。
In a method of connecting a micro CPU element and a memory element and reading and writing data in the memory element, a number N is determined, the micro CPU element outputs an address to the memory element,
The waiting time for reading / writing data to / from the memory element is assumed to be clock cycle × N, the data to be written to the same address of the memory element and the data to be read are collated, and if these two data match, the number N is decremented by one. The waiting time for reading / writing data from / to the element is defined as clock cycle × (N−1), and the data to be written to the same address of the memory element and the data to be read are compared again. The above operation is repeated until the two data do not match. And a waiting time for the micro CPU element to read / write data from / to the memory element is defined as clock cycle × (a + 1). Cycle length optimization method.
【請求項2】少なくともマイクロCPU素子とメモリ素
子とを備え、メモリ素子へデータを読み書きし、情報処
理を実施する情報処理装置のメモリのバスサイクル長制
御回路に於いて、 レジスタとカウンタとを備え、 レジスタは、予め数Nを設定し、 カウンタは、この数Nとクロック周期とにより時間(ク
ロック周期×N)を計時し、 請求項1に記載するメモリのバスサイクル長最適化方法
により、 マイクロCPU素子は、カウンタが計時する時間(クロ
ック周期×N)を待ち時間とし、メモリ素子の同一アド
レスに書き込むデータと読み出すデータとを照合し、 この二つのデータが一致する場合は、レジスタの数Nを
−1し、 カウンタは、このレジスタの数(N−1)とクロック周
期とにより、時間(クロック周期×(N−1))を計時
し、 マイクロCPU素子は、カウンタが計時するこの時間
(クロック周期×(N−1))を待ち時間とし、 再び、メモリ素子の同一アドレスに書き込むデータと読
み出すデータとを照合し、 この二つのデータが一致しなくなる迄、上記動作を繰り
返し、 二つのデータが一致しなくなる時のレジスタの数をaと
し、 マイクロCPU素子は、カウンタがレジスタの数aに+
1する数(a+1)とクロック周期とにより計時する時
間(クロック周期×(a+1))を待ち時間とし、メモ
リ素子へデータを読み書きする、 ことを特徴とするメモリのバスサイクル長最適化制御回
2. A bus cycle length control circuit for a memory of an information processing apparatus which includes at least a micro CPU element and a memory element, reads and writes data in the memory element, and performs information processing, includes a register and a counter. The register sets a number N in advance, and the counter measures time (clock period × N) based on the number N and the clock cycle. The method according to claim 1, further comprising: The CPU element uses the time counted by the counter (clock cycle × N) as a waiting time, compares data to be written to the same address of the memory element with data to be read, and if the two data match, the number of registers N The counter counts the time (clock cycle × (N−1)) based on the number of registers (N−1) and the clock cycle. The micro CPU element sets the time counted by the counter (clock cycle × (N-1)) as a waiting time, compares the data to be written to the same address of the memory element with the data to be read again, and compares the two data. The above operation is repeated until the data does not match, and the number of registers when the two data do not match is a.
A circuit for optimizing the bus cycle length of a memory, wherein a time (clock cycle × (a + 1)) measured by a number (a + 1) to be incremented by 1 and a clock cycle is set as a waiting time, and data is read / written from / to a memory element.
JP17446696A 1996-07-04 1996-07-04 Method of optimizing bus cycle length of memory and control circuit Pending JPH1021135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17446696A JPH1021135A (en) 1996-07-04 1996-07-04 Method of optimizing bus cycle length of memory and control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17446696A JPH1021135A (en) 1996-07-04 1996-07-04 Method of optimizing bus cycle length of memory and control circuit

Publications (1)

Publication Number Publication Date
JPH1021135A true JPH1021135A (en) 1998-01-23

Family

ID=15978984

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17446696A Pending JPH1021135A (en) 1996-07-04 1996-07-04 Method of optimizing bus cycle length of memory and control circuit

Country Status (1)

Country Link
JP (1) JPH1021135A (en)

Similar Documents

Publication Publication Date Title
TW487924B (en) Controlling burst sequence in synchronous memories
Yun et al. A high-performance asynchronous SCSI controller
JPH1021135A (en) Method of optimizing bus cycle length of memory and control circuit
JP2001051744A (en) Clock control circuit
JPH06103225A (en) Chain type dma system and dma controller therefor
JP2538680B2 (en) CRT control circuit
JP3711730B2 (en) Interface circuit
JPS5927334A (en) Direct memory access memory device
JP2002259326A (en) Dma controller and dma transferring method
JP3096382B2 (en) DMA circuit
JP2561308B2 (en) Data stacking device
JP2984670B1 (en) Timer circuit
JPH0222748A (en) Non-volatile memory control circuit
SU1262515A1 (en) Memory interphase
JP2526042Y2 (en) Memory / register control circuit
JPH0432922A (en) Interface control circuit
JP3256464B2 (en) Asynchronous transfer control method
JPH07146814A (en) Memory device
KR950014159B1 (en) Fifo register control method
JPS61288252A (en) Data transfer system
JPH08329034A (en) Analog data read circuit by microcomputer
JP2001005742A (en) Data transfer system
JPH04259151A (en) Serial data sink
JPH0769956B2 (en) Image input device
JPH0644180A (en) Dma device