JPS6122512B2 - - Google Patents

Info

Publication number
JPS6122512B2
JPS6122512B2 JP52046181A JP4618177A JPS6122512B2 JP S6122512 B2 JPS6122512 B2 JP S6122512B2 JP 52046181 A JP52046181 A JP 52046181A JP 4618177 A JP4618177 A JP 4618177A JP S6122512 B2 JPS6122512 B2 JP S6122512B2
Authority
JP
Japan
Prior art keywords
output
input
data
circuit
register
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
JP52046181A
Other languages
Japanese (ja)
Other versions
JPS53130915A (en
Inventor
Shintaro Azami
Hiroshi Iijima
Mitsuo Nishiwaki
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 JP4618177A priority Critical patent/JPS53130915A/en
Publication of JPS53130915A publication Critical patent/JPS53130915A/en
Publication of JPS6122512B2 publication Critical patent/JPS6122512B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明はテレビ信号を高度にデータ圧縮するフ
レーム間符号化などの画像符号化装置において、
不規則・間歇的に生じるデータを平滑化し、一定
速度で伝送路に送出するためのバツフアメモリに
関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides an image encoding device for interframe encoding that highly compresses television signals.
This invention relates to a buffer memory for smoothing data that occurs irregularly and intermittently and transmitting the smoothed data to a transmission line at a constant speed.

テレビ信号では毎秒30秒(フレームという)の
画像を伝送しているが、画面の動きが少なけれ
ば、相続くフレーム間の信号の差は非常に小さく
なる。したがつて、フレーム間の差信号、すなわ
ち画面の動いた部分のみの情報を伝送すれば、伝
送データ量を大幅に低減することができる。この
ような概念に基づいた符号化を“フレーム間符号
化”といい、その符号器復号器の基本的な構成を
第1図に示す。すなわち、入力されたテレビ信号
はアナログ−デジタル変換器(A/D変換器)1
によつてデジタル信号(PCM信号)に変換され
る。PCM符号化されたテレビ信号と、フレーム
メモリ2に記憶されている前フレーム信号とを比
較し、ある値以上の差分を有する画素についての
み、その振幅および画面上の位置等を符号器3で
符号化する。この符号器3の出力符号の発生量は
画面の動きに応じて変化するのでバツフアメモリ
5に一時蓄えられた後、ほぼ一定速度(スタツフ
イングやフレームマーカーなどを考慮すると、完
全に一定ではない)ど伝送路に送出される。符号
器3の出力は復号器4で復号化され、フレームメ
モリ2に再び蓄えられる。
Television signals transmit images at 30 seconds (called frames) every second, but if there is little movement on the screen, the difference in signals between successive frames becomes very small. Therefore, by transmitting only the difference signal between frames, that is, information about the moving portion of the screen, the amount of transmitted data can be significantly reduced. Coding based on this concept is called "interframe coding," and the basic configuration of its encoder/decoder is shown in FIG. That is, the input television signal is sent to an analog-to-digital converter (A/D converter) 1.
is converted into a digital signal (PCM signal) by The PCM-encoded television signal and the previous frame signal stored in the frame memory 2 are compared, and only for pixels having a difference of a certain value or more, the amplitude, position on the screen, etc. are encoded by the encoder 3. become The amount of output codes generated by the encoder 3 changes depending on the movement of the screen, so after being temporarily stored in the buffer memory 5, the output code is generated at an approximately constant rate (taking into account stuffing, frame markers, etc., it is not completely constant). Sent to the transmission path. The output of the encoder 3 is decoded by a decoder 4 and stored again in the frame memory 2.

一方、伝送路から送られてくる符号は一時バツ
フアメモリ6に蓄えられた後、復号器7でテレビ
の同期信号に従つて元の差分信号に復号し、フレ
ームメモリ8の画像信号を書替えて、PCMテレ
ビ信号を再生し、デジタル−アナログ変換器
(D/A変換器)9で元のアナログ信号のテレビ
信号を得る。
On the other hand, the code sent from the transmission path is temporarily stored in the buffer memory 6, and then decoded by the decoder 7 into the original difference signal according to the TV synchronization signal, and the image signal in the frame memory 8 is rewritten, and the PCM The television signal is reproduced, and a digital-to-analog converter (D/A converter) 9 obtains the original analog television signal.

上述のようなフレーム間符号化装置では不規
則・間歇的に生じる符号化データを平滑化し、伝
送路へ送出するためのバツフアメモリが必要不可
欠である。通常このような目的に使用されるバツ
フアメモリにはおよそ画面1枚分の記憶容量
(0.4〜1.5×106ビツト)と、6〜13×106語(語は
nビツト並列データを表わす)の入出力速度が要
求される。すなわち、送信側バツフアメモリの入
力は、最高時には標本化周波数の速度に等しく、
平均的には伝送路側の速度に等しい符号発生量を
有す、符号器3の出力符号(一般にはnビツト並
列信号である)であり、バツフアメモリ出力は、
ほぼ定周期を有する出力信号として伝送路に接続
される。一方受信側バツフアメモリは、送信側の
それを入出力が入れ替つた関係になる。また上述
の発生データと伝送路のクロツクとは一般に非同
期である。
In the above-mentioned interframe encoding device, a buffer memory is essential for smoothing irregularly/intermittently generated encoded data and sending it to a transmission path. Normally, the buffer memory used for this purpose has a storage capacity of about one screen (0.4 to 1.5 x 106 bits) and an input of 6 to 13 x 106 words (a word represents n-bit parallel data). Output speed is required. That is, the input to the transmitter buffer memory is at its maximum equal to the rate of the sampling frequency;
The output code of the encoder 3 (generally an n-bit parallel signal) has a code generation amount equal to the speed of the transmission line on average, and the buffer memory output is:
It is connected to the transmission line as an output signal having a substantially constant period. On the other hand, the buffer memory on the receiving side has input and output interchanged with that on the transmitting side. Further, the above-mentioned generated data and the clock of the transmission line are generally asynchronous.

上述したようにバツフアメモリは大容量メモリ
になるため、先ず記憶素子として高集積化が可能
なMOS形ランダムアクセスメモリを使用するこ
とが多い。このMOS形、ランダムメモリの書込
または読出しサイクルタイムは最高数百ナノ秒で
あり、発生するデータ速度に較べ、遥かに遅い動
作速度である。このメモリ素子の動作速度とデー
タ速度の間の速度不整合は、データを直列−並列
変換し、並列データを同時にメモリ素子に対して
書込みまたは読出しすることによつて、データ速
度を実質的に1/(並列ビツト数)にすることに
よつて解決できた。このとき、データを直列−並
列変換する並列展開数が増すと、そのために必要
な論理素子数が増えるので、この並列展開数はな
るべく少ないことが望ましい。そのためにはメモ
リ素子の動作速度を最大に利用することが必要で
ある。換言すれば、バツフアメモリの入力である
発生データ量は伝送路のビツトレートと平均的に
等しい筈であるから、伝送路ビツトレートの高々
2倍の速度でメモリ素子を動作させることができ
れば、展開数がもつとも少なくてすみ、メモリ動
作速度の点からは最も効果的であるが、回路的に
非常に複雑にならざるを得なかつた。すなわち、
第1図に示すフレーム間符号化装置送信側のバツ
フアメモリ5の出力は伝送路側に接続され、ほぼ
一定周期毎にデータ出力が行なわれるが、一方デ
ータ入力は符号器3側に接続され、不規則、間歇
的に入力される。したがつて、伝送路ビツトレー
トの高々2倍の速度でメモリ素子を動作させるた
めには、メモリ動作サイクルのそれぞれ1/2を書
込、読出しサイクルとし、これを周期的に行なう
とすれば、不規則入力データを既に平滑化、一定
速度に変換しておかなければならない。このため
には不規則に入力する入力データを書込可能な時
刻迄保存するための待合せ回路が必要になる。こ
の待合せ回路のレジスタ数は、最高速度の符号化
データが何サンプルか連続して入力されるような
最悪の場合についても十分に余裕を持つように決
めなければならないので、〓大な数になつた。し
かも上述のようなバツフアメモリ構成を考える
と、第1図の送信側および受信側のバツフアメモ
リで待合せ回路が必要になるのは、それぞれの入
力側、出力側となるため、バツフアメモリ構成を
送信側、受信側でかえるか、または入力、出力共
に待合せ回路を設けて、回路を冗長にして同一の
バツフアメモリを使つていた。
As described above, buffer memory is a large-capacity memory, and therefore MOS random access memory, which can be highly integrated, is often used as a storage element. This MOS type random memory has a write or read cycle time of up to several hundred nanoseconds, which is a much slower operating speed than the data rate it generates. This speed mismatch between the operating speed of the memory device and the data rate is achieved by serial-to-parallel converting the data and writing or reading parallel data to or from the memory device at the same time, thereby effectively reducing the data rate to 1. I was able to solve this by changing the number of parallel bits to /(number of parallel bits). At this time, as the number of parallel expansions for serial-to-parallel conversion of data increases, the number of logic elements required for this increases, so it is desirable that the number of parallel expansions be as small as possible. To this end, it is necessary to maximize the operating speed of the memory device. In other words, since the amount of generated data that is input to the buffer memory should be equal to the bit rate of the transmission line on average, if the memory element can be operated at at most twice the bit rate of the transmission line, the number of expansions will be as long as possible. Although it requires less memory and is the most effective in terms of memory operation speed, it inevitably becomes extremely complex in terms of circuitry. That is,
The output of the buffer memory 5 on the transmission side of the interframe encoding device shown in FIG. , is input intermittently. Therefore, in order to operate a memory element at a speed that is at most twice the transmission line bit rate, if half of each memory operation cycle is a write cycle and a read cycle, and this is performed periodically, the The rule input data must already be smoothed and converted to constant velocity. For this purpose, a waiting circuit is required to store input data that is input irregularly until the time when it can be written. The number of registers in this waiting circuit must be determined in such a way that there is sufficient margin even in the worst case, where several samples of encoded data at the highest speed are input in succession, so the number of registers becomes large. Ta. Moreover, considering the buffer memory configuration as described above, the buffer memory configurations on the transmitting side and receiving side in Figure 1 require waiting circuits on the input and output sides, respectively. Either they were switched on the side, or a waiting circuit was provided for both the input and output, making the circuit redundant and using the same buffer memory.

たとえば入力データの最大データ速度を8メガ
語/秒、1語は8ビツト、出力信号を6.3メガビ
ツト/秒という条件下では送信側で入力データを
8ビツトの並列信号とし、その各信号を更に8相
の並列信号とし、その各相について、4ビツトの
シフトレジスタを待合せ回路として用いなければ
ならなかつた。したがつて待合せ回路の全ビツト
数は4×8×8=256ビツトにもなつた。その各
シフトレジスタのあとに入力レジスタ、記憶回
路、出力レジスタ、並直列変換回路が縦続接続さ
れていた。受信側でも同様にしてバツフアメモリ
の出力側に4×8×8=256ビツトのシフトレジ
スタによる待合せ回路が必要であつた。
For example, if the maximum data rate of input data is 8 megabits/second, one word is 8 bits, and the output signal is 6.3 megabits/second, the input data is converted into 8-bit parallel signals on the transmitting side, and each signal is further processed into 8-bit parallel signals. The phase parallel signals were used, and a 4-bit shift register had to be used as a waiting circuit for each phase. Therefore, the total number of bits in the waiting circuit is 4×8×8=256 bits. After each shift register, an input register, a storage circuit, an output register, and a parallel-to-serial conversion circuit were connected in cascade. Similarly, on the receiving side, a waiting circuit consisting of a 4×8×8=256-bit shift register was required on the output side of the buffer memory.

本発明の目的は、上述した問題点に鑑み、回路
構成が簡単であり、しかも入力側および出力側デ
ータが共に不規則・間歇的であつてもよいバツフ
アメモリを提供することにある。
SUMMARY OF THE INVENTION In view of the above-mentioned problems, it is an object of the present invention to provide a buffer memory which has a simple circuit configuration and in which both input and output data can be irregular and intermittent.

次に本発明の詳細について図面を参照して説明
する。第2図a〜eは本発明に係るバツフアメモ
リの基本的構成を説明するための図であり、同図
aはそのバツフアメモリの基本的構成を示し、同
図b〜dは部分詳細図、同図eはdのメモリ制御
回路の動作を説明するためのタイムチヤートであ
る。
Next, details of the present invention will be explained with reference to the drawings. 2A to 2E are diagrams for explaining the basic configuration of the buffer memory according to the present invention, FIG. 2A shows the basic configuration of the buffer memory, and FIGS. e is a time chart for explaining the operation of the memory control circuit d.

第2図aに示すようにバツフアメモリの基本的
構成は、入力端子101iおよび出力端子102i
(i=1,2,……n)にそれぞれ接続されるn
ビツト並列の入力データDIiおよび出力データ
DOiに対応して設けた記憶モジユール100iと、
それぞれの入出力データに同期して入力端子10
3,104に加えられる入力クロツクIREQ,出
力クロツクOREQを入力とし、データ入出力速度
をメモリ動作速度に整合させるための制御を行な
う入力制御回路200ならびに出力制御回路30
0と、該制御回路200,300から出力される
書込/読出し要求信号に従つて、入力端子105
の主クロツクFCと同期して記憶モジユール10
iの書込/読出し制御を行なうメモリ制御回路
400とから成る。
As shown in FIG. 2a, the basic configuration of the buffer memory consists of an input terminal 101 i and an output terminal 102 i
n connected to (i=1, 2,...n) respectively
Bit-parallel input data DI i and output data
A storage module 100 i provided corresponding to DO i ,
The input terminal 10 is synchronized with each input/output data.
An input control circuit 200 and an output control circuit 30 which take input clock IREQ and output clock OREQ applied to 3 and 104, and perform control to match the data input/output speed to the memory operation speed.
0 and the input terminal 105 according to the write/read request signal output from the control circuits 200 and 300.
The memory module 10 is synchronized with the main clock FC of
0 i and a memory control circuit 400 that performs write/read control.

第2図bは記憶モジユール100iの詳細な構
成を示している。すなわち、直−並列変換回路1
10は入力データDIを1ビツトづつ端子111
の入力クロツクIREQに同期してシフトする。入
力レジスタ120はこのシフトがPビツト行なわ
れる度に端121から入力される入力バツフアク
ロツクPIに従つて、上記直−並列変換回路110
の内容をPビツト同時に記憶し、書込データWDj
(j=1,2……P)として記憶回路130へ出
力する。従つて書込データWDjは入力データ速度
に1/Pの速度で変化することになる。なお上記
入力クロツクIREQ、入力バツフアクロツクPIは
入力制御回路200から与えられる。
FIG. 2b shows the detailed structure of the storage module 100i . That is, the serial-parallel conversion circuit 1
10 inputs the input data DI one bit at a time to the terminal 111
Shifts in synchronization with the input clock IREQ. The input register 120 converts the serial-to-parallel converter 110 according to the input buffer clock PI input from the terminal 121 every time this shift is performed by P bits.
The contents of P bits are stored simultaneously, and the write data WD j
It is output to the storage circuit 130 as (j=1, 2...P). Therefore, the write data WD j changes at a rate of 1/P of the input data rate. Note that the input clock IREQ and input buffer clock PI are provided from the input control circuit 200.

記憶回路130は第2図cに示すように、Pビ
ツトの並列書込/読出しに対応してP×Q個の記
憶素子をP行、Q列に並べたものである。ここに
QはP×Q個の記憶素子によつて、nビツト並列
の入力データDIの各ビツトごとに必要な記憶容
量が分つている場合にそれを満すように選んだ整
数である。
As shown in FIG. 2c, the memory circuit 130 has P.times.Q memory elements arranged in P rows and Q columns for parallel writing/reading of P bits. Here, Q is an integer selected so as to satisfy the storage capacity required for each bit of the n-bit parallel input data DI using P.times.Q storage elements.

一方記憶素子の書込・読出アドレスを表わすア
ドレス信号ADD、記憶素子の書込のための制御
信号R/Wは、それぞれ端子131,132を介
して入力され、凡ての記憶素子に接続される。j
行目の書込データWDjはj行目の凡ての記憶素子
Mj1、Mj2……,MjQに同時に入力され、この
とき、どの列の記憶素子が動作するかは端子13
k(k=1,2……Q)に入力される列選択信
号CSkによつて定まる。すなわち、ある時刻に唯
一つ入力される。列選択信号CSkによつて動作す
る列が定まる。例えば第k列目に対応する列選択
信号CSkが“1”になると、記憶素子M1k2k
…Mpkが同時に書込、または読出し動作を行な
う。これらの記憶素子から読出されたデータはす
べて一つの線に出力され、読出データRDjとして
出力される。
On the other hand, the address signal ADD representing the write/read address of the memory element and the control signal R/W for writing to the memory element are inputted through terminals 131 and 132, respectively, and are connected to all the memory elements. . j
The write data WD j of the row is all the memory elements of the j-th row
It is simultaneously input to Mj1, Mj2..., MjQ, and at this time, which column of memory element is operated is determined by the terminal 13.
3 k (k=1, 2...Q) is determined by the column selection signal CS k input. That is, only one input is made at a certain time. The column to be operated is determined by the column selection signal CS k . For example, when the column selection signal CS k corresponding to the k-th column becomes "1", the memory elements M 1k M 2k . . .
...M pk performs a write or read operation at the same time. All data read from these storage elements are output to one line and output as read data RD j .

再び第2図bに戻つて、書込データWDjはメモ
リ制御回路400から与えられるアドレス信号
ADD、列選択信号CS、および書込制御信号R/
Wに従つて記憶回路130の所定の位置に書込ま
れる。一方同様の制御信号によつて(書込制御信
号R/Wが“0”の区間は読出し動作)所定の位
置から読出されたPビツト並列の読出しデータ
RDjはデータが読出されたときに、メモリ制御回
路400から端子141に入力されるロード信号
DLによつて出力レジスタ140に一時的に蓄え
られる。出力レジスタ140のデータは出力制御
回路300から端子153に与えられる並列ロー
ド信号POによつて、並−直列変換回路150に
移された後、同じく出力制御回路300から与え
られる端子152の出力クロツクOREQに同期し
て1ビツトずつシフとし乍ら出力データDOを端
子102に出力する。さらに端子153に入力さ
れる並列ロード信号POにより出力レジスタ14
0のデータが並−直列変換回路150に移される
と同時に、記憶回路130から次のデータを読出
すような制御が出力制御回路300、メモリ制御
回路400ににおいて行なわれる。
Returning again to FIG. 2b, the write data WD j is an address signal given from the memory control circuit 400.
ADD, column selection signal CS, and write control signal R/
W is written to a predetermined location in the storage circuit 130. On the other hand, P-bit parallel read data read from a predetermined position by the same control signal (the period when the write control signal R/W is "0" is a read operation)
RD j is a load signal input from the memory control circuit 400 to the terminal 141 when data is read.
It is temporarily stored in the output register 140 by DL. The data in the output register 140 is transferred to the parallel-serial conversion circuit 150 by the parallel load signal PO applied from the output control circuit 300 to the terminal 153, and then transferred to the output clock OREQ of the terminal 152 also applied from the output control circuit 300. Output data DO is output to terminal 102 while being shifted one bit at a time in synchronization with . Furthermore, the parallel load signal PO input to the terminal 153 causes the output register 14
At the same time that the 0 data is transferred to the parallel-to-serial conversion circuit 150, the output control circuit 300 and the memory control circuit 400 are controlled to read the next data from the storage circuit 130.

次にメモリ制御信号400の構成および動作に
よいて第2図dおよびeを参照して説明する。メ
モリ制御回路400は、記憶回路130への書込
データWDjが用意できたときに入力制御回路20
0から端子401に入力される書込要求信号、あ
るいはデータ読出しを必要とするときに出力制御
信号300から端子402に入力される読出し要
求信号があるとき、メモリ動作周期に同期して記
憶回路130の書込/読出し動作を制御するもの
である。
Next, the structure and operation of the memory control signal 400 will be explained with reference to FIGS. 2d and 2e. The memory control circuit 400 controls the input control circuit 20 when write data WD j to the memory circuit 130 is ready.
When there is a write request signal input from 0 to the terminal 401 or a read request signal input from the output control signal 300 to the terminal 402 when data reading is required, the memory circuit 130 synchronizes with the memory operation cycle. It controls the write/read operations of.

まず端子105に入力された第2図eの1に示
す主クロツクFCを基に、タイミング回路410
で同図eの2〜8に示すような種々のタイミング
信号を作る。同図は、メモリ動作周波数mが主
クロツク周波数cの1/m(mは整数)であ
り、m=8の場合の例を示している。すなわち、
2に示すタイミングパルスT1は主クロツク周波
数cの1/8の周波数で、“1”と“0”の区間が
等しく、それぞれに対応して書込モード区間、読
出しモード区間を規制するパルスである。3と4
に示すタイミングパルスT2とT3は書込モード、
読出しモードの開始時点に同期したパルスで、非
同期的に入力される書込要求信号、読出し要求信
号をメモリ動作周期に同期化するために使われ
る。5および6のタイミングパルスT4およびT5
は書込モードにおける列選択信号CSおよび書込
制御信号R/Wの出力タイミングを決めるパルス
であり、7および8のタイミングパルスT6およ
びT7は読出しモードにおける列選択信号CSおよ
び読出されたデータを出力レジスタ140に書込
むためのロード信号DLの出力タイミングを決め
るパルスである。
First, based on the main clock FC shown at 1 in FIG. 2e inputted to the terminal 105, the timing circuit 410
Then, various timing signals as shown in 2 to 8 in e of the same figure are generated. This figure shows an example in which the memory operating frequency m is 1/m (m is an integer) of the main clock frequency c, and m=8. That is,
The timing pulse T1 shown in 2 has a frequency of 1/8 of the main clock frequency c, has equal intervals of "1" and "0", and is a pulse that regulates the write mode interval and read mode interval correspondingly. be. 3 and 4
The timing pulses T 2 and T 3 shown in are write mode,
This pulse is synchronized with the start of the read mode and is used to synchronize the asynchronously input write request signal and read request signal with the memory operation cycle. 5 and 6 timing pulses T 4 and T 5
are pulses that determine the output timing of the column selection signal CS and write control signal R/W in the write mode, and timing pulses T6 and T7 of 7 and 8 are the pulses that determine the output timing of the column selection signal CS and the write control signal R/W in the read mode. This is a pulse that determines the output timing of the load signal DL for writing DL into the output register 140.

先ず端子401に書込要求信号が入力されてい
る場合の動作について説明する。ここで書込要求
信号が“0”の場合は書込要求なしの状態だ、
“1”の場合は書込要求が有ることを表わすもの
とする。書込指令レジスタ421は端子401の
内容をタイミングパルスT2が入力される度に読
み込み、タイミングパルスT3によつてリセツト
される。従つて書込指令レジスタ421には第2
図eの9に示すように書込要求信号が“1”のと
きのみ、書込モード区間が“1”になるような出
力が得られる。該書込指令レジスタ421の出力
は書込列計数器122、書込列信号タイミングゲ
ート回路424、書込制御ゲート回路442に接
続されている。書込列計数器422は1乃至Q計
数できる計数器であり、入力が加えられる度に1
づつ計数する。計数内容がQを越えると上位の書
込アドレス計数器423を1つ計数する。この2
つの計数器422と423の接続順序は、ここで
は記憶回路130の各記憶素子が第1列、第2列
……第Q列と順次列単位に動作して行くようにし
たため、書込列計数器422が下位、書込アドレ
ス計数器423が上位の構成になつている。しか
しこの記憶素子の選択が、第1列目の全アドレス
動作終了後に第2列目へと動作が移るような場合
には、上記2つの計数器422と423の接続順
序は逆になる。従つて、第2図dに示す2つの計
数器422と423の並列デイジタル出力の内容
が変化する。(その周期はお互いに異なるが)時
点は第2図eの10に示すタイミングにおいてで
ある。書込アドレス計数器423の出力信号はア
ドレス切換回路440を経て端子131に出力さ
れる。アドレス切換回路440は入力されるタイ
ミングパルスT1が“1”か“0”かによつて書
込モード、読出しモードに対応するアドレス信号
を切替え、出力するものである。従つて端子13
1には第2図eのBに示すタイミングで書込アド
レスと後述する読出しアドレスが交互に出力され
アドレス信号ADDが得られる。
First, the operation when a write request signal is input to the terminal 401 will be described. If the write request signal is "0" here, there is no write request.
If it is "1", it indicates that there is a write request. The write command register 421 reads the contents of the terminal 401 every time the timing pulse T2 is input, and is reset by the timing pulse T3 . Therefore, the write command register 421 has the second
As shown at 9 in FIG. e, an output such that the write mode section becomes "1" is obtained only when the write request signal is "1". The output of the write command register 421 is connected to a write column counter 122, a write column signal timing gate circuit 424, and a write control gate circuit 442. The write column counter 422 is a counter that can count from 1 to Q, and counts 1 every time an input is added.
Count each time. When the count exceeds Q, the upper write address counter 423 counts by one. This 2
The order in which the two counters 422 and 423 are connected is such that each memory element of the memory circuit 130 operates column by column sequentially from the first column, second column... The counter 422 is at the lower level, and the write address counter 423 is at the upper level. However, if this selection of memory elements is such that the operation moves to the second column after all address operations in the first column are completed, the connection order of the two counters 422 and 423 is reversed. Therefore, the contents of the parallel digital outputs of the two counters 422 and 423 shown in FIG. 2d change. The time point is at the timing shown at 10 in FIG. 2e (although the periods are different from each other). The output signal of write address counter 423 is output to terminal 131 via address switching circuit 440. The address switching circuit 440 switches and outputs address signals corresponding to write mode and read mode depending on whether the input timing pulse T1 is "1" or "0". Therefore, terminal 13
1, a write address and a read address to be described later are alternately output at the timing shown in B of FIG. 2e, and an address signal ADD is obtained.

書込列計数器422の出力信号は、書込指令レ
ジスタ421が“1”のときのみ書込列信号タイ
ミングゲート回路424を通過してくるタイミン
グパルスT4が入力されている間だけ、書込列信
号ゲート回路425を通過し、列選択信号論理和
回路441に加えられる。列選択信号論理和回路
441は上述の如く、タイミングパルスT4に同
期した書込列選択信号と、後述するタイミングパ
ルスT6に同期した読出し列選択信号との単なる
論理和をとり端子133に出力するものである。
従つて端子133には第2図eの14に示すよう
に、書込モードに対応した列選択信号CSが得ら
れる。一方、書込制御ゲート回路442は書込制
御信号R/Wを端子132に出力するための回路
で、第2図eの15に示すように書込指令レジス
タ421が“1”のときのみタイミングパルス
T5を通過させて、上記書込制御信号R/Wと為
すものである。
The output signal of the write column counter 422 is a write signal only when the write command register 421 is "1" and only while the timing pulse T4 passing through the write column signal timing gate circuit 424 is input. The signal passes through the column signal gate circuit 425 and is applied to the column selection signal OR circuit 441. As mentioned above, the column selection signal OR circuit 441 simply ORs the write column selection signal synchronized with the timing pulse T 4 and the read column selection signal synchronized with the timing pulse T 6 to be described later, and outputs it to the terminal 133. It is something to do.
Therefore, a column selection signal CS corresponding to the write mode is obtained at the terminal 133, as shown at 14 in FIG. 2e. On the other hand, the write control gate circuit 442 is a circuit for outputting the write control signal R/W to the terminal 132, and the timing is only when the write command register 421 is "1" as shown at 15 in FIG. pulse
It passes through T5 and is used as the write control signal R/W.

一方読出しモードにおける動作も書込モードに
おけるそれと同様である。すなわち、端子402
に入力される読出し要求信号は、タイミングパル
スT3によつて読出し指令レジスタ431に読込
まれる。また読出し指令レジスタ431の内容は
タイミングT2によつてリセツトされ、第2図e
の11に示すような読出しモード区間のみ“1”
となる信号が得られる。読出し列計数器432、
読出しアドレス計数器433は前記書込モードに
おける動作と全く同一であり、読出し指令レジス
タ431が“1”になつたときに第2図eの12
に示すタイミングで1つ計数される。読出しアド
レス計数器433の出力信号は前記アドレス切替
回路440を経て端子131に出力される。また
読出し列計数器432の出力信号は、読出し指令
レジスタ431が“1”のときのみ読出し列信号
タイミングゲート回路434を通過してくるタイ
ミングパルスT6が入力されている間だけ読出し
列信号データ回路435を通過し、列選択信号論
理和回路441を経て端子133に出力される。
また読出し制御データ回路443は、上記制御信
号によつて記憶回路130から読出されたデータ
を一時的に前記出力レジスタ140に蓄えるため
のロード信号DLを作るためのデータ回路であ
り、読出し指令レジスタ431が“1”のときの
みタイミングパルスT7を通過させる。
On the other hand, the operation in read mode is similar to that in write mode. That is, terminal 402
The read request signal input to the read command register 431 is read into the read command register 431 by the timing pulse T3 . Furthermore, the contents of the read command register 431 are reset at timing T2 , and the contents of the read command register 431 are reset as shown in FIG.
“1” only in the read mode section as shown in 11 of
A signal is obtained. readout column counter 432,
The read address counter 433 operates exactly the same as in the write mode, and when the read command register 431 becomes "1",
One is counted at the timing shown in . The output signal of the read address counter 433 is outputted to the terminal 131 via the address switching circuit 440. Further, the output signal of the read column counter 432 is applied to the read column signal data circuit only when the read command register 431 is "1" and only while the timing pulse T6 passing through the read column signal timing gate circuit 434 is input. 435 and is output to the terminal 133 via the column selection signal OR circuit 441.
The read control data circuit 443 is a data circuit for generating a load signal DL for temporarily storing data read from the storage circuit 130 in the output register 140 according to the control signal, and the read command register 431 The timing pulse T7 is passed only when is "1".

一方上記書込要求信号および読出し要求信号は
必ずしもタイミングパルスT1によつて与えられ
るメモリ動作周期に同期していないため、それぞ
れが書込指令レジスタ421および読出し指令レ
ジスタ431に登録されたならば、これらの要求
信号を解除し、次の要求信号の出力に備える必要
がある。そのため書込指令レジスタ421および
読出し指令レジスタ431の出力信号はそれぞれ
の要求信号をリセツトするためめに、端子403
および404を介して入力制回路200および出
力制御回路30に戻される。
On the other hand, since the write request signal and the read request signal are not necessarily synchronized with the memory operation cycle given by the timing pulse T1 , if they are registered in the write command register 421 and the read command register 431, respectively, It is necessary to release these request signals and prepare for outputting the next request signal. Therefore, the output signals of the write command register 421 and the read command register 431 are sent to the terminal 403 in order to reset their respective request signals.
and is returned to the input control circuit 200 and the output control circuit 30 via 404.

次に本発明に係るバツフアメモリの実施例につ
いて具体的に説明する。第3図aは第一の実施例
の構成図を、同図bはその動作タイムチヤートを
示す。この第一の実施例は記憶モジユール100
jの並列展開数Pを、最高入出力データ速度に
1/Pがメモリ動作速度の1/1.5以下、すなわ
ち、P≧1.5×mになるように選定したことに特
徴がある。並列展開数Pを上述の如く選ぶことに
よつて、後述するように記憶回路130へのデー
タ書込、読出し周期の中に必ず1つの書込モー
ド、読出しモード区間が含まれることになり、ど
のような入出力データにも対応できるようにな
る。
Next, an embodiment of the buffer memory according to the present invention will be specifically described. FIG. 3a shows the configuration of the first embodiment, and FIG. 3b shows its operation time chart. This first embodiment is a storage module 100.
The feature is that the number P of parallel expansion of j is selected such that 1/P of the maximum input/output data speed is 1/1.5 or less of the memory operation speed, that is, P≧1.5×m. By selecting the number of parallel expansions P as described above, one write mode and one read mode section are always included in the data writing and reading period to the memory circuit 130, as will be described later. It becomes possible to handle input/output data such as

すなわち、最高入出力データ速度が主クロツク
周波数cに等しく、メモリ動作速度mが
c/8(m=8)のとき、並列展開数Pは12以上
とする。同図bの3に示すような入力データDIi
(図中の区切りはPビツト毎の区切りを表わす)
の各ビツトに同期した入力クロツクIREQが端子
103を介して入力制御回路200に入力されて
いる。該入力クロツクIREQは入力データDIiを直
−並列変換するために、記憶モジユール100i
の端子111に出力されると同時に、入力クロツ
ク分周回路210に入力され、P分周され、同図
bの4に示すような入力レジスタクロツクPIを得
る。入力バツフアロツクPIは記憶モジユール10
iにおいて、直−並列変換レジスタ110の内
容を入力レジスタ120に移す為、端子121に
出力されると同時に、書込要求レジスタ220を
“1”にセツトする。書込要求レジスタ220の
出力信号、すなわち、同図bの5に示す書込要求
信号は端子401を介してメモリ制御回路400
に入力される。メモリ制御回路400は前述した
如く、所定の制御信号を発生して入力レジスタ1
20の内容を記憶回路130に書込む。また書込
指令信号は端子403を通つて、入力制御回路2
00の書込要求リセツト回路230に帰還され
る。書込要求リセツト回路230は、入力レジス
タ120の内容が記憶回路130に書込まれた時
点、例えば書込指令信号の立下りを検出し、書込
要求レジスタ220をリセツトする。なお、この
書込指令信号の代りに書込制御信号R/Wを用い
て書込要求レジスタ220をリセツトしても本質
的には変わることはない。
That is, when the maximum input/output data rate is equal to the main clock frequency c and the memory operating speed m is c/8 (m=8), the number of parallel expansions P is 12 or more. Input data DI i as shown in 3 in b of the same figure
(The breaks in the diagram represent the breaks for each P bit.)
An input clock IREQ synchronized with each bit of is input to the input control circuit 200 via a terminal 103. The input clock IREQ is connected to the storage module 100i for serial-to-parallel conversion of the input data DIi .
At the same time, the clock signal is output to the terminal 111 of the input clock frequency divider circuit 210, and the frequency is divided by P to obtain the input register clock PI as shown at 4 in FIG. Input buffer lock PI is memory module 10
At 0 i , in order to transfer the contents of the serial-parallel conversion register 110 to the input register 120, the write request register 220 is set to "1" at the same time as it is output to the terminal 121. The output signal of the write request register 220, that is, the write request signal shown at 5 in FIG.
is input. As described above, the memory control circuit 400 generates a predetermined control signal and inputs the input register 1.
The contents of 20 are written to the storage circuit 130. In addition, the write command signal is passed through the terminal 403 to the input control circuit 2.
00 is fed back to the write request reset circuit 230. The write request reset circuit 230 detects the time when the contents of the input register 120 are written into the storage circuit 130, for example, the fall of the write command signal, and resets the write request register 220. Note that even if the write request register 220 is reset using the write control signal R/W instead of this write command signal, there is essentially no change.

上述の書込動作によれば、書込要求信号がでて
から1メモリ周期以内にメモリ制御回路400の
書込動作が開始され、半周期以内に終了するか
ら、メモリ動作周期の1.5倍以内には完全に書込
動作を完了することができる。従つて書込データ
の変化が前述した如くにメモリ動作周期の1.5倍
以上の周期であるから、主クロツク周波数c以
下の不規則データ入力に対しても完全に書込処理
が可能である。
According to the above-mentioned write operation, the write operation of the memory control circuit 400 starts within one memory cycle after the write request signal is issued, and ends within half a cycle, so that the write operation is completed within 1.5 times the memory operation cycle. can completely complete the write operation. Therefore, since the write data changes at a cycle that is 1.5 times or more the memory operation cycle as described above, it is possible to completely write even irregular data input at a frequency less than the main clock frequency c.

一方、出力クロツクOREQは端子104を介し
て出力制御回路300に入力される。この出力ク
ロツクOREQは端子151を介して記憶モジユー
ル100Jの並−直列変換回路150へ入力さ
れ、該出力クロツクOREQにビツト同期した同図
bの7に示すような出力データDOiが出力される
(図中の区切りはPビツト毎の区切りを表わす)。
また出力クロツクOREQは出力クロツク分周回路
310へ入力され、P分周され、同図bの8に示
す並列ロード信号POとして端子152を介し、
並−直列変換回路150に入力され、並−直変換
回路150のPビツトの出力が完了する度に出力
レジスタ140から新たなPビツトの出力データ
を読取る。また、上記並列ロード信号は読出し要
求レジスタ320を“1”にセツトする。読出し
要求レジスタ320の出力信号、すなわち同図b
の9に示す読出し要求信号は端子402を介して
メモリ制御回路400へ入力される。メモリ制御
回路400は前述した如く、読出し動作に必要な
種々の制御信号を作り、記憶回路130から所定
のデータを読出す。またメモリ制御回路400
は、データが完全に読出された時点に同図bの
()に示すロード信号DLを出力する。該ロード
信号DLは出力レジスタ140に入力され、記憶
回路130から読出されたデータを記憶する。従
つて出力レジスタ140の内容は、同図bの12
に示すタイミングで変化する。さらに上記ロード
信号DLは読出し要求リセツト回路330に入力
される。読出し要求リセツト回路330は出力レ
ジスタ140にデータが記憶された時点、例えば
ロード信号DLの立下り時点を検出して上記読出
し要求レジスタ320をリセツトする。なお、読
出し要求リセツト回路330の入力は読出し指令
信号であつても何等動作上変化ない。
On the other hand, the output clock OREQ is input to the output control circuit 300 via the terminal 104. This output clock OREQ is input to the parallel-to-serial converter circuit 150 of the storage module 100 J through a terminal 151, and output data DO i as shown in 7 in FIG. (The divisions in the figure represent divisions for each P bit).
Further, the output clock OREQ is input to the output clock frequency divider circuit 310, divided by P, and is sent as a parallel load signal PO shown at 8 in FIG.
The data is input to the parallel-to-serial conversion circuit 150, and new P-bit output data is read from the output register 140 every time the parallel-to-serial conversion circuit 150 completes outputting P bits. Further, the parallel load signal sets the read request register 320 to "1". The output signal of the read request register 320, i.e., b
A read request signal shown in 9 is input to the memory control circuit 400 via a terminal 402. As described above, the memory control circuit 400 generates various control signals necessary for the read operation and reads predetermined data from the memory circuit 130. Also, the memory control circuit 400
outputs the load signal DL shown in parentheses (b) in the figure at the time when the data is completely read. The load signal DL is input to the output register 140 and stores the data read from the storage circuit 130. Therefore, the contents of the output register 140 are 12 in b of the same figure.
Changes at the timing shown in . Further, the load signal DL is input to a read request reset circuit 330. The read request reset circuit 330 detects the time when data is stored in the output register 140, for example, the fall of the load signal DL, and resets the read request register 320. Note that even if the input to the read request reset circuit 330 is a read command signal, there is no operational change.

このようにして完了する読出し動作において
は、ある時刻(たとえば同図bの9に示すt1)に
読出し要求信号が出てから1メモリ動作周期以内
に読出し指令信号が出力され、はじめ(同図bの
10のt2)、読出し動作が開始され、またメモリ
動作の半周期(t2から)でこの読出し動作が完了
するから、合計1.5メモリ動作周期以内に読出し
動作はすべて完了するから、並列ロード信号PO
が出力されてから次の並列ロード信号POが発生
する以前の1.5メモリ動作周期以内に読出し動作
を完了することになる。
In the read operation that is completed in this way, the read command signal is output within one memory operation period after the read request signal is output at a certain time (for example, t 1 shown in 9 in b of the same figure), and Since the read operation is started at t 2 ) at 10 of b and is completed in half the memory operation period (from t 2 ), all read operations are completed within a total of 1.5 memory operation periods, so the parallel Load signal PO
The read operation will be completed within 1.5 memory operation cycles after the output of the parallel load signal PO.

