[go: up one dir, main page]

JP2003122628A - Digital signal processing device, program conversion device, and communication system having digital signal processing device - Google Patents

Digital signal processing device, program conversion device, and communication system having digital signal processing device

Info

Publication number
JP2003122628A
JP2003122628A JP2001318438A JP2001318438A JP2003122628A JP 2003122628 A JP2003122628 A JP 2003122628A JP 2001318438 A JP2001318438 A JP 2001318438A JP 2001318438 A JP2001318438 A JP 2001318438A JP 2003122628 A JP2003122628 A JP 2003122628A
Authority
JP
Japan
Prior art keywords
address pointer
register
signal processing
bank group
digital signal
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
JP2001318438A
Other languages
Japanese (ja)
Inventor
Hisatsugu Sawai
寿承 澤井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2001318438A priority Critical patent/JP2003122628A/en
Publication of JP2003122628A publication Critical patent/JP2003122628A/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

  • Devices For Executing Special Programs (AREA)
  • Memory System (AREA)

Abstract

(57)【要約】 【課題】 デジタルシグナルプロセサ等のデジタル信号
処理回路において、動作周波数の低下やパイプライン段
数の増加等の悪影響を伴わず、また連続アクセス、ラン
ダムアクセスの何れのアクセス形態においても、データ
メモリへのクロック信号の供給と停止とを制御して、低
消費電力化を図る。 【解決手段】 アドレスポインタレジスタP0〜P3毎
に、その保持するアドレスが指し示すバンク又はバンク
グループを特定するバンクグループデコーダ4と、バン
クグループデコーダ4のデコード結果を保持するバンク
グループレジスタ5とを設け、この各バンクグループレ
ジスタ5の値に応じて、データメモリ3のバンクグルー
プへのクロック信号の供給と停止とを制御する。
(57) [Problem] To provide a digital signal processing circuit such as a digital signal processor without adverse effects such as a decrease in operating frequency and an increase in the number of pipeline stages, and in any of continuous access and random access forms. By controlling the supply and stop of the clock signal to the data memory, power consumption is reduced. SOLUTION: A bank group decoder 4 for specifying a bank or a bank group indicated by an address held by each of address pointer registers P0 to P3, and a bank group register 5 for holding a decoding result of the bank group decoder 4 are provided. The supply and stop of the clock signal to the bank group of the data memory 3 are controlled in accordance with the value of each bank group register 5.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、デジタルシグナル
プロセサなどのデジタル信号処理装置、及びそのデジタ
ル信号処理装置を有する通信システムに関し、特に、消
費電力の少ない通信システムを実現するための技術に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital signal processing device such as a digital signal processor and a communication system having the digital signal processing device, and more particularly to a technique for realizing a communication system with low power consumption.

【0002】[0002]

【従来の技術】一般に、デジタルシグナルプロセサなど
のデジタル信号処理回路において、データメモリへのク
ロック信号の供給を制御して、使用していないデータメ
モリに対してはクロック信号の供給を停止することは、
低消費電力化に非常に効果がある。しかし、データメモ
リへのアクセス信号を基にクロック信号の供給を制御す
る場合には、クロック信号の供給制御に必要な時間を確
保することによる動作周波数の低下や、パイプライン段
数の増加等のデメリットが発生するため、従来では、メ
モリ空間のどのアドレスに対してもアクセスがある場合
に備えて、常に、全てのデータメモリバンクにクロック
信号が供給されていた。このため、使用しないデータメ
モリバンクのクロック回路において無駄な電力が消費さ
れてしまうという問題があった。
2. Description of the Related Art Generally, in a digital signal processing circuit such as a digital signal processor, it is not possible to control the supply of a clock signal to a data memory and stop the supply of the clock signal to an unused data memory. ,
Very effective in reducing power consumption. However, when controlling the supply of the clock signal based on the access signal to the data memory, there are disadvantages such as a decrease in the operating frequency and an increase in the number of pipeline stages due to the time required to control the supply of the clock signal being secured. Therefore, in the past, the clock signal was always supplied to all the data memory banks in preparation for access to any address in the memory space. Therefore, there is a problem that unnecessary power is consumed in the clock circuit of the unused data memory bank.

【0003】そこで、前記従来の問題を解決するため
に、本願発明者は、特願平11−169448号におい
て、データメモリでの所定の連続領域内に繰り返し連続
的にアクセスして演算を行う場合に着目して、この連続
アクセス中の2回目のアクセス以降のクロック信号を制
御することにより、非アクセスバンクへのクロック信号
の供給を停止して、低電力化を図る技術を提案してい
る。
Therefore, in order to solve the above-mentioned conventional problems, the inventor of the present application discloses in Japanese Patent Application No. 11-169448 a case in which a predetermined continuous region in a data memory is repeatedly and continuously accessed to perform an operation. Focusing on the above, by proposing a technique for controlling the clock signal after the second access during the continuous access, the supply of the clock signal to the non-access bank is stopped to reduce the power consumption.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、前記の
提案では、非アクセスバンクへのクロック信号の供給の
停止により低電力化を図り得るものの、クロック信号の
供給の停止制御の対象を、データメモリの連続領域に対
して繰り返す連続アクセスに限定しているために、デー
タメモリへのランダムアクセスの際には、低電力化の効
果がなく、低電力化の効果が顕著でないという欠点があ
る。
However, in the above proposal, although the power supply can be reduced by stopping the supply of the clock signal to the non-access banks, the target of the stop control of the supply of the clock signal is set to the data memory. Since the continuous access is limited to the repeated access to the continuous area, the random access to the data memory does not have the effect of reducing the power consumption, and the effect of reducing the power consumption is not significant.

【0005】[0005]

【課題を解決するための手段】本発明の目的は、前記の
課題を解決するために、データメモリへのランダムアク
セスの際にも非アクセスバンクへのクロック信号の供給
を停止して、より一層の低電力化を図ることにある。
SUMMARY OF THE INVENTION In order to solve the above problems, an object of the present invention is to further stop the supply of a clock signal to a non-access bank even at the time of random access to a data memory, To reduce power consumption.

【0006】前記の目的を達成するために、本発明で
は、データメモリにアクセスするアドレスをその都度認
識し、このアドレスが指し示すメモリバンク以外のバン
クに対するクロック信号の供給を停止するように構成す
る。
In order to achieve the above object, the present invention is configured to recognize an address for accessing a data memory each time and stop supplying a clock signal to a bank other than the memory bank pointed to by the address.

