Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2769418B2 - Buffer and data conversion method thereof - Google Patents
[go: Go Back, main page]

JP2769418B2 - Buffer and data conversion method thereof - Google Patents

Buffer and data conversion method thereof

Info

Publication number
JP2769418B2
JP2769418B2 JP5025929A JP2592993A JP2769418B2 JP 2769418 B2 JP2769418 B2 JP 2769418B2 JP 5025929 A JP5025929 A JP 5025929A JP 2592993 A JP2592993 A JP 2592993A JP 2769418 B2 JP2769418 B2 JP 2769418B2
Authority
JP
Japan
Prior art keywords
data
register
input
bits
frame
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 - Fee Related
Application number
JP5025929A
Other languages
Japanese (ja)
Other versions
JPH06224943A (en
Inventor
雅光 筧
聡司 橋爪
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.)
Kokusai Denki Electric Inc
Original Assignee
Hitachi Kokusai Electric Inc
Kokusai Denki Electric Inc
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 Hitachi Kokusai Electric Inc, Kokusai Denki Electric Inc filed Critical Hitachi Kokusai Electric Inc
Priority to JP5025929A priority Critical patent/JP2769418B2/en
Publication of JPH06224943A publication Critical patent/JPH06224943A/en
Application granted granted Critical
Publication of JP2769418B2 publication Critical patent/JP2769418B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
  • Mobile Radio Communication Systems (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はパーソナルハンディホン
(PHP)の音声データのデータ速度変換の制御を行う
バッファに係り、特に回路コストを低減することのでき
るバッファ及びそのデータ変換方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a buffer for controlling data rate conversion of voice data of a personal handy phone (PHP), and more particularly to a buffer capable of reducing circuit cost and a data conversion method thereof.

【0002】[0002]

【従来の技術】従来のパーソナルハンディホンの音声デ
ータのデータ速度変換の制御のためのバッファとして
は、図4の構成ブロック図に示すようなものがあった。
従来のバッファは、図4に示すように、データ速度38
4kbit/sec (以下、単に384kとする)又は32k
bit/sec (以下、単に32kとする)の160ビットデ
ータを単位として入力データが入力され、入力データの
入力制御を行う入力制御部2と、データ速度を変換する
ために使用されるバッファ部3と、出力データの出力制
御を行う出力制御部5とから構成されている。
2. Description of the Related Art As a conventional buffer for controlling data rate conversion of audio data of a personal handy phone, there is a buffer as shown in the block diagram of FIG.
Conventional buffers have a data rate of 38, as shown in FIG.
4kbit / sec (hereinafter simply referred to as 384k) or 32k
Input data is input in units of 160-bit data of bit / sec (hereinafter simply referred to as 32k), and an input control unit 2 controls input of the input data, and a buffer unit 3 used to convert the data rate. And an output control unit 5 for controlling output of output data.

【0003】そして、バッファ部3は、2つの160ビ
ットシリアルレジスタ(レジスタ)4d及び4eから構
成され、384kの160ビット入力データを32kに
変換し、また、32kの160ビット入力データを38
4kに変換するものである。入力データは入力制御部2
を介してレジスタ4d又はレジスタ4eに送出され、出
力制御部3でレジスタのデータを取り出す際にデータの
速度変換され、出力されるものである。
The buffer unit 3 is composed of two 160-bit serial registers (registers) 4d and 4e, converts 384k 160-bit input data to 32k, and converts 32k 160-bit input data to 38k.
4k. Input data is input control unit 2
Is transmitted to the register 4d or the register 4e through the interface, and the data is speed-converted and output when the output control unit 3 extracts the data of the register.

【0004】次に、従来のパーソナルハンディホンのバ
ッファにおけるデータ速度の変換の方式について図5を
使って説明する。図5は、バッファ部3におけるデータ
速度の変換方式を示すタイミングチャート図である。従
来のパーソナルハンディホンのバッファでは、図5に示
すように、5msecを1フレームとして160ビットの
データの入力又は出力を行うようになっていた。すなわ
ち、1つのレジスタでは1フレーム(5msec )の間に
データ速度が384k又は32kの160ビットデータ
の入力又は出力を行うものである。
Next, a method of converting a data rate in a buffer of a conventional personal handy phone will be described with reference to FIG. FIG. 5 is a timing chart showing a data rate conversion method in the buffer unit 3. In a conventional personal handyphone buffer, input or output of 160-bit data is performed with 5 msec as one frame, as shown in FIG. That is, one register inputs or outputs 160-bit data having a data rate of 384 k or 32 k during one frame (5 msec).

【0005】ここで、データ速度が384kの入力デー
タを32kの出力データに変換する場合の変換動作を図
5を用いて具体的に説明する。レジスタ4dでは、ある
1フレーム(フレーム1)において、384kbit/sec
のデータ160ビットが入力制御部2を介してレジスタ
4dに416μsec の時間で入力される。つまり、38
4k(160ビット/416μsec )の入力データとな
るものである。そして、次の1フレーム(フレーム2)
で、フレーム1で蓄積した160ビットのデータを5m
sec の時間で出力し、32k(160ビット/5msec
)の出力データに変換する。このようにレジスタ4d
に入力されるデータの速度と出力されるデータの速度を
変えることにより、160ビットのデータを384kか
ら32kに変換するようになっていた。
[0005] A conversion operation for converting input data having a data rate of 384 k into output data having a data rate of 32 k will be specifically described with reference to FIG. 5. In the register 4d, 384 kbit / sec in one frame (frame 1)
Is input to the register 4d via the input control unit 2 in a time of 416 μsec. That is, 38
This is input data of 4k (160 bits / 416 μsec). Then, the next one frame (frame 2)
And the 160-bit data accumulated in frame 1 is 5 m
32k (160 bits / 5msec)
) Output data. Thus, register 4d
The data of 160 bits is converted from 384k to 32k by changing the speed of the data input to and the speed of the output data.

【0006】一方、レジスタ4eでは、既に蓄積されて
いる160ビットのデータを、フレーム1において5m
sec の時間で出力し、32k(160ビット/5msec
)の出力データとする。そしてフレーム2では新たな
160ビットデータを416μsec の時間で入力し、3
84k(160ビット/416μsec )の入力データを
蓄積する。フレーム2で蓄積した384kのデータはそ
の次の1フレームで5msec の時間で出力し、32kの
出力データに変換するようになっている。
On the other hand, in the register 4e, 160-bit data already stored is
32k (160 bits / 5msec)
) Output data. Then, in frame 2, new 160-bit data is input in a time of 416 μsec, and
The input data of 84k (160 bits / 416 μsec) is stored. The 384k data accumulated in frame 2 is output in the next one frame at a time of 5 msec, and is converted into 32k output data.

【0007】すなわち、フレーム1では、レジスタ4d
において384kデータを入力し、レジスタ4eにおい
て32kデータを出力する動作(動作X)が行われ、フ
レーム2では、レジスタ4dにおいて32kデータを出
力し、レジスタ4eにおいて384kデータを入力する
動作(動作Y)が行われる。
That is, in the frame 1, the register 4d
Then, the operation of inputting 384k data in the register 4e and outputting 32k data in the register 4e (operation X) is performed. In frame 2, the operation of outputting 32k data in the register 4d and inputting 384k data in the register 4e (operation Y). Is performed.

【0008】そして、動作Xと動作Yを交互に繰り返す
ことにより、バッファ部3全体では1フレーム毎に16
0ビットのデータのデータ速度を384kから32kに
変換して出力するようになっていた。
Then, by repeating the operation X and the operation Y alternately, the entire buffer section 3 has 16 frames per frame.
The data rate of 0-bit data is converted from 384k to 32k and output.

