JP2002259327A - Bus control circuit - Google Patents

Bus control circuit

Info

Publication number
JP2002259327A
JP2002259327A JP2001054955A JP2001054955A JP2002259327A JP 2002259327 A JP2002259327 A JP 2002259327A JP 2001054955 A JP2001054955 A JP 2001054955A JP 2001054955 A JP2001054955 A JP 2001054955A JP 2002259327 A JP2002259327 A JP 2002259327A
Authority
JP
Japan
Prior art keywords
bus
bits
control circuit
counter
width
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
JP2001054955A
Other languages
Japanese (ja)
Inventor
Hideki Yamazaki
秀樹 山崎
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2001054955A priority Critical patent/JP2002259327A/en
Publication of JP2002259327A publication Critical patent/JP2002259327A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Bus Control (AREA)
  • Memory System (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a bus control circuit which controls a buss width corresponding to a data traffic quantity on a microcomputer bus, has low power consumption suited to the needs of portable equipment, etc., and is provided with high performance. SOLUTION: The bus control circuit is provided with a counter 8 for counting the number of reading/writing times of a bus within a managing period by an internal timer 7, and has a circuit means for hardware-switching the bus width to 8 bits, 16 bits, 24 bits or 32 bits with the counted value of the counter 8 as the data traffic quantity of the bus and corresponding to the data traffic quantity. When the counted value of the counter 8 is small, an operation clock equivalent to the high-order bit of the bus is stopped to attain low power consumption. When the counted value of the counter is large, the bit number of the buss width is increased corresponding to the size to increase its data transfer capacity.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、マイクロコンピュ
ータのバス制御回路に係り、特に、携帯機器等の電池消
耗のを長時間化実現の為の低消費電力化と、必要な場合
の高いデータ処理能力確保、という半ば相反するニーズ
に応えるデータトラフィック監視機能付バス回路に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus control circuit for a microcomputer and, more particularly, to low power consumption for prolonging battery consumption of portable equipment and the like, and high data processing when necessary. The present invention relates to a bus circuit with a data traffic monitoring function that meets the half-conflicting needs of securing capacity.

【0002】[0002]

【従来の技術】一般に、マイクロコンピュータのバス
幅、例えば8ビットと16ビットのバス幅を切り替える
手段としては、株式会社日立製作所が発行したSH70
32、SH7034ハードウェアマニュアルADJ−6
02−077E、平成5年3月第1版、平成10年9月
第6版に記載されているように、アクセスアドレスや外
部制御ピン等によって切り替える切替手段が知られてい
る。
2. Description of the Related Art Generally, as a means for switching a bus width of a microcomputer, for example, a bus width of 8 bits or 16 bits, an SH70 issued by Hitachi, Ltd. is used.
32, SH7034 Hardware Manual ADJ-6
As described in Japanese Patent Application No. 02-077E, March 1993, 1st edition, and September 1998, 6th edition, switching means for switching by an access address, an external control pin or the like is known.

【0003】この他にも、各種の手段、例えば、特開昭
59−55525号公報には、外部からのセレクト信号
入力によって必要なバス幅を指定するようにしたマイク
ロプロセッサが開示されているが、この開示によるマイ
クロプロセッサは、バス上のデータトラフィック監視機
能を有していない。
In addition, various means, for example, Japanese Patent Laid-Open Publication No. Sho 59-55525, disclose a microprocessor in which a required bus width is designated by inputting an external select signal. The microprocessor according to this disclosure does not have a data traffic monitoring function on the bus.

【0004】また、特開平6−83765号公報には、
バス幅の指定端子を用いてバスサイジング制御機能を実
現するようにしたマイクロコンピュータが開示されてい
るが、この開示によるマイクロプロセッサも、バス上の
データトラフィック監視機能を有していない。
Japanese Patent Application Laid-Open No. 6-83765 discloses that
A microcomputer has been disclosed in which a bus sizing control function is realized by using a bus width designation terminal. However, the microprocessor according to this disclosure does not have a data traffic monitoring function on the bus.

【0005】さらに、特開平4−359335号公報に
は、バスに接続される装置のビット幅に応じてバス幅情
報をメモリアクセス方式選択部に取り込み、そのバス幅
情報によってバス幅を変更するメモリアクセス方式が開
示されており、特開平7−93245号公報には、中央
制御装置(CPU)からバス幅設定信号を送信すること
によってバス幅を変更する情報処理装置が開示されてい
る。しかし、これらに開示のものは、いずれも、バス上
のデータトラフィック情報に基づくバス幅制御は行って
いるものではない。
Further, Japanese Patent Application Laid-Open No. 4-359335 discloses a memory in which bus width information is taken into a memory access method selection section in accordance with the bit width of a device connected to a bus, and the bus width is changed based on the bus width information. An access method is disclosed, and JP-A-7-93245 discloses an information processing device that changes a bus width by transmitting a bus width setting signal from a central control device (CPU). However, none of those disclosed therein performs bus width control based on data traffic information on the bus.

【0006】これに対して、データトラフィック量の計
測を用いるものとして、特開平4−186443号公報
には、通信ネットワークにおける回線毎のトラフィック
量を測定し、中央処理装置と通信制御装置の接続切り替
えによって回線負荷分散を実現する負荷分散制御方式が
開示されており、特開平3−226045号公報には、
においては、転送先のトラフィックを計測し、その計測
結果に基づいてパケット待行列を制御する、ゲートウェ
イのパケット待行列操作によるパケット衝突制御方式が
が開示されており、特開平7−74761号公報には、
2つの通信チャネルのトラフィック量を検出し、トラフ
ィック量の少ないチャネルに切り替えるようにした主局
端末装置およびデータ通信システムが開示されている。
しかし、これらに開示のものは、いずれも、通信ネット
ワークシステムにおける回線性能の確保・向上を目的と
しているもので、マイクロコンピュータのバス上におけ
るハードウェア回路インプリメンテーションを着目した
ものではない。
On the other hand, Japanese Patent Application Laid-Open No. 4-186443 discloses a method of measuring the amount of data traffic, which measures the amount of traffic for each line in a communication network and switches the connection between the central processing unit and the communication control unit. A load distribution control method for realizing line load distribution is disclosed in JP-A-3-226045.
Discloses a packet collision control method based on a packet queuing operation of a gateway, which measures traffic at a transfer destination and controls a packet queuing based on a result of the measurement, which is disclosed in Japanese Patent Application Laid-Open No. 7-47661. Is
There is disclosed a master terminal device and a data communication system which detect the traffic amount of two communication channels and switch to a channel having a small traffic amount.
However, none of these disclosures aims at securing and improving line performance in a communication network system, and does not focus on hardware circuit implementation on a microcomputer bus.

【0007】[0007]

【発明が解決しようとする課題】前記既知の各種の技術
手段は、マイクロコンピュータのバス上のデータトラフ
ィック量が、データ処理内容に対応して大きく変化して
いるにも係わらず、当初に設定したバス幅を維持した状
態でフル動作しているものであるため、余分なバス幅に
相当する電力が無駄に消費されていることになる。
The above-mentioned various technical means are initially set even though the amount of data traffic on the bus of the microcomputer changes greatly in accordance with the contents of data processing. Since the full operation is performed while maintaining the bus width, the power corresponding to the extra bus width is wasted.

【0008】本発明は、このような技術的背景に鑑みて
なされたもので、その目的は、マイクロコンピュータバ
ス上のデータトラフィック量に応じてバス幅を制御し、
携帯機器等のニーズに適合した低い電力消費量を有し、
かつ、高い性能を備えたバス制御回路を提供することに
ある。
The present invention has been made in view of such a technical background, and an object of the present invention is to control a bus width according to a data traffic amount on a microcomputer bus,
With low power consumption that meets the needs of mobile devices, etc.
Another object of the present invention is to provide a bus control circuit having high performance.

【0009】[0009]

【課題を解決するための手段】前記目的を達成するため
に、本発明は、インターバルタイマによる管理期間内の
バスの読み出し書き込みの回数をカウントするカウンタ
を備え、そのカウンタのカウント値をバスのデータトラ
フィック量としてそのデータトラフィック量に対応して
バス幅を8ビット、16ビット、24ビット、32ビッ
トのいずれかにハードウェア的に切り替える回路手段を
有するバス制御回路であって、カウンタのカウント値が
小さいときは、バスの上位ビットに該当する動作クロッ
クを停止して低消費電力化を図り、一方、カウンタのカ
ウント値が大きいときは、その大きさに対応して前記バ
ス幅のビット数を増やしてそのデータ転送容量を増加す
るようにした手段を備える。
In order to achieve the above object, the present invention comprises a counter for counting the number of times of reading and writing of a bus within a management period by an interval timer, and counts the count value of the counter to the data of the bus. A bus control circuit having circuit means for hardware-switching the bus width to any one of 8-bit, 16-bit, 24-bit, and 32-bit corresponding to the data traffic amount as the traffic amount, wherein the count value of the counter is When the count is small, the operation clock corresponding to the upper bits of the bus is stopped to reduce the power consumption.On the other hand, when the count value of the counter is large, the number of bits of the bus width is increased corresponding to the size. Means for increasing the data transfer capacity.

【0010】前記手段によれば、所定期間内におけるバ
スの読み出し書き込みの回数をカウントしてそのカウン
ト数をバスのデータトラフィック量として捉え、そのカ
ウント数が一定値以上になったときに、カウント数に対
応してバス幅を拡げ、データフロー容量を確保してマイ
クロコンピュータ等の制御機器の制御機能を最大限引き
出し、そのカウント数が一定値以下であるときに、バス
幅を狭くしてデータ転送を継続し、その転送データ以外
のバス及びそのバス制御系の動作クロックを停止して電
力消費を抑え、全体的に低消費電力化とデータ転送機能
の効率化を図ることができ、このマイクロコンピュータ
等の制御機器を携帯電話機に使用した場合等におけるユ
ーザのニーズに即したものである。
According to the above means, the number of times of reading and writing of the bus within a predetermined period is counted, and the counted number is regarded as the amount of data traffic on the bus, and when the counted number exceeds a certain value, the counted number is counted. In order to maximize the control functions of microcomputers and other control devices by securing the data flow capacity, the bus width is narrowed and the data transfer is performed by narrowing the bus width when the count is less than a certain value. The power consumption is suppressed by stopping the operation clocks of the buses other than the transfer data and the bus control system, thereby reducing the power consumption and the efficiency of the data transfer function as a whole. This is in accordance with the needs of the user when the control device such as described above is used for a mobile phone.

【0011】[0011]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0012】図1は、本発明によるバス制御回路の一実
施の形態を示すもので、その要部構成を示すブロック図
であり、このバス制御回路を携帯電話機のマイクロコン
ピュータに使用したときの例を示すものである。
FIG. 1 shows an embodiment of a bus control circuit according to the present invention, and is a block diagram showing a main part of the bus control circuit. An example in which this bus control circuit is used in a microcomputer of a portable telephone is shown. It shows.

【0013】図1に示すように、バス制御回路は、バス
幅選択制御回路1と、バスコントローラ2と、中央処理
装置(CPU)3と、第1周辺回路4と、第2周辺回路
5と、第3周辺回路6等からなっている。
As shown in FIG. 1, the bus control circuit includes a bus width selection control circuit 1, a bus controller 2, a central processing unit (CPU) 3, a first peripheral circuit 4, and a second peripheral circuit 5. , A third peripheral circuit 6 and the like.

【0014】また、バス幅選択制御回路1は、インター
バルタイマー(IntervalTimer)7と、ア
ップカウンタ(UP Counter)8と、コンパレ
ータ(Comp−LH)9と、コンパレータ(Comp
−HL)11と、コンパレータ(Comp−HH)13
と、レジスタ(Reg LH)10と、レジスタ(Re
g HL)12、レジスタ(Reg HH)14と、遅
延回路(Delay)15と、フリップフロップ(FF
1〜FF6)16、17、18、19、20、21と、
オア回路(OR)22とを具備している。バスコントロ
ーラ2は、バスステートコントローラ(BSC−LL)
23と、バスステートコントローラ(BSC−LH)2
4と、バスステートコントローラ(BSC−HL)25
と、バスステートコントローラ(BSC−HH)26と
を具備している。第1周辺回路4は、周辺インターフェ
イス回路(PIF−LL)33と、周辺インターフェイ
ス回路(PIF−LH)34と、周辺インターフェイス
回路(PIF−HL)35と、周辺インターフェイス回
路(PIF−HH)36とを具備している。
The bus width selection control circuit 1 includes an interval timer (IntervalTimer) 7, an up counter (UP Counter) 8, a comparator (Comp-LH) 9, and a comparator (Comp).
-HL) 11 and a comparator (Comp-HH) 13
Register (Reg LH) 10 and register (Re
g HL) 12, a register (Reg HH) 14, a delay circuit (Delay) 15, and a flip-flop (FF)
1 to FF6) 16, 17, 18, 19, 20, 21;
An OR circuit (OR) 22 is provided. The bus controller 2 is a bus state controller (BSC-LL)
23 and a bus state controller (BSC-LH) 2
4 and bus state controller (BSC-HL) 25
And a bus state controller (BSC-HH) 26. The first peripheral circuit 4 includes a peripheral interface circuit (PIF-LL) 33, a peripheral interface circuit (PIF-LH) 34, a peripheral interface circuit (PIF-HL) 35, and a peripheral interface circuit (PIF-HH) 36. Is provided.

