JPH04267445A - Memory controller - Google Patents

Memory controller

Info

Publication number
JPH04267445A
JPH04267445A JP4738591A JP4738591A JPH04267445A JP H04267445 A JPH04267445 A JP H04267445A JP 4738591 A JP4738591 A JP 4738591A JP 4738591 A JP4738591 A JP 4738591A JP H04267445 A JPH04267445 A JP H04267445A
Authority
JP
Japan
Prior art keywords
memory
master
identification signal
signal
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
JP4738591A
Other languages
Japanese (ja)
Inventor
Masafumi Uchitani
内谷 雅史
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP4738591A priority Critical patent/JPH04267445A/en
Publication of JPH04267445A publication Critical patent/JPH04267445A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To allow a master to access a memory with higher response speed than that of the master and to allow the memory and the master to be synchronized with each other so as to enable data processing by making a memory cycle equal to the speed notified by the master. CONSTITUTION:A table ROM22 to which an n-bit parallel identification signal 21 is inputted is provided, and the identification signal 21 which serves as a signal informing of access by a master 16 is outputted simultaneously with the access. When the identification signal is inputted to the table ROM22, first count data 23 in the m-bit construction and second count data 24 in the m'-bit construction are outputted in resonse. The first count data 23 are inputted to a first counter 25 controlling the period of an RAS; while the second count data 24 are inputted to the second counter 26 controlling the timing of a CAS. An access signal is supplied to the load terminal of the first and second counters 25 and 26 as well as the set terminal of an RAS flag circuit 27.

Description

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

【0001】0001

【産業上の利用分野】本発明は、メモリの制御を行うメ
モリ制御装置に係わり、詳細にはメモリアクセス要求者
としてのCPU(中央処理装置)やDMA(直接メモリ
アクセス)等からなる複数のマスタが、効率的にメモリ
のアクセスを行うことができるようにしたメモリ制御装
置に関する。
[Industrial Field of Application] The present invention relates to a memory control device that controls memory, and more specifically, the present invention relates to a memory control device that controls memory, and more specifically, a plurality of masters such as a CPU (central processing unit) and a DMA (direct memory access) as memory access requesters. The present invention relates to a memory control device that can efficiently access memory.

【0002】0002

【従来の技術】1つの基本装置に必要に応じていくつか
の付加装置を接続して複合化したシステムを形成するこ
とは、例えば複写機本体にソータや原稿自動供給装置を
付ける場合のように各種の分野で広く行われている。こ
のような場合に、基本装置に備えられたメモリを付加装
置の側のマスタが利用することができれば、システムの
運用がスムーズかつ効果的に行われることはもちろんで
ある。
2. Description of the Related Art It is possible to form a complex system by connecting several additional devices to one basic device as necessary, such as when a sorter or automatic document feeder is attached to the main body of a copying machine. It is widely practiced in various fields. In such a case, if the master on the additional device side can utilize the memory provided in the basic device, the system will of course be operated smoothly and effectively.

【0003】ところで、メモリとマスタとの間で行われ
るデータの送受は通常非同期で行われている。
By the way, data transmission and reception between a memory and a master is normally performed asynchronously.

【0004】図4はこの場合の両装置間のタイミング制
御の様子を表わしたものである。同図(a)に示したよ
うに時刻t1 の時点でマスタがメモリをアクセスする
と、この時点からメモリに対するデータの書き込み等の
処理が開始する。マスタ側からのこのような処理が終了
すると、同図bに示したようにメモリから時刻t2 に
おいて応答信号が送信される。マスタは、この応答信号
を受信し、この後の時刻t3 に応答確認信号を送出す
る。 メモリはこの応答確認信号を受信して、時刻t4 に一
連の制御が終了する。
FIG. 4 shows the timing control between the two devices in this case. As shown in FIG. 5A, when the master accesses the memory at time t1, processing such as writing data to the memory starts from this time. When such processing from the master side is completed, a response signal is transmitted from the memory at time t2, as shown in FIG. The master receives this response signal and sends out a response confirmation signal at time t3. The memory receives this response confirmation signal, and the series of controls ends at time t4.

【0005】[0005]

【発明が解決しようとする課題】このように従来では、
アクセススピードの異なる複数のマスタがメモリに接続
される場合には、メモリがこれらのマスタに個々に対応
できるように、データの書き込みや読み出しのための制
御は非同期で行われるようになっていた。
[Problem to be solved by the invention] In this way, conventionally,
When multiple masters with different access speeds are connected to a memory, control for writing and reading data is performed asynchronously so that the memory can accommodate each of these masters individually.

