JPH02173856A - Buffer control system - Google Patents

Buffer control system

Info

Publication number
JPH02173856A
JPH02173856A JP32772988A JP32772988A JPH02173856A JP H02173856 A JPH02173856 A JP H02173856A JP 32772988 A JP32772988 A JP 32772988A JP 32772988 A JP32772988 A JP 32772988A JP H02173856 A JPH02173856 A JP H02173856A
Authority
JP
Japan
Prior art keywords
output
input
counter
buffer
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP32772988A
Other languages
Japanese (ja)
Other versions
JPH0814814B2 (en
Inventor
Kota Kawasaki
川崎 弘太
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.)
National Institute of Advanced Industrial Science and Technology AIST
Original Assignee
Agency of Industrial Science and Technology
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 Agency of Industrial Science and Technology filed Critical Agency of Industrial Science and Technology
Priority to JP63327729A priority Critical patent/JPH0814814B2/en
Publication of JPH02173856A publication Critical patent/JPH02173856A/en
Publication of JPH0814814B2 publication Critical patent/JPH0814814B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To convert the transfer data width by comparing the value of an output counter with a high-order bit train of an input counter corresponding to the output counter and outputting the input data from a buffer while no coincidence of comparison is detected. CONSTITUTION:An input counter 10 of a control part 20 points successively the memory positions of a buffer 5, and an input control circuit 11 updates the input count value based on the counter value and the input data width. An output counter 21 points a high-order bit train decided by excluding the low-order bit train having the bit number decided in response to the output data width from the bit train showing the memory positions of the buffer 5 for the data to be outputted next. A comparator 22 compares the value of the counter 21 with the high-order bit train of the counter 10 corresponding to the counter 21 and outputs a discordance signal 24. An output control circuit 23 controls an output selector 6 so that the input data is outputted from a memory position decided by the counter 21 of the buffer 5 by a prescribed amount of output data width while the discordance signal is kept turned on. As a result, the transfer data width can be converted in an economical constitution.

Description

【発明の詳細な説明】 〔概 要〕 電子回路における転送データ幅の変換のために設けるバ
ッファに関し、 経済的な構成で転送データ幅の変換を可能にするバッフ
ァ制御方式を目的とし、 基本データ幅の整数倍を有し出力データ幅と異なること
がある入力データ幅でバッファに入力される入力データ
を、該基本データ幅の2の冪乗倍を有する一定の該出力
データ幅で出力する装置において、該出力データ幅の整
数倍のデータ記憶位置を有する該バッファと、該入力デ
ータの該バッファ上の記憶位置を該基本データ幅を単位
として順次指示する入力カウンタと、次に出力するデー
タの該バッファ上の記憶位置を表すビット列から該出力
データ幅に対応して定まるビット数の下位ビット列を除
いた上位ビット列を指示する出力カウンタと、該出力カ
ウンタの値と、該入力カウンタの該出力カウンタに対応
する上位ビット列とを比較する比較手段とを設け、該比
較手段によって不一致が検出される間、該バッファから
該入力データを出力し、又バッファを出力データ幅の2
の冪乗倍にした場合には、該入力カウンタの所定ビット
位置からの桁上がり信号を検出するごとに、該バッファ
から該出力データ幅だけの該入力データを出力するよう
に構成する。
[Detailed Description of the Invention] [Summary] Regarding a buffer provided for converting the transfer data width in an electronic circuit, the basic data width is In a device that outputs input data input to a buffer with an input data width that is an integral multiple of , and may be different from an output data width, into a constant output data width that is a power of 2 times the basic data width. , the buffer having a data storage location that is an integral multiple of the output data width; an input counter that sequentially indicates the storage location of the input data on the buffer using the basic data width as a unit; an output counter that indicates a high-order bit string obtained by removing a low-order bit string of a number of bits determined according to the output data width from a bit string representing a storage position on the buffer, the value of the output counter, and the output counter of the input counter; and a comparison means for comparing the corresponding upper bit strings, and while a mismatch is detected by the comparison means, the input data is output from the buffer, and the buffer is
In the case where the input data is multiplied by a power of , the buffer is configured to output the input data of the output data width from the buffer every time a carry signal from a predetermined bit position of the input counter is detected.