【0007】すなわち、請求項1記載のデジタル信号処
理装置は、複数のバンクからなるデータ格納領域を有す
るデータメモリを備え、予め決められた手順に基づき発
行された命令コードにより前記データメモリに格納した
データを処理するデジタル信号処理装置において、前記
データメモリにアクセスするアドレスを格納するアドレ
スポインタレジスタと、前記アドレスポインタレジスタ
のデータをデコードしてアドレスポインタレジスタが保
持するアドレスが指し示す前記データメモリのバンク又
はバンクグループを特定するバンクグループデコーダ
と、前記バンクグループデコーダのデコード結果を保持
するバンクグループレジスタとを有し、前記バンクグル
ープレジスタの値に応じて前記データメモリの各バンク
へのクロック信号の供給及び停止を制御することを特徴
とする。
That is, a digital signal processing apparatus according to a first aspect of the present invention includes a data memory having a data storage area composed of a plurality of banks, and the data memory is stored in the data memory according to an instruction code issued based on a predetermined procedure. In a digital signal processing device for processing data, an address pointer register for storing an address for accessing the data memory, a bank of the data memory indicated by an address held by the address pointer register by decoding the data of the address pointer register, or A bank group decoder for specifying a bank group and a bank group register for holding a decoding result of the bank group decoder are provided, and a clock signal for each bank of the data memory is output according to a value of the bank group register. And controlling the supply and stop.

【0008】また、請求項2記載の発明は、前記請求項
1記載のデジタル信号処理装置において、前記アドレス
ポインタレジスタは複数備えられ、前記バンクグループ
デコーダは前記複数のアドレスポインタレジスタ毎に設
けられることを特徴とする。
According to a second aspect of the present invention, in the digital signal processing device according to the first aspect, a plurality of the address pointer registers are provided, and the bank group decoder is provided for each of the plurality of address pointer registers. Is characterized by.

【0009】更に、請求項3記載の発明は、前記請求項
1記載のデジタル信号処理装置において、前記アドレス
ポインタレジスタは複数備えられ、前記バンクグループ
デコーダは、前記複数のアドレスポインタレジスタのう
ち一部に対応して設けられることを特徴とする。
According to a third aspect of the present invention, in the digital signal processing device according to the first aspect, a plurality of the address pointer registers are provided, and the bank group decoder is a part of the plurality of address pointer registers. Is provided corresponding to.

【0010】加えて、請求項4記載の発明は、前記請求
項3記載のデジタル信号処理装置において、前記アドレ
スポインタレジスタは複数備えられ、前記バンクグルー
プデコーダの個数は、前記複数のアドレスポインタレジ
スタよりも少なく、更に、前記複数のアドレスポインタ
レジスタのうち一部を前記バンクグループデコーダに対
応付けるポインタレジスタ選択回路と、前記一部のアド
レスポインタレジスタを特定し、前記ポインタレジスタ
選択回路を制御するクロック制御ポインタ設定レジスタ
とを有することを特徴とする。
According to a fourth aspect of the present invention, in the digital signal processing device according to the third aspect, a plurality of the address pointer registers are provided, and the number of the bank group decoders is greater than that of the plurality of address pointer registers. Further, a pointer register selection circuit that associates a part of the plurality of address pointer registers with the bank group decoder, and a clock control pointer that specifies the part of the address pointer registers and controls the pointer register selection circuit. And a setting register.

【0011】更に加えて、請求項5記載の発明のプログ
ラム変換装置は、前記請求項3記載のデジタル信号処理
装置のプログラム開発環境おいて、信号処理手続きを記
述したソースプログラムからハードウェアを制御するた
めの命令コードを生成する際に、そのソースプログラム
の信号処理手続きを事前に解析し、そのソースプログラ
ム中のアドレスポインタレジスタの使用頻度の履歴をと
るシミュレーション手段を備え、前記シミュレーション
手段により得られた前記ソースプログラム中のアドレス
ポインタレジスタの使用頻度の履歴を基に、使用頻度の
多いアドレスポインタレジスタを使用するレジスタ使用
命令を、前記バンクグループデコーダに対応するアドレ
スポインタレジスタの使用命令に変更することを特徴と
する。
In addition, the program conversion device of the invention described in claim 5 controls the hardware from the source program describing the signal processing procedure in the program development environment of the digital signal processing device described in claim 3. When the instruction code is generated, the signal processing procedure of the source program is analyzed in advance, and a simulation means for taking a history of the frequency of use of the address pointer register in the source program is provided, and the simulation is obtained by the simulation means. Changing a register use instruction that uses the frequently used address pointer register to an instruction that uses the address pointer register corresponding to the bank group decoder based on the history of the use frequency of the address pointer register in the source program; Characterize.

【0012】また、請求項6記載の発明のプログラム変
換装置は、前記請求項4記載のデジタル信号処理装置の
プログラム開発環境おいて、信号処理手続きを記述した
ソースプログラムからハードウェアを制御するための命
令コードを生成する際に、そのソースプログラムの信号
処理手続きを事前に解析し、そのソースプログラム中の
アドレスポインタレジスタの使用頻度の履歴をとるシミ
ュレーション手段を備え、前記シミュレーション手段に
より得られた前記ソースプログラム中のアドレスポイン
タレジスタの使用頻度の履歴を基に、使用頻度の多いア
ドレスポインタレジスタを前記一部のアドレスポインタ
レジスタとして特定する命令コードを生成することを特
徴とする。
According to a sixth aspect of the present invention, there is provided a program conversion apparatus for controlling hardware in a program development environment for a digital signal processing apparatus according to the fourth aspect, from a source program describing a signal processing procedure. When the instruction code is generated, a signal processing procedure of the source program is analyzed in advance, and a simulation means for taking a history of the frequency of use of the address pointer register in the source program is provided, and the source obtained by the simulation means is provided. It is characterized in that an instruction code for specifying the frequently used address pointer registers as the partial address pointer registers is generated based on a history of the frequency of use of the address pointer registers in the program.

【0013】更に、請求項7記載の発明の通信システム
は、前記請求項1、2、3又は4記載のデジタル信号処
理装置と、制御装置、記憶装置、入力装置、出力装置及
び通信インタフェース装置とを備えたことを特徴とす
る。
Furthermore, a communication system according to a seventh aspect of the present invention includes a digital signal processing device according to the first, second, third or fourth aspect, a control device, a storage device, an input device, an output device and a communication interface device. It is characterized by having.

【0014】以上により、請求項1記載の発明では、デ
ータメモリの複数のバンク又はバンクグループのうち、
アドレスポインタレジスタに格納されたアドレスが指し
示すバンク又はバンクグループがバンクグループデコー
ダにより特定されるので、データメモリへのランダムア
クセスの際にも、この特定されたバンク又はバンクグル
ープに対してのみクロック信号が供給され、それ以外の
バンク又はバンクグループにはクロック信号の供給が停
止される。従って、低消費電力のデジタル信号処理装置
を実現できる。
As described above, according to the first aspect of the invention, among the plurality of banks or bank groups of the data memory,
Since the bank or bank group indicated by the address stored in the address pointer register is specified by the bank group decoder, the clock signal is supplied only to the specified bank or bank group even during random access to the data memory. The clock signal is supplied to the other banks or bank groups. Therefore, a low power consumption digital signal processing device can be realized.

【0015】しかも、請求項2記載の発明では、バンク
グループデコーダとバンクグループレジスタとがアドレ
スポインタレジスタ毎に設けられるので、使用するアド
レスポインタレジスタが決定した後のメモリアクセス信
号によってクロック信号の供給制御を行う従来の技術で
発生するような動作周波数の低下や、パイプライン段数
の増加などのデメリットが発生しない。
Further, according to the second aspect of the invention, since the bank group decoder and the bank group register are provided for each address pointer register, the supply of the clock signal is controlled by the memory access signal after the address pointer register to be used is determined. The disadvantages such as a decrease in operating frequency and an increase in the number of pipeline stages, which occur in the conventional technique for performing the above, do not occur.