【0006】このため、個々のデータ処理の作業の終了
時点で、メモリ側が応答信号を送信し、マスタ側がこれ
を確認して信号をメモリに対して返送するという手順が
必要とされ、この分だけ作業に要する時間が長時間化す
るという問題があった。
[0006] Therefore, at the end of each data processing task, a procedure is required in which the memory side sends a response signal, the master side confirms this, and sends the signal back to the memory. There was a problem that the time required for the work became long.

【0007】また従来のメモリシステムでは、アクセス
対象となるメモリよりも応答速度が遅いマスタはメモリ
にデータを書き込んだり、必要なデータを読み出すこと
ができないといった問題もあった。
Furthermore, in conventional memory systems, there is a problem in that a master whose response speed is slower than the memory to be accessed cannot write data to the memory or read necessary data.

【0008】そこで本発明の目的は、マスタがこれより
も応答速度の速いメモリに対してもアクセスすることが
できるようにしたメモリ制御装置を提供することにある
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a memory control device that allows a master to access a memory having a faster response speed.

【0009】本発明の他の目的は、メモリとマスタが同
期をとってデータ処理を行うことができるようにしたメ
モリ制御装置を提供することにある。
Another object of the present invention is to provide a memory control device that allows a memory and a master to perform data processing in synchronization.

【0010】0010

【課題を解決するための手段】請求項1記載の発明では
、メモリと接続されその制御を行うメモリ制御手段と、
このメモリのアクセスを行うそれぞれのマスタがアクセ
スの際のスピードを表わした識別信号を送信したときこ
れを受信する識別信号受信手段と、受信した識別信号に
応じたスピードで該当するマスタとの間のメモリサイク
ルを設定するメモリサイクル設定手段とをメモリ制御装
置に具備させる。
[Means for Solving the Problems] The invention according to claim 1 includes memory control means connected to the memory and controlling the memory;
When each master that accesses this memory transmits an identification signal indicating the access speed, an identification signal receiving means that receives this and the corresponding master at a speed according to the received identification signal is transmitted. The memory control device is provided with a memory cycle setting means for setting a memory cycle.

【0011】すなわち請求項1記載の発明では、マスタ
がアクセスの際のスピードを表わした識別信号をメモリ
に送出し、メモリ側がこのマスタに適合するメモリサイ
クルを設定することにして、前記した目的を達成する。
That is, in the invention as claimed in claim 1, the master sends an identification signal representing the access speed to the memory, and the memory side sets a memory cycle suitable for the master, thereby achieving the above-mentioned object. achieve.

【0012】請求項2記載の発明では、メモリと接続さ
れその制御を行うメモリ制御手段と、このメモリのアク
セスを行うマスタがアクセスの際に自己のアクセススピ
ードを表わした識別信号を送信したときこれを受信する
識別信号受信手段と、識別信号の受信時を起点としてこ
のマスタとの間で識別信号に応じたメモリサイクルを開
始させるメモリサイクル開始手段とをメモリ制御装置に
具備させる。
In the invention as claimed in claim 2, the memory control means is connected to the memory and controls the memory, and when the master accessing the memory transmits an identification signal representing its own access speed at the time of access, The memory control device is provided with an identification signal receiving means for receiving the identification signal, and a memory cycle starting means for starting a memory cycle with the master according to the identification signal starting from the time of reception of the identification signal.

【0013】すなわち請求項2記載の発明では、マスタ
がアクセスの際のスピードを表わした識別信号をメモリ
に送出し、メモリ側がこの信号を受信した時点でマスタ
に適合するメモリサイクルが開始することにして、前記
した目的を達成する。
In other words, in the invention as claimed in claim 2, the master sends an identification signal indicating the access speed to the memory, and when the memory side receives this signal, a memory cycle suitable for the master starts. and achieve the above objectives.

【0014】[0014]

【実施例】以下実施例につき本発明を詳細に説明する。EXAMPLES The present invention will be explained in detail with reference to Examples below.

