JPH07220466A - Apparatus for controlling accessing to memory - Google Patents

Apparatus for controlling accessing to memory

Info

Publication number
JPH07220466A
JPH07220466A JP6012700A JP1270094A JPH07220466A JP H07220466 A JPH07220466 A JP H07220466A JP 6012700 A JP6012700 A JP 6012700A JP 1270094 A JP1270094 A JP 1270094A JP H07220466 A JPH07220466 A JP H07220466A
Authority
JP
Japan
Prior art keywords
address
memory
access
dram
circuit
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.)
Withdrawn
Application number
JP6012700A
Other languages
Japanese (ja)
Inventor
Tetsuya Morita
哲哉 森田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP6012700A priority Critical patent/JPH07220466A/en
Publication of JPH07220466A publication Critical patent/JPH07220466A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To access a memory at higher speeds. CONSTITUTION:A judging circuit 125 checks a memory address fed from a CPU and latched by a latch circuit 103. In other words, it is checked whether a column address of the address is carried. As a result, if it is detected that the column address is carried, the address is specified by a RAS and a CAS to make access to a DRAM. If the address is not carried, the operation is switched to a first page mode and only the CAS is used to access the DRAM.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はメモリアクセス制御装置
に関し、特に、例えば、レーザビームプリンタ等のラス
タスキヤン型画像処理装置のビツトマツプメモリを高速
にアクセスする為のメモリアクセス制御装置に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory access control device, and more particularly to a memory access control device for high speed access to a bit map memory of a raster scan type image processing device such as a laser beam printer. .

【0002】[0002]

【従来の技術】従来の画像処理装置におけるビツトマツ
プメモリコントローラ(メモリアクセス回路)は、図4
のように構成される。CPU(不図示)の制御によりデ
ータ書き込みのためのアクセスを行う際、アドレスバス
212を経て与えられたアドレスをアドレスラッチ信号
215に従ってラツチ回路203にてラツチし、そのラ
ッチ出力223を加算回路204にて次のメモリアクセ
スのアドレスとして生成し、セレクタ205、206を
シーケンサ(SEQ)202によつて制御する事によ
り、図5に示すようなタイミング制御を行つている。ま
た、図6に示すようなタイミング制御でリードモディフ
ァイライトを行うこともある。
2. Description of the Related Art A conventional bit map memory controller (memory access circuit) in an image processing apparatus is shown in FIG.
It is configured like. When accessing for writing data under the control of the CPU (not shown), the latch circuit 203 latches the address given via the address bus 212 in accordance with the address latch signal 215, and the latch output 223 is sent to the adder circuit 204. By generating the address as the address of the next memory access and controlling the selectors 205 and 206 by the sequencer (SEQ) 202, the timing control as shown in FIG. 5 is performed. Further, the read modify write may be performed by the timing control as shown in FIG.

【0003】図5〜図6において、クロック信号の上に
付された数字(0、1、2、…)は以降の説明のために
便宜上付された数字であり、任意の時刻、例えば、クロ
ック“0”からの時間をカウントするために用いられ
る。
5 to 6, the numbers (0, 1, 2, ...) Affixed to the clock signal are numbers for convenience of description below, and are arbitrary times, for example, a clock. Used to count the time from "0".

【0004】また、図4において、201はCPU(不
図示)とのタイミングをストローブ信号とクロック信号
209とを用いてとるタイミング回路、211はシーケ
ンサ(SEQ)202への起動信号、216はローアド
レス/カラムアドレスを切り換える為の信号(COLE
N)、218はシフタ(SH)207によりシフトした
データ、219はシフタ(SH)によりシフトアウトし
たデータ、208はシフトデータ或はシフトアウトデー
タをSEQ202からのZND信号217に従って選択
してメモリデータ222を出力するセレクタである。
In FIG. 4, 201 is a timing circuit for timing with a CPU (not shown) using a strobe signal and a clock signal 209, 211 is a start signal to a sequencer (SEQ) 202, and 216 is a low address. / Signal for switching the column address (COLE
N), 218 is data shifted by the shifter (SH) 207, 219 is data shifted out by the shifter (SH), 208 is shift data or shift-out data selected according to the ZND signal 217 from the SEQ 202 and the memory data 222 Is a selector that outputs.