【0016】また、請求項3記載の発明では、バンクグ
ループデコーダ及びバンクグループレジスタがアドレス
ポインタレジスタの一部に対応して設けられるので、こ
の対応するアドレスポインタレジスタを頻繁に使用すれ
ば、回路規模をあまり増加させることなく、データメモ
リの全バンクのうちアクセスするバンクにのみクロック
信号の供給が可能な低消費電力のデジタル信号処理装置
を実現できる。
According to the third aspect of the invention, since the bank group decoder and the bank group register are provided corresponding to a part of the address pointer register, if the corresponding address pointer register is frequently used, the circuit scale will be increased. It is possible to realize a low power consumption digital signal processing device capable of supplying a clock signal only to the bank to be accessed among all the banks of the data memory without increasing the number of clocks.

【0017】更に、請求項4記載の発明では、複数のア
ドレスポインタレジスタのうち、バンクグループデコー
ダ及びバンクグループレジスタを何れのポインタレジス
タに関連付けるかがクロック制御ポインタ設定レジスタ
に設定されるので、バンクグループデコーダ及びバンク
グループレジスタの個数をポインタレジスタの数よりも
減らしても、クロック信号の供給制御を行うアドレスポ
インタレジスタの選択の自由度が増大する。
Further, in the invention according to claim 4, among the plurality of address pointer registers, which of the pointer registers the bank group decoder and the bank group register are associated with is set in the clock control pointer setting register. Even if the number of decoders and bank group registers is smaller than the number of pointer registers, the degree of freedom in selecting the address pointer register that controls the supply of the clock signal increases.

【0018】加えて、請求項5記載の発明では、使用頻
度の多いアドレスポインタレジスタを使用するレジスタ
使用命令を、前記バンクグループデコーダに対応するア
ドレスポインタレジスタの使用命令に変更するので、請
求項3記載のデジタル信号処理装置の低電力化機能を有
効に活用できるプログラムを容易に開発できる。
In addition, in the invention of claim 5, the register use instruction using the address pointer register which is frequently used is changed to the use instruction of the address pointer register corresponding to the bank group decoder. It is possible to easily develop a program that can effectively utilize the power saving function of the described digital signal processing device.

【0019】また、請求項6記載の発明では、使用頻度
の多いアドレスポインタレジスタを、バンクグループデ
コーダに対応付けられるアドレスポインタレジスタとし
て特定する命令コードが生成されるので、請求項4記載
のデジタル信号処理装置の低電力化機能を有効に活用で
きるプログラムを容易に開発できる。
According to the sixth aspect of the present invention, since the instruction code for specifying the frequently used address pointer register as the address pointer register associated with the bank group decoder is generated, the digital signal according to the fourth aspect. A program that can effectively utilize the low power consumption function of the processing device can be easily developed.

【0020】更に、請求項7記載の発明の通信システム
によれば、請求項1、2、3又は4記載のデジタル信号
処理装置を備えるので、低消費電力の通信システムとな
る。
Further, according to the communication system of the invention described in claim 7, since the digital signal processing device according to claim 1, 2, 3 or 4 is provided, the communication system has low power consumption.

【0021】[0021]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照しながら説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings.

【0022】(第1の実施の形態)図1は本発明の第1
の実施の形態のデジタル信号処理装置であるデジタルシ
グナルプロセサの一部のブロック図を示す。
(First Embodiment) FIG. 1 shows a first embodiment of the present invention.
FIG. 3 is a block diagram of a part of a digital signal processor that is the digital signal processing device according to the embodiment.

【0023】同図において、データメモリ3は、バンク
0〜バンク3の4バンクから構成される。1はアドレス
ポインタレジスタであって、4個のアドレスポインタレ
ジスタP0〜P4を持ち、その各々に、データメモリ3
にアクセスするアドレスが格納される。6は命令デコー
ダであって、命令コードをデコードし、メモリアクセス
命令の抽出、使用ポインタレジスタの抽出等を行う。2
はメモリアクセス信号生成回路であって、前記命令デコ
ーダ6からのメモリアクセス命令抽出信号、使用ポイン
タレジスタ抽出信号等を受けて、データメモリ3の各バ
ンク0〜3に対してアクセス信号を出力する。
In the figure, the data memory 3 is composed of four banks 0 to 3. Reference numeral 1 denotes an address pointer register, which has four address pointer registers P0 to P4, each of which has a data memory 3
The address to access is stored. An instruction decoder 6 decodes an instruction code, extracts a memory access instruction, extracts a used pointer register, and the like. Two
Is a memory access signal generation circuit, which receives a memory access instruction extraction signal, a use pointer register extraction signal, etc. from the instruction decoder 6 and outputs an access signal to each bank 0 to 3 of the data memory 3.

【0024】4は各ポインタレジスタP0〜P3毎に設
けられたバンクグループデコーダであって、ポインタデ
ータをデコードし、対応するポインタレジスタP0〜P
3がバンクグループ01(バンク0とバンク1とのペ
ア)を指すか、バンクグループ23(バンク2とバンク
3とのペア)を指すかを判定する。5はバンクグループ
レジスタであって、同様に各ポインタレジスタP0〜P
3毎にバンクグループ01用とバンクグループ23用の
2ビットのレジスタで構成される。このバンクグループ
レジスタ5の各々は、対応するバンクグループデコーダ
4の出力、即ち、対応するポインタレジスタP0〜P3
の値が更新される毎にそのポインタレジスタがどのバン
クグループを指しているかを保持する。
Reference numeral 4 denotes a bank group decoder provided for each pointer register P0 to P3, which decodes pointer data and corresponds to the corresponding pointer register P0 to P.
It is determined whether 3 indicates a bank group 01 (a pair of bank 0 and a bank 1) or a bank group 23 (a pair of a bank 2 and a bank 3). Reference numeral 5 denotes a bank group register, and similarly each pointer register P0 to P
Each 3 is composed of 2-bit registers for bank group 01 and bank group 23. Each of the bank group registers 5 outputs the corresponding bank group decoder 4, that is, the corresponding pointer registers P0 to P3.
Each time the value of is updated, it holds which bank group the pointer register points to.