【0015】図2は本発明の一実施例のメモリ制御装置
を適用したメモリシステムを表わしたものである。この
メモリシステムのデータバス11、アドレスバス12お
よびコントロールバス13の全部または一部には、デー
タの格納を行うメモリ14、本実施例のメモリ制御装置
15および第1〜第Nのマスタ16−1、……、16−
Nが接続されている。ここで第1〜第Nのマスタ16−
1、……、16−Nとは、例えばCPUやDMAをいう
。なお、本実施例ではメモリ14としてDRAM(ダイ
ナミック・ランダム・アクセス・メモリ)を使用してい
る。
FIG. 2 shows a memory system to which a memory control device according to an embodiment of the present invention is applied. All or part of the data bus 11, address bus 12, and control bus 13 of this memory system includes a memory 14 for storing data, a memory control device 15 of this embodiment, and first to Nth masters 16-1. ,...,16-
N is connected. Here, the first to Nth masters 16-
1, . . . , 16-N refer to, for example, a CPU or a DMA. Note that in this embodiment, a DRAM (dynamic random access memory) is used as the memory 14.

【0016】図1は、本実施例のメモリ制御装置の構成
の概要を表わしたものである。メモリ制御装置15は、
nビットパラレルの識別信号21を入力するテーブルR
OM(リード・オンリ・メモリ)22を備えている。こ
こで識別信号21は、アクセスの対象となるマスタ16
のアクセススピードを知らせる信号であり、アクセスと
同時に出力される。
FIG. 1 shows an outline of the configuration of the memory control device of this embodiment. The memory control device 15 is
Table R for inputting the n-bit parallel identification signal 21
It is equipped with an OM (read only memory) 22. Here, the identification signal 21 is the master 16 to be accessed.
This is a signal that informs the access speed of the data, and is output simultaneously with the access.

【0017】このテーブルROM22には、2n 種類
のアクセススピードに対応したデータが格納されている
。 テーブルROM22に識別信号21が入力すると、これ
に対応したmビット構成の第1のカウントデータ23と
、m′ビット構成の第2のカウントデータ24が出力さ
れるようになっている。第1のカウントデータ23はR
AS(行アドレスストローブ)の周期を制御するための
第1のカウンタ25に、また第2のカウントデータ24
はCAS(列アドレスストローブ)のタイミングを制御
するための第2のカウンタ26にそれぞれ入力される。 これら第1および第2のカウンタ25、26のロード端
子およびRASフラグ回路27のセット端子には、サイ
クルの開始を設定するためのアクセス信号29が供給さ
れるようになっている。
This table ROM 22 stores data corresponding to 2n types of access speeds. When the identification signal 21 is input to the table ROM 22, corresponding first count data 23 having an m-bit configuration and second count data 24 having an m'-bit configuration are output. The first count data 23 is R
A first counter 25 for controlling the cycle of AS (row address strobe), and second count data 24
are respectively input to a second counter 26 for controlling the timing of CAS (column address strobe). The load terminals of the first and second counters 25 and 26 and the set terminal of the RAS flag circuit 27 are supplied with an access signal 29 for setting the start of a cycle.

【0018】第1のカウンタのキャリー端子から出力さ
れる桁上げ信号31はRASフラグ回路27のクリア端
子に入力され、RASフラグをオフにするようになって
いる。また、第2のカウンタ26のキャリー端子から出
力される桁上げ信号32はCASフラグ回路33のセッ
ト端子に入力され、CASフラグをオンにするようにな
っている。このCASフラグは桁上げ信号31によって
同様にオフされる。RASフラグ回路27からはRAS
信号35が、またCASフラグ回路33からはCAS信
号36がそれぞれ出力されることになる。
The carry signal 31 output from the carry terminal of the first counter is input to the clear terminal of the RAS flag circuit 27 to turn off the RAS flag. Further, the carry signal 32 output from the carry terminal of the second counter 26 is input to the set terminal of the CAS flag circuit 33 to turn on the CAS flag. This CAS flag is similarly turned off by the carry signal 31. From the RAS flag circuit 27, the RAS
The signal 35 and the CAS signal 36 are output from the CAS flag circuit 33, respectively.

【0019】図3と共にこのような構成のメモリ制御装
置の動作を説明する。例えば第1のマスタ16−1がメ
モリ14に対してアクセスするものとする。この場合に
第1のマスタ16−1は自己のアクセススピードを表わ
した識別信号21をメモリ14に対するアクセスと同時
に出力する。
The operation of the memory control device having such a configuration will be explained with reference to FIG. For example, assume that the first master 16-1 accesses the memory 14. In this case, the first master 16-1 outputs an identification signal 21 representing its own access speed at the same time it accesses the memory 14.