第4図aは第二の実施例の構成図を、同図bは
動作タイムチヤートを示す。
FIG. 4a shows a block diagram of the second embodiment, and FIG. 4b shows an operation time chart.

この第二の実施例は前述第2図bにおける記憶
モジユール100iの並列展開数Pを、P=mに
選び、第2図bの入力レジスタ120、出力レジ
スタ140(以下それぞれ第1の入力レジスタ、
第1の出力レジスタとよぶ)のあとにそれぞれ第
2の入力レジスタ160、出力レジスタ170を
設けることに特徴がある。端子101iから第4
図bの3に示すようなnビツト並列の入力データ
DIi(図中の区切にはPビツト毎の区切りを表わ
す)が入力され、この入力データDIiにビツト同
期した入力クロツクIREQが端子103を介して
入力制御回路200′に入力される。入力クロツ
クIREQは記憶モジユール100iの端子111か
ら直−並列変換回路110へ入力され、入力デー
タDIiを1ビツトずつシフトする。一方入力クロ
ツクIREQは入力クロツク分周回路210にも入
力されており、P分周される。この分周された第
4図bの4に示す第1入力レジスタクロツクPI
は、端子121を介して第1入力レジスタ120
に入力され、直−並列変換回路110のPビツト
の並列データを第1入力レジスタに読込む。第1
入力レジスタの内容は同図bの5に示すように変
化する。第1入力レジスタクロツクPIは第2書込
要求レジスタ240に入力され、これを“1”に
セツトする。第2書込要求レジスタ240の出
力、すなわち第4図bの6に示す第2書込要求信
号は第2入力レジスタクロツク生成回路50に入
力されている。第2入力レジスタクロツク生成回
路250にはさらに後述する第1書込要求レジス
タ220の出力、すなわち第1書込要求信号も入
力されており、この第1書込要求信号が“0”で
あり、且つ上記第2書込要求信号が“1”のとき
第2入力レジスタクロツクPI2を第2入力レジス
タ160に出力する。第2入力レジスタ160は
上記第2入力レジスタクロツクPI2が入力される
と、第1入力レジスタ120の内容を記憶する。
さらに、第2入力レジスタクロツク生成回路25
0は上記第2入力レジスタクロツクPI2のほかに
も、この信号を極く短時間遅延させた第2の出力
信号を出力し、第2書込要求レジスタ240をリ
セツトすると同時に、第1書込要求レジスタ22
0を“1”にセツトする。第1書込要求レジスタ
220の出力はメモリ制御回路400の端子40
1に接続されている。メモリ制御回路400はこ
の端子401に加えられた書込要求信号に基づい
て所定の書込動作(前述)を開始する。一方、メ
モリ制御回路400から帰還された書込指令信号
は書込要求リセツト回路230に入力される。書
込要求リセツト回路230は第2の入力レジスタ
160のデータを完全に記憶回路130へ書込ん
だ時点、例えば書込指令信号の立下り時点を検出
し、第1書込要求レジスタ220をリセツトす
る。このようにして得られる第2入力レジスタク
ロツクPI2、第1書込要求信号、書込指令信号、
第2入力レジスタ出力を第4図bの7〜10に示
す。
In this second embodiment, the number P of parallel expansion of the storage module 100i in FIG. ,
A feature is that a second input register 160 and an output register 170 are provided after the first output register (referred to as a first output register), respectively. Terminal 101 i to 4th
n-bit parallel input data as shown in 3 in Figure b
DI i (the delimiters in the figure represent delimiters of every P bits) is input, and an input clock IREQ bit-synchronized with this input data DI i is input to the input control circuit 200' via the terminal 103. Input clock IREQ is input from terminal 111 of storage module 100i to serial-to-parallel conversion circuit 110, and shifts input data DIi one bit at a time. On the other hand, the input clock IREQ is also input to the input clock frequency divider circuit 210 and is frequency-divided by P. This frequency-divided first input register clock PI shown at 4 in Figure 4b
is the first input register 120 via the terminal 121
The P-bit parallel data of the serial-to-parallel conversion circuit 110 is read into the first input register. 1st
The contents of the input register change as shown at 5 in b of the same figure. The first input register clock PI is input to the second write request register 240 and sets it to "1". The output of the second write request register 240, ie, the second write request signal shown at 6 in FIG. 4B, is input to the second input register clock generation circuit 50. The second input register clock generation circuit 250 also receives the output of the first write request register 220 (described later), that is, a first write request signal, and this first write request signal is "0". , and when the second write request signal is "1", the second input register clock PI 2 is output to the second input register 160. The second input register 160 stores the contents of the first input register 120 when the second input register clock PI 2 is input.
Furthermore, the second input register clock generation circuit 25
In addition to the above-mentioned second input register clock PI 2 , 0 outputs a second output signal obtained by delaying this signal for a very short time, and at the same time resets the second write request register 240, the first write request register 240 is reset. request register 22
Set 0 to "1". The output of the first write request register 220 is sent to the terminal 40 of the memory control circuit 400.
Connected to 1. The memory control circuit 400 starts a predetermined write operation (described above) based on the write request signal applied to this terminal 401. On the other hand, the write command signal fed back from the memory control circuit 400 is input to the write request reset circuit 230. The write request reset circuit 230 detects the point in time when the data in the second input register 160 is completely written into the storage circuit 130, for example, the point in time when the write command signal falls, and resets the first write request register 220. . The second input register clock PI 2 obtained in this way, the first write request signal, the write command signal,
The outputs of the second input register are shown at 7-10 in FIG. 4b.

