JPH0347512B2 - - Google Patents

Info

Publication number
JPH0347512B2
JPH0347512B2 JP59156129A JP15612984A JPH0347512B2 JP H0347512 B2 JPH0347512 B2 JP H0347512B2 JP 59156129 A JP59156129 A JP 59156129A JP 15612984 A JP15612984 A JP 15612984A JP H0347512 B2 JPH0347512 B2 JP H0347512B2
Authority
JP
Japan
Prior art keywords
circuit
output
signal
write
write data
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.)
Expired
Application number
JP59156129A
Other languages
Japanese (ja)
Other versions
JPS6134588A (en
Inventor
Takaaki Yokoi
Masaki Kotaki
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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP15612984A priority Critical patent/JPS6134588A/en
Publication of JPS6134588A publication Critical patent/JPS6134588A/en
Publication of JPH0347512B2 publication Critical patent/JPH0347512B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 (技術分野) 本発明は画像処理装置に使用される画像記憶制
御回路に関する。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to an image storage control circuit used in an image processing apparatus.

(従来技術) 通常、メモリ回路には動作モードとして読出し
モード、書込みモード、読出し後書込みモードの
3つの動作モードがある。このメモリ回路を画像
メモリとして使用する場合、画像の重ね合せを可
能とするように、初期化するときのみ全画像メモ
リに「0」を書込み、実際の画像データを書込む
場合は読出し後書込みモードを使用して、書込み
データと読出しデータとの論理和を書込む方法が
採られている。
(Prior Art) Memory circuits typically have three operating modes: read mode, write mode, and read-then-write mode. When using this memory circuit as an image memory, "0" is written to all image memories only when initializing so that images can be superimposed, and when writing actual image data, the read-then-write mode is used. A method of writing the logical sum of write data and read data using .

従来、画像データを画像メモリに書込む場合に
は、書込むデータの内容には関係なく全データを
書込む必要があるため、画像データが白(0)を
基調とする場合でも全画像データを書込むための
時間を必要とし、書込み時間がかかるという欠点
があつた。
Conventionally, when writing image data to image memory, it is necessary to write all the data regardless of the content of the data to be written, so even if the image data is based on white (0), it is necessary to write all the image data. It has the disadvantage that it requires time to write, and it takes a long time to write.

例えば、32×32ドツトの文字パターンを記憶す
る場合、「−」,「二」のような簡単な文字の場合
には白が殆んどとなつているのに、32×32のドツ
トを全て記憶する必要があつた。
For example, when memorizing a character pattern of 32 x 32 dots, simple characters such as "-" and "2" are mostly white, but all 32 x 32 dots are memorized. I needed to remember.

(発明の目的) 本発明の目的は、このような欠点を除去し、書
込みデータの内容が「0」の場合画像メモリへの
書込みをバイパスする動作モードを設けることに
より、画像データの書込み時間を短縮することの
できる画像記憶制御回路を提供することにある。
(Object of the Invention) An object of the present invention is to eliminate such drawbacks and reduce the time required to write image data by providing an operation mode that bypasses writing to the image memory when the content of the write data is "0". An object of the present invention is to provide an image storage control circuit that can be shortened.

(発明の構成) 本発明の画像記憶制御回路の構成は、書き換え
可能な記憶回路と、この記憶回路へのアドレスを
一時記憶するアドレスレジスタと、前記記憶回路
から読出した出力データを一時記憶するリードデ
ータレジスタと、前記記憶回路へ書込む入力デー
タを一時記憶するライトデータレジスタと、動作
モードが論理和モードのとき前記リードデータレ
ジスタの出力と前記ライトデータレジスタの出力
との論理和を出力しその動作モードが論理和モー
ドでないときは前記ライトデータレジスタの出力
を出力する論理和回路と、前記ライトデータレジ
スタの内容の所定ビツト数がすべて「0」のとき
零検出信号を発生する零検出回路と、この零検出
信号が出力されない場合はメモリアクセス要求に
対して前記記憶回路に前記論理和回路の出力を書
込み制御信号を発生し前記零検出信号が出力され
ている場合は前記制御信号を発生せずにアクセス
終了信号を出力するタイミング制御回路とを備
え、前記書込みデータが「0」の場合前記記憶回
路への書込みをバイパスすることを特徴とする。
(Configuration of the Invention) The configuration of the image storage control circuit of the present invention includes a rewritable storage circuit, an address register that temporarily stores an address to the storage circuit, and a lead that temporarily stores output data read from the storage circuit. a data register; a write data register that temporarily stores input data to be written into the memory circuit; and a write data register that outputs the logical sum of the output of the read data register and the output of the write data register when the operation mode is the logical sum mode; an OR circuit that outputs the output of the write data register when the operation mode is not the OR mode; and a zero detection circuit that generates a zero detection signal when a predetermined number of bits in the contents of the write data register are all "0". , if this zero detection signal is not output, write the output of the OR circuit to the memory circuit in response to a memory access request and generate a control signal, and if the zero detection signal is output, generate the control signal. and a timing control circuit that outputs an access end signal without any delay, and when the write data is "0", writing to the memory circuit is bypassed.

(実施例) 次に図面を用いて本発明を詳細に説明する。(Example) Next, the present invention will be explained in detail using the drawings.

第1図は本発明の一実施例の画像記憶制御回路
を表わすブロツク図である。本実施例は、記憶回
路1、アドレスレジスタ2、ライトデータレジス
タ3、リードデータレジスタ4、論理和回路5)、
「0」検出回路6、タイミング制御回路7から構
成されている。第2図a〜jは本実施例の書込み
データが「0」でない場合の動作タイムチヤー
ト、第3図a〜fは書込みデータが「0」の場合
の動作タイムチヤートである。なお、この動作は
負論理で説明している。
FIG. 1 is a block diagram showing an image storage control circuit according to an embodiment of the present invention. This embodiment includes a memory circuit 1, an address register 2, a write data register 3, a read data register 4, an OR circuit 5),
It consists of a "0" detection circuit 6 and a timing control circuit 7. 2A to 2J are operation time charts when the write data of this embodiment is not "0", and FIGS. 3A to 3F are operation time charts when the write data is "0". Note that this operation is explained using negative logic.

