JPH05282144A - Pipeline processor - Google Patents
Pipeline processorInfo
- Publication number
- JPH05282144A JPH05282144A JP25545491A JP25545491A JPH05282144A JP H05282144 A JPH05282144 A JP H05282144A JP 25545491 A JP25545491 A JP 25545491A JP 25545491 A JP25545491 A JP 25545491A JP H05282144 A JPH05282144 A JP H05282144A
- Authority
- JP
- Japan
- Prior art keywords
- data
- temporary storage
- data input
- upper limit
- input request
- 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
Links
Landscapes
- Advance Control (AREA)
- Communication Control (AREA)
Abstract
(57)【要約】
【目的】 本発明は、データ供給部とパイプライン処理
部間の、断続的データ送受によって生ずるオーバーヘッ
ドが小さいパイプライン処理装置を提供することを目的
とする。
【構成】 パイプライン処理装置の入力段に設けられ
た、一時記憶の残量を示す一時記憶残量カウンタ401
の値は、予め設定された上限値403、下限値406と
比較される。上限比較器402、下限比較器405の出
力に基づき、ヒステリシス特性を有するデータ入力要求
発生部406が、データ供給部に対して出力するデータ
入力要求信号307を制御する。
(57) [Summary] [Object] An object of the present invention is to provide a pipeline processing device in which overhead caused by intermittent data transmission and reception between a data supply unit and a pipeline processing unit is small. [Structure] Temporary storage remaining amount counter 401, which is provided at the input stage of a pipeline processing device and indicates the remaining amount of temporary storage
The value of is compared with the preset upper limit value 403 and lower limit value 406. Based on the outputs of the upper limit comparator 402 and the lower limit comparator 405, the data input request generation unit 406 having a hysteresis characteristic controls the data input request signal 307 output to the data supply unit.
Description
【0001】[0001]
【産業上の利用分野】本発明は、供給されるデータを逐
次高速処理するパイプライン処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pipeline processing apparatus for sequentially processing supplied data at high speed.
【0002】[0002]
【従来の技術】従来のパイプライン処理装置としては、
例えば、特開昭59ー16053「パイプライン演算装
置」に示されているものがある。図3は前記引用例を、
本発明との比較を容易にするために書き直したものであ
る。図において、データ供給部301は一時記憶302
に対してデータを供給する。一時記憶302は供給され
たデータを一旦記憶した後、パイプライン処理部303
へ送出する。一時記憶制御部304は、書き込み指示信
号305に基づく前記データ供給部301からのデータ
書き込み、あるいは、読み出し指示信号306に基づく
前記パイプライン処理部303へのデータ読み出しを制
御するとともに、前記一時記憶302において空き領域
がない場合に、データ入力要求信号307を制御して前
記データ供給部301からのデータ送出を停止させる。2. Description of the Related Art As a conventional pipeline processing device,
For example, there is one disclosed in Japanese Patent Laid-Open No. 59-16053 “Pipeline arithmetic unit”. Figure 3 shows the above example
It is rewritten for easy comparison with the present invention. In the figure, a data supply unit 301 is a temporary storage 302.
Supply data to. The temporary storage 302 temporarily stores the supplied data, and then the pipeline processing unit 303.
Send to. The temporary storage control unit 304 controls the data writing from the data supply unit 301 based on the write instruction signal 305 or the data reading to the pipeline processing unit 303 based on the read instruction signal 306, and the temporary storage 302. When there is no free area at, the data input request signal 307 is controlled to stop the data transmission from the data supply unit 301.
【0003】次に、動作について説明する。Next, the operation will be described.
【0004】データ供給部301は、通常、ハードワイ
ヤードロジック、あるいは、中央演算処理装置などによ
って構成され、パイプライン処理するためのデータを格
納し、一時記憶302へデータを供給する。データ供給
部301とパイプライン処理部303の動作クロックは
一般的に異なるため、一時記憶302においては、単な
るデータ記憶のほかに、クロックの同期合わせが行われ
る。さて、データ供給部301からのデータ供給の際、
一時記憶302の記憶容量、あるいは、パイプライン処
理部303の処理速度等により、データ供給を断続的に
行う場合が一般的である。特に、データ供給部301の
データ供給速度に対して、パイプライン処理部303の
処理速度が遅い場合には、常に断続的なデータ供給しか
行うことができない。また、データ供給部301のデー
タ供給速度に対して、パイプライン処理部303の処理
速度が速い場合であっても、データ供給部301が他の
処理を行っている場合など、データ供給が断続的になら
ざるを得ない場合がある。さらに、一時記憶302の記
憶容量が小さい場合には、断続動作の周期が、一般に短
くなる。この断続的データ供給の制御を行うものが、一
時記憶制御部304である。即ち、データ供給部301
から供給されるデータを、パイプライン処理部303が
処理しきれず、一時記憶302にデータが満杯になった
時、一時記憶制御部304は、データ供給部301に対
して、データ入力要求信号307を使用して、データ供
給を一時停止させる。その後、パイプライン処理部30
3の処理が進み、一時記憶302に蓄えられていたデー
タ量が減少すると、一時記憶制御部304は、再び、デ
ータ入力要求信号307によって、データ供給部301
からのデータ供給を再開させる。The data supply unit 301 is usually constituted by a hard-wired logic or a central processing unit, stores data for pipeline processing, and supplies the data to the temporary storage 302. Since the operation clocks of the data supply unit 301 and the pipeline processing unit 303 are generally different, clock synchronization is performed in the temporary storage 302 in addition to simple data storage. Now, when data is supplied from the data supply unit 301,
Generally, data is intermittently supplied depending on the storage capacity of the temporary storage 302 or the processing speed of the pipeline processing unit 303. In particular, when the processing speed of the pipeline processing unit 303 is slower than the data supply speed of the data supply unit 301, only intermittent data supply can be performed at all times. Further, even when the processing speed of the pipeline processing unit 303 is faster than the data supply speed of the data supply unit 301, the data supply is intermittent, such as when the data supply unit 301 is performing other processing. In some cases, it is unavoidable. Furthermore, when the storage capacity of the temporary storage 302 is small, the cycle of the intermittent operation is generally short. The temporary storage control unit 304 controls the intermittent data supply. That is, the data supply unit 301
When the pipeline processing unit 303 cannot completely process the data supplied from the temporary storage unit 302 and the temporary storage unit 302 becomes full of data, the temporary storage control unit 304 sends a data input request signal 307 to the data supply unit 301. Use to suspend the data supply. After that, the pipeline processing unit 30
When the amount of data stored in the temporary storage 302 decreases as the processing of No. 3 progresses, the temporary storage control unit 304 again causes the data supply unit 301 to respond to the data input request signal 307.
Restart the data supply from.
【0005】さて、一時記憶制御部304は、例えば、
図4のように構成されている。図において、書き込み指
示信号305、および、読み出し指示信号306は、一
時記憶残量カウンタ401を、それぞれ、カウントアッ
プ、カウントダウンさせる。上限比較器402は、予め
設定されている一時記憶残量の上限値403と一時記憶
残量カウンタ値を比較する。また、データ入力要求発生
部404は、上限比較器402の出力をもとに、データ
入力要求信号307を発生させる。一時記憶残量カウン
タ401はアップダウンカウンタであり、データ供給部
301からデータが入力されると、書き込み指示信号3
05によってカウントアップされる。また、パイプライ
ン処理装置303から出力される読み出し指示信号30
6によってカウントダウンされる。一時記憶残量カウン
タ401の値は、次に、一時記憶残量の上限値403と
比較され、上限値403を越えたか否かが判別される。
一時記憶残量が上限値403を越えた時点で、データ入
力要求発生部404はデータ入力要求信号307の極性
を反転させ、データ供給部301からのデータ供給を一
時停止させる。以上の一時記憶残量制御の様子を示した
ものが図5である。まず、t=0からt=Aの時点まで
は時間とともに、一時記憶残量は上限値403に近づい
ていくが、上限値403を越えることはないので、デー
タ入力要求信号は要求状態のままである。t=Aでは、
一時記憶残量が上限値403を越えたため、データ入力
要求信号307は、一旦、非要求状態(データ入力停止
状態)となるが、t=Bにおいて、上限値403をきっ
たため、データ入力要求信号307は要求状態となる。
さらに、t=Cで上限値403を再び越えると、データ
入力要求307は非要求状態となり、t=Dで再び要求
状態となる。Now, the temporary storage control unit 304, for example,
It is configured as shown in FIG. In the figure, a write instruction signal 305 and a read instruction signal 306 cause the temporary storage remaining amount counter 401 to count up and count down, respectively. The upper limit comparator 402 compares a preset upper limit value 403 of the temporary storage remaining amount with a temporary storage remaining amount counter value. The data input request generation unit 404 also generates a data input request signal 307 based on the output of the upper limit comparator 402. The temporary storage remaining amount counter 401 is an up / down counter, and when data is input from the data supply unit 301, the write instruction signal 3
It is counted up by 05. Further, the read instruction signal 30 output from the pipeline processing device 303
Counted down by 6. The value of the temporary storage remaining amount counter 401 is then compared with the upper limit value 403 of the temporary storage remaining amount, and it is determined whether or not it has exceeded the upper limit value 403.
When the temporary storage remaining amount exceeds the upper limit value 403, the data input request generation unit 404 reverses the polarity of the data input request signal 307 and temporarily stops the data supply from the data supply unit 301. FIG. 5 shows a state of the above temporary storage remaining amount control. First, from t = 0 to t = A, the temporary storage remaining amount approaches the upper limit value 403 with time, but since it does not exceed the upper limit value 403, the data input request signal remains in the requested state. is there. At t = A,
The data input request signal 307 is once in the non-request state (data input stopped state) because the remaining temporary storage capacity exceeds the upper limit value 403. However, at t = B, since the upper limit value 403 is exceeded, the data input request signal is output. 307 is in a request state.
Further, when the upper limit value 403 is exceeded again at t = C, the data input request 307 becomes the non-request state, and at t = D, the request state is made again.
【0006】[0006]
【発明が解決しようとする課題】従来のパイプライン処
理装置は、上記のように構成されていたので、一時記憶
残量が上限値付近で上下する場合には、その度に、デー
タ入力要求信号を制御して、データ供給部を停止、ある
いは、再開させなければならなかった。このため、デー
タ供給部における、処理切換えによるオーバーヘッドが
増加し、処理性能が低下してしまうという欠点があっ
た。特に、データ供給部が中央演算処理装置を中心とし
て構成されている場合には処理性能の低下が著しい場合
がある。Since the conventional pipeline processing apparatus is constructed as described above, the data input request signal is sent each time the remaining temporary storage capacity rises or falls near the upper limit value. Had to control and restart the data supply. Therefore, there is a drawback in that the overhead due to the process switching in the data supply unit increases and the processing performance deteriorates. Particularly, when the data supply unit is mainly configured by the central processing unit, the processing performance may be significantly deteriorated.
【0007】[0007]
【課題を解決するための手段】本発明は、一時記憶制御
部において、一時記憶残量の上限値と下限値を設けて、
データ入力要求信号の制御にヒステリシス特性を持たせ
たものである。According to the present invention, an upper limit value and a lower limit value of a temporary storage remaining amount are provided in a temporary storage control unit,
The control of the data input request signal has a hysteresis characteristic.
【0008】[0008]
【作用】データ入力要求信号の要求、または、非要求へ
の変化点が、ヒステリシス特性を持たせることによっ
て、一時記憶残量の大きく変化する場合にのみに限られ
る。The change point to the request or non-request of the data input request signal is limited to the case where the temporary storage remaining amount largely changes by providing the hysteresis characteristic.
【0009】[0009]
【実施例】以下、この発明の実施例について図面を参照
しながら説明する。Embodiments of the present invention will be described below with reference to the drawings.
【0010】なお、ここで示す実施例において、パイプ
ライン処理装置全体のブロック図は、前記従来例におけ
る図3と同様であるため、説明を省略する。本実施例
が、前記従来例と異なる点は、図3における一時記憶制
御部304の内部構成であり、以下、その相違点を中心
に説明する。In the embodiment shown here, the block diagram of the entire pipeline processing apparatus is the same as that of FIG. The present embodiment is different from the conventional example in the internal configuration of the temporary storage control unit 304 in FIG. 3, and the difference will be mainly described below.
【0011】図1は本発明の実施例におけるパイプライ
ン処理装置の一時記憶制御部304のブロック図を示し
たものである。図において、書き込み指示信号305、
および、読み出し指示信号306は、一時記憶残量カウ
ンタ401を、それぞれ、カウントアップ、カウントダ
ウンさせる。上限比較器402、および、下限比較器4
05は、予め設定されている一時記憶残量の、上限値4
03、および、下限値406と一時記憶残量カウンタ値
を、それぞれ比較する。また、データ入力要求発生部4
04は、上限比較器402、および、下限比較器405
の出力をもとに、データ入力要求信号307を発生させ
る。一時記憶残量カウンタ401はアップダウンカウン
タであり、データ供給部301からデータが入力される
と、書き込み指示信号305によってカウントアップさ
れる。また、パイプライン処理装置303から出力され
る読み出し指示信号306によってカウントダウンされ
る。一時記憶残量カウンタ401の値は、次に、一時記
憶残量の上限値403、および、下限値406と比較さ
れ、上限値403、および、下限値406を越えたか否
かが判別される。一時記憶残量が、下限値406未満の
状態から上限値403を初めて越えた時点で、データ入
力要求発生部404はデータ入力要求信号307の極性
を反転させ、データ供給部301からのデータ供給を一
時停止させる。また、一旦、データ入力要求信号307
の極性を反転してデータ供給を停止させた場合には、そ
の後、最初に下限値406をきる時点までデータ供給停
止状態を保持する。この点が、従来例と相違する点であ
る。従って、例えば、一時記憶残量が上限値403と下
限値406の付近、あるいは、両者の間を細かく上下す
るような場合においても、データ入力要求信号307の
極性はむやみに変化しない。以上の一時記憶残量制御の
様子を示したものが図2である。図において、t=0か
ら時間とともに一時記憶残量は増加していき、t=Aの
時点で、初めて下限値406を越える。その後、t=B
まで下限値406付近、および、上限値403未満の範
囲を上下するが、初めて上限値403を越えるまではデ
ータ入力要求信号307は要求状態のままである。一時
記憶残量が下限値406未満の状態を経て、初めて上限
値403を越えるt=Bにおいて、データ入力要求信号
307は、非要求状態となる。その直後、再び、上限値
403をきったり、あるいは、下限値406付近まで落
ちるが、上限値403を最初に越えた時点t=Bから、
最初に下限値406をきる時点t=Cまではデータ入力
要求信号307は要求状態が保持される。t=Cを過ぎ
た後は、再び、初期状態となり、一時記憶残量が初めて
上限値403を越えるまで、データ要求入力信号307
は要求状態を保持し続ける。FIG. 1 is a block diagram of a temporary storage control unit 304 of a pipeline processing device according to an embodiment of the present invention. In the figure, a write instruction signal 305,
And the read instruction signal 306 causes the temporary storage remaining amount counter 401 to count up and count down, respectively. Upper limit comparator 402 and lower limit comparator 4
05 is the upper limit value 4 of the preset temporary storage remaining amount.
03, and the lower limit value 406 and the temporary storage remaining amount counter value are respectively compared. In addition, the data input request generation unit 4
04 is an upper limit comparator 402 and a lower limit comparator 405.
The data input request signal 307 is generated based on the output of The temporary storage remaining amount counter 401 is an up / down counter, and when data is input from the data supply unit 301, it is counted up by the write instruction signal 305. Further, it is counted down by the read instruction signal 306 output from the pipeline processing device 303. The value of the temporary storage remaining amount counter 401 is then compared with the upper limit value 403 and the lower limit value 406 of the temporary storage remaining amount, and it is determined whether or not the upper limit value 403 and the lower limit value 406 are exceeded. When the remaining temporary storage capacity exceeds the upper limit value 403 for the first time from the state where the temporary storage capacity is less than the lower limit value 406, the data input request generation unit 404 reverses the polarity of the data input request signal 307, and the data supply unit 301 supplies the data. Pause. In addition, once the data input request signal 307
When the data supply is stopped by reversing the polarity of, the data supply stopped state is maintained until the lower limit value 406 is first exceeded. This point is different from the conventional example. Therefore, for example, even when the temporary storage remaining amount is in the vicinity of the upper limit value 403 and the lower limit value 406, or between the both, the polarity of the data input request signal 307 does not change unnecessarily. FIG. 2 shows a state of the above temporary storage remaining amount control. In the figure, the temporary storage remaining amount increases with time from t = 0 and exceeds the lower limit 406 for the first time at the time of t = A. After that, t = B
Up and down near the lower limit 406 and below the upper limit 403, the data input request signal 307 remains in the required state until the upper limit 403 is exceeded for the first time. The data input request signal 307 becomes the non-request state at t = B when the temporary storage remaining amount is less than the lower limit value 406 and exceeds the upper limit value 403 for the first time. Immediately after that, the upper limit value 403 is again cut, or the value falls near the lower limit value 406, but from the time point t = B when the upper limit value 403 is first exceeded,
The request state of the data input request signal 307 is held until the time point t = C at which the lower limit value 406 is first exceeded. After passing t = C, the initial state is restored again, and the data request input signal 307 is kept until the temporary storage remaining amount exceeds the upper limit value 403 for the first time.
Keeps the requested state.
【0012】[0012]
【発明の効果】以上説明したように本発明によれば、デ
ータ入力要求信号の要求、または、非要求への変化点
が、ヒステリシス特性を持たせることによって、一時記
憶残量の大きく変化する場合にのみに限られるため、デ
ータ供給部における、処理切換えによるオーバーヘッド
が減少し、処理性能が向上する。なお、ヒステリシスの
度合は、上限値と下限値で挟まれる範囲を変えることに
よって、簡単に変化させることができるため、パイプラ
イン処理部の処理特性に応じて最適なものを選択するこ
とができる。また、上限値と下限値を一致させれば、従
来例と全く同様の機能を実現することができる。As described above, according to the present invention, when the change point to the request or non-request of the data input request signal has the hysteresis characteristic, the temporary storage remaining amount greatly changes. Since it is limited to only the above, the overhead due to the processing switching in the data supply unit is reduced and the processing performance is improved. Note that the degree of hysteresis can be easily changed by changing the range sandwiched by the upper limit value and the lower limit value, so that the optimum one can be selected according to the processing characteristics of the pipeline processing unit. Further, if the upper limit value and the lower limit value are made to coincide with each other, the same function as that of the conventional example can be realized.
【図1】 本発明の実施例によるパイプライン処理装置
の一時記憶制御部を示すブロック図である。FIG. 1 is a block diagram showing a temporary storage control unit of a pipeline processing device according to an embodiment of the present invention.
【図2】 本発明の実施例によるパイプライン処理装置
の一時記憶制御部の動作を説明するための図である。FIG. 2 is a diagram for explaining the operation of the temporary storage control unit of the pipeline processing device according to the embodiment of the present invention.
【図3】 本発明の実施例、および、従来例によるパイ
プライン処理装置のブロック図である。FIG. 3 is a block diagram of a pipeline processing device according to an embodiment of the present invention and a conventional example.
【図4】 従来例におけるパイプライン処理装置の一時
記憶制御部を示すブロック図である。FIG. 4 is a block diagram showing a temporary storage control unit of a pipeline processing device in a conventional example.
【図5】 従来例におけるパイプライン処理装置の一時
記憶制御部の動作を説明するための図である。FIG. 5 is a diagram for explaining the operation of a temporary storage control unit of a pipeline processing device in a conventional example.
301 データ供給部 302 一時記憶 303 パイプライン処理部 304 一時記憶制御部 305 書き込み指示信号 306 読み出し指示信号 307 データ入力要求信号 401 一時記憶残量カウンタ 402 上限比較器 403 上限値 404 データ入力要求発生部 405 下限比較器 406 下限値 301 data supply unit 302 temporary storage 303 pipeline processing unit 304 temporary storage control unit 305 write instruction signal 306 read instruction signal 307 data input request signal 401 temporary storage remaining amount counter 402 upper limit comparator 403 upper limit value 404 data input request generation unit 405 Lower limit comparator 406 Lower limit value
Claims (2)
同一、あるいは、異なるクロックで動作するデータ供給
系との同期差を吸収するとともに、データ供給系に対し
てデータ入力要求信号を発生させ、前記一時記憶手段の
空き領域が少ない、あるいは、存在しない場合には、前
記データ入力要求信号を制御して、データ入力を停止さ
せる制御回路を有するパイプライン処理装置において、 ヒステリシス特性を有する、データ入力要求信号制御手
段を備えたことを特徴とするパイプライン処理装置。1. A means for temporarily storing data to be supplied,
In the case where the synchronous difference with the data supply system operating with the same or different clock is absorbed and the data input request signal is generated to the data supply system, and the free space of the temporary storage means is small or does not exist. In the pipeline processing device having a control circuit for controlling the data input request signal to stop the data input, the pipeline processing device is provided with a data input request signal control means having a hysteresis characteristic. apparatus.
求信号制御手段は、一時記憶手段におけるデータ残量を
カウントするための残量カウンタと、 前記残量カウンタ値と上限値を比較するための上限比較
器と、 前記残量カウンタ値と下限値を比較するための下限比較
器と、 前記上限比較器、および、下限比較器の出力に基づき、
データ入力要求信号を制御するための制御回路、 から構成されていることを特徴とする請求項1記載のパ
イプライン処理装置。2. A data input request signal control means having a hysteresis characteristic, a residual quantity counter for counting the residual quantity of data in the temporary storage means, and an upper limit comparison for comparing the residual quantity counter value with an upper limit value. And a lower limit comparator for comparing the remaining amount counter value and the lower limit value, based on the outputs of the upper limit comparator and the lower limit comparator,
The pipeline processing device according to claim 1, further comprising: a control circuit for controlling a data input request signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25545491A JPH05282144A (en) | 1991-10-02 | 1991-10-02 | Pipeline processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25545491A JPH05282144A (en) | 1991-10-02 | 1991-10-02 | Pipeline processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH05282144A true JPH05282144A (en) | 1993-10-29 |
Family
ID=17278996
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP25545491A Pending JPH05282144A (en) | 1991-10-02 | 1991-10-02 | Pipeline processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH05282144A (en) |
-
1991
- 1991-10-02 JP JP25545491A patent/JPH05282144A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0507571A2 (en) | Receiving buffer control system | |
JP2002215599A (en) | Multiprocessor system and control method thereof | |
JPS62152043A (en) | Control system for instruction code access | |
JPH03139726A (en) | Instruction readout control system | |
JPH08147161A (en) | Data processor | |
JPH05282144A (en) | Pipeline processor | |
US20050210305A1 (en) | Data processor for controlling voltage supplied for processing | |
JPH03147157A (en) | Information processor | |
JP2003150283A (en) | Power control device and power control method | |
JPH02189658A (en) | Cache memory | |
JPH07334448A (en) | Data transfer controller | |
JPH0115900B2 (en) | ||
JPH08137703A (en) | Task switching device | |
JPH0573296A (en) | Microcomputer | |
JP2635863B2 (en) | Central processing unit | |
CN117499492A (en) | Data processing method, device and equipment | |
JPH11338712A (en) | Interruption sequence saving circuit | |
JPH07253920A (en) | Fifo ram controller | |
JPS59188757A (en) | Device for controlling address storage | |
JPS6158073A (en) | Data transfer control method | |
JPH04160459A (en) | Data transfer device | |
JPH1124941A (en) | Method and device for instruction execution control | |
JPH03177959A (en) | Store buffer controller | |
JPH02173828A (en) | Interruption process system | |
JPH0261721A (en) | Buffer memory controller |