【0020】この時刻t11に識別信号21を受信した
テーブルROM22は、第1のマスタ16−1のアクセ
ススピードに応じたカウント値の第1のカウントデータ
23と第2のカウントデータ24とをそれぞれ出力する
。 第1のカウントデータ23は第1のカウンタ25に供給
されてそのカウント値がプリセットされる。同様に第2
のカウントデータ24は第2のカウンタ26に供給され
てそのカウント値がプリセットされる。また、これと同
時刻t11にアクセス信号29がRASフラグ回路27
に供給され、図3(a)に示したように負論理のRAS
信号(RAS*)を立ち下がらせる。
The table ROM 22, which has received the identification signal 21 at time t11, outputs first count data 23 and second count data 24, each having a count value corresponding to the access speed of the first master 16-1. do. The first count data 23 is supplied to a first counter 25 and its count value is preset. Similarly, the second
The count data 24 is supplied to a second counter 26 and its count value is preset. Also, at the same time t11, the access signal 29 is transmitted to the RAS flag circuit 27.
as shown in FIG. 3(a), negative logic RAS
Let the signal (RAS*) fall.

【0021】第1のカウンタ25および第2のカウンタ
26は図示しないクロック信号に同期してプリセットさ
れたカウント値を計数していく。そして、まず時刻t1
2に第2のカウンタ26がプリセットされたカウント値
まで計数し桁上げ信号32を出力する。桁上げ信号32
はCASフラグ回路33をセットし、図3(b)に示し
たように負論理のCAS信号(CAS*)を立ち下がら
せる。
The first counter 25 and the second counter 26 count preset count values in synchronization with a clock signal (not shown). Then, first, time t1
2, the second counter 26 counts up to a preset count value and outputs a carry signal 32. Carry signal 32
sets the CAS flag circuit 33 and causes the negative logic CAS signal (CAS*) to fall as shown in FIG. 3(b).

【0022】この後、第1のカウンタ25がそのプリセ
ットされかカウント値まで計数し、その時刻t13に桁
上げ信号31を出力する。この桁上げ信号31はRAS
フラグ回路27およびCASフラグ回路33に入力され
て、これらのフラグをオフにする。この結果、RAS信
号(RAS*)およびCAS信号(CAS*)が共に立
ち下がる。
Thereafter, the first counter 25 counts up to the preset count value and outputs a carry signal 31 at time t13. This carry signal 31 is RAS
The signal is input to the flag circuit 27 and the CAS flag circuit 33 to turn off these flags. As a result, both the RAS signal (RAS*) and the CAS signal (CAS*) fall.

【0023】このようにして、この実施例のメモリ制御
装置では、マスタ16のアクセススピードに応じたタイ
ミングでRAS信号およびCAS信号が発生する。すな
わち、メモリ制御装置15はアクセスを行ったそのマス
タ16のスピードに応じて応答を行うことになる。
In this way, in the memory control device of this embodiment, the RAS signal and the CAS signal are generated at timings corresponding to the access speed of the master 16. That is, the memory control device 15 responds according to the speed of the master 16 that has accessed it.

【0024】このように本実施例のメモリ制御装置では
各マスタ16が自己のアクセススピードのフラグを出し
、メモリ制御装置15がこれを判別してマスタ16のス
ピードにメモリ制御装置15のスピードを合わせる。 したがって、これらマスタ16−1〜16−Nの応答ス
ピードが一致しなくてもメモリ14を共有することがで
きる。
As described above, in the memory control device of this embodiment, each master 16 issues a flag indicating its own access speed, and the memory control device 15 determines this flag and adjusts the speed of the memory control device 15 to the speed of the master 16. . Therefore, the memory 14 can be shared even if the response speeds of these masters 16-1 to 16-N do not match.

【0025】なお、実施例でメモリ制御装置はマスタか
ら送られてきた識別信号の受信時刻を起点としてメモリ
サイクルを開始させたが、これ以外の時刻を起点として
メモリサイクルを開始させるようにしてもよい。
[0025] In the embodiment, the memory control device starts the memory cycle using the reception time of the identification signal sent from the master as the starting point, but it is also possible to start the memory cycle using the time other than this as the starting point. good.

【0026】[0026]

【発明の効果】以上説明したように本発明によれば、マ
スタ側が通知したスピードにメモリサイクルを合わせる
ことができる。従って、既存のメモリシステム内の比較
的古いマスタであってもこれを交換することなくメモリ
に対するアクセスを行うことができ、経済的なメモリシ
ステムを構成することができる。
As described above, according to the present invention, memory cycles can be adjusted to the speed notified by the master side. Therefore, even a relatively old master in an existing memory system can access the memory without replacing it, and an economical memory system can be constructed.

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

【図1】本実施例のメモリ制御装置のブロック図である
FIG. 1 is a block diagram of a memory control device according to an embodiment.