【0015】さらに、バスステートコントローラ(BS
C−LL)23と周辺インターフェイス回路(PIF−
LL)33との間にビット0〜7バス29が結合され、
バスステートコントローラ(BSC−LH)24と周辺
インターフェイス回路(PIF−LH)34との間にビ
ット8〜15バス30が結合され、バスステートコント
ローラ(BSC−HL)25と周辺インターフェイス回
路(PIF−HL)35との間にビット16〜23バス
31が結合され、バスステートコントローラ(BSC−
HH)26と周辺インターフェイス回路(PIF−H
H)36との間にビット24〜31バス32が結合され
ている。
Further, a bus state controller (BS)
C-LL) 23 and peripheral interface circuit (PIF-
LL) 33, a bit 0-7 bus 29 is coupled,
Bits 8 to 15 bus 30 are coupled between bus state controller (BSC-LH) 24 and peripheral interface circuit (PIF-LH) 34, and bus state controller (BSC-HL) 25 and peripheral interface circuit (PIF-HL) ) 35 and a bus 16 to bit 23 are connected, and a bus state controller (BSC-
HH) 26 and peripheral interface circuit (PIF-H)
H) 36, a bit 24 to 31 bus 32 is connected.

【0016】また、バス幅選択制御回路1における各構
成要素7乃至22は、図1に図示されるように相互接続
される。バス幅選択制御回路1とバスコントローラ2
は、図1に図示されるように接続され、バス幅選択制御
回路1と第1周辺回路4は、同じく図1に図示されるよ
うに接続されている。バスコントローラ2と第1周辺回
路4との間には、ライト(書き込み)制御信号線27
と、リード(読み出し)制御信号線28が接続されてい
る。なお、第2周辺回路5及び第3周辺回路6は、第1
周辺回路4とほぼ同じ構成のものである。
The components 7 to 22 in the bus width selection control circuit 1 are interconnected as shown in FIG. Bus width selection control circuit 1 and bus controller 2
Are connected as shown in FIG. 1, and the bus width selection control circuit 1 and the first peripheral circuit 4 are also connected as shown in FIG. A write (write) control signal line 27 is provided between the bus controller 2 and the first peripheral circuit 4.
And a read (read) control signal line 28 are connected. Note that the second peripheral circuit 5 and the third peripheral circuit 6
It has almost the same configuration as the peripheral circuit 4.

