JPH03191445A - Memory circuit device - Google Patents

Memory circuit device

Info

Publication number
JPH03191445A
JPH03191445A JP33222289A JP33222289A JPH03191445A JP H03191445 A JPH03191445 A JP H03191445A JP 33222289 A JP33222289 A JP 33222289A JP 33222289 A JP33222289 A JP 33222289A JP H03191445 A JPH03191445 A JP H03191445A
Authority
JP
Japan
Prior art keywords
data
memory
line
output
input
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
JP33222289A
Other languages
Japanese (ja)
Inventor
Masaharu Taniguchi
谷口 正治
Junji Mano
純司 真野
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP33222289A priority Critical patent/JPH03191445A/en
Publication of JPH03191445A publication Critical patent/JPH03191445A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the reading efficiency of data from a memory by providing a circuit for detecting that all data for one line written in a line memory are 'H' or 'L' to the periphery of the memory. CONSTITUTION:The output D1 of an n-input NAND circuit 2a for inputting data to the line memory 1 goes the data input of the 1st FF 2c and outputted to an output Q1 by a clock, the inverse of WE. When all the input data for one line to the line memory 1 are 'H', the output D1 is always 'L' at the time of inputting the clock, the inverse of WE, and thereby the output Q1 also is always 'L', so that the output QC of the 2nd FF 2e is still held at 'H' even if the writing of the one line data in the memory 1 has been completed. When the input data to the memory 1 are not all 'H', the output QC of the 2nd FF 2e is turned to 'L'. Namely, when even one of the input data is 'L', the FF 2e latches the 'L'. When the output QC of the FF 2e is used as a flag for detecting all 'H', whether data to be read out are all 'H' or not can be detected at the time of reading out the data written in the memory 1.

Description

【発明の詳細な説明】 (産業上の利用分野〕 この発明は画像データ処理等に用いるメモリ回路装置に
関し、データの読み出しの効率化を図ったものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a memory circuit device used for image data processing, etc., and is intended to improve the efficiency of data reading.

〔従来の技術〕[Conventional technology]

第7図は従来のメモリ回路を示すブロック構成図を示し
、図において、D0〜Dnはメモリ1へのデータ入力、
WEはメモリへのライトイネーブル入力、Addrはメ
モリへのアドレス入力、そしてQ0〜Q7はメモリから
のデータ出力である。
FIG. 7 shows a block configuration diagram showing a conventional memory circuit. In the figure, D0 to Dn are data inputs to memory 1;
WE is a write enable input to the memory, Addr is an address input to the memory, and Q0 to Q7 are data outputs from the memory.

画像データ処理等では、画像データの1ラインを1単位
として扱い処理するため、画像データ処理にメモリを用
いる場合、lライン毎の画像データがライト・リードさ
れるラインメモリとして使用される。
In image data processing, etc., one line of image data is treated as one unit and processed, so when a memory is used for image data processing, it is used as a line memory in which image data for each line is written and read.

ここで、第8図に、画像データをメモリに1ライン分ラ
イト・リードする場合の概念図を示す。
Here, FIG. 8 shows a conceptual diagram when writing and reading one line of image data into the memory.

この例は1ライン分の画像データを一部メモリにライト
し、その後リードした場合を示すものである。
This example shows a case where part of the image data for one line is written to the memory and then read.

(1)  ライト動作 原稿等を光学読取装置に通すことにより、原稿の白・黒
を白=“L”、黒=“H”のディジタルの電気信号に変
換する。このディジタルの電気信号に変換された画像デ
ータの1ライン分をメモリのビット構成に対応した回数
だけライトを行う。
(1) Write operation By passing a document or the like through an optical reading device, the white and black of the document are converted into digital electrical signals of white=“L” and black=“H”. One line of image data converted into digital electrical signals is written a number of times corresponding to the bit configuration of the memory.

この例では、1ラインが24ビツト、メモリが8ビツト
構成の場合なので、1ライン分を書き込む場合は合計3
回ライトする必要がある。このように所要回数ライト動
作を繰り返すことにより、1947分の画像データをラ
インメモリ1に書き込む。
In this example, one line is 24 bits and the memory is 8 bits, so when writing one line, there are a total of 3 bits.
need to be written twice. By repeating the write operation a required number of times in this way, 1947 worth of image data is written into the line memory 1.

(2)  リード動作 一部書き込まれた画像データを読み出す場合は、例えば
上記1ライン24ビツトメモリ8ビツト構成時には、1
ライン分のデータを読み出すのに合計3回のリード動作
を行う必要がある。このように所要回数リード動作を繰
り返すことにより、1ライン分の画像データをラインメ
モリ1から読み出す。
(2) Read operation When reading partially written image data, for example, when the 1-line 24-bit memory is configured with 8 bits, 1
It is necessary to perform a total of three read operations to read data for a line. By repeating the read operation a required number of times in this manner, one line of image data is read from the line memory 1.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来のメモリ回路装置は以上のように構成されており、
上記した動作により画像データをラインメモリにライト
及びリードするが、通常、この画像データの1ライン分
は数千ビットにもなり、そのデータ量は膨大なものであ
る。
A conventional memory circuit device is configured as described above.
Image data is written to and read from the line memory through the above operations, but normally one line of this image data is several thousand bits, and the amount of data is enormous.

従ってメモリにこの画像データをライト及びリードする
場合、数百回のライト・リード動作を繰り返さなければ
ならず、1ライン分の画像データをメモリとの間で読み
書きするだけでも非常に長い時間が必要とされる。この
ためメモリへのデータのライト・リード時間はシステム
全体で見た場合のデータ処理時間の中で非常に大きな割
合を占めることになる。
Therefore, when writing and reading this image data to memory, it is necessary to repeat the write and read operations hundreds of times, and it takes a very long time just to read and write one line of image data to and from memory. It is said that Therefore, the time for writing and reading data to the memory occupies a very large proportion of the data processing time for the entire system.

この発明は、以上のような問題点に鑑みてなされたもの
で、メモリからのデータの読み出しの効率化を図ること
ができ、システム全体で見た場合のデータ処理時間を短
縮することができるメモリ回路装置を得ることを目的と
する。
This invention was made in view of the above-mentioned problems, and is a memory that can improve the efficiency of reading data from memory and shorten the data processing time for the entire system. The purpose is to obtain a circuit device.

〔問題を解決するための手段〕[Means to solve the problem]

この発明に係るメモリ回路装置は、書き込まれた154
7分の全データがオール″H′又はオール“L”の時に
フラグを立てる回路をメモリの周辺に備えたものである
The memory circuit device according to the present invention has 154
A circuit is provided around the memory to set a flag when all data for 7 minutes are all "H" or all "L".

〔作用〕[Effect]

この発明においては、ラインメモリに書き込まれた1ラ
イン分の全データがオール1H″又はオール“L″を検
知する回路をメモリの周辺に設け、1ライン分のデータ
全てをリードすることなしに、データがオール“H″又
はオール″L”であることを検知し、この場合のライン
メモリからの画像データの読み出しを不要としたので、
メモリからのデータの読み出し効率の向上を図ることが
できる。
In this invention, a circuit is provided around the memory to detect whether all data for one line written in the line memory are all 1H" or all "L", and without reading all data for one line, Since it is detected that the data is all "H" or all "L", there is no need to read out the image data from the line memory in this case.
It is possible to improve the efficiency of reading data from the memory.

〔実施例〕〔Example〕

以下、この発明の一実施例を図に基づき詳細に説明する
Hereinafter, one embodiment of the present invention will be described in detail based on the drawings.

第1図はこの発明の一実施例によるメモリ回路装置の原
理構成図で、第2図はその具体例のブロック構成図であ
り、図において、1はメモリ、2は、NAND回路2a
、OR回路2b、第1のフリップフロップ2 C+第2
のフリップフロップ2e、第3のフリップフロップ2d
、第4のフリップフロップ2fからなる検知回路である
FIG. 1 is a principle block diagram of a memory circuit device according to an embodiment of the present invention, and FIG. 2 is a block diagram of a specific example thereof. In the figure, 1 is a memory, and 2 is a NAND circuit 2a.
, OR circuit 2b, first flip-flop 2 C+second
flip-flop 2e, third flip-flop 2d
, a fourth flip-flop 2f.

次にこの回路の動作を第3図ないし第6図のタイミング
図に基づいて説明する。
Next, the operation of this circuit will be explained based on the timing diagrams of FIGS. 3 to 6.

このタイミング図は、データの1ラインが24ビツト、
メモリが8ビツトの構成のもとで、1ラインの左側のデ
ータをメモリ1のMSB (Dt )に割りふった場合
のものである。
In this timing diagram, one line of data is 24 bits,
This is the case where the data on the left side of one line is allocated to the MSB (Dt) of memory 1 in an 8-bit memory configuration.

(1)  まず、1ライン分のデータがオール“H”で
あることを検出する場合について説明する。
(1) First, a case will be described in which it is detected that one line of data is all "H".

ラインメモリへのデータを入力とするn入力NAND回
路2a(例ではn=8人力)の出力り。
This is the output of an n-input NAND circuit 2a (in the example, n = 8 manual inputs) which inputs data to the line memory.

が、第1のフリップフロップ2Cのデータ入力になって
おりクロックWEにより出力Q、に出力される。このQ
、が第2のフリップフロップ2eのクロックになってい
る。
is the data input of the first flip-flop 2C, and is outputted to the output Q by the clock WE. This Q
, is the clock of the second flip-flop 2e.

第3図に示すように、ラインメモリ1への入力データが
1ラインオール“H”の場合は、D、はクロンクW下が
入力される時は常に“L”、従ってQ、も常に“L″で
あるため第2のフリップフロップ2eの出力QCは、ラ
インメモリ1への1ラインのデータのライトが完了して
も“H″のままである。
As shown in FIG. 3, when the input data to the line memory 1 is all "H" for one line, D is always "L" when the lower clock W is input, and therefore Q is also always "L". '', the output QC of the second flip-flop 2e remains at "H" even after writing of one line of data to the line memory 1 is completed.

次に第4図に示すように、ラインメモリ1への入力デー
タがオール“H”でない場合は、DIはクロックW1が
入力される時に“H”になる時があり従ってQ、も“H
”になる。Qlが“H″になることにより第2のフリッ
プフロップ2eの出力QCは“L”に変化する。つまり
第2のフリップフロップ2eでは入力データに1つでも
“L”があるとその“L”をラッチすることになる。
Next, as shown in FIG. 4, if the input data to line memory 1 is not all "H", DI may become "H" when clock W1 is input, and therefore Q also becomes "H".
”. When Ql becomes “H”, the output QC of the second flip-flop 2e changes to “L”. In other words, in the second flip-flop 2e, if there is even one “L” in the input data, the output QC of the second flip-flop 2e changes to “L”. This "L" will be latched.

この第2のフリップフロップ2eの出力QCをオール“
H”検出用のフラグとすることにより、ラインメモリ1
にライトしたデータをリードする時に、このフラグを見
ることにより、今がらリードするデータがオール“H”
であるが否がが分る。
The output QC of this second flip-flop 2e is all “
By setting the flag for detecting “H”, line memory 1
By looking at this flag when reading the data written to the
However, I know whether it is true or not.

(2)次に、1547分のデータがオール“L”である
ことを検出する場合について説明する。
(2) Next, a case will be described in which it is detected that 1547 minutes of data are all "L".

ラインメモリ1へのデータを入力するn入力OR回路2
b(例ではn=8人力)の出力Dtが、第3のフリップ
フロップ2dのデータ入力になっておりクロフタWEに
より出力Q2に出力される。
n-input OR circuit 2 that inputs data to line memory 1
The output Dt of the transistor b (in the example, n=8 human power) is the data input of the third flip-flop 2d, and is outputted to the output Q2 by the crofter WE.

このQ:が第4のフリップフロップ2fのクロックにな
っている。
This Q: serves as a clock for the fourth flip-flop 2f.

第5図に示すように、ラインメモリ1への入力データが
1ラインオール°L′の場合は、DtはクロックWEが
入力される時は常に“L”、従ってQ、も常に“L”で
あるため第4のフリップフロップ2fの出力QCは、ラ
インメモリ1への1ラインのデータが完了しても“Ho
のままである。
As shown in FIG. 5, when the input data to line memory 1 is 1 line all °L', Dt is always "L" when clock WE is input, and therefore Q is also always "L". Therefore, the output QC of the fourth flip-flop 2f is “Ho” even if one line of data to the line memory 1 is completed.
It remains as it is.

次に第6図に示すように、ラインメモリIへの入力デー
タがオール1L″でない時は、DtはクロックW1が入
力される時に“H”になる時があり従ってQ!が“H”
になる、Q!が“Hoになることで第4のフリップフロ
ップ2rの出力QCは@L″に変化する。つまり第4の
フリップフロップ2fは入力データに1つでも“H”が
あるとその“H”をランチすることになる。
Next, as shown in FIG. 6, when the input data to the line memory I is not all 1L, Dt may become "H" when the clock W1 is input, and therefore Q! becomes "H".
Become Q! By becoming "Ho", the output QC of the fourth flip-flop 2r changes to @L. In other words, if there is even one "H" in the input data, the fourth flip-flop 2f launches that "H".

この第4のフリップフロップ2fの出力QCをオール1
L”検出用のフラグにすることにより、ラインメモリ1
にライトしたデータをリードする時に、このフラグを見
ることにより今からリードするデータがオール“L”で
あるか否かが分る。
The output QC of this fourth flip-flop 2f is all 1
By setting the flag for “L” detection, line memory 1
When reading data that has been written to , by looking at this flag, it can be determined whether the data to be read is all "L" or not.

以上説明したように、ラインメモリ1への入力データが
オール“Hoまたはオール1L”であることを検出する
検知回路2をメモリ周辺に設けたことにより、ラインメ
モリ1にライトしであるデータをリードしそのデータを
処理する場合、上記2つのフラグによりオール″H″あ
るいはオール“L”を検出した時点で、即データ処理を
開始することが可能となる。従ってデータがオール“H
oあるいはオール“L″の時は、ニライン分のデータ全
てを従来のように数百回のリード動作を繰り返して読み
出す必要はなくなり、上述のフラグによりオール″H”
あるいはオール1L″を検出する迄の時間がリード時間
となる。ゆえにオール“H”あるいはオール“L”時の
リード時間を非常に短縮することができ、ひいてはシス
テム全体で見た場合のデータの処理時間を短縮すること
ができる。
As explained above, by providing the detection circuit 2 around the memory that detects whether the input data to the line memory 1 is all "Ho" or "all 1L", it is possible to write data to the line memory 1 and read certain data. When processing that data, it is possible to immediately start data processing when all "H" or all "L" are detected by the above two flags. Therefore, the data is all “H”
o or all "L", it is no longer necessary to read all the data for two lines by repeating the read operation hundreds of times as in the past, and the above flag makes all "H".
Alternatively, the time it takes to detect all "1L" becomes the lead time. Therefore, the lead time when all "H" or all "L" is detected can be greatly shortened, and the data processing when viewed as a whole system. It can save time.

なお、上記実施例では、ラインメモリlにデータを人力
するときに、入力データがオール“H”あるいはオール
″L”であるかを確認しその結果を保持し、データのリ
ード時にその結果を見ることにより今からリードするデ
ータがオール“H”あるいはオール“L”であるのかを
検出する検知回路2を複数のフリップフロップ2C,2
d、2e+2f及びNAND回路2a、OR回路2bか
ら構成したが、本発明の回路構成はこれに限るものでは
なく、上記動作を行うもの、即ちデータ入力時にデータ
がオール1H″あるいはオール“L”であるかを判定記
憶し、リード時にその判定信号を検出して、これを検知
するものであれば、上記と同様の効果を得ることができ
る。
In the above embodiment, when inputting data into the line memory l, it is checked whether the input data is all "H" or all "L", the result is held, and the result is viewed when reading data. Accordingly, a detection circuit 2 for detecting whether the data to be read now is all “H” or all “L” is formed by a plurality of flip-flops 2C, 2.
d, 2e+2f, a NAND circuit 2a, and an OR circuit 2b, the circuit configuration of the present invention is not limited to this, but may be a circuit that performs the above operation, that is, when data is all 1H" or all "L" at the time of data input. The same effect as described above can be obtained as long as it is possible to determine and store whether or not there is one, and to detect the determination signal at the time of reading.

〔発明の効果〕〔Effect of the invention〕

以上のようにこの発明に係るメモリ回路装置によれば、
ラインメモリに書き込まれた1547分の全データがオ
ール″H″又はオール“L′かを検出する検知回路をラ
インメモリ周辺に設けたので、1ラインのデータ全てを
リードすることなく1547分のデータがオール′H″
又はオール“L”であることを検知することができ、こ
の場合にはラインメモリからデータをリードする必要が
なくなり、データのリード時間を短縮でき、この結果、
システム全体で見た場合のデータの処理時間を短縮する
ことができるという効果がある。
As described above, according to the memory circuit device according to the present invention,
Since a detection circuit is installed around the line memory to detect whether all 1547 minutes of data written to the line memory are all "H" or all "L", 1547 minutes of data can be read without reading all the data of one line. is all 'H''
Or, it can detect that all the lines are "L". In this case, there is no need to read data from the line memory, and the data read time can be shortened. As a result,
This has the effect of reducing data processing time in terms of the entire system.

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

第1図は、本発明のメモリ回路装置の原理構成図、第2
図は本発明の一実施例におけるメモリ回路装置のブロッ
ク構成図、第3図ないし第6図は第2図の動作を説明す
るタイミング図である。第7図は従来のメモリ回路装置
を示すブロック構成図であり、第8図は従来のメモリ回
路装置において画像データをラインメモリにリードライ
トする場合の概念図である。 図において、1はメモリ、2は検知回路である。 なお図中同一符号は同−又は相当部分を示す。
FIG. 1 is a principle configuration diagram of the memory circuit device of the present invention, and FIG.
The figure is a block diagram of a memory circuit device according to an embodiment of the present invention, and FIGS. 3 to 6 are timing diagrams for explaining the operation of FIG. 2. FIG. 7 is a block diagram showing a conventional memory circuit device, and FIG. 8 is a conceptual diagram when reading and writing image data to a line memory in the conventional memory circuit device. In the figure, 1 is a memory and 2 is a detection circuit. Note that the same reference numerals in the figures indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] (1)画像データ処理等に用いるメモリ回路装置におい
て、 メモリに書き込まれたラインの全データがオール“H”
あるいはオール“L”であることを検出する検知回路を
メモリ周辺に備えたことを特徴とするメモリ回路装置。
(1) In a memory circuit device used for image data processing, etc., all data of the line written to the memory is all “H”.
Alternatively, a memory circuit device characterized in that a detection circuit for detecting that all "L" states is provided around the memory.
JP33222289A 1989-12-20 1989-12-20 Memory circuit device Pending JPH03191445A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33222289A JPH03191445A (en) 1989-12-20 1989-12-20 Memory circuit device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33222289A JPH03191445A (en) 1989-12-20 1989-12-20 Memory circuit device