【0009】また、同様に160ビットシリアルレジス
タを2個使って160ビットの32kデータを384k
データに変換することもできる。この場合のタイミング
チャートを図6に示す。図6に示すように、フレーム1
ではレジスタ4dに160ビットのデータを5msec の
時間で入力して32k入力データとし、レジスタ4eか
ら160ビットのデータを416μsec の時間で出力し
て384kデータとする(動作X′)。
Similarly, two 160-bit serial registers are used to convert 160-bit 32k data to 384k data.
It can also be converted to data. FIG. 6 shows a timing chart in this case. As shown in FIG.
In this case, 160-bit data is input to the register 4d at a time of 5 msec to be 32k input data, and 160-bit data is output from the register 4e at a time of 416 μsec to be 384k data (operation X ').

【0010】そして、フレーム2ではレジスタ4dから
416μsec の時間で出力して384kデータとし、レ
ジスタ4eに5msec の時間で入力して32k入力デー
タとする(動作Y′)。そして、動作X′と動作Y′を
交互に繰り返すことにより、バッファ部3全体で1フレ
ーム(5msec )毎に160ビットのデータのデータ速
度を32kから384kに変換して出力するようになっ
ていた。
In the frame 2, the data is output from the register 4d at a time of 416 .mu.sec to be 384k data, and is input to the register 4e at a time of 5 msec to be 32k input data (operation Y '). By repeating the operation X 'and the operation Y' alternately, the data rate of 160-bit data is converted from 32 k to 384 k for each frame (5 msec) in the entire buffer section 3 and output. .

【0011】[0011]

【発明が解決しようとする課題】しかしながら、上記従
来のパーソナルハンディホンのバッファでは160ビッ
トという大容量のレジスタを2つ用いるようにしている
ため、回路コストが高くなってしまうという問題点があ
った。
However, since the conventional personal handyphone buffer uses two large-capacity registers of 160 bits, there is a problem that the circuit cost increases. .

【0012】本発明は上記実情に鑑みて為されたもの
で、データの変換効率を低下させること無くレジスタの
容量を小さくし、回路コストを低減することのできるバ
ッファ及びそのデータ変換方式を提供することを目的と
する。
The present invention has been made in view of the above circumstances, and provides a buffer capable of reducing the register capacity without lowering the data conversion efficiency and reducing the circuit cost, and a data conversion method therefor. The purpose is to:

【0013】[0013]

【課題を解決するための手段】上記従来例の問題点を解
決するための請求項1記載の発明は、バッファにおい
て、3個の80ビットレジスタと、入力された160ビ
ットデータを前半後半の2つの80ビットデータに分割
して前記3個のレジスタの内の2個のレジスタに順に入
力データのデータ速度で入力する入力制御部と、前記
半後半の2つの80ビットデータを前記レジスタから
入力データのデータ速度と異なるデータ速度で取り出
し、前記取り出した80ビットデータを合成して160
ビットデータで出力する出力制御部とを有し、前記出力
制御部が80ビットデータを取り出している時に取り出
しが行われていないレジスタに前記入力制御部が入力デ
ータの入力を行うことを特徴としている。
According to a first aspect of the present invention, there is provided a buffer system comprising three 80-bit registers and 160-bit data which are inputted in the first and second half of the buffer. Divided into two 80-bit data and sequentially entered into two of the three registers.
An input control section for inputting the data rate of the force data, the front
The two half-half 80-bit data are ordered from the register
At a data rate different from the data rate of the input data.
Possess an output control section for outputting a bit data, said output
Take out when the control unit is taking out 80-bit data
The input control unit inputs data to a register where no
Data input .

【0014】上記従来例の問題点を解決するための請求
項2記載の発明は、請求項1記載のバッファのデータ変
方法において、入力された160ビットデータを入力
制御部において前半80ビットと後半80ビットに分割
し、前記前半80ビットと前記後半80ビットを異なる
レジスタに入力し、出力制御部において前記レジスタに
格納された80ビットデータを入力データのデータ速度
とは異なるデータ速度で前記レジスタより取り出し、前
記前半80ビットと前記後半80ビットのデータを16
0ビットデータに合成して出力すると共に、前記出力制
御部が前半後半の80ビットデータを取り出している時
に、前記入力制御部が取り出しが行われていないレジス
タに入力データの入力を行うことを特徴としている。
According to a second aspect of the present invention, there is provided a data conversion method for a buffer according to the first aspect, wherein the input control unit converts the input 160-bit data into a first half of 80 bits and a second half of the first half. The first 80 bits and the second 80 bits are input to different registers, and the output control unit converts the 80-bit data stored in the registers at a data rate different from the data rate of the input data from the registers. And the first 80 bits and the second 80 bits of data are
The output is synthesized with 0-bit data and output is controlled.
When your part is taking out the first half and second half of the 80-bit data
A register in which the input control unit has not been taken out.
The input data is input to the data .

【0015】上記従来例の問題点を解決するための請求
項3記載の発明は、請求項2記載のバッファのデータ変
方法において、2.5m secを1フレームとし
て、1番目のフレームで3個の80ビットレジスタの内
の第1のレジスタに第1の160ビットデータの前半8
0ビットを208μ secで入力し、第2のレジスタ
に前記第1の160ビットデータの後半80ビットを2
08μ secで入力すると共に、前記1番目のフレー
ムで第3のレジスタから別の80ビットを2.5m s
ecで出力し、2番目のフレームで前記第1のレジスタ
から前記第1の160ビットデータの前半80ビットを
2.5m secで出力し、3番目のフレームで前記第
3のレジスタに第2の160ビットデータの前半80ビ
ットを208μ secで入力し、前記第1のレジスタ
に前記第2の160ビットデータの後半80ビットを2
08μ secで入力すると共に、前記3番目のフレー
ムで前記第2のレジスタから前記第1の160ビットデ
ータの後半80ビットを2.5m secで出力し、4
番目のフレームで前記第3のレジスタから前記第2の1
60ビットデータの前半80ビットを2.5m sec
で出力し、5番目のフレームで前記第2のレジスタに第
3の160ビットデータの前半80ビットを208μ
secで入力し、前記第3のレジスタに前記第3の16
0ビットデータの後半80ビットを208μ secで
入力すると共に、前記5番目のフレームで前記第1のレ
ジスタから前記第2の160ビットデータの後半80ビ
ットを2.5m secで出力し、6番目のフレームで
前記第2のレジスタから前記第3の160ビットデータ
の前半80ビットを2.5m secで出力し、前記1
〜6番目のフレームの動作を繰り返して入力データ速度
384k bit/secを出力データ速度32k b
it/secに変換することを特徴としている。
According to a third aspect of the present invention, there is provided a buffer data conversion method according to the second aspect, wherein 2.5 msec is defined as one frame and three frames are used in the first frame. The first half of the first 160-bit data is stored in the first register of the 80-bit registers.
0 bits are input at 208 μsec, and the second half 80 bits of the first 160-bit data are stored in the second register by 2 bits.
08 μsec and another 80 bits from the third register in the first frame for 2.5 ms.
ec, output the first 80 bits of the first 160-bit data from the first register in the second frame in 2.5 msec, and output the second 80 bits to the third register in the third frame. The first 80 bits of the 160-bit data are input at 208 μsec, and the second 80 bits of the second 160-bit data are stored in the first register as 2 bits.
08 μsec, and outputs the second half 80 bits of the first 160-bit data from the second register in the third frame in 2.5 msec.
In the third frame, the second 1
The first 80 bits of 60-bit data is 2.5 msec.
And in the fifth frame, the first half 80 bits of the third 160-bit data are stored in the second register at 208 μm.
second, and the third register is stored in the third register.
The latter 80 bits of the 0-bit data are input at 208 μsec, and the latter 80 bits of the second 160-bit data are output from the first register in the fifth frame at 2.5 msec. In the frame, the first 80 bits of the third 160-bit data are output from the second register in 2.5 msec,
The operation of the sixth frame to the sixth frame is repeated, and the input data rate is 384 kbit / sec, and the output data rate is 32 kb.
It is characterized in that it is converted to it / sec.

【0016】上記従来例の問題点を解決するための請求
項4記載の発明は、請求項2記載のバッファのデータ変
方法において、2.5m secを1フレームとし
て、1番目のフレームで3個の80ビットレジスタの内
の第1のレジスタから160ビットデータの前半80ビ
ットを208μ secで出力し、第2のレジスタから
前記160ビットデータの後半80ビットを208μ
secで出力すると共に、前記1番目のフレームで第3
のレジスタに第1の160ビットデータの前半80ビッ
トを2.5m secで入力し、2番目のフレームで前
記第1のレジスタに前記第1の160ビットデータの後
半80ビットを2.5m secで入力し、3番目のフ
レームで前記第3のレジスタから前記第1の160ビッ
トデータの前半80ビットを208μ secで出力
し、前記第1のレジスタから前記第1の160ビットデ
ータの後半80ビットを208μ secで出力すると
共に、前記3番目のフレームで前記第2のレジスタに第
2の160ビットデータの前半80ビットを2.5m
secで入力し、4番目のフレームで前記第3のレジス
タに前記第2の160ビットデータの後半80ビットを
2.5m secで入力し、5番目のフレームで前記第
2のレジスタから前記第2の160ビットデータの前半
80ビットを208μ secで出力し、前記第3のレ
ジスタから前記第2の160ビットデータの後半80ビ
ットを208μ secで出力すると共に、前記5番目
のフレームで前記第1のレジスタに第3の160ビット
データの前半80ビットを2.5m secで入力し、
6番目のフレームで前記第2のレジスタに前記第3の1
60ビットデータの後半80ビットを2.5m sec
で入力し、前記1〜6番目のフレームの動作を繰り返し
て入力データ速度32k bit/secを出力データ
速度384k bit/secに変換することを特徴と
している。
According to a fourth aspect of the present invention, there is provided a buffer data conversion method according to the second aspect, wherein 2.5 msec is defined as one frame and three frames are used in the first frame. Of the 160-bit data from the first register of the 80-bit register is output in 208 μsec, and the second half of the 160-bit data is output from the second register in the form of 208 μsec.
sec, and the third frame in the first frame.
The first half 80 bits of the first 160-bit data are input to the first register at 2.5 msec, and the second half 80 bits of the first 160-bit data are input to the first register at 2.5 msec in the second frame. In the third frame, the first 80 bits of the first 160-bit data are output from the third register in 208 μsec in the third frame, and the latter 80 bits of the first 160-bit data are output from the first register in the second frame. In the third frame, the first 80 bits of the second 160-bit data are stored in the second register for 2.5 m at a time of 208 μsec.
The second 80 bits of the second 160-bit data are input to the third register in the fourth frame in 2.5 msec, and the second register is input from the second register in the fifth frame in the fifth frame. Output the first half 80 bits of the 160-bit data at 208 μsec, output the second half 80 bits of the second 160-bit data from the third register at 208 μsec, and output the first 80-bit data at the fifth frame. The first 80 bits of the third 160-bit data are input to the register in 2.5 msec,
In the sixth frame, the third register is stored in the second register.
The latter 80 bits of the 60-bit data are 2.5 msec.
And the operations of the first to sixth frames are repeated to convert the input data rate of 32 kbit / sec to the output data rate of 384 kbit / sec.

【0017】[0017]

【作用】請求項1記載の発明によれば、3個の80ビッ
トレジスタで80ビットデータをそれぞれ格納し、入力
制御部で入力した160ビットデータを前半後半の2つ
の80ビットデータに分割して、3個のレジスタの内の
2個のレジスタに順に入力データのデータ速度で入力
し、出力制御部で入力データのデータ速度とは異なった
データ速度でレジスタから順に前半後半の2つの80ビ
ットデータを取り出し、該80ビットデータを160ビ
ットデータに合成して出力するものの、出力制御部が8
0ビットデータを取り出している時に取り出しが行われ
ていないレジスタに入力制御部が入力データの入力を行
バッファとしているので、入力した160ビットデー
タを80ビットデータに分割して2個の80ビットレジ
スタに格納し、入力時のデータ速度とは異なるデータ速
度で各々取り出すことによりデータ速度を変換し、合成
して160ビットデータとすれば、小さい容量の80ビ
ットレジスタで160ビットデータのデータ速度変換を
行うことができ、データの変換効率を低下させることな
くレジスタの容量を小さくし、回路コストを大幅に低減
することができる。
According to the first aspect of the present invention, three 80-bits are provided.
Store each 80-bit data and input
160-bit data input by the control unitEarly and lateTwo
Divided into 80-bit dataOf the three registers
Two registersInput at the data speed of input data in order
However, the output control unit differs from the data speed of the input data.
From register at data rateIn the first half of the second half80 bi
The 80-bit data to 160 bits.
Output dataHowever, the output control unit is 8
Extraction is performed while extracting 0-bit data.
The input controller inputs the input data to a register that is not
UThe input 160-bit data
Data into two 80-bit registers.
Data speed that is different from the data speed at the time of input.
Convert data rate by taking out each in degrees and combine
As a result, if the data is 160 bits, a small capacity of 80 bits
Data rate conversion of 160-bit data
Can doDo not reduce the data conversion efficiency
The capacity of the registerSignificantly reduces circuit cost
can do.

【0018】請求項2記載の発明によれば、入力された
160ビットデータを入力制御部において前半80ビッ
トと後半80ビットに分割して異なるレジスタに入力
し、出力制御部においてレジスタに格納された80ビッ
トデータを入力データのデータ速度とは異なるデータ速
度で取り出し、前半80ビットと後半80ビットのデー
タを160ビットデータに合成して出力すると共に、出
力制御部が前半後半の80ビットデータを取り出してい
る時に、入力制御部が取り出しが行われていないレジス
タに入力データの入力を行う請求項1記載のバッファの
データ変換方法としているので、小さい容量の80ビッ
トレジスタで160ビットデータのデータ速度変換を行
うことができ、データの変換効率を低下させることなく
レジスタの容量を小さくし、回路コストを大幅に低減す
ることができる。
According to the second aspect of the present invention, the input
The first half of the 160-bit data is
And the latter half into 80 bits for different registersinput
80 bits stored in the register in the output control unit.
Data speed different from the data speed of the input data
The first 80 bits and the second 80 bits of data.
Data into 160-bit data and outputTogether with
The force control unit is taking out the first half and second half of the 80-bit data.
When the input control unit is not
Input data to the dataThe buffer according to claim 1,
Data conversionMethodSo a small capacity 80 bit
Data rate conversion of 160-bit data
Can beWithout reducing data conversion efficiency
Reduce the capacity of the register,Significantly reduce circuit cost
Can be

【0019】請求項3記載の発明によれば、各レジスタ
において、2.5m secを1フレームとして、1番
目のフレームで384k bit/secの第1の16
0ビットデータを80ビットデータに分割して第1,2
のレジスタに入力し、第3のレジスタから別の80ビッ
トデータを32k bit/secで出力し、2番目の
フレームで第1の160ビットデータの第1のレジスタ
分を出力し、3番目のフレームで第2の160ビットデ
ータを80ビットデータに分割して第3,1のレジスタ
に入力し、第1の160ビットデータの第2のレジスタ
分を出力し、4番目のフレームで第2の160ビットデ
ータの第3のレジスタ分を出力し、5番目のフレームで
第3の160ビットデータを80ビットデータに分割し
て第2,3のレジスタに入力し、第2の160ビットデ
ータの第1のレジスタ分を出力し、6番目のフレームで
第3の160ビットデータの第2のレジスタ分を出力
し、1〜6番目のフレームを繰り返す請求項2記載のデ
ータ変換方法としているので、2フレーム(5m se
c)毎に80ビットデータを合成して160ビットデー
タとしてデータ速度384k bit/secから32
k bit/secに変換することができ、データの変
換効率を低下させること無く、レジスタ容量を小さくし
て回路コストを低減することができる。
According to the third aspect of the present invention, in each register, 2.5 msec is defined as one frame, and the first frame of the first frame has 384 kbit / sec.
By dividing the 0-bit data into 80-bit data,
, And another 80-bit data is output from the third register at 32 kbit / sec, the first register of the first 160-bit data is output in the second frame, and the third frame is output. Divides the second 160-bit data into 80-bit data, inputs the divided data to the third and first registers, outputs the second register of the first 160-bit data, and outputs the second 160-bit data in the fourth frame. The third register of bit data is output, the third 160-bit data is divided into 80-bit data in the fifth frame and input to the second and third registers, and the first 160-bit data of the second 160-bit data is input. 3. The data conversion method according to claim 2, further comprising: outputting a register of the second register, outputting a second register of the third 160-bit data in the sixth frame, and repeating the first to sixth frames. Therefore, two frames (5 ms
c) The 80-bit data is synthesized every time to obtain 160-bit data from a data rate of 384 kbit / sec to 32.
It can be converted to k bits / sec, and the circuit capacity can be reduced by reducing the register capacity without lowering the data conversion efficiency.

【0020】請求項4記載の発明によれば、各レジスタ
において、2.5m secを1フレームとして1番
目のフレームで80ビットデータを384k bit/
secで第1,2のレジスタから出力し、32k bi
t/secで第1の160ビットデータの前半部分を第
3のレジスタに入力し、2番目のフレームで32kbi
t/secで第1の160ビットデータの後半部分を第
1のレジスタに入力し、3番目のフレームで第1の16
0ビットデータの第3のレジスタ分と第1のレジスタ分
を出力し、第2の160ビットデータの前半部分を第2
のレジスタに入力し、4番目のフレームで第2の16
ットデータの後半部分を第3のレジスタに入力し、5
番目のフレームで第2の160ビットデータの第2のレ
ジスタ分と第3のレジスタ分を出力し、第3の160ビ
ットデータの前半部分を第1のレジスタに入力し、6番
目のフレームで第3の160ビットデータの後半部分を
第2のレジスタに入力し、1〜6番目のフレームを繰り
返す請求項2記載のデータ変換方法としているので、2
フレーム(5m sec)毎に160ビットデータを8
0ビットデータに分割してデータ速度32k bit/
secから384k bit/secに変換することが
でき、データの変換効率を低下させること無く、レジス
タ容量を小さくして回路コストを低減することができ
る。
According to the fourth aspect of the present invention, in each register, 2.5-msec is defined as one frame, and 80-bit data is transferred in the first frame at 384 kbit / frame.
Output from the first and second registers in 32 sec.
The first half of the first 16 0 bi Ttodeta input to third register t / sec, 32kbi in the second frame
The second half of the first 16 0 bi Ttodeta input to the first register in t / sec, the first 16 in the third frame
0 to output the third register component and a first register portion of the bi Ttodeta, the first half of the second 16 0 bi Ttodeta second
Input to the register, 0 second 16 in the fourth frame
Enter the second part of the bi Ttodeta in the third register, 5
Th frame and outputs a second register portion of the second 16 0 bi Ttodeta and a third register content, enter the first part of the third 16 0 bi <br/> Ttodeta in the first register, in the sixth frame the second half of the third 16 0 bi Ttodeta input to the second register, since the data conversion method of claim 2, wherein repeating the 1-6-th frame, 2
8 bits of 160-bit data per frame (5 msec)
It is divided into 0-bit data and the data rate is 32k bit /
sec. to 384 kbit / sec, the register capacity can be reduced and the circuit cost can be reduced without lowering the data conversion efficiency.

【0021】[0021]

【実施例】本発明の一実施例について図面を参照しなが
ら説明する。図1は、本発明の一実施例に係るバッファ
の構成を示す構成ブロック図である。尚、図4と同様の
構成をとる部分にいては同一の符号を用いて説明する。
An embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a configuration block diagram illustrating a configuration of a buffer according to an embodiment of the present invention. Parts having the same configuration as in FIG. 4 will be described using the same reference numerals.

【0022】本実施例のバッファは、データ速度384
kbit/sec 又は32kbit/sec の160ビットデータを
単位として入力データが入力され、入力データの入力制
御を行う入力制御部2と、3個の80ビットシリアルレ
ジスタ(レジスタ)4a,4b,4cとを備え、データ
速度の変換を行うために使用されるバッファ部3′と、
出力データの出力制御を行う出力制御部5とから構成さ
れている。
The buffer of this embodiment has a data rate of 384.
Input data is input in units of 160-bit data of kbit / sec or 32 kbit / sec, and an input control unit 2 for performing input control of input data and three 80-bit serial registers (registers) 4a, 4b, and 4c are provided. A buffer unit 3 'for providing data rate conversion;
An output control unit 5 for controlling output of output data.

【0023】そして、図1に示すように、入力制御部2
はバッファ部3′の3個のレジスタ4a,4b,4cに
接続され、バッファ部3′の各レジスタは出力制御部5
に接続された構成となっている。
Then, as shown in FIG.
Are connected to the three registers 4a, 4b, 4c of the buffer unit 3 ', and each register of the buffer unit 3' is connected to the output control unit 5
It is configured to be connected to

【0024】ここで、本実施例のバッファの各構成部分
について具体的に説明する。入力制御部2は、入力部1
から160ビットデータを受け取って、前半80ビット
と後半80ビットに分割し、バッファ部3′のレジスタ
4に送出するものである。この時、前半80ビットと後
半80ビットはそれぞれ異なるレジスタ4に送出される
ように制御を行うようになっている。
Here, each component of the buffer of the present embodiment will be specifically described. The input control unit 2 includes the input unit 1
, And 160 bits of data, and divides the data into the first half 80 bits and the second half 80 bits, and sends them to the register 4 of the buffer unit 3 '. At this time, control is performed so that the first half 80 bits and the second half 80 bits are respectively sent to different registers 4.

【0025】バッファ部3′は、3個の80ビットシリ
アルレジスタ4a,4b,4cから構成され、384k
データから32kデータへの変換又は32kデータから
384kデータへの変換を行うものである。そのデータ
速度変換の原理は、バッファに入力されたデータに対し
て出力される時間を変えることによりデータ速度を38
4kから32kへ、又は32kから384kへ変換でき
るものである。
The buffer section 3 'is composed of three 80-bit serial registers 4a, 4b and 4c,
The conversion from data to 32k data or the conversion from 32k data to 384k data is performed. The principle of the data rate conversion is to change the data rate by changing the output time for the data input to the buffer.
It can be converted from 4k to 32k or from 32k to 384k.

【0026】特に、本実施例のバッファでは、2.5m
sec を1フレーム単位として80ビットのデータの入力
又は出力を行うようになっている。すなわち、1つのレ
ジスタ4では1フレーム(2.5msec )の間に、入力
制御部2において2分割された80ビットデータを入力
し、後の1フレームでそのデータを入力時と異なる速度
で出力することにより、データ速度を384kから32
kへ、又は32kから384kへ変換するものである。
そして、3個の80ビットレジスタ4a,4b,4cの
入出力を組み合わせることにより、前半と後半に分割さ
れた160ビットデータのデータ速度を変換するように
なっている。
In particular, in the buffer of the present embodiment, 2.5 m
The input or output of 80-bit data is performed with sec being a frame unit. That is, one register 4 inputs 80-bit data divided into two by the input control unit 2 during one frame (2.5 msec), and outputs the data at a different speed from the input in the subsequent one frame. Data rate from 384k to 32
k or from 32k to 384k.
By combining the input and output of the three 80-bit registers 4a, 4b and 4c, the data rate of the 160-bit data divided into the first half and the second half is converted.

【0027】また、出力制御部5は、2個の80ビット
データに分割されたデータをレジスタ4a,4b,4c
から変換するデータ速度(32k又は384k)で取り
出して再合成し、再び160ビットデータの形にして送
出するものである。つまり、出力制御部5からデータ速
度変換された160ビットデータを出力するようになっ
ている。
The output control unit 5 stores the data divided into two 80-bit data in registers 4a, 4b, 4c.
At the data rate (32 k or 384 k) to be converted, recombined, and transmitted again in the form of 160-bit data. That is, the output control section 5 outputs 160-bit data whose data rate has been converted.

【0028】次に、本実施例のバッファにおけるデータ
変換の方式について具体的に図2を使って説明する。図
2は、384kのデータを32kに変換する場合のタイ
ミングチャート図である。本実施例のバッファにおける
データ変換は、384kの160ビットのデータを、入
力制御部2において前半の80ビットと後半の80ビッ
トとに分割して、それぞれ異なるレジスタ4に入力し、
出力制御部5で前半後半の80ビットを32kのデータ
速度で取り出して合成して160ビットのデータとして
出力するものである。
Next, the data conversion method in the buffer according to the present embodiment will be specifically described with reference to FIG. FIG. 2 is a timing chart for converting 384k data to 32k data. In the data conversion in the buffer of the present embodiment, the 384k 160-bit data is divided into the first half 80 bits and the second half 80 bits by the input control unit 2 and input to the different registers 4 respectively.
The output control unit 5 extracts the first and second half 80 bits at a data rate of 32 k, combines them, and outputs them as 160-bit data.

【0029】まず、160ビット384kのデータのデ
ータ速度を32kに変換する場合のレジスタ4a,4
b,4cの動作について説明する。フレーム1におい
て、レジスタ4aに入力制御部2で分割された160ビ
ットデータAの前半の80ビット(A1 )が208μse
c の時間で入力される。この時のデータ速度は、384
k(80ビット/208μsec )である(101)。レ
ジスタ4aの入力が終わると、レジスタ4bに後半の8
0ビット(A2 )がデータ速度384kで、すなわち2
08μsec の時間で入力される(102)。動作(10
1)、(102)に並行して、レジスタ4cから、既に
蓄積されていた80ビットデータを2.5msec で取り
出し、32k(80ビット/2.5msec )出力データ
とする(103)。
First, the registers 4a and 4a for converting the data rate of 160-bit 384k data to 32k.
Operations b and 4c will be described. In frame 1, the first half 80 bits (A1) of 160-bit data A divided by the input control unit 2 in the register 4a are 208 .mu.se.
Entered at time c. The data rate at this time is 384
k (80 bits / 208 μsec) (101). When the input of the register 4a is completed, the latter half 8
0 bits (A2) are at a data rate of 384k, ie 2
It is input for a time of 08 μsec (102). Operation (10
In parallel with 1) and (102), the already stored 80-bit data is extracted from the register 4c in 2.5 msec, and is output as 32k (80 bits / 2.5 msec) output data (103).

【0030】次のフレーム2において、レジスタ4aか
ら動作(101)で蓄積したデータAの前半80ビット
(A1 )を2.5msec の時間で出力して32kに変換
する(104)。フレーム2においては、レジスタ4b
及び4cは入出力を行わない。
In the next frame 2, the first 80 bits (A1) of the data A accumulated in the operation (101) are output from the register 4a in 2.5 msec and converted to 32k (104). In frame 2, register 4b
And 4c perform no input / output.

【0031】フレーム3において、レジスタ4cに次の
160ビットデータBの前半80ビット(B1 )が38
4kのデータ速度で、すなわち208μsec の時間で入
力される(105)。レジスタ4cの入力後、レジスタ
4aにデータBの後半80ビット(B2 )が208μse
c の時間で入力される(106)。動作(105)、
(106)に並行してレジスタ4bからは動作(10
2)で蓄積したデータAの後半80ビット(A2 )を
2.5msec の時間で取り出してデータ速度を32kと
する(107)。
In frame 3, the first 80 bits (B1) of the next 160-bit data B are stored in the register 4c as 38 bits.
It is input at a data rate of 4k, that is, in a time of 208 μsec (105). After the input to the register 4c, the latter 80 bits (B2) of the data B are stored in the register 4a at 208 .mu.se.
It is input at the time of c (106). Operation (105),
In parallel with (106), the operation from the register 4b (10
The latter 80 bits (A2) of the data A stored in 2) are taken out in 2.5 msec, and the data speed is set to 32 k (107).

【0032】動作(104)と動作(107)におい
て、出力制御部5によってレジスタ4aからは80ビッ
トデータA1 が、レジスタ4bからは80ビットデータ
A2 が32k(80ビット/5msec )のデータ速度で
取り出され、出力制御部5においてA1 とA2 が再合成
されて160ビットの32kデータとなり、出力される
ものである。
In the operations (104) and (107), the output control unit 5 extracts 80-bit data A1 from the register 4a and 80-bit data A2 from the register 4b at a data rate of 32 k (80 bits / 5 msec). Then, A1 and A2 are recombined in the output control unit 5 to become 160-bit 32k data, which is output.

【0033】フレーム4においては、レジスタ4cに蓄
積されたデータBの前半80ビット(B1 )を2.5m
sec の時間で取り出して、データ速度を32kとする
(108)。このフレームではレジスタ4a及び4bは
入出力を行わない。
In the frame 4, the first 80 bits (B1) of the data B stored in the register 4c are transferred by 2.5 m.
Data is taken out at a time of sec and the data rate is set to 32 k (108). In this frame, the registers 4a and 4b do not perform input / output.

【0034】次のフレーム5では、レジスタ4bにデー
タCの前半80ビット(C1 )が384kのデータ速度
で、すなわち208μsec の時間で入力される(10
9)。続いてレジスタ4cに後半80ビット(C2 )が
208μsec で入力される(110)。動作(10
9)、(110)に並行してレジスタ4aから動作(1
06)で入力されたデータBの後半80ビット(B2 )
を2.5msec の時間で取り出して、データ速度を32
kに変換する(111)。
In the next frame 5, the first 80 bits (C1) of the data C are input to the register 4b at a data rate of 384 k, that is, at a time of 208 μsec (10
9). Subsequently, the latter 80 bits (C2) are input to the register 4c in 208 .mu.sec (110). Operation (10
9), the operation (1) from the register 4a in parallel with (110)
06) The latter 80 bits (B2) of the data B input in
At a time of 2.5 msec, and set the data rate to 32
k (111).

【0035】動作(108)と動作(111)におい
て、出力制御部5によってレジスタ4cからは80ビッ
トデータB1 が、レジスタ4aからは80ビットデータ
B2 が32k(80ビット/5msec )のデータ速度で
取り出され、出力制御部5においてB1 とB2 が再合成
されて160ビットの32kデータとなり、出力される
ものである。
In the operations (108) and (111), the output control unit 5 extracts 80-bit data B1 from the register 4c and 80-bit data B2 from the register 4a at a data rate of 32 k (80 bits / 5 msec). Then, B1 and B2 are recombined in the output control unit 5 to become 160-bit 32k data, which is output.

【0036】そして、フレーム6では、動作(109)
で蓄積したデータCの前半80ビット(C1 )を2.5
msec の時間で取り出して、データ速度を32kとする
(112)。このフレームではレジスタ4a及び4cは
入出力を行わない。
Then, in frame 6, the operation (109)
The first 80 bits (C1) of the data C stored in
The data is extracted at a time of msec, and the data rate is set to 32 k (112). In this frame, the registers 4a and 4c do not perform input / output.

【0037】そして、フレーム1〜フレーム6の一連の
動作を繰り返すことにより、2フレーム(5msec )毎
に1つの160ビットデータが変換されるものである。
また、前半と後半の80ビットずつに分割されて変換さ
れたデータは、変換後に出力制御部5において再び16
0ビットデータに合成されてから出力部6より出力され
るようになっている。このようにして、384kデータ
から32kデータへの変換が行われるものである。
By repeating a series of operations from frame 1 to frame 6, one 160-bit data is converted every two frames (5 msec).
The data divided and converted into the first half and the second half of each 80 bits is converted again by the output control unit 5 after the conversion.
The data is synthesized from 0-bit data and then output from the output unit 6. In this manner, the conversion from 384k data to 32k data is performed.

【0038】次に、本実施例のバッファにおける32k
から384kへの変換方式を図3のタイミングチャート
図を用いて説明する。フレーム1において、レジスタ4
cに160ビットのデータDの前半80ビット(D1 )
が2.5msec の時間で入力される。この時のデータ速
度は32k(80ビット/2.5msec )である(20
1)。これと並行して、レジスタ4aから、既に蓄積さ
れていた80ビットデータが208μsec で取り出さ
れ、384kデータ(80ビット/208μsec )とな
る(202)。レジスタ4aの出力が終わるとレジスタ
4bからも同様に、蓄積されていた80ビットデータを
208μsec の時間で取り出し、データ速度が384k
となる(203)。
Next, 32k in the buffer of this embodiment
The conversion method from 384k to 384k will be described with reference to the timing chart of FIG. In frame 1, register 4
The first 80 bits (D1) of 160-bit data D are stored in c.
Is input at a time of 2.5 msec. The data rate at this time is 32 k (80 bits / 2.5 msec) (20
1). In parallel with this, the already stored 80-bit data is extracted from the register 4a in 208 μsec, and becomes 384k data (80 bits / 208 μsec) (202). When the output of the register 4a is completed, the stored 80-bit data is similarly extracted from the register 4b in a time of 208 μsec, and the data speed is reduced to 384 k.
(203).

【0039】フレーム2において、レジスタ4aに32
kの160ビットデータDの後半80ビット(D2 )が
2.5msec の時間で入力される(204)。このフレ
ーム2では、レジスタ4b及び4cは入出力を行わな
い。
In frame 2, 32 is stored in register 4a.
The latter 80 bits (D2) of the 160-bit data D of k are inputted in a time of 2.5 msec (204). In this frame 2, the registers 4b and 4c do not perform input / output.

【0040】フレーム3において、レジスタ4cからデ
ータDの前半80ビット(D1 )が208μsec の時間
で取り出され、データ速度が384kで出力される(2
05)。続いて、レジスタ4aからデータDの後半80
ビット(D2 )が208μsec の時間で取り出され、3
84kで出力される(206)。データ変換された80
ビットデータは出力制御部5において合成されて再び1
60ビットデータとなって出力される。これにより、デ
ータDの160ビットが32kから384kに変換され
たことになる。
In the frame 3, the first 80 bits (D1) of the data D are extracted from the register 4c at a time of 208 μsec, and output at a data rate of 384 k (2
05). Subsequently, the second half 80 of the data D is obtained from the register 4a.
The bit (D2) is taken out in a time of 208 .mu.sec and 3
It is output at 84k (206). Data converted 80
The bit data is combined in the output control unit 5 and is
It is output as 60-bit data. This means that 160 bits of data D have been converted from 32k to 384k.

【0041】また、動作(205)、(206)に並行
してレジスタ4bではデータ速度32kの160ビット
のデータEの前半80ビット(E1 )が、2.5msec
の時間で入力される(207)。
In parallel with the operations (205) and (206), the first half 80 bits (E1) of the 160-bit data E having a data rate of 32 k are stored in the register 4b for 2.5 msec.
(207).

【0042】そして、以下同様にデータEの後半80ビ
ット(E2 )がレジスタ4cに2.5msec で入力され
(208)、データEの前半80ビット(E1 )がレジ
スタ4bから208μsec で出力され(209)、デー
タEの後半80ビット(E2)がレジスタ4cから20
8μsec で出力され(210)、データEの出力と並行
してデータFの前半80ビット(F1 )がレジスタ4a
に2.5msec で入力され(211)、その後データF
の後半80ビット(F2 )がレジスタ4bに2.5mse
c で入力され(212)、というように動作するもので
ある。
Similarly, the latter 80 bits (E2) of the data E are input to the register 4c in 2.5 msec (208), and the first 80 bits (E1) of the data E are output from the register 4b in 208 μsec (209). ), The latter 80 bits (E2) of data E are stored in registers 4c through 20
The data is output in 8 .mu.sec (210), and the first 80 bits (F1) of the data F are stored in the register 4a in parallel with the output of the data E.
Is input in 2.5 msec (211), and then the data F
80 bits (F2) of register 2b are stored in register 4b by 2.5 mse
It is input at c (212), and so on.

