JPS6021087A - Address generation circuit - Google Patents
Address generation circuitInfo
- Publication number
- JPS6021087A JPS6021087A JP58129021A JP12902183A JPS6021087A JP S6021087 A JPS6021087 A JP S6021087A JP 58129021 A JP58129021 A JP 58129021A JP 12902183 A JP12902183 A JP 12902183A JP S6021087 A JPS6021087 A JP S6021087A
- Authority
- JP
- Japan
- Prior art keywords
- register
- memory
- circuit
- address
- rows
- 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
Links
- 238000010586 diagram Methods 0.000 description 3
- 238000000034 method Methods 0.000 description 2
- 235000017166 Bambusa arundinacea Nutrition 0.000 description 1
- 235000017491 Bambusa tulda Nutrition 0.000 description 1
- 241001330002 Bambuseae Species 0.000 description 1
- 235000015334 Phyllostachys viridis Nutrition 0.000 description 1
- 239000011425 bamboo Substances 0.000 description 1
Landscapes
- Memory System (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔発明の属する技術分野〕
本発明はアドレス生成回路、特にラスタ・スキャン方式
の表示装置の表示メモリのアドレス生成回路に関するも
のである。DETAILED DESCRIPTION OF THE INVENTION [Field of the Invention] The present invention relates to an address generation circuit, and particularly to an address generation circuit for a display memory of a raster scan type display device.
従来、2スタ・スキャン方式の表示装置の表示メモリの
アクセスはDMA(ダイレクト・メモリ・アクセス)方
式により行われることが多く、アクセス開始の先頭アド
レスと、アクセスすべきメモリ・アドレスの長さを指示
することにょシ、一連の連続したアドレスがアクセス可
能となる。しかしながら表示メモリの中に設定された小
さなエリヤをアクセスする場合には、そのメモリ・アド
レスは不連続と々るから、通常のD M A方式では時
間的に連続して全アドレスをアクセスすることはできず
、アドレスが不連続になる度にDMAの開始アドレス長
をマイクロプロセッサ等の助けをがシて再セットする必
要があった。そのためメモリ・アクセス動作は不連続に
ならさるを得す、余分な費用のかかる原因を作っていた
。Conventionally, access to the display memory of a two-star scan type display device is often performed using the DMA (Direct Memory Access) method, in which the start address to start accessing and the length of the memory address to be accessed are specified. In doing so, a series of consecutive addresses become accessible. However, when accessing a small area set in the display memory, the memory addresses are discontinuous, so with the normal DMA method, it is not possible to access all addresses consecutively in time. However, each time the addresses became discontinuous, it was necessary to reset the DMA start address length with the help of a microprocessor or the like. As a result, memory access operations tend to be discontinuous, creating additional costs.
本発明の目的はメモリ・アドレスの先頭番地A11ラス
タ当りのメモリ・アドレスの長さM、アクセスすべきメ
モリ・エリヤのラスタ方向のメモリアドレスの長さm、
ラスタ数nをあらかじめセットして置くことにより、上
記A、m、nにて表現されるメモリ・エリヤのアドレス
を時間的に連続に発生させることによりラスタ・スキャ
ン方式の表示装置の表示メモリの中のある時定エリヤを
高速にアクセスすることを可能としたアドレス生成回路
を提供することにある。The object of the present invention is to set the length M of the memory address per raster at the first address A11 of the memory address, the length m of the memory address in the raster direction of the memory area to be accessed,
By setting the number n of rasters in advance, addresses of the memory areas expressed by A, m, and n can be generated sequentially in time, so that the addresses can be stored in the display memory of the raster scan type display device. An object of the present invention is to provide an address generation circuit that enables high-speed access to a certain time-determined area.
本発明によると連続した番地0〜MXN−1が付与され
ているM列N行のメモリ壁間の中で前記M。According to the present invention, among the memory walls of M columns and N rows to which consecutive addresses 0 to MXN-1 are assigned, the M.
Nよシ夫々小さい値のm、nを有するm行n列のメモリ
空間を先頭番地Aを決めることにより設定するに際して
、前記A、M、m、nの値を保持するレジスタと、m、
nの値をもとに加減算を制御する制御信号を発生する制
御回路と、前記制御信号によジ加算又は減算を行う加減
算回路と、演算結果を保持するメモリ・アドレス・レジ
スタを含みm行n列のメモリ空間のアドレスを時間的に
連続して生成することを特徴とするアドレス生成回路が
得られる。When setting a memory space of m rows and n columns with values m and n smaller than N by determining a starting address A, registers holding the values of A, M, m, and n, m,
m rows n including a control circuit that generates a control signal to control addition and subtraction based on the value of n, an addition/subtraction circuit that performs addition or subtraction based on the control signal, and a memory address register that holds the operation result. An address generation circuit is obtained which is characterized in that it continuously generates addresses of column memory spaces in time.
次に本発明の実施例について図面を参照して詳細に説明
する。Next, embodiments of the present invention will be described in detail with reference to the drawings.
ラスタ・スキャン方式の表示装置があり、その表示画面
分の表示メモリを持つと仮定する。(表示メモリの大き
さは表示画面分より太きいか、それと同等であることが
一般的である。)第1図のようにその表示メモリの大き
さがN行N列(−行が1ラスクに対応している。)であ
った時17(、、その表示メモリ内にAを開始アドレス
とするm行n列の小さなエリヤを設置する。この時この
A、 、 m 。Assume that there is a raster scan type display device and that it has display memory for the display screen. (The size of the display memory is generally larger than or equal to the width of the display screen.) As shown in Figure 1, the size of the display memory is N rows and N columns (-rows are 1 17 (, , a small area of m rows and n columns with A as the starting address is set up in the display memory. At this time, A, , m.
nの値はM行N列の表示エリヤの中にコ、ニークな小エ
リヤを決定する。The value of n determines a unique small area within the display area of M rows and N columns.
本発明はこの小エリヤのメモリ・アドレスを時間的に連
続に発生させるアドレス生成回路に関するもので、第2
図は本発明の一実施例のブロック図を示しA 、 M
、 m 、 nの値を保持するレジスタ1゜2.3.4
と、定数+1を発生する回路5.加算回路6と、メモリ
・アドレス・レジスタ(MAR)7と、m 、 nの値
をもとに制御信号を発生させる制御回路8により構成さ
れる
レジスタ1に保持されるm行、n列の小エリヤの開始ア
ドレスAは加算回路6全通ってメモリ・アドレス・レジ
スタ(MAR)7にセットさ扛、第3図のごときタイム
・チャートのメモリ・アドレスを発生する。とのような
動作を行うためには側割回路8はJJn算回路60八入
力をレジスタ1の出力又はメモリアドレスレジスタ7の
tu力より選択する信号a%B入力をレジスタ2、レジ
スタ3定数回路5より選択する信号1)、メモリアドレ
スレジスタ77セツトするパルス信号C1レジスタ1の
入力を外部又は、メモリアドレスレジスタ7の出力から
選■;<−rる信号(jl しzラスタ1tセツトする
パルス信号eを谷ユニット・タイミングにて発生する。The present invention relates to an address generation circuit that continuously generates memory addresses for this small area in time.
The figure shows a block diagram of an embodiment of the present invention.
, m , and n register 1゜2.3.4
and a circuit that generates a constant +1 5. A small memory of m rows and n columns held in a register 1 consisting of an adder circuit 6, a memory address register (MAR) 7, and a control circuit 8 that generates a control signal based on the values of m and n. The start address A of the area is passed through the adder circuit 6 and set in the memory address register (MAR) 7 to generate the memory address of the time chart shown in FIG. In order to perform the operation, the side division circuit 8 selects the JJn arithmetic circuit 608 input from the output of the register 1 or the tu power of the memory address register 7, and sends the signal a%B input to the register 2 and register 3 constant circuits. Select signal 1) from 5), pulse signal to set memory address register 77 C1 Select input of register 1 from external or output from memory address register 7 (pulse signal to set jl and z raster 1t) e is generated at the valley unit timing.
次に第3図のタイムチャートのユニット・タイミングを
1臓に説明すれば、まずユニット・タイミング1では加
算回路6のA入力はレジスタ1よりのものが選択され、
B入力は与えられず、レジスタ1はセットされていない
。次のユニット・タイミング2ではA入力はメモリアド
レスレジスタ7の出力が選択され、B入力は定数回路5
の出力が選択され、レジスタ1はセットされていない。Next, to briefly explain the unit timing in the time chart of FIG. 3, first, at unit timing 1, the A input of the adder circuit 6 is selected from register 1,
B input is not given and register 1 is not set. At the next unit timing 2, the output of the memory address register 7 is selected as the A input, and the output of the constant circuit 5 is selected as the B input.
output is selected and register 1 is not set.
この時メモリアドレスレジスタ7にはA+1がセットさ
れる。以下ユニット・タイミングm迄は同様にアドレス
がインクレメントされ、ユニット・タイミングmの時点
でメモリアドレスレジスタ7はA+m−1となっている
。At this time, A+1 is set in the memory address register 7. Thereafter, the address is incremented in the same manner until unit timing m, and at unit timing m, the memory address register 7 is A+m-1.
次のユニット・タイミングm+lではA入力はレジスタ
1の出力が選択され、B入力はレジスタ2の出力が選択
されレジスタIFiセットされていない。この時もメモ
リアドレスレジスタ7はA十Mとなる。次のユニットタ
イミングm + 2ではA入力は再びメモリアドレスレ
ジスタ7の出力、B入力は定数回路5の出力が選択され
るが、この時レジスタ1の入力はメモリアドレスレジス
タ7の出力を選択し、レジスタ1はセットパルスeのた
めセットされ、メモリアドレスレジスタ7はA十M+1
となるがレジスタlはA+Mと変化する。At the next unit timing m+l, the output of register 1 is selected as the A input, the output of register 2 is selected as the B input, and register IFi is not set. At this time as well, the memory address register 7 becomes A0M. At the next unit timing m + 2, the A input again selects the output of the memory address register 7, and the B input selects the output of the constant circuit 5, but at this time, the input of the register 1 selects the output of the memory address register 7, Register 1 is set due to set pulse e, and memory address register 7 is A0M+1.
However, register l changes to A+M.
次のユニットタイミングm+2以降は再ひレジスタ1は
セットされずユニット・タイミング2m迄はメモリアド
レスレジスタ7がインクレメントされて行く。ユニット
・タイミング2mとなると、八人力はレジスタ1(この
時の内容はA+M) 。After the next unit timing m+2, register 1 is not set again, and memory address register 7 is incremented until unit timing 2m. When the unit timing reaches 2m, the eight-person power is register 1 (the contents at this time are A+M).
B入力はレジスタ2の出力を選択しメモリアドレスレジ
スタ7はA+2Mとなる。The B input selects the output of register 2, and memory address register 7 becomes A+2M.
次のユニット・タイミンク’2 m −1−1ではm+
1の時と同様にレジスタ10セツトも行われ、結果メモ
リアドレスレジスタ7はA+2M+1.レジスタ1はA
+2Mとなる。以下nm迄メモリアドレスレジスタ7は
インクレメントされる。In the next unit timing '2 m -1-1, m+
1, register 10 is also set, and the resultant memory address register 7 is A+2M+1. Register 1 is A
+2M. Thereafter, the memory address register 7 is incremented up to nm.
この様にしてユニット・タイミングmnまで制御信号が
発生することによりメモリ・アドレスが第3図のごとく
発生する。In this way, by generating control signals up to unit timing mn, memory addresses are generated as shown in FIG.
本発明によれば上位装置による介入なしに高速に5スタ
・スキャン方式の表示メモリの一部のエリヤを連続的に
アクセスすることが可能となる。According to the present invention, it is possible to continuously access some areas of a 5-star scan type display memory at high speed without intervention by a host device.
第1図は表示メモリの一例の構成図、第2図は本発明の
アドレス生成回路の一実施例のブロック図、第3図は生
成されたメモリアドレスのタイムチャートを示す。
1〜4・・・・・・A、M、m、nの値を保持するレジ
スタ、5・・・・・・定数回路、6・・・・・・加減算
回路、7・・・・・・メモリ・アクセス喝レジスタ、8
・・・・・・制御回路。
箭 l 図
第3 図FIG. 1 is a block diagram of an example of a display memory, FIG. 2 is a block diagram of an embodiment of an address generation circuit of the present invention, and FIG. 3 is a time chart of generated memory addresses. 1 to 4...Register for holding the values of A, M, m, and n, 5...Constant circuit, 6...Addition/subtraction circuit, 7... Memory access register, 8
...control circuit. Bamboo l Figure 3
Claims (1)
のメモリ空間の中で前記JNよシ夫々小さい値のm、n
を有するm行n列のメモリ空間を先頭帯地Aを決めるこ
とによシ設定するに際して、前記A 、 M 、 m
、 nの値を保持するレジスタと、m。 nの値をもとに、加減算を制御する制御信号を発生する
制御回路と、前記制御信号により加算又は減算を行う加
減算回路と、演η、結果を保持するメモリ・アドレス・
レジスタを含み、m行n列のメモリ空間のアドレスを時
間的に連続して生成することを特徴とするアドレス生成
回路。[Scope of Claims] In a memory space of M columns and N rows to which consecutive addresses 0 to MXN-1 are assigned, m and n are smaller than JN, respectively.
When setting a memory space of m rows and n columns having
, a register holding the value of n, and m. A control circuit that generates a control signal to control addition and subtraction based on the value of n, an addition and subtraction circuit that performs addition or subtraction based on the control signal, and a memory address and
1. An address generation circuit comprising a register and continuously generating addresses in a memory space of m rows and n columns.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58129021A JPS6021087A (en) | 1983-07-15 | 1983-07-15 | Address generation circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58129021A JPS6021087A (en) | 1983-07-15 | 1983-07-15 | Address generation circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6021087A true JPS6021087A (en) | 1985-02-02 |
Family
ID=14999191
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP58129021A Pending JPS6021087A (en) | 1983-07-15 | 1983-07-15 | Address generation circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6021087A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61190386A (en) * | 1985-02-20 | 1986-08-25 | 株式会社ピーエフユー | Display control system |
JPS62139057A (en) * | 1985-12-13 | 1987-06-22 | Nec Corp | Address control circuit |
JPS63214793A (en) * | 1987-03-03 | 1988-09-07 | 富士通株式会社 | Memory address automatic generation device |
JPH06110446A (en) * | 1985-11-06 | 1994-04-22 | Texas Instr Inc <Ti> | Data processor |
-
1983
- 1983-07-15 JP JP58129021A patent/JPS6021087A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61190386A (en) * | 1985-02-20 | 1986-08-25 | 株式会社ピーエフユー | Display control system |
JPH06110446A (en) * | 1985-11-06 | 1994-04-22 | Texas Instr Inc <Ti> | Data processor |
JPS62139057A (en) * | 1985-12-13 | 1987-06-22 | Nec Corp | Address control circuit |
JPS63214793A (en) * | 1987-03-03 | 1988-09-07 | 富士通株式会社 | Memory address automatic generation device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2570845B2 (en) | Information processing device | |
JPS63225837A (en) | Vector access method with distance | |
JPS6021087A (en) | Address generation circuit | |
JPS638488B2 (en) | ||
JPS6061853A (en) | Information processor | |
JPH0441831B2 (en) | ||
JP2886855B2 (en) | Image display device | |
JP2715482B2 (en) | Page image generator | |
JP3005220B2 (en) | Scanning display controller | |
JPS59101089A (en) | Memory circuit | |
JPH06324935A (en) | Address generator and address generation system | |
JP2502857B2 (en) | Signal processor | |
JP2824708B2 (en) | Graphic drawing device | |
JPS62175879A (en) | Generating device for data on binary picture similarity conversion picture element | |
JPS60140384A (en) | Character generator access control system | |
JPH04153984A (en) | Method for controlling dynamic memory | |
JPS6354641A (en) | Memory device for image processing | |
JPH06301772A (en) | Lsi for picture processing | |
JPS60260988A (en) | graphic display device | |
JPS58203489A (en) | Display unit | |
JPH01173237A (en) | Ram access system | |
JPS58187988A (en) | Character graphic display device | |
JPS59210484A (en) | Time-sharing fast access system for ram | |
JPS6368891A (en) | display control device | |
JPS5897086A (en) | Data transfer circuit for image memory |