【0025】また、7はバンク0、バンク1用のクロッ
ク制御信号生成回路であって、命令デコーダ6で生成さ
れた何れのポインタレジスタP0〜P3を使用するかの
信号と、バンクグループ01用のバンクグループレジス
タ5の値とに基づいて、2つのバンク0、1のバンクグ
ループに対するクロック制御信号を出力する。8は同様
にバンク2、バンク3用のクロック制御信号生成回路で
ある。9は各バンク0〜3毎に設けられたクロックゲー
ト回路であって、前記クロック制御信号生成回路7、8
からのクロック制御信号を受け、このクロック制御信号
に基づいてシステムクロックをゲートすることにより、
メモリアクセス信号生成回路2からデータメモリ3にア
クセス信号が出力される際に、そのアクセスされるバン
クグループにクロック信号を供給し、アクセスされない
バンクグループにはクロック信号の供給を停止する制御
を行う。
Reference numeral 7 denotes a clock control signal generation circuit for bank 0 and bank 1, which is a signal indicating which pointer register P0 to P3 generated by the instruction decoder 6 is to be used, and a bank control signal generation circuit for bank group 01. Based on the value of the bank group register 5, the clock control signals for the bank groups of the two banks 0 and 1 are output. Similarly, 8 is a clock control signal generation circuit for the banks 2 and 3. Reference numeral 9 denotes a clock gate circuit provided for each of the banks 0 to 3, and the clock control signal generation circuits 7 and 8 are provided.
By receiving the clock control signal from, and gating the system clock based on this clock control signal,
When an access signal is output from the memory access signal generation circuit 2 to the data memory 3, the clock signal is supplied to the bank group to be accessed, and the supply of the clock signal to the bank group not to be accessed is controlled.

【0026】更に、10はデータメモリ3から読み出さ
れたデータを入力して演算を行う演算器、11は前記演
算器10の演算結果を保持するデータレジスタである。
Further, 10 is an arithmetic unit for inputting the data read from the data memory 3 to perform arithmetic operation, and 11 is a data register for holding the arithmetic result of the arithmetic unit 10.

【0027】図2はメモリバンクとメモリアドレスとの
対応を示す。図1に示したデジタルシグナルプロセサに
図3に示したプログラムソースコードに相当する命令コ
ード列を信号処理手順として与えた際の動作を説明す
る。
FIG. 2 shows the correspondence between memory banks and memory addresses. The operation when the instruction code string corresponding to the program source code shown in FIG. 3 is given to the digital signal processor shown in FIG. 1 as a signal processing procedure will be described.

【0028】図3において、行番号1はアドレスポイン
タレジスタP0に16進の値”0000”を設定する命
令である。行番号2はアドレスポインタレジスタP0の
指し示すデータメモリアドレスのデータをレジスタD0
に転送する命令である。行番号3はアドレスポインタレ
ジスタP2に16進の値”8000”を設定する命令で
ある。行番号4はレジスタD0のデータをアドレスポイ
ンタレジスタP2の指し示すデータメモリアドレスに転
送する命令である。行番号5は何もしない命令である。
In FIG. 3, line number 1 is an instruction for setting a hexadecimal value "0000" in the address pointer register P0. Line number 2 shows the data of the data memory address indicated by the address pointer register P0 in the register D0.
It is an instruction to transfer to. Line number 3 is an instruction to set a hexadecimal value "8000" in the address pointer register P2. Line number 4 is an instruction to transfer the data in the register D0 to the data memory address indicated by the address pointer register P2. Line number 5 is an instruction that does nothing.

【0029】図4は、本デジタルシグナルプロセサを用
いて図3の命令手順が実行される時のタイミングチャー
トを示す。本デジタルシグナルプロセサは、図4におい
て、ステージIFで命令フェッチ、ステージIDECで
命令デコード、ステージADDECでデータメモリのア
ドレスデコード、ステージMAでデータメモリアクセ
ス、ステージEXで演算器10を使って命令実行が行わ
れるパイプライン動作を行うものとする。行番号1の命
令では、IDECステージでアドレスポインタレジスタ
P0が設定される。このアドレスポインタレジスタP0
の値はステージIDEC中にバンクグループデコーダ4
でデコードが完了し、ステージADDECの先頭でアド
レスポインタレジスタP0に対応するバンクグループレ
ジスタ5のB01ビットが”1”に設定され、B23ビ
ットが”0”に設定される。行番号2の命令では、ステ
ージIDECでアドレスポインタレジスタP0を使用す
る命令であることが確定し、アドレスポインタレジスタ
P0に対応するバンクグループレジスタ5のB01ビッ
トが”1”且つB23ビットが”0”であることから、
バンク01クロック制御信号が行番号2の命令のステー
ジADDECとステージMAの間で”1”になり、バン
ク23クロック制御信号が”0”になる。結果として、
バンク0及びバンク1にのみ行番号2の命令のステージ
MAの間でクロック信号が供給される。
FIG. 4 shows a timing chart when the instruction procedure of FIG. 3 is executed by using the present digital signal processor. In this digital signal processor, in FIG. 4, an instruction fetch is performed at a stage IF, an instruction decode is performed at a stage IDEC, an address decode of a data memory is performed at a stage ADDEC, a data memory access is performed at a stage MA, and an instruction is executed using an arithmetic unit 10 at a stage EX. The pipeline operation performed shall be performed. In the instruction of line number 1, the address pointer register P0 is set at the IDEC stage. This address pointer register P0
Value of bank group decoder 4 during stage IDEC
Then, the decoding is completed, the B01 bit of the bank group register 5 corresponding to the address pointer register P0 is set to "1", and the B23 bit is set to "0" at the head of the stage ADDEC. In the instruction of line number 2, it is determined that the instruction uses the address pointer register P0 in the stage IDEC, and the B01 bit of the bank group register 5 corresponding to the address pointer register P0 is "1" and the B23 bit is "0". Since,
The bank 01 clock control signal becomes "1" between the stage ADDEC and the stage MA of the instruction of row number 2, and the bank 23 clock control signal becomes "0". as a result,
A clock signal is supplied only to banks 0 and 1 during the stage MA of the instruction in row number 2.

【0030】同様に、行番号3の命令では、ステージI
DECでアドレスポインタレジスタP2が設定される。
アドレスポインタレジスタP2の値はステージIDEC
中にバンクグループデコーダ4でデコードが完了し、ス
テージADDECの先頭でアドレスポインタレジスタP
2に対応するバンクグループレジスタ5のB23ビット
が”1”に設定され、B01ビットが”0”に設定され
る。行番号4の命令では、ステージIDECでアドレス
ポインタレジスタP2を使用する命令であることが確定
し、アドレスポインタレジスタP2に対応するバンクグ
ループレジスタ5のB01ビットが”0”且つB23ビ
ットが”1”であることから、バンク23クロック制御
信号が行番号4の命令のステージADDECとステージ
MAの間で”1”になり、バンク01クロック制御信号
が”0”になる。従って、バンク2及びバンク3にのみ
行番号4の命令のステージMAの間でクロック信号が供
給される。結果として、必要なバンクにのみクロック信
号が供給されて、低消費電力化が可能になる。
Similarly, in the instruction of line number 3, the stage I
The address pointer register P2 is set by DEC.
The value of the address pointer register P2 is the stage IDEC.
Decoding is completed by the bank group decoder 4, and the address pointer register P at the beginning of the stage ADDEC.
The B23 bit of the bank group register 5 corresponding to 2 is set to "1", and the B01 bit is set to "0". In the instruction of line number 4, it is determined that the instruction uses the address pointer register P2 at the stage IDEC, and the B01 bit and the B23 bit of the bank group register 5 corresponding to the address pointer register P2 are "0" and "1". Therefore, the bank 23 clock control signal becomes "1" between the stage ADDEC and the stage MA of the instruction of the row number 4, and the bank 01 clock control signal becomes "0". Therefore, the clock signal is supplied only to the banks 2 and 3 during the stage MA of the instruction of the row number 4. As a result, the clock signal is supplied only to the necessary bank, and the power consumption can be reduced.

