JPH01118941A - Memory access control system - Google Patents

Memory access control system

Info

Publication number
JPH01118941A
JPH01118941A JP27602287A JP27602287A JPH01118941A JP H01118941 A JPH01118941 A JP H01118941A JP 27602287 A JP27602287 A JP 27602287A JP 27602287 A JP27602287 A JP 27602287A JP H01118941 A JPH01118941 A JP H01118941A
Authority
JP
Japan
Prior art keywords
data
address
memory
maps
cpu
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
JP27602287A
Other languages
Japanese (ja)
Inventor
Yuichi Tomiyasu
雄一 冨安
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP27602287A priority Critical patent/JPH01118941A/en
Publication of JPH01118941A publication Critical patent/JPH01118941A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the waiting time of a CPU by reading successively data out of a latch holding the data on a memory map when the coincidence is obtained between the preceding address and the present address of the CPU in case data are successively read out of the memory maps in the same address respectively. CONSTITUTION:When the requests are received from a CPU and the devices using memories for read-out of the data on memory maps 111-11n, the present address is compared with the preceding address held by an address latch 14 by a comparator 15. Then the data on the maps 111-11n held by latches 121-12n are read out only when the coincidence is obtained between both addresses. Each of the maps 111-11n is selected by a multiplexer 13. Therefore the time required to hold the data on the maps 111-11n by the latches 121-12n, i.e., the memory reading time can be omitted since the data held by the latches 121-12n are read in case the data on the maps 111-11n are read out in the same address. As a result, the waiting time of the CPU is shortened.

Description

