JPH0512011A - Pipeline circuit - Google Patents

Pipeline circuit

Info

Publication number
JPH0512011A
JPH0512011A JP3164126A JP16412691A JPH0512011A JP H0512011 A JPH0512011 A JP H0512011A JP 3164126 A JP3164126 A JP 3164126A JP 16412691 A JP16412691 A JP 16412691A JP H0512011 A JPH0512011 A JP H0512011A
Authority
JP
Japan
Prior art keywords
data
bank
circuit block
processing
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3164126A
Other languages
Japanese (ja)
Inventor
Masaki Arima
正木 有馬
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP3164126A priority Critical patent/JPH0512011A/en
Publication of JPH0512011A publication Critical patent/JPH0512011A/en
Pending legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)

Abstract

(57)【要約】 【目的】データ入力順とデータ出力順の関係やデータ入
力総数とデータ出力総数の関係を任意に変更可能で柔軟
性のあるデータ処理を行う。 【構成】メモリバンク11はデータの入出力を行う3個の
バンクa,b,cを有し、それぞれのバンクa,b,c
の出力端は回路ブロック12、13、14に接続され、また、
回路ブロック12、13の出力端はそれぞれバンクa,b,
cに接続されている。そして、メモリバンク11は回路ブ
ロック12、13、14からアクセス可能に構成され、各回路
ブロックは処理結果をメモリバンク11内にある所定バン
クに格納する。また、どのバンクに格納したかのポイン
タを次段に転送し、バンクのポインタを受け取った回路
ブロックはそのポインタの示すバンク内のデータを処理
する構成である。
(57) [Summary] [Purpose] Flexible data processing is possible by arbitrarily changing the relationship between the data input order and the data output order and the relationship between the total number of data inputs and the total number of data outputs. [Structure] A memory bank 11 has three banks a, b and c for inputting / outputting data, and each bank a, b, c
The output end of is connected to the circuit blocks 12, 13, 14 and
The output terminals of the circuit blocks 12 and 13 are banks a, b, and
connected to c. The memory bank 11 is configured to be accessible from the circuit blocks 12, 13 and 14, and each circuit block stores the processing result in a predetermined bank in the memory bank 11. Further, the pointer indicating which bank is stored is transferred to the next stage, and the circuit block which receives the pointer of the bank processes the data in the bank indicated by the pointer.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はデータ処理速度を高速化
するための一手段として各種高速ディジタル処理回路な
どに用いられるパイプライン回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pipeline circuit used in various high speed digital processing circuits as one means for increasing the data processing speed.

【0002】[0002]

【従来の技術】図2は従来のパイプライン回路の構成を
示すブロック図である。図2において、回路ブロック1
はレジスタ2に接続され、回路ブロック1で第1段目の
処理を行い、レジスタ2において回路ブロック1からの
出力を1データのみ一時的に格納する。レジスタ2に接
続される回路ブロック3はレジスタ4に接続され、回路
ブロック3で第2段目の処理を行い、レジスタ4におい
て回路ブロック3からの出力を1データのみ一時的に格
納する。レジスタ4に接続される回路ブロック5は第3
段目の処理を行う。
2. Description of the Related Art FIG. 2 is a block diagram showing a configuration of a conventional pipeline circuit. In FIG. 2, the circuit block 1
Is connected to the register 2, the circuit block 1 performs the first stage processing, and the register 2 temporarily stores only one data output from the circuit block 1. The circuit block 3 connected to the register 2 is connected to the register 4, the circuit block 3 performs the second stage processing, and the register 4 temporarily stores only one data output from the circuit block 3. The circuit block 5 connected to the register 4 is the third
Perform the processing of the first stage.