上述の動作によつて完了する書込動作において
はある時刻(たとえば第4図bの6に示すt1)に
第2書込要求信号が発生すると、それより1つ前
の第2書込要求信号が発生している時点(t2)か
ら、この要求信号による書込動作が1.5Tm以内に
完了しているから、前記時刻(t1)から0.5Tm内
に第1入力レジスタ120から第2入力レジスタ
160へのデータ転送が確実に実行される。従つ
て、第1入力レジスタ120から第2入力レジス
タ160へのデータの転送は、どんなに遅れても
第1入力レジスタの内容が変化する以前でかつ書
込指令信号の開始時点以前に確実に実行され、ど
のような不規則入力データに対しても記憶回路1
30への書込が順序正しく実行されることにな
る。
In the write operation completed by the above operation, when the second write request signal is generated at a certain time (for example, t 1 shown in 6 in FIG. 4B), the second write request signal immediately before the second write request signal is generated. Since the write operation by this request signal is completed within 1.5Tm from the time when the signal is generated (t 2 ), the write operation from the first input register 120 to the second input register is completed within 0.5Tm from the time (t 1 ). Data transfer to input register 160 is reliably performed. Therefore, no matter how late the data is transferred from the first input register 120 to the second input register 160, it is ensured that the data is transferred before the contents of the first input register change and before the start of the write command signal. , memory circuit 1 for any irregular input data.
30 will be executed in order.