【0043】そして、動作(201)から(212)ま
での一連の動作を繰り返すことにより、バッファ部3全
体で2フレーム(5msec )毎に160ビットデータに
ついてデータ速度を32kから384kに変換するもの
である。
Then, by repeating a series of operations (201) to (212), the data rate is converted from 32 k to 384 k for 160 bit data every two frames (5 msec) in the entire buffer section 3. is there.

【0044】すなわち、本実施例のデータ変換方式は、
3つのレジスタ4a、4b、4cのうちの2つを1組と
して、160ビットデータを前半80ビットと後半80
ビットに分割して入力し、入力時と異なる速度で取り出
すことによりデータ速度を変換し、前半後半の80ビッ
トを合成して160ビットデータとして出力するもので
ある。
That is, the data conversion method of this embodiment is as follows.
Assuming that two of the three registers 4a, 4b, and 4c are one set, the 160-bit data is divided into the first half 80 bits and the second half 80 bits.
The data rate is converted by dividing the data into bits and taking out the data at a speed different from that at the time of input, and the first and second half 80 bits are combined and output as 160-bit data.

【0045】ここで、レジスタの組み合わせ方について
簡単に説明すると、入力時には、まずレジスタ4aに1
60ビットデータの前半を、4bに後半を入力する。次
のデータは、4cに前半を、4aに後半を入力し、更に
次のデータは4bに前半を、4cに後半を入力するよう
になっている。そして再び4aと4bを組にしてデータ
の入力を行う。すなわち、入力だけについて考えると、
レジスタの組み合わせ方は、(4a,4b)→(4c,
4a)→(4b,4c)→(4a,4b)…のようにレ
ジスタの組み合わせ方を順次ずらして入力するようにな
っている。
Here, how to combine the registers will be briefly described.
The first half of the 60-bit data is input to 4b, and the second half is input to 4b. For the next data, the first half is input to 4c, the second half is input to 4a, and for the next data, the first half is input to 4b and the second half is input to 4c. Then, data is input again by combining 4a and 4b. That is, considering only the input,
How to combine registers is (4a, 4b) → (4c,
4a) → (4b, 4c) → (4a, 4b).