【0005】[0005]

【発明が解決しようとする課題】しかしながら上記従来
例では、図5のタイミングチヤートに示されているよう
に、データバス213を経て与えられたデータを、シフ
ト値バス214を経て与えられたシフト値に従ってシフ
タ(SH)207によってシフトして、その出力データ
をメモリへ書き込む際、CPU(不図示)より出力され
たアドレスに対して加算を行う事により、カラムアドレ
スからローアドレスへの桁上りを検出していない為、毎
回RAS220を出し直している。これは、図6に示し
たリードモディファイライトの場合も同様である。この
ためメモリへのアクセス速度が速くならないという問題
があった。図5に示す例では、2つのデータ書き込みの
ためにクロック10個分に相当する時間を要し、図6に
示すリードモディファイライトでは2つのリードモディ
ファイライトのためにクロック16個分に相当する時間
を要する。
However, in the above-mentioned conventional example, as shown in the timing chart of FIG. 5, the data supplied via the data bus 213 is converted into the shift value supplied via the shift value bus 214. According to the shift, the shifter (SH) 207 shifts the output data, and when writing the output data to the memory, the carry output from the column address to the row address is detected by adding to the address output from the CPU (not shown). Since it has not been done, the RAS 220 is reissued every time. This is the same in the case of the read modify write shown in FIG. Therefore, there is a problem that the access speed to the memory does not increase. In the example shown in FIG. 5, it takes a time corresponding to 10 clocks for writing two data, and in the read modify write shown in FIG. 6, a time corresponding to 16 clocks for two read modify writes. Requires.

【0006】本発明は上記従来例に鑑みてなされたもの
で、メモリへの高速アクセスが可能なメモリアクセス制
御装置を提供することを目的とする。
The present invention has been made in view of the above conventional example, and an object of the present invention is to provide a memory access control device capable of high-speed access to a memory.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に本発明のメモリアクセス制御装置は、以下の様な構成
からなる。即ち、DRAMへのアクセス動作を制御する
メモリアクセス制御装置であって、外部装置から入力さ
れたメモリアドレスをラッチするラッチ手段と、前記ラ
ッチ手段によってラッチされたメモリアドレスに関し
て、カラムアドレスからの桁上りが発生するか否かを判
別する判別手段を有し、前記判別手段の判別結果に従っ
て、高速アクセスが可能な動作モードを切り替えること
を特徴とするメモリアクセス制御装置を備える。
To achieve the above object, the memory access control device of the present invention has the following configuration. That is, a memory access control device for controlling an access operation to a DRAM, wherein a latch means for latching a memory address input from an external device and a carry address from a column address for the memory address latched by the latch means. The memory access control device further comprises a discriminating means for discriminating whether or not occurs, and the operation mode capable of high-speed access is switched according to the discrimination result of the discriminating means.

【0008】[0008]

【作用】以上の構成により本発明は、DRAMへのアク
セス時、カラムアドレスからの桁上りが発生するか否か
を判別し、その判別結果に従って、DRAMへのアクセ
スを高速アクセスが可能な、例えば、ファーストページ
モード、ニブルモード、或は、スタティックカラムモー
ド等の動作モードに切り替えるよう動作する。
With the above structure, the present invention determines whether or not a carry from the column address occurs when accessing the DRAM, and according to the result of the determination, the DRAM can be accessed at high speed. , First page mode, nibble mode, or static column mode.

【0009】[0009]

【実施例】以下添付図面を参照して本発明の好適な実施
例を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

【0010】図1は本発明の代表的な実施例であるDR
AMへのアクセスを制御するメモリアクセス回路の構成
を示すブロツク図である。
FIG. 1 shows a DR which is a typical embodiment of the present invention.
It is a block diagram showing a configuration of a memory access circuit for controlling access to AM.