次に本実施例について読出し動作について説明
しよう。出力クロツクOREQが端子104を介し
て出力制御回路300′に入力されると、この出
力クロツクOREQは端子151を通して記憶モジ
ユール100iの並−直列変換回路150に入力
され、レジスタ内容を1ビツトずつシフトして出
力データDOiを得る。第4図bのは出力データ
DOiのタイミングを示している。但し図中の区切
りは該並−直列変換回路150からPビツト並列
データが凡て出力された区切りを表わしている。
Next, the read operation of this embodiment will be explained. When the output clock OREQ is input to the output control circuit 300' through the terminal 104, this output clock OREQ is input to the parallel-to-serial converter circuit 150 of the storage module 100i through the terminal 151, and the register contents are shifted one bit at a time. and obtain the output data DO i . Figure 4b shows the output data
It shows the timing of DO i . However, the divisions in the figure represent the divisions at which all P-bit parallel data are output from the parallel-to-serial conversion circuit 150.

また、出力クロツクOREQは出力クロツク分周
回路310へも同時に入力され、P分周される。
第4図bの12に示すような並列ロード信号PO
として端子152を介し、上記並−直列変換回路
150に入力され、第2出力レジスタ170の内
容を並−直列変換回路150に読込む。また、こ
の並列ロード信号POは、第2の読出し要求レジ
スタ340をセツトする。このときの第2の読出
し要求レジスタ340は、第4図bの13に示す
ように上述の動作によつて第2の出力レジスタ1
70の内容が空になり、新たなデータを必要とす
る状態を表わす。この第2読出し要求レジスタ3
40の出力、すなわち第2読出し要求信号は第2
ロード信号生成回路350に入力される。第2ロ
ード信号生成回路350には、第1読出し要求信
号が同時に入力されている。第2ロード信号生成
回路350は第2読出し要求信号が、“1”、すな
わち、第2の出力レジスタ170が空であり、且
つ第1の読出し要求信号が“0”、すなわち第1
の出力レジスタ140にデータがあることを検出
したときに、第4図bの14に示す第2ロード信
号DL2を発生する。この第2ロード信号DL2は
第2の出力レジスタ170に加えられ、第1の出
力レジスタ140の内容を記憶させる。上記第2
ロード信号生成回路350は、また上記第2ロー
ド信号DL2を極く短時間遅延させた出力も出
し、第2の読出し要求レジスタ340をリセツト
すると共に、第1の読出し要求レジスタ320
“1”にセツトする。第1の読出し要求レジスタ
320の出力信号、すなわち第4図bの15に示
す第1読出し要求信号はメモリ制御回路400の
端子402に入力され、読出し要求信号となる。
メモリ制御回路400はこの読出し要求信号に基
づいて読出し動作を開始し、データを記憶回路1
30から読出すと、第4図bの17に示す第1ロ
ード信号DLを出力し、この読出されたデータを
第1の出力レジスタ140に記憶する。一方この
第1ロード信号DLは読出し要求リセツト回路3
30にも入力されている。読出し要求リセツト回
路330はデータが第1の出力レジスタ140に
記憶されたことを、入力された第1ロード信号
DLから検出し、上記第1の読出し要求レジスタ
320をリセツトする。第1および第2出力レジ
スタ140,170のデータ変化は第4図bの1
8,19に示すとおりである。
Further, the output clock OREQ is simultaneously input to the output clock frequency divider circuit 310 and is frequency-divided by P.
Parallel load signal PO as shown at 12 in Figure 4b
The signal is input to the parallel-to-serial conversion circuit 150 through the terminal 152, and the contents of the second output register 170 are read into the parallel-to-serial conversion circuit 150. This parallel load signal PO also sets the second read request register 340. At this time, the second read request register 340 is transferred to the second output register 1 by the above-described operation, as shown at 13 in FIG.
70 is empty and new data is required. This second read request register 3
40, that is, the second read request signal is the second read request signal.
The signal is input to the load signal generation circuit 350. The first read request signal is simultaneously input to the second load signal generation circuit 350. The second load signal generation circuit 350 outputs a signal when the second read request signal is "1", that is, the second output register 170 is empty, and the first read request signal is "0", that is, the first
When it is detected that there is data in the output register 140 of , it generates a second load signal DL2 shown at 14 in FIG. 4b. This second load signal DL2 is applied to the second output register 170, causing the contents of the first output register 140 to be stored. 2nd above
The load signal generation circuit 350 also outputs the second load signal DL2 delayed for a very short time, resets the second read request register 340, and resets the first read request register 320.
Set to “1”. The output signal of the first read request register 320, ie, the first read request signal shown at 15 in FIG. 4b, is input to the terminal 402 of the memory control circuit 400 and becomes a read request signal.
The memory control circuit 400 starts a read operation based on this read request signal and transfers the data to the memory circuit 1.
When read from 30, the first load signal DL shown at 17 in FIG. On the other hand, this first load signal DL is sent to the read request reset circuit 3.
30 is also entered. The read request reset circuit 330 indicates that the data has been stored in the first output register 140 by using the input first load signal.
DL and resets the first read request register 320. The data changes in the first and second output registers 140 and 170 are as shown in FIG. 4b.
As shown in 8 and 19.

