JPS61248084A - Address generator - Google Patents

Address generator

Info

Publication number
JPS61248084A
JPS61248084A JP60089219A JP8921985A JPS61248084A JP S61248084 A JPS61248084 A JP S61248084A JP 60089219 A JP60089219 A JP 60089219A JP 8921985 A JP8921985 A JP 8921985A JP S61248084 A JPS61248084 A JP S61248084A
Authority
JP
Japan
Prior art keywords
register
counter
data
address
comparator
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.)
Granted
Application number
JP60089219A
Other languages
Japanese (ja)
Other versions
JPH041355B2 (en
Inventor
平澤 晶
笹沼 宏
西野 寧一
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP60089219A priority Critical patent/JPS61248084A/en
Publication of JPS61248084A publication Critical patent/JPS61248084A/en
Publication of JPH041355B2 publication Critical patent/JPH041355B2/ja
Granted legal-status Critical Current

Links

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 device for generating an image memory address of a rask scanning type image output device and a gate signal for indicating its effective area.

従来の技術 従来、画像の表示を行なわせる部分が画面全部ではなく
、例えば走査線のn4本目からn2本目(nl、n2は
共に自然数)までであシ、また実際の走査線アドレスと
一行分の画像メモリアドレスに一定のオフセットがある
場合、メモリアドレス及びその有効期間指示用のゲート
信号発生のためには、第3図のような構成をとっていた
2. Description of the Related Art Conventionally, an image is displayed not on the entire screen, but for example from the n4th scanning line to the n2nd scanning line (nl and n2 are both natural numbers). When the image memory address has a certain offset, a configuration as shown in FIG. 3 has been used to generate gate signals for indicating the memory address and its valid period.

すなわち、まずカウント開始値のロード可能なカウンタ
9に、CPU等(図示せず)からオフセット値をロード
し、クロックを入力してその出力をメモリアドレスとす
る。更K、このアドレスと、表示を開始するメモリアド
レスを格納したレジスタ10の値とを比較器11により
比較し、一致した時点でR−S 71Jツブフロツグ1
4の出力がセットされ、ゲート信号出力がアクティブと
なる。
That is, first, an offset value is loaded from a CPU or the like (not shown) into the counter 9, which can be loaded with a count start value, a clock is input, and the output thereof is used as a memory address. Furthermore, the comparator 11 compares this address with the value of the register 10 that stores the memory address to start displaying, and when they match, the R-S 71J block flag 1
4 is set, and the gate signal output becomes active.

更にカウンタ9がインクリメントされ、その値が表示終
了アドレスを格納したレジスタ12と一致したとき、比
較器13の出力はR−Sフリップフロップ14をリセッ
トし、ゲート信号は有効ではなくなる。メモリのオフセ
ットが4、表示開始メモリアドレスつまシn1が8、表
示終了メモリアドレスつまりn2が12の場合のタイミ
ングチャートを第4図に示す。第4図において、qはカ
ウンタ9のクロック入力、hはカウンタ9の出力、iは
比較器11の出力、jは比較器13の出力、kはR−S
フリップフロップ14の出力である。
The counter 9 is further incremented, and when its value matches the register 12 storing the display end address, the output of the comparator 13 resets the R-S flip-flop 14 and the gate signal is no longer valid. FIG. 4 shows a timing chart when the memory offset is 4, the display start memory address n1 is 8, and the display end memory address n2 is 12. In FIG. 4, q is the clock input of counter 9, h is the output of counter 9, i is the output of comparator 11, j is the output of comparator 13, and k is R-S.
This is the output of flip-flop 14.

レジスタ10に@8”、レジスタ12に12−というデ
ータが格納されているとき、ある時点γでカウンタにオ
フセットデータ“4#をロードする。カウンタ9がカウ
ントアツプしていき、その値りがδという時点でレジス
タ10の値”8″と等しくなると、比較器11の出力l
がセットさ法この出力はゲート信号kをセットする。更
にカウンタ9がカウントアツプを続け、その値りがεと
はゲート信号kをリセットする。メモリアドレスとして
は、カウンタ9の値りが出力される。
When data ``@8'' is stored in register 10 and data 12- is stored in register 12, offset data ``4#'' is loaded into the counter at a certain point γ. The counter 9 counts up and when the value becomes equal to the value "8" of the register 10 at the time point δ, the output of the comparator 11 is l.
This output sets the gate signal k. Further, the counter 9 continues counting up, and when the value reaches ε, the gate signal k is reset. The value of the counter 9 is output as the memory address.

発明が解決しようとする問題点 このような回路を集積回路で実現しようとする場合、そ
の基本ゲート数が少ないことは極めて重要である。しか
し、比較手段やカウント開始データがロードできるカウ
ンタを構成するためには、多くのゲートを必要とする。
Problems to be Solved by the Invention When attempting to realize such a circuit as an integrated circuit, it is extremely important that the number of basic gates be small. However, a large number of gates are required to configure a comparison means and a counter into which count start data can be loaded.

また、従来の方式では、すべてのレジスタ10,12、
比較器11゜13及びカウンタ9に画像メモリアドレス
と同一の語長を必要とする。これは、特に表示する走査
線数にくらべて、アクセスする画像メモリ空間が大きい
場合、ビットの使用効率が悪いという欠点がある。
In addition, in the conventional method, all registers 10, 12,
Comparators 11 and 13 and counter 9 require the same word length as the image memory address. This has the disadvantage that bits are used inefficiently, especially when the image memory space to be accessed is large compared to the number of scanning lines to be displayed.

本発明は、かかる欠点に鑑みてなされたもので、より少
ないゲート数で実現できるアドレス発生装置を提供する
ことを目的としている。
The present invention has been made in view of these drawbacks, and an object of the present invention is to provide an address generation device that can be realized with a smaller number of gates.

問題点を解決するための手段 以上のような問題点を解決するために、本発明は、リセ
ット信号によりデータをクリアし、入力クロックをカウ
ントするカウンタと、ダミーカウント量を格納する第1
のレジスタと、アドレスの発生回数を格納する第2のレ
ジスタと、アクセス開始アドレスを格納する第3のレジ
スタと、前記カウンタのデータと前記第1のレジスタの
データ及び第2のレジスタのデータとを比較する比較器
と、前記カウンタのデータと前記第3のレジスタのデー
タとを加算する加算器と、前記比較器において、前記カ
ウンタのデータと第1のレジスタのデータが一致すると
前記カウンタをクリア・ゲート信号をセット及び前記比
較器への入力データを第1のレジスタから第2のレジス
タへ切換える手段と、前記比較器において前記カウンタ
のデータと前記第2のレジスタのデータとが一致すると
前記ゲート信号をリセット及び入力データを第1のレジ
スタに切換える手段とを備える。
Means for Solving the Problems In order to solve the above problems, the present invention provides a counter that clears data by a reset signal and counts input clocks, and a first counter that stores a dummy count amount.
a second register that stores the number of occurrences of an address, a third register that stores an access start address, and the data of the counter, the data of the first register, and the data of the second register. a comparator for comparison; an adder for adding the data of the counter and the data of the third register; and, in the comparator, when the data of the counter and the data of the first register match, the counter is cleared. means for setting a gate signal and switching input data to the comparator from a first register to a second register; and means for setting a gate signal and switching input data to the comparator from a first register to a second register; and means for resetting the register and switching the input data to the first register.

作    用 まず、カウンタがクリアされた状態を考える。For production First, consider a state in which the counter is cleared.

クロックをカウントした出力は、加算器によって第3の
レジスタのオフセットを加えられ、アクセスアドレスと
して出力されると同時に、比較器によって第1のレジス
タの値と比較される。このカウンタの値が第1のレジス
タの値と等しくなると、カウンタはクリアされ、ゲート
信号が有効となり、カウンタの値は第2のレジスタと比
較されるようになる。次に、クリアされたカウンタの出
力が第2のレジスタの値と等しくなると、ゲート信号は
有効ではなくなり、カウンタもクリアされる。
The output obtained by counting the clocks is added with the offset of the third register by an adder, and is output as an access address, and at the same time, is compared with the value of the first register by a comparator. When the value of this counter equals the value of the first register, the counter is cleared, the gate signal becomes valid, and the value of the counter becomes compared with the second register. Then, when the output of the cleared counter equals the value of the second register, the gate signal is no longer valid and the counter is also cleared.

実施例 第1図は、本発明の一実施例におけるアドレス発生装置
の構成を示すブロック図である。
Embodiment FIG. 1 is a block diagram showing the configuration of an address generator in an embodiment of the present invention.

レジスタ3には、画像メモリアドレスの走査線アドレス
に対するオフセットを、レジスタ1には表示を開始する
走査線アドレスn1 を、レジスタ2には表示する区間
の走査#j数(n2−n1+1)をそれぞれセットして
おく。最初、フリップフロップ8の出力がリセットされ
ており、セレクタ7がレジスタ1を選択しているとき、
カウンタ4をクリアし、クロック信号を入力すると、カ
ウンタ4は零からカウントを始め、その出力は加算器6
によってレジスタ3の値を加えられ、画像メモリアドレ
スとして出力される。同時にカウンタ4の出力は、比較
器6によってレジスタ1のデータと比較される。このカ
ウンタ4の出力、つまり走査線アドレスが表示を開始す
べき数となシ、レジスタ1のデータと一致したとき、比
較器6の出力がセットされ、この出力はカウンタ4をク
リアすると同時に、フリップフロップ8に入力され、ゲ
ート信号がセットされる。更に、このゲート信号はセレ
クタ7に入力され、セレクタ7はレジスタ2を選択する
。続いてクロックがカウンタ4に入力されると、再びカ
ウンタ4は零からカウントを始め、今度はこのカウンタ
4の出力がレジスタ2の値と一致したときに比較器5の
出力がセットされる。
In register 3, set the offset of the image memory address to the scanning line address, in register 1, set the scanning line address n1 to start displaying, and in register 2, set the number of scans #j in the section to be displayed (n2 - n1 + 1). I'll keep it. Initially, when the output of flip-flop 8 is reset and selector 7 selects register 1,
When counter 4 is cleared and a clock signal is input, counter 4 starts counting from zero, and its output is sent to adder 6.
The value of register 3 is added by , and the result is output as an image memory address. At the same time, the output of counter 4 is compared with the data in register 1 by comparator 6. When the output of this counter 4, that is, the scanning line address, matches the number to start displaying and the data in register 1, the output of comparator 6 is set, and this output clears counter 4 and at the same time the flip-flop input to step 8, and a gate signal is set. Furthermore, this gate signal is input to the selector 7, and the selector 7 selects the register 2. Subsequently, when a clock is input to the counter 4, the counter 4 starts counting from zero again, and this time, when the output of the counter 4 matches the value of the register 2, the output of the comparator 5 is set.

この比較器6の出力はフリップフロップ8に入力され、
ゲート信号はリセットされる。
The output of this comparator 6 is input to a flip-flop 8,
The gate signal is reset.

第2図は、” 1 ”’t ” 2= 8 、オフセッ
ト値@1o#の場合のタイミングチャートである。
FIG. 2 is a timing chart in the case of "1"'t"2=8 and offset value @1o#.

第2図において、aはカウンタ4へのクロック入力、b
はカウンタ4の出力、Cは加算器6の出力、dはセレク
タ7の出力、eは比較器6の出力、fはフリップフロッ
プ8の出力である。まず、しが“4”であるとき、カウ
ンタ4がカウントアツプされ、その値すがdと等しくな
ると、eの立上がりαでカウンタ4はリセットされると
同時にfが立上がシ、セレクタ7はレジスタ2を選択し
、dは”6″に変わる。次にbがdと等しくなるとeの
立上がシβでカウンタ4はリセットされ、同時に1が立
下がり、セレクタ7はレジスタ1を選択し、dは“4″
に変わる。
In FIG. 2, a is the clock input to counter 4, b
is the output of the counter 4, C is the output of the adder 6, d is the output of the selector 7, e is the output of the comparator 6, and f is the output of the flip-flop 8. First, when the current value is "4", the counter 4 is counted up, and when the value becomes equal to d, the counter 4 is reset at the rising edge α of e, and at the same time f rises, the selector 7 is Select register 2 and d changes to "6". Next, when b becomes equal to d, the counter 4 is reset by the rise of e and si β, and at the same time 1 falls, the selector 7 selects register 1, and d becomes “4”.
Changes to

尚、上記の実施例においては、垂直方向のアドレスの発
生と表示区間の制御の場合について述べたが、これを1
走査線中の画素及びそのデータ格納メモリアドレスに関
しても全く同様にその表示区間を制御することが可能で
ある。
In the above embodiment, the case of generation of vertical address and control of display section was described, but this can be explained as follows.
It is possible to control the display interval of pixels in a scanning line and their data storage memory addresses in exactly the same way.

発明の効果 一般に、画像表示用の走査線の数は数百本からたかだか
十数百本であるのに対し、その画像メモリアドレス空間
は数十刃から数百万ワードにも及ぶ。本発明では、この
広大なアドレス空間のうちの一部のみを画像として表示
する際に、メモリ上の走査開始アドレス、表示開始アド
レス表示終了アドレスを出力するためのレジスタの語長
を少なくすることができる。また、カウンタに要求され
る機能も、カウントとリセットという、カウンタとして
最低限の機能だけであり、比較器も一つだけでよい。以
上のような、レジスタ語長の節約、カウンタに要求され
る機能の簡素化、比較器の省略は、いずれも回路構成上
、その簡素化を促し、特に集積回路上に構成する場合、
基本ゲート数の減少に寄与することになる。
Effects of the Invention In general, the number of scanning lines for displaying an image ranges from several hundred to a dozen or more hundred at most, whereas the image memory address space ranges from several tens of blades to several million words. In the present invention, when displaying only a part of this vast address space as an image, it is possible to reduce the word length of the register for outputting the scan start address, display start address, and display end address on memory. can. Further, the functions required of the counter are only the minimum functions required for a counter, such as counting and resetting, and only one comparator is required. Saving the register word length, simplifying the functions required for the counter, and omitting the comparator as described above all promote simplification in terms of circuit configuration, especially when configured on an integrated circuit.
This will contribute to reducing the basic number of gates.

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

第1図は本発明の一実施例のアドレス発生装置の構成を
示すブロック図、第2図は第1図の動作を説明するため
のタイミングチャート、第3図は従来のアドレス発生装
置のブロック図、第4図は第3図の動作を説明するため
のタイミングチャートである。 1.2,3・・・・・・レジスタ、4・・・・・・カウ
ンタ、6・・・・・・比較器、6・・・・・・加算器、
7・・・・・・セレクタ、8・・・・・・フリップフロ
ップ。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名ぐ9 −                ′+    〜の
     へ   や
FIG. 1 is a block diagram showing the configuration of an address generator according to an embodiment of the present invention, FIG. 2 is a timing chart for explaining the operation of FIG. 1, and FIG. 3 is a block diagram of a conventional address generator. , FIG. 4 is a timing chart for explaining the operation of FIG. 3. 1.2, 3...Register, 4...Counter, 6...Comparator, 6...Adder,
7...Selector, 8...Flip-flop. Name of agent: Patent attorney Toshio Nakao and one other person

Claims (1)

【特許請求の範囲】[Claims] リセット信号によりデータをクリアし、入力クロックを
カウントするカウンタと、ダミーカウント量を格納する
第1のレジスタと、アドレスの発生回数を格納する第2
のレジスタと、アクセス開始アドレスを格納する第3の
レジスタと、前記カウンタのデータと前記第1のレジス
タのデータ及び第2のレジスタのデータとを比較する比
較器と、前記カウンタのデータと前記第3のレジスタの
データを加算する加算器とを具備し、前記比較器は、前
記カウンタのデータと第1のレジスタのデータが一致す
ると前記カウンタをクリア、ゲート信号をセット及び前
記比較器への入力データを第1のレジスタから第2のレ
ジスタへ切換える手段と、前記比較器において前記カウ
ンタのデータと前記第2のレジスタのデータとが一致す
ると前記ゲート信号をリセットする手段と、前記リセッ
ト信号により前記ゲート信号をリセット及び入力データ
を第1のレジスタに切換える手段とを有し、メモリアク
セスアドレス及びアクセスアドレスの有効を示すゲート
信号を作成することを特徴とするアドレス発生装置。
A counter that clears data by a reset signal and counts input clocks, a first register that stores a dummy count, and a second register that stores the number of address occurrences.
a third register that stores an access start address; a comparator that compares the data of the counter with the data of the first register and the data of the second register; and an adder that adds data in the third register, and the comparator clears the counter when the data in the counter matches the data in the first register, sets a gate signal, and inputs the signal to the comparator. means for switching data from a first register to a second register; means for resetting the gate signal when data in the counter and data in the second register match in the comparator; 1. An address generation device comprising means for resetting a gate signal and switching input data to a first register, and generating a memory access address and a gate signal indicating validity of the access address.
JP60089219A 1985-04-25 1985-04-25 Address generator Granted JPS61248084A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60089219A JPS61248084A (en) 1985-04-25 1985-04-25 Address generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60089219A JPS61248084A (en) 1985-04-25 1985-04-25 Address generator

Publications (2)

Publication Number Publication Date
JPS61248084A true JPS61248084A (en) 1986-11-05
JPH041355B2 JPH041355B2 (en) 1992-01-10

Family

ID=13964613

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60089219A Granted JPS61248084A (en) 1985-04-25 1985-04-25 Address generator

Country Status (1)

Country Link
JP (1) JPS61248084A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6022184A (en) * 1983-07-19 1985-02-04 沖電気工業株式会社 Display control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6022184A (en) * 1983-07-19 1985-02-04 沖電気工業株式会社 Display control system

Also Published As

Publication number Publication date
JPH041355B2 (en) 1992-01-10

Similar Documents

Publication Publication Date Title
JPS6037477B2 (en) display device
JPS61248084A (en) Address generator
JP3089646B2 (en) PWM output circuit
JP2615004B2 (en) Integrated sequential access memory circuit
JPS6067990A (en) Picture information processor having density converting function
JPS6237263Y2 (en)
JPS62206651A (en) Automatic increment circuit for register address
JPH0511723A (en) Display renewal judgment circuit for crystal display device
JPS60119685A (en) Memory precharge circuit
JPH03113493A (en) Access method for external character memory
JPS6373292A (en) Character display device
JPS6083180A (en) Picture input device
KR950003055Y1 (en) Circuit for generating access signal in video graphix array
JPH0419894A (en) Elastic store circuit
JPH0752621Y2 (en) Waveform display device
JPH07210496A (en) Data transfer equipment
JPS5824819B2 (en) Hiyoji Seigiyohoushiki
JPH0387897A (en) Memory read control circuit of crt display device
JPS60254078A (en) Image display unit
JPH0682266B2 (en) Display address generator
JPS635758B2 (en)
JPS60230687A (en) Crt display unit allowed to display half-quads character
JPS5857116B2 (en) Cathode ray tube display control circuit
JPS6152474B2 (en)
JPS6383990A (en) Read-only memory