【0017】前記構成によるこのバス制御回路は、次の
ように動作する。
The bus control circuit having the above configuration operates as follows.

【0018】ライト制御信号線27に信号が伝送された
り、リード制御信号線28に信号が伝送されたりする
と、それらの信号はオア回路22において加算され、そ
の加算結果がパルス数として出力され、アップカウンタ
8に供給される。アップカウンタ8は、このパルス数を
カウントしてカウントアップされる。このとき、各レジ
スタ10、12、14には、予め中央制御装置3によっ
てそれぞれ異なる値が設定されており、アップカウンタ
8のカウント値は、レジスタ10の設定値とコンパレー
タ9で比較され、同様に、レジスタ12の設定値とコン
パレータ11で比較され、レジスタ14の設定値とコン
パレータ13で比較される。そして、これらの比較の結
果、カウント値がレジスタ10の設定値と一致したと
き、フリップフロップ16に「1」をセットし、同様に
して、カウント値がレジスタ12の設定値と一致したと
き、フリップフロップ17に「1」をセットし、カウン
ト値がレジスタ14の設定値と一致したとき、フリップ
フロップ18に「1」をセットする。
When a signal is transmitted to the write control signal line 27 or a signal is transmitted to the read control signal line 28, those signals are added in the OR circuit 22, and the addition result is output as the number of pulses, and It is supplied to the counter 8. The up counter 8 counts this pulse number and counts up. At this time, different values are set in advance in the respective registers 10, 12, and 14 by the central controller 3, and the count value of the up counter 8 is compared with the set value of the register 10 by the comparator 9, and similarly, , Is compared with the set value of the register 12 by the comparator 11, and is compared with the set value of the register 14 by the comparator 13. As a result of these comparisons, when the count value matches the set value of the register 10, “1” is set in the flip-flop 16. Similarly, when the count value matches the set value of the register 12, The flip-flop 17 is set to "1", and when the count value matches the set value of the register 14, "1" is set to the flip-flop 18.