次に第2図によつて書込みデータが「0」でな
い場合の動作を説明する。このときの動作モード
は、入力端子14からの信号が読出し後書込みモ
ードであり、入力端子13からの「0」検出可信
号が「1」の「0」検出可モードである。まず、
画像記憶制御回路に画像データを書込む場合、入
力端子11からのアドレス(第2図a)がアドレ
スレジスタ2に、入力端子12からの書込み(ラ
イト)データ(第2図b)がライトデータレジス
タ3にセツトされた後、入力端子16からのアク
セス要求信号(第2図c)が与えられる。このラ
イトデータレジスタ3にセツトされたデータは、
「0」でないので「0」検出回路6からは「0」
検出信号(第2図d)は発生しない。このアクセ
ス要求信号cは負論理のパルス信号でその立ち上
りでタイミング制御回路7を起動する。このタイ
ミング制御回路7は「0」検出信号dが発生して
いないので、記憶回路1へメモリアクセス信号
(第2図e)を出力する。このとき記憶回路1へ
のアクセスモードは読出しモードである。続い
て、タイミング制御回路7から負論理の第1のゲ
ート信号(第2図f)が発生し、書込みアドレス
の前データが読出し信号(第2図i)として出力
される。この読出し信号は第1のゲート信号fの
立上りでリードデータレジスタ4に記憶され、そ
の内容は論理和回路5に送られる。
Next, the operation when the write data is not "0" will be explained with reference to FIG. The operating mode at this time is a write-after-read mode in which the signal from the input terminal 14 is read, and a "0" detectable mode in which the "0" detectable signal from the input terminal 13 is "1". first,
When writing image data to the image storage control circuit, the address from the input terminal 11 (Fig. 2 a) is stored in the address register 2, and the write data from the input terminal 12 (Fig. 2 b) is stored in the write data register. After being set to 3, an access request signal (FIG. 2c) from input terminal 16 is applied. The data set in this write data register 3 is
Since it is not "0", the "0" detection circuit 6 outputs "0".
No detection signal (FIG. 2d) is generated. This access request signal c is a negative logic pulse signal and activates the timing control circuit 7 at its rising edge. Since the "0" detection signal d is not generated, the timing control circuit 7 outputs a memory access signal (FIG. 2e) to the storage circuit 1. At this time, the access mode to the memory circuit 1 is the read mode. Subsequently, a negative logic first gate signal (FIG. 2, f) is generated from the timing control circuit 7, and the previous data of the write address is output as a read signal (FIG. 2, i). This read signal is stored in the read data register 4 at the rise of the first gate signal f, and its contents are sent to the OR circuit 5.