Publications (1)

Publication Number Publication Date
JPH03191445A true JPH03191445A (en) 1991-08-21

Family

ID=18252538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33222289A Pending JPH03191445A (en) 1989-12-20 1989-12-20 Memory circuit device

Country Status (1)

Country Link
JP (1) JPH03191445A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009084210A1 (en) * 2007-12-28 2009-07-09 Panasonic Corporation Information processing device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009084210A1 (en) * 2007-12-28 2009-07-09 Panasonic Corporation Information processing device
JP2009163325A (en) * 2007-12-28 2009-07-23 Panasonic Corp Information processor
US8131968B2 (en) 2007-12-28 2012-03-06 Panasonic Corporation Information processing device

Similar Documents

Publication Publication Date Title
JPH0743429A (en) Physical address conversion circuit
JPH03191445A (en) Memory circuit device
JPH0684346A (en) Register control circuit
US6510483B1 (en) Circuit, architecture and method for reading an address counter and/or matching a bus width through one or more synchronous ports
JPS60193199A (en) Level sensitive latch stage
JP3486231B2 (en) Multi-bit test pattern generator
GB2247547A (en) Internal state monitoring in a microcomputer
KR930011390B1 (en) Address reset circuit in automatic switching systems
JPS63108747A (en) Gate array integrated circuit
JPH02212952A (en) Memory access control system
JPS6336534B2 (en)
US5191654A (en) Microprocessor for high speed data processing
JP3099774B2 (en) Semiconductor integrated circuit
KR100207651B1 (en) Memory access circuit
JPS59172045A (en) Scan-out system
KR900007614B1 (en) Bus controller
JPH02144642A (en) Test circuit for memory
JPS5960573A (en) Pattern inspecting device
JPH0557678B2 (en)
JPS60142425A (en) Scanning control system
JPH03102265A (en) Maximum value detecting circuit
JPH01232420A (en) Stack device for data
JPS622337B2 (en)
JPS61218962A (en) Logic circuit
JPS623351A (en) Microprocessor