【0019】一方、インターバルタイマ7は、決められ
た一定の期間(管理期間)になる度にパルスを発生し、
このパルスがアップカウンタ8にリセット信号として供
給される。同時に、このパルスは、フリップフロップ1
6、17、18の保持値を対応するフリップフロップ1
9、20、21に転送するロード信号として伝送ゲート
(図番なし)に供給される。さらに、このパルスは、遅
延回路15を通して一定時間遅延した状態でフリップフ
ロップ16、17、18にクリア信号として供給され、
フリップフロップ16、17、18の保持値をクリアす
る。
On the other hand, the interval timer 7 generates a pulse every time a predetermined period (management period) is reached.
This pulse is supplied to the up counter 8 as a reset signal. At the same time, this pulse
Flip-flop 1 corresponding to the held values of 6, 17, 18
The load signal to be transferred to 9, 20, 21 is supplied to a transmission gate (not shown). Further, this pulse is supplied as a clear signal to flip-flops 16, 17, and 18 after being delayed for a predetermined time through a delay circuit 15,
The values held in the flip-flops 16, 17, and 18 are cleared.

【0020】バスコントローラ2においては、フリップ
フロップ19からイネーブル(Enable LH)信
号が出力されたときに、バスステートコントローラ24
を動作状態にし、フリップフロップ19からイネーブル
信号が出力されないとき、すなわちディゼイブル信号が
出力されたときに、バスステートコントローラ24を非
動作状態にする。同じように、フリップフロップ20か
らイネーブル(Enable HL)信号が出力された
ときに、バスステートコントローラ25を動作状態に
し、フリップフロップ20からイネーブル信号が出力さ
れないときに、バスステートコントローラ25を非動作
状態にする。また、フリップフロップ21からイネーブ
ル(Enable HH)信号が出力されたときに、バ
スステートコントローラ26を動作状態にし、フリップ
フロップ21からイネーブル信号が出力されないとき
に、バスステートコントローラ26を非動作状態にす
る。
In the bus controller 2, when the enable (Enable LH) signal is output from the flip-flop 19, the bus state controller 24
Is turned on, and when the enable signal is not output from the flip-flop 19, that is, when the disable signal is output, the bus state controller 24 is turned off. Similarly, when the enable (Enable HL) signal is output from the flip-flop 20, the bus state controller 25 is set to the operating state, and when the enable signal is not output from the flip-flop 20, the bus state controller 25 is set to the non-operating state. To Further, when the enable (Enable HH) signal is output from the flip-flop 21, the bus state controller 26 is set to the operating state, and when the enable signal is not output from the flip-flop 21, the bus state controller 26 is set to the non-operating state. .

【0021】次いで、図2は、図1に図示されたバス制
御回路の動作状態の一例を示す説明図である。
FIG. 2 is an explanatory diagram showing an example of an operation state of the bus control circuit shown in FIG.

【0022】図2において、上段に表わされた特性は、
レジスタ10、レジスタ12、レジスタ14の各設定値
と、インターバルタイマ7がリセットされる直前のアッ
プカウンタ8のカウント値、すなわちバスのデータトラ
フィック量の変化の一例を示すもので、レジスタ10、
レジスタ12、レジスタ14の各設定値は、前述のよう
に、中央制御装置3によって予め設定されたものであ
る。また、中間段に表わされた特性は、カウント値とレ
ジスタ10、レジスタ12、レジスタ14の各設定値と
をコンパレータ9、11、13で比較することによって
セットされた各フリップフロップ19、20、21の保
持値と、そのときのバス幅、すなわちバスビット幅の変
化状態を示すものである。さらに、下段に表わされた特
性は、バス幅の変化状態に対応して、バスコントローラ
2と第1周辺回路4(第2、第3周辺回路5、6も同
じ)における電力消費量の低減状態を示すものである。
In FIG. 2, the characteristics shown at the top are:
The register 10, the register 12, the register 14, and the count value of the up-counter 8 immediately before the interval timer 7 is reset, that is, an example of a change in the amount of data traffic on the bus.
Each set value of the register 12 and the register 14 is set in advance by the central controller 3 as described above. The characteristics shown in the intermediate stage are the flip-flops 19, 20, which are set by comparing the count value with the respective set values of the registers 10, 12, and 14 by the comparators 9, 11, and 13. 21 shows the held value and the change state of the bus width at that time, that is, the bus bit width. Further, the characteristic shown in the lower part indicates a reduction in power consumption in the bus controller 2 and the first peripheral circuit 4 (the same applies to the second and third peripheral circuits 5 and 6) in accordance with the change state of the bus width. It shows the status.

【0023】図2に示されるように、アップカウンタ8
のカウント値(バスのデータトラフィック量)がレジス
タ10の設定値を超え、レジスタ12の設定値を超えて
いないときは、フリップフロップ19が「1」にセット
され、フリップフロップ20、21が「0」にセットさ
れているので、常時動作状態にあるバスステートコント
ローラ23と今回動作状態になったバスステートコント
ローラ24とにより、ビット0〜7バス29及びビット
8〜15バス30が動作状態になり、バスビット幅は1
6ビットになる。このときには、バスの上位16ビット
に該当する動作クロックが停止するので、バスコントロ
ーラ2と第1周辺回路4における消費電力の低減量は、
斜線に示すように中間的な大きさになっている。
As shown in FIG. 2, the up counter 8
When the count value (data traffic amount of the bus) exceeds the set value of the register 10 and does not exceed the set value of the register 12, the flip-flop 19 is set to "1" and the flip-flops 20 and 21 are set to "0". , The bit 0-7 bus 29 and the bit 8-15 bus 30 are activated by the bus state controller 23 which is always in operation and the bus state controller 24 which is now activated. Bus bit width is 1
It becomes 6 bits. At this time, since the operation clock corresponding to the upper 16 bits of the bus stops, the amount of reduction in power consumption in the bus controller 2 and the first peripheral circuit 4 is:
It has an intermediate size as shown by the diagonal lines.