【図2】この実施例のメモリ制御装置を使用したメモリ
システムのシステム構成図である。
FIG. 2 is a system configuration diagram of a memory system using the memory control device of this embodiment.

【図3】この実施例のRAS信号およびCAS信号の時
間変化を示すタイミング図である。
FIG. 3 is a timing diagram showing temporal changes in the RAS signal and CAS signal in this embodiment.

【図4】従来のマスタとメモリ間の通信の様子の一例を
示すタイミング図である。
FIG. 4 is a timing diagram showing an example of communication between a conventional master and a memory.

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

14  メモリ 16−1  第1のマスタ 16−2  第2のマスタ 15  メモリ制御装置 23  作業用メモリ 14 Memory 16-1 First master 16-2 Second master 15 Memory control device 23 Working memory

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  メモリと接続されその制御を行うメモ
リ制御手段と、このメモリのアクセスを行うそれぞれの
マスタがアクセスの際のスピードを表わした識別信号を
送信したときこれを受信する識別信号受信手段と、受信
した識別信号に応じたスピードで該当するマスタとの間
のメモリサイクルを設定するメモリサイクル設定手段と
を具備することを特徴とするメモリ制御装置。
1. Memory control means that is connected to the memory and controls it, and identification signal receiving means that receives an identification signal indicating the speed of access when each master accessing the memory transmits the identification signal. and memory cycle setting means for setting a memory cycle with a corresponding master at a speed according to a received identification signal.
【請求項2】  メモリと接続されその制御を行うメモ
リ制御手段と、このメモリのアクセスを行うマスタがア
クセスの際に自己のアクセススピードを表わした識別信
号を送信したときこれを受信する識別信号受信手段と、
識別信号の受信時を起点としてこのマスタとの間で識別
信号に応じたメモリサイクルを開始させるメモリサイク
ル開始手段とを具備することを特徴とするメモリ制御装
置。
2. Memory control means that is connected to the memory and controls it, and an identification signal receiver that receives an identification signal indicating its own access speed when a master accessing the memory transmits an identification signal when accessing the memory. means and
1. A memory control device comprising: memory cycle starting means for starting a memory cycle between the master and the master according to the identification signal, starting from the time of reception of the identification signal.
JP4738591A 1991-02-21 1991-02-21 Memory controller Pending JPH04267445A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4738591A JPH04267445A (en) 1991-02-21 1991-02-21 Memory controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4738591A JPH04267445A (en) 1991-02-21 1991-02-21 Memory controller

Publications (1)

Publication Number Publication Date
JPH04267445A true JPH04267445A (en) 1992-09-24

Family

ID=12773638

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4738591A Pending JPH04267445A (en) 1991-02-21 1991-02-21 Memory controller

Country Status (1)

Country Link
JP (1) JPH04267445A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6687783B1 (en) 1998-07-10 2004-02-03 Tokyo Electron Device Limited Access apparatus and method for accessing a plurality of storage device having different characteristics

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6687783B1 (en) 1998-07-10 2004-02-03 Tokyo Electron Device Limited Access apparatus and method for accessing a plurality of storage device having different characteristics

Similar Documents

Publication Publication Date Title
US4628482A (en) Common memory control system with two bus masters
US5287486A (en) DMA controller using a programmable timer, a transfer counter and an or logic gate to control data transfer interrupts
US5465333A (en) Apparatus for programming the speed at which an expansion card generates ready signals to insure compatibility with the speed of an attached bus
US8499113B2 (en) Circuit configurations and method for controlling a data exchange in a circuit configuration
US7062588B2 (en) Data processing device accessing a memory in response to a request made by an external bus master
KR930002962A (en) Programmable controller
JPH04267445A (en) Memory controller
US20030182478A1 (en) Direct memory access controller, direct memory access device, and request device
JP3606852B2 (en) Bus control system
KR930004910Y1 (en) Data bus arbitrator for multiprocessor system
JP3096382B2 (en) DMA circuit
JP2533923B2 (en) Storage controller
JPH0560625B2 (en)
JP2619385B2 (en) DMA controller
JPH04123160A (en) Receiving data processing system
JPH03223948A (en) Dma controller
JPH02188856A (en) Memory access circuit
JPH05120207A (en) Data transfer system
KR920004415B1 (en) A circuit and a method for transfering data
JP2579003B2 (en) Data transfer device between memories
KR890013567A (en) Direct Memory Access Control
JPH03137754A (en) Access control system for shared memory
JPH03211652A (en) Direct memory access circuit
JPS6267653A (en) Bus control system
JPS62249263A (en) Direct memory access controller