以上の如くにして完了する読出し動作において
は、並列ロード信号POの発生に伴なつて、第2
出力レジスタ170から並−直列変換回路150
へ第1出力レジスタ140から第2出力レジスタ
170への一連のデータ転送が終了してから読出
し要求信号が発生し、読み出し動作を開始する。
ある時刻(たとえば第4図bの15に示すt3)に
読出要求信号がでてから1メモリ動作周期内に読
出し動作が開始され(同図bの15に示すt4)、
メモリ動作の半周期(t4から)で読出し動作が完
了するから合計1.5メモリ動作周期以内に読出し
動作は終了する。
In the read operation completed as described above, the second
From the output register 170 to the parallel-to-serial conversion circuit 150
After a series of data transfers from the first output register 140 to the second output register 170 is completed, a read request signal is generated and a read operation is started.
After the read request signal is issued at a certain time (for example, t 3 shown at 15 in FIG. 4B), the read operation is started within one memory operation cycle (t 4 shown at 15 in FIG. 4B),
Since the read operation is completed in half the memory operation cycle (from t4 ), the read operation is completed within a total of 1.5 memory operation cycles.

一方、並列ロード信号POはまた1メモリ動作
周期で発生することがあるが、このときは第2出
力レジスタ170から並−直列変換回路150へ
のデータ転送が行なわれる。上述の如く、1.5メ
モリ動作周期以内に読出されたデータは第1出力
レジスタ140から第2出力レジスタ170へ直
ちに転送される。このデータ転送により生ずる読
出し要求信号はメモリ動作周期に同期しているか
ら、この読出し要求信号に伴なう読出し動作は1
メモリ動作周期で完了する。したがつて、並列ロ
ード信号POが発生し、それに伴なつて第2の読
出し要求信号が発生した後、メモリ動作の半周期
以内に第2の出力レジスタ170にデータが記憶
されることになり、どのような出力クロツクOR
−EQにも応じられるようになる。
On the other hand, the parallel load signal PO may also be generated in one memory operation cycle, and in this case, data is transferred from the second output register 170 to the parallel-to-serial conversion circuit 150. As mentioned above, data read within 1.5 memory operation cycles is immediately transferred from the first output register 140 to the second output register 170. Since the read request signal generated by this data transfer is synchronized with the memory operation cycle, the read operation accompanying this read request signal is 1
Completes in memory operation cycle. Therefore, after the parallel load signal PO is generated and the second read request signal is generated accordingly, data will be stored in the second output register 170 within half a cycle of the memory operation. What output clock OR
-Be able to respond to EQ.