【0046】出力時は、まずレジスタ4aからあるデー
タの前半80ビットを、4bから後半80ビットを入力
時と異なる速度で出力する。以下同様に、次のデータは
4cから前半を、4aから後半を出力し、その次は4b
から前半を、4cから後半を出力し、そしてまた4aと
4bを組にして出力するようになっている。すなわち、
出力だけをみると、(4a,4b)→(4c,4a)→
(4b,4c)→(4a,4b)…の順で、レジスタの
組み合わせを順次ずらして出力するようになっている。
At the time of output, first, the first 80 bits of certain data from the register 4a are output at a different speed from the input when the latter 80 bits are input from 4b. Similarly, for the next data, the first half is output from 4c and the second half is output from 4a.
, The first half is output from 4c, and the second half is output as a set of 4a and 4b. That is,
Looking only at the output, (4a, 4b) → (4c, 4a) →
Register combinations are sequentially shifted in the order of (4b, 4c) → (4a, 4b).

【0047】そして、入力動作と出力動作とを組み合わ
せて2フレーム(5msec )の間に160ビットデータ
のデータ速度を384kから32kへ、又は384kか
ら32kへ変換するものである。
The input operation and the output operation are combined to convert the data rate of 160-bit data from 384k to 32k or from 384k to 32k in two frames (5 msec).