一方、外部から与えられた動作モードが読出し
後書込みモードの場合、論理和回路5の動作モー
ドは論理和モードとなつている。第1のゲート信
号fが立ち上つた後負論理の第2のゲート信号g
が発生し、論理和回路5からはライトデータレジ
スタ3に記憶された書込みデータと記憶回路1か
ら読出し、リードデータレジスタ4に記憶された
記憶回路1の前データとの論理和であるデータが
出力される。第2のゲート信号に続いてタイミン
グ制御回路7から書込み信号(第2図h)が発生
し、書込みデータと記憶回路1の前データとの論
理和であるデータ(第2図i)が記憶回路1に再
び書込まれる。この記憶回路1への書込みが終了
すると負論理のメモリアクセス信号(第2図e)
が立上り、アクセス終了信号(第2図j)が外部
へ出力される。
On the other hand, when the externally applied operation mode is the read-then-write mode, the operation mode of the OR circuit 5 is the OR mode. After the first gate signal f rises, the second gate signal g of negative logic
is generated, and the OR circuit 5 outputs data that is the logical sum of the write data stored in the write data register 3 and the previous data of the storage circuit 1 read from the storage circuit 1 and stored in the read data register 4. be done. Following the second gate signal, a write signal (Fig. 2 h) is generated from the timing control circuit 7, and the data (Fig. 2 i) which is the logical sum of the write data and the previous data of the storage circuit 1 is sent to the storage circuit 1. 1 again. When writing to the memory circuit 1 is completed, a negative logic memory access signal (Fig. 2e)
rises, and an access end signal (j in FIG. 2) is output to the outside.

次に、書込みデータが「0」である場合の動作
を第1図および第3図を用いて説明する。このと
きの動作モードは読出し後書込みモードであり、
「0」検出可モードである。また、アクセス要求
信号(第3図c)が与えられた前に書込みアドレ
ス(第3図a)がアドレスレジスタ2に、書込み
データ(第3図b)がライトデータレジスタ3に
セツトされている。このライトデータレジスタ3
の内容は「0」であるので、「0」検出回路5か
らは「0」検出信号(第3図d)が出力され、こ
の「0」検出信号はタイミング制御回路7に接続
されている。負論理のアクセス要求信号(第3図
c)が外部(入力端子16)から与えられたと
き、その立上りでタイミング制御回路7を起動す
るが、このアクセス要求信号が立上る時には既に
「0」検出信号(第3図d)が発生し、タイミン
グ制御回路7の動作モードが変わつているため、
記憶回路1へのメモリアクセス信号(第3図e)、
第1のゲート信号、第2のゲート信号および書込
み信号は発生せず、直ちに書込み終了信号(第3
図f)が外部へ出力される。
Next, the operation when the write data is "0" will be explained using FIGS. 1 and 3. The operating mode at this time is read-then-write mode,
"0" is the detectable mode. Further, before the access request signal (FIG. 3c) is applied, the write address (FIG. 3a) is set in the address register 2, and the write data (FIG. 3b) is set in the write data register 3. This write data register 3
Since the content of is "0", the "0" detection circuit 5 outputs a "0" detection signal (FIG. 3d), and this "0" detection signal is connected to the timing control circuit 7. When a negative logic access request signal (FIG. 3c) is applied from the outside (input terminal 16), the timing control circuit 7 is activated at the rising edge of the signal, but by the time this access request signal rises, "0" has already been detected. Since the signal (Fig. 3 d) is generated and the operation mode of the timing control circuit 7 is changed,
Memory access signal to memory circuit 1 (Fig. 3e),
The first gate signal, second gate signal, and write signal are not generated, and the write end signal (third
Figure f) is output to the outside.

本実施例の一例として、32×32ドツトの文字パ
ターンを記憶させるような場合、入力データは8
ビツトあるいは16ビツト毎にライトデータレジス
タ3に一時記憶される。このレジスタに入力され
る8ビツトあるいは16ビツトが全て「0」となる
ような簡単な文字の場合に、この白情報を記憶回
路に記憶せずにバイパスすることにより、記憶回
路を有効利用し、かつ書込み時間も短縮すること
ができる。
As an example of this embodiment, when storing a character pattern of 32 x 32 dots, the input data is 8
The data is temporarily stored in the write data register 3 bit by bit or every 16 bits. In the case of a simple character in which all 8 bits or 16 bits input to this register are "0", by bypassing this white information without storing it in the memory circuit, the memory circuit can be used effectively. Moreover, writing time can also be shortened.

(発明の効果) 以上説明したように、本発明においては、書込
みデータが「0」であることを検出する手段を設
け、動作モードが読み出し後書込みモードの場合
に書込みデータが「0」のとき、画像メモリへの
書込みをバイパスすることにより、画像メモリへ
の書込み時間を短縮することができる。とくに、
書込む画像データが白を基調とする場合、大多数
のデータは書込む必要がないためその効果が大き
い。
(Effects of the Invention) As explained above, in the present invention, a means for detecting that write data is "0" is provided, and when the write data is "0" when the operation mode is the write-after-read mode. By bypassing writing to the image memory, it is possible to shorten the writing time to the image memory. especially,
If the image data to be written is based on white, the effect is great because most of the data does not need to be written.

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