【発明の詳細な説明】 [発明の目的コ (産業上の利用分野) 本発明は表示系のメモリに用いて好適なメモリアクセス
制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Purpose of the Invention (Field of Industrial Application) The present invention relates to a memory access control system suitable for use in a display type memory.

(従来の技術) 近年、マンマシンインタフェースの発展と共にその中核
となる表示装置に増々高度な機能が要求されて来ている
。多色表示、マルチウィンドウ表示等がその代表例であ
る。これら高度な機能を実現させるにはビ、トマ、7@
制御技術が必須となりピットマッグメモリをプレーン構
造にしたメモリプレーンが用いられる。このビ、トマ、
fメモリプレーンにおいて、同一アドレスに位置する複
数のメモリマ、ゾからデータを読み出す場合、その制御
回路は第2図に示す様に構成されてい念。
(Prior Art) In recent years, with the development of man-machine interfaces, increasingly sophisticated functions have been required of display devices, which are the core of such interfaces. Typical examples include multi-color display and multi-window display. To realize these advanced functions, Bi, Toma, 7@
Control technology is essential, and a memory plane with pit mag memory as a plane structure is used. This bi, Toma,
When reading data from multiple memory maps located at the same address in the f-memory plane, the control circuit must be configured as shown in Figure 2.

図において21はメモリマツプを示し、これを選択する
レジスタ(図示せず)に値にセ、トスることによりマル
チプレクサ22で相当するものが選択され、ラッチ23
に供給される。
In the figure, reference numeral 21 indicates a memory map, and by setting and tossing a value to a register (not shown) for selecting this, the corresponding one is selected by the multiplexer 22, and the latch 23
is supplied to

(発明が解決しようとする間層点) 即ち、所定のアドレスで各メモリマツプの値を読み出す
場合、N個のメモリマップが存在するとN回のメモリリ
ードオペレーションを必要トスるものである。従って、
メモリマ、ゾの個数及びメモリマツプのアクセス回数に
比例して読み出し時間が増大し、CPUの待ち時間が増
大してい次。
(Interlayer Points to be Solved by the Invention) That is, when reading the value of each memory map at a predetermined address, if there are N memory maps, N memory read operations are required. Therefore,
The read time increases in proportion to the number of memory maps and the number of memory map accesses, and the CPU wait time increases.Next.

本発明は上記欠点に鑑みてなされ次ものであり少量のハ
ードウェアを付加することによりCPUの待ち時間を削
減し、表示系に採用し几場合に描画速度の向上をはかつ
九メモリアクセス制御方式を提供することを目的とする
The present invention was made in view of the above-mentioned drawbacks, and is a nine-memory access control method that reduces CPU waiting time by adding a small amount of hardware, improves drawing speed when used in a display system, and improves drawing speed. The purpose is to provide

[発明の構成コ (問題点を解決する几めの手段) 表示系の論理回路に於いて、その解像度及び表示機能(
文字数1色調等)を高性能化するにあたり欠点となりえ
るのが上述し九CPUのメモリリードに対する速度であ
る。この速度を改善する比めに、メモリマップリード回
数を削減することが一手段と考えられる。このために本
発明は、メモリアクセス制御回路を複数のメモリマツプ
と各メモリマツプ毎出力データが保持されるそれぞれの
ラッチと、保持しているアドレスやデータが有効である
か否かを示すフラグ情報を含み先に出され九アドレスを
保持するラッチと、このラッチに保持され九アドレスと
現在アクセスすべきアドレスとを比較するコン/9レー
タと、同一アドレスに位置する複数のメモリマツプから
データt−屓次読出す場合、コン/9レータ出力に従が
い該当するう。
[Structure of the invention (elaborative means for solving the problem) In the logic circuit of the display system, its resolution and display function (
One drawback to improving the performance of a computer (character count, one color tone, etc.) is the speed of the nine CPUs for reading memory as described above. One way to improve this speed is to reduce the number of memory map reads. To this end, the present invention includes a memory access control circuit including a plurality of memory maps, respective latches for holding output data for each memory map, and flag information indicating whether or not the held addresses and data are valid. A latch that was issued earlier and holds the 9th address, a comparator that compares the 9th address held in this latch and the address to be accessed currently, and a t-byte readout of data from multiple memory maps located at the same address. If the output is output, it will follow the output of the converter/9 controller.

チから順次出力を得る回路手段で構成したものである。This circuit consists of circuit means that sequentially obtains outputs from the channels.

(作用) 上記構成において、同一アドレスにある複数のメモリマ
ツプからデータを順次読み出す場合、コン/9レータに
て、CPUの前アドレスト現アドレスを比較する。これ
が一致する。とメモリマ、7″のデータが保持しである
ラッチから順次データを読み出す。このことにより、メ
モリマップからう。
(Operation) In the above configuration, when data is sequentially read from a plurality of memory maps located at the same address, the current address and the previous address of the CPU are compared in the comparator. This matches. Data is sequentially read out from the latches in which the data in memory master 7'' is held.This causes the data to be cleared from the memory map.

チにデータを保持する時間を削減することができる。従
ってこれを表示系に採用し九場合、CPUの待ち時間が
減小し結果的に描画速度が向上する。
This can reduce the amount of time it takes to store data on-chip. Therefore, if this is adopted in a display system, the waiting time of the CPU will be reduced and the drawing speed will be improved as a result.

(実施例) 以下、図面を使用して本発明実施例にて詳細に説明する
。第1図は本発明の実施例を示すプロ、り図である。図
において、111−=11nは表示データが格納される
メモリマツプであシ複数プレーンで構成される。12.
〜12nはラッチであり、各メモリマツプ11.〜11
から得られるデータをそれぞれ保持する。13はマルチ
プレクサ(MUX )であり、上記各ラッチ12.〜1
2n出力を入力情報として得、必要データを選択してC
PU他メモリを使用する装置にデータを供給する。14
はアドレスラッチである。アドレスラッチ14にはメモ
リマ、7″11.〜11nに保持されているデータのメ
モリアドレスが保持されその出力はコン、ノ9レータ1
5へ供給する。コンパレータ15はアドレスラ、チ13
に保持され比前アドレス情報と現アドレス情報とを比較
し、その結果に従かいメモリアクセスをコントロールす
るものである。
(Examples) Hereinafter, examples of the present invention will be described in detail with reference to the drawings. FIG. 1 is a schematic diagram showing an embodiment of the present invention. In the figure, 111-=11n is a memory map in which display data is stored, and is composed of a plurality of planes. 12.
12n are latches, and each memory map 11. ~11
The data obtained from each is retained. 13 is a multiplexer (MUX), and each of the latches 12. ~1
Obtain the 2n output as input information, select the necessary data, and press C.
Supplies data to PU and other devices that use memory. 14
is an address latch. The address latch 14 holds the memory address of the data held in the memory masters 7''11. to 11n, and its output is
Supply to 5. Comparator 15 is Addressra, Chi 13
The current address information is compared with the previous address information held in the memory, and memory access is controlled according to the result.

以下、本発明実施例について詳細に説明する。Examples of the present invention will be described in detail below.

CPU他メモリ使用装置よりメモリマツプ111〜11
nのデータ読み出し要求が出ると、メモリマツプ11、
〜11nに格納され九データがラッチ121〜12nに
保持され、そのときのアドレスがアドレスラッチ14に
保持される。続いてCPU他メモリ使用装置よりメモリ
マy 7aZ J 1〜11nのデータ読み出し要求が
発せられると、まずそのアドレスとアドレスラッチ14
に保持されているアドレスをコン/9レータ15により
て比較する。ここで一致している場合のみラッチ12.
〜12nに保持しているメモリマツプ11.〜11nの
データf:読み出す、各メモリマ、 f 11.〜11
nの選択はマルチプレクサ13によって行われる。従っ
て同一アドレスに於いてメモリマツプ11.〜11Qの
データを読み出す場合、ラッチ12.〜12nに保持し
であるデータを読み出すので、メモリマツプ11.〜1
1nのデータをう。
Memory map 111-11 from CPU and other memory using devices
When a request to read data n is issued, the memory map 11,
9 data stored in latches 121 to 12n are held in latches 121 to 12n, and the address at that time is held in address latch 14. Subsequently, when a request to read data from memory my 7aZ J 1 to 11n is issued from the CPU or other memory using device, the address and address latch 14 are first read.
A comparator 15 compares the addresses held in the . Only if there is a match, the latch 12.
Memory map 11.~12n. ~11n data f: Read each memory memory, f11. ~11
The selection of n is made by multiplexer 13. Therefore, at the same address, memory map 11. When reading data from latches 12 to 11Q, latch 12. Since the data held in memory map 11. ~1
Use the 1n data.

チ12.〜12nに保持する時間、つまりメモリリード
時間は省略される。
Ch12. ~12n, that is, the memory read time is omitted.

アドレスラッチ14にはイネーブルピットが割付けられ
ており、アドレスラッチ14に保持され几アドレス情報
やラッチ11.〜11nのデータが有効であること全示
す、初期状態に於いてこれをクリアする。CPU他メモ
リ使用装置のライトサイクルでメモリマツプ11.〜1
1nに書き込むデータのアドレスとアドレスラッチ14
に保持されているアドレスが一致し九場合イネーブルピ
ットをクリアするか或はメモリと同じデータをラッチ1
2.〜12にも書き込む必要がある。アドレスラッチ1
4のイネーブルビットがクリアされ九場合、次に読み出
し要求が出されコンパレータ15に於いてアドレスが一
致してもラッチ121〜12nに保持されているデータ
は読み出されず、メモリマツプ11〜ノー からデータ
を読み出し、ラッチ12.〜1     n 12  に再び保持しイネーブルビ、トヲセ、トする。
An enable pit is assigned to the address latch 14, and is held in the address latch 14 to store address information and the latch 11. This is cleared in the initial state to fully indicate that the data of ~11n is valid. Memory map 11. Write cycle of CPU and other memory using devices. ~1
Address of data written to 1n and address latch 14
If the address held in 9 matches, clear the enable pit or latch the same data as memory 1
2. It is also necessary to write to ~12. address latch 1
If the enable bit 4 is cleared and the read request is issued next and the addresses match in the comparator 15, the data held in the latches 121 to 12n will not be read out, but the data will be read from the memory map 11 to 12n. , latch 12. ~1 n 12 again and enable the command.

[発明の効果] 同一アドレスの各メモリマッグから順次データ音読み出
す場合、その行為がM回、メモリマ。
[Effects of the Invention] When data sounds are sequentially read from each memory mug at the same address, this action is performed M times.

ゾの数がN個であれば、メモリマツプから読み出す回数
は毎回−度で済むので削減される時間は次の様になる。
If the number of data is N, the number of times the memory map is read is only - degrees each time, so the time saved is as follows.

MX (N−1) X (メモリマ、7°リード時間)
従りて本発明によれば表示系の論理回路に於いてCPU
の待ち時間が減少し、結果的に描画速度が速くなる。
MX (N-1) X (Memory master, 7° lead time)
Therefore, according to the present invention, in the display system logic circuit, the CPU
Waiting time is reduced, resulting in faster drawing speed.

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

第1図は本発明の実施例を示すプロ、り図、第2図は従
来例を示すプロ、り図である。 11〜1ノ ・・・メモリマツプ、12.〜12n・・
・ラッn チ、13・・・マルチプレクサ、14・・・アドレスラ
。 f、15・・・コンパレータ。 出願人代理人  弁理士 鈴 江 武 彦−〜
FIG. 1 is a diagram showing an embodiment of the present invention, and FIG. 2 is a diagram showing a conventional example. 11-1...Memory map, 12. ~12n...
・Latch, 13...Multiplexer, 14...Addresser. f, 15... Comparator. Applicant's representative Patent attorney Takehiko Suzue

Claims (1)

【特許請求の範囲】[Claims] 複数のメモリマップと、各メモリマップ毎出力データが
保持されるそれぞれのラッチと、保持されているアドレ
スやデータが有効であるか否かを示すフラグ情報を含み
、先にCPUから出されたアドレスを保持するアドレス
ラッチと、このアドレスラッチ出力と現在アクセスすべ
きアドレス情報とを比較するコンパレータと、同一アド
レスに位置する複数のメモリマップからデータを順次読
出す場合、上記コンパレータ出力に従がい該当するラッ
チから順次出力を得ることを特徴とするメモリアクセス
制御方式。
Includes multiple memory maps, respective latches that hold output data for each memory map, and flag information indicating whether or not the held address and data are valid, including the address previously issued by the CPU. An address latch that holds the address latch, a comparator that compares the output of this address latch with the address information to be currently accessed, and when sequentially reading data from multiple memory maps located at the same address, the above comparator output is applicable. A memory access control method characterized by obtaining outputs sequentially from latches.
JP27602287A 1987-10-31 1987-10-31 Memory access control system Pending JPH01118941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27602287A JPH01118941A (en) 1987-10-31 1987-10-31 Memory access control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27602287A JPH01118941A (en) 1987-10-31 1987-10-31 Memory access control system

Publications (1)

Publication Number Publication Date
JPH01118941A true JPH01118941A (en) 1989-05-11

Family

ID=17563701

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27602287A Pending JPH01118941A (en) 1987-10-31 1987-10-31 Memory access control system

Country Status (1)

Country Link
JP (1) JPH01118941A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7355761B2 (en) 2002-06-25 2008-04-08 Samsung Electronics Co., Ltd. Driving apparatus and method for image scanning and/or forming machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7355761B2 (en) 2002-06-25 2008-04-08 Samsung Electronics Co., Ltd. Driving apparatus and method for image scanning and/or forming machine

Similar Documents

Publication Publication Date Title
US5051889A (en) Page interleaved memory access
US5060145A (en) Memory access system for pipelined data paths to and from storage
US5752260A (en) High-speed, multiple-port, interleaved cache with arbitration of multiple access addresses
US4924375A (en) Page interleaved memory access
US4866603A (en) Memory control system using a single access request for doubleword data transfers from both odd and even memory banks
US7082491B2 (en) Memory device having different burst order addressing for read and write operations
EP0192202A2 (en) Memory system including simplified high-speed data cache
US5136500A (en) Multiple shared memory arrangement wherein multiple processors individually and concurrently access any one of plural memories
US20010013082A1 (en) Memory paging control apparatus
US4138720A (en) Time-shared, multi-phase memory accessing system
US4174537A (en) Time-shared, multi-phase memory accessing system having automatically updatable error logging means
US6219764B1 (en) Memory paging control method
JPH02292645A (en) Fast read change loading memory system and method
JPH03226852A (en) Data processor
US6532523B1 (en) Apparatus for processing memory access requests
US4737908A (en) Buffer memory control system
JPH01118941A (en) Memory access control system
US6292867B1 (en) Data processing system
JP2636485B2 (en) Cache storage
JPH0774994B2 (en) OSC detection method for buffer storage controller
JPS6125178B2 (en)
JP2534321B2 (en) Data transfer control method and apparatus
JP2625145B2 (en) Memory access control device
JP2568443B2 (en) Data sizing circuit
JPS59112479A (en) High speed access system of cache memory