【0048】本実施例によれば、入力された160ビッ
トデータを入力制御部2において前半80ビットと後半
80ビットとに分割し、分割された80ビットデータを
別々のレジスタ4に送出し、出力制御部5によってレジ
スタ4への入力時とは異なる速度でデータを取り出すこ
とによりデータ速度を384kから32kへ、又は32
kから384kへ変換し、出力制御部5において前半8
0ビットと後半80ビットを合成して160ビットデー
タとして出力するようにしているので、変換効率を低下
させること無く、3個の80ビットレジスタで160ビ
ットデータの変換を行うことができ、2個の160ビッ
トレジスタを使った従来の回路に比べて回路コストを大
幅に低減することができる効果がある。
According to this embodiment, the input control unit 2 divides the input 160-bit data into the first half 80 bits and the second half 80 bits, sends the divided 80-bit data to the separate register 4, and outputs the divided data. By taking out data at a speed different from that at the time of input to the register 4 by the control unit 5, the data speed is increased from 384 k to 32 k or 32 k.
k to 384k, and the output control unit 5
Since 0 bits and the latter 80 bits are combined and output as 160-bit data, the conversion of 160-bit data can be performed with three 80-bit registers without lowering the conversion efficiency. There is an effect that the circuit cost can be greatly reduced as compared with the conventional circuit using the 160-bit register.