【0011】図1において、101はCPU(不図示)
とのタイミングをとるタイミング回路、102は一連の
動作を制御する為のシーケンサ(SEQ)、103はC
PUより与えられたアドレスをラツチする為のラツチ回
路(LAT)、104はDRAMアクセス時のアドレス
を生成する為の加算回路、105はアドレスの上位部よ
りRASを生成する為の回路、106はメモリアドレス
を生成する為の回路、107はバレルシフタ(SH)、
108はセレクタ、109はシステムクロツク、110
はCPUより出力されるバスストローブ信号、111は
シーケンサ(SEQ)102への起動信号、112はア
ドレスバス、113はデータバス、114はバレルシフ
タへシフト値を入力する為のバス、115はアドレスの
ラツチ信号、116はローアドレス/カラムアドレスを
切り換える為の信号(COLEN)、117はDRAM
アクセス時にイネーブルとなる信号(ZND)である。
In FIG. 1, 101 is a CPU (not shown).
A timing circuit for timing with, 102 is a sequencer (SEQ) for controlling a series of operations, and 103 is a C
A latch circuit (LAT) for latching an address given by PU, 104 an adder circuit for generating an address at the time of DRAM access, 105 a circuit for generating RAS from the upper part of the address, and 106 a memory A circuit for generating an address, 107 is a barrel shifter (SH),
108 is a selector, 109 is a system clock, 110
Is a bus strobe signal output from the CPU, 111 is a start signal to the sequencer (SEQ) 102, 112 is an address bus, 113 is a data bus, 114 is a bus for inputting a shift value to the barrel shifter, and 115 is an address latch. Signal 116 is a signal (COLEN) for switching a row address / column address, 117 is a DRAM
This is a signal (ZND) that is enabled during access.

【0012】また、118はバレルシフタ(SH)10
7によりシフトしたデータ、119はバレルシフタによ
りシフトアウトしたデータ、120はRAS信号、12
1はメモリアドレス、122はデータバス、123はラ
ツチされたアドレス、124は加算回路104の出力ア
ドレス、125はラツチしたアドレスのカラムアドレス
が桁上りを生じるか否かの判別回路、126はシーケン
サ(SEQ)102へ桁上りの有無を返す信号である。
Further, 118 is a barrel shifter (SH) 10.
7 shifted data, 119 shifted data by barrel shifter, 120 RAS signal, 12
1 is a memory address, 122 is a data bus, 123 is a latched address, 124 is an output address of the adder circuit 104, 125 is a circuit for determining whether a column address of the latched address causes a carry, and 126 is a sequencer ( This signal returns to the SEQ) 102 whether or not there is a carry.

【0013】次に、上記構成の回路の動作説明を、図2
に示すタイミングチャートを参照して行う。本実施例で
はDRAMアクセスにおいて、桁上りの生じる時と生じ
ない時とで動作モードを変え、桁上りの生じない時には
ファーストページモードで動作する。
Next, an explanation of the operation of the circuit having the above configuration will be given with reference to FIG.
This is performed with reference to the timing chart shown in. In this embodiment, in the DRAM access, the operation mode is changed depending on whether or not a carry occurs, and when the carry does not occur, the operation is performed in the first page mode.

【0014】(1)桁上りの生じる時 これは、図5に示したように従来と同じやり方でメモリ
アクセスを行う。
(1) When a carry occurs When this occurs, memory access is performed in the same manner as in the conventional method as shown in FIG.

【0015】(2)桁上りの生じない時 この場合にはDRAMアクセスタイミングは図2に示す
ようになる。即ち、アドレスをラツチした時点で、加算
回路104の出力にカラムアドレス(下位アドレス)が
桁上りを生じるかどうかを125の判別回路にて判定
し、シーケンサ(SEQ)102に桁上りの無い事を知
らせる。このようにして、本実施例のメモリアクセス回
路は、クロック信号が“0”〜“3”までは従来と同様
にRASとCASとを与えてメモリアドレスを特定する
動作を行うが、次のデータ書き込みではファーストペー
ジモードとなり、RASを与えずCASのみを与えてア
クセスを行う。
(2) When carry does not occur In this case, the DRAM access timing is as shown in FIG. That is, when the address is latched, whether or not the column address (lower address) carries in the output of the adder circuit 104 is judged by the judging circuit 125, and the sequencer (SEQ) 102 has no carry. Inform. In this manner, the memory access circuit of the present embodiment performs the operation of specifying the memory address by giving RAS and CAS in the same manner as in the conventional case when the clock signal is "0" to "3". In writing, the first page mode is set, and RAS is not given and only CAS is given to access.