【0024】次に、アップカウンタ8のカウント値(バ
スのデータトラフィック量)がレジスタ10、12の設
定値を超え、レジスタ14の設定値を超えていないとき
は、フリップフロップ19、20が「1」にセットさ
れ、フリップフロップ21が「0」にセットされている
ので、常時動作状態にあるバスステートコントローラ2
3と今回動作状態になったバスステートコントローラ2
4、25とにより、ビット0〜7バス29、ビット8〜
15バス30及びビット16〜23バス31がそれぞれ
動作状態になり、バスビット幅は24ビットになる。こ
のときには、バスの上位8ビットに該当する動作クロッ
クが停止するので、バスコントローラ2と第1周辺回路
4における消費電力の低減量は、斜線に示すように比較
的小さくなっている。
Next, when the count value of the up counter 8 (data traffic amount of the bus) exceeds the set value of the registers 10 and 12 and does not exceed the set value of the register 14, the flip-flops 19 and 20 are set to "1". ”And the flip-flop 21 is set to“ 0 ”, so that the bus state controller 2
3 and the bus state controller 2 that has been activated this time
4 and 25, bits 0 to 7 bus 29, bits 8 to
The 15 bus 30 and the bits 16 to 23 bus 31 are activated, and the bus bit width becomes 24 bits. At this time, since the operation clock corresponding to the upper 8 bits of the bus is stopped, the amount of reduction in power consumption in the bus controller 2 and the first peripheral circuit 4 is relatively small, as indicated by hatching.

【0025】さらに、アップカウンタ8のカウント値
(バスのデータトラフィック量)がレジスタ10、1
2、14の設定値を超えるときは、フリップフロップ1
9、20、21がそれぞれ「1」にセットされるので、
常時動作状態にあるバスステートコントローラ23と今
回動作状態になったバスステートコントローラ24、2
5、26とにより、ビット0〜7バス29、ビット8〜
15バス30、ビット16〜23バス31及びビット2
4〜31バス32の全てが動作状態になり、バスビット
幅は最大の32ビットになる。このときには、バスの上
位ビットに該当する動作クロックが停止することがない
ので、バスコントローラ2と第1周辺回路4における消
費電力の低減量は、殆どなくなっている。
Further, the count value of the up counter 8 (data traffic amount of the bus) is stored in the registers 10 and 1.
If it exceeds the set value of 2, 14, the flip-flop 1
Since 9, 20, and 21 are each set to “1”,
The bus state controller 23 which is always in operation and the bus state controllers 24, 2 which are now in operation
5 and 26, bits 0 to 7 bus 29, bits 8 to
15 bus 30, bit 16 to 23 bus 31, and bit 2
All of the 4 to 31 buses 32 are in operation, and the bus bit width becomes the maximum of 32 bits. At this time, since the operation clock corresponding to the upper bits of the bus does not stop, the amount of reduction in power consumption in the bus controller 2 and the first peripheral circuit 4 is almost eliminated.

【0026】一方、アップカウンタ8のカウント値(バ
スのデータトラフィック量)がレジスタ10、12、1
4の設定値を超えないときは、フリップフロップ19、
20、21がそれぞれ「0」にセットされるので、常時
動作状態にあるバスステートコントローラ23により、
ビット0〜7バス29だけが動作状態になり、バスビッ
ト幅は最小の8ビットになる。このときには、バスの上
位24ビットに該当する動作クロックが停止するので、
バスコントローラ2と第1周辺回路4における消費電力
の低減量は、斜線に示すように最大になっている。
On the other hand, the count value (the amount of data traffic of the bus) of the up counter 8 is stored in the registers 10, 12, 1.
4 does not exceed the set value, the flip-flop 19,
20 and 21 are respectively set to “0”, so that the bus state controller 23 which is always in the operating state,
Only the bits 0 to 7 bus 29 are active, and the bus bit width is a minimum of 8 bits. At this time, since the operation clock corresponding to the upper 24 bits of the bus stops,
The amount of reduction in power consumption in the bus controller 2 and the first peripheral circuit 4 is maximized as shown by hatching.

【0027】このように、この実施の形態によれば、フ
リップフロップ19、20、21の各設定値が、バスコ
ントローラ2と第1周辺回路4との間を結合するビット
バス29乃至32の動作イネーブル/ディゼイブル信号
となるもので、その設定値が「000」のときはビット
0〜7バス29だけが動作状態になり、8ビットのバス
幅になって8ビットでデータ転送が実行され、設定値が
「001」のときはビット0〜7バス及びビット8〜1
5バス30が動作状態になり、16ビットのバス幅にな
って16ビットでデータ転送が実行され、設定値が「0
11」のときはビット0〜7バス29、ビット8〜15
バス30及びビット16〜23バス31が動作状態にな
り、24ビットのバス幅になって32ビットでデータ転
送が実行され、設定値が「111」のときはビット0〜
7バス29、ビット8〜15バス30、ビット16〜2
3バス31及びビット24〜31バス32の全てが動作
状態になり、32ビットのバス幅になって32ビットで
データ転送が実行される。そして、このとき、バスコン
トローラ2と第1周辺回路4における消費電力の低減量
は、図2に図示の斜線に示されるように、動作状態にあ
るビット幅にほぼ反比例し、斜線の下側にある白部分で
示されるような電力消費特性になる。
As described above, according to this embodiment, the set values of the flip-flops 19, 20, and 21 correspond to the operation of the bit buses 29 to 32 for coupling between the bus controller 2 and the first peripheral circuit 4. When the set value is "000", only the bits 0 to 7 bus 29 are activated, the bus width becomes 8 bits, and the data transfer is executed by 8 bits. When the value is “001”, bits 0 to 7 bus and bits 8 to 1
5 bus 30 is activated, has a bus width of 16 bits, performs data transfer with 16 bits, and has a set value of “0”.
11 ", bits 0-7 bus 29, bits 8-15
The bus 30 and the bits 16 to 23 are in the operating state, the data transfer is executed by 32 bits with a bus width of 24 bits, and when the set value is “111”, the bits 0 to 23 are set.
7 bus 29, bit 8-15 bus 30, bit 16-2
All of the 3 buses 31 and the bits 24 to 31 bus 32 are in the operating state, the bus width is 32 bits, and the data transfer is performed with 32 bits. At this time, the amount of reduction in power consumption in the bus controller 2 and the first peripheral circuit 4 is substantially inversely proportional to the bit width in the operating state, as indicated by the diagonal lines in FIG. A power consumption characteristic as shown by a certain white portion is obtained.