【0049】[0049]

【発明の効果】請求項1記載の発明によれば、3個の8
0ビットレジスタで80ビットデータをそれぞれ格納
し、入力制御部で入力した160ビットデータを前半後
半の2つの80ビットデータに分割して、3個のレジス
タの内の2個のレジスタに順に入力データのデータ速度
で入力し、出力制御部で入力データのデータ速度とは異
なったデータ速度でレジスタから順に前半後半の2つの
80ビットデータを取り出し、該80ビットデータを1
60ビットデータに合成して出力するものの、出力制御
部が80ビットデータを取り出している時に取り出しが
行われていないレジスタに入力制御部が入力データの入
力を行うバッファとしているので、入力した160ビッ
トデータを80ビットデータに分割して2個の80ビッ
トレジスタに格納し、入力時のデータ速度とは異なるデ
ータ速度で各々取り出すことによりデータ速度を変換
し、合成して160ビットデータとすれば、小さい容量
の80ビットレジスタで160ビットデータのデータ速
度変換を行うことができ、データの変換効率を低下させ
ることなくレジスタの容量を小さくし、回路コストを大
幅に低減することができる効果がある。
According to the first aspect of the present invention, three 8
80-bit data at 0 bit register stores each after the first half 160-bit data input by the input control unit
Divided into two half 80-bit data, 3 registers
Data rate of input data to two registers in order
The output control unit extracts two 80-bit data in the first half and the second half from the register in order at a data rate different from the data rate of the input data.
Output control after combining with 60-bit data
When the part is extracting 80-bit data,
The input control unit inputs the input data to the
The input data is converted to a data buffer by dividing the input 160-bit data into 80-bit data, storing them in two 80-bit registers, and extracting them at a data speed different from the data speed at the time of input. However, if the data is combined into 160-bit data, the data rate conversion of 160-bit data can be performed with a small-capacity 80-bit register, and the data conversion efficiency is reduced.
Therefore, there is an effect that the capacity of the register can be reduced and the circuit cost can be significantly reduced.

【0050】請求項2記載の発明によれば、入力された
160ビットデータを入力制御部において前半80ビッ
トと後半80ビットに分割して異なるレジスタに入力
し、出力制御部においてレジスタに格納された80ビッ
トデータを入力データのデータ速度とは異なるデータ速
度で取り出し、前半80ビットと後半80ビットのデー
タを160ビットデータに合成して出力すると共に、出
力制御部が前半後半の80ビットデータを取り出してい
る時に、入力制御部が取り出しが行われていないレジス
タに入力データの入力を行う請求項1記載のバッファの
データ変換方法としているので、小さい容量の80ビッ
トレジスタで160ビットデータのデータ速度変換を行
うことができ、データの変換効率を低下させることなく
レジスタの容量を小さくし、回路コストを大幅に低減す
ることができる効果がある。
According to the second aspect of the present invention, the input
The first half of the 160-bit data is
And the latter half into 80 bits for different registersinput
80 bits stored in the register in the output control unit.
Data speed different from the data speed of the input data
The first 80 bits and the second 80 bits of data.
Data into 160-bit data and outputTogether with
The force control unit is taking out the first half and second half of the 80-bit data.
When the input control unit is not
Input data to the dataThe buffer according to claim 1,
Data conversionMethodSo a small capacity 80 bit
Data rate conversion of 160-bit data
Can beWithout reducing data conversion efficiency
Reduce the capacity of the register,Significantly reduce circuit cost
There is an effect that can be.