【0003】上記構成について、以下その動作を説明す
る。まず、回路ブロック1に周期Tの時系列データD1
〜D30が入力されると、回路ブロック1で各データが処
理されて周期Tの時系列データA(D1)〜A(D30)
が出力される。この時系列データA(D1)〜A(D3
0)の各データはそれぞれレジスタ2に時間Tの間保持
され、これによりレジスタ2からは時系列データA(D
1)〜A(D30)が時系列データD1〜D30よりも時間
Tだけ遅延してそれぞれ出力される。そして、その後段
の回路ブロック3に周期Tの時系列データA(D1)〜
A(D30)が入力されると、回路ブロック3で各データ
が処理されて周期Tの時系列データB(D1)〜B(D
30)が出力される。この時系列データB(D1)〜B
(D30)の各データはそれぞれレジスタ4に時間Tの間
保持され、これにより、レジスタ4からは時系列データ
B(D1)〜B(D30)が時系列データA(D1)〜A
(D30)よりも時間Tだけ遅延してそれぞれ出力され
る。さらにその後段の回路ブロック5に周期Tの時系列
データB(D1)〜B(D30)が入力されると、回路ブ
ロック5で各データが処理されて周期Tの時系列データ
C(D1)〜C(D30)が出力される。
The operation of the above configuration will be described below. First, in the circuit block 1, time-series data D1 of cycle T
When ~ D30 is input, each data is processed by the circuit block 1 and the time series data A (D1) to A (D30) of the cycle T is input.
Is output. This time series data A (D1) to A (D3
Each data of 0) is held in the register 2 for the time T, so that the time series data A (D
1) to A (D30) are delayed from the time series data D1 to D30 by the time T and output. Then, the time-series data A (D1) to
When A (D30) is input, each data is processed in the circuit block 3 and time series data B (D1) to B (D
30) is output. This time series data B (D1) to B
Each data of (D30) is held in the register 4 for the time T, so that the time series data B (D1) to B (D30) from the register 4 are time series data A (D1) to A.
Each is output after a delay of time T from (D30). Further, when the time series data B (D1) to B (D30) of the cycle T is input to the subsequent circuit block 5, each data is processed by the circuit block 5 and the time series data C (D1) to the cycle T. C (D30) is output.

【0004】ここで、まず、回路ブロック1で処理が終
わった時系列データA(D1)はレジスタ2に保持され
ており、回路ブロック1は次の時系列データD2を処理
し始め、レジスタ2は回路ブロック3に時系列データA
(D1)を出力し、回路ブロック3は時系列データA
(D1)を処理し始める。そして、ある時刻において、
回路ブロック1がデータD4を処理していたとすると、
その後段の回路ブロック3はデータA(D3)を、さら
にその後段の回路ブロック5はデータB(D2)を処理
していることになる。
Here, first, the time series data A (D1) processed by the circuit block 1 is held in the register 2, the circuit block 1 starts processing the next time series data D2, and the register 2 Time series data A in the circuit block 3
(D1) is output, and the circuit block 3 outputs the time series data A
Start processing (D1). And at a certain time,
If the circuit block 1 processes the data D4,
This means that the circuit block 3 at the subsequent stage is processing the data A (D3) and the circuit block 5 at the subsequent stage is processing the data B (D2).

【0005】したがって、各回路ブロック1、3、5は
同時に各データを処理していることになり、こうしたデ
ータ処理の並列化によってデータ処理速度の向上を図っ
ている。
Therefore, each circuit block 1, 3 and 5 is processing each data at the same time, and the data processing speed is improved by parallelizing such data processing.

【0006】[0006]

【発明が解決しようとする課題】しかしながら上記従来
の構成では、入力される時系列データの総数とデータ処
理の結果出力される時系列データの総数が等しくなけれ
ばならず、また、時系列データの処理順が入力と同順で
なければならず、データ処理に柔軟性がないという問題
を有していた。
However, in the above conventional configuration, the total number of input time-series data and the total number of time-series data output as a result of data processing must be equal, and the time-series data There was a problem that the processing order had to be the same as the input order, and there was no flexibility in data processing.