〔産業上の利用分野〕[Industrial application field]

本発明は、電子回路における転送データ幅の変換のため
に設けるバッファの制御方式に関する。
The present invention relates to a control method for a buffer provided for converting transfer data width in an electronic circuit.

半導体電子回路の高集積化は急速に進み、それに従って
、その回路を搭載するいわゆるチップの入出力端子とな
るピンの所要数も増加する傾向になるが、ピンを搭載回
路数に追随して増加することは構造的に比較的困難なの
で、チ・ンプ間で転送するデータ幅をチップ内のデータ
幅と変えることによって所要ピン数を減少する必要がし
ばしば生じる。そのような場合の一方式としてバッファ
を介するデータ幅変換が用いられる。
The integration of semiconductor electronic circuits is rapidly progressing, and the number of pins required to serve as input/output terminals for the chips on which the circuits are mounted also tends to increase. Because it is relatively difficult structurally to do so, it is often necessary to reduce the number of pins required by changing the data width transferred between chips to the data width within the chip. As one method in such a case, data width conversion via a buffer is used.

〔従来の技術〕[Conventional technology]

第4図はデータ幅変換のためのバッファ回路の構成例を
示すブロック図である。
FIG. 4 is a block diagram showing an example of the configuration of a buffer circuit for data width conversion.

データはデータ線1から入力セレクタ3に入力され、同
時に制御線2によってデータ幅が指示される。制御部4
は入カフニーズで入力セレクタ3及びバッファ5を制御
して、指示された入力データ幅のデータをバッファ5の
、前に入力したデータに続く連続位置に格納する。
Data is input from data line 1 to input selector 3, and at the same time, data width is specified via control line 2. Control unit 4
controls the input selector 3 and buffer 5 at the input cuff needs, and stores data of the specified input data width in the continuous position of the buffer 5 following the previously input data.

バッファ5は通常入力又は出力データにおける最大デー
タ幅の2倍以上の記憶容量を有し、基本データ幅とする
例えば8ビツトのバイトを最小単位としてデータを入出
力できる記憶回路を構成するレジスタ等からなる。
The buffer 5 normally has a storage capacity that is more than twice the maximum data width of input or output data, and is made up of registers, etc. that constitute a storage circuit that can input and output data in the minimum unit of the basic data width, for example, an 8-bit byte. Become.

制御部4は、以上のようにしてバッファ5に格納したデ
ータの量を監視していて、出力データに定められる一定
の出力データ幅以上のデータが格納されている状態にな
ると、次の出力フェーズで出力セレクタ6及びバッファ
5を制御し、バッファ5への入力順にデータを一定の出
力データ幅づつ読み出してデータ線7に出力する。
The control unit 4 monitors the amount of data stored in the buffer 5 as described above, and when data exceeding a certain output data width determined by the output data is stored, the control unit 4 starts the next output phase. controls the output selector 6 and the buffer 5, reads out data in a constant output data width in the order of input to the buffer 5, and outputs it to the data line 7.

前記の制御を行うために、制御部4には例えば入力カウ
ンタ10と入力制御回路11を設け、入力カウンタ10
は入力データの先頭バイトを格納するバッファ5上のバ
イト位置を指示するものとして、初めは第Oバイトを指
示するように0に初期設定する。
In order to perform the above control, the control unit 4 is provided with, for example, an input counter 10 and an input control circuit 11.
indicates the byte position on the buffer 5 that stores the first byte of input data, and is initially set to 0 to indicate the Oth byte.