【0031】(第2の実施の形態)次に、本発明の第2
の実施の形態のデジタル信号処理装置であるデジタルシ
グナルプロセサを説明する。
(Second Embodiment) Next, the second embodiment of the present invention will be described.
A digital signal processor which is the digital signal processing device of the embodiment will be described.

【0032】図5は同プロセサの一部のブロック図を示
す。同図では、図1と異なり、バンクグループデコーダ
4及びバンクグループレジスタ5は、4個のアドレスポ
インタレジスタP0〜P3のうち所定の2個のレジスタ
P2、P3にのみ関連付けられて存在する。
FIG. 5 shows a block diagram of a part of the processor. In the figure, unlike FIG. 1, the bank group decoder 4 and the bank group register 5 exist only in association with predetermined two registers P2 and P3 among the four address pointer registers P0 to P3.

【0033】従って、本実施の形態では、アドレスポイ
ンタレジスタP2、P3を使用した場合のみしかデータ
メモリ3に対するクロック信号の供給の制御を行うこと
ができないが、このアドレスポインタレジスタP2、P
3を頻繁に有効に使用することにより、回路規模をあま
り増大させることなく、データメモリ3へのクロック信
号の供給制御による電力削減が可能になる。
Therefore, in this embodiment, the supply of the clock signal to the data memory 3 can be controlled only when the address pointer registers P2 and P3 are used, but the address pointer registers P2 and P3 are controlled.
The frequent and effective use of 3 makes it possible to reduce the power consumption by controlling the supply of the clock signal to the data memory 3 without increasing the circuit size.

【0034】(第3の実施の形態)続いて、本発明の第
3の実施の形態のデジタル信号処理装置であるデジタル
シグナルプロセサを説明する。
(Third Embodiment) Next, a digital signal processor which is a digital signal processing apparatus according to a third embodiment of the present invention will be described.

【0035】図6は同プロセサの一部のブロック図を示
す。同図において、15はポインタレジスタ選択回路、
16はクロック制御ポインタ設定レジスタであって、こ
のクロック制御ポインタ設定レジスタ16の設定値に基
づいて前記ポインタレジスタ選択回路15が2個のバン
クグループデコーダ4に各々入力すべきアドレスポイン
タレジスタP0〜P3の出力の何れか1つを選択する。
7はデータメモリ3のバンク0バンク1用のクロック制
御信号生成回路であって、命令デコーダ6で生成された
何れのアドレスポインタレジスタP0〜P3を使用する
かの信号と、クロック制御ポインタ設定レジスタ16か
らのポインタレジスタ選択信号と、バンクグループレジ
スタ5の値とにより、各バンクグループ(01)、(2
3)に対してクロック制御信号を出力する。8は同様に
バンク2バンク3用のクロック制御信号生成回路であ
る。
FIG. 6 shows a block diagram of a part of the processor. In the figure, 15 is a pointer register selection circuit,
Reference numeral 16 is a clock control pointer setting register. Based on the setting value of the clock control pointer setting register 16, the pointer register selection circuit 15 inputs the address pointer registers P0 to P3 to the two bank group decoders 4, respectively. Select one of the outputs.
Reference numeral 7 denotes a clock control signal generation circuit for the bank 0 and the bank 1 of the data memory 3. The clock control signal generation circuit 7 generates a signal indicating which address pointer register P0 to P3 is used by the instruction decoder 6 and the clock control pointer setting register 16 Depending on the pointer register selection signal from the bank group register 5 and the value of the bank group register 5, each bank group (01), (2
The clock control signal is output to 3). Similarly, 8 is a clock control signal generation circuit for bank 2 and bank 3.

【0036】従って、本実施の形態では、全てのアドレ
スポインタレジスタP0〜P3毎にバンクグループデコ
ーダ4及びバンクグループレジスタ5を設けなくても、
クロック制御ポインタ設定レジスタ16の値を適切に設
定することにより、選択された任意の2つのアドレスポ
インタレジスタP0〜P3について、メモリアクセスア
ドレスが設定される毎に、このアドレスが指し示すデー
タメモリ3のバンクグループ以外のバンクグループに対
してクロック信号の供給を停止することが可能になる。
Therefore, in the present embodiment, it is not necessary to provide the bank group decoder 4 and the bank group register 5 for all the address pointer registers P0 to P3.
By appropriately setting the value of the clock control pointer setting register 16, the bank of the data memory 3 indicated by this address is set every time a memory access address is set for any two selected address pointer registers P0 to P3. It becomes possible to stop the supply of the clock signal to the bank groups other than the group.

【0037】(第4の実施の形態)次に、本発明の第4
の実施の形態のプログラム変換装置を説明する。
(Fourth Embodiment) Next, a fourth embodiment of the present invention will be described.
The program conversion device of the embodiment will be described.

【0038】図7は、プログラム変換装置の一例のブロ
ック図を示す。20はプログラムソースコードを格納す
る記憶装置、21は図5に示したデジタル信号処理装置
に外部から入力すべきデータを格納する記憶装置、22
は図5のデジタル信号処理装置と論理的に同じ動作を
し、且つプログラムの実行ステップ毎に使用するアドレ
スポインタレジスタとその指し示すメモリバンクの履歴
を取ることができるシミュレーション装置(シミュレー
ション手段)である。23は前記シミュレーション装置
22により得られたプログラムの実行ステップ毎に使用
するアドレスポインタレジスタとその指し示すメモリバ
ンクの履歴を格納する記憶装置である。24は前記記憶
装置23に格納されたプログラムの実行ステップ毎の使
用するアドレスポインタレジスタの履歴を基に、記憶装
置20に格納されたプログラムソースコードを変換する
ソースコード変換装置である。25は前記ソースコード
変換装置24により変換されたプログラムソースコード
を格納する記憶装置である。
FIG. 7 shows a block diagram of an example of the program conversion device. Reference numeral 20 is a storage device for storing the program source code, 21 is a storage device for storing data to be externally input to the digital signal processing device shown in FIG. 5, 22
Is a simulation device (simulation means) that operates logically the same as the digital signal processing device of FIG. 5 and can take the history of the address pointer register used at each execution step of the program and the memory bank pointed to by the address pointer register. Reference numeral 23 is a memory device for storing the history of the address pointer register used by each execution step of the program obtained by the simulation device 22 and the memory bank pointed to by the address pointer register. Reference numeral 24 is a source code conversion device for converting the program source code stored in the storage device 20, based on the history of the address pointer register used for each execution step of the program stored in the storage device 23. A storage device 25 stores the program source code converted by the source code conversion device 24.

【0039】前記プログラム変換装置の動作の具体例を
説明する。図8は、記憶装置20に格納されたソースプ
ログラムコードの一部の例を示す。行番号1の命令は、
アドレスポインタレジスタP0に16進の数値“000
0”を設定する命令である。行番号2の命令は、アドレ
スポインタレジスタP2に16進の数値“0000”を
設定する命令である。行番号3の命令は、行番号4から
行番号5までを256回繰り返すことを指定する命令で
ある。行番号4の命令は、アドレスポインタレジスタP
0の示すアドレスのデータをレジスタD0に転送し、そ
の後アドレスポインタレジスタP0に”1”を加算する
命令である。行番号5の命令は、レジスタD0の内容を
アドレスポインタレジスタP2の示すアドレスのデータ
メモリに転送し、その後アドレスポインタレジスタP2
に”1”を加算する命令である。
A specific example of the operation of the program conversion device will be described. FIG. 8 shows an example of a part of the source program code stored in the storage device 20. The instruction at line number 1 is
Hexadecimal value "000" is set in the address pointer register P0.
The instruction of line number 2 is an instruction of setting a hexadecimal value "0000" in the address pointer register P2. The instruction of line number 3 is from line number 4 to line number 5. The instruction of line number 4 is the address pointer register P.
This is an instruction to transfer the data of the address indicated by 0 to the register D0 and then add "1" to the address pointer register P0. The instruction in line number 5 transfers the contents of the register D0 to the data memory at the address indicated by the address pointer register P2, and then the address pointer register P2.
Is an instruction to add "1" to.

【0040】図5のデジタル信号処理装置のデータメモ
リマップが図2と同じであった場合に、シミュレーショ
ン装置22は行番号1から行番号5の間でアドレスポイ
ンタレジスタP0がデータメモリ3のバンク0へのアク
セスに256回使用され、アドレスポインタレジスタP
2がバンク2へのアクセスに256回使用された履歴を
記憶装置23に格納する。ソースコード変換装置24
は、記憶装置23に格納された前記履歴と予め定められ
た基準を基に、行番号1から行番号5の命令の間で使用
されるアドレスポインタレジスタP0をクロック信号の
供給制御に用いるアドレスポインタレジスタP3に変換
して、図8のプログラムソースコードを図9のプログラ
ムソースコードのように変換する。そして、この変換さ
れたプログラムソースコードを変換ソースプログラム記
憶装置25に格納する。尚、図9において、行番号0及
び行番号6の各命令はアドレスポインタレジスタをレジ
スタP0からレジスタP3に変更したことにより、アド
レスポインタレジスタP3の値を退避及び復帰するため
の命令である。
When the data memory map of the digital signal processing apparatus of FIG. 5 is the same as that of FIG. 2, the simulation apparatus 22 sets the address pointer register P0 between the row number 1 and the row number 5 to the bank 0 of the data memory 3. Is used 256 times to access the address pointer register P
2 stores in the storage device 23 a history of 256 times used to access the bank 2. Source code converter 24
Is an address pointer that uses the address pointer register P0 used between the instructions of line numbers 1 to 5 for controlling the supply of the clock signal, based on the history stored in the storage device 23 and a predetermined standard. Converted to the register P3, the program source code of FIG. 8 is converted like the program source code of FIG. Then, the converted program source code is stored in the converted source program storage device 25. Note that, in FIG. 9, each instruction of line number 0 and line number 6 is an instruction for saving and restoring the value of the address pointer register P3 by changing the address pointer register from the register P0 to the register P3.

【0041】従って、本実施の形態では、図1のデジタ
ル信号処理装置のようにアドレスポインタレジスタP0
〜P3の数と同数のバンクグループデコーダ4及びバン
クグループレジスタ5を設けなくとも、プログラムの開
発工数を落とすことなくデジタル信号処理装置を低電力
で動作させることが可能になる。
Therefore, in this embodiment, the address pointer register P0 is used as in the digital signal processing device of FIG.
Even if the same number of bank group decoders 4 and bank group registers 5 as P3 to P3 are not provided, the digital signal processing device can be operated with low power without reducing the man-hours for program development.

【0042】(第5の実施の形態)次に、本発明の第5
の実施の形態のプログラム変換装置を説明する。
(Fifth Embodiment) Next, the fifth embodiment of the present invention will be described.
The program conversion device of the embodiment will be described.

【0043】本実施の形態のプログラム変換装置のブロ
ック図は図7と同一である。但し、シミュレーション装
置22は図6のデジタル信号処理装置と論理的に同じ動
作をする。また、図6のデジタル信号処理装置のデータ
メモリマップが図2と同じであるとし、記憶装置20に
格納されたソースプログラムコードとして図8のソース
コードを用いた場合の具体例を説明する。
The block diagram of the program conversion device of the present embodiment is the same as FIG. However, the simulation device 22 operates logically the same as the digital signal processing device of FIG. Further, assuming that the data memory map of the digital signal processing device of FIG. 6 is the same as that of FIG. 2, a specific example in which the source code of FIG. 8 is used as the source program code stored in the storage device 20 will be described.

【0044】シミュレーション装置22は図8のソース
プログラムを実行し、行番号1から行番号5の命令の間
でアドレスポインタレジスタP0がデータメモリ3のバ
ンク0へのアクセスに256回使用され、アドレスポイ
ンタレジスタP2がバンク2へのアクセスに256回使
用された履歴を記憶装置23に格納する。ソースコード
変換装置24は前記記憶装置23に格納された履歴と予
め定められた基準を基に、図10に示した行番号0に示
す命令を挿入し、この図10の変換ソースプログラムコ
ードを記憶装置25に格納する。図10の行番号0の命
令は、図6のデジタル信号処理装置においてクロック制
御ポインタ設定レジスタ(CKCNT)16にクロック
制御対象ポインタレジスタがレジスタP0及びP2にな
るように設定する命令である。
The simulation apparatus 22 executes the source program of FIG. 8, and the address pointer register P0 is used 256 times to access the bank 0 of the data memory 3 between the instructions of the line numbers 1 to 5 and the address pointer register P0 is used. The history that the register P2 has been used 256 times to access the bank 2 is stored in the storage device 23. The source code conversion device 24 inserts the instruction indicated by line number 0 shown in FIG. 10 based on the history stored in the storage device 23 and a predetermined standard, and stores the conversion source program code shown in FIG. It is stored in the device 25. The instruction with the line number 0 in FIG. 10 is an instruction to set the clock control pointer setting register (CKCNT) 16 in the digital signal processing apparatus in FIG. 6 so that the pointer registers subject to clock control are the registers P0 and P2.

【0045】従って、本実施の形態では、図1のデジタ
ル信号処理装置のようにアドレスポインタレジスタの数
と同数のバンクグループデコーダ4及びバンクグループ
レジスタ5を設けなくとも、プログラムの開発工数を落
とすことなくデジタル信号処理装置を低電力で動作させ
ることが可能になる。
Therefore, in this embodiment, the number of man-hours for developing a program can be reduced without providing the same number of bank group decoders 4 and bank group registers 5 as the number of address pointer registers as in the digital signal processor of FIG. Therefore, it becomes possible to operate the digital signal processing device with low power.

【0046】(第6の実施の形態)最後に、本発明の第
6の実施の形態である通信システムを説明する。
(Sixth Embodiment) Finally, a communication system according to a sixth embodiment of the present invention will be described.

【0047】図11は本実施の形態の通信システムを示
す。同図において、30は前記図1、図5又は図6に示
したデジタル信号処理装置、31はシステム全体を制御
する汎用マイクロコンピュータなどの制御装置、32は
システムの制御情報やデジタル信号処理装置30の入出
力データ、本通信システムの使用者の記憶を補助するた
めの情報、通信データなどを格納する記憶装置である。
FIG. 11 shows the communication system of this embodiment. In the figure, 30 is the digital signal processing device shown in FIG. 1, FIG. 5 or FIG. 6, 31 is a control device such as a general-purpose microcomputer for controlling the entire system, 32 is system control information and digital signal processing device 30. Is a storage device for storing input / output data, information for assisting storage of a user of the communication system, communication data, and the like.

【0048】また、33は本通信システムの使用者が本
通信システムに指示を与えるためのキーボードや通信内
容を入力するためのマイク等の入力装置、34は本通信
システムの使用者にシステムの状態や各種情報を表示す
るディスプレイや通信内容を出力する拡声器等の出力装
置である。
Reference numeral 33 is an input device such as a keyboard for the user of the communication system to give an instruction to the communication system and a microphone for inputting communication contents. Reference numeral 34 is a system status for the user of the communication system. And an output device such as a display for displaying various information and a loudspeaker for outputting communication contents.

【0049】従って、本実施の形態では、低消費電力の
デジタル信号処理装置を備えた通信システムが得られ
る。
Therefore, in this embodiment, a communication system including a low power consumption digital signal processing device can be obtained.

【0050】[0050]

【発明の効果】以上説明したように、請求項1〜7記載
の発明によれば、データメモリへのランダムアクセスの
際にも、アクセスされないバンク又はバンクグループに
対してクロック信号の供給を停止できるので、低消費電
力なデジタル信号処理装置及び通信システムを提供でき
る。
As described above, according to the invention described in claims 1 to 7, it is possible to stop the supply of the clock signal to the bank or bank group which is not accessed even at the time of random access to the data memory. Therefore, a low power consumption digital signal processing device and communication system can be provided.

【0051】特に、請求項2記載の発明では、アドレス
ポインタレジスタ毎にバンクグループデコーダとバンク
グループレジスタとを設けたので、使用するアドレスポ
インタレジスタが決定した後のメモリアクセス信号によ
ってクロック信号の供給制御を行う従来の技術で発生す
るような動作周波数の低下や、パイプライン段数の増加
などのデメリットの発生を防止できる。
In particular, according to the second aspect of the invention, since the bank group decoder and the bank group register are provided for each address pointer register, the supply of the clock signal is controlled by the memory access signal after the address pointer register to be used is determined. It is possible to prevent the occurrence of demerits such as a decrease in operating frequency and an increase in the number of pipeline stages, which would occur in the conventional technique for performing.

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

【図1】本発明の第1の実施の形態のデジタル信号処理
装置を示すブロック図である。
FIG. 1 is a block diagram showing a digital signal processing device according to a first embodiment of the present invention.

【図2】データメモリマップの具体例を示す図である。FIG. 2 is a diagram showing a specific example of a data memory map.

【図3】ソースプログラムコードの一例を示す図であ
る。
FIG. 3 is a diagram showing an example of a source program code.

【図4】本発明の第1の実施の形態のデジタル信号処理
装置の動作を説明するタイミングチャート図である。
FIG. 4 is a timing chart diagram illustrating an operation of the digital signal processing device according to the first embodiment of the present invention.

【図5】本発明の第2の実施の形態のデジタル信号処理
装置を示すブロック図である。
FIG. 5 is a block diagram showing a digital signal processing device according to a second embodiment of the present invention.

【図6】本発明の第3の実施の形態のデジタル信号処理
装置を示すブロック図である。
FIG. 6 is a block diagram showing a digital signal processing device according to a third embodiment of the present invention.

【図7】本発明の第4の実施の形態のプログラム変換装
置を示すブロック図である。
FIG. 7 is a block diagram showing a program conversion device according to a fourth embodiment of the present invention.

【図8】同プログラム変換装置に備えるシミュレーショ
ン装置に入力するソースプログラムコードの一例を示す
図である。
FIG. 8 is a diagram showing an example of a source program code input to a simulation device provided in the program conversion device.

【図9】図8に示したソースプログラムコードを変換し
た変換ソースプログラムコードを示す図である。
9 is a diagram showing a converted source program code obtained by converting the source program code shown in FIG.

【図10】本発明の第5の実施の形態のプログラム変換
装置における変換ソースプログラムコードを示す図であ
る。
FIG. 10 is a diagram showing a conversion source program code in the program conversion device according to the fifth embodiment of the present invention.

【図11】本発明の第6の実施の形態の通信システムを
示すブロック図である。
FIG. 11 is a block diagram showing a communication system according to a sixth exemplary embodiment of the present invention.