【0028】この場合、バス制御回路は、その全体を単
体装置として形成するようにしてもよく、各部を組み合
わせて形成するようにしてもよい。
In this case, the bus control circuit may be formed as a single unit as a whole, or may be formed by combining various parts.

【0029】なお、前記実施の形態においては、バス制
御回路が携帯電話機のマイクロコンピュータに使用され
ている例を挙げて説明したが、本発明によるバス制御回
路は、このような使用状態に限られるものではなく、マ
イクロコンピュータと同等の機能を有する制御機器に使
用してもよく、携帯電話機以外の他の携帯型機器に使用
してもよいことは勿論である。
In the above embodiment, an example has been described in which the bus control circuit is used in a microcomputer of a portable telephone. However, the bus control circuit according to the present invention is limited to such a use state. Instead, the present invention may be used for a control device having a function equivalent to that of a microcomputer, and may be used for a portable device other than a mobile phone.

【0030】[0030]

【発明の効果】以上説明したように、本発明によれば、
所定期間内におけるバスの読み出し書き込みの回数をカ
ウントしてそのカウント数をバスのデータトラフィック
量として捉え、そのカウント数が一定値以上になったと
きに、カウント数に対応してバス幅を拡げ、データフロ
ー容量を確保してマイクロコンピュータ等の制御機器の
制御機能を最大限引き出し、そのカウント数が一定値以
下であるときに、バス幅を狭くしてデータ転送を継続
し、その転送データ以外のバス及びそのバス制御系の動
作クロックを停止して電力消費を抑え、全体的に低消費
電力化とデータ転送機能の効率化を図ることができると
いう効果がある。
As described above, according to the present invention,
Counting the number of times of reading and writing of the bus within a predetermined period, catching the counted number as the data traffic volume of the bus, and when the counted number becomes a certain value or more, expands the bus width corresponding to the counted number, Securing the data flow capacity and maximizing the control functions of microcomputers and other control devices.When the count is less than a certain value, narrow the bus width to continue data transfer, and The operation clocks of the bus and the bus control system are stopped to suppress power consumption, thereby achieving an effect of reducing power consumption and improving the efficiency of the data transfer function as a whole.

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

【図1】本発明によるバス制御回路の一実施の形態を示
すもので、その要部構成を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a bus control circuit according to the present invention and showing a main part configuration thereof.

【図2】図1に図示されたバス制御回路の動作状態の一
例を示す説明図である。
FIG. 2 is an explanatory diagram illustrating an example of an operation state of the bus control circuit illustrated in FIG. 1;

【符号の説明】 1 バス幅選択制御回路 2 バスコントローラ 3 中央処理装置(CPU) 4 第1周辺回路 5 第2周辺回路 6 第3周辺回路 7 インターバルタイマー(Interval Tim
er) 8 アップカウンタ(UP Counter) 9 コンパレータ(Comp−LH) 10 レジスタ(Reg LH) 11 コンパレータ(Comp−HL) 12 レジスタ(Reg HL) 13 コンパレータ(Comp−HH) 14 レジスタ(Reg HH) 15 遅延回路(Delay) 16 フリップフロップ(FF1) 17 フリップフロップ(FF2) 18 フリップフロップ(FF3) 19 フリップフロップ(FF4) 20 フリップフロップ(FF5) 21 フリップフロップ(FF6) 22 オア回路(OR) 23 バスステートコントローラ(BSC−LL) 24 バスステートコントローラ(BSC−LH) 25 バスステートコントローラ(BSC−HL) 26 バスステートコントローラ(BSC−HH) 27 ライト制御信号線 28 リード制御信号線 29 ビット0〜7バス 30 ビット8〜15バス 31 ビット16〜23バス 32 ビット24〜31バス 33 周辺インターフェイス回路(PIF−LL) 34 周辺インターフェイス回路(PIF−LH) 35 周辺インターフェイス回路(PIF−HL) 36 周辺インターフェイス回路(PIF−HH)
[Description of Signs] 1 Bus width selection control circuit 2 Bus controller 3 Central processing unit (CPU) 4 First peripheral circuit 5 Second peripheral circuit 6 Third peripheral circuit 7 Interval timer (Interval Tim)
er) 8 Up counter (UP Counter) 9 Comparator (Comp-LH) 10 Register (Reg LH) 11 Comparator (Comp-HL) 12 Register (Reg HL) 13 Comparator (Comp-HH) 14 Register (Reg HH) 15 Delay Circuit (Delay) 16 Flip-flop (FF1) 17 Flip-flop (FF2) 18 Flip-flop (FF3) 19 Flip-flop (FF4) 20 Flip-flop (FF5) 21 Flip-flop (FF6) 22 OR circuit (OR) 23 Bus state controller (BSC-LL) 24 Bus state controller (BSC-LH) 25 Bus state controller (BSC-HL) 26 Bus state controller (BSC-HH) 27 Write control Signal line 28 Read control signal line 29 Bit 0 to 7 bus 30 Bit 8 to 15 bus 31 Bit 16 to 23 bus 32 Bit 24 to 31 bus 33 Peripheral interface circuit (PIF-LL) 34 Peripheral interface circuit (PIF-LH) 35 Peripheral interface circuit (PIF-HL) 36 Peripheral interface circuit (PIF-HH)

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 インターバルタイマによる管理期間内の
バスの読み出し書き込みの回数をカウントするカウンタ
を備え、そのカウンタのカウント値をバスのデータトラ
フィック量としてそのデータトラフィック量に対応して
バス幅を8ビット、16ビット、24ビット、32ビッ
トのいずれかにハードウェア的に切り替える回路手段を
有するバス制御回路であって、前記カウンタのカウント
値が小さいときは、前記バスの上位ビットに該当する動
作クロックを停止して低消費電力化を図り、一方、前記
カウンタのカウント値が大きいときは、その大きさに対
応して前記バス幅のビット数を増やしてそのデータ転送
容量を増加するようにしたことを特徴とするバス制御回
路。
1. A counter for counting the number of read / write operations of a bus during a management period by an interval timer, wherein the count value of the counter is defined as the data traffic volume of the bus, and the bus width is set to 8 bits corresponding to the data traffic volume. , A 16-bit, 24-bit, or 32-bit bus control circuit having a circuit means for hardware switching. When the count value of the counter is small, an operation clock corresponding to an upper bit of the bus is set to In order to reduce power consumption by stopping operation, on the other hand, when the count value of the counter is large, the number of bits of the bus width is increased in accordance with the count value to increase the data transfer capacity. Bus control circuit characterized.
【請求項2】 前記バス制御回路におけるデータトラフ
ィック監視機能部分は、単体装置として構成されている
ことを特徴とする請求項1に記載のバス制御回路。
2. The bus control circuit according to claim 1, wherein the data traffic monitoring function part of the bus control circuit is configured as a single device.
【請求項3】 前記バスは、マイクロコンピュータのバ
スであることを特徴とする請求項1に記載のバス制御回
路。
3. The bus control circuit according to claim 1, wherein said bus is a microcomputer bus.
【請求項4】 前記バスは、マイクロコンピュータの中
央制御装置とメモリセルを結合するバスであることを特
徴とする請求項3に記載のバス制御回路。
4. The bus control circuit according to claim 3, wherein said bus is a bus connecting a central control unit of a microcomputer and a memory cell.
JP2001054955A 2001-02-28 2001-02-28 Bus control circuit Pending JP2002259327A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001054955A JP2002259327A (en) 2001-02-28 2001-02-28 Bus control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001054955A JP2002259327A (en) 2001-02-28 2001-02-28 Bus control circuit