この状態で大力フェーズにおいて、制御線2から入力デ
ータ幅がバイト数で指示されると、入力カウンタ10の
値と制御線2のバイト数を入力制御回路11に入力する
ことにより、入力カウンタ10で指示されるバイト位置
からバイト数で指示されるバイト数のバイト位置までに
、入力データを通過させるように入力セレクタ3を制御
する信号を入力制御回路11から発生させる。この制御
で入力セレクタ3は、前記の各バイト位置に対応するバ
ッファ5の各バイトに入力データを設定する。
In this state, in the power phase, when the input data width is specified by the number of bytes from the control line 2, the value of the input counter 10 and the number of bytes of the control line 2 are input to the input control circuit 11. The input control circuit 11 generates a signal that controls the input selector 3 to pass the input data from the designated byte position to the byte position of the number of bytes designated by the number of bytes. Under this control, the input selector 3 sets input data to each byte of the buffer 5 corresponding to each byte position.

次に制御部4では、制御線2のバイト数だけ入力カウン
タ10の値を進めて、入力カウンタ10が次の入力デー
タ格納位置の先頭を指すようにする。
Next, the control unit 4 advances the value of the input counter 10 by the number of bytes of the control line 2 so that the input counter 10 points to the beginning of the next input data storage position.

なお入力カウンタ10はバッファ5の右端のバイト位置
を指す最大値の次には0に戻って第Oバイト位置を指す
ように構成する。
The input counter 10 is configured so that after the maximum value indicating the rightmost byte position of the buffer 5, it returns to 0 and points to the Oth byte position.

出力制御のためには出力カウンタ12が設けられ、入力
カウンタ10の前記構成と同様の構成とし、同様にOに
初期設定されるものとする。
An output counter 12 is provided for output control, and has the same configuration as the input counter 10, and is initialized to O in the same way.

比較制御回路14は入力カウンタ10と出力カウンタ1
2の値を比較して、出力カウンタ12の指示するバイト
位置から入力カウンタ10の指示するハイド位置までの
バイト数を決定し、この差バイト数が所定の出力データ
幅の値以上になっているとき出力信号16をオンにする
The comparison control circuit 14 has an input counter 10 and an output counter 1.
2 is compared to determine the number of bytes from the byte position indicated by the output counter 12 to the hide position indicated by the input counter 10, and this difference in number of bytes is greater than or equal to the predetermined output data width value. When the output signal 16 is turned on.

出力制御皿回路15は出力フェーズにおいて出力信号1
6がオンであると、出力カウンタ12で指示されるバイ
ト位置から設定されている所定の出力データ幅のバイト
数のバッファ5上のデータを通過させるように出力セレ
クタ6を制御する信号を発生し、出力データ幅のデータ
をバッファ5からデータ線7に出力し、次に出力データ
幅のバイト数だけ出力カウンタ12の値を進めて、次の
出力データ格納位置の先頭を指すようにする。
The output control plate circuit 15 outputs the output signal 1 in the output phase.
6 is on, it generates a signal that controls the output selector 6 to pass the data on the buffer 5 of the number of bytes of the predetermined output data width set from the byte position indicated by the output counter 12. , the data of the output data width is output from the buffer 5 to the data line 7, and then the value of the output counter 12 is advanced by the number of bytes of the output data width to point to the beginning of the next output data storage position.

出力制御回路15は出力信号16がオンの間、出力フェ
ーズごとに以上の出力制御を続けて、バッファ5上のデ
ータを入力順に、一定の出力データ幅で順次出力する。
While the output signal 16 is on, the output control circuit 15 continues to perform the above output control for each output phase, and sequentially outputs the data on the buffer 5 in the input order with a constant output data width.

比較制御回路14において出力カウンタ12と入力カウ
ンタ10の値から求める差ハイド数が出力データ幅の値
より小さくなることによって出力信号16がオフになる
と、出力制御回路15は以上の出力制御を中止する。
When the comparison control circuit 14 turns off the output signal 16 because the difference Hyde number calculated from the values of the output counter 12 and the input counter 10 becomes smaller than the value of the output data width, the output control circuit 15 stops the above output control. .