【0007】本発明は上記従来の問題を解決するもの
で、データ入力順とデータ出力順の関係やデータ入力総
数とデータ出力総数の関係を任意に変更可能で柔軟性の
あるデータ処理を行うことができるパイプライン回路を
提供することを目的とするものである。
The present invention is to solve the above-mentioned conventional problems, and to perform flexible data processing by arbitrarily changing the relationship between the data input order and the data output order and the relationship between the total data input and the total data output. It is an object of the present invention to provide a pipeline circuit capable of performing the above.

【0008】[0008]

【課題を解決するための手段】上記課題を解決するため
に本発明のパイプライン回路は、パイプラインを構成す
る複数の回路ブロックによりデータ処理を順次行うパイ
プライン回路であって、前記複数の回路ブロックにそれ
ぞれ接続されてデータの入出力を行うデータ格納手段を
設けたものである。
In order to solve the above problems, a pipeline circuit according to the present invention is a pipeline circuit for sequentially performing data processing by a plurality of circuit blocks forming a pipeline. A data storage means is provided which is connected to each block and inputs and outputs data.

【0009】[0009]

【作用】上記構成により、複数の回路ブロックにそれぞ
れ接続されてデータの入出力を行うデータ格納手段を設
けたので、データ格納手段内に格納されたデータに関し
ては任意の順に読み出して処理することが可能であり、
また、パイプラインを構成する各回路ブロックの段間の
データ送受にデータ格納手段を用い、各回路ブロックの
処理結果を一時データ格納手段内に格納するので、処理
データが入力データに対して増減しても問題ない。
With the above structure, since the data storage means for inputting and outputting the data is respectively connected to the plurality of circuit blocks, the data stored in the data storage means can be read and processed in any order. Is possible,
Further, since the data storage means is used for data transmission / reception between the stages of each circuit block forming the pipeline and the processing result of each circuit block is stored in the temporary data storage means, the processed data is increased or decreased with respect to the input data. But no problem.

【0010】[0010]

【実施例】以下、本発明の一実施例について図面を参照
しながら説明する。図1は本発明の一実施例のパイプラ
イン回路の構成を示すブロック図である。図1におい
て、メモリやレジスタファイルなどのデータ格納手段と
してのメモリバンク11はデータの入出力を行う3個のバ
ンクa,b,cを有し、それぞれのバンクa,b,cの
出力端は回路ブロック12、13、14に接続され、また、回
路ブロック12、13の出力端はそれぞれバンクa,b,c
に接続されている。そして、メモリバンク11はパイプラ
インの各処理段すなわち回路ブロック12、13、14からア
クセス可能に構成され、回路ブロック12、13は処理結果
をメモリバンク11内にある所定バンクに格納する。ま
た、回路ブロック12はその後段の回路ブロック13、さら
にその後段の回路ブロック14に接続され、どのバンクに
格納したかのポインタを次段に転送し、また、バンクの
ポインタを受け取った回路ブロックはそのポインタの示
すバンク内のデータを処理する構成である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a pipeline circuit according to an embodiment of the present invention. In FIG. 1, a memory bank 11 as a data storage means such as a memory and a register file has three banks a, b and c for inputting / outputting data, and the output terminals of the respective banks a, b and c are It is connected to the circuit blocks 12, 13 and 14, and the output ends of the circuit blocks 12 and 13 are banks a, b and c, respectively.
It is connected to the. The memory bank 11 is configured to be accessible from each processing stage of the pipeline, that is, the circuit blocks 12, 13, and 14, and the circuit blocks 12, 13 store the processing result in a predetermined bank in the memory bank 11. The circuit block 12 is connected to the circuit block 13 in the subsequent stage and the circuit block 14 in the subsequent stage, transfers the pointer indicating which bank is stored to the next stage, and the circuit block receiving the pointer of the bank is This is a configuration for processing the data in the bank indicated by the pointer.