【0051】請求項3記載の発明によれば、各レジスタ
において、2.5m secを1フレームとして、1番
目のフレームで384k bit/secの第1の16
0ビットデータを80ビットデータに分割して第1,2
のレジスタに入力し、第3のレジスタから別の80ビッ
トデータを32k bit/secで出力し、2番目の
フレームで第1の160ビットデータの第1のレジスタ
分を出力し、3番目のフレームで第2の160ビットデ
ータを80ビットデータに分割して第3,1のレジスタ
に入力し、第1の160ビットデータの第2のレジスタ
分を出力し、4番目のフレームで第2の160ビットデ
ータの第3のレジスタ分を出力し、5番目のフレームで
第3の160ビットデータを80ビットデータに分割し
て第2,3のレジスタに入力し、第2の160ビットデ
ータの第1のレジスタ分を出力し、6番目のフレームで
第3の160ビットデータの第2のレジスタ分を出力
し、1〜6番目のフレームを繰り返す請求項2記載のデ
ータ変換方法としているので、2フレーム(5m se
c)毎に80ビットデータを合成して160ビットデー
タとしてデータ速度384k bit/secから32
k bit/secに変換することができ、データの変
換効率を低下させること無く、レジスタ容量を小さくし
て回路コストを低減することができる効果がある。
According to the third aspect of the present invention, in each register, 2.5 msec is defined as one frame, and the first frame of 384 kbit / sec is used in the first frame.
By dividing the 0-bit data into 80-bit data,
, And another 80-bit data is output from the third register at 32 kbit / sec, the first register of the first 160-bit data is output in the second frame, and the third frame is output. Divides the second 160-bit data into 80-bit data, inputs the divided data to the third and first registers, outputs the second register of the first 160-bit data, and outputs the second 160-bit data in the fourth frame. The third register of bit data is output, the third 160-bit data is divided into 80-bit data in the fifth frame and input to the second and third registers, and the first 160-bit data of the second 160-bit data is input. 3. The data conversion method according to claim 2, further comprising: outputting a register of the second register, outputting a second register of the third 160-bit data in the sixth frame, and repeating the first to sixth frames. Therefore, two frames (5 ms
c) The 80-bit data is synthesized every time to obtain 160-bit data from a data rate of 384 kbit / sec to 32.
The conversion into k bits / sec can be achieved, and there is an effect that the register cost can be reduced and the circuit cost can be reduced without lowering the data conversion efficiency.

【0052】請求項4記載の発明によれば、各レジスタ
において、2.5m secを1フレームとして1番
目のフレームで80ビットデータを384k bit/
secで第1,2のレジスタから出力し、32k bi
t/secで第1の160ビットデータの前半部分を第
3のレジスタに入力し、2番目のフレームで32kbi
t/secで第1の160ビットデータの後半部分を第
1のレジスタに入力し、3番目のフレームで第1の16
0ビットデータの第3のレジスタ分と第1のレジスタ分
を出力し、第2の160ビットデータの前半部分を第2
のレジスタに入力し、4番目のフレームで第2の16
ットデータの後半部分を第3のレジスタに入力し、5
番目のフレームで第2の160ビットデータの第2のレ
ジスタ分と第3のレジスタ分を出力し、第3の160ビ
ットデータの前半部分を第1のレジスタに入力し、6番
目のフレームで第3の160ビットデータの後半部分を
第2のレジスタに入力し、1〜6番目のフレームを繰り
返す請求項2記載のデータ変換方法としているので、2
フレーム(5m sec)毎に160ビットデータを8
0ビットデータに分割してデータ速度32k bit/
secから384k bit/secに変換することが
でき、データの変換効率を低下させること無く、レジス
タ容量を小さくして回路コストを低減することができる
効果がある。
[0052] According to the invention of claim 4, wherein, in each register, a 1 frame 2.5 m sec, 384k and 80-bit data in the first frame bit /
Output from the first and second registers in 32 sec.
The first half of the first 16 0 bi Ttodeta input to third register t / sec, 32kbi in the second frame
The second half of the first 16 0 bi Ttodeta input to the first register in t / sec, the first 16 in the third frame
0 to output the third register component and a first register portion of the bi Ttodeta, the first half of the second 16 0 bi Ttodeta second
Input to the register, 0 second 16 in the fourth frame
Enter the second part of the bi Ttodeta in the third register, 5
Th frame and outputs a second register portion of the second 16 0 bi Ttodeta and a third register content, enter the first part of the third 16 0 bi <br/> Ttodeta in the first register, in the sixth frame the second half of the third 16 0 bi Ttodeta input to the second register, since the data conversion method of claim 2, wherein repeating the 1-6-th frame, 2
8 bits of 160-bit data per frame (5 msec)
It is divided into 0-bit data and the data rate is 32k bit /
sec. to 384 kbit / sec, and there is an effect that the register capacity can be reduced and the circuit cost can be reduced without lowering the data conversion efficiency.

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

【図1】本発明の一実施例に係るバッファの構成ブロッ
ク図である。
FIG. 1 is a configuration block diagram of a buffer according to an embodiment of the present invention.

【図2】本実施例のバッファにおける384kから32
kへのデータ変換の方式を示すタイミングチャート図で
ある。
FIG. 2 is a diagram illustrating an example of a buffer according to an embodiment of the present invention.
FIG. 4 is a timing chart illustrating a method of converting data into k.

【図3】本実施例のバッファにおける32kから384
kへのデータ変換の方式を示すタイミングチャート図で
ある。
FIG. 3 is a diagram illustrating an example of a buffer from 32k to 384 in the present embodiment.
FIG. 4 is a timing chart illustrating a method of converting data into k.

【図4】従来のバッファの構成ブロック図である。FIG. 4 is a configuration block diagram of a conventional buffer.

【図5】従来のバッファにおける384kから32kへ
のデータ変換の方式を示すタイミングチャート図であ
る。
FIG. 5 is a timing chart showing a method of converting data from 384k to 32k in a conventional buffer.

【図6】従来のバッファにおける32kから384kへ
のデータ変換の方式を示すタイミングチャート図であ
る。
FIG. 6 is a timing chart showing a method of converting data from 32k to 384k in a conventional buffer.

【符号の説明】[Explanation of symbols]

