JPH1188467A - Communication control lsi and method for reducing power consumption of the communication control lsi - Google Patents

Communication control lsi and method for reducing power consumption of the communication control lsi

Info

Publication number
JPH1188467A
JPH1188467A JP9244320A JP24432097A JPH1188467A JP H1188467 A JPH1188467 A JP H1188467A JP 9244320 A JP9244320 A JP 9244320A JP 24432097 A JP24432097 A JP 24432097A JP H1188467 A JPH1188467 A JP H1188467A
Authority
JP
Japan
Prior art keywords
communication control
clock
control lsi
protocol processing
power consumption
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
JP9244320A
Other languages
Japanese (ja)
Inventor
Tsutomu Utsuki
勉 宇津木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP9244320A priority Critical patent/JPH1188467A/en
Publication of JPH1188467A publication Critical patent/JPH1188467A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce the power consumption when a protocol processing communication control LSI is used for a low speed channel or a channel with a low operating rate. SOLUTION: A frequency divider circuit 28 generates pluralities of frequencies lower than a frequency of an LSI clock 90, a line speed detection circuit 20 obtains a ratio of the generated frequencies to a frequency of a channel clock 91, a supply clock selection control circuit 24 and a selector 29 select a frequency division clock with a lowest frequency in matching with the channel speed and the selected clock is fed to a protocol processing section 3. Furthermore, a task execution monitor circuit 30, a synchronization state display circuit 41 and a process request monitor circuit 40 detect and monitor whether or not the execution is required and the supply clock selection control circuit 24 discriminates totally the information to interrupt the supply of the clock in matching with the channel speed to the protocol processing section 3 and to reduce the frequency of the supply clock.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、消費電力低減回路
に関し、特に通信プロトコル制御LSIの消費電力低減
回路に関する。
The present invention relates to a power consumption reduction circuit, and more particularly to a power consumption reduction circuit of a communication protocol control LSI.

【0002】[0002]

【従来の技術】通信制御LSIはデータ交換機や通信制
御装置に組み込まれて通信プロトコル処理を実行する。
通信制御LSI等の超LSIはCMOS構造で、消費電
力はクロックの周波数に正比例することが一般的に知ら
れている。
2. Description of the Related Art A communication control LSI is incorporated in a data exchange or a communication control device to execute a communication protocol process.
It is generally known that a super LSI such as a communication control LSI has a CMOS structure, and that power consumption is directly proportional to a clock frequency.

【0003】一方、プロトコル処理を必要とする要因の
発生間隔は、回線上のフレームのデータ長やフレーム種
別が同一であれば、通信回線速度即ち回線クロックの周
波数に正比例する。
On the other hand, the intervals at which factors requiring protocol processing occur are directly proportional to the communication line speed, that is, the line clock frequency, if the data length and frame type of the frames on the line are the same.

【0004】又、マイクロプロセッサ等によるソフトウ
ェア的な命令実行を伴うプロトコル処理は、命令実行速
度がマイクロプロセッサへ供給されるクロックの周波数
と正比例する。
[0004] In a protocol process involving execution of software instructions by a microprocessor or the like, the instruction execution speed is directly proportional to the frequency of a clock supplied to the microprocessor.

【0005】従って、プロトコル処理を行うために供給
しなければならないクロックの周波数と、回線クロック
の周波数との間にも、正比例の関係が成り立ち、消費電
力とも正比例する関係が成り立つ。
Therefore, a direct proportional relationship is established between the frequency of the clock that must be supplied to perform the protocol processing and the frequency of the line clock, and a relationship also exists that is directly proportional to the power consumption.

【0006】従来の通信制御LSIは高速な回線、重い
プロトコル、かつ高い回線使用率で使われることを意識
して設計されている。
[0006] Conventional communication control LSIs are designed with consideration for use in high-speed lines, heavy protocols, and high line utilization.

【0007】一方、通信制御LSIが組み込まれる装置
側では、多種多様な条件を有する不特定多数の回線を収
容する必要と、周囲部品の点数削減によるコスト減を意
識し、装置全体で共有可能な周波数を持つクロック発信
源より単一周波数の制御用クロックを供給している。
On the other hand, on the device side in which the communication control LSI is incorporated, it is necessary to accommodate an unspecified number of lines having various conditions, and the cost can be reduced by reducing the number of peripheral parts. A single frequency control clock is supplied from a clock source having a frequency.

【0008】はじめに図24を参照して従来の通信制御
LSIの構成を説明する。
First, the configuration of a conventional communication control LSI will be described with reference to FIG.

【0009】リンクレイヤ(レベル2)以上の階層の通
信プロトコル処理を行う通信制御LSIは、通信プロト
コル処理をソフトウェアで行うためのマイクロプロセッ
サ(CPU)相当のプロトコル処理部3と、プロトコル
処理部3で実行するプログラムを格納するためのプログ
ラムメモリ部5と、プロトコル処理部3のワークデータ
を格納するワークメモリ部6と、通信制御LSIを制御
する上位装置(図示せず)からの制御情報や回線への送
信データ、及び、上位装置への報告情報や回線からの受
信データを転送するためのDMA転送制御や入出力制御
を行う上位インタフェース部7と、回線との同期制御や
キャラクタ組み立て分解等制御を行う回線接続部4とに
より構成されている。
A communication control LSI for performing communication protocol processing of a layer at or above the link layer (level 2) includes a protocol processing unit 3 corresponding to a microprocessor (CPU) for performing communication protocol processing by software, and a protocol processing unit 3. A program memory unit 5 for storing a program to be executed, a work memory unit 6 for storing work data of the protocol processing unit 3, and control information and lines from a higher-level device (not shown) for controlling the communication control LSI. The upper interface unit 7 which performs DMA transfer control and input / output control for transferring the transmission data of the communication device, the report information to the higher-level device, and the reception data from the line. And a line connection unit 4 for performing the connection.

【0010】LSIクロック信号90は分周回路等によ
る周波数低減を行うことなくプロトコル処理部3に供給
されていた。
The LSI clock signal 90 has been supplied to the protocol processing unit 3 without performing frequency reduction by a frequency dividing circuit or the like.

【0011】従来の通信制御LSIでは、例えば交換機
に使用されるとき、夜間・休日などの端末が一般的には
動いていない時間帯に使われている場合や、回線との接
続のない待装置側に使われている場合にも通信制御LS
Iに対しクロックを供給している。
In a conventional communication control LSI, for example, when used in an exchange, a terminal is usually used during a time period when the terminal is not operating, such as at night or on a holiday, or a standby device without connection to a line. Communication control LS even when used on the side
A clock is supplied to I.

【0012】つまり、従来の通信制御LSIでは、高速
回線の速度に対応したスループットを確保するためにリ
ンクレイヤのプロトコル処理を行うCPUブロックは常
時最高動作クロックで制御されている。これは低速回線
を使用している場合や、プロトコル処理を必要としない
フレーム送受信が途絶えた時等の空転処理中の場合も変
らない。
That is, in the conventional communication control LSI, the CPU block for performing the protocol processing of the link layer is always controlled by the maximum operation clock in order to secure the throughput corresponding to the speed of the high-speed line. This does not change when a low-speed line is used or during idle processing when frame transmission / reception that does not require protocol processing is interrupted.

【0013】このため、従来の通信制御LSIでは以下
のような問題を有する。
Therefore, the conventional communication control LSI has the following problems.

【0014】第1に、従来の通信制御LSIは回線速度
と関係なく一定周波数のクロックが供給されるため、回
線速度とは無関係に消費電力はほぼ一定になる。つま
り、従来の通信制御LSIは回線速度が低速であっても
高速時と変らない電力を消費する。
First, since the conventional communication control LSI is supplied with a clock having a constant frequency irrespective of the line speed, the power consumption becomes almost constant irrespective of the line speed. That is, the conventional communication control LSI consumes the same power even when the line speed is low as in the high speed.

【0015】第2に、プロトコルの軽重とは関係なく一
定周波数のクロックが供給されるため、プロトコルの軽
重と無関係に消費電力はほぼ一定である。つまり、実際
に処理しているプロトコルが軽い処理であっても、通信
制御LSIが処理できる最も重いプロトコルと同程度の
電力を消費してしまう。
Second, since a clock having a constant frequency is supplied irrespective of the protocol, the power consumption is substantially constant regardless of the protocol. In other words, even if the protocol actually being processed is a light process, the same power is consumed as the heaviest protocol that the communication control LSI can process.

【0016】第3に、回線使用率とは関係なく一定周波
数のクロックが供給されるため、回線使用率と無関係に
消費電力はほぼ一定である。つまり、実際には全ての回
線が未使用の状態であっても混雑時と変らない電力を消
費してしまう。
Third, since a clock having a constant frequency is supplied irrespective of the line usage rate, power consumption is substantially constant regardless of the line usage rate. In other words, even if all the lines are actually unused, the same power is consumed as during congestion.