【0011】上記構成により、以下その動作を説明す
る。まず、時系列データD1〜D30中メモリバンク11の
バンクaに時系列データD1〜D10、バンクbに時系列
データD11〜D20、バンクcに時系列データD21〜D30
が入力される。バンクaに全データが格納された時点
で、回路ブロック12はバンクa内のデータに対して処理
を開始し、処理結果をバンクa内に格納する。処理終了
時点で回路ブロック12は回路ブロック13にメモリバンク
11のバンクaを示すポインタを転送する。回路ブロック
13はこのポインタから処理すべきデータがバンクaに格
納されていることを判定する。そして、バンクa内のデ
ータに対して回路ブロック13は処理を開始し、処理結果
をバンクa内に格納する。処理終了時点で回路ブロック
13は回路ブロック14にメモリバンク11のバンクaを示す
ポインタを転送する。回路ブロック14はこのポインタか
ら処理すべきデータがバンクaに格納されていることを
判定する。そして、バンクa内のデータに対して回路ブ
ロック14は処理を開始し、処理結果を出力する。
The operation of the above arrangement will be described below. First, among the time series data D1 to D30, the memory bank 11 has time series data D1 to D10 in bank a, time series data D11 to D20 in bank b, and time series data D21 to D30 in bank c.
Is entered. When all the data is stored in the bank a, the circuit block 12 starts processing the data in the bank a and stores the processing result in the bank a. At the end of the processing, the circuit block 12 is stored in the circuit block 13 as a memory bank.
The pointer indicating the bank a of 11 is transferred. Circuit block
13 determines from this pointer that the data to be processed is stored in bank a. Then, the circuit block 13 starts the processing on the data in the bank a and stores the processing result in the bank a. Circuit block at the end of processing
13 transfers the pointer indicating the bank a of the memory bank 11 to the circuit block 14. The circuit block 14 determines from this pointer that the data to be processed is stored in the bank a. Then, the circuit block 14 starts the processing on the data in the bank a and outputs the processing result.

【0012】ここで、ある時刻において回路ブロック14
がバンクa内のデータを処理していたとすると、回路ブ
ロック13はバンクb内のデータを、回路ブロック12はバ
ンクc内のデータを同時に処理していることになる。
At a certain time, the circuit block 14
If the data is in the bank a, the circuit block 13 is processing the data in the bank b, and the circuit block 12 is processing the data in the bank c at the same time.

【0013】したがって、各回路ブロック12、13、14は
同時に各データを処理していることになり、こうした処
理の並列化により処理速度の向上を図ることができる。
また、入力データを1度データバンク11内に格納するの
で、必要な順にデータバンク11からデータを読み出して
各回路ブロック12、13、14で順次データ処理をすること
ができる。すなわち、メモリバンク11内に格納されたデ
ータに関しては任意の順に読み出して処理することがで
きる。さらに、パイプラインの段間のデータ送受にメモ
リバンク11を用いるので、データバンク11のメモリ容量
の許す限りのデータを発生させることができる。すなわ
ち、処理結果を一時メモリバンク11内に格納するので、
処理データが入力データに対して増減しても問題ない。
Therefore, each circuit block 12, 13, 14 is processing each data at the same time, and the processing speed can be improved by parallelizing such processing.
Further, since the input data is stored once in the data bank 11, the data can be read out from the data bank 11 in a required order and sequentially processed by the respective circuit blocks 12, 13, 14. That is, the data stored in the memory bank 11 can be read and processed in any order. Further, since the memory bank 11 is used for transmitting and receiving data between the stages of the pipeline, it is possible to generate as much data as the memory capacity of the data bank 11 allows. That is, since the processing result is stored in the temporary memory bank 11,
There is no problem even if the processed data increases or decreases with respect to the input data.

【0014】[0014]