【符号の説明】 P0〜P3 アドレスポインタレジス
タ 2 メモリアクセス信号生成
回路 3 データメモリ 4 バンクグループデコーダ 5 バンクグループレジスタ 6 命令デコーダ 7、8 クロック制御信号生成回
路 9 クロックゲート回路 10 演算器 11 データレジスタ 15 ポインタレジスタ選択回
路 16 クロック制御ポインタ設
定レジスタ 20、21、23、25、32 記憶装置 22 シミュレーション装置
(シミュレーション手段) 24 ソースコード変換装置 30 デジタル信号処理装置 31 制御装置 33 入力装置 34 出力装置 35 通信インタフェース装置
[Description of Codes] P0 to P3 Address pointer register 2 Memory access signal generation circuit 3 Data memory 4 Bank group decoder 5 Bank group register 6 Instruction decoders 7 and 8 Clock control signal generation circuit 9 Clock gate circuit 10 Operation unit 11 Data register 15 Pointer register selection circuit 16 Clock control pointer setting register 20, 21, 23, 25, 32 Storage device 22 Simulation device (simulation means) 24 Source code conversion device 30 Digital signal processing device 31 Control device 33 Input device 34 Output device 35 Communication interface apparatus

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 複数のバンクからなるデータ格納領域を
有するデータメモリを備え、予め決められた手順に基づ
き発行された命令コードにより前記データメモリに格納
したデータを処理するデジタル信号処理装置において、 前記データメモリにアクセスするアドレスを格納するア
ドレスポインタレジスタと、 前記アドレスポインタレジスタのデータをデコードして
アドレスポインタレジスタが保持するアドレスが指し示
す前記データメモリのバンク又はバンクグループを特定
するバンクグループデコーダと、 前記バンクグループデコーダのデコード結果を保持する
バンクグループレジスタとを有し、前記バンクグループ
レジスタの値に応じて前記データメモリの各バンクへの
クロック信号の供給及び停止を制御することを特徴とす
るデジタル信号処理装置。
1. A digital signal processing device, comprising a data memory having a data storage area composed of a plurality of banks, for processing data stored in said data memory according to an instruction code issued in accordance with a predetermined procedure. An address pointer register for storing an address for accessing a data memory; a bank group decoder for decoding the data of the address pointer register to identify a bank or a bank group of the data memory indicated by the address held by the address pointer register; A bank group register which holds a decoding result of the bank group decoder, and controls supply and stop of a clock signal to each bank of the data memory according to a value of the bank group register. Signal processing device.
【請求項2】 前記アドレスポインタレジスタは複数備
えられ、 前記バンクグループデコーダは前記複数のアドレスポイ
ンタレジスタ毎に設けられることを特徴とする請求項1
記載のデジタル信号処理装置。
2. The plurality of address pointer registers are provided, and the bank group decoder is provided for each of the plurality of address pointer registers.
The described digital signal processing device.
【請求項3】 前記アドレスポインタレジスタは複数備
えられ、 前記バンクグループデコーダは、前記複数のアドレスポ
インタレジスタのうち一部に対応して設けられることを
特徴とする請求項1記載のデジタル信号処理装置。
3. The digital signal processing device according to claim 1, wherein a plurality of the address pointer registers are provided, and the bank group decoder is provided corresponding to a part of the plurality of address pointer registers. .
【請求項4】 前記アドレスポインタレジスタは複数備
えられ、 前記バンクグループデコーダの個数は、前記複数のアド
レスポインタレジスタよりも少なく、 更に、前記複数のアドレスポインタレジスタのうち一部
を前記バンクグループデコーダに対応付けるポインタレ
ジスタ選択回路と、 前記一部のアドレスポインタレジスタを特定し、前記ポ
インタレジスタ選択回路を制御するクロック制御ポイン
タ設定レジスタとを有することを特徴とする請求項3記
載のデジタル信号処理装置。
4. A plurality of the address pointer registers are provided, the number of the bank group decoders is smaller than that of the plurality of address pointer registers, and a part of the plurality of address pointer registers is provided in the bank group decoder. 4. The digital signal processing device according to claim 3, further comprising a pointer register selection circuit to be associated with the clock control pointer setting register for specifying the part of the address pointer registers and controlling the pointer register selection circuit.
【請求項5】 請求項3記載のデジタル信号処理装置の
プログラム開発環境おいて、 信号処理手続きを記述したソースプログラムからハード
ウェアを制御するための命令コードを生成する際に、そ
のソースプログラムの信号処理手続きを事前に解析し、
そのソースプログラム中のアドレスポインタレジスタの
使用頻度の履歴をとるシミュレーション手段を備え、 前記シミュレーション手段により得られた前記ソースプ
ログラム中のアドレスポインタレジスタの使用頻度の履
歴を基に、使用頻度の多いアドレスポインタレジスタを
使用するレジスタ使用命令を、前記バンクグループデコ
ーダに対応するアドレスポインタレジスタの使用命令に
変更することを特徴とするプログラム変換装置。
5. In the program development environment of the digital signal processing device according to claim 3, when a command code for controlling hardware is generated from a source program describing a signal processing procedure, the signal of the source program is generated. Analyze the processing procedure in advance,
A simulation means for taking a history of the frequency of use of the address pointer register in the source program is provided, and an address pointer with a high frequency of use is based on the history of the frequency of use of the address pointer register in the source program obtained by the simulation means. A program conversion device characterized in that a register use instruction using a register is changed to an instruction using an address pointer register corresponding to the bank group decoder.
【請求項6】 請求項4記載のデジタル信号処理装置の
プログラム開発環境おいて、 信号処理手続きを記述したソースプログラムからハード
ウェアを制御するための命令コードを生成する際に、そ
のソースプログラムの信号処理手続きを事前に解析し、
そのソースプログラム中のアドレスポインタレジスタの
使用頻度の履歴をとるシミュレーション手段を備え、 前記シミュレーション手段により得られた前記ソースプ
ログラム中のアドレスポインタレジスタの使用頻度の履
歴を基に、使用頻度の多いアドレスポインタレジスタを
前記一部のアドレスポインタレジスタとして特定する命
令コードを生成することを特徴とするプログラム変換装
置。
6. The program development environment of the digital signal processing device according to claim 4, wherein when a command code for controlling hardware is generated from a source program describing a signal processing procedure, the signal of the source program is generated. Analyze the processing procedure in advance,
A simulation means for taking a history of the frequency of use of the address pointer register in the source program is provided, and an address pointer with a high frequency of use is based on the history of the frequency of use of the address pointer register in the source program obtained by the simulation means. A program conversion device, which generates an instruction code that specifies a register as the part of the address pointer registers.
【請求項7】 請求項1、2、3又は4記載のデジタル
信号処理装置と、 制御装置、記憶装置、入力装置、出力装置及び通信イン
タフェース装置とを備えたことを特徴とする通信システ
ム。
7. A communication system comprising the digital signal processing device according to claim 1, 2, 3 or 4, and a control device, a storage device, an input device, an output device and a communication interface device.
JP2001318438A 2001-10-16 2001-10-16 Digital signal processing device, program conversion device, and communication system having digital signal processing device Pending JP2003122628A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001318438A JP2003122628A (en) 2001-10-16 2001-10-16 Digital signal processing device, program conversion device, and communication system having digital signal processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001318438A JP2003122628A (en) 2001-10-16 2001-10-16 Digital signal processing device, program conversion device, and communication system having digital signal processing device

Publications (1)

Publication Number Publication Date
JP2003122628A true JP2003122628A (en) 2003-04-25

Family

ID=19136139

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001318438A Pending JP2003122628A (en) 2001-10-16 2001-10-16 Digital signal processing device, program conversion device, and communication system having digital signal processing device

Country Status (1)

Country Link
JP (1) JP2003122628A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016140770A3 (en) * 2015-03-04 2016-11-03 Qualcomm Incorporated Systems and methods for implementing power collapse in a memory

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016140770A3 (en) * 2015-03-04 2016-11-03 Qualcomm Incorporated Systems and methods for implementing power collapse in a memory
US10303235B2 (en) 2015-03-04 2019-05-28 Qualcomm Incorporated Systems and methods for implementing power collapse in a memory

Similar Documents

Publication Publication Date Title
EP0241946A2 (en) Information processing system
JP2554050B2 (en) Data processing method
JPH1165839A (en) Instruction control mechanism of processor
JP2001184336A (en) Matrix operation device and digital signal processing device having matrix operation function
JP2653037B2 (en) Data processing system
JPH11272546A (en) Variable length register device
CN1329819C (en) Method and apparatus for swapping the contents of address registers
JPH03233630A (en) Information processor
US6601160B2 (en) Dynamically reconfigurable data space
JP2003122628A (en) Digital signal processing device, program conversion device, and communication system having digital signal processing device
US20040024992A1 (en) Decoding method for a multi-length-mode instruction set
JP2003005954A (en) Data processor and method for controlling the same
JPH1091430A (en) Command decoding device
JP4264622B2 (en) Processor
JP3729142B2 (en) Parallel processing unit
KR960016401B1 (en) Page selecting circuit of register pages using register page pointer
JPH1020959A (en) Low power microprocessor
US5109516A (en) Sequence controller for controlling next operating state with a short sequence
JP2901247B2 (en) Discharge control method
JPH05298088A (en) Microcomputer
US5768554A (en) Central processing unit
JP2819733B2 (en) Information processing device
JP3366235B2 (en) Data read control device
JPH07175648A (en) Microprogram controller
JP2002116951A (en) Address generation circuit