【0017】第4に、実際に通信を実行しているか否か
に関係なく一定周波数のクロックが供給されているた
め、ほとんど通信が行われていない場合であっても電力
を消費してしまう。例としては、交換機に使用された場
合の夜間・休日などの時間帯がある。
Fourth, since a clock having a constant frequency is supplied regardless of whether communication is actually performed, power is consumed even when communication is hardly performed. Examples include time zones such as nights and holidays when used in exchanges.

【0018】第5に、回線速度に関係なく一定周波数の
クロックが供給されるため、プロトコル処理に必要なプ
ログラムやデータを格納するメモリを外付けにする場
合、一定値以上のアクセスタイムを保証する必要があ
る。つまり、例え回線速度が低速であっても高速なメモ
リを使用しなければならない。
Fifth, since a clock having a constant frequency is supplied irrespective of the line speed, when an external memory for storing programs and data required for protocol processing is externally provided, an access time of a certain value or more is guaranteed. There is a need. That is, even if the line speed is low, a high-speed memory must be used.

【0019】[0019]

【発明が解決しようとする課題】本発明が解決しようと
する課題は、消費電力が低い通信プロトコル処理用通信
制御LSIを提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a communication control LSI for processing a communication protocol with low power consumption.

【0020】回線接続部は回線速度に等しい周波数を持
つ回線クロックによって制御され、上位インタフェース
部は必要なときしかアクセスされない。このため、回線
接続部の低消費電力化は既に行われている。
The line connection is controlled by a line clock having a frequency equal to the line speed, and the upper interface is accessed only when necessary. For this reason, the power consumption of the line connection unit has already been reduced.

【0021】プロトコル処理部及びその配下となるプロ
グラムメモリ部及びワークメモリ部を対象に低消費電力
化を図る。
The power consumption of the protocol processing unit and the program memory unit and the work memory unit under the protocol processing unit are reduced.

【0022】本発明が解決しようとする他の課題は、構
成部品の入手を容易にするとともに、組み込まれる装置
の部品点数を削減することによる小型・軽量化を図るこ
とができる通信プロトコル処理用通信制御LSIを提供
することである。
Another object of the present invention is to provide a communication protocol processing communication which can easily obtain constituent parts and reduce the size and weight by reducing the number of parts of a device to be incorporated. The purpose is to provide a control LSI.

【0023】配下のプログラムメモリ部/ワークメモリ
部がLSI外付け構成で回線速度が低速の場合に、大容
量低速メモリの使用を許容することにより、構成部品の
入手容易性を向上すると共に装置の小型・軽量化を図
る。
When the subordinate program memory unit / work memory unit has an external LSI configuration and the line speed is low, the use of a large-capacity low-speed memory is allowed, so that the availability of the components is improved and the device can be used. Reduce size and weight.

【0024】[0024]

【課題を解決するための手段】本発明は、回線速度検出
回路にて、通信制御LSIが許容する最高通信速度、即
ち、回線クロックの再高周波数と、実際に供給される回
線クロックの比率を求め、その比率に基づきLSIクロ
ックを分周したより低い周波数を持つ複数のクロック源
より1つのクロックを選択しプロトコル処理部に供給す
ることにより、LSI消費電力を低減する。
According to the present invention, a line speed detecting circuit determines the maximum communication speed permitted by a communication control LSI, that is, the ratio of the line clock re-high frequency to the line clock actually supplied. The LSI power consumption is reduced by selecting one clock from a plurality of clock sources having a lower frequency obtained by dividing the LSI clock based on the ratio and supplying the clock to the protocol processing unit.

【0025】又、同期化中表示回路が、回線の閉塞状態
及び同期パターンを送受信している状態、及び、受信回
線の同期パターン受信待ち状態を表示している場合と、
処理要求監視回路が、送受信データのDMA転送中を表
示している場合と、タスク実行監視回路が、タスク発生
待ち状態を表示した場合は、プロトコル処理部に対する
クロック供給を中断することにより、さらに消費電力を
低減する。
Also, the case where the in-synchronization display circuit displays the closed state of the line and the state of transmitting and receiving the synchronization pattern, and the state of waiting for the reception of the synchronization pattern of the receiving line,
When the processing request monitoring circuit indicates that DMA transfer of transmission / reception data is being performed, and when the task execution monitoring circuit displays a task generation waiting state, the clock supply to the protocol processing unit is interrupted to further consume the clock. Reduce power.

【0026】本発明の消費電力低減方式は、LSIクロ
ック(図1の90)と回線クロック(図1の91)間の
周波数比率を求める回線速度検出回路(図1の20)
と、プロトコル処理のためのタスク処理を複数の要因対
応に分割して実行するタスク残数監視回路(図1の3
1)と、回線が閉塞又は同期パターンを送受信中かどう
かを表示監視する同期化中表示回路(図1の41)と、
回線がプロトコル処理を必要とするデータを転送中かど
うかを表示監視する処理要求監視回路(図1の40)
と、前記各種回路(図1の20、30、31、41、4
0)の入力に基づき通信制御LSI(図1の1)の回線
速度・プロトコルの軽重・時々刻々と変化する回線使用
率及び時間帯による回線使用率を総合的に判断して具体
的なプロトコル処理をソフトウェア的手法で行うプロト
コル処理部(図1の3)に供給するクロックの周波数を
可変制御する供給クロック選択制御回路(図1の24)
と、周波数の低い複数のクロック源を作る分周回路(図
1の28)と、複数のクロック源より供給クロック選択
制御回路の制御のもとに1つのクロック源を選択するセ
レクタ(図1の29)より構成され、プロトコル処理を
必要とする状態でのみ回線速度に比例する周波数を持つ
クロック(図1の102経由)をプロトコル処理部(図
1の3)に供給する手段と、データ長の短いフレーム連
続送受信時のプロトコル処理を必要とする間隔が狭ま
り、プロトコル処理部のタスク残数が急増し輻輳状態に
陥ることを避けるために、回線クロック周波数に比例し
ない高周波数を持つクロックを供給する手段(図9の2
44)と、プログラムメモリ部(図1の5)とワークメ
モリ部(図1の6)とがLSI外部に接続された場合
に、上位装置より指示されるメモリアクセスタイムの比
例を示すアクセスタイム記憶回路(図1の32)を有し
てアクセス速度の遅いメモリを接続時に輻輳状態に陥る
ための高周波数を持つクロックの供給を抑制する手段
(図1の24内の図9の245)を有する。
The power consumption reduction system of the present invention employs a line speed detection circuit (20 in FIG. 1) for obtaining a frequency ratio between an LSI clock (90 in FIG. 1) and a line clock (91 in FIG. 1).
And a task remaining number monitoring circuit (3 in FIG. 1) for executing task processing for protocol processing by dividing the task processing into a plurality of factors.
1) and a synchronization display circuit (41 in FIG. 1) for displaying and monitoring whether the line is blocking or transmitting / receiving a synchronization pattern.
Processing request monitoring circuit (40 in FIG. 1) for monitoring whether the line is transferring data requiring protocol processing.
And the various circuits (20, 30, 31, 41, 4 in FIG. 1)
Based on the input of 0), a specific protocol processing is performed by comprehensively judging the line speed of the communication control LSI (1 in FIG. 1), the lightness of the protocol, the line usage rate that changes every moment and the line usage rate according to the time zone. Clock selection control circuit (24 in FIG. 1) that variably controls the frequency of the clock supplied to the protocol processing unit (3 in FIG. 1) that performs the processing by software.
A frequency divider (28 in FIG. 1) for generating a plurality of clock sources having a low frequency; and a selector (FIG. 1) for selecting one clock source under the control of a supply clock selection control circuit from the plurality of clock sources. 29) for supplying a clock (via 102 in FIG. 1) having a frequency proportional to the line speed to the protocol processing unit (3 in FIG. 1) only when protocol processing is required; Supply a clock with a high frequency that is not proportional to the line clock frequency in order to prevent the interval required for protocol processing during continuous transmission and reception of short frames from narrowing and to avoid a sudden increase in the number of remaining tasks in the protocol processing unit and congestion. Means (2 in FIG. 9)
44) and access time storage indicating the proportion of the memory access time specified by the host device when the program memory section (5 in FIG. 1) and the work memory section (6 in FIG. 1) are connected to the outside of the LSI. A circuit (32 in FIG. 1) for suppressing supply of a clock having a high frequency for causing a memory having a low access speed to be in a congested state when connected is provided (245 in FIG. 1 and 245 in FIG. 9). .

【0027】[0027]

【発明の実施の形態】次に、図1を参照して本発明の1
実施の形態の構成を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, referring to FIG.
The configuration of the embodiment will be described.

【0028】分周回路28、回線速度検出回路20、供
給クロック選択制御回路24、及びセレクタ29の回路
を含むクロック制御部2を、新たなブロックとして追加
し、処理要求監視回路40と同期化中表示回路41とを
回線接続部4に追加し、タスク実行監視回路30とタス
ク残数監視回路31とアクセスタイム記憶回路32とを
プロトコル処理部3に追加している。
The clock control unit 2 including the frequency dividing circuit 28, the line speed detecting circuit 20, the supply clock selection control circuit 24, and the selector 29 is added as a new block, and is synchronized with the processing request monitoring circuit 40. The display circuit 41 is added to the line connection unit 4, and the task execution monitoring circuit 30, the remaining task number monitoring circuit 31, and the access time storage circuit 32 are added to the protocol processing unit 3.

【0029】更に、LSIクロック信号90とプロトコ
ル処理部3との間を新たに追加したクロック制御部2を
経由して信号線102を介して接続するように変更して
いる。
Further, the connection between the LSI clock signal 90 and the protocol processing unit 3 is changed via the signal line 102 via the newly added clock control unit 2.

【0030】[クロック制御部2]はじめに、図1を参
照して追加ブロック及び回路の目的と全体動作について
概略を説明する。
[Clock Control Unit 2] First, the purpose and overall operation of the additional block and circuit will be briefly described with reference to FIG.

【0031】プロトコル処理部3での消費電力低減を図
るためにクロック制御部2は、LSIクロック90より
低周波数の複数のクロック源を分周回路28にて作り、
LSIクロック90が回線クロック91の何倍の周波数
であるかを回線速度検出回路20にて測定し、その測定
結果の倍数と逆比例する、即ち回線速度に比例する周波
数を有する1つのクロックを、前記複数のクロック源よ
り供給クロック選択制御回路24の制御のもとにセレク
タ29にて選択し、プロトコル処理部3に供給する。
In order to reduce power consumption in the protocol processing unit 3, the clock control unit 2 generates a plurality of clock sources having a lower frequency than the LSI clock 90 in the frequency dividing circuit 28,
The frequency of the LSI clock 90 is measured by the line speed detection circuit 20 to determine how many times the frequency of the line clock 91, and one clock having a frequency inversely proportional to a multiple of the measurement result, that is, a frequency proportional to the line speed, Under the control of the supply clock selection control circuit 24 from the plurality of clock sources, the clock is selected by the selector 29 and supplied to the protocol processing unit 3.

【0032】更に、クロック制御部2は、回線接続部4
の同期化中表示回路41が回線閉塞又は同期化動作中、
及び、処理要求監視回路40が回線上のフレームのヘッ
ダー転送中でないこと、及び、プロトコル処理部3のタ
スク実行監視回路30が処理すべきタスクなしで空転処
理を行っていることを示した場合に、プロトコル処理部
3へのクロック供給を中断するか、より低い周波数に切
り替える制御を行う。
The clock control unit 2 further includes a line connection unit 4
During the synchronization display circuit 41 is during line blocking or synchronization operation,
And when the processing request monitoring circuit 40 indicates that the header of the frame on the line is not being transferred and that the task execution monitoring circuit 30 of the protocol processing unit 3 is performing idle processing without a task to be processed. , The control of interrupting the clock supply to the protocol processing unit 3 or switching to a lower frequency.

【0033】更に、プロトコル処理部3のタスク残数監
視回路31が処理能力不足即ちプロトコル処理部3に供
給されるクロック周波数が低すぎることを意味する輻輳
状態を示した場合には、より高い周波数に切り替える制
御を行う。
Further, when the task remaining number monitoring circuit 31 of the protocol processing unit 3 indicates a processing capacity shortage, that is, a congestion state indicating that the clock frequency supplied to the protocol processing unit 3 is too low, a higher frequency is set. Control to switch to.

【0034】更にアクセスタイム記憶回路32が高周波
数の供給を禁止することを示した場合にはより低い周波
数に切り替える制御を行う。
Further, when the access time storage circuit 32 indicates that supply of a high frequency is prohibited, control is performed to switch to a lower frequency.

【0035】[処理要求監視回路40&同期化中表示回
路41]次に図2と図3を参照して回線接続部4に追加
した処理要求監視回路40と同期化中表示回路41の動
作を説明する。
[Processing Request Monitoring Circuit 40 & Synchronizing Display Circuit 41] Next, the operation of the processing request monitoring circuit 40 and the synchronizing display circuit 41 added to the line connection unit 4 will be described with reference to FIGS. I do.

【0036】状態遷移制御回路44及び受信状態レジス
タ42及び送信状態レジスタ43は、従来から存在する
回路であり、フラグ同期方式をベースとする受信側の動
作一例を図3[A]に、送信側の動作一例を図3[B]
に状態遷移図の形で示す。
The state transition control circuit 44, the reception state register 42, and the transmission state register 43 are existing circuits. FIG. 3A shows an example of the operation on the reception side based on the flag synchronization method. FIG. 3B shows an example of the operation of FIG.
Is shown in the form of a state transition diagram.

【0037】受信状態レジスタ42は、図3[A]の4
01〜405にて示される、受信回路側の同期及び受信
データのシリアル−パラレル変換状況等をコード化し
た、複数の状態番号中の現状態番号を記憶する回路であ
る。
The reception status register 42 stores the value of 4 in FIG.
This is a circuit for storing the current state number among a plurality of state numbers, which codes the synchronization on the receiving circuit side and the serial-parallel conversion state of the received data, etc., which are indicated by 01 to 405.

【0038】送信状態レジスタ43は、図3[B]の4
20〜425にて示される送信回線側の同期及び送信デ
ータのパラレル−シリアル変換状況等をコード化した、
複数の状態番号中の現状態番号を記憶する回路である。
The transmission state register 43 stores the value of 4 in FIG.
The synchronization on the transmission line side indicated by reference numerals 20 to 425 and the parallel-to-serial conversion status of the transmission data are encoded.
This is a circuit for storing a current state number among a plurality of state numbers.

【0039】状態遷移制御回路44は、現状態番号と各
種遷移要因(図示せず)より状態遷移図に従って、次に
とるべき状態の決定及び現状態番号に基づく回線接続部
4の各種制御を行う回路である。
The state transition control circuit 44 determines the next state to be taken and performs various controls of the line connection unit 4 based on the current state number according to the state transition diagram based on the current state number and various transition factors (not shown). Circuit.

【0040】尚、送受信状態レジスタ42及び43から
の出力信号401〜405及び420〜425と状態遷
移図の現状態を示す番号とに同一番号を付することによ
り関係を明示してある。
It is to be noted that the relationship is clarified by giving the same numbers to the output signals 401 to 405 and 420 to 425 from the transmission / reception state registers 42 and 43 and the numbers indicating the current state of the state transition diagram.

【0041】処理要求監視回路40は、回線接続部4の
状態がプロトコル処理を必要もしくはすぐに必要とする
状態、即ち回線上でデータ送受信のために使用されるフ
レーム上のヘッダー部分の処理を行っている状態404
と422のOR条件を取る回路である。
The processing request monitoring circuit 40 performs processing of a state where the state of the line connection unit 4 requires or immediately requires protocol processing, that is, processing of a header portion on a frame used for data transmission / reception on the line. State 404
And 422 are OR circuits.

【0042】同期化中表示回路41は、回線接続部4の
状態がプロトコル処理を絶対必要としていない状態、即
ち、送受信共に回線閉塞又は同期化中又はタイムファイ
ル送受信中状態の401、402、403、420、4
21及び425のOR条件を取る回路である。
The in-synchronization display circuit 41 is in a state in which the state of the line connection unit 4 does not absolutely require protocol processing, that is, 401, 402, 403, in which the line is blocked or synchronized for transmission and reception or the time file is being transmitted / received. 420, 4
This is a circuit that takes the OR condition of 21 and 425.

【0043】尚、図3のキャラクタ送信状態423とキ
ャラクタ受信状態405はヘッダー以外のデータを、図
1の上位インタフェース部7に通常含まれると予想され
るDMA転送機能によりプロトコル処理部3の関与なし
に実行される場合は、同期化中表示回路41のOR条件
に加えてもよいが、さらに上位階層のヘッダーを含む場
合やプログラムによる転送等も考えられケースバイケー
スの状態なので同期化中表示回路41のOR条件に含め
ていない。
The character transmission state 423 and the character reception state 405 in FIG. 3 do not involve the protocol processing unit 3 due to the DMA transfer function expected to normally include data other than the header in the upper interface unit 7 in FIG. May be added to the OR condition of the in-synchronization display circuit 41. However, the case of including a higher-layer header or transfer by a program may be considered. Not included in the OR condition of 41.