2…入力制御部、 3…バッファ部、 4…レジスタ、
5…出力制御部
2 ... input control unit 3 ... buffer unit 4 ... register
5 Output control unit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) H04L 13/08──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 6 , DB name) H04L 13/08

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 3個の80ビットレジスタと、入力され
た160ビットデータを前半後半の2つの80ビットデ
ータに分割して前記3個のレジスタの内の2個のレジス
タに順に入力データのデータ速度で入力する入力制御部
と、前記前半後半の2つの80ビットデータを前記レジ
スタから順に入力データのデータ速度と異なるデータ速
度で取り出し、前記取り出した80ビットデータを合成
して160ビットデータで出力する出力制御部とを有
し、前記出力制御部が80ビットデータを取り出してい
る時に取り出しが行われていないレジスタに前記入力制
御部が入力データの入力を行うことを特徴とするバッフ
ァ。
1. Three 80-bit registers and input 160-bit data are divided into two 80-bit data in the latter half of the first half, and are divided into two of the three registers. an input control section for inputting the data rate of input data sequentially takes out two 80-bit data of the first half the second half at a data rate different from the data rate of the order input data from the register, by combining the 80-bit data fetched the Output control unit that outputs 160-bit data
And the output control unit extracts 80-bit data.
Input registers to registers that have not been
A buffer, wherein the control section inputs input data .
【請求項2】 入力された160ビットデータを入力制
御部において前半80ビットと後半80ビットに分割
し、前記前半80ビットと前記後半80ビットを異なる
レジスタに入力し、出力制御部において前記レジスタに
格納された80ビットデータを入力データのデータ速度
とは異なるデータ速度で前記レジスタより取り出し、前
記前半80ビットと前記後半80ビットのデータを16
0ビットデータに合成して出力すると共に、前記出力制
御部が前半後半の80ビットデータを取り出している時
に、前記入力制御部が取り出しが行われていないレジス
タに入力データの入力を行うことを特徴とする請求項1
記載のバッファのデータ変換方法
2. A divided into 80-bit first and second halves 80 bits in the input control unit the input 160-bit data, inputs the second half 80 bits and the first half 80 bits in different registers, the register in the output control section The stored 80-bit data is fetched from the register at a data rate different from the data rate of the input data, and the first half 80 bits and the second half 80 bits of data are extracted from the register.
The output is synthesized with 0-bit data and output is controlled.
When your part is taking out the first half and second half of the 80-bit data
A register in which the input control unit has not been taken out.
2. An input data is input to the data input device.
Data conversion method of the buffer described.
【請求項3】 2.5m secを1フレームとして、
1番目のフレームで3個の80ビットレジスタの内の第
1のレジスタに第1の160ビットデータの前半80ビ
ットを208μ secで入力し、第2のレジスタに前
記第1の160ビットデータの後半80ビットを208
μ secで入力すると共に、前記1番目のフレームで
第3のレジスタから別の80ビットを2.5m sec
で出力し、2番目のフレームで前記第1のレジスタから
前記第1の160ビットデータの前半80ビットを2.
5m secで出力し、3番目のフレームで前記第3の
レジスタに第2の160ビットデータの前半80ビット
を208μ secで入力し、前記第1のレジスタに前
記第2の160ビットデータの後半80ビットを208
μ secで入力すると共に、前記3番目のフレームで
前記第2のレジスタから前記第1の160ビットデータ
の後半80ビットを2.5m secで出力し、4番目
のフレームで前記第3のレジスタから前記第2の160
ビットデータの前半80ビットを2.5m secで出
力し、5番目のフレームで前記第2のレジスタに第3の
160ビットデータの前半80ビットを208μ se
cで入力し、前記第3のレジスタに前記第3の160ビ
ットデータの後半80ビットを208μ secで入力
すると共に、前記5番目のフレームで前記第1のレジス
タから前記第2の160ビットデータの後半80ビット
を2.5m secで出力し、6番目のフレームで前記
第2のレジスタから前記第3の160ビットデータの前
半80ビットを2.5m secで出力し、前記1〜6
番目のフレームの動作を繰り返して入力データ速度38
4k bit/secを出力データ速度32k bit
/secに変換することを特徴とする請求項2記載のデ
ータ変換方法
3. Assuming that 2.5 msec is one frame.
In the first frame, the first 80 bits of the first 160-bit data are input to the first register out of the three 80-bit registers at 208 μsec, and the second half of the first 160-bit data are input to the second register. 80 bits to 208
μsec and another 80 bits from the third register in the first frame for 2.5 msec.
And outputs the first 80 bits of the first 160-bit data from the first register in the second frame.
5 msec, the first 80 bits of the second 160-bit data are input to the third register in the third frame in 208 μsec, and the second half of the second 160-bit data are input to the first register. Bit 208
μsec, output the second half 80 bits of the first 160-bit data from the second register in the third frame in 2.5 msec, and output from the third register in the fourth frame in the fourth frame. The second 160
The first 80 bits of the bit data are output in 2.5 msec, and the first 80 bits of the third 160-bit data are stored in the second register in the fifth frame for 208 μsec.
c, the latter 80 bits of the third 160-bit data are input to the third register in 208 μsec, and the second 160-bit data of the second 160-bit data is input from the first register in the fifth frame. The latter half 80 bits are output at 2.5 msec, and the first half 80 bits of the third 160-bit data are output from the second register in the sixth frame at 2.5 msec.
The operation of the third frame is repeated and the input data rate 38
Output data speed 32k bit at 4k bit / sec
3. The data conversion method according to claim 2, wherein the data is converted to / sec.
【請求項4】 2.5m secを1フレームとして、
1番目のフレームで3個の80ビットレジスタの内の第
1のレジスタから160ビットデータの前半80ビット
を208μ secで出力し、第2のレジスタから前記
160ビットデータの後半80ビットを208μ se
cで出力すると共に、前記1番目のフレームで第3のレ
ジスタに第1の160ビットデータの前半80ビットを
2.5m secで入力し、2番目のフレームで前記第
1のレジスタに前記第1の160ビットデータの後半8
0ビットを2.5m secで入力し、3番目のフレー
ムで前記第3のレジスタから前記第1の160ビットデ
ータの前半80ビットを208μ secで出力し、前
記第1のレジスタから前記第1の160ビットデータの
後半80ビットを208μ secで出力すると共に、
前記3番目のフレームで前記第2のレジスタに第2の1
60ビットデータの前半80ビットを2.5m sec
で入力し、4番目のフレームで前記第3のレジスタに前
記第2の160ビットデータの後半80ビットを2.5
m secで入力し、5番目のフレームで前記第2のレ
ジスタから前記第2の160ビットデータの前半80ビ
ットを208μ secで出力し、前記第3のレジスタ
から前記第2の160ビットデータの後半80ビットを
208μ secで出力すると共に、前記5番目のフレ
ームで前記第1のレジスタに第3の160ビットデータ
の前半80ビットを2.5m secで入力し、6番目
のフレームで前記第2のレジスタに前記第3の160ビ
ットデータの後半80ビットを2.5m secで入力
し、前記1〜6番目のフレームの動作を繰り返して入力
データ速度32kbit/secを出力データ速度38
4k bit/secに変換することを特徴とする請求
項2記載のデータ変換方法
4. Assuming that 2.5 msec is one frame.
In the first frame, of the three 80-bit registers, the first register outputs the first 80 bits of the 160-bit data from the first register in 208 μsec, and the second register outputs the latter 80 bits of the 160-bit data in the 208 μsec.
c, the first 80 bits of the first 160-bit data are input to the third register in the first frame in 2.5 msec, and the first register is input to the first register in the second frame in the second frame. 8 of the latter half of 160-bit data
0 bit is input in 2.5 msec, and in the third frame, the first 80 bits of the first 160-bit data are output from the third register in 208 μsec, and the first register is output from the first register in 208 μsec. While outputting the latter 80 bits of the 160-bit data in 208 μsec,
In the third frame, a second one is stored in the second register.
The first 80 bits of 60-bit data is 2.5 msec.
And in the fourth frame, store the latter 80 bits of the second 160-bit data in the third register by 2.5.
m second, output the first 80 bits of the second 160-bit data from the second register in the fifth frame in 208 μsec, and output the second half of the second 160-bit data from the third register in the fifth frame. 80 bits are output at 208 μsec, the first 80 bits of the third 160-bit data are input to the first register in the fifth frame at 2.5 msec, and the second at the sixth frame. The second half 80 bits of the third 160-bit data are input to the register at 2.5 msec, and the operations of the first to sixth frames are repeated to set the input data rate of 32 kbit / sec to the output data rate of 38.
3. The data conversion method according to claim 2, wherein the data is converted to 4 k bits / sec.
JP5025929A 1993-01-22 1993-01-22 Buffer and data conversion method thereof Expired - Fee Related JP2769418B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5025929A JP2769418B2 (en) 1993-01-22 1993-01-22 Buffer and data conversion method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5025929A JP2769418B2 (en) 1993-01-22 1993-01-22 Buffer and data conversion method thereof

Publications (2)

Publication Number Publication Date
JPH06224943A JPH06224943A (en) 1994-08-12
JP2769418B2 true JP2769418B2 (en) 1998-06-25

Family

ID=12179472

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5025929A Expired - Fee Related JP2769418B2 (en) 1993-01-22 1993-01-22 Buffer and data conversion method thereof

Country Status (1)

Country Link
JP (1) JP2769418B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57201934A (en) * 1981-06-05 1982-12-10 Oki Electric Ind Co Ltd Memory switching system of buffer circuit
JPS6293728A (en) * 1985-10-18 1987-04-30 Fujitsu Ltd Fifo memory system
JPH0286250U (en) * 1988-12-20 1990-07-09
JPH05143283A (en) * 1991-11-20 1993-06-11 Toshiba Corp Data speed converter

Also Published As

Publication number Publication date
JPH06224943A (en) 1994-08-12

Similar Documents

Publication Publication Date Title
JP2769418B2 (en) Buffer and data conversion method thereof
JP3303687B2 (en) Data compression method
JPH06350665A (en) Protocol processor
JP3231713B2 (en) Cyclic redundancy check calculation method and apparatus
JP3345912B2 (en) Kanji pattern storage memory read control circuit
KR0155718B1 (en) Synchronous Data Generator
JPH0547147B2 (en)
JPS6059461A (en) Program memory device
JPH05290077A (en) Accumulator
JPS63149768A (en) Picture information processor
JPH04186938A (en) Digital signal conversion system
JPH039692A (en) Time-division multiplexer
JPH01304579A (en) Semiconductor integrated circuit
JPS61192139A (en) Frame converting circuit
JPH01145731A (en) Data synchronizing system
JPH0750874B2 (en) Format conversion device
JPH03107225A (en) Frame aligner circuit
JPH05290076A (en) accumulator
JPS6145370A (en) Buffer memory device of data processor
JPH0754913B2 (en) Data conversion circuit
JPS61206081A (en) Concentration conversion circuit
JPH024070A (en) System for controlling communication data destination
JPH07112186B2 (en) Synchronous processing LSI interface method
JPH0444286B2 (en)
JPH08288862A (en) Arrangement conversion circuit for data in i interface

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees