JPH11203104A - Memory controller - Google Patents
Memory controllerInfo
- Publication number
- JPH11203104A JPH11203104A JP10003103A JP310398A JPH11203104A JP H11203104 A JPH11203104 A JP H11203104A JP 10003103 A JP10003103 A JP 10003103A JP 310398 A JP310398 A JP 310398A JP H11203104 A JPH11203104 A JP H11203104A
- Authority
- JP
- Japan
- Prior art keywords
- data
- output
- input
- buffer memory
- counter
- 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
Links
Landscapes
- Television Signal Processing For Recording (AREA)
Abstract
(57)【要約】
【課題】 バッファメモリに対する入出力データ数の関
係が周期的でない場合でも、小さな容量のバッファメモ
リ及び小さなハードウェア規模でバッファメモリに対す
るデータ入出力をコントロールすることができる。
【解決手段】 入力データ数をライトカウンタ4により
カウントし、出力データ数をライトカウンタ5によりカ
ウントし、メモリ制御回路6において、両カウンタのカ
ウント値の一致/不一致を比較するとともに、ライトカ
ウンタ4が一巡する際にセットされ、リードカウンタ5
が一巡する際にリセットされるフラグを生成し、上記の
比較結果及びフラグの値に基づいて、バッファメモリ2
がオーバーフローする直前の状態を検知したらデータ入
力を制限し、アンダーフローする直前の状態を検知した
らデータ出力を制限する。
[PROBLEMS] To control data input / output to / from a buffer memory with a small-capacity buffer memory and a small hardware scale even when the number of input / output data to / from the buffer memory is not periodic. SOLUTION: The number of input data is counted by a write counter 4, the number of output data is counted by a write counter 5, and a memory control circuit 6 compares coincidence / mismatch of count values of both counters. Read counter 5
Generates a flag that is reset when the circuit makes one round, and based on the comparison result and the value of the flag, the buffer memory 2
If the state just before overflowing is detected, data input is restricted, and if the state just before underflow is detected, data output is restricted.
Description
【0001】[0001]
【発明の属する技術分野】この発明は、メモリを用いて
データ転送速度の変換を行うメモリ制御装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory control device for converting a data transfer rate using a memory.
【0002】[0002]
【従来の技術】図10は従来のメモリ制御装置を示すブ
ロック回路図である。図10のメモリ制御装置は、入力
されるデータを一度メモリに蓄えた後に入力時とは異な
るタイミングでメモリから読み出す。図10において、
51は入力端子、52はFIFOメモリ、53は出力端
子、54はライトデータカウンタ、55はリードデータ
カウンタである。2. Description of the Related Art FIG. 10 is a block circuit diagram showing a conventional memory control device. The memory control device of FIG. 10 stores input data once in the memory and then reads the data from the memory at a timing different from that at the time of input. In FIG.
51 is an input terminal, 52 is a FIFO memory, 53 is an output terminal, 54 is a write data counter, and 55 is a read data counter.
【0003】次に動作について説明する。図11は従来
のメモリ制御装置の動作タイミング図であり、ライン単
位で入力されるディジタル画像データを扱う場合の一例
である。図11に示すように、入力端子1を介して連続
する1ライン分(720データ)のデータがFIFOメ
モリ52に書き込まれる。このライン単位でFIFOメ
モリ52に書き込まれたデータは16データ毎に分割し
て読み出される。Next, the operation will be described. FIG. 11 is an operation timing chart of a conventional memory control device, and is an example of a case where digital image data input in units of lines is handled. As shown in FIG. 11, data for one continuous line (720 data) is written to the FIFO memory 52 via the input terminal 1. The data written in the FIFO memory 52 on a line-by-line basis is read out divided into 16 data units.
【0004】FIFOメモリ52に書き込まれるデータ
の数はライトデータカウンタ54によってカウントさ
れ、1ラインの先頭を表すスタートパルスに同期して、
FIFOメモリ52に720個の連続するデータが書き
込まれるようにライトデータカウンタ54によって制御
される。The number of data written to the FIFO memory 52 is counted by a write data counter 54. In synchronization with a start pulse representing the head of one line,
The write data counter 54 controls the write operation so that 720 consecutive data are written to the FIFO memory 52.
【0005】一方、スタートパルスから8クロック遅れ
てFIFOメモリ52のデータが16データ単位で読み
出されるようにリードデータカウンタ55によって制御
される。データの読み出しにおいては、16データ毎に
2クロック分のマスク期間が設けられている。On the other hand, the read data counter 55 controls the data in the FIFO memory 52 to be read in units of 16 data with a delay of 8 clocks from the start pulse. In reading data, a mask period for two clocks is provided for every 16 data.
【0006】図11に示すように、画像データの場合は
1ライン720画素のデータが連続して入力されるが、
各ラインの間には858−720=138クロック分の
ブランキング期間が存在する。このため、720画素連
続入力されるデータを16データ毎に2クロック分のマ
スク期間を設けて読み出しても、ライン間のブランキン
グ期間で吸収することができる。As shown in FIG. 11, in the case of image data, data of 720 pixels per line is continuously input.
There is a blanking period of 858-720 = 138 clocks between each line. Therefore, even if data that is continuously input to 720 pixels is read out by providing a mask period for two clocks for every 16 data, the data can be absorbed in the blanking period between lines.
【0007】[0007]
【発明が解決しようとする課題】しかしながら上記従来
のメモリ制御装置はFIFOメモリに書き込まれるデー
タ数とFIFOメモリから読み出されるデータ数がある
周期の時間内で同じであることを前提に構成されている
ため、FIFOメモリへのデータの入出力の関係が周期
的でない場合はFIFOメモリへのデータのリード/ラ
イトの制御ができないという問題があった。However, the above conventional memory control device is configured on the assumption that the number of data written to the FIFO memory and the number of data read from the FIFO memory are the same within a certain period of time. Therefore, there is a problem that when data input / output to / from the FIFO memory is not periodic, control of data read / write to / from the FIFO memory cannot be performed.
【0008】この発明は、上記のような従来の問題を解
消するためになされたものであり、バッファメモリに対
する入出力データ数の関係が周期的でない場合でも、小
さな容量のバッファメモリ及び小さなハードウェア規模
でバッファメモリに対するデータ入出力をコントロール
することができるメモリ制御装置を提供することを目的
とする。SUMMARY OF THE INVENTION The present invention has been made to solve the above-described conventional problems. Even when the relationship between the number of input / output data with respect to the buffer memory is not periodic, a small-capacity buffer memory and a small hardware It is an object of the present invention to provide a memory control device capable of controlling data input / output to / from a buffer memory on a large scale.
【0009】[0009]
【課題を解決するための手段】請求項1の発明に係るメ
モリ制御装置は、入力データをカウントするnビット幅
の入力側カウンタと、出力データをカウントするnビッ
ト幅の出力側カウンタと、前記入力側カウンタと前記出
力側カウンタのカウント値を比較する手段と、前記入力
側カウンタが一巡する際にフラグを“1”にセットし、
前記出力側カウンタが一巡する際に前記フラグを“0”
にリセットする手段と、前記比較手段による比較結果と
前記フラグ値とに基づいて、前記入力側カウンタと前記
出力側カウンタのカウント値が一致し、かつ前記フラグ
が“1”になったことを検知すると前記バッファメモリ
へのデータの入力を制限する手段と、前記比較手段によ
る比較結果と前記フラグの値とに基づいて、前記入力側
カウンタと前記出力側カウンタのカウント値が一致し、
かつ前記フラグが“0”になったことを検知すると前記
バッファメモリからのデータの出力を制限する手段とを
有し、前記バッファメモリに対するデータの入出力をコ
ントロールする。According to a first aspect of the present invention, there is provided a memory control device, comprising: an n-bit input counter for counting input data; an n-bit output counter for counting output data; Means for comparing the count values of the input counter and the output counter; and setting a flag to "1" when the input counter makes one cycle;
The flag is set to “0” when the output side counter makes one round.
Detecting that the count value of the input counter matches the count value of the output counter and that the flag has become “1” based on the comparison result by the comparing means and the flag value. Then, means for restricting the input of data to the buffer memory, based on the result of comparison by the comparing means and the value of the flag, the count values of the input counter and the output counter match,
Means for restricting the output of data from the buffer memory when detecting that the flag has become "0", and controls the input and output of data to and from the buffer memory.
【0010】請求項2の発明に係るメモリ制御装置は、
請求項1の発明に係るメモリ制御装置において、入力側
カウンタが、m(mは2以上の整数)個のデータからな
る入力データブロックをカウントし、出力側カウンタが
m個のデータからなる出力データブロックをカウント
し、前記バッファメモリに対するデータブロックの入出
力をコントロールする。According to a second aspect of the present invention, there is provided a memory control device comprising:
2. The memory control device according to claim 1, wherein the input-side counter counts an input data block composed of m (m is an integer of 2 or more) data, and the output-side counter is composed of m data. Blocks are counted, and input / output of data blocks to / from the buffer memory is controlled.
【0011】請求項3の発明に係るメモリ制御装置は、
請求項1の発明に係るメモリ制御装置において、前記バ
ッファメモリが、シングルポートのメモリであり、前記
バッファメモリに対するデータの入出力経路を切り換え
る手段を有し、前記バッファメモリのシングルポートに
対するデータの入出力をコントロールする。According to a third aspect of the present invention, there is provided a memory control device comprising:
2. The memory control device according to claim 1, wherein the buffer memory is a single-port memory, and includes means for switching a data input / output path to / from the buffer memory; Control the output.
【0012】[0012]
【発明の実施の形態】実施の形態1.次に、本発明の実
施の形態1について説明する。図1は本実施の形態1の
メモリ制御装置のブロック回路図である。図において、
1は信号生成回路、2はバッファメモリ、3は信号処理
回路、4はライトカウンタ、5はリードカウンタ、6は
メモリ制御回路である。DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 Next, Embodiment 1 of the present invention will be described. FIG. 1 is a block circuit diagram of the memory control device according to the first embodiment. In the figure,
1 is a signal generation circuit, 2 is a buffer memory, 3 is a signal processing circuit, 4 is a write counter, 5 is a read counter, and 6 is a memory control circuit.
【0013】信号生成回路1は、内部でディジタル信号
処理したデータを順次バッファメモリ2に入力し(書き
込み)、データを入力する際にライトカウンタ4にデー
タ入力信号を発行する。また、信号処理回路3は、バッ
ファメモリ2から出力させた(読み出した)データを信
号処理し、データを出力させる際にリードカウンタ5に
データ出力信号を発行する。また、バッファメモリ2
は、容量2n ビット以上のFIFOメモリにより構成さ
れており、信号生成回路1から入力されたデータを一時
的に記憶し、このデータを信号処理回路3に出力する。
上記のnは、ライトカウンタ4及びリードカウンタ5の
ビット数であり、正の整数である。ここでは、バッファ
メモリ2の容量は、28 ビットであるものとする(n=
8であるものとする)。なお、信号生成回路1はバッフ
ァメモリ2にデータを入力する回路であれば良く、信号
処理回路3はバッファメモリ2から出力されたデータを
入力とする回路であれば良い。また、信号生成回路1及
び信号処理回路3は、メモリ制御装置の外部に設けられ
ていても良い。The signal generation circuit 1 sequentially inputs (writes) data subjected to digital signal processing internally to the buffer memory 2 and issues a data input signal to the write counter 4 when inputting data. Further, the signal processing circuit 3 performs signal processing on the data output (read) from the buffer memory 2 and issues a data output signal to the read counter 5 when outputting the data. The buffer memory 2
Is composed of a FIFO memory having a capacity of 2 n bits or more, temporarily stores data input from the signal generation circuit 1, and outputs the data to the signal processing circuit 3.
The above n is the number of bits of the write counter 4 and the read counter 5, and is a positive integer. Here, the capacity of the buffer memory 2 is assumed to be 2 8-bit (n =
8). Note that the signal generation circuit 1 may be a circuit that inputs data to the buffer memory 2, and the signal processing circuit 3 may be a circuit that inputs data output from the buffer memory 2. Further, the signal generation circuit 1 and the signal processing circuit 3 may be provided outside the memory control device.
【0014】ライトカウンタ4は、nビットのカウンタ
で構成されており、信号生成回路1からのデータ入力信
号をカウントアップすることによりバッファメモリ2に
入力されたデータ数をカウントし、nビットカウンタの
カウント値WCUTと、nビットカウンタが一巡する際
に発生する(“0”から“1”となる)キャリービット
WCYとをメモリ制御回路6に出力する。また、リード
カウンタ5は、ライトカウンタ4と同様にnビットのカ
ウンタで構成されており、信号処理回路3からのデータ
出力信号をカウントアップすることによりバッファメモ
リ2から出力されたデータ数をカウントし、nビットカ
ウンタのカウント値RCUTと、nビットカウンタが一
巡する際に発生する(“0”から“1”となる)キャリ
ービットRCYとをメモリ制御回路6に出力する。ここ
では、ライトカウンタ4及びリードカウンタ5は、8ビ
ットのカウンタであるものとしているので、WCUT及
びRCUTは、カウント値が”FF”から“0”に戻る
際に発行される。The write counter 4 is composed of an n-bit counter, and counts up the number of data input to the buffer memory 2 by counting up a data input signal from the signal generation circuit 1, and counts the number of data input to the buffer memory 2. The count value WCUT and the carry bit WCY generated when the n-bit counter makes one cycle (from “0” to “1”) are output to the memory control circuit 6. The read counter 5 is composed of an n-bit counter, like the write counter 4, and counts up the number of data output from the buffer memory 2 by counting up the data output signal from the signal processing circuit 3. , And the carry bit RCY generated when the n-bit counter makes one cycle (changes from “0” to “1”) is output to the memory control circuit 6. Here, since the write counter 4 and the read counter 5 are 8-bit counters, the WCUT and the RCUT are issued when the count value returns from “FF” to “0”.
【0015】メモリ制御回路6は、ライトカウンタ4か
ら出力されるWCUTおよびWCYと、リードカウンタ
5から出力されるRCUTおよびRCYとに基づいて、
ライトカウンタ4が一巡してリードカウンタ5に追いつ
いたことを検知すると、信号生成回路1に対して入力ウ
エイト信号W−WAITを発行して信号生成回路1によ
るバッファメモリ2へのデータ入力をストップさせる。
また、リードカウンタ5がライトカウンタ4に追いつい
たことを検知すると、信号処理回路3に対して出力ウエ
イト信号R−WAITを発行して信号処理回路3による
バッファメモリ2からのデータ出力をストップさせる。
この場合、メモリ制御回路6は、これ以上バッファメモ
リ2にデータを入力しようとするとバッファメモリ2が
オーバーフローを起こす場合にバッファメモリ2へのデ
ータ入力をストップさせ、これ以上バッファメモリ2か
らデータを出力しようとするとバッファメモリ2がアン
ダーフローを起こす場合にバッファメモリ2からのデー
タ出力をストップさせる。[0015] The memory control circuit 6 is based on WCUT and WCY output from the write counter 4 and RCUT and RCY output from the read counter 5.
When it is detected that the write counter 4 has caught up with the read counter 5 by making a round, an input wait signal W-WAIT is issued to the signal generation circuit 1 to stop data input to the buffer memory 2 by the signal generation circuit 1. .
When detecting that the read counter 5 has caught up with the write counter 4, it issues an output wait signal R-WAIT to the signal processing circuit 3 to stop the data processing circuit 3 from outputting data from the buffer memory 2.
In this case, the memory control circuit 6 stops the data input to the buffer memory 2 when the buffer memory 2 overflows when trying to input data to the buffer memory 2 any more, and outputs data from the buffer memory 2 any more. If an attempt is made to make the buffer memory 2 underflow, the data output from the buffer memory 2 is stopped.
【0016】図2はメモリ制御回路6の構成を示すブロ
ック回路図である。図2において、メモリ制御回路6
は、比較回路11と、判別回路12と、ライト制御回路
13と、リード制御回路14により構成されている。FIG. 2 is a block circuit diagram showing a configuration of the memory control circuit 6. In FIG. 2, the memory control circuit 6
Is composed of a comparison circuit 11, a determination circuit 12, a write control circuit 13, and a read control circuit 14.
【0017】比較回路11は、WCUTとRCUTの値
をビット毎に比較するnビットの比較回路であり、WC
UT=RCUTの場合は“1”、WCUT≠RCUTの
場合は“0”を比較結果とし、この比較結果をそれぞれ
ライト制御回路13とリード制御回路14に出力する。The comparison circuit 11 is an n-bit comparison circuit that compares the values of WCUT and RCUT bit by bit.
When UT = RCUT, “1” is set as the comparison result, and when WCUT ≠ RCUT, “0” is set as the comparison result. The comparison result is output to the write control circuit 13 and the read control circuit 14, respectively.
【0018】判別回路12は、追い越し判別フラグTF
Fを記憶する1ビットレジスタ(TFFレジスタと称す
る)を備え、WCUTの値が一巡する際に発行されるW
CYが入力されるとTFFを“1”にセットし、RCU
Tの値が一巡する際に発行されるRCYが入力されると
TFFを“0”にリセットし、このTFFをそれぞれラ
イト制御回路13とリード制御回路14に出力する。な
お、判別回路12は、電源が投入されたときやリセット
されたときにはTFFを“0”に設定する。The discrimination circuit 12 includes an overtaking discrimination flag TF
A 1-bit register (referred to as a TFF register) for storing F is provided, and W is issued when the value of the WCUT makes one cycle.
When CY is input, TFF is set to “1” and RCU
When the RCY issued when the value of T makes one cycle is input, the TFF is reset to "0", and this TFF is output to the write control circuit 13 and the read control circuit 14, respectively. The discrimination circuit 12 sets TFF to "0" when the power is turned on or reset.
【0019】ライト制御回路13は、比較回路11から
の比較結果及び判別回路12からのTFFに基づいて、
WCUT=RCUTでかつTFF=1の場合はライトカ
ウンタ4が一巡してリードカウンタ5に追いついている
ため、これ以上データをバッファメモリ2に入力すると
オーバーフローが起こると判断し、信号生成回路1に対
して入力ウエイト信号W−WAITを発行し(W−WA
ITを“1”とし)、信号生成回路1によるバッファメ
モリ2へのデータ入力を停止させる。WCUT≠RCU
TまたはTFF=0の場合はW−WAITを発行しない
(W−WAITを“0”とする)。The write control circuit 13 calculates a comparison result from the comparison circuit 11 and a TFF from the discrimination circuit 12 based on the comparison result.
When WCUT = RCUT and TFF = 1, the write counter 4 makes a round and catches up with the read counter 5, so it is determined that an overflow will occur if more data is input to the buffer memory 2, and the signal generation circuit 1 Issue an input wait signal W-WAIT (W-WAIT
IT is set to “1”), and the data input to the buffer memory 2 by the signal generation circuit 1 is stopped. WCUT @ RCU
If T or TFF = 0, no W-WAIT is issued (W-WAIT is set to "0").
【0020】リード制御回路14は、比較回路11から
の比較結果及び判別回路12からのTFFに基づいて、
WCUT=RCUTでかつTFF=0の場合はリードカ
ウンタ5がライトカウンタ4に追いついているため、こ
れ以上データをバッファメモリ2から読み出すとアンダ
ーフローが起こると判断し、信号処理回路3に対して出
力ウエイト信号R−WAITを発行し(R−WAITを
“1”とし)、信号生成回路1によるバッファメモリ2
からのデータ出力を停止させる。WCUT≠RCUTま
たはTFF=1の場合はR−WAITを発行しない(R
−WAITを“0”とする)。The read control circuit 14 calculates the comparison result from the comparison circuit 11 and the TFF from the discrimination circuit 12 based on the comparison result.
When WCUT = RCUT and TFF = 0, the read counter 5 has caught up with the write counter 4, and it is determined that an underflow will occur if data is read from the buffer memory 2 any more, and output to the signal processing circuit 3. A wait signal R-WAIT is issued (R-WAIT is set to "1"), and a buffer memory 2
Stop data output from. If WCUT @ RCUT or TFF = 1, no R-WAIT is issued (R-WAIT
-WAIT is set to "0").
【0021】次に、動作を説明する。図3及び図4は、
本実施の形態1のメモリ制御装置の動作タイミング図で
あり、図3はW−WAITが発行される様子を示し、図
4はR−WAITが発行される様子を示す。図3及び図
4において、(a)はバッファメモリ2へのデータ入力
(データ書き込み)動作及びバッファメモリ2からのデ
ータ出力(データ読み出し)動作の基本クロック、
(b)はバッファメモリ2への入力データ、(c)及び
(d)はライトカウンタ4によるWCUT及びWCY、
(e)はバッファメモリ2からの出力データ、(f)及
び(g)はリードカウンタ5によるRCUT及びRCY
である。また、(h)は判別回路12によるTFF、
(i)は比較回路11による比較結果、(j)はライト
制御回路13によるW−WAIT、(k)はリード制御
回路14によるR−WAITである。Next, the operation will be described. FIG. 3 and FIG.
FIG. 3 is an operation timing chart of the memory control device according to the first embodiment. FIG. 3 shows a state in which a W-WAIT is issued, and FIG. 4 shows a state in which an R-WAIT is issued. 3 and 4, (a) is a basic clock for data input (data write) operation to the buffer memory 2 and data output (data read) operation from the buffer memory 2;
(B) is the input data to the buffer memory 2, (c) and (d) are the WCUT and WCY by the write counter 4,
(E) is output data from the buffer memory 2, (f) and (g) are RCUT and RCY by the read counter 5.
It is. (H) is a TFF by the discrimination circuit 12,
(I) is a comparison result by the comparison circuit 11, (j) is a W-WAIT by the write control circuit 13, and (k) is an R-WAIT by the read control circuit 14.
【0022】図3においては、データD0〜D201が
信号生成回路1からバッファメモリ2に連続的に順次入
力される。また、データD201の入力期間の次の2ク
ロック期間においては、ライト制御回路13により入力
ウエイト信号W−WAITが発行され(W−WAIT=
1となり)、信号生成回路1によるデータ入力が制限さ
れるので、バッファメモリ2にはデータが入力されない
((b)参照)。ライトカウンタ4による入力データ数
のカウント値WCUTは、データD0〜DFFの入力期
間において“0”から“FF”へ順次インクリメントさ
れていき、データD100が入力されると一巡して
“0”に戻り、データD100〜D1FFの入力期間に
おいて再び順次インクリメントされ、データD200が
入力されると再び一巡して“0”に戻り、データ201
が入力されると“1”にインクリメントされ、データ2
01の入力期間の次の2クロック期間において“1”に
保持される((c)参照)。ライトカウンタ4による入
力データカウントのキャリービットWCYは、WCUT
が“FF”となるデータDFF及びD1FFの入力期間
においてそれぞれ“1”となる((d)参照)。In FIG. 3, data D0 to D201 are successively input from the signal generation circuit 1 to the buffer memory 2. In the next two clock periods after the input period of the data D201, the write control circuit 13 issues the input wait signal W-WAIT (W-WAIT =
1), and data input by the signal generation circuit 1 is restricted, so that no data is input to the buffer memory 2 (see (b)). The count value WCUT of the number of input data by the write counter 4 is sequentially incremented from “0” to “FF” in the input period of the data D0 to DFF, and returns to “0” when the data D100 is input. , During the input period of the data D100 to D1FF, and when the data D200 is input, the data D100 goes around once again to return to “0” and return to the data 201.
Is input, the value is incremented to “1” and data 2
It is held at "1" in the next two clock periods after the input period of 01 (see (c)). The carry bit WCY of the input data count by the write counter 4 is WCUT
Becomes "1" in the input period of the data DFF and D1FF in which "1" becomes "FF" (see (d)).
【0023】データD0、D1、D104〜D201の
入力期間においては信号処理回路3はバッファメモリ2
にデータの出力を要求せず、従ってバッファメモリ2か
らデータが出力されない。データD2〜D103の入力
期間においては信号処理回路3からの要求によりバッフ
ァメモリ2からデータD0〜D101が連続的に順次出
力される。また、データD201の入力期間から2クロ
ック期間後にバッファメモリ2からデータD102が出
力される((e)参照)。リードカウンタ5による出力
データ数のカウント値RCUTは、データD0〜DFF
の出力期間において“0”から“FF”へ順次インクリ
メントされていき、データD100が出力されると一巡
して“0”に戻り、データD101が出力されると
“1”にインクリメントされ、データD102が出力さ
れるまでの期間“1”に保持され、データD102が出
力されると“2”にインクリメントされる((f)参
照)。リードカウンタ5による出力データカウントのキ
ャリービットRCYは、RCUTが“FF”となるデー
タDFFの出力期間(データD101の入力期間)にお
いて“1”となる((g)参照)。In the input period of the data D0, D1, D104 to D201, the signal processing circuit 3
Is not requested to output data, and therefore no data is output from the buffer memory 2. In the input period of the data D2 to D103, the data D0 to D101 are continuously and sequentially output from the buffer memory 2 in response to a request from the signal processing circuit 3. The data D102 is output from the buffer memory 2 two clock periods after the input period of the data D201 (see (e)). The count value RCUT of the number of output data by the read counter 5 is data D0 to DFF
Are sequentially incremented from "0" to "FF" in the output period of "1", return to "0" once when the data D100 is output, and are incremented to "1" when the data D101 is output, and the data D102 are output. Is held at "1" until the data is output, and is incremented to "2" when the data D102 is output (see (f)). The carry bit RCY of the output data count by the read counter 5 becomes “1” during the output period (input period of the data D101) of the data DFF in which the RCUT is “FF” (see (g)).
【0024】判定回路12による追い越し判別フラグT
FFは、データDFFの入力期間のWCYによりデータ
D100が入力されると“1”にセットされ、データD
FFの出力期間のRCYによりデータD100が出力さ
れると“0”にリセットされ、データD1FFの入力期
間のWCYによりデータD200が入力されると“1”
にセットされる((h)参照)。比較回路11による比
較結果は、データD0〜D200の入力期間においては
WCUT≠RCUTなので“0”であり、データD20
1が入力されるとWCUTが“1”にインクリメントさ
れ、WCUT=RCUTとなるのでデータD201の入
力期間の次のクロック期間で“1”に変化し、データD
102が出力されるとRCUTが“2”にインクリメン
トされ、WCUT≠RCUTとなるのでデータD102
の出力期間の次のクロック期間で“0”に戻る((i)
参照)。Overtaking determination flag T by determination circuit 12
The FF is set to “1” when the data D100 is input by WCY during the input period of the data DFF, and the data DFF is set to “1”.
It is reset to “0” when data D100 is output by RCY in the output period of FF, and is “1” when data D200 is input by WCY in the input period of data D1FF.
(See (h)). The comparison result by the comparison circuit 11 is “0” because WCUT ≠ RCUT during the input period of the data D0 to D200, and the data D20
When 1 is input, the WCUT is incremented to "1" and WCUT = RCUT, so that the WCUT changes to "1" in the next clock period after the input period of the data D201, and the data D
When 102 is output, the RCUT is incremented to "2" and WCUT ≠ RCUT, so that the data D102
Returns to "0" in the clock period following the output period of (i).
reference).
【0025】ライト制御回路13による入力ウエイト信
号W−WAITは、TFF=1かつWCUT=RCUT
(比較結果が“1”)となる期間、すなわちデータD2
01の入力期間の次のクロック期間及びデータD102
の出力期間において“1”となり((j)参照)、これ
により信号生成回路1からのデータ入力が制限される。
なお、リード制御回路14による出力ウエイト信号R−
WAITは、TFF=0かつWCUT=RCUTとなる
期間がないので常に“0”であり((k)参照)、従っ
て信号処理回路3は制限を受けない。The input weight signal W-WAIT from the write control circuit 13 is TFF = 1 and WCUT = RCUT
(The period when the comparison result is “1”), that is, the data D2
01 clock period and data D102
(1) during the output period (see (j)), thereby limiting the data input from the signal generation circuit 1.
The output wait signal R-
WAIT is always "0" since there is no period during which TFF = 0 and WCUT = RCUT (see (k)), so that the signal processing circuit 3 is not restricted.
【0026】図4においては、データD0〜D102が
信号生成回路1からバッファメモリ2に連続的に順次入
力される。また、データD102の入力期間の次の3ク
ロック期間においては信号生成回路1はバッファメモリ
2にデータを入力しない。また、データ102の入力期
間から4クロック期間後にバッファメモリ2にデータD
103が入力される((b)参照)。データD0〜D1
02の入力期間における(c)〜(k)の波形は図3と
同じである。In FIG. 4, data D0 to D102 are sequentially and sequentially input from the signal generation circuit 1 to the buffer memory 2. Further, the signal generation circuit 1 does not input data to the buffer memory 2 during three clock periods following the input period of the data D102. The data D is stored in the buffer memory 2 four clock periods after the input period of the data 102.
103 is input (see (b)). Data D0 to D1
The waveforms (c) to (k) in the input period 02 are the same as those in FIG.
【0027】WCUTは、データD102の入力期間の
次の3クロック期間において“2”に保持され、データ
D103が入力されると“3”にインクリメントされる
((c)参照)。WCYは、データD100の入力期間
以降において“0”に保持される((d)参照)。The WCUT is held at "2" in the next three clock periods after the input period of the data D102, and is incremented to "3" when the data D103 is input (see (c)). WCY is held at “0” after the input period of the data D100 (see (d)).
【0028】データD100の出力期間の次の2クロッ
ク期間においてデータD101及びD102がバッファ
メモリ2から連続的に順次出力される。また、データD
102の出力期間の次の2クロック期間においては、リ
ード制御回路14により出力ウエイト信号R−WAIT
が発行され(R−WAIT=1となり)、信号処理回路
3によるデータの出力要求が制限されるので、バッファ
メモリ2からはデータが出力されない((e)参照)。
RCUTは、データD0〜DFFの出力期間において
“0”から“FF”へ順次インクリメントされていき、
データD101が出力されると“1”にインクリメント
され、データD102が出力され“2”にインクリメン
トされ、データD102の出力期間の次の2クロック期
間において“2”に保持される((f)参照)。RCY
は、データD100の出力期間以降において“0”に保
持される((g)参照)。In the next two clock periods after the output period of the data D100, the data D101 and D102 are sequentially and sequentially output from the buffer memory 2. Data D
In the next two clock periods after the output period of 102, the read control circuit 14 outputs the output wait signal R-WAIT.
Is issued (R-WAIT = 1), and the data output request by the signal processing circuit 3 is restricted, so that no data is output from the buffer memory 2 (see (e)).
RCUT is sequentially incremented from “0” to “FF” during the output period of the data D0 to DFF,
When data D101 is output, it is incremented to "1", data D102 is output and incremented to "2", and held at "2" in the next two clock periods after the output period of data D102 (see (f)). ). RCY
Is held at "0" after the output period of the data D100 (see (g)).
【0029】追い越し判別フラグTFFは、データD1
02の入力期間(データD100の出力期間)以降にお
いて“0”にリセットされている((h)参照)。比較
回路11による比較結果は、データD0〜D200の入
力期間においてはWCUT≠RCUTなので“0”であ
り、データD102が出力されるとRCUTが“2”に
インクリメントされ、WCUT=RCUTとなるのでデ
ータD102の出力期間の次のクロック期間で“1”に
変化し、データD103が入力されるとWCUTが
“3”にインクリメントされ、WCUT≠RCUTとな
るのでデータD201の入力期間の次のクロック期間で
“0”に戻る((i)参照)。The overtaking determination flag TFF is set to the data D1
It is reset to "0" after the input period of 02 (the output period of the data D100) (see (h)). The comparison result by the comparison circuit 11 is “0” because WCUT ≠ RCUT during the input period of the data D0 to D200. When the data D102 is output, the RCUT is incremented to “2” and WCUT = RCUT. It changes to “1” in the clock period following the output period of D102, and when data D103 is input, the WCUT is incremented to “3” and WCUT ≠ RCUT, so in the clock period following the input period of data D201. It returns to "0" (see (i)).
【0030】R−WAITは、TFF=0かつWCUT
=RCUT(比較結果が“1”)となる期間、すなわち
データD102の出力期間の次のクロック期間及びデー
タD201の入力期間において“1”となり((k)参
照)、これにより信号処理回路3によるデータの出力要
求が制限される。なお、W−WAITは、TFF=1か
つWCUT=RCUTとなる期間がないので常に“0”
であり((j)参照))、従って信号生成回路1は制限
を受けない。R-WAIT is TFF = 0 and WCUT
= RCUT (the comparison result is “1”), that is, “1” in the clock period next to the output period of the data D102 and the input period of the data D201 (see (k)), whereby the signal processing circuit 3 Data output requests are limited. Note that W-WAIT is always “0” because there is no period in which TFF = 1 and WCUT = RCUT.
(See (j))), so that the signal generation circuit 1 is not restricted.
【0031】以上の様に実施の形態1によれば、入力デ
ータ数及び出力データ数をそれぞれライトカウンタ4及
びリードカウンタ5によりカウントし、ライトカウンタ
4のカウント値WCUTとリードカウンタ5のカウント
値RCUTの一致/不一致を比較回路11により比較す
るとともに、判別回路12によりライトカウンタ4が一
巡する際に“1”にセットされリードカウンタ5が一巡
する際に“0”にリセットされる追い越し判別フラグT
FFを生成し、比較回路11による比較結果及び追い越
し判別フラグTFFに基づいて、リード制御回路13に
よりバッファメモリ2がオーバーフローする直前の状態
を検知してデータ入力を制限し、ライト制御回路14に
よりバッファメモリ2がアンダーフローする直前の状態
を検知してデータ出力を制限するようにしたことによ
り、バッファメモリ2に対する非同期の入出力データの
制御を小さなバッファメモリ容量で実現することができ
る。さらに、簡単なアルゴリズムでバッファメモリ2の
状態を検知することができるので、バッファメモリ2に
対する非同期の入出力データの制御を小さなハードウェ
ア規模で実現することができるとともに、判定に要する
時間が短く、高速動作が可能なメモリ制御装置を実現す
ることができる。As described above, according to the first embodiment, the number of input data and the number of output data are counted by the write counter 4 and the read counter 5, respectively, and the count value WCUT of the write counter 4 and the count value RCUT of the read counter 5 are counted. The comparison circuit 11 compares the coincidence / non-coincidence, and the overtaking determination flag T is set by the determination circuit 12 to “1” when the write counter 4 makes one cycle and reset to “0” when the read counter 5 makes one cycle.
An FF is generated, the read control circuit 13 detects a state immediately before the buffer memory 2 overflows based on the comparison result by the comparison circuit 11 and the overtaking determination flag TFF, restricts data input, and the write control circuit 14 By detecting the state immediately before the memory 2 underflows and restricting the data output, asynchronous input / output data control for the buffer memory 2 can be realized with a small buffer memory capacity. Furthermore, since the state of the buffer memory 2 can be detected by a simple algorithm, control of asynchronous input / output data for the buffer memory 2 can be realized with a small hardware scale, and the time required for determination is short. A memory control device capable of high-speed operation can be realized.
【0032】なお、上記実施の形態1では、バッファメ
モリ2にFIFOメモリを使ったが、必ずしもFIFO
メモリである必要はなく、デュアルポートメモリを使っ
ても良い。また、上記実施の形態1では、バッファメモ
リ2に対するデータの入出力を同一のクロックにより行
ったが、必ずしも同一のクロックを用いる必要はなく、
データ書き込みとデータ読み出しに速度の異なる別々の
クロックを用いても良い。Although the first embodiment uses a FIFO memory as the buffer memory 2, the FIFO memory is not necessarily used.
It does not need to be a memory, and a dual port memory may be used. In the first embodiment, input and output of data to and from the buffer memory 2 are performed by the same clock. However, it is not always necessary to use the same clock.
Different clocks having different speeds may be used for data writing and data reading.
【0033】実施の形態2.次に、本発明の実施の形態
2について説明する。上記実施の形態1ではデータのコ
ントロールを1データ毎に行っていたが、m(mは2以
上の整数)個の連続するデータからなるデータブロッ
ク、例えば画像データのようにデータが連続するデータ
ブロックをライン単位で構成している場合は、バッファ
メモリのデータをライン単位で管理することによりアル
ゴリズムを簡略化することができる。実施の形態2のメ
モリ制御装置は、ライン単位のデータブロックを扱うも
のである。ここでは、1ライン分のデータ数mを510
とする。なお、1ライン分の連続する510個のデータ
D0〜D1FE(データブロック)を、単にラインデー
タと称することとする。Embodiment 2 FIG. Next, a second embodiment of the present invention will be described. In the first embodiment, data control is performed for each data. However, a data block including m (m is an integer of 2 or more) continuous data, for example, a data block in which data is continuous such as image data Is configured in units of lines, the algorithm can be simplified by managing the data in the buffer memory in units of lines. The memory control device according to the second embodiment handles data blocks in line units. Here, the number m of data for one line is 510
And Note that 510 consecutive data D0 to D1FE (data block) for one line are simply referred to as line data.
【0034】本実施の形態2のメモリ制御装置のブロッ
ク回路図は、基本的には図1及び図2と同じであるが、
以下の点が異なる。信号生成回路1は、m個の連続する
データからなるラインデータをバッファメモリ2に入力
し、1ラインの最後のデータを入力した時点でライトカ
ウンタ4にラインデータ入力終了信号WENDを発行す
る。信号処理回路3は、m個の連続するデータからなる
ラインデータをバッファメモリ2から出力させ、1ライ
ンの最後のデータを出力させた時点でリードカウンタ5
にラインデータ出力終了信号RENDを発行する。ま
た、ライトカウンタ4はWENDをカウントアップする
ことにより、バッファメモリ2に入力されるラインデー
タ数をカウントするものとする。リードカウンタ5はR
ENDをカウントアップすることにより、バッファメモ
リ2から出力されるラインデータ数をカウントするもの
とする。また、ライトカウンタ4及びリードカウンタ5
は2ビットのカウンタであるものとし、比較回路11も
2ビットの比較回路であるものとする(n=2とす
る)。従ってバッファメモリ2の容量は、1ラインのデ
ータ個数m×22 ビット以上であれば良く、ここではm
×22 ビットであるものとする。また、メモリ制御回路
6は、ライトカウンタ4及びリードカウンタ5からのW
CUT、RCUT、WCY,RCYに基づいて、バッフ
ァメモリ2のラインデータを管理する。The block circuit diagram of the memory control device according to the second embodiment is basically the same as that of FIGS.
The following points are different. The signal generation circuit 1 inputs line data composed of m continuous data to the buffer memory 2 and issues a line data input end signal WEND to the write counter 4 when the last data of one line is input. The signal processing circuit 3 outputs the line data composed of m pieces of continuous data from the buffer memory 2, and when the last data of one line is output, the read counter 5
Issue a line data output end signal REND. The write counter 4 counts the number of line data input to the buffer memory 2 by counting up WEND. Read counter 5 is R
By counting up END, the number of line data output from the buffer memory 2 is counted. The write counter 4 and the read counter 5
Is a 2-bit counter, and the comparison circuit 11 is also a 2-bit comparison circuit (n = 2). Therefore, the capacity of the buffer memory 2 only needs to be equal to or more than the number of data of one line m × 22 2 bits.
× 2 2 bits. Further, the memory control circuit 6 outputs W signals from the write counter 4 and the read counter 5.
The line data in the buffer memory 2 is managed based on CUT, RCUT, WCY, and RCY.
【0035】次に、動作を説明する。図5及び図6は本
実施の形態2のメモリ制御装置の動作タイミング図であ
り、図5はW−WAITが発行される様子を示し、図6
はR−WAITが発行される様子を示す。図5及び図6
において、(a)は基本クロック、(b)は入力デー
タ、(c)はラインデータ入力終了信号WEND、
(d)は入力ラインデータ数のカウント値WCUT、
(e)はWCUTのキャリービットWCY、(f)は出
力データ、(g)はラインデータ出力終了信号REN
D、(h)は出力ラインデータ数のカウント値RCU
T、(i)はRCUTのキャリービットRCY、(j)
は追い越し判別フラグTFF、(k)は比較回路11に
よる比較結果、(l)は入力ウエイト信号W−WAI
T、(m)は出力ウエイト信号R−WAITである。Next, the operation will be described. FIGS. 5 and 6 are operation timing diagrams of the memory control device according to the second embodiment. FIG. 5 shows how a W-WAIT is issued.
Indicates that an R-WAIT is issued. 5 and 6
(A) is a basic clock, (b) is input data, (c) is a line data input end signal WEND,
(D) is a count value WCUT of the number of input line data,
(E) is the carry bit WCY of the WCUT, (f) is the output data, and (g) is the line data output end signal REN.
D, (h) are count values RCU of the number of output line data
T, (i) is carry bit RCY of RCUT, (j)
Is an overtaking determination flag TFF, (k) is a comparison result by the comparison circuit 11, and (l) is an input weight signal W-WAI.
T, (m) is an output weight signal R-WAIT.
【0036】図5においては、1ライン分のラインデー
タD0〜D1FEが信号生成回路1からバッファメモリ
2に間隔をおいて順次入力される((b)参照)。WE
NDは、各ラインデータの最後のデータD1FEの入力
期間においてそれぞれ“1”となる((c)参照)。W
CUTは、4N+2(Nは正の整数)ライン目のデータ
D1FEの入力が終了すると“2”から“3”にインク
リメントされ、4N+3ライン目のデータD1FEの入
力が終了すると一巡して“0”に戻り、4N+4ライン
目のデータD1FEの入力が終了すると“1”にインク
リメントされる((d)参照)。WCYは、WCUTが
“3”から“0”に戻る4N+3ライン目のデータD1
FEの入力期間において“1”となる((e)参照)。In FIG. 5, line data D0 to D1FE for one line are sequentially input from the signal generation circuit 1 to the buffer memory 2 at intervals (see (b)). WE
ND becomes "1" in the input period of the last data D1FE of each line data (see (c)). W
The CUT is incremented from “2” to “3” when the input of the data D1FE on the 4N + 2 (N is a positive integer) line is completed, and goes to “0” once the input of the data D1FE on the 4N + 3 line is completed. When the input of the data D1FE of the 4N + 4th line is completed, the value is incremented to "1" (see (d)). WCY is the data D1 of the 4N + 3 line where the WCUT returns from “3” to “0”.
It becomes "1" during the FE input period (see (e)).
【0037】また、1ライン分のラインデータが信号処
理回路3からの要求によりバッファメモリ2から間隔を
おいて順次出力される。なお、出力されるラインデータ
は、同時に入力されるラインデータよりも前にバッファ
メモリ2に入力されたデータである。また、4N+4ラ
イン目のラインデータの入力期間においては、信号処理
回路3はバッファメモリ2にデータの出力を要求せず、
従ってバッファメモリ2からラインデータが出力されな
い((f)参照)。RENDは、各ラインデータの最後
のデータD1FEの出力期間においてそれぞれ“1”と
なる((g)参照)。RCUTは、4N−1ライン目の
データD1FEの出力が終了すると一巡して“3”から
“0”に戻り、4Nライン目のデータD1FEの出力が
終了すると“1”にインクリメントされる((h)参
照)。RCYは、RCUTが“3”から“0”に戻る4
N−1ライン目のデータD1FEの出力期間において
“1”となる((i)参照)。The line data for one line is sequentially output from the buffer memory 2 at intervals according to a request from the signal processing circuit 3. The output line data is data input to the buffer memory 2 before the line data input simultaneously. Also, during the line data input period of the 4N + 4th line, the signal processing circuit 3 does not request the buffer memory 2 to output data.
Therefore, no line data is output from the buffer memory 2 (see (f)). REND becomes "1" during the output period of the last data D1FE of each line data (see (g)). The RCUT loops from “3” to “0” when the output of the data D1FE of the 4N−1th line ends, and is incremented to “1” when the output of the data D1FE of the 4Nth line ends ((h )reference). RCY indicates that the RCUT returns from “3” to “0” 4
It becomes "1" during the output period of the data D1FE of the (N-1) th line (see (i)).
【0038】追い越し判定フラグTFFは、4N−1ラ
イン目の出力期間のRCYによりデータD1FEの出力
が終了すると“1”から“0”にリセットされ、4N+
3ライン目の入力期間のWCYによりデータD1FEの
入力が終了すると“1”にセットされる((j)参
照)。比較回路11による比較結果は、4N+4ライン
目の入力期間が終了するまでWCUT≠RCUTなので
“0”であり、4N+4ライン目の入力期間が終了する
とWCUTが“1”にインクリメントされ、WCUT=
RCUTとなるので“1”に変化する((k)参照)。The overtaking determination flag TFF is reset from "1" to "0" when the output of the data D1FE is completed by the RCY in the output period of the 4N-1 line, and 4N +
When the input of the data D1FE is completed by the WCY in the input period of the third line, it is set to “1” (see (j)). The comparison result by the comparison circuit 11 is “0” because WCUT ≠ RCUT until the input period of the 4N + 4th line ends, and when the input period of the 4N + 4th line ends, the WCUT is incremented to “1” and WCUT =
Since it becomes RCUT, it changes to “1” (see (k)).
【0039】入力ウエイト信号W−WAITは、TFF
=1かつWCUT=RCUT(比較結果が“1”)とな
る期間、すなわち4N+4ライン目の入力期間が終了し
た後の期間において“1”となり((l)参照)、これ
により信号生成回路1からのデータ入力が制限される。
なお、出力ウエイト信号R−WAITは、TFF=0か
つWCUT=RCUTとなる期間がないので常に“0”
であり((m)参照)、従って信号処理回路3は制限を
受けない。The input weight signal W-WAIT is TFF
= 1 and WCUT = RCUT (comparison result is “1”), that is, a period after the input period of the 4N + 4th line ends (refer to (1)). Data entry is restricted.
The output wait signal R-WAIT is always “0” because there is no period during which TFF = 0 and WCUT = RCUT.
(See (m)), so that the signal processing circuit 3 is not restricted.
【0040】図6においては、1ライン分のラインデー
タが間隔をおいて順次入力される((b)参照)。WE
NDは、各ラインデータの最後のデータD1FEの入力
期間においてそれぞれ“1”となる((c)参照)。W
CUTは、4N+3ライン目のデータD1FEの入力が
終了すると一巡して“3”から“0”に戻り、4N+4
ライン目のデータD1FEの入力が終了すると“1”に
インクリメントされる((d)参照)。WCYは、WC
UTが“3”から“0”に戻る4N+3ライン目のデー
タD1FEの入力期間において“1”となる((e)参
照)。In FIG. 6, line data for one line is sequentially input at intervals (see (b)). WE
ND becomes "1" in the input period of the last data D1FE of each line data (see (c)). W
When the input of the data D1FE on the 4N + 3 line is completed, the CUT loops from “3” to “0” and returns to 4N + 4.
When the input of the data D1FE of the line is completed, it is incremented to "1" (see (d)). WCY is WC
The UT becomes “1” during the input period of the data D1FE of the 4N + 3rd line where the UT returns from “3” to “0” (see (e)).
【0041】また、1ライン分のラインデータが間隔を
おいて順次出力される((f)参照)。RENDは、各
ラインデータのデータD1FEの出力期間においてそれ
ぞれ“1”となる((g)参照)。RCUTは、4N+
2ライン目のデータD1FEの出力が終了すると“2”
から“3”にインクリメントされ、4N+3ライン目の
データD1FEの出力が終了すると一巡して“3”から
“0”に戻り、4N+4ライン目のデータD1FEの出
力が終了すると“1”にインクリメントされる((h)
参照)。RCYは、RCUTが“3”から“0”に戻る
4N+3ライン目のデータD1FEの出力期間において
“1”となる((i)参照)。Further, line data for one line is sequentially output at intervals (see (f)). REND becomes "1" during the output period of the data D1FE of each line data (see (g)). RCUT is 4N +
When the output of the data D1FE of the second line is completed, “2” is output.
Is incremented from “3” to “3”, and when the output of the data D1FE of the 4N + 3 line is completed, the cycle returns to “0” from “3”, and the output is incremented to “1” when the output of the data D1FE of the 4N + 4 line is completed. ((H)
reference). RCY becomes “1” during the output period of the data D1FE of the 4N + 3rd line where the RCUT returns from “3” to “0” (see (i)).
【0042】追い越し判定フラグTFFは、4N+3ラ
イン目の入力期間のWCYによりデータD1FEの入力
が終了すると“0”から“1”にセットされ、4N+3
ライン目の出力期間のRCYによりデータD1FEの出
力が終了すると“0”にリセットされる((j)参
照)。比較回路11による比較結果は、4N+4ライン
目の出力期間が終了するまでWCUT≠RCUTなので
“0”であり、4N+4ライン目の出力期間が終了する
とRCUTが“1”にインクリメントされ、WCUT=
RCUTとなるので“1”に変化する((k)参照)。The overtaking determination flag TFF is set from "0" to "1" when the input of the data D1FE is completed by WCY in the input period of the 4N + 3 line, and 4N + 3
When the output of the data D1FE is completed by the RCY in the output period of the line, it is reset to “0” (see (j)). The comparison result by the comparison circuit 11 is “0” because WCUT ≠ RCUT until the output period of the 4N + 4th line ends, and when the output period of the 4N + 4th line ends, the RCUT is incremented to “1” and WCUT =
Since it becomes RCUT, it changes to “1” (see (k)).
【0043】出力ウエイト信号R−WAITは、TFF
=0かつWCUT=RCUT(比較結果が“1”)とな
る期間、すなわち4N+4ライン目の出力期間が終了し
た後の期間において“1”となり((m)参照)、これ
により信号処理回路3によるデータの出力要求が制限さ
れる。なお、入力ウエイト信号W−WAITは、TFF
=1かつWCUT=RCUTとなる期間がないので常に
“0”であり((l)参照)、従って信号生成回路1は
制限を受けない。The output weight signal R-WAIT is a TFF
= 0 and WCUT = RCUT (the comparison result is "1"), that is, "1" during the period after the output period of the 4N + 4th line ends (see (m)). Data output requests are limited. Note that the input weight signal W-WAIT is a TFF
= 1 and there is no period in which WCUT = RCUT, so it is always "0" (see (l)), and therefore the signal generation circuit 1 is not restricted.
【0044】以上の様に実施の形態2によれば、上記実
施の形態1と同様に非同期で入出力されるm個の連続す
るデータからなるラインデータの制御を小さなバッファ
メモリ容量で実現することができ、高速動作が可能なメ
モリ制御装置を実現することができるとともに、入出力
ラインデータ数をリードカウンタ4及びライトカウンタ
5によりカウントするようにしたことにより、ハードウ
ェア規模を上記実施の形態1よりもさらに小さくするこ
とができる。As described above, according to the second embodiment, similarly to the first embodiment, control of line data composed of m consecutive data input / output asynchronously can be realized with a small buffer memory capacity. And a memory controller capable of high-speed operation can be realized, and the number of input / output line data is counted by the read counter 4 and the write counter 5, so that the hardware scale can be reduced. It can be even smaller.
【0045】実施の形態3.次に、本発明の実施の形態
3について説明する。図7は本実施の形態2のメモリ制
御装置のブロック回路図である。図において、1は信号
生成回路、7はバッファメモリ、8はセレクタ回路、3
は信号処理回路、4はライトカウンタ、5はリードカウ
ンタ、9はメモリ制御回路である。なお、図7におい
て、図1と同じものには同じ符号を付してある。図7の
メモリ制御装置は、図1のメモリ制御装置において、バ
ッファメモリ2及びメモリ制御回路6をそれぞれバッフ
ァメモリ7及びメモリ制御回路9とし、セレクタ回路8
を設けたものである。Embodiment 3 Next, a third embodiment of the present invention will be described. FIG. 7 is a block circuit diagram of the memory control device according to the second embodiment. In the figure, 1 is a signal generation circuit, 7 is a buffer memory, 8 is a selector circuit, 3
Is a signal processing circuit, 4 is a write counter, 5 is a read counter, and 9 is a memory control circuit. In FIG. 7, the same components as those in FIG. 1 are denoted by the same reference numerals. The memory control device of FIG. 7 differs from the memory control device of FIG. 1 in that the buffer memory 2 and the memory control circuit 6 are replaced by a buffer memory 7 and a memory control circuit 9, respectively.
Is provided.
【0046】バッファメモリ7は、シングルポートのD
RAMにより構成されている。また、セレクタ回路8
は、バッファメモリ7のデータ入出力ポートを信号生成
回路1または信号処理回路3に切り換え接続する。すな
わち、セレクタ回路8はバッファメモリ7のデータ入出
力経路(リード/ライト方向)を切り換える。The buffer memory 7 has a single-port D
It is composed of a RAM. Also, the selector circuit 8
Switches the data input / output port of the buffer memory 7 to the signal generation circuit 1 or the signal processing circuit 3 for connection. That is, the selector circuit 8 switches the data input / output path (read / write direction) of the buffer memory 7.
【0047】メモリ制御回路9は、上記実施の形態1の
メモリ制御回路6と同様に、ライトカウンタ4から出力
されるWCUTおよびWCYと、リードカウンタ5から
出力されるRCUTおよびRCYとに基づいて、バッフ
ァメモリ2に入力されバッファメモリ2から出力されて
いないデータの個数を管理し、入力ウエイト信号W−W
AIT及び出力ウエイト信号R−WAITにより信号生
成回路1及び信号処理回路3の動作を制限する。さら
に、メモリ制御回路9は、1データ毎にバッファメモリ
7のライトアドレスとリードアドレスを生成してバッフ
ァメモリ7に出力すると同時に、セレクタ回路8を制御
する。すなわち、上記のライトアドレスをライトカウン
タ4から出力されるWCUTから生成し、上記のリード
アドレスをリードカウンタ5から出力されるRCUTか
ら生成し、セレクタ回路8によるデータのリード/ライ
ト方向の切り換えを入力データ及び出力データのサンプ
リング周波数の2倍のクロックに同期して行う。The memory control circuit 9, like the memory control circuit 6 of the first embodiment, is based on WCUT and WCY output from the write counter 4 and RCUT and RCY output from the read counter 5. The number of data that is input to the buffer memory 2 and not output from the buffer memory 2 is managed, and the input weight signal WW
The operations of the signal generation circuit 1 and the signal processing circuit 3 are restricted by the AIT and the output weight signal R-WAIT. Further, the memory control circuit 9 generates a write address and a read address of the buffer memory 7 for each data and outputs the generated write address and read address to the buffer memory 7 and controls the selector circuit 8 at the same time. That is, the write address is generated from the WCUT output from the write counter 4, the read address is generated from the RCUT output from the read counter 5, and the switching of the data read / write direction by the selector circuit 8 is input. This is performed in synchronization with a clock twice the sampling frequency of data and output data.
【0048】図8はメモリ制御回路9の構成を示すブロ
ック回路図である。図8において、メモリ制御回路9
は、比較回路11と、判別回路12と、ライト制御回路
13と、リード制御回路14と、アドレス生成回路25
により構成されている。なお、図8において、図2と同
じものには同じ符号を付してある。メモリ制御回路9
は、図2のメモリ制御回路において、アドレス生成回路
25を設けたものである。アドレス生成回路25は、入
力データ及び出力データのサンプリング周波数の2倍の
クロックW/Rを生成し、セレクタ回路8及びバッファ
メモリ7に出力するとともに、入力データのカウント値
WCUT及び出力データのカウント値RCUTに基づい
てライトアドレス及びリードアドレスを生成し、これら
のアドレスをバッファメモリ7に出力する。ここでは、
セレクタ回路8はクロックW/Rの立ち上がりでバッフ
ァメモリ7のデータ入出力ポートを信号生成回路1側に
切り換え、クロックW/Rの立ち下がりでデータ入出力
ポートを信号処理回路3側に切り換えるものとする。ま
た、バッファメモリ7は、クロックW/Rがハイレベル
である期間においてデータライト動作をし、クロックW
/Rがローレベルである期間において立ち下がりにおい
てデータリード動作をするものとする。FIG. 8 is a block circuit diagram showing a configuration of the memory control circuit 9. In FIG. 8, the memory control circuit 9
Are a comparison circuit 11, a determination circuit 12, a write control circuit 13, a read control circuit 14, and an address generation circuit 25.
It consists of. In FIG. 8, the same components as those in FIG. 2 are denoted by the same reference numerals. Memory control circuit 9
Is obtained by providing an address generation circuit 25 in the memory control circuit of FIG. The address generation circuit 25 generates a clock W / R twice as high as the sampling frequency of the input data and the output data, and outputs the clock W / R to the selector circuit 8 and the buffer memory 7. A write address and a read address are generated based on the RCUT, and these addresses are output to the buffer memory. here,
The selector circuit 8 switches the data input / output port of the buffer memory 7 to the signal generation circuit 1 at the rise of the clock W / R, and switches the data input / output port to the signal processing circuit 3 at the fall of the clock W / R. I do. The buffer memory 7 performs a data write operation during a period when the clock W / R is at a high level,
It is assumed that the data read operation is performed at the falling edge during the period when / R is at the low level.
【0049】次に、動作を説明する。図9は本実施の形
態3のメモリ制御装置の動作タイミング図である。図9
において、(a)はバッファメモリ7のライトデータ
(入力データのライトタイミング)、(b)は入力デー
タ数のカウント値WCUT、(c)はWCUTのキャリ
ービットWCY、(d)はアドレス生成回路25による
クロックW/R、(e)はバッファメモリ7からの出力
データ(記憶データのリードタイミング)、(f)は出
力データ数のカウント値RCUT、(g)はRCUTの
キャリービットRCY、(h)は追い越し判別フラグT
FF、(i)は比較回路11による比較結果、(j)は
入力ウエイト信号W−WAIT、(k)は出力ウエイト
信号R−WAITである。Next, the operation will be described. FIG. 9 is an operation timing chart of the memory control device according to the third embodiment. FIG.
(A) is write data (write timing of input data) of the buffer memory 7, (b) is a count value WCUT of the number of input data, (c) is a carry bit WCY of the WCUT, and (d) is an address generation circuit 25. (E) is output data (read timing of storage data) from the buffer memory 7, (f) is a count value RCUT of the number of output data, (g) is a carry bit RCY of the RCUT, (h) Is the passing flag T
FF, (i) is a comparison result by the comparison circuit 11, (j) is an input weight signal W-WAIT, and (k) is an output weight signal R-WAIT.
【0050】図9において、信号生成回路1からバッフ
ァメモリ7にデータが入力される場合には、クロックW
/Rの立ち上がりに同期して入力データがバッファメモ
リ7に書き込まれる。また、信号処理回路3からデータ
の出力要求がある場合には、クロックW/Rの立ち立ち
下がりに同期してバッファメモリ7からデータが読み出
される((a)、(d)、(e)参照)。In FIG. 9, when data is input from the signal generation circuit 1 to the buffer memory 7, the clock W
Input data is written to the buffer memory 7 in synchronization with the rise of / R. When there is a data output request from the signal processing circuit 3, data is read from the buffer memory 7 in synchronization with the falling edge of the clock W / R (see (a), (d), and (e)). ).
【0051】また、WCUT、RCUT、WCY、RC
Y、TFF、比較回路11による比較結果、W−WAI
T、R−WAITの所作は、上記実施の形態1と同様で
ある。WCUT及びRCUTは、それぞれデータの入出
力に応じてインクリメントされ、”FF”になると次の
データの入出力で“0”に戻る((b)、(f)参
照)。WCY及びRCYは、WCUT、RCUTが”F
F”である期間においてそれぞれ“1”となる
((c)、(g)参照)。追い越し判別フラグTFF
は、WCYが“1”になると“1”にセットされ、RC
Yが“0”になると“0”にリセットされる((h)参
照)。比較回路11による比較結果は、WCUT≠RC
UTのとき“0”となり、WCUT=RCUTのとき
“1”となる((i)参照)。入力ウエイト信号W−W
AITは、TFF=1かつWCUT=RCUTとなる期
間において“1”となり((j)参照)、これにより信
号生成回路1からのデータ入力が制限される。出力ウエ
イト信号R−WAITは、TFF=0かつWCUT=R
CUTとなる期間において“1”となり((k)参
照)、これにより信号処理回路3によるデータの出力要
求が制限される。Also, WCUT, RCUT, WCY, RC
Y, TFF, comparison result by comparison circuit 11, W-WAI
The actions of T and R-WAIT are the same as in the first embodiment. The WCUT and the RCUT are incremented according to the input and output of data, respectively, and when they become "FF", return to "0" at the next input and output of data (see (b) and (f)). WCY and RCY are "F" for WCUT and RCUT.
It becomes “1” during the period of “F” (see (c) and (g)). Overtaking determination flag TFF
Is set to “1” when WCY becomes “1” and RC
When Y becomes "0", it is reset to "0" (see (h)). The comparison result by the comparison circuit 11 is WCUT @ RC
It becomes "0" for UT and "1" for WCUT = RCUT (see (i)). Input weight signal WW
The AIT becomes “1” during the period when TFF = 1 and WCUT = RCUT (see (j)), thereby restricting data input from the signal generation circuit 1. The output wait signal R-WAIT is TFF = 0 and WCUT = R
It becomes “1” during the CUT period (see (k)), thereby limiting the data output request by the signal processing circuit 3.
【0052】以上の様に実施の形態3によれば、上記実
施の形態1と同様に非同期で入出力されるデータの制御
を小さなバッファメモリ容量及び小さなハードウェア規
模で実現することができ、高速動作が可能なメモリ制御
装置を実現することができるとともに、シングルポート
のメモリを用いたことにより、安価なメモリ制御装置を
実現することができる。As described above, according to the third embodiment, similarly to the first embodiment, control of data input / output asynchronously can be realized with a small buffer memory capacity and a small hardware scale. An operable memory control device can be realized, and an inexpensive memory control device can be realized by using a single-port memory.
【0053】なお、上記実施の形態3では、バッファメ
モリ7にシングルポートのDRAMを使ったが、必ずし
もDRAMである必要はなく、SRAM等のメモリを使
っても良い。また、上記実施の形態3では、1データ単
位でバッファメモリ7のリード/ライト方向を切り換え
ていたが、必ずしも1データ単位である必要はなく、任
意のデータ単位で切り換えるようにしても良い。In the third embodiment, a single-port DRAM is used as the buffer memory 7, but the buffer memory 7 is not necessarily a DRAM, and a memory such as an SRAM may be used. In the third embodiment, the read / write direction of the buffer memory 7 is switched in units of one data. However, the direction is not necessarily limited to one data unit, and may be switched in any data unit.
【0054】[0054]
【発明の効果】請求項1の発明に係るメモリ制御装置に
よれば、入出力データ数をそれぞれ入力側カウンタ及び
出力側カウンタによりカウントし、両カウンタのカウン
ト値を比較するとともに、入力側カウンタが一巡する際
に“1”にセットされ出力側カウンタが一巡する際に
“0”にリセットされるフラグを生成し、カウント値の
比較結果及びフラグの値に基づいて、両カウント値が一
致し、かつフラグが“1”になったことを検知するとデ
ータ入力を制限し、両カウント値が一致し、かつフラグ
が“0”になったことを検知するとデータ出力を制限す
るようにしたことにより、非同期で入出力されるデータ
の制御を小さなバッファメモリ容量で実現することがで
きるという効果がある。また、データの入出力を制限す
るか否かを簡単なアルゴリズムで判定することができる
ので、非同期で入出力されるデータの制御を小さなハー
ドウェア規模で実現することができるとともに、判定に
要する時間が短く、高速動作が可能なメモリ制御装置を
実現することができるという効果がある。According to the memory control device of the first aspect of the present invention, the number of input / output data is counted by the input side counter and the output side counter, and the count values of both counters are compared. A flag is set which is set to "1" when the circuit goes round and reset to "0" when the output side counter makes a circuit. Based on the comparison result of the count values and the flag value, the two count values match. When the flag is set to "1", the data input is restricted, and when the count values match and the flag is set to "0", the data output is restricted. There is an effect that control of data input / output asynchronously can be realized with a small buffer memory capacity. Further, since it is possible to determine whether to limit data input / output by a simple algorithm, control of data input / output asynchronously can be realized on a small hardware scale, and the time required for the determination can be reduced. However, there is an effect that a memory control device which is short and can operate at high speed can be realized.
【0055】請求項2の発明に係るメモリ制御装置によ
れば、非同期で入出力されるm個のデータからなるデー
タブロックの制御を小さなバッファメモリ容量で実現す
ることができるとともに、入出力データブロック数を入
力側カウンタ及び出力側カウンタによりカウントするよ
うにしたことにより、ハードウェア規模をさらに小さく
することができるという効果がある。According to the memory control device of the second aspect of the present invention, control of a data block composed of m pieces of data input / output asynchronously can be realized with a small buffer memory capacity. Since the number is counted by the input side counter and the output side counter, there is an effect that the hardware scale can be further reduced.
【0056】請求項3の発明に係るメモリ制御装置によ
れば、非同期で入出力されるデータの制御を小さなバッ
ファメモリ容量及び小さなハードウェア規模で実現する
ことができ、高速動作が可能なメモリ制御装置を実現す
ることができるとともに、シングルポートのメモリを用
いたことにより、安価なメモリ制御装置を実現すること
ができるという効果がある。According to the memory control device of the third aspect of the present invention, control of data input / output asynchronously can be realized with a small buffer memory capacity and a small hardware scale, and a memory control capable of high-speed operation. In addition to the realization of the device, the use of a single-port memory has the effect that an inexpensive memory control device can be realized.
【図1】 本発明の実施の形態1のメモリ制御装置の構
成を示すブロック回路図である。FIG. 1 is a block circuit diagram showing a configuration of a memory control device according to a first embodiment of the present invention.
【図2】 本発明の実施の形態1におけるメモリ制御回
路の構成を示すブロック回路図である。FIG. 2 is a block circuit diagram showing a configuration of a memory control circuit according to the first embodiment of the present invention.
【図3】 本発明の実施の形態1のメモリ制御装置の動
作タイミング図である。FIG. 3 is an operation timing chart of the memory control device according to the first embodiment of the present invention;
【図4】 本発明の実施の形態1のメモリ制御装置の動
作タイミング図である。FIG. 4 is an operation timing chart of the memory control device according to the first embodiment of the present invention;
【図5】 本発明の実施の形態2のメモリ制御装置の動
作タイミング図である。FIG. 5 is an operation timing chart of the memory control device according to the second embodiment of the present invention;
【図6】 本発明の実施の形態2のメモリ制御装置の動
作タイミング図である。FIG. 6 is an operation timing chart of the memory control device according to the second embodiment of the present invention;
【図7】 本発明の実施の形態3のメモリ制御装置の構
成を示すブロック回路図である。FIG. 7 is a block circuit diagram showing a configuration of a memory control device according to a third embodiment of the present invention.
【図8】 本発明の実施の形態3におけるメモリ制御回
路の構成を示すブロック回路図である。FIG. 8 is a block circuit diagram showing a configuration of a memory control circuit according to a third embodiment of the present invention.
【図9】 本発明の実施の形態3のメモリ制御装置の動
作タイミング図である。FIG. 9 is an operation timing chart of the memory control device according to the third embodiment of the present invention.
【図10】 従来のメモリ制御装置の構成を示すブロッ
ク回路図である。FIG. 10 is a block circuit diagram showing a configuration of a conventional memory control device.
【図11】 従来のメモリ制御装置の動作タイミング図
である。FIG. 11 is an operation timing chart of a conventional memory control device.
2,7 バッファメモリ、 4 ライトカウンタ、 5
リードカウンタ、6,9 メモリ制御回路、 10
比較回路、 11 比較回路、 12 判別回路、 1
3 ライト制御回路、 14 リード制御回路。2,7 buffer memory, 4 write counter, 5
Read counter, 6, 9 Memory control circuit, 10
Comparison circuit, 11 comparison circuit, 12 discrimination circuit, 1
3 Write control circuit, 14 Read control circuit.
Claims (3)
時的に記憶し、入力されたデータとは異なるタイミング
で前記バッファメモリからデータを出力するメモリ制御
装置において、 入力データをカウントするn(nは正の整数)ビット幅
の入力側カウンタと、 出力データをカウントするnビット幅の出力側カウンタ
と、 前記入力側カウンタと前記出力側カウンタのカウント値
を比較する手段と、 前記入力側カウンタが一巡する際にフラグを“1”にセ
ットし、前記出力側カウンタが一巡する際に前記フラグ
を“0”にリセットする手段と、 前記比較手段による比較結果と前記フラグ値とに基づい
て、前記入力側カウンタと前記出力側カウンタのカウン
ト値が一致し、かつ前記フラグが“1”になったことを
検知すると前記バッファメモリへのデータの入力を制限
する手段と、 前記比較手段による比較結果と前記フラグ値とに基づい
て、前記入力側カウンタと前記出力側カウンタのカウン
ト値が一致し、かつ前記フラグが“0”になったことを
検知すると前記バッファメモリからのデータの出力を制
限する手段とを有することを特徴としたメモリ制御装
置。1. A memory control device for temporarily storing input data in a buffer memory and outputting data from the buffer memory at a timing different from that of the input data. An input counter having a positive integer) bit width, an output counter having an n-bit width for counting output data, a means for comparing the count values of the input counter and the output counter, Means for setting a flag to "1" when the output side counter makes a round, and resetting the flag to "0" when the output-side counter makes one cycle. Based on a comparison result by the comparing means and the flag value, When it is detected that the count values of the output side counter and the output side counter match and the flag is set to "1", the buffer memory Means for restricting the input of the data, and the count value of the input counter and the count value of the output counter match based on the comparison result by the comparing means and the flag value, and the flag becomes "0". Means for restricting the output of data from the buffer memory upon detecting that the data has been stored.
て、 入力されたm(mは2以上の整数)個のデータからなる
データブロックをバッファメモリに一時的に記憶し、入
力されたデータとは異なるタイミングで前記バッファメ
モリから前記データブロックを出力し、 前記入力側カウンタが、前記入力データブロックをカウ
ントし、 前記出力側カウンタが、前記出力データブロックをカウ
ントすることを特徴としたメモリ制御装置。2. The memory control device according to claim 1, wherein a data block composed of m (m is an integer of 2 or more) input data blocks is temporarily stored in a buffer memory. A memory control device that outputs the data blocks from the buffer memory at different timings, wherein the input counter counts the input data blocks, and wherein the output counter counts the output data blocks.
て、 前記バッファメモリが、シングルポートのメモリであ
り、 前記バッファメモリに対するデータの入出力経路を切り
換える手段を有することを特徴としたメモリ制御装置。3. The memory control device according to claim 1, wherein said buffer memory is a single-port memory, and further comprising means for switching a data input / output path to / from said buffer memory.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP00310398A JP3871424B2 (en) | 1998-01-09 | 1998-01-09 | Memory control device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP00310398A JP3871424B2 (en) | 1998-01-09 | 1998-01-09 | Memory control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH11203104A true JPH11203104A (en) | 1999-07-30 |
| JP3871424B2 JP3871424B2 (en) | 2007-01-24 |
Family
ID=11548026
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP00310398A Expired - Fee Related JP3871424B2 (en) | 1998-01-09 | 1998-01-09 | Memory control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3871424B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2016198579A (en) * | 2016-08-04 | 2016-12-01 | 株式会社三共 | Game machine |
-
1998
- 1998-01-09 JP JP00310398A patent/JP3871424B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2016198579A (en) * | 2016-08-04 | 2016-12-01 | 株式会社三共 | Game machine |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3871424B2 (en) | 2007-01-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7310396B1 (en) | Asynchronous FIFO buffer for synchronizing data transfers between clock domains | |
| JPH03238686A (en) | Method and device for generating state flag | |
| US5416749A (en) | Data retrieval from sequential-access memory device | |
| JPH06259225A (en) | Synchronizer of data transfer | |
| AU642547B2 (en) | First-in first-out buffer | |
| CN115567786A (en) | Device and method for generating a synchronous timing signal | |
| US5594743A (en) | Fifo buffer system having an error detection and correction device | |
| EP0394599A1 (en) | Circuit for synchronizing data transfers between two devices operating at different speeds | |
| JP2551493B2 (en) | Key signal delay device | |
| CN101213534A (en) | Delay-insensitive FIFO signaling protocol | |
| JP3871424B2 (en) | Memory control device | |
| KR100938338B1 (en) | Semiconductor device and buffer control circuit | |
| JP4355383B2 (en) | Data accumulation monitoring device | |
| JP3592169B2 (en) | Asynchronous data transfer control device and asynchronous data transfer control method | |
| JP3072168B2 (en) | Memory operation arbitration circuit | |
| JP4696003B2 (en) | Data transfer circuit | |
| JP2870468B2 (en) | Data transfer rate difference absorption method | |
| TW202023191A (en) | Debounce circuit | |
| JP4524724B2 (en) | Input/Output Devices | |
| JP3256464B2 (en) | Asynchronous transfer control method | |
| JP2003273846A (en) | Data capture circuit | |
| JP2005504464A (en) | Digital line delay using single port memory | |
| JP2000011637A (en) | FIFO type storage device | |
| JPH0385012A (en) | Pulse generating circuit | |
| JPH05145408A (en) | Counting method and counter device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040412 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20061010 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20061017 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20061017 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091027 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101027 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111027 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121027 Year of fee payment: 6 |
|
| LAPS | Cancellation because of no payment of annual fees |