【0044】[タスク実行監視回路30&タスク残数監
視回路31]次に図4と図5を参照してプロトコル処理
部3に追加したタスク実行監視回路30とタスク残数監
視回路31の動作を説明する。
[Task Execution Monitoring Circuit 30 & Remaining Task Monitoring Circuit 31] Next, the operation of the task execution monitoring circuit 30 and the remaining task monitoring circuit 31 added to the protocol processing unit 3 will be described with reference to FIGS. I do.

【0045】図5はプロトコル処理部3がCPUやマイ
クロプロセッサ相当の回路により、ソフトウェア即ちプ
ログラムメモリ部5に格納された各種命令により、割込
みレベルとベースレベルに分かれてリアルタイムOS的
な動作を行う場合の、タスク管理関係を簡単に示したフ
ローチャートの一例であり、図5の処理ボックスを示す
数字と図4の入力信号線との数字を同じにしてある。
FIG. 5 shows a case in which the protocol processing unit 3 performs an operation like a real-time OS by dividing into an interrupt level and a base level by various instructions stored in the software, that is, the program memory unit 5 by a circuit equivalent to a CPU or a microprocessor. 5 is an example of a flowchart simply showing the task management relationship, in which the numbers indicating the processing boxes in FIG. 5 and the numbers of the input signal lines in FIG. 4 are the same.

【0046】残タスク数カウンタ33は、プロトコル処
理プログラムの実行単位であるタスクの処理残数を数え
る機能であり、アップダウンカウンタを用いることによ
りハードウェアで、プロトコル処理部の有する加減算命
令を用いることによりソフトウェアで実現可能であり、
図5の306と328により計算され、図4では一例と
して8ビット構成の場合を示してある。
The remaining task counter 33 is a function for counting the number of tasks remaining to be executed, which is the unit of execution of the protocol processing program. The addition and subtraction instructions of the protocol processing unit are implemented by hardware by using an up / down counter. Can be realized by software.
It is calculated by 306 and 328 in FIG. 5, and FIG. 4 shows a case of an 8-bit configuration as an example.

【0047】タスク残数監視回路31は、残タスク数カ
ウンタ33の示す内容により、輻輳状態にあるかどうか
を監視表示する機能を持ち、一例として上位4ビットの
AND条件を取り4つのレベルに分けて監視表示する場
合を示す。
The remaining task number monitoring circuit 31 has a function of monitoring and displaying whether or not there is a congestion state based on the contents indicated by the remaining task number counter 33. For example, an AND condition of upper 4 bits is taken and divided into four levels. This shows the case of monitoring display.

【0048】タスク実行監視回路30は、プロトコル処
理部3が動作すべき状態にあるかどうか、即ち実行すべ
きタスクがなく空転処理中かどうかを監視表示する機能
を持ち、割込レベルの処理開始301と割込レベル処理
終了308の期間をRSラッチ380にて監視し、さら
に、実行中タスクのなくなったことをORゲート384
〜387で検出した後の最後の命令を実行するまでの期
間を、RSラッチ381にて監視し、ORゲート382
にて実行すべき割込処理もタスク処理もないことを外部
に表示する。
The task execution monitoring circuit 30 has a function of monitoring and displaying whether or not the protocol processing unit 3 is in a state of operation, that is, whether or not there is no task to be executed and idling is in progress. The period from the end 301 to the end of the interrupt level processing 308 is monitored by the RS latch 380.
The period up to execution of the last instruction after detection by .about.387 is monitored by the RS latch 381, and the OR gate 382
Indicates to the outside that there is no interrupt processing or task processing to be executed.

【0049】[回線速度検出回路20]次に、図6、図
7を参照して回線速度検出回路20の詳細動作を説明す
る。
[Line Speed Detecting Circuit 20] Next, the detailed operation of the line speed detecting circuit 20 will be described with reference to FIGS.

【0050】回線クロック91よりもLSIクロック9
0の周波数の方が高いのを利用して回線クロック91の
一周期分の間に入力されるLSIクロック90のパルス
信号をフリップフロップ201、202、ANDゲート
203で作り、そのパルス数をカウンタ204(図6で
は一例として8ビットの2進カウンタを用いてビット数
削減も考えてLSIクロック90を分周回路28にて低
減したクロック108を入力)にて計数することにより
LSIクロック90の回線クロックに対する周波数倍率
を求めて、結果を編集(図6では一例として回線速度を
4つのグループに分けるためにカウンタ204の出力を
2ビット単位でORゲート207、208、209、2
10に入力している。)して信号線107経由で供給ク
ロック選択制御回路24と接続している。
LSI clock 9 rather than line clock 91
Utilizing that the frequency of 0 is higher, a pulse signal of the LSI clock 90 input during one cycle of the line clock 91 is generated by the flip-flops 201 and 202 and the AND gate 203, and the number of pulses is counted by the counter 204. (In FIG. 6, for example, an 8-bit binary counter is used to reduce the number of bits in consideration of the number of bits, and the clock 108 reduced by the frequency dividing circuit 28 is input.) The line clock of the LSI clock 90 is counted. , And edit the result (in FIG. 6, for example, to divide the line speed into four groups, the output of the counter 204 is divided into OR gates 207, 208, 209, and 2 in units of 2 bits).
10 is input. ) And is connected to the supply clock selection control circuit 24 via the signal line 107.

【0051】参考までに、一例として挙げた図2での回
路構成でのグループ化について図8に記載する。図8で
は、LSIクロック25MHzの入力を許容し、処理可
能最大通信速度が6.144Mbpsでカウンタ204
のビット数8ビットでLSIクロック周波数を4分周
(1/4)後の入力を信号線108に接続している。
For reference, FIG. 8 shows grouping in the circuit configuration in FIG. 2 as an example. In FIG. 8, the input of a 25 MHz LSI clock is permitted, the maximum processable communication speed is 6.144 Mbps, and the counter 204
The input after dividing the LSI clock frequency by 4 (1 /) with 8 bits is connected to the signal line 108.

【0052】尚、図中のリセット信号92はLSIリセ
ット状態で回線クロック91が入力されていることを前
提に考えているが、入力されていない場合は別ルートか
らの測定開始指示信号とのORを取ることにより解消可
能である。
The reset signal 92 in the figure is based on the premise that the line clock 91 is input in an LSI reset state, but if it is not input, the reset signal 92 is ORed with a measurement start instruction signal from another route. Can be resolved by taking

【0053】[供給クロック選択制御回路24]次に図
9を参照して供給クロック選択制御回路24の詳細動作
を説明する。
[Supply Clock Selection Control Circuit 24] Next, the detailed operation of the supply clock selection control circuit 24 will be described with reference to FIG.

【0054】図9は、プロトコル処理部3の消費電力を
極限まで低減すると共に、発明が解決しようとする課題
で述べた第5の問題点及び本発明の実施に伴い予測され
る低速回線に低周波数のクロックを供給した場合に高速
回線では許されるが低速回線では許されない新たな課題
である輻輳状態の発生防止機能の付与にも対処したハー
ド規模最大構成の例を示し、各種入力と本回路自身の内
部構成の組み合わせを変えることにより、数十通りの構
成が考えられる。
FIG. 9 shows that the power consumption of the protocol processing unit 3 is reduced to the utmost, and that the fifth problem described in the problem to be solved by the invention and the low-speed line predicted with the implementation of the present invention are reduced. It shows an example of a maximum hardware scale configuration that addresses the new problem of preventing the occurrence of congestion, which is a new issue that is allowed on high-speed lines but not allowed on low-speed lines when a clock with a frequency is supplied. By changing the combination of its own internal configurations, several tens of configurations are possible.

【0055】そのうちのハード規模の大小及び低減効果
より考えられる代表的な実施例を図10〜図18に示
す。図9は図18の供給クロック選択制御回路と同一の
構成である。
FIGS. 10 to 18 show typical embodiments which can be considered based on the magnitude of the hardware scale and the effect of reduction. FIG. 9 has the same configuration as the supply clock selection control circuit of FIG.

【0056】信号線107A〜107D上には、回線速
度検出回路20から、又は、図19に示す分周数指定レ
ジスタ21からの、許容最高通信速度と実収容通信速度
の倍率を反映した最上位ビットを107A側とする数値
情報が入力される。
On the signal lines 107A to 107D, the highest rank reflecting the allowable maximum communication speed and the actual accommodating communication speed from the line speed detection circuit 20 or the frequency division number register 21 shown in FIG. Numerical information with the bit being on the 107A side is input.

【0057】信号線104上には、同期化中表示回路4
1から極性0の場合プロトコル処理必要なしを意味する
1ビットの情報が入力される。
On the signal line 104, a display circuit 4 during synchronization is provided.
When the polarity is from 1 to 0, 1-bit information indicating that no protocol processing is required is input.

【0058】信号線103上には、処理要求監視回路4
0から極性0の場合プロトコル処理必要なしを意味する
1ビットの情報が入力される。
On the signal line 103, the processing request monitoring circuit 4
When the polarity is 0 to 0, 1-bit information indicating that no protocol processing is required is input.

【0059】信号線105上には、タスク実行監視回路
30から極性0の場合プロトコル処理必要なしを意味す
る1ビットの情報が入力される。
On the signal line 105, 1-bit information is input from the task execution monitoring circuit 30 when the polarity is 0, meaning that protocol processing is not required.

【0060】信号線106A〜106Dには、タスク残
数監視回路31からプロトコル処理を必要とするタスク
の残数が最上位ビットを106A側とする数値情報が入
力される。
Numerical information is input to the signal lines 106A to 106D from the task remaining number monitoring circuit 31 so that the remaining number of tasks requiring protocol processing has the most significant bit on the 106A side.

【0061】タスク実行中回路241及び回線動作中回
路242及びヘッダー処理中回路243が、プロトコル
処理必要ありを信号線104又は103又は105に示
した場合には、プロトコル処理部3に供給するクロック
102の周波数情報を含む信号線107A〜107D上
の数値情報を条件組合せ回路244にそのまま中継し、
信号線104及び103及び105のすべてがプロトコ
ル処理必要なしを示した場合には信号線107A〜10
7D上の数値情報を“0”、即ち、クロック102の周
波数を0、即ちクロック102の供給中断指示に変更し
て条件組合せ回路244に中継する。
When the task executing circuit 241, the line operating circuit 242, and the header processing circuit 243 indicate that the protocol processing is necessary on the signal line 104, 103 or 105, the clock 102 supplied to the protocol processing unit 3 is used. Numerical information on the signal lines 107A to 107D including the frequency information of
If all of the signal lines 104, 103 and 105 indicate that no protocol processing is required, the signal lines 107A to 107A
The numerical information on 7D is changed to “0”, that is, the frequency of the clock 102 is changed to 0, that is, an instruction to interrupt the supply of the clock 102, and relayed to the condition combination circuit 244.

【0062】条件組合せ回路244は入力された信号の
論理輪を取るだけであるが、信号線106A〜106D
上の数値情報が信号線107A〜107D上の数値情報
よりも大きい場合、即ちプロトコル処理部3での処理を
必要とするタスク残数が大きくなり輻輳発生状態を表示
してきた場合には、クロック102の周波数を高くする
指示に変換する機能を持つ。
The condition combination circuit 244 merely takes the logical loop of the input signal, but the signal lines 106A to 106D
If the upper numerical information is larger than the numerical information on the signal lines 107A to 107D, that is, if the remaining number of tasks requiring the processing in the protocol processing unit 3 increases and the congestion occurrence state is displayed, the clock 102 It has a function to convert to an instruction to increase the frequency of

【0063】信号線111A及び111B上には、アク
セスタイム記憶回路32から極性1の場合高速クロック
供給禁止を意味する情報が入力され、高速クロック禁止
回路245はクロック102の周波数を低くする指示に
変換する機能を持つ。
Information indicating that high-speed clock supply is prohibited when the polarity is 1 is input from the access time storage circuit 32 to the signal lines 111A and 111B, and the high-speed clock prohibition circuit 245 converts the information into an instruction to lower the frequency of the clock 102. With the ability to

【0064】切替信号編集回路246は、信号線107
A〜107D又は信号線106A〜106D上の数値情
報が2のべき乗でない複数ビットが極性1を示した場合
に、セレクタ29の切替制御信号110A〜110E上
に1ビットだけ極性1にした信号を出力するための変種
迂回路で、基本的にはデコーダーで構成し上位出力信号
線数分、又は、上位出力信号を何本かずづORゲートで
まとめるグループ化のような編集を行いセレクタ29の
切替信号110の本数に等しい信号を出力する。
The switching signal editing circuit 246 is connected to the signal line 107
When the numerical information on the signal lines A to 107D or the signal lines 106A to 106D indicates a polarity 1 of a plurality of bits that are not a power of two, a signal in which only one bit has the polarity 1 is output on the switching control signals 110A to 110E of the selector 29. This is a variant detour to perform the editing such as grouping, which is basically composed of decoders and the number of higher-order output signal lines, or grouping of higher-order output signals by OR gates several times. A signal equal to the number of 110 is output.

【0065】切替信号編集回路246の具体的な回路例
を図20A及び図20Bに示す。
FIGS. 20A and 20B show specific circuit examples of the switching signal editing circuit 246. FIG.

【0066】図20Aはデコーダの上位出力信号を単純
にセレクタ29の切替信号として出力する例、図20B
はデコーダの上位出力信号を2本ずつORゲートでまと
め、グループ化した例である。
FIG. 20A shows an example in which the higher-order output signal of the decoder is simply output as a switching signal of selector 29, and FIG.
Is an example in which upper output signals of a decoder are grouped by OR gates two by two and grouped.

【0067】[セレクタ29]次に図21を参照してセ
レクタ29の動作を説明する。
[Selector 29] Next, the operation of the selector 29 will be described with reference to FIG.

【0068】図21Aはセレクタ入力信号の1本だけが
極性1を示す場合の回路例、図21Bはセレクタ入力信
号の複数本が極性1を示す場合の回路例で、セレクタ後
段のフリップフロップ291はクロックが割れたり幅が
狭まりヒゲ状態になることを防ぐための波形整形用フリ
ップフロップである。
FIG. 21A is a circuit example in which only one of the selector input signals has a polarity of 1, and FIG. 21B is a circuit example in which a plurality of selector input signals have a polarity of 1. A flip-flop 291 at the subsequent stage of the selector has This is a waveform shaping flip-flop for preventing the clock from being broken or the width being narrowed to be in a mustache state.

【0069】[分周数指定レジスタ21]分周数指定レ
ジスタ21は上位装置(図示せず)が上位インタフェー
ス部7及び信号線113経由で図1及び図6で示した回
線速度検出回路20にて検出するのと同様の情報、即
ち、LSIクロック90の回線クロック91に対する周
波数倍率を設定する形態を示す。
[Division number designating register 21] The frequency dividing number designating register 21 is transmitted to the line speed detection circuit 20 shown in FIGS. 1 and 6 by the higher-level device (not shown) via the higher-level interface unit 7 and the signal line 113. The same information as that detected by the LSI clock 90, that is, a mode of setting the frequency magnification of the LSI clock 90 with respect to the line clock 91 is shown.

【0070】図19の分周数指定レジスタ21を除く部
分については図1と同一なので説明は省略する。
The parts other than the division number designation register 21 in FIG. 19 are the same as those in FIG.

【0071】[0071]

【実施例】【Example】

(実施例1)次に本発明の実施例について図面を参照
し、先に説明した実施の形態との差分を中心にして簡単
に説明する。
(Embodiment 1) Next, an embodiment of the present invention will be briefly described with reference to the drawings, focusing on differences from the above-described embodiment.

【0072】図10は本発明の第1の実施例であり、回
線接続部4の同期化中表示回路41と供給クロック選択
制御回路24の回線動作中回路242のANDゲート1
個と波形整形用フリップフロップで構成され、回線接続
部4が閉塞状態であることを同期化中表示回路41が検
出すると信号線104の極性を1とし回線動作中回路2
42のANDゲートが閉じられ、信号線102によるプ
ロトコル処理部3へのクロック供給が中断されることに
よる通信制御LSIの消費電力低減方式である。
FIG. 10 shows a first embodiment of the present invention, in which the in-synchronization display circuit 41 of the line connection unit 4 and the AND gate 1 of the line operation circuit 242 of the supply clock selection control circuit 24 are shown.
And the waveform shaping flip-flop. When the in-synchronization display circuit 41 detects that the line connection unit 4 is in the closed state, the polarity of the signal line 104 is set to 1 and the line operation circuit 2 is turned on.
This is a method for reducing the power consumption of the communication control LSI by closing the AND gate 42 and interrupting the clock supply to the protocol processing unit 3 by the signal line 102.

【0073】(実施例2)図11は本発明の第2の実施
例であり、プロトコル処理部3の残タスクカウンタ33
とタスク実行監視回路30と供給クロック選択制御回路
24のタスク実行中回路241のANDゲート1個と波
形整形用フリップフロップによって構成され、残タスク
数カウンタ33とタスク実行監視回路30が割込み発生
及びそれに伴うタスク処理が全て終了した状態を検出す
ると信号線105の極性を0としタスク実行中回路24
1のANDゲートが閉じられ、信号線102によるプロ
トコル処理部3へのクロック供給が中断されることによ
る通信制御LSIの消費電力低減方式である。
(Embodiment 2) FIG. 11 shows a second embodiment of the present invention.
And one AND gate of the task execution circuit 241 of the supply clock selection control circuit 24 and the waveform shaping flip-flop, and the remaining task number counter 33 and the task execution monitoring circuit 30 When the state where all the accompanying task processes are completed is detected, the polarity of the signal line 105 is set to 0 and the task executing circuit 24 is set.
This is a method for reducing the power consumption of the communication control LSI by closing one AND gate and interrupting the clock supply to the protocol processing unit 3 by the signal line 102.

【0074】(実施例3)図12は本発明の第3の実施
例であり、クロック制御部2の回線速度検出回路20と
分周回路28とセレクタ29と、供給クロック選択制御
回路24の切替信号編集回路246によって構成され、
分周回路28にてLSIクロック90を分周した複数の
クロック源を作り、回線速度検出回路20にてLSIク
ロック90と回線クロック91の比率を求めて、切替信
号編集回路246にてセレクタ切替用信号に編集して、
複数のクロック源より通信速度に見合う低周波数のクロ
ックをセレクタ29にて選択し、プロトコル処理部3に
供給する通信制御LSIの消費電力低減方式である。
(Embodiment 3) FIG. 12 shows a third embodiment of the present invention, in which the line speed detection circuit 20, the frequency divider 28, the selector 29, and the supply clock selection control circuit 24 of the clock controller 2 are switched. A signal editing circuit 246,
A plurality of clock sources obtained by dividing the LSI clock 90 by the frequency dividing circuit 28 are generated, the ratio between the LSI clock 90 and the line clock 91 is determined by the line speed detecting circuit 20, and the selector signal is switched by the switching signal editing circuit 246. Edit it into a signal,
This is a method for reducing the power consumption of a communication control LSI in which a low-frequency clock that matches the communication speed is selected from a plurality of clock sources by a selector 29 and supplied to a protocol processing unit 3.

【0075】(実施例4)図13は本発明の第4の実施
例であり、上位装置(図示せず)より上位インタフェー
ス部7経由で分周数指定レジスタ21に対し、分周回路
28にてLSIクロック90を分周した複数のクロック
源からの選択情報の設定及び指示を出し、セレクタ29
にて選択しプロトコル処理部に供給する他律型の通信制
御LSIの消費電力低減方式である。
(Embodiment 4) FIG. 13 shows a fourth embodiment of the present invention, in which a higher-level device (not shown) supplies a frequency-division designation register 21 via a higher-level interface unit 7 to a frequency-division circuit 28. Setting and instructing selection information from a plurality of clock sources obtained by dividing the LSI clock 90 by the
This is a power-consumption reduction method of a heterogeneous communication control LSI selected and supplied to the protocol processing unit.

【0076】(実施例5)図14は本発明の第5の実施
例であり、図12の第3の実施例又は図13の第4の実
施例と、図10で示した第1の実施例とを組み合わせ、
供給クロック選択制御回路24の回線動作中回路242
を複数のANDゲートに置き換えた構成を取る、通信制
御LSIの消費電力低減方式である。
(Embodiment 5) FIG. 14 shows a fifth embodiment of the present invention, in which the third embodiment of FIG. 12 or the fourth embodiment of FIG. 13 and the first embodiment shown in FIG. Combine with the example,
Line operating circuit 242 of supply clock selection control circuit 24
Is replaced with a plurality of AND gates.

【0077】(実施例6)図15は本発明の第6の実施
例であり、図12の第3の実施例又は図13の第4の実
施例と、図11の第2の実施例とを組み合わせ、供給ク
ロック選択制御回路24のタスク実行中回路241を複
数のANDゲートに置き換えた構成を取る通信制御LS
Iの消費電力低減方式である。
(Embodiment 6) FIG. 15 shows a sixth embodiment of the present invention, which is similar to the third embodiment of FIG. 12 or the fourth embodiment of FIG. 13, the second embodiment of FIG. Communication control LS having a configuration in which the task execution circuit 241 of the supply clock selection control circuit 24 is replaced with a plurality of AND gates
This is a method for reducing the power consumption of I.

【0078】(実施例7)図16は本発明の第7の実施
例であり、プロトコル処理部3の残タスク数カウンタ3
3とタスク実行監視回路30とタスク残数監視回路31
と、クロック制御部2の分周回路28とセレクタ29と
供給クロック選択制御回路24の切替信号編集回路24
6より構成され、タスク残数監視回路31にてタスク実
行待ち行列に登録可能な最大タスク数と実際に登録され
た待ち状態にあるタスク数との比率を求め、分周回路2
8にて作られた複数のクロック源より比率に応じたLS
Iクロック90よりも低周波数のクロックをセレクタ2
9にて選択し、プロトコル処理部3に供給する通信制御
LSIの消費電力低減方式である。
(Embodiment 7) FIG. 16 shows a seventh embodiment of the present invention.
3. Task execution monitoring circuit 30 and remaining task number monitoring circuit 31
And a switching signal editing circuit 24 of the frequency dividing circuit 28, the selector 29, and the supply clock selection control circuit 24 of the clock control unit 2.
The frequency dividing circuit 2 calculates the ratio between the maximum number of tasks that can be registered in the task execution queue and the number of tasks that are actually registered in the waiting state by the remaining task number monitoring circuit 31.
LS according to ratio from multiple clock sources made in 8
A clock having a lower frequency than the I clock 90
9 is a method for reducing the power consumption of the communication control LSI selected and supplied to the protocol processing unit 3.

【0079】(実施例8)図17は本発明の第8の実施
例であり、図14の第5の実施例と図15の第6の実施
例と図16の第7の実施例とを組み合わせ、回線接続部
4に同期化中表示回路41の一部及び処理要求監視回路
40を追加、供給クロック選択制御回路24にヘッダー
処理中回路243及び条件組合せ回路244を追加した
構成を取り、本発明の実施の形態で説明した動作を行う
通信制御LSIの消費電力低減方式である。
(Embodiment 8) FIG. 17 shows an eighth embodiment of the present invention. The fifth embodiment shown in FIG. 14, the sixth embodiment shown in FIG. 15, and the seventh embodiment shown in FIG. This configuration has a configuration in which a part of the synchronizing display circuit 41 and the processing request monitoring circuit 40 are added to the line connection unit 4 and the header processing circuit 243 and the condition combination circuit 244 are added to the supply clock selection control circuit 24. This is a power consumption reduction method for a communication control LSI that performs the operation described in the embodiment of the present invention.

【0080】(実施例9)図18は本発明の第9の実施
例であり、プログラムメモリ部5又はワークメモリ部6
又は両方を通信制御LSIの外部に接続し、供給クロッ
ク選択制御回路24に高速クロック禁止回路245を追
加、プロトコル処理部3にアクセスタイム記憶回路32
を追加した構成を取り、外付けメモリのアクセスタイム
が遅い場合に高速クロック禁止回路245にて、プロト
コル処理部3に供給するクロックを第8の実施例におけ
る選択クロックよりも低い周波数に切り替える動作を行
う通信制御LSIの消費電力低減方式である。
(Embodiment 9) FIG. 18 shows a ninth embodiment of the present invention.
Or, connect both to the outside of the communication control LSI, add the high-speed clock prohibition circuit 245 to the supply clock selection control circuit 24, and add the access time storage circuit 32 to the protocol processing unit 3.
And the operation of switching the clock supplied to the protocol processing unit 3 to a lower frequency than the selected clock in the eighth embodiment by the high-speed clock inhibiting circuit 245 when the access time of the external memory is slow. This is a method for reducing the power consumption of the communication control LSI to be performed.

【0081】(回線速度検出回路20の第1の実施例)
図6は、回線速度検出回路20の第1の実施例であり、
本発明の実施形態にて説明した構成を取り、回線クロッ
ク91の一周期中に入力されるLSIクロック90のパ
ルス数を計数する機能を有することを特徴とする回線速
度検出回路である。
(First Embodiment of Line Speed Detection Circuit 20)
FIG. 6 shows a first embodiment of the line speed detection circuit 20,
A line speed detection circuit having the configuration described in the embodiment of the present invention and having a function of counting the number of pulses of the LSI clock 90 input during one cycle of the line clock 91.

【0082】(回線速度検出回路20の第2の実施例)
図22は、回線速度検出回路20の第2の実施例であ
り、図22及び図23を参照して、構成及び動作につい
て詳細に説明する。
(Second Embodiment of Line Speed Detection Circuit 20)
FIG. 22 shows a second embodiment of the line speed detection circuit 20, and the configuration and operation will be described in detail with reference to FIGS.

【0083】図22に示した回線速度検出回路は図23
のAの回線クロック911のような一周期が等間隔でな
いクロックと、回線クロック912のような一周期が等
間隔のクロックの両方に対応可能な回路の一例である。
The line speed detection circuit shown in FIG.
1A is an example of a circuit that can support both a clock whose one cycle is not equal in interval such as the line clock 911 of A and a clock whose one cycle is equal in interval such as the line clock 912.

【0084】リセット92解除直後からのANDゲート
223が一定値を検出するまでの間に、回線クロック9
1のパルス数をカウンタ221にて計数することによ
り、回線クロック一定数ビット分の時間をANDゲート
224に知らせ、その時間内に入力されるLSIクロッ
ク数をカウンタ225にて計数することにより、回線ク
ロックとLSIクロックの周波数比率を算出している。
During a period from immediately after the reset 92 is released until the AND gate 223 detects a constant value, the line clock 9
The number of 1 pulses is counted by the counter 221 to notify the AND gate 224 of the time corresponding to a fixed number of bits of the line clock, and the number of LSI clocks input within the time is counted by the counter 225 to obtain the line. The frequency ratio between the clock and the LSI clock is calculated.

【0085】図22の回路は、オクテット単位で複数回
線の送受信データを1本の送信又は受信データ信号線に
多重化し複数の通信制御LSIでデータ信号線を共有
し、回線クロック信号線を別々にして各々の通信制御L
SIに接続された場合の一例を示したものであり、カウ
ンタ221のビット数を増やすことにより、色々な種類
の多重化に対応可能となる。
The circuit of FIG. 22 multiplexes transmission / reception data of a plurality of lines into one transmission / reception data signal line in octet units, shares the data signal lines with a plurality of communication control LSIs, and separates the line clock signal lines. Each communication control L
This is an example in the case of connection to the SI, and it is possible to cope with various types of multiplexing by increasing the number of bits of the counter 221.

【0086】以上、本発明を実施の形態及び実施例に基
づいて説明したが、本発明はこれに限定されるものでは
なく、当業者の通常の知識の範囲内でその変更や改良が
可能であることは勿論である。
As described above, the present invention has been described based on the embodiments and examples. However, the present invention is not limited to these, and can be changed or improved within the ordinary knowledge of those skilled in the art. Of course there is.

【0087】[0087]

【発明の効果】第1の効果は、内部状態を監視検出する
ことにより、供給クロックを中断し、LSI全体の消費
電力を低減できるようになる。
The first effect is that, by monitoring and detecting the internal state, the supply clock is interrupted and the power consumption of the entire LSI can be reduced.

【0088】その理由は、CMOS構造を有するLSI
の消費電力は周波数に比例するからである。
The reason is that an LSI having a CMOS structure
This is because the power consumption is proportional to the frequency.

【0089】第2の効果は、回線速度に比例する低周波
数のクロックを供給することにより、LSI全体の消費
電力を低減できるようになる。
The second effect is that the power consumption of the entire LSI can be reduced by supplying a low frequency clock proportional to the line speed.

【0090】その理由は、CMOS構造を有するLSI
の消費電力は周波数に比例するからである。
The reason is that an LSI having a CMOS structure
This is because the power consumption is proportional to the frequency.

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

【図1】本発明の一実施の形態を示す全体ブロック図で
ある。
FIG. 1 is an overall block diagram showing an embodiment of the present invention.

【図2】図1の回線接続部のブロック図である。FIG. 2 is a block diagram of a line connection unit of FIG. 1;

【図3】図1の回線接続部の動作を示す状態遷移図であ
る。
FIG. 3 is a state transition diagram showing the operation of the line connection unit of FIG.

【図4】図1のプロトコル処理部のブロック図である。FIG. 4 is a block diagram of a protocol processing unit of FIG. 1;

【図5】図1のプロトコル処理部の動作を説明するフロ
ーチャートである。
FIG. 5 is a flowchart illustrating an operation of a protocol processing unit in FIG. 1;

【図6】図1のクロック制御部の回線速度検出回路のブ
ロック図である。
FIG. 6 is a block diagram of a line speed detection circuit of the clock control unit of FIG. 1;

【図7】図1のクロック制御部の回線速度検出回路のタ
イムチャートである。
FIG. 7 is a time chart of a line speed detection circuit of the clock control unit of FIG. 1;

【図8】図2での回路構成でのグループ化を説明する表
である。
FIG. 8 is a table illustrating grouping in the circuit configuration in FIG. 2;

【図9】図1のクロック制御部の供給クロック選択制御
回路のブロック図である。
FIG. 9 is a block diagram of a supply clock selection control circuit of the clock control unit of FIG. 1;

【図10】本発明の一実施例のブロック図である。FIG. 10 is a block diagram of one embodiment of the present invention.

【図11】本発明の一実施例のブロック図である。FIG. 11 is a block diagram of one embodiment of the present invention.

【図12】本発明の一実施例のブロック図である。FIG. 12 is a block diagram of one embodiment of the present invention.

【図13】本発明の一実施例のブロック図である。FIG. 13 is a block diagram of one embodiment of the present invention.

【図14】本発明の一実施例のブロック図である。FIG. 14 is a block diagram of one embodiment of the present invention.

【図15】本発明の一実施例のブロック図である。FIG. 15 is a block diagram of one embodiment of the present invention.

【図16】本発明の一実施例のブロック図である。FIG. 16 is a block diagram of one embodiment of the present invention.

【図17】本発明の一実施例のブロック図である。FIG. 17 is a block diagram of one embodiment of the present invention.

【図18】本発明の一実施例のブロック図である。FIG. 18 is a block diagram of one embodiment of the present invention.

【図19】本発明の他の実施の形態を示すブロック図で
ある。
FIG. 19 is a block diagram showing another embodiment of the present invention.

【図20】図9の切替信号編集回路の回路図である。FIG. 20 is a circuit diagram of the switching signal editing circuit of FIG. 9;

【図21】図1のセレクタの回路図である。FIG. 21 is a circuit diagram of the selector of FIG. 1;

【図22】本発明の一実施例のブロック図である。FIG. 22 is a block diagram of one embodiment of the present invention.

【図23】図22に示した一実施例のタイムチャートで
ある。
FIG. 23 is a time chart of the embodiment shown in FIG. 22;

【図24】従来の構成を示す全体ブロック図である。FIG. 24 is an overall block diagram showing a conventional configuration.

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