【0016】従って、2つのデータの書き込みに要する
クロックを図2と図5とで比較してみると、桁上りの生
じない時にはファーストページモードではクロック信号
“4”〜“6”の動作が不要となりその分だけアクセス
時間が短縮される。
Therefore, comparing the clocks required for writing the two data in FIGS. 2 and 5, the operation of the clock signals "4" to "6" is unnecessary in the first page mode when no carry occurs. The access time is shortened accordingly.

【0017】従って本実施例に従えば、DRAMへのア
クセス動作において、そのアクセスアドレスのカラムア
ドレス(下位アドレス)に桁上りを生じるかどうかの判
定結果に従って動作モードを切り替えてアクセスするの
で、桁上りを生じない場合には、より高速にアクセス可
能な動作モードでDRAMをアクセスすることができ
る。これによって、DRAMへ高速アクセスが図られる
ことになる。
Therefore, according to the present embodiment, in the access operation to the DRAM, the column address (lower address) of the access address is accessed by switching the operation mode according to the determination result as to whether or not a carry occurs. If the error does not occur, it is possible to access the DRAM in an operation mode that allows faster access. This enables high speed access to the DRAM.

【0018】また、図3に示すようなタイミングチャー
トに従って、ファーストページモードにおけるリードモ
デイフアイライト動作においても、図6に示す従来例と
比較して、高速なメモリアクセスが実現できる。この場
合も同様に、2つめのデータのリードモデイフアイライ
トにおいてRASを与えないので、その分だけメモリア
クセスが速くなる。
Further, according to the timing chart as shown in FIG. 3, even in the read modify write operation in the first page mode, high speed memory access can be realized as compared with the conventional example shown in FIG. In this case as well, since RAS is not applied in the read-modify-write of the second data, the memory access becomes faster accordingly.

【0019】なお本実施例では、ファーストページモー
ドでメモリに対する書き込み動作を行う場合について説
明したが、本発明はこれによって限定されるものではな
い。例えば、他の高速アクセスモードであるスタティッ
クカラム、ニブル等を用いることもできる。
In this embodiment, the case of performing the write operation to the memory in the first page mode has been described, but the present invention is not limited to this. For example, it is possible to use static columns, nibbles, etc., which are other high-speed access modes.

【0020】[0020]

【発明の効果】以上説明したように本発明によれば、D
RAMへのアクセス時、カラムアドレスからの桁上りが
発生するか否かを判別し、その判別結果に従って、DR
AMへのアクセスを高速アクセスが可能な、例えば、フ
ァーストページモード、ニブルモード、或は、スタティ
ックカラムモード等の動作モードに切り替えるので、確
率的に桁上りの生じない場合の方が高いアクセスにおい
ては、メモリアクセスの高速化が実現できるという効果
がある。
As described above, according to the present invention, D
At the time of accessing the RAM, it is determined whether or not a carry from the column address occurs, and DR is determined according to the determination result.
The access to the AM is switched to an operation mode such as a fast page mode, a nibble mode, or a static column mode, which enables high-speed access. The effect is that the memory access can be speeded up.

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

【図1】本発明の代表的な実施例であるメモリアクセス
回路の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a memory access circuit that is a typical embodiment of the present invention.

【図2】メモリ書き込み時のタイミングチヤートであ
る。
FIG. 2 is a timing chart when writing to a memory.

【図3】メモリへのリードモデイフアライト時のタイミ
ングチヤートである。
FIG. 3 is a timing chart at the time of a read modify write to a memory.