Publications (1)

Publication Number Publication Date
JP2002259327A true JP2002259327A (en) 2002-09-13

Family

ID=18915214

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001054955A Pending JP2002259327A (en) 2001-02-28 2001-02-28 Bus control circuit

Country Status (1)

Country Link
JP (1) JP2002259327A (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007018400A (en) * 2005-07-11 2007-01-25 Fujitsu Ltd Bus system, bus management apparatus, node device, and program for bus management apparatus
WO2007096983A1 (en) * 2006-02-24 2007-08-30 Fujitsu Limited Data input/output controller
JP2007528077A (en) * 2004-03-08 2007-10-04 マイクロン テクノロジー,インコーポレイテッド Memory hub architecture with programmable lane width
JP2008181387A (en) * 2007-01-25 2008-08-07 Nec Corp I/o bus system and its management method
JP2008206682A (en) * 2007-02-26 2008-09-11 Sankyo Co Ltd Game machine
JP2008206680A (en) * 2007-02-26 2008-09-11 Sankyo Co Ltd Game machine
JP2008206681A (en) * 2007-02-26 2008-09-11 Sankyo Co Ltd Game machine
JP2008544378A (en) * 2005-06-17 2008-12-04 インテル コーポレイション System with variable link width
JP2008544414A (en) * 2005-06-23 2008-12-04 インテル・コーポレーション Memory tiling
JP2009072469A (en) * 2007-09-21 2009-04-09 Sankyo Co Ltd Game machine
JP2009124435A (en) * 2007-11-14 2009-06-04 Sony Corp Image processing apparatus and control method therefor
WO2009147730A1 (en) * 2008-06-03 2009-12-10 富士通株式会社 Information processing apparatus and method of operating data transfer circuit
JP2011123798A (en) * 2009-12-14 2011-06-23 Nec Computertechno Ltd Data transfer device and method
JP2011520192A (en) * 2008-05-05 2011-07-14 マイクロン テクノロジー, インク. Memory module with configurable input / output ports
US8046488B2 (en) 2004-05-21 2011-10-25 Intel Corporation Dynamically modulating link width
WO2012067073A1 (en) * 2010-11-19 2012-05-24 シャープ株式会社 Data forwarding circuit, data forwarding method, display device, host-side device, and electronic apparatus
WO2012127632A1 (en) 2011-03-22 2012-09-27 富士通株式会社 Communication control device, communication control method, and communication control circuit
US8868955B2 (en) 2011-07-01 2014-10-21 Intel Corporation Enhanced interconnect link width modulation for power savings
JP2014219978A (en) * 2013-04-30 2014-11-20 三星電子株式会社Samsung Electronics Co.,Ltd. Apparatus and method for adjusting bandwidth
US9053244B2 (en) 2012-06-28 2015-06-09 Intel Corporation Utilization-aware low-overhead link-width modulation for power reduction in interconnects
US9183171B2 (en) 2012-09-29 2015-11-10 Intel Corporation Fast deskew when exiting low-power partial-width high speed link state
US9552045B2 (en) 2014-03-20 2017-01-24 Intel Corporation Method, apparatus, and system for controlling power consumption of unused hardware of a link interface

Cited By (40)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007528077A (en) * 2004-03-08 2007-10-04 マイクロン テクノロジー,インコーポレイテッド Memory hub architecture with programmable lane width
US8046488B2 (en) 2004-05-21 2011-10-25 Intel Corporation Dynamically modulating link width
US8914541B2 (en) 2004-05-21 2014-12-16 Intel Corporation Dynamically modulating link width
US9794349B2 (en) 2004-05-21 2017-10-17 Intel Corporation Dynamically modulating link width
US7694060B2 (en) 2005-06-17 2010-04-06 Intel Corporation Systems with variable link widths based on estimated activity levels
JP2008544378A (en) * 2005-06-17 2008-12-04 インテル コーポレイション System with variable link width
JP2008544414A (en) * 2005-06-23 2008-12-04 インテル・コーポレーション Memory tiling
JP2012104161A (en) * 2005-06-23 2012-05-31 Intel Corp Memory micro-tiling
JP4684031B2 (en) * 2005-07-11 2011-05-18 富士通株式会社 Bus system, bus management device, node device, and program for bus management device
JP2007018400A (en) * 2005-07-11 2007-01-25 Fujitsu Ltd Bus system, bus management apparatus, node device, and program for bus management apparatus
WO2007096983A1 (en) * 2006-02-24 2007-08-30 Fujitsu Limited Data input/output controller
JPWO2007096983A1 (en) * 2006-02-24 2009-07-09 富士通株式会社 Data I / O controller
US8073999B2 (en) 2006-02-24 2011-12-06 Fujitsu Limited Data input-output control apparatus
JP4724743B2 (en) * 2006-02-24 2011-07-13 富士通株式会社 Data transfer apparatus and data transfer apparatus control method
JP2008181387A (en) * 2007-01-25 2008-08-07 Nec Corp I/o bus system and its management method
JP2008206682A (en) * 2007-02-26 2008-09-11 Sankyo Co Ltd Game machine
JP2008206680A (en) * 2007-02-26 2008-09-11 Sankyo Co Ltd Game machine
JP2008206681A (en) * 2007-02-26 2008-09-11 Sankyo Co Ltd Game machine
JP4741529B2 (en) * 2007-02-26 2011-08-03 株式会社三共 Game machine
JP4741531B2 (en) * 2007-02-26 2011-08-03 株式会社三共 Game machine
JP4741530B2 (en) * 2007-02-26 2011-08-03 株式会社三共 Game machine
JP2009072469A (en) * 2007-09-21 2009-04-09 Sankyo Co Ltd Game machine
JP2009124435A (en) * 2007-11-14 2009-06-04 Sony Corp Image processing apparatus and control method therefor
US7877531B2 (en) 2007-11-14 2011-01-25 Sony Corporation Image processing apparatus and image processing apparatus controlling method
JP2011520192A (en) * 2008-05-05 2011-07-14 マイクロン テクノロジー, インク. Memory module with configurable input / output ports
US8566629B2 (en) 2008-06-03 2013-10-22 Fujitsu Limited Information processing apparatus and method of operation of data transfer circuit
WO2009147730A1 (en) * 2008-06-03 2009-12-10 富士通株式会社 Information processing apparatus and method of operating data transfer circuit
JP5152330B2 (en) * 2008-06-03 2013-02-27 富士通株式会社 Information processing apparatus and data transfer circuit operating method
JP2011123798A (en) * 2009-12-14 2011-06-23 Nec Computertechno Ltd Data transfer device and method
US8732376B2 (en) 2010-11-19 2014-05-20 Sharp Kabushiki Kaisha Data forwarding circuit, data forwarding method, display device, host-side device, and electronic apparatus
JP5290473B2 (en) * 2010-11-19 2013-09-18 シャープ株式会社 Data transfer circuit, data transfer method, display device, host side device, and electronic device
CN103221994A (en) * 2010-11-19 2013-07-24 夏普株式会社 Data forwarding circuit, data forwarding method, display device, host-side device, and electronic apparatus
WO2012067073A1 (en) * 2010-11-19 2012-05-24 シャープ株式会社 Data forwarding circuit, data forwarding method, display device, host-side device, and electronic apparatus
WO2012127632A1 (en) 2011-03-22 2012-09-27 富士通株式会社 Communication control device, communication control method, and communication control circuit
US8868955B2 (en) 2011-07-01 2014-10-21 Intel Corporation Enhanced interconnect link width modulation for power savings
US9053244B2 (en) 2012-06-28 2015-06-09 Intel Corporation Utilization-aware low-overhead link-width modulation for power reduction in interconnects
US9336175B2 (en) 2012-06-28 2016-05-10 Intel Corporation Utilization-aware low-overhead link-width modulation for power reduction in interconnects
US9183171B2 (en) 2012-09-29 2015-11-10 Intel Corporation Fast deskew when exiting low-power partial-width high speed link state
JP2014219978A (en) * 2013-04-30 2014-11-20 三星電子株式会社Samsung Electronics Co.,Ltd. Apparatus and method for adjusting bandwidth
US9552045B2 (en) 2014-03-20 2017-01-24 Intel Corporation Method, apparatus, and system for controlling power consumption of unused hardware of a link interface

Similar Documents

Publication Publication Date Title
JP2002259327A (en) Bus control circuit
EP1428131B1 (en) Multiple channel interface for communications between devices
US20220291730A1 (en) Protocol Level Control for System on a Chip (SOC) Agent Reset and Power Management
US7467315B2 (en) Method for enabling power-saving mode
JP2013527963A (en) Apparatus and method for using variable clock gating hysteresis in communication port
KR100299149B1 (en) Microcontrollers with N-bit data bus widths with I / O pins of N or less and how
CN210986071U (en) Digital signal interface circuit, chip and electronic equipment
KR100439089B1 (en) Data processing systems, external device access methods, and data processors
US7370117B2 (en) Communication system and method for communicating frames of management information in a multi-station network
CN109446145A (en) A kind of channel server master board I2C extended chip, circuit and control method
US6735657B1 (en) Method and apparatus for connecting two-wire serial interface and single-wire serial interface with high transmission speed
CN114371876A (en) Configuration circuit of register and integrated circuit chip
US20030042554A1 (en) Semiconductor integrated circuit device
US6052746A (en) Integrated circuit having programmable pull device configured to enable/disable first function in favor of second function according to predetermined scheme before/after reset
CN111245206B (en) Frequency converter IGBT drive control method and control device
US7411972B2 (en) Link layer device with non-linear polling of multiple physical layer device ports
US6970951B2 (en) Method and device for providing and external interface using a programmed configuration bit in flash memory
JP3310482B2 (en) Microcomputer
KR100800665B1 (en) Interface apparatus between central processing unit and its peripheral devices
US11947484B2 (en) Universal serial bus (USB) hub with host bridge function and control method thereof
JPH0528103A (en) Bus multiplex system
KR100326331B1 (en) Device for preventing transmitting loss of data in interface path
JPH0535914B2 (en)
JP2006331067A (en) Bus arbitration circuit control method
JP3161370B2 (en) Port shared circuit