第5図aは第三の実施例の構成図を、同図bは
その動作を説明するためのタイムチヤートであ
る。
FIG. 5a is a block diagram of the third embodiment, and FIG. 5b is a time chart for explaining its operation.

この第三の実施例のバツフアメモリは、並列展
開数PがP=m/r(rは任意のm以下の整数)
である記憶モジユールn個と、入力および出力制
御回路と、メモリ制御回路から成るメモリユニツ
トをr個並列に動作させることに特長がある。以
下説明を換単にするためにr=2、m=8の場合
について説明する。
The buffer memory of this third embodiment has a parallel expansion number P=m/r (r is any integer less than or equal to m)
The feature is that r memory units consisting of n storage modules, input and output control circuits, and memory control circuits are operated in parallel. In order to simplify the explanation, the case where r=2 and m=8 will be explained below.

端子100iに加えられたnビツト並列の入力
データDIiは夫々2個のメモリユニツト500
,500の対応する記憶モジユール100i
に並列に入力されている。一方端子103から入
力され、入力データDIiにビツト同期した入力ク
ロツクIREQは各メモリユニツト500,50
の入力制御回路200″へ同時に入力すると
共に、第1入力クロツク分周回路510にも入力
されている。この分周回路510は記憶モジユー
ルの並列展開数P=m/rに相当する分周比を持
つており、この例では4分周する。第1入力クロ
ツク分周回路510の出力は第2の入力クロツク
分周回路520に接続される。第2の入力クロツ
ク分周回路520は一般的には入力信号を計数
し、計数値がk′(k′=1,2,……r)のときr
個の出力信号のうちk′番目の出力信号を“1”と
する回路であり、このr個の出力信号はそれぞれ
第k′書込ユニツト切替信号とし、対応するメモリ
ユニツト500k′に出力される。ここではr=2
であるから第2の入力クロツク分周回路520は
単なる2分周回路でよく、第5図bの4に示す書
込ユニツト切替信号が得られる。同図で“0”区
間はメモリユニツト500を、“1”の区間は
メモリユニツト500をそれぞれ書込ユニツト
することとする。書込ユニツト切替信号は各メモ
リユニツト500,500の入力制御回路2
00″にある入力クロツクゲート回路260に入
力されている。入力クロツクデータ回路260は
当該メモリユニツトが選択されている区間だけ、
前述した入力クロツクIREQを通過させる。従つ
て第1メモリユニツト500では同図bの4に
示す書込ユニツト切替信号が“0”の間だけ入力
クロツクIREQを出力し、同図bの5に示す第2
入力クロツクIREQ′が得られ、第2メモリユニツ
ト500では上述書込ユニツト切替信号が
“1”の間だけ同図bのに示す第2入力クロツ
クIREQ′が得られる。この例では、これらの第2
入力クロツクIREQ′の“0”の区間はクロツクが
無く、“1”のときに4つのクロツクが出てい
る。なお、入力クロツクIREQは同図bの3に示
す入力データに同期し、図中の区切りや第1の入
力クロツク分周回路510の4分周された区切で
ある。この入力クロツクIREQ′は記憶モジユール
100iの直−並列変換回路110に端子111
を介して入力され、入力データを1ビツトずつシ
フトする。
The n-bit parallel input data DI i applied to the terminal 100 i is stored in two memory units 500 respectively.
1,500 2 corresponding storage modules 100 i
are input in parallel. On the other hand, an input clock IREQ inputted from the terminal 103 and synchronized with the input data DI i is supplied to each memory unit 500 1 , 50 .
The clock is simultaneously input to the input control circuit 200'' of 0 and 2 , and is also input to the first input clock frequency divider circuit 510. In this example, the frequency is divided by 4.The output of the first input clock frequency divider circuit 510 is connected to the second input clock frequency divider circuit 520.The second input clock frequency divider circuit 520 is Generally, input signals are counted, and when the count value is k'(k' = 1, 2, ... r), r
This is a circuit that sets the k'th output signal to "1" among the output signals, and each of these r output signals is used as a k'th writing unit switching signal and is output to the corresponding memory unit 500k'. . Here r=2
Therefore, the second input clock frequency divider circuit 520 may be a simple frequency divider circuit by two, and the write unit switching signal shown at 4 in FIG. 5b can be obtained. In the figure, the memory unit 5001 is used as a write unit in the "0" interval, and the memory unit 5002 is used as the write unit in the "1" interval. The write unit switching signal is sent to the input control circuit 2 of each memory unit 5001 , 5002.
00'' to the input clock gate circuit 260.The input clock data circuit 260 is input to the input clock gate circuit 260 located at the memory unit 00''.
Pass the input clock IREQ mentioned above. Therefore, the first memory unit 5001 outputs the input clock IREQ only while the write unit switching signal shown at 4 in FIG.
An input clock IREQ' is obtained, and in the second memory unit 5002 , a second input clock IREQ' shown in FIG. In this example, these second
When the input clock IREQ' is "0", there is no clock, and when it is "1", four clocks are output. Note that the input clock IREQ is synchronized with the input data shown at 3 in FIG. This input clock IREQ' is connected to a terminal 111 of the serial-to-parallel conversion circuit 110 of the storage module 100i .
, and shifts the input data one bit at a time.

並列展開数P=4に等しい数のデータが直−並
列変換回路110に入力され終る時点、すなわち
メモリユニツト500においては書込ユニツト
切替信号の立上り時点に第2書込要求レジスタ2
40が“1”にセツトされる。この第2の書込要
求レジスタ240の出力は、入力レジスタクロツ
ク生成回路250に接続されている。一方入力レ
ジスタクロツク生成回路250には後述する第1
書込要求レジスタ220の出力も接続されてお
り、第1書込要求レジスタ220が“0”であ
り、且つ上記第2書込要求レジスタ240の出
力、すなわち第2書込要求信号が“1”になると
入力レジスタクロツクPIを出力する。この入力レ
ジスタクロツクPIは記憶モジユール100iの入
力レジスタ120に入力されており、前記直−並
列変換回路110のデータを記憶する。また入力
レジスタクロツク生成回路250は入力レジスタ
クロツクPIを極く短時間遅延させた信号も出力
し、第2書込要求レジスタ240をリセツトする
と同時に第1書込要求レジスタ220を“1”に
セツトする。したがつて第2書込要求信号、入力
レジスタクロツクPIは第1、第2メモリユニツト
500,500についてそれぞれ第5図bの
6,7および12,13のようになる。
The second write request register 2 is input to the serial-to-parallel converter circuit 110 when a number of data equal to the number of parallel expansions P=4 is completed, that is, at the rising edge of the write unit switching signal in the memory unit 5001 .
40 is set to "1". The output of this second write request register 240 is connected to an input register clock generation circuit 250. On the other hand, the input register clock generation circuit 250 has a first
The output of the write request register 220 is also connected, and the first write request register 220 is "0" and the output of the second write request register 240, that is, the second write request signal is "1". When this happens, the input register clock PI is output. This input register clock PI is input to the input register 120 of the storage module 100i , and stores the data of the serial-to-parallel conversion circuit 110. In addition, the input register clock generation circuit 250 also outputs a signal obtained by delaying the input register clock PI for a very short time, and at the same time resets the second write request register 240, the first write request register 220 is set to "1". Set. Therefore, the second write request signal and input register clock PI are as shown at 6, 7 and 12, 13 in FIG. 5b for the first and second memory units 500 1 and 500 2 , respectively.

また第1書込要求レジスタ220の出力、すな
わち同図bの8または14に示す第1書込要求信
号はメモリ制御回路400に入力され、所定の書
込動作が行なわれる。メモリ制御回路400から
帰還されてくる第5図bの9に示す書込指令信号
は書込要求リセツト回路230に入力される。書
込要求リセツト回路230は書込動作が終了した
ことを、例えば書込指令信号の立下り時点で検出
し、上記書込要求レジスタ220をリセツトす
る。
Further, the output of the first write request register 220, that is, the first write request signal shown at 8 or 14 in FIG. A write command signal shown at 9 in FIG. 5B fed back from the memory control circuit 400 is input to the write request reset circuit 230. The write request reset circuit 230 detects the completion of the write operation, for example, at the falling edge of the write command signal, and resets the write request register 220.

上述の如くにして完了する書込動作において
は、直−並列変換回路110を1つのバツフアレ
ジスタとして用いることによつて書込動作を円滑
に行なつている。すなわち、直−並列変換回路1
10へ入力される第2入力クロツクIREQ′は第5
図bの5または11に示すように4ビツトの入力
のあとに必ず4ビツトの無入力区間がある。した
がつてこの無入力区間は直−並列回路110のデ
ータが変化しないので、この間に入力レジスタ1
20へのデータ転送が行なえる。ある時刻(たと
えば第5図bの6に示すt1)に発生する書込信号
に基づく書込動作は、その時刻t1から1.5メモリ
動作周期以内に終了(同図bの9に示すt2)する
のに対して、以前の書込要求信号の発生(t1)か
ら次の発生(t3)までに1メモリ動作周期あり、
この後メモリ動作の半周期以上の無入力区間があ
るから、この間には書込動作も終了しており、入
力レジスタ120へのデータ転送も可能となる。
従つて、どのような入力データについても書込み
が完全になされることになる。
In the write operation completed as described above, the write operation is smoothly performed by using the serial-to-parallel conversion circuit 110 as one buffer register. That is, the serial-parallel conversion circuit 1
The second input clock IREQ' input to the 5th
As shown at 5 or 11 in Figure b, there is always a 4-bit non-input section after 4-bit input. Therefore, since the data in the series-parallel circuit 110 does not change during this no-input period, the input register 1
Data can be transferred to 20. A write operation based on a write signal that occurs at a certain time (for example, t 1 shown at 6 in FIG. 5B) is completed within 1.5 memory operation cycles from that time t 1 (at t 2 shown at 9 in FIG. 5B). ), whereas there is one memory operation cycle from the generation of the previous write request signal (t 1 ) to the next generation (t 3 ),
After this, there is a no-input period of more than half a cycle of the memory operation, so the write operation is completed during this period, and data transfer to the input register 120 is also possible.
Therefore, any input data will be completely written.