【図4】従来のメモリアクセス回路の構成を示すブロツ
ク図である。
FIG. 4 is a block diagram showing a configuration of a conventional memory access circuit.

【図5】従来例に従うメモリ書き込み時のタイミングチ
ヤートである。
FIG. 5 is a timing chart at the time of writing to a memory according to a conventional example.

【図6】従来例に従うメモリへのリードモディファイラ
イト時のタイミングチヤートである。
FIG. 6 is a timing chart at the time of read-modify-write to the memory according to the conventional example.

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

102 シーケンサ(SEQ) 103 ラッチ回路 104 加算回路 125 判別回路 102 Sequencer (SEQ) 103 Latch circuit 104 Adder circuit 125 Discrimination circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 DRAMへのアクセス動作を制御するメ
モリアクセス制御装置であって、 外部装置から入力されたメモリアドレスをラッチするラ
ッチ手段と、 前記ラッチ手段によってラッチされたメモリアドレスに
関して、カラムアドレスからの桁上りが発生するか否か
を判別する判別手段を有し、 前記判別手段の判別結果に従って、高速アクセスが可能
な動作モードを切り替えることを特徴とするメモリアク
セス制御装置。
1. A memory access control device for controlling an access operation to a DRAM, comprising latch means for latching a memory address input from an external device, and a memory address latched by the latch means from a column address. The memory access control device is characterized in that it has a discriminating means for discriminating whether or not the carry occurs, and switches the operation mode capable of high-speed access according to the discrimination result of the discriminating means.
【請求項2】前記高速アクセス可能な動作モードには、
ファーストページモード、ニブルモード、スタティック
カラムモードを含むことを特徴とする請求項1に記載の
メモリアクセス制御装置。
2. The high-speed accessible operation mode includes:
The memory access control device according to claim 1, comprising a first page mode, a nibble mode, and a static column mode.
JP6012700A 1994-02-04 1994-02-04 Apparatus for controlling accessing to memory Withdrawn JPH07220466A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6012700A JPH07220466A (en) 1994-02-04 1994-02-04 Apparatus for controlling accessing to memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6012700A JPH07220466A (en) 1994-02-04 1994-02-04 Apparatus for controlling accessing to memory

Publications (1)

Publication Number Publication Date
JPH07220466A true JPH07220466A (en) 1995-08-18

Family

ID=11812676

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6012700A Withdrawn JPH07220466A (en) 1994-02-04 1994-02-04 Apparatus for controlling accessing to memory

Country Status (1)

Country Link
JP (1) JPH07220466A (en)

Similar Documents

Publication Publication Date Title
CA1127318A (en) System for accessing memory modules
JPH05144255A (en) Semiconductor memory device
KR870003507A (en) Integrated circuit memory system
JPH0862305A (en) Address pattern generator
US5361230A (en) Memory device delaying timing of outputting data in a test mode as compared with a normal operating mode
US5269012A (en) Stack memory system including an address buffer for generating a changed address by inverting an address bit
US6166970A (en) Priority determining apparatus using the least significant bit and CAS latency signal in DDR SDRAM device
EP0080902A2 (en) Semiconductor memory device
US7154316B2 (en) Circuit for controlling pulse width
JPH11355536A (en) Image processing method and image processor
JPS60258792A (en) Dynamic ram
JPH07220466A (en) Apparatus for controlling accessing to memory
JPH05342881A (en) Storage circuit
US4424730A (en) Electronic musical instrument
JPH07191905A (en) Information processor
JPH0696583A (en) Semiconductor memory
JPH06215559A (en) Page memory access system
KR100331782B1 (en) Semiconductor memory device capable of multi-write operation
JPH04299752A (en) Microprocessor
JP3185987B2 (en) Semiconductor memory test equipment
JPH05282859A (en) Memory integrated circuit
JPH07141254A (en) Memory controller
JPH03183097A (en) Semiconductor memory device
JPH06118133A (en) Testing of lsi
JPH07191099A (en) Ic inspection device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010508