(発明が解決しようとする課題〕 以上によりデータ幅変換が可能であるが、より経済的な
データ幅変換制御が望まれており、本発明は経済的な構
成で転送データ幅の変換を可能にするバッファ制御方式
を目的とする。
(Problems to be Solved by the Invention) Data width conversion is possible as described above, but more economical data width conversion control is desired, and the present invention enables transfer data width conversion with an economical configuration. The objective is to provide a buffer control method for

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

第1図は、本発明の構成を示すブロック図である。 FIG. 1 is a block diagram showing the configuration of the present invention.

第1図(a)はデータ幅変換のためのバッファ装置の第
1の構成を示し、入力セレクタ3を経てバッファ5に人
力データを格納し、出力セレクタ6を経て所定の出力デ
ータ幅で順次出力するために、制御部20にはデータの
入力を制御する入力カウンタ10、入力制御回路11と
、出力データ位置の上位ビット列を示す出力カウンタ2
1、出力カウンタ21と入力カウンタ10を比較する比
較回路22、及び出力制御回路23を設ける。■はデー
タを入力するデータ線、2は入力データのデータ幅を指
示する制御線、7はデータを出力するデータ線である。
FIG. 1(a) shows a first configuration of a buffer device for data width conversion, in which human data is stored in a buffer 5 via an input selector 3, and sequentially outputted with a predetermined output data width via an output selector 6. In order to do this, the control unit 20 includes an input counter 10 that controls data input, an input control circuit 11, and an output counter 2 that indicates the upper bit string of the output data position.
1. A comparison circuit 22 for comparing the output counter 21 and the input counter 10 and an output control circuit 23 are provided. 2 is a data line for inputting data, 2 is a control line for indicating the data width of input data, and 7 is a data line for outputting data.

又、第1図(b)はバッファ装置の第2の構成を示し、
同様にして入力データをバッファ5を経て順次出力する
ために、制御部30には入力カウンタ31の所定ビット
の桁上がり信号を検出して制御する出力制御回路33を
設ける。
Further, FIG. 1(b) shows a second configuration of the buffer device,
Similarly, in order to sequentially output input data via the buffer 5, the control section 30 is provided with an output control circuit 33 that detects and controls a carry signal of a predetermined bit of the input counter 31.

〔作 用〕[For production]

バッファ装置は入力セレクタ3、バッファ5、出力セレ
クタ6、それらを制御する入力制御回路11、及び出力
制御回路23によって、基本データ幅の整数倍を有し出
力データ幅と異なることがある入力データ幅でバッファ
5に入力される入力データを、基本データ幅の2の冪乗
倍を有する一定の出力データ幅で出力するものとする。
The buffer device uses an input selector 3, a buffer 5, an output selector 6, an input control circuit 11 that controls them, and an output control circuit 23 to control the input data width, which is an integral multiple of the basic data width and may be different from the output data width. Assume that the input data input to the buffer 5 is outputted with a constant output data width having a power of 2 times the basic data width.

そのために第1の構成において、制御部20の入力カウ
ンタ10はバッファ5上の記憶位置を基本データ幅を単
位として順次指示し、入カフニーズにおいて入力制御回
路11はそのカウント値と入力データ幅によって入力セ
レクタ3を制御■シ、入力カウント値を更新する。
For this purpose, in the first configuration, the input counter 10 of the control unit 20 sequentially instructs the storage location on the buffer 5 in units of basic data width, and at the input cuff needs, the input control circuit 11 inputs data according to the count value and the input data width. Control the selector 3 and update the input count value.

出力カウンタ21は、次に出力するデータのバッファ5
上の記憶位置を表すビット列から出力データ幅に対応し
て定まるピント数の下位ビット列を除いた上位ビット列
を指示するように構成し、比較回路22は出力カウンタ
21の値と、入力カウンタ10の出力カウンタ21に対
応する上位ビット列とを比較して不一致信号24を出力
する。
The output counter 21 is a buffer 5 for data to be output next.
The comparator circuit 22 is configured to indicate the upper bit string by removing the lower bit string of the number of focuses determined according to the output data width from the bit string representing the upper storage position, and the comparison circuit 22 compares the value of the output counter 21 and the output of the input counter 10. It compares the upper bit string corresponding to the counter 21 and outputs a mismatch signal 24.

出力制御回路23は、比較回路22で不一致が検出され
不一致信号がオンの間、バッファ5の出力カウンタ21
で定まる記憶位置から入力データを、所定の出力データ
幅づつ出力するように出力セレクタ6を制御する。
The output control circuit 23 controls the output counter 21 of the buffer 5 while the comparison circuit 22 detects a mismatch and the mismatch signal is on.
The output selector 6 is controlled to output the input data from the storage location determined by the predetermined output data width.

又、第2の構成においては、バッファ5を出力データ幅
の2の冪乗倍のデータ記憶位置とし、出力制御部33は
前記と同様の入力カウンタ31の所定ビット位置からの
桁上がり信号を検出するごとに、バッファ5から出力デ
ータ幅だけの入力データを出力する。
In the second configuration, the buffer 5 has a data storage position that is a power of 2 times the output data width, and the output control unit 33 detects a carry signal from a predetermined bit position of the input counter 31 as described above. Each time, input data corresponding to the output data width is output from the buffer 5.

以上の制御方式により、出力カウンタ及び比較回路の構
成が簡単になり、バッファ装置を経済的に構成すること
ができる。
The above control method simplifies the configuration of the output counter and comparison circuit, and allows the buffer device to be configured economically.

〔実施例〕〔Example〕

第2図は第1の本発明の実施例を示すブロック図であり
、例えば1.2又は4バイトの入力データ幅で入力され
るデータを2バイトの出力データ幅で出力するために、
8バイトのバッファ5aを設け、従って制御部20aの
入力カウンタ10aは3ビツトのカウンタで構成する。
FIG. 2 is a block diagram showing an embodiment of the first invention. For example, in order to output data input with an input data width of 1.2 or 4 bytes with an output data width of 2 bytes,
An 8-byte buffer 5a is provided, and therefore the input counter 10a of the control section 20a is constituted by a 3-bit counter.

又、出力カウンタ21aは2バイトの出力データ幅に対
応する1ビツトを除いた2ビツトで構成する。
Further, the output counter 21a is composed of 2 bits excluding 1 bit corresponding to the 2-byte output data width.

従来と同様に入力カウンタ10aはOに初期設定して動
作を開始し、入力フェーズにおいて入力カウンタ10a
、入力制御回路11aは前記従来の場合と同様の制御に
よって、制御線2で指示される入力データ幅のデータを
、データ線1から人力セレクタ3を経てバッファ5aに
設定し、入力カウンタ10aを入力バイト数だけ進める
As in the conventional case, the input counter 10a starts operation by initializing it to O, and in the input phase, the input counter 10a
, the input control circuit 11a sets the data of the input data width indicated by the control line 2 from the data line 1 to the buffer 5a via the manual selector 3, and inputs the input counter 10a by the same control as in the conventional case. Advance by the number of bytes.

出力カウンタ21aも0に初期設定され、比較回路22
aは、出力カウンタ21aと入力カウンタ10aの上位
2ビツトを比較していて、両者の不一致を検出すると不
一致信号24をオンにする。
The output counter 21a is also initialized to 0, and the comparison circuit 22
A compares the upper two bits of the output counter 21a and the input counter 10a, and turns on the mismatch signal 24 when a mismatch between the two is detected.

出力制御回路23aは出力フェーズにおいて不一致信号
24がオンであると、出力カウンタ21aで指示される
バイト位置から出力データ幅として定まる2バイトのバ
ッファ5上のデータを通過させるように出力セレクタ6
を制御する信号を前記従来のように発生し、2バイトの
データをバッファ5aからデータ線7に出力する。なお
、出力カウンタ21aは出力データのバイト位置の上位
2ビツトのみを示すので、出力制御回路23aは常に0
の下位1ビツトを補って、これを先頭バイトの位置とし
て処理する。
When the mismatch signal 24 is on in the output phase, the output control circuit 23a controls the output selector 6 to pass the data on the buffer 5 of 2 bytes determined as the output data width from the byte position indicated by the output counter 21a.
A control signal is generated as in the conventional method, and 2-byte data is output from the buffer 5a to the data line 7. Note that since the output counter 21a indicates only the upper two bits of the byte position of the output data, the output control circuit 23a is always 0.
The lower 1 bit of is supplemented and this is treated as the position of the first byte.

次に出力カウンタ21aを+1して、次の出力データ格
納位置の上位ビットを示すようにする。
Next, the output counter 21a is incremented by 1 to indicate the upper bit of the next output data storage position.

前記従来の場合と同様に、出力制御回路23aは不一致
信号24がオンの間、出力フェーズごとに以上の出力制
御を続けて、バッファ5a上のデータを入力順に2バイ
トのデータ幅で順次出力し、比較回路22aにおいて一
致を検出して不一致信号24がオフになると、出力制御
を中止する。
As in the conventional case, the output control circuit 23a continues the above output control for each output phase while the mismatch signal 24 is on, and sequentially outputs the data on the buffer 5a in the input order with a data width of 2 bytes. , when a match is detected in the comparison circuit 22a and the mismatch signal 24 is turned off, output control is stopped.

第3図は第2の本発明の実施例を示すブロック図であり
、例えば1.2又は4バイトの入力データ幅でで入力さ
れるデータを4バイトの出力データ幅で出力するために
、出力データ幅の2倍に当たる8バイトのバッファ5b
を設け、制御部30bの入力カウンタ31bは従って3
ビツトのカウンタとする。
FIG. 3 is a block diagram showing an embodiment of the second invention. For example, in order to output data input with an input data width of 1.2 or 4 bytes with an output data width of 4 bytes, 8-byte buffer 5b, which is twice the data width
Therefore, the input counter 31b of the control section 30b is 3.
Let it be a bit counter.

このようにして従来と同様に入力カウンタ31bをOに
初期設定して動作を開始し、入力制御回路11bと共に
前記入力カウンタ10a、入力制御回路11aと同様に
データの入力制御動作を行う。
In this way, the input counter 31b is initialized to O and starts operating as in the conventional case, and performs data input control operation together with the input control circuit 11b in the same manner as the input counter 10a and the input control circuit 11a.

出力制御回路33bは入力カウンタ31bから、その第
2ビツトの桁上げ信号34を取り出して監視し、カウン
ト値が「3」から「4」へ進むとき、及び「7」から1
カウント進んで「0」にリセットされるときに発生する
桁上げを検出すると、出力セレクタ6を制御することに
よって、バッファ5bの第Oバイトから4バイト、次は
第4バイトから4バイトというように、桁上げ検出ごと
に順次出力データ幅に等しい4バイトだけを出力する。
The output control circuit 33b extracts and monitors the carry signal 34 of the second bit from the input counter 31b, and when the count value advances from "3" to "4" and from "7" to 1.
When a carry that occurs when the count advances and is reset to "0" is detected, by controlling the output selector 6, the output is 4 bytes from the Oth byte of the buffer 5b, then 4 bytes from the 4th byte, and so on. , only 4 bytes equal to the output data width are sequentially output every time a carry is detected.

以上の例では入力データ幅が出力データ幅以下であるが
、入力データ幅の方が大きくても同様に制御でき、その
場合等に必要であればバッファを出力データ幅の4倍、
8倍等にして同様に制御することができることは明らか
である。
In the above example, the input data width is less than or equal to the output data width, but even if the input data width is larger, it can be controlled in the same way.If necessary, the buffer should be set to four times the output data width.
It is clear that similar control can be achieved by increasing the number of times, for example, by eight times.

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

以上の説明から明らかなように本発明によれば、電子回
路における転送データ幅の変換のために設けるバッファ
装置において、経済的な構成で転送データ幅の変換が可
能になるという著しい工業的効果がある。
As is clear from the above description, according to the present invention, in a buffer device provided for converting the transfer data width in an electronic circuit, a remarkable industrial effect is achieved in that the transfer data width can be converted with an economical configuration. be.

【図面の簡単な説明】 第1図は本発明の構成を示すブロンク図、第2図は本発
明の実施例を示すブロンク図、第3図は本発明の他の実
施例を示すブロンク図、第4図は従来の構成例を示すブ
ロック図である。 図において、 1.7はデータ線、   2は制御線、3は入力セレク
タ、 4.20.20a、30.30bは制御部、5.5a、
5bはバッファ、6は出力セレクタ、10.1.0a、
31.31bは入力カウンタ、11、lla、llbは
入力制御回路、12.21.21aは出力カウンタ、 14は比較制御回路、 15.23.23a、33.33bは出力制御回路、2
2.22aは比較回路、 24は不一致信号、34は桁
上げ信号 を示す。 特許出願人 工業技術院長 飯 塚 幸 三、2ト、A
覧日′A/′1定すヒフ′」表示す ツーロー、り口笛
Z図 本、在1日月n楕り及忘云ずアロツク図第1図 水臭B月の他の尺先我・1粘子7フ゛口7り回第3図
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a bronc diagram showing the configuration of the present invention, FIG. 2 is a bronc diagram showing an embodiment of the invention, and FIG. 3 is a bronc diagram showing another embodiment of the invention. FIG. 4 is a block diagram showing an example of a conventional configuration. In the figure, 1.7 is a data line, 2 is a control line, 3 is an input selector, 4.20.20a, 30.30b are control parts, 5.5a,
5b is a buffer, 6 is an output selector, 10.1.0a,
31.31b is an input counter, 11, lla, llb is an input control circuit, 12.21.21a is an output counter, 14 is a comparison control circuit, 15.23.23a, 33.33b is an output control circuit, 2
2.22a is a comparison circuit, 24 is a mismatch signal, and 34 is a carry signal. Patent applicant: Director of the Agency of Industrial Science and Technology Kozo Iizuka, 2nd, A
Viewing date 'A/'1 set Hif''' Two rows, whistle Z map book, 1 day moon n ellipses and forgetting Arrotsuku map Figure 1 Water smell B Moon's other scale points I/1 Figure 3 of 7 rounds of muko

Claims (1)

【特許請求の範囲】 1、基本データ幅の整数倍を有し出力データ幅と異なる
ことがある入力データ幅でバッファ(5)に入力される
入力データを、該基本データ幅の2の冪乗倍を有する一
定の該出力データ幅で出力するバッファ装置において、 該出力データ幅の整数倍のデータ記憶位置を有する該バ
ッファ(5)と、 該入力データの該バッファ(5)上の記憶位置を該基本
データ幅を単位として順次指示する入力カウンタ(10
)と、 次に出力するデータの該バッファ(5)上の記憶位置を
表すビット列から該出力データ幅に対応して定まるビッ
ト数の下位ビット列を除いた上位ビット列を指示する出
力カウンタ(21)と、該出力カウンタ(21)の値と
、該入力カウンタ(10)の該出力カウンタに対応する
該上位ビット列とを比較する比較手段(22)とを設け
、 該比較手段(22)によって不一致が検出される間、該
バッファ(5)から該入力データを出力する(23)よ
うに構成されていることを特徴とするバッファ制御方式
。 2、基本データ幅の整数倍を有し出力データ幅と異なる
ことがある入力データ幅でバッファ(5)に入力される
入力データを、該基本データ幅の2の冪乗倍を有する一
定の該出力データ幅で出力するバッファ装置において、 該出力データ幅の2の冪乗倍のデータ記憶位置を有する
該バッファ(5)と、 該入力データの該バッファ(5)上の記憶位置を該基本
データ幅を単位として順次指示する入力カウンタ(31
)とを設け、 該入力カウンタ(31)の所定ビット位置からの桁上が
り信号を検出するごとに、該バッファ(5)から該出力
データ幅だけの該入力データを出力する(33)ように
構成されていることを特徴とするバッファ制御方式。
[Claims] 1. Input data input to the buffer (5) with an input data width that is an integral multiple of the basic data width and may be different from the output data width is a power of 2 of the basic data width. In a buffer device that outputs data with a constant output data width, the buffer (5) has a data storage location that is an integral multiple of the output data width, and the storage location of the input data on the buffer (5) is An input counter (10
), and an output counter (21) that indicates the upper bit string obtained by removing the lower bit string of the number of bits determined according to the output data width from the bit string representing the storage position on the buffer (5) of the data to be output next. , a comparison means (22) is provided for comparing the value of the output counter (21) and the upper bit string corresponding to the output counter of the input counter (10), and a mismatch is detected by the comparison means (22). A buffer control system characterized in that the input data is output from the buffer (5) (23) while the input data is being output from the buffer (5). 2. Input data input to the buffer (5) with an input data width that is an integer multiple of the basic data width and may be different from the output data width is converted into a fixed data width that is a power of 2 times the basic data width. In a buffer device that outputs data with an output data width, the buffer (5) has a data storage location that is a power of 2 times the output data width, and the storage location of the input data on the buffer (5) is set to the basic data. An input counter (31
), and each time a carry signal from a predetermined bit position of the input counter (31) is detected, the input data corresponding to the output data width is output from the buffer (5) (33). A buffer control method characterized by:
JP63327729A 1988-12-27 1988-12-27 Buffer control method Expired - Lifetime JPH0814814B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63327729A JPH0814814B2 (en) 1988-12-27 1988-12-27 Buffer control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63327729A JPH0814814B2 (en) 1988-12-27 1988-12-27 Buffer control method

Publications (2)

Publication Number Publication Date
JPH02173856A true JPH02173856A (en) 1990-07-05
JPH0814814B2 JPH0814814B2 (en) 1996-02-14

Family

ID=18202335

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63327729A Expired - Lifetime JPH0814814B2 (en) 1988-12-27 1988-12-27 Buffer control method

Country Status (1)

Country Link
JP (1) JPH0814814B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59226923A (en) * 1983-05-27 1984-12-20 インタ−ナシヨナル ビジネス マシ−ンズ コ−ポレ−シヨン Bus interface apparatus
JPS63124161A (en) * 1986-11-13 1988-05-27 Fujitsu Ltd Data transfer control system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59226923A (en) * 1983-05-27 1984-12-20 インタ−ナシヨナル ビジネス マシ−ンズ コ−ポレ−シヨン Bus interface apparatus
JPS63124161A (en) * 1986-11-13 1988-05-27 Fujitsu Ltd Data transfer control system

Also Published As

Publication number Publication date
JPH0814814B2 (en) 1996-02-14

Similar Documents

Publication Publication Date Title
US6151594A (en) Artificial neuron and method of using same
US4827432A (en) Image data operation processing apparatus
JPH02192337A (en) Phase adjusting circuit
JPH02173856A (en) Buffer control system
JPH07141184A (en) Information loading method, electronic controller, memory part thereof and using method
JP3054787B2 (en) Variable length code decoding device
JPS6261117A (en) Ranking circuit
JPH04207323A (en) Encoder circuit
US5367700A (en) System for multiplying digital input data in a multiplier circuit
JPS60253315A (en) Variable delay circuit
SU1646057A1 (en) Binary-coded decimal-to-binary code translator
JPH0436830A (en) Remainder converter for natural number
JPS61254016A (en) Digital power system controller
JPS59131214A (en) Signal delay circuit
SU1064455A1 (en) Device for monitoring and control of functional adjusting of resistor graticules of digital/analog converters
JPS61134982A (en) Memory access circuit
JPH01119227U (en)
JPS62245823A (en) Linear/nonlinear code converting method
JPS5951620A (en) Code converter
JPH04245730A (en) Frame constitution device
JPH04157926A (en) Circuit for converting fixed length code into variable length code
JPS59167723A (en) Current synchronization control circuit
JPH01166257A (en) Demultiplex circuit for multiplex signal
JPS6086906A (en) Variable delay circuit
JPH02266789A (en) Capacity extension time switch

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term