次に読出し動作について説明する。端子104
から入力かれる出力クロツクOREQはメモリユニ
ツト500,500のそれぞれの出力制御回
路300″にある出力クロツクゲート回路360
に入力されると同時に第1の出力クロツク分周回
路610に入力される。第1出力クロツク分周回
路610の出力はさらに第2出力クロツク分周回
路620に入力され、2つの第1、第2読出しユ
ニツト切替信号として対応するメモリユニツト5
00,500に出力される。第1および第2
出力クロツク分周回路610,620の動作は入
力クロツクに対するそれと全く同じであり、第5
図bの18に示す読出しユニツト切替信号が得ら
れる。なお、同図において同図bの17に示す出
力データDOは出力クロツクOREQに同期してお
り、図中の各区切りが4ビツト単位の区切である
とする。上記読出しユニツト切替信号は出力制御
回路300″の出力クロツクゲート回路360に
入力されている。出力クロツクゲート回路360
は入力におけるそれと全く同様の動作によつて一
方に入力される出力クロツクOREQを該メモリユ
ニツトが選択されている区間だけ通過させた第2
の出力クロツクOREQ′を記憶モジユール100i
の並−直列変換回路150に出力する。第1、第
2メモリユニツト500,500の第2の出
力クロツクOREQ′を第5図bの19,27に示
す。第2の出力クロツクOREQ′は並−直列変換
回路150に蓄えられた4ビツトのデータを1ビ
ツトずつ出力データ多重回路630に出力する。
出力データ多重回路630は2つのメモリユニツ
ト500,500から入力するデータを、読
出しユニツト切替信号に従つて切替え、出力デー
タDOiとして出力する。
Next, the read operation will be explained. terminal 104
The output clock OREQ input from the output clock gate circuit 360 in the output control circuit 300'' of each memory unit 5001 , 5002
At the same time, it is input to the first output clock frequency divider circuit 610. The output of the first output clock frequency divider circuit 610 is further inputted to a second output clock frequency divider circuit 620, and is used as the two first and second read unit switching signals to output the corresponding memory unit 5.
Output at 00 1 , 500 2 . 1st and 2nd
The operation of the output clock divider circuits 610, 620 is exactly the same as that for the input clock;
A readout unit switching signal shown at 18 in FIG. b is obtained. It is assumed that the output data DO shown at 17 in FIG. The above reading unit switching signal is input to the output clock gate circuit 360 of the output control circuit 300''.Output clock gate circuit 360
is a second clock which passes the output clock OREQ inputted to one side only for the period in which the memory unit is selected, by the same operation as that at the input.
The output clock OREQ' of the memory module 100i
The parallel-to-serial conversion circuit 150 is output to the parallel-serial conversion circuit 150. The second output clocks OREQ' of the first and second memory units 500 1 and 500 2 are shown at 19 and 27 in FIG. 5b. The second output clock OREQ' outputs the 4-bit data stored in the parallel-serial conversion circuit 150 to the output data multiplexing circuit 630 bit by bit.
The output data multiplexing circuit 630 switches the data input from the two memory units 500 1 and 500 2 according to the read unit switching signal and outputs the data as output data DO i .

各並−直列変換回路150の4ビツトのデータ
が全部出力された時点、すなわち、第1メモリユ
ニツト500においては、読出しユニツト切替
信号の立上り時点で第2読出し要求レジスタ34
0が“1”にセツトされる。第2読出し要求レジ
スタ340の出力信号、すなわち第5図bの20
または28に示す読出し要求信号は、並列ロード
信号生成回路350に出力される。並列ロード信
号生成回路350は、後述する第1の読出し要求
レジスタ320の出力が“0”であり、第2読出
し要求信号が“1”になつたとき、並列ロード信
号POを並−直列変換回路150に出力する。並
−直列変換回路150はこの並列ロード信号PO
が入力されると、出力レジスタ140の内容を記
憶し、次のデータ出力に備える。一方並列ロード
信号生成回路350は上記並列ロード信号POを
極く短時間遅延させた第2の出力信号をも出力し
て、第2読出し要求レジスタ340をリセツトす
ると同時に第1読出し要求レジスタ320を
“1”にセツトする。並列ロード信号POを同図b
の21または29に示す。上記第1読出し要求レ
ジスタ320の出力、第1読出し要求信号はメモ
リ制御回路400に入力される。メモリ制御回路
400はこの第1読出し要求信号の入力に伴なつ
て読出し動作を開始し、データを記憶回路130
から読み出すと同時に、読出されたデータをロー
ド信号DLによつて出力レジスタ140に記憶さ
せる。またロード信号DLは読出し要求リセツト
回路330に入力されている。読出し要求リセツ
ト回路330は出力レジスタ140にデータが記
憶されたことをロード信号DLから検出し、第1
読出し要求レジスタ320をリセツトする。第1
読出し要求信号、メモリ制御回路400の読出し
指令信号を各メモリユニツトについてそれぞれ同
図bの22,23および30,31に示し、第1
メモリユニツトのロード信号DLを同図bの24
に示し、また並−直列変換回路150、出力レジ
スタ140へのデータ記憶タイミングを同図bの
25,26に示す。
When all 4-bit data of each parallel-to-serial conversion circuit 150 has been output, that is, in the first memory unit 5001 , the second read request register 34
0 is set to "1". The output signal of the second read request register 340, i.e. 20 in FIG.
Alternatively, the read request signal shown at 28 is output to the parallel load signal generation circuit 350. The parallel load signal generation circuit 350 converts the parallel load signal PO into a parallel-to-serial conversion circuit when the output of the first read request register 320 (described later) is "0" and the second read request signal becomes "1". Output to 150. The parallel-to-serial conversion circuit 150 receives this parallel load signal PO.
When input, the contents of the output register 140 are stored and prepared for the next data output. On the other hand, the parallel load signal generation circuit 350 also outputs a second output signal obtained by delaying the parallel load signal PO for a very short time, and resets the second read request register 340 and at the same time sets the first read request register 320 to " Set to 1”. The parallel load signal PO is shown in Figure b.
21 or 29. The output of the first read request register 320, the first read request signal, is input to the memory control circuit 400. The memory control circuit 400 starts a read operation in response to the input of this first read request signal, and transfers the data to the storage circuit 130.
At the same time, the read data is stored in the output register 140 by the load signal DL. The load signal DL is also input to the read request reset circuit 330. The read request reset circuit 330 detects from the load signal DL that data has been stored in the output register 140, and
Reset read request register 320. 1st
The read request signal and the read command signal of the memory control circuit 400 are shown at 22, 23 and 30, 31 in FIG.
The load signal DL of the memory unit is set to 24 in b of the same figure.
The data storage timing in the parallel-to-serial conversion circuit 150 and the output register 140 is shown at 25 and 26 in FIG.

以上の動作について完了する読出し動作におい
ては、書込動作時と全く同様に、並−直列変換回
路150のデータを全部出力した時点(例えば第
5図bの19に示すt1)に、次の新しいデータが
並−直列変換回路150に記憶されるので、この
新しいデータが出力され、さらに次のデータの出
力開始時点(t2)迄に出力レジスタ140にデー
タが読出されればよい。この区間(t1からt2)は
1.5メモリ動作周期以上にある。一方読出し動作
は1.5メモリ動作周期以内(t1から)に完了する
からどのような出力クロツクOREQに対しても追
従できることになる。
In the read operation that completes the above operations, just as in the write operation, when all the data from the parallel-to-serial conversion circuit 150 is output (for example, t 1 shown at 19 in FIG. 5b), the next Since the new data is stored in the parallel-to-serial converter circuit 150, it is only necessary to output the new data and read the data to the output register 140 before the next data output start time ( t2 ). This interval (t 1 to t 2 ) is
1.5 memory operating cycles or more. On the other hand, since the read operation is completed within 1.5 memory operation cycles (from t1 ), it is possible to follow any output clock OREQ.

また上述の第三の実施例について説明の都合上
r=2,m=8としたが、任意のr,mについて
も同様に行ないうることは上記説明から明らかで
ある。特にr=2とそれ以上で異なるのは第1の
入力、出力クロツク分周回路510,610、第
2の入力、出力クロツク分周回路520,620
の分周比が変わることと、出力データ多重回路6
30が読出しユニツト切替信号に応じて、各メモ
リユニツト出力信号を切替て出力することであ
る。また、メモリ制御回路400のタイミング回
路は各メモリユニツトで共有することも可能であ
る。
Furthermore, although r=2 and m=8 are used for the third embodiment described above for convenience of explanation, it is clear from the above description that the same operation can be performed for arbitrary r and m. In particular, the difference between r=2 and more is the first input and output clock frequency divider circuits 510 and 610, and the second input and output clock frequency divider circuits 520 and 620.
The frequency division ratio of the output data multiplexing circuit 6 changes and the output data multiplexing circuit 6
30 switches and outputs each memory unit output signal in response to the read unit switching signal. Furthermore, the timing circuit of the memory control circuit 400 can be shared by each memory unit.

本発明によれば、制御回路も記憶回路の動作さ
せるために必要な書込/読出し信号、アドレス信
号等の他に非同期データを同期化させるための若
干のタイミング回路のみが必要であり、極めて簡
略な構成であり、しかも並列nビツト入力に対し
て記憶モジユールをn個並列動作させればよいか
ら、前述したような待ち合せ回路も不要となり、
バツフアメモリの構成を簡略化できる。さらに書
込/読出し動作サイクルが全く周期的であるた
め、検査・保持等が容易になる他、空いている読
出し動作サイクルを記憶素子のリフレツシユ動作
に使うことが可能で、入出力データ速度は0〜
cの間で任意に選ぶことができるという多くの利
点をもたらす。
According to the present invention, the control circuit is extremely simple, requiring only a few timing circuits for synchronizing asynchronous data in addition to write/read signals, address signals, etc. necessary for operating the memory circuit. Moreover, since it is sufficient to operate n memory modules in parallel in response to n parallel input bits, the above-mentioned waiting circuit is not required.
The buffer memory configuration can be simplified. Furthermore, since the write/read operation cycles are completely periodic, inspection and retention are easier, and vacant read operation cycles can be used to refresh the memory element, and the input/output data rate is 0. ~
This provides many advantages in that it can be arbitrarily selected between c.

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