1 通信制御LSI 2 クロック制御部 3 プロトコル処理部 4 回線接続部 5 プログラムメモリ部 6 ワークメモリ部 7 上位インタフェース部 20 回線速度検出回路 21 分周数指定レジスタ 24 供給クロック選択制御回路 28 分周回路 29 セレクタ 40 処理要求監視回路 41 同期化中表示回路 42 受信状態レジスタ 43 送信状態レジスタ 44 状態遷移制御回路 90 LSIクロック入力信号線 91 回線クロック入力信号線 92 リセット入力信号線 102〜113 内部ブロック間接続信号線 241 タスク実行中回路 242 回線動作中回路 243 ヘッダ処理中回路 244 条件組合せ回路 245 高速クロック禁止回路 246 切替信号編集回路 247 デコーダ 291 波形整形フリップフロップ DESCRIPTION OF SYMBOLS 1 Communication control LSI 2 Clock control unit 3 Protocol processing unit 4 Line connection unit 5 Program memory unit 6 Work memory unit 7 Upper interface unit 20 Line speed detection circuit 21 Division number designation register 24 Supply clock selection control circuit 28 Frequency division circuit 29 Selector 40 Processing request monitoring circuit 41 Synchronization display circuit 42 Receiving status register 43 Transmission status register 44 State transition control circuit 90 LSI clock input signal line 91 Line clock input signal line 92 Reset input signal line 102 to 113 Connection signal between internal blocks Line 241 Circuit during task execution 242 Circuit during line operation 243 Circuit during header processing 244 Condition combination circuit 245 High-speed clock inhibit circuit 246 Switching signal editing circuit 247 Decoder 291 Waveform shaping flip-flop

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 通信プロトコル処理を実行するプロトコ
ル処理部を備える通信制御LSIの消費電力低減方法に
おいて、回線上の通信プロトコル処理を必要としない状
態を検出したときに、前記プロトコル処理部へのクロッ
ク供給を中断することを特徴とする通信制御LSIの消
費電力低減方法。
In a method for reducing power consumption of a communication control LSI including a protocol processing unit for executing a communication protocol process, a clock to the protocol processing unit is detected when a state in which a communication protocol process on a line is not required is detected. A method for reducing power consumption of a communication control LSI, characterized by interrupting supply.
【請求項2】 通信プロトコル処理を実行するプロトコ
ル処理部を備える通信制御LSIの消費電力低減方法に
おいて、割込み及び割込みに伴うタスク処理のいずれも
発生していないことを検出したときに前記プロトコル処
理部へのクロック供給を中断することを特徴とする通信
制御LSIの消費電力低減方法。
2. A method for reducing the power consumption of a communication control LSI including a protocol processing unit for executing a communication protocol process, wherein the protocol processing unit detects that neither an interrupt nor a task process accompanying the interrupt has occurred. Interrupting the clock supply to the communication control LSI.
【請求項3】 通信プロトコル処理を実行するプロトコ
ル処理部を備える通信制御LSIの消費電力低減方法に
おいて、許容最高通信速度と実際に収容する回線速度と
の比率を求め、前記通信制御LSIの制御用クロックの
周波数と前記プロトコル処理部への供給クロックの周波
数との間に、前記比率と比例関係を持たせることを特徴
とする通信制御LSIの消費電力低減方法。
3. A method for reducing the power consumption of a communication control LSI having a protocol processing unit for executing a communication protocol processing, wherein a ratio between an allowable maximum communication speed and a line speed actually accommodated is determined. A method for reducing power consumption of a communication control LSI, wherein a proportional relationship is provided between the frequency of a clock and the frequency of a clock supplied to the protocol processing unit.
【請求項4】 通信プロトコル処理を実行するプロトコ
ル処理部を備える通信制御LSIの消費電力低減方法に
おいて、前記通信制御LSIを備える通信装置の上位に
接続された上位装置からの指示に基づき、前記通信制御
LSIの制御用クロックの周波数と前記プロトコル処理
部への供給クロック周波数との間に比例関係を持たせる
ことを特徴とする通信制御LSIの消費電力低減方法。
4. A method for reducing power consumption of a communication control LSI including a protocol processing unit that executes a communication protocol process, wherein the communication control LSI is configured to perform the communication based on an instruction from a higher-level device connected to a higher-level device of the communication device including the communication control LSI. A method for reducing power consumption of a communication control LSI, wherein a proportional relationship is provided between a frequency of a control clock of the control LSI and a clock frequency supplied to the protocol processing unit.
【請求項5】 通信プロトコル処理を実行するプロトコ
ル処理部を備える通信制御LSIの消費電力低減方法に
おいて、請求項3及び4のいずれかに記載の通信制御L
SIの消費電力低減方法と、請求項1記載の通信制御L
SIの消費電力低減方法とを組み合わせたことを特徴と
する通信制御LSIの消費電力低減方法。
5. A communication control LSI according to claim 3, wherein said communication control LSI includes a protocol processing unit for executing a communication protocol process.
2. A method for reducing power consumption of an SI, and a communication control method according to claim 1.
A method for reducing power consumption of a communication control LSI, which is combined with a method of reducing power consumption of an SI.
【請求項6】 通信プロトコル処理を実行するプロトコ
ル処理部を備える通信制御LSIの消費電力低減方法に
おいて、請求項3及び4のいずれかに記載の通信制御L
SIの消費電力低減方法と、請求項2記載の通信制御L
SIの消費電力低減方法とを組み合わせたことを特徴と
する通信制御LSIの消費電力低減方法。
6. A communication control LSI according to claim 3, wherein said communication control LSI includes a protocol processing unit for executing a communication protocol process.
3. A method for reducing power consumption of an SI, and a communication control L according to claim 2.
A method for reducing power consumption of a communication control LSI, which is combined with a method of reducing power consumption of an SI.
【請求項7】 通信プロトコル処理を実行するプロトコ
ル処理部を備える通信制御LSIの消費電力低減方法に
おいて、待ち行列に登録可能な最大タスク数と実行待ち
タスク数の比率を求め、LSI制御用クロックの周波数
とプロトコル処理部への供給クロック周波数との間に、
求めた比率と比例関係を持たせることを特徴とする通信
制御LSIの消費電力低減方法。
7. A power control method for a communication control LSI including a protocol processing unit for executing a communication protocol process, wherein a ratio between a maximum number of tasks that can be registered in a queue and a number of tasks waiting to be executed is obtained, and a ratio of an LSI control clock is determined. Between the frequency and the clock frequency supplied to the protocol processing unit,
A method for reducing power consumption of a communication control LSI, characterized by providing a proportional relationship with the determined ratio.
【請求項8】 通信プロトコル処理を実行するプロトコ
ル処理部を備える通信制御LSIの消費電力低減方法に
おいて、請求項5及び6のいずれかに記載の通信制御L
SIの消費電力低減方法と、請求項7記載の通信制御L
SIの消費電力低減方法とを組み合わせたことを特徴と
する通信制御LSIの消費電力低減方法。
8. A communication control LSI according to claim 5, wherein said communication control LSI includes a protocol processing unit for executing communication protocol processing.
8. A method for reducing power consumption of an SI, and a communication control method according to claim 7.
A method for reducing power consumption of a communication control LSI, which is combined with a method of reducing power consumption of an SI.
【請求項9】 請求項8記載の通信制御LSIの消費電
力低減方法において、更に、前記プロトコル処理部への
供給クロックの周波数を制限することを特徴とする通信
制御LSIの消費電力低減方法。
9. The method for reducing power consumption of a communication control LSI according to claim 8, further comprising limiting a frequency of a clock supplied to said protocol processing unit.
【請求項10】 通信プロトコル処理を実行するプロト
コル処理部を備える通信制御LSIにおいて、回線クロ
ック一周期中に入力される前記通信制御LSIの制御ク
ロックのパルス数を計数する機能を有することを特徴と
する通信制御LSI。
10. A communication control LSI including a protocol processing unit for executing a communication protocol process, wherein the communication control LSI has a function of counting the number of control clock pulses of the communication control LSI input during one cycle of a line clock. Communication control LSI.
【請求項11】 通信プロトコル処理を実行するプロト
コル処理部を備える通信制御LSIにおいて、回線クロ
ックのパルス数を一定値になるまで計数し、その間に入
力される前記通信制御LSIの制御クロックのパルス数
を計数する機能を有することを特徴とする通信制御LS
I。
11. A communication control LSI including a protocol processing unit for executing a communication protocol processing, wherein the number of line clock pulses is counted until a predetermined value is reached, and the number of control clock pulses of the communication control LSI input during that time is counted. Communication control LS characterized by having a function of counting
I.
JP9244320A 1997-09-09 1997-09-09 Communication control lsi and method for reducing power consumption of the communication control lsi Pending JPH1188467A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9244320A JPH1188467A (en) 1997-09-09 1997-09-09 Communication control lsi and method for reducing power consumption of the communication control lsi

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9244320A JPH1188467A (en) 1997-09-09 1997-09-09 Communication control lsi and method for reducing power consumption of the communication control lsi

Publications (1)

Publication Number Publication Date
JPH1188467A true JPH1188467A (en) 1999-03-30

Family

ID=17116976

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9244320A Pending JPH1188467A (en) 1997-09-09 1997-09-09 Communication control lsi and method for reducing power consumption of the communication control lsi

Country Status (1)

Country Link
JP (1) JPH1188467A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6782482B2 (en) 2000-04-17 2004-08-24 Murata Kikai Kabushiki Kaisha Image processing apparatus has a CPU that reduces operation capability of large scale integration circuit by switching large scale integration circuit to low power save mode
JP2005322144A (en) * 2004-05-11 2005-11-17 Namco Ltd Image generation program, information storage medium, and image generation system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6782482B2 (en) 2000-04-17 2004-08-24 Murata Kikai Kabushiki Kaisha Image processing apparatus has a CPU that reduces operation capability of large scale integration circuit by switching large scale integration circuit to low power save mode
JP2005322144A (en) * 2004-05-11 2005-11-17 Namco Ltd Image generation program, information storage medium, and image generation system
JP4528027B2 (en) * 2004-05-11 2010-08-18 株式会社バンダイナムコゲームス Image generation program, information storage medium, and image generation system

Similar Documents

Publication Publication Date Title
RU2566330C2 (en) Performance and traffic aware heterogeneous interconnection network
KR0177536B1 (en) Information processing apparatus, processing method thereof, and power supply control method therefor
US7624215B2 (en) Interrupt controller
TWI416413B (en) Work processing device
US20140003280A1 (en) Network switching device
US20110022871A1 (en) System-On-Chip Queue Status Power Management
US11340671B2 (en) Protocol level control for system on a chip (SOC) agent reset and power management
WO2000045258A1 (en) Register transfer unit for electronic processor
JPH11261702A (en) System optimization controlling by predicting load
JP2013069110A (en) Control device and program
JP2004054766A (en) Information processor
JP2001517025A (en) Computer
US7434079B2 (en) Microcomputer, method of controlling cache memory, and method of controlling clock
US20100070793A1 (en) Clock supply device
JP4817834B2 (en) Interrupt control device and interrupt control method
JPH0991254A (en) Power consumption reduction control system and method therefor
JPH1188467A (en) Communication control lsi and method for reducing power consumption of the communication control lsi
WO2019023068A1 (en) Method for dynamic arbitration of real-time streams in the multi-client systems
JPH11110363A (en) Multiprocessor system
JPH11345129A (en) Interval timer circuit
CN117724810A (en) Chip system, chip management method, device, storage medium and electronic equipment
JP3980401B2 (en) Memory access control system and memory access control method
JPH1049248A (en) Microcomputer
JPH09179803A (en) Serial data transfer device
JP2005032019A (en) Bus arbitrating system for amba

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030312