【発明の効果】以上のように本発明によれば、複数の回
路ブロックにそれぞれ接続されてデータの入出力を行う
データ格納手段を設けたことにより、入力データを1度
データ格納手段内に格納し、必要な順にデータ格納手段
からデータを読み出して各回路ブロックでデータ処理を
することができ、また、各回路ブロックの処理結果をデ
ータ格納手段に格納し、データ格納手段のメモリ容量の
許す限りのデータを発生させることができるなど、柔軟
性のあるデータ処理を行うことができるものである。
As described above, according to the present invention, by providing the data storage means which is connected to each of a plurality of circuit blocks to input / output data, the input data is stored once in the data storage means. However, data can be read out from the data storage means in the required order and data processing can be performed in each circuit block, and the processing result of each circuit block can be stored in the data storage means as long as the memory capacity of the data storage means permits. It is possible to perform flexible data processing, such as generation of data.

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

【図1】本発明の一実施例のパイプライン回路の構成を
示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a pipeline circuit according to an embodiment of the present invention.

【図2】従来のパイプライン回路の構成を示すブロック
図である。
FIG. 2 is a block diagram showing a configuration of a conventional pipeline circuit.

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

11 メモリバンク 12、13、14 回路ブロック 11 memory banks 12, 13, 14 circuit blocks

Claims (1)

【特許請求の範囲】 【請求項1】 パイプラインを構成する複数の回路ブロ
ックによりデータ処理を順次行うパイプライン回路であ
って、前記複数の回路ブロックにそれぞれ接続されてデ
ータの入出力を行うデータ格納手段を設けたパイプライ
ン回路。
Claim: What is claimed is: 1. A pipeline circuit for sequentially performing data processing by a plurality of circuit blocks forming a pipeline, the data being connected to each of the plurality of circuit blocks to input and output data. A pipeline circuit provided with storage means.
JP3164126A 1991-07-04 1991-07-04 Pipeline circuit Pending JPH0512011A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3164126A JPH0512011A (en) 1991-07-04 1991-07-04 Pipeline circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3164126A JPH0512011A (en) 1991-07-04 1991-07-04 Pipeline circuit

Publications (1)

Publication Number Publication Date
JPH0512011A true JPH0512011A (en) 1993-01-22

Family

ID=15787244

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3164126A Pending JPH0512011A (en) 1991-07-04 1991-07-04 Pipeline circuit

Country Status (1)

Country Link
JP (1) JPH0512011A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007510229A (en) * 2003-10-31 2007-04-19 ソニックス・インコーポレーテッド Method and apparatus for establishing a quality of service model

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007510229A (en) * 2003-10-31 2007-04-19 ソニックス・インコーポレーテッド Method and apparatus for establishing a quality of service model

Similar Documents

Publication Publication Date Title
US4766561A (en) Method and apparatus for implementing multiple filters with shared components
US4939684A (en) Simplified processor for digital filter applications
JP2752634B2 (en) Sorting device
EP0589662A2 (en) Digital signal processing system
JPS6238975A (en) Self-correlating apparatus
US6789097B2 (en) Real-time method for bit-reversal of large size arrays
JPH09259115A (en) Very Large Scale Integrated Circuit for Bit-Serial Matrix Transposition
JPS6211736B2 (en)
JP2518387B2 (en) Serial data transmission circuit
JPS6155686B2 (en)
JPH0267665A (en) Interface circuit
JPH0477349B2 (en)
JP2541697B2 (en) Pipeline arithmetic unit
JPH0668055A (en) Digital signal processor
CN120832171A (en) Vector decompression system and method
TW201643746A (en) Data allocating apparatus, signal processing apparatus, and data allocating method
JP2555171B2 (en) Bit judgment method
JPS6220590B2 (en)
JPH0667844A (en) Sorting method and sorting circuit
JPH01303525A (en) Data flow arithmetic circuit
JPH06259391A (en) Pipeline processing system configuration method
JPH05143289A (en) Adder circuit
JPH05143288A (en) Adder circuit
JPS62154140A (en) Merge processor
JPS6116364A (en) Vector data processor