第1図は本発明の一実施例の構成を示すブロツ
ク図、第2図a〜jは第1図の書込みデータが
「0」でない場合の動作タイムチヤート、第3図
a〜fは第1図の書込みデータが「0」の場合の
動作タイムチヤートである。 図において、1……記憶回路、2……アドレス
レジスタ、3……ライトデータレジスタ、4……
リードデータレジスタ、5……論理和回路、6…
…「0」検出回路、7……タイミング制御回路、
11〜16……信号入力端子、18,19……出
力端子、である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIGS. 2 a to j are operation time charts when the write data in FIG. 1 is not "0", and FIGS. This is an operation time chart when the write data in the figure is "0". In the figure, 1...Storage circuit, 2...Address register, 3...Write data register, 4...
Read data register, 5...OR circuit, 6...
..."0" detection circuit, 7...timing control circuit,
11 to 16...signal input terminals, 18, 19...output terminals.

Claims (1)

【特許請求の範囲】[Claims] 1 書き換え可能な記憶回路と、この記憶回路へ
のアドレスを一時記憶するアドレスレジスタと、
前記記憶回路から読出した出力データを一時記憶
するリードデータレジスタと、前記記憶回路へ書
込む画像入力データを一時記憶するライトデータ
レジスタと、動作モードが論理和モードのとき前
記リードデータレジスタの出力と前記ライトデー
タレジスタの出力との論理和を出力しその動作モ
ードが論理和モードでないときは前記ライトデー
タレジスタの出力を出力する論理和回路と、前記
ライトデータレジスタの内容の所定ビツト数がす
べて「0」のとき零検出信号を発生する零検出回
路と、この零検出信号が出力されない場合はメモ
リアクセス要求に対して前記記憶回路に前記論理
和回路の出力を書込む制御信号を発生し前記零検
出信号が出力されている場合は前記制御信号を発
生せずにアクセス終了信号を出力するタイミング
制御回路とを備え、前記書込みデータが「0」の
場合前記記憶回路への書込みをバイパスすること
を特徴とする画像記憶制御回路。
1. A rewritable memory circuit, an address register that temporarily stores an address to this memory circuit,
a read data register that temporarily stores output data read from the storage circuit; a write data register that temporarily stores image input data to be written to the storage circuit; and an output of the read data register when the operation mode is the OR mode. an OR circuit that outputs the logical sum with the output of the write data register and outputs the output of the write data register when the operation mode is not the logical sum mode; a zero detection circuit that generates a zero detection signal when the zero detection signal is 0'', and a zero detection circuit that generates a control signal that writes the output of the OR circuit to the storage circuit in response to a memory access request when the zero detection signal is not output; and a timing control circuit that outputs an access end signal without generating the control signal when the detection signal is output, and bypasses writing to the storage circuit when the write data is "0". Characteristic image storage control circuit.
JP15612984A 1984-07-26 1984-07-26 Image memory control circuit Granted JPS6134588A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15612984A JPS6134588A (en) 1984-07-26 1984-07-26 Image memory control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15612984A JPS6134588A (en) 1984-07-26 1984-07-26 Image memory control circuit

Publications (2)

Publication Number Publication Date
JPS6134588A JPS6134588A (en) 1986-02-18
JPH0347512B2 true JPH0347512B2 (en) 1991-07-19

Family

ID=15620955

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15612984A Granted JPS6134588A (en) 1984-07-26 1984-07-26 Image memory control circuit

Country Status (1)

Country Link
JP (1) JPS6134588A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6334659A (en) * 1986-07-29 1988-02-15 Sharp Corp Dma controller for picture processing

Also Published As

Publication number Publication date
JPS6134588A (en) 1986-02-18

Similar Documents

Publication Publication Date Title
KR860000595A (en) Memory access control method for information processing device
KR870011615A (en) Partial Written Control
JPH0347512B2 (en)
JPS623520B2 (en)
JPS593471A (en) Image memory control system
JPS6226548A (en) Memory controller
JPS59180787A (en) Printer
JPS61238089A (en) Multiwindow controller
US6577313B1 (en) Image data control apparatus
JPS6232818B2 (en)
JPH01112449A (en) Speed converting memory device
JPH0426312B2 (en)
JPS6125653U (en) Image information processing device
JPH0448391A (en) Information processing device with fill processing function
JPH0431940A (en) Detection of capacity of memory card
JPS6190241A (en) Read control circuit
JPS608891A (en) Character generator control system
JPS60196859A (en) Memory address control system
JPS58195913A (en) Clock circuit
JPS6016250U (en) optical symbol reader
JPS58150991A (en) Symbol pattern generator
EP0516437A2 (en) Write error detecting hardware arrangement
JPS6113318B2 (en)
JPH0516452A (en) Printer
JPS5850775U (en) receiving device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term