第1図はフレーム間符号化方式について説明す
るための図である。1はA/D変換器、2,8は
フレームメモリ、3は符号器、4は復号器、5,
6はバツフアメモリ、7は復号器、9はD/A変
換器。 第2図aは本発明に係るバツフアメモリの基本
的構成を示す図である。100,100,…
…100oは記憶モジユール、200は入力制御
回路、300は出力制御回路、400はメモリ制
御回路。 同図bは記憶モジユール100の詳細構成図で
ある。110は直−並列変換回路、120は入力
レジスタ、130は記憶回路、140は出力レジ
スタ、150は並−直列変換回路。 同図cは記憶回路130の構成を説明するため
の図である。 同図dはメモリ制御回路400の詳細な構成
図、同図eはその動作タイムチヤートである。4
10はタイミング回路、421は書込指令レジス
タ、422は書込列計数器、423は書込アドレ
ス計数器、424は書込列信号タイミングゲート
回路、425は書込信号ゲート回路、431は読
出し指令レジスタ、432は読出し列計数器、4
33は読出しアドレス計数器、434は読出し列
信号タイミングデータ回路、435は読出し列信
号ゲート回路、440はアドレス切替回路、44
1は列選択信号論理回路、442は書込制御ゲー
ト回路、443は読出し制御ゲート回路。 第3図aは本発明に係るバツフアメモリの第一
の実施例を示し、同図bはその動作タイムチヤー
トを示す。200は入力制御回路、210は入力
クロツク分周回路、220は書込要求レジスタ、
230は書込要求リセツト回路、300は出力制
御回路、310は出力クロツク分周回路、320
は読出し要求レジスタ、330は読出し要求リセ
ツト回路、400はメモリ制御回路。 第4図aは本発明に係るバツフアメモリの第二
の実施例を示し、同図bはその動作タイムチヤー
トを示す。200′は入力制御回路、240は第
2書込要求レジスタ、250は第2入力レジスタ
クロツク生成回路、300′は出力制御回路、3
40は第2読出し要求レジスタ、350は第2ロ
ード信号生成回路。 第5図aは本発明に係るバツフアメモリの第三
の実施例を示し、同図bは動作タイムチヤートを
示す。500,500はメモリユニツト、2
00″は入力制御回路、240は第2書込要求レ
ジスタ、250は入力レジスタクロツク生回路、
260は入力クロツクゲート回路、300′は出
力制御回路、340は第2読出し要求レジスタ、
350は並列ロード信号生成回路、360は出力
クロツクゲート回路、510は第1入力クロツク
分周回路、520は第2入力クロツク分周回路、
610は第1出力クロツク分周回路、620は第
2出力クロツク分周回路、630は出力データ多
重回路。
FIG. 1 is a diagram for explaining the interframe encoding method. 1 is an A/D converter, 2 and 8 are frame memories, 3 is an encoder, 4 is a decoder, 5,
6 is a buffer memory, 7 is a decoder, and 9 is a D/A converter. FIG. 2a is a diagram showing the basic configuration of a buffer memory according to the present invention. 100 1 , 100 2 ,...
...100 o is a storage module, 200 is an input control circuit, 300 is an output control circuit, and 400 is a memory control circuit. FIG. 1B is a detailed configuration diagram of the storage module 100. 110 is a serial-to-parallel conversion circuit, 120 is an input register, 130 is a storage circuit, 140 is an output register, and 150 is a parallel-to-serial conversion circuit. FIG. 1c is a diagram for explaining the configuration of the memory circuit 130. Figure d is a detailed configuration diagram of the memory control circuit 400, and Figure e is an operation time chart thereof. 4
10 is a timing circuit, 421 is a write command register, 422 is a write column counter, 423 is a write address counter, 424 is a write column signal timing gate circuit, 425 is a write signal gate circuit, 431 is a read command register, 432 read column counter, 4
33 is a read address counter, 434 is a read column signal timing data circuit, 435 is a read column signal gate circuit, 440 is an address switching circuit, 44
1 is a column selection signal logic circuit, 442 is a write control gate circuit, and 443 is a read control gate circuit. FIG. 3a shows a first embodiment of the buffer memory according to the present invention, and FIG. 3b shows its operation time chart. 200 is an input control circuit, 210 is an input clock frequency divider circuit, 220 is a write request register,
230 is a write request reset circuit, 300 is an output control circuit, 310 is an output clock frequency dividing circuit, 320
Reference numeral 330 indicates a read request register, 330 a read request reset circuit, and 400 a memory control circuit. FIG. 4a shows a second embodiment of the buffer memory according to the present invention, and FIG. 4b shows its operation time chart. 200' is an input control circuit; 240 is a second write request register; 250 is a second input register clock generation circuit; 300' is an output control circuit;
40 is a second read request register, and 350 is a second load signal generation circuit. FIG. 5a shows a third embodiment of the buffer memory according to the present invention, and FIG. 5b shows an operation time chart. 500 1 , 500 2 are memory units, 2
00'' is an input control circuit, 240 is a second write request register, 250 is an input register clock generation circuit,
260 is an input clock gate circuit, 300' is an output control circuit, 340 is a second read request register,
350 is a parallel load signal generation circuit, 360 is an output clock gate circuit, 510 is a first input clock frequency divider circuit, 520 is a second input clock frequency divider circuit,
610 is a first output clock frequency dividing circuit, 620 is a second output clock frequency dividing circuit, and 630 is an output data multiplexing circuit.

Claims (1)

【特許請求の範囲】 1 主クロツク周波数をcとし、書込み/読出
し動作サイクルを共に含む周期的なメモリ動作サ
イクルの動作周波数mがc/m(mは正の整
数)である記憶素子P×Q個(P,Qは正の整
数)をもつ記憶回路と、該主クロツク周波数c
より低いデータ速度の直列の入力データをPビツ
トごとに並列データに変換する直−並列変換回路
と、該直−並列変換回路の出力を一時記憶して該
記憶回路へPビツトごとにデータを受渡す入力レ
ジスタと、該記憶回路の出力を一時記憶する出力
レジスタと、該出力レジスタの出力を受けてPビ
ツトごとに直列の出力データに変換する並−直列
変換回路とを備えた記憶モジユールをnビツト
(nは正の整数)の入出力データに対応してn個
設け、該入力データに同期して入力される入力ク
ロツクをP分周する入力分周回路を含み該直−並
列変換回路と該入力レジスタを制御する入力制御
回路と、出力データに同期して入力される出力ク
ロツクをP分周する出力分周回路を含み該並−直
列変換回路と該出力レジスタを制御する出力制御
回路とを設け、さらに該入力レジスタにデータが
入力されたとき、および該出力レジスタのデータ
が空になつたとき所定のメモリ動作サイクルにお
いて該記憶回路の書込/読出しを行なう制御回路
を設けた画像符号化用バツフアメモリ。 2 特許請求の範囲1のバツフアメモリにおい
て、各該記憶モジユールの並列展開数PをD≧
1.5×mとし、該入力分周回路の出力で該直−並
列変換回路のデータを該入力レジスタに移し、該
出力分周回路の出力で該出力レジスタのデータを
該並−直列変換回路に移すようにしたことを特徴
とする画像符号化用バツフアメモリ。 3 特許請求の範囲1のバツフアメモリにおい
て、該各記憶モジユールの並列展開数PをP=m
とし、さらに該入力レジスタおよび該出力レジス
タを夫々2段として、初段の入力レジスタは該入
力分周回路の出力で該直−並列変換回路のデータ
を記憶し、次段の入力レジスタは該初段の入力レ
ジスタにデータがあるとき、メモリ動作サイクル
に同期した信号によつて該データを記憶し、初段
の出力レジスタは該記憶回路から読出されたデー
タを記憶し、次段の出力レジスタは記憶している
データを該並−直列変換回路に移した後、該初段
の出力のレジスタに次のデータが記憶されている
とき、該データを記憶し、該出力分周回路の出力
で該次段出力レジスタのデータを該並−直列変換
回路に移すようにしたことを特徴とする画像符号
化用バツフアメモリ。
[Scope of Claims] 1. A memory element P×Q in which the main clock frequency is c and the operation frequency m of periodic memory operation cycles including both write/read operation cycles is c/m (m is a positive integer). (P, Q are positive integers) and the main clock frequency c
A serial-parallel conversion circuit converts serial input data at a lower data rate into parallel data every P bits, and the output of the serial-parallel conversion circuit is temporarily stored and data is received every P bits into the storage circuit. A memory module is provided with an input register for passing, an output register for temporarily storing the output of the memory circuit, and a parallel-to-serial conversion circuit for receiving the output of the output register and converting it into serial output data every P bits. The serial-to-parallel conversion circuit includes n input frequency divider circuits that are provided corresponding to input/output data of bits (n is a positive integer) and divides the input clock input in synchronization with the input data by P. an input control circuit that controls the input register; and an output control circuit that controls the parallel-to-serial conversion circuit and the output register, including an output frequency divider circuit that divides an output clock input in synchronization with output data by P; and a control circuit for writing/reading the memory circuit in a predetermined memory operation cycle when data is input to the input register and when data in the output register becomes empty. Buffer memory for conversion. 2. In the buffer memory of claim 1, the number P of parallel expansion of each storage module is D≧
1.5×m, the output of the input frequency divider circuit transfers the data of the serial-to-parallel conversion circuit to the input register, and the output of the output frequency divider circuit transfers the data of the output register to the parallel-to-serial conversion circuit. A buffer memory for image encoding, characterized in that: 3 In the buffer memory of claim 1, the number of parallel expansions P of each storage module is P=m
Furthermore, the input register and the output register are each set to two stages, the input register of the first stage stores the data of the serial-to-parallel converter circuit by the output of the input frequency divider circuit, and the input register of the next stage stores the data of the serial-to-parallel converter circuit using the output of the input frequency divider circuit. When there is data in the input register, the data is stored by a signal synchronized with the memory operation cycle, the first stage output register stores the data read from the storage circuit, and the next stage output register stores the data. After transferring the data to the parallel-to-serial conversion circuit, when the next data is stored in the output register of the first stage, the data is stored and the output of the output frequency dividing circuit is transferred to the next stage output register. 1. A buffer memory for image encoding, characterized in that the data is transferred to the parallel-to-serial conversion circuit.
JP4618177A 1977-04-20 1977-04-20 Buffer memory for bideo coding Granted JPS53130915A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4618177A JPS53130915A (en) 1977-04-20 1977-04-20 Buffer memory for bideo coding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4618177A JPS53130915A (en) 1977-04-20 1977-04-20 Buffer memory for bideo coding

Publications (2)

Publication Number Publication Date
JPS53130915A JPS53130915A (en) 1978-11-15
JPS6122512B2 true JPS6122512B2 (en) 1986-05-31

Family

ID=12739852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4618177A Granted JPS53130915A (en) 1977-04-20 1977-04-20 Buffer memory for bideo coding

Country Status (1)

Country Link
JP (1) JPS53130915A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4018990A (en) * 1975-02-13 1977-04-19 Consolidated Video Systems, Inc. Digital video synchronizer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4018990A (en) * 1975-02-13 1977-04-19 Consolidated Video Systems, Inc. Digital video synchronizer

Also Published As

Publication number Publication date
JPS53130915A (en) 1978-11-15

Similar Documents

Publication Publication Date Title
US4056851A (en) Elastic buffer for serial data
JP3992757B2 (en) A system that includes a memory synchronized with a microprocessor, and a data processor, a synchronous memory, a peripheral device and a system clock
JPH03502506A (en) Method and apparatus for processing high speed data
JPH0534746B2 (en)
US4028666A (en) Data transfer system
US5157633A (en) Fifo memory device
US4951143A (en) Memory configuration for unsynchronized input and output data streams
JPS6122512B2 (en)
JPS6386630A (en) Frame synchronization system in parallel transmission line
JPS6373323A (en) Buffer device
JPS6123707B2 (en)
JPH01266593A (en) Memory circuit and memorization of data stream
US5982359A (en) Memory device for storing 9-bit video data formed of 8-bit video and 1-bit color frame information, the latter being converted to 8-bit data
US3520000A (en) Two-dimensional delay line memory
JP2961733B2 (en) Image memory device
JP2509176B2 (en) Data speed conversion processing circuit
JPS62217287A (en) Image signal format conversion
JP3104001B2 (en) Line buffer and image processing apparatus using the same
JPH04360425A (en) Semiconductor storage device
JPS63300289A (en) Image memory
JPH04145747A (en) Parallel signal processing circuit
JP2604784B2 (en) Meeting line communication method
JPS6160625B2 (en)
JPS6143792B2 (en)
JPS58184188A (en) Reading and writting system of display data