JP2008134893A - Integrated circuit device - Google Patents
Integrated circuit device Download PDFInfo
- Publication number
- JP2008134893A JP2008134893A JP2006321599A JP2006321599A JP2008134893A JP 2008134893 A JP2008134893 A JP 2008134893A JP 2006321599 A JP2006321599 A JP 2006321599A JP 2006321599 A JP2006321599 A JP 2006321599A JP 2008134893 A JP2008134893 A JP 2008134893A
- Authority
- JP
- Japan
- Prior art keywords
- cpu
- register
- access
- signal
- function management
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/162—Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
- G06F15/163—Interprocessor communication
- G06F15/167—Interprocessor communication using a common memory, e.g. mailbox
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Multi Processors (AREA)
- Microcomputers (AREA)
Abstract
Description
本発明は、集積回路装置に関し、特にその内部に備えられる記憶装置について外部CPU(Central Processing Unit)と内部CPUの間で排他処理を行う集積回路装置に関する。 The present invention relates to an integrated circuit device, and more particularly to an integrated circuit device that performs exclusive processing between an external CPU (Central Processing Unit) and an internal CPU for a storage device provided therein.
近年のオーディオ処理装置には、音楽再生用の集積回路装置と、外部CPUと、を備えているものがある。そしてその中には、集積回路装置内部にも内部CPUを備え、外部CPUと内部CPUとに処理を分散させているものがある。 Some recent audio processing apparatuses include an integrated circuit device for music reproduction and an external CPU. Some of them include an internal CPU inside the integrated circuit device, and the processing is distributed to the external CPU and the internal CPU.
なお、特許文献1乃至3には複数のCPUを用いる装置の例が記載されている。
上記オーディオ処理装置は、外部CPUと内部CPUとが共通の記憶装置にアクセスするように構成される場合がある。このような場合、通常の記憶装置は1度に1つのアクセスしか受け付けられないので、外部CPUと内部CPUの間で排他処理を行う必要がある。具体的には、外部CPUが、共通の記憶装置に対し読み書きのための制御信号を送信している間、内部CPUにウエイト信号が入力される。ウエイト信号が入力されている間、内部CPUはその処理を停止する。 The audio processing apparatus may be configured such that an external CPU and an internal CPU access a common storage device. In such a case, since a normal storage device can accept only one access at a time, it is necessary to perform exclusive processing between the external CPU and the internal CPU. Specifically, a wait signal is input to the internal CPU while the external CPU transmits a control signal for reading and writing to the common storage device. While the wait signal is input, the internal CPU stops its processing.
しかしながら、このようにすると、内部CPUは、外部CPUが記憶装置にアクセスしないときにしか動作できないという問題がある。すなわち、内部CPUが行う処理は記憶装置へのアクセス処理だけではないので、記憶装置へのアクセス以外の処理を行う場合には、内部CPUを動作可能とすることが望まれる。 However, in this case, there is a problem that the internal CPU can operate only when the external CPU does not access the storage device. That is, since the processing performed by the internal CPU is not limited to access processing to the storage device, it is desirable that the internal CPU be operable when processing other than access to the storage device is performed.
従って、本発明の目的の一つは、外部CPUが上記共通の記憶装置にアクセスする場合であっても、内部CPUが該記憶装置へのアクセス以外の処理を行う場合には、該内部CPUを動作可能とすることのできる集積回路装置を提供することにある。 Accordingly, one of the objects of the present invention is that even when the external CPU accesses the common storage device, when the internal CPU performs processing other than access to the storage device, the internal CPU is An object of the present invention is to provide an integrated circuit device that can be operated.
上記課題を解決するための本発明にかかる集積回路装置は、ウエイト信号の入力に応じてその処理を停止する内部CPUと、記憶装置と、を備え、外部CPUからの前記記憶装置へのアクセスを受け入れる集積回路装置であって、前記外部CPUによる前記記憶装置へのアクセスを検出する第1検出手段と、前記内部CPUによる前記記憶装置へのアクセスを検出する第2検出手段と、前記各検出手段の検出結果に応じて、前記内部CPUにウエイト信号を入力するウエイト信号入力手段と、を含むことを特徴とする。
これによれば、外部CPUによる上記記憶装置へのアクセスに加え、内部CPUによる上記記憶装置へのアクセスも検出した上でウエイト信号を内部CPUに入力するので、外部CPUが上記記憶装置にアクセスする場合であっても、内部CPUが上記記憶装置へのアクセス以外の処理を行う場合には、該内部CPUを動作可能とすることができる。
In order to solve the above problems, an integrated circuit device according to the present invention includes an internal CPU that stops processing in response to an input of a wait signal, and a storage device, and allows an external CPU to access the storage device. An integrated circuit device that accepts the first detection means for detecting access to the storage device by the external CPU, second detection means for detecting access to the storage device by the internal CPU, and each detection means And a wait signal input means for inputting a wait signal to the internal CPU according to the detection result.
According to this, in addition to the access to the storage device by the external CPU, the wait signal is input to the internal CPU after detecting the access to the storage device by the internal CPU, so the external CPU accesses the storage device. Even in this case, when the internal CPU performs processing other than access to the storage device, the internal CPU can be made operable.
また、上記集積回路装置において、前記ウエイト信号入力手段は、前記外部CPUと前記内部CPUのいずれもが前記記憶装置にアクセスしようとしていることが前記各検出手段の検出結果により示される場合に、前記内部CPUにウエイト信号を入力する、こととしてもよい。
これによれば、外部CPUと内部CPUのいずれもが上記記憶装置にアクセスしようとしている場合に、内部CPUの処理を停止させることができる。
In the integrated circuit device, the wait signal input means may be configured such that when the detection results of the detection means indicate that both the external CPU and the internal CPU are trying to access the storage device. A wait signal may be input to the internal CPU.
According to this, when both the external CPU and the internal CPU are trying to access the storage device, the processing of the internal CPU can be stopped.
また、上記各集積回路装置において、前記各検出手段は、前記各CPUと前記記憶装置との間で送受信される制御信号に基づいて、前記各CPUによる前記記憶装置へのアクセスを検出する、こととしてもよい。
これによれば、集積回路装置は、各CPUと記憶装置との間で送受信される制御信号に基づいて、各CPUによる記憶装置へのアクセスを検出することができる。
Further, in each of the integrated circuit devices, each of the detecting means detects an access to the storage device by each of the CPUs based on a control signal transmitted / received between each of the CPUs and the storage device. It is good.
According to this, the integrated circuit device can detect the access to the storage device by each CPU based on the control signal transmitted and received between each CPU and the storage device.
本発明の実施の形態について、図面を参照しながら説明する。 Embodiments of the present invention will be described with reference to the drawings.
図1は、本実施の形態にかかるオーディオ処理装置1のシステム構成及び機能ブロックを示す概略ブロック図である。同図に示すように、オーディオ処理装置1は、LSI(Large Scale Integrated circuit:大規模集積回路装置)10及びホストCPU20を含んで構成される。また、LSI10は、その内部にFIFO(First In First Out)11、DSP(Digital Signal Processer)12、制御レジスタ13、選択部14、レジスタアクセス信号取得部15及び16、機能管理CPU17、ウエイト信号生成部18を含んで構成される。このオーディオ処理装置1は例えば携帯電話に搭載されるものであり、LSI10は音楽再生にかかる信号処理等の処理を行うためのものである。
FIG. 1 is a schematic block diagram showing a system configuration and functional blocks of an audio processing apparatus 1 according to the present embodiment. As shown in FIG. 1, the audio processing apparatus 1 includes an LSI (Large Scale Integrated circuit) 10 and a
DSP12は、演算処理装置、プログラム記憶装置、データ記憶装置、FM音源装置、圧縮オーディオデコーダ装置、圧縮オーディオエンコーダ装置、又はボリュームコントロール装置などの各種装置を含んで構成される(不図示)。プログラム記憶装置は演算処理装置の動作を制御するためのプログラムを記憶しており、演算処理装置は、プログラム記憶装置に記憶されるプログラムに記述される命令に従って動作する。その際、演算処理装置は、同プログラムに記述される命令に従って、上記各種装置に対し、必要な処理を行わせる。 The DSP 12 includes various devices such as an arithmetic processing device, a program storage device, a data storage device, an FM sound source device, a compressed audio decoder device, a compressed audio encoder device, and a volume control device (not shown). The program storage device stores a program for controlling the operation of the arithmetic processing device, and the arithmetic processing device operates in accordance with instructions described in the program stored in the program storage device. At that time, the arithmetic processing device causes the various devices to perform necessary processing in accordance with instructions described in the program.
具体的には、データ記憶装置には楽曲データが記憶されており、プログラムには、DSP12が、データ記憶装置に記憶される楽曲データを読み取りながら、該楽曲データを再生するための処理を行うために、演算処理装置が行うべき処理の手順が記述されている。 Specifically, music data is stored in the data storage device, and the program performs processing for playing back the music data while the DSP 12 reads the music data stored in the data storage device. Describes the procedure of the processing to be performed by the arithmetic processing unit.
なお、データ記憶装置に記憶される楽曲データは、ホストCPU20により書き込まれるものである。ホストCPU20は、例えば図示しないインターネットからのダウンロードによってデータ記憶装置に記憶すべき楽曲データを取得すると、FIFO11に対して該楽曲データを送信する。FIFO11は、受信した楽曲データを一時記憶する。データ記憶装置は、FIFO11に書き込まれた順に楽曲データを読み出し、記憶する。
Note that the music data stored in the data storage device is written by the
さて、DSP12の演算処理装置が、プログラム記憶装置に記憶されるプログラムを読み出しながら、その記述に従って処理を行うと、結果として、DSP12は、データ記憶装置上に記憶される楽曲データを読み取りながら、上記各種装置を用いつつ、該楽曲データを再生するための処理を行うことになる。一例では、DSP12は、圧縮されている楽曲データを、圧縮オーディオデコーダ装置を用いて音源装置による再生が可能なフォーマット形式(例えばPCM(Pluse-Code Modulation)形式)に変換し、音源装置を用いて、変換後の楽曲データを音声出力する。
Now, when the arithmetic processing unit of the
ところで、プログラム記憶装置に記憶されるプログラムにはパラメータ(変数)が含まれている。制御レジスタ13は、このパラメータの具体的な値(制御データ)を記憶する記憶装置である。DSP12内の演算処理装置は、プログラム記憶装置から読み出したプログラムにパラメータが含まれている場合、制御レジスタ13を参照して該パラメータに対応する制御データを読み出し、該制御データに基づいて動作する。
By the way, the program stored in the program storage device includes parameters (variables). The
ホストCPU20及び機能管理CPU17は、それぞれLSI10の外部に設けられる外部CPU及び同内部に設けられる内部CPUであり、いずれも制御レジスタ13にアクセスし、制御データの読み書きを行う。これにより、ホストCPU20及び機能管理CPU17は、DSP12の動作を制御する。
The
具体的な例では、機能管理CPU17は、DSP12に含まれる上記各種装置についての電源投入、クロック供給/停止、初期化、及び停止の各処理にかかる制御データと、ボリュームコントロール装置が行うボリュームコントロール処理にかかる制御データと、について、制御レジスタ13に対する読み書きを行う。また、ホストCPU20は、それ以外の各処理にかかる制御データについて、制御レジスタ13に対する読み書きを行う。
機能管理CPU17が行うべき処理の内容はホストCPU20に比べて限定されている。このため、機能管理CPU17は、その動作クロックを、ホストCPU20の動作クロックに比べて低くすることができる。
In a specific example, the
The contents of processing to be performed by the
ホストCPU20及び機能管理CPU17と、制御レジスタ13との間でのデータのやり取りは、レジスタ制御信号によって行われる。レジスタ制御信号は制御データの書き込み又は制御データの読み出しを指示するための信号であり、制御レジスタ13内のアドレスを示すアドレスデータと、ライト指示信号又はリード指示信号と、を含んで構成される。また、データの書き込みを指示するためのレジスタ制御信号は、具体的な書き込みデータ(制御レジスタライトデータ)も含んで構成される。
Data exchange between the
ホストCPU20及び機能管理CPU17は、上記レジスタ制御信号を、後述する選択部14を介し、制御レジスタ13に対して送信する。制御レジスタ13は、レジスタ制御信号を受信すると、該レジスタ制御信号による指示に応じて制御データの書き込み又は読み出しを行い、その結果を示すレジスタ制御信号を、後述する選択部14を介して、ホストCPU20又は機能管理CPU17に対して送信する。データの読み出しを行った際には、制御レジスタ13は、ホストCPU20又は機能管理CPU17に対する読み出しデータ(制御レジスタリードデータ)の送信も行う。
The
また、機能管理CPU17は、ウエイト信号の入力を受け付けるためのポート(ウエイト信号入力ポート)を備えている。機能管理CPU17は、ウエイト信号入力ポートへのウエイト信号の入力に応じて、その処理を停止する。具体的には、ウエイト信号が入力されている間、その処理を停止する。
Further, the
レジスタアクセス信号取得部15は、ホストCPU20と選択部14の間に設けられる、上記レジスタ制御信号(以下では、ホストCPUレジスタ制御信号という。)の送受信のためのバス上に設けられ、ホストCPU20と制御レジスタ13の間で送受信されるホストCPUレジスタ制御信号に基づいて、ホストCPU20による制御レジスタ13へのアクセスを検出する。
The register access
具体的には、レジスタアクセス信号取得部15は上記ホストCPUレジスタ制御信号を取得し、該ホストCPUレジスタ制御信号に基づいて、ホストCPU20による制御レジスタ13へのアクセスを検出し、その結果を示すホストCPUアクセス信号を取得する。具体的な例では、レジスタアクセス信号取得部15は、ホストCPUレジスタ制御信号に含まれるライト指示信号又はリード指示信号のうちいずれかを取得した場合に、ホストCPU20による制御レジスタ13へのアクセスを検出し、その旨を示すホストCPUアクセス信号を取得する。また、ホストCPU20が制御レジスタ13へアクセスすることを示すチップセレクト信号がホストCPUレジスタ制御信号に含まれる場合、レジスタアクセス信号取得部15は、チップセレクト信号を取得したことをもって、ホストCPU20による制御レジスタ13へのアクセスを検出し、その旨を示すホストCPUアクセス信号を取得する。レジスタアクセス信号取得部15は、こうして取得したホストCPUアクセス信号をウエイト信号生成部18及び選択部14に出力する。
Specifically, the register access
選択部14は、レジスタアクセス信号取得部15からホストCPUアクセス信号の入力を受け付け、該ホストCPUアクセス信号に応じて、ホストCPU20と制御レジスタ13の間で送受信されるホストCPUレジスタ制御信号、又は機能管理CPU17と制御レジスタ13の間で送受信される機能管理CPUレジスタ制御信号、のいずれかを選択し、通過させる。具体的には、ホストCPUアクセス信号によりホストCPU20が制御レジスタ13へアクセスすることが示される場合に、ホストCPUレジスタ制御信号を通過させ、かつ機能管理CPUレジスタ制御信号を無効化する。一方、ホストCPUアクセス信号によりホストCPU20が制御レジスタ13へアクセスしないことが示される場合に、機能管理CPUレジスタ制御信号を通過させる。なお、この場合、ホストCPUレジスタ制御信号の送受信がなされることはない。
The
レジスタアクセス信号取得部16は、機能管理CPU17と選択部14の間に設けられる、上記レジスタ制御信号(以下では、機能管理CPUレジスタ制御信号という。)の送受信のためのバス上に設けられ、機能管理CPU17と制御レジスタ13の間で送受信される機能管理CPUレジスタ制御信号に基づいて、機能管理CPU17による制御レジスタ13へのアクセスを検出する。
The register access
具体的には、レジスタアクセス信号取得部16は上記機能管理CPUレジスタ制御信号を取得し、該機能管理CPUレジスタ制御信号に基づいて、機能管理CPU17による制御レジスタ13へのアクセスを検出し、その結果を示す機能管理CPUアクセス信号を取得する。具体的な例では、レジスタアクセス信号取得部16は、機能管理CPUレジスタ制御信号に含まれるライト指示信号又はリード指示信号のうちいずれかを取得した場合に、機能管理CPU17による制御レジスタ13へのアクセスを検出し、その旨を示す機能管理CPUアクセス信号を取得する。また、機能管理CPU17が制御レジスタ13へアクセスすることを示すチップセレクト信号が機能管理CPUレジスタ制御信号に含まれる場合、レジスタアクセス信号取得部16は、チップセレクト信号を取得したことをもって、機能管理CPU17による制御レジスタ13へのアクセスを検出し、その旨を示す機能管理CPUアクセス信号を取得する。レジスタアクセス信号取得部16は、こうして取得した機能管理CPUアクセス信号をウエイト信号生成部18に出力する。
Specifically, the register access
ウエイト信号生成部18は、レジスタアクセス信号取得部15及びレジスタアクセス信号取得部16の検出結果に応じて、機能管理CPU17にウエイト信号を入力する。具体的には、ホストCPU20と機能管理CPU17のいずれもが制御レジスタ13にアクセスしようとしていることがレジスタアクセス信号取得部15及びレジスタアクセス信号取得部16の検出結果により示される場合に、ウエイト信号を生成し、機能管理CPU17に入力する。
The wait signal generation unit 18 inputs a wait signal to the
ウエイト信号生成部18は、ハードウェアとしては、例えばAND回路により実現することができる。この場合、ホストCPUアクセス信号は、ホストCPU20による制御レジスタ13へのアクセスが検出された場合に電圧ハイ状態、検出されない場合に電圧ロー状態となる信号であるとすることが好適である。同様に、機能管理CPUアクセス信号は、機能管理CPU17による制御レジスタ13へのアクセスが検出された場合に電圧ハイ状態、検出されない場合に電圧ロー状態となる信号であるとすることが好適である。ウエイト信号生成部18を構成するAND回路は、ホストCPUアクセス信号と機能管理CPUアクセス信号の両方が電圧ハイ状態である場合に、ウエイト信号を生成し、機能管理CPU17に入力する。
The weight signal generation unit 18 can be realized as hardware by, for example, an AND circuit. In this case, the host CPU access signal is preferably a signal that is in a voltage high state when access to the
また、ウエイト信号生成部18は、ウエイト信号入力ポートへの入力を電圧ハイ状態とすることによりウエイト信号を機能管理CPU17に入力し、同じく電圧ロー状態とすることによりウエイト信号を機能管理CPU17に入力しない、こととしてもよい。
The wait signal generator 18 inputs the wait signal to the
こうしてウエイト信号が入力される機能管理CPU17は、ウエイト信号が入力されている間(例えば、ウエイト信号入力ポートへの入力が電圧ハイ状態となっている間)、その処理を停止する。
The
以上の処理について、各装置間で送受信される信号及びデータのタイムチャートを参照しながら再度より詳細に説明する。 The above processing will be described again in more detail with reference to time charts of signals and data transmitted and received between the devices.
図2は、ホストCPU20及び機能管理CPU17それぞれが制御レジスタ13に対する書き込みを行う場合に、制御レジスタ13に対して入出力される信号及びデータと、上記ウエイト信号と、のタイムチャートを示す図である。図中の記号CLK,ADDR1,RD1,WR1,WRDATA1、RDDATA、ADDR2,RD2,WR2,WRDATA2,WAITはそれぞれ、クロック,ホストCPU20が送信するホストCPUレジスタ制御信号に含まれるアドレスデータ,同リード指示信号,同ライト指示信号,同制御レジスタライトデータ,制御レジスタリードデータ,機能管理CPU17が送信する機能管理CPUレジスタ制御信号に含まれるアドレスデータ,同リード指示信号,同ライト指示信号,同制御レジスタライトデータ,ウエイト信号をそれぞれ示している。
FIG. 2 is a diagram showing a time chart of signals and data input / output to / from the
ホストCPU20及び機能管理CPU17は、所定周期の周期信号であるクロック(図2のCLK)に同期して、書き込みアドレスを示すアドレスデータ、ライト指示信号、制御レジスタライトデータを含むレジスタ制御信号(図2のADDR、WR、及びWRDATA)、又は読み出しアドレスを示すアドレスデータ、リード指示信号を含むレジスタ制御信号(図2のADDR、RD)のいずれかを出力する。
The
図2の例では、1番目のクロックのタイミングで、ホストCPU20及び機能管理CPU17の両方が、リード指示信号を含むレジスタ制御信号を送信している。この場合、選択部14はホストCPU20から受信されるレジスタ制御信号のみを通過させ、機能管理CPU17から受信されるレジスタ制御信号を無効化する。一方、ウエイト信号生成部18はウエイト信号を生成し、機能管理CPU17に出力する(図2のWAIT)。その結果、機能管理CPU17は、その処理を停止してレジスタ制御信号をそのまま保持し、ウエイト信号の入力がなくなった時点から再度レジスタ制御信号の送信を行う。すなわち、ウエイト信号の入力がなくなった時点から1クロック周期分に亘って、送信状態のままレジスタ制御信号を保持する。
In the example of FIG. 2, both the
制御レジスタ13は、1番目のクロックのタイミングでホストCPU20が送信した上記レジスタ制御信号を受信し、該レジスタ制御信号に応じてデータの読み出しを行う。そして、2番目のクロックのタイミングで、読み出したデータを、ホストCPU20に対して送信する。さらに、制御レジスタ13は、2番目のクロックのタイミングで機能管理CPU17が送信した上記レジスタ制御信号を受信し、該レジスタ制御信号に応じてデータの読み出しを行う。そして、3番目のクロックのタイミングで、読み出したデータを、機能管理CPU17に対して送信する。
The control register 13 receives the register control signal transmitted from the
また、図2の例では、3番目のクロックのタイミングで、ホストCPU20及び機能管理CPU17の両方が、ライト指示信号を含むレジスタ制御信号を送信している。この場合も、選択部14はホストCPU20から受信されるレジスタ制御信号のみを通過させ、機能管理CPU17から受信されるレジスタ制御信号を無効化する。一方、ウエイト信号生成部18はウエイト信号を生成し、機能管理CPU17に出力する(図2のWAIT)。その結果、機能管理CPU17は、その処理を停止してレジスタ制御信号をそのまま保持し、ウエイト信号の入力がなくなった時点から再度レジスタ制御信号の送信を行う。すなわち、ウエイト信号の入力がなくなった時点から1クロック周期分に亘って、送信状態のままレジスタ制御信号を保持する。
In the example of FIG. 2, both the
制御レジスタ13は、3番目のクロックのタイミングでホストCPU20が送信した上記レジスタ制御信号を受信し、該レジスタ制御信号に含まれる書き込みデータを、自身に書き込む。さらに、制御レジスタ13は、4番目のクロックのタイミングで機能管理CPU17が送信した上記レジスタ制御信号を受信し、該レジスタ制御信号に含まれる書き込みデータを、自身に書き込む。
The control register 13 receives the register control signal transmitted from the
以上説明したように、LSI10によれば、ホストCPU20による制御レジスタ13へのアクセスに加え、機能管理CPU17による制御レジスタ13へのアクセスも検出した上で機能管理CPU17にウエイト信号を入力するので、ホストCPU20が制御レジスタ13にアクセスする場合であっても、機能管理CPU17が制御レジスタ13へのアクセス以外の処理を行う場合には、該制御レジスタ13を動作可能とすることができる。
As described above, according to the
また、ホストCPU20と機能管理CPU17のいずれもが制御レジスタ13にアクセスしようとしている場合に、機能管理CPU17の処理を停止させることができる。
Further, when both the
さらに、機能管理CPU17はその機能が限定されており、ホストCPU20に比べて動作クロックが低く、その消費電力を低く抑えることができるので、上記構成を採用することにより、全体としての消費電力を低く抑えることができるようになる。
Furthermore, since the
また、排他処理のためにウエイト信号を用いているので、機能管理CPU17は、ホストCPU20による制御レジスタ13へのアクセスがないクロック周期に、間髪入れず制御レジスタ13へのアクセスを行うことができる。これにより、全体としての処理が高速化される。
In addition, since the wait signal is used for the exclusive processing, the
なお、本発明は上記実施の形態に限定されるものではない。例えば、制御レジスタ13の記憶領域は、DSP12の機能ごとに分割される場合がある。例えば、ホストCPU20が担当する機能Aと、機能管理CPU17が担当する機能Bと、で制御レジスタ13の記憶領域を分割するような場合である。この場合、レジスタアクセス信号取得部15は、ホストCPUレジスタ制御信号に含まれるアドレスデータにも応じて、ホストCPU20による制御レジスタ13へのアクセスを検出する。例えば上記例では、アドレスデータにより、ホストCPU20が、制御レジスタ13の記憶領域のうち、機能Aにかかる記憶領域にアクセスしようとする場合にのみ、ホストCPU20による制御レジスタ13へのアクセスを検出する。レジスタアクセス信号取得部16についても同様である。これによれば、より適切に、各CPUによる制御レジスタ13へのアクセスを検出できる。
The present invention is not limited to the above embodiment. For example, the storage area of the
また、ホストCPU20は、機能管理CPU17による制御レジスタ13へのアクセス終了を待たなければ、その処理を開始できない場合がある。この場合、ホストCPU20は、機能管理CPU17による制御レジスタ13へのアクセスが終了するまでの間、低消費電力モードに入ることが望ましい。そして、機能管理CPU17は、アクセスが終了すると、ホストCPU20に対し、割り込み通知信号を送信するようにすることが望ましい。ホストCPU20は、こうして送信された割り込み通知信号を受信することにより、その処理を開始することが可能となる。
Further, the
1 オーディオ処理装置、10 LSI、11 FIFO、12 DSP、13 制御レジスタ、14 選択部、15,16 レジスタアクセス信号取得部、17 機能管理CPU、18 ウエイト信号生成部、20 ホストCPU。 DESCRIPTION OF SYMBOLS 1 Audio processing apparatus, 10 LSI, 11 FIFO, 12 DSP, 13 Control register, 14 Selection part, 15, 16 Register access signal acquisition part, 17 Function management CPU, 18 Wait signal generation part, 20 Host CPU.
Claims (3)
前記外部CPUによる前記記憶装置へのアクセスを検出する第1検出手段と、
前記内部CPUによる前記記憶装置へのアクセスを検出する第2検出手段と、
前記各検出手段の検出結果に応じて、前記内部CPUにウエイト信号を入力するウエイト信号入力手段と、
を含むことを特徴とする集積回路装置。 An integrated circuit device comprising an internal CPU that stops processing in response to an input of a wait signal, and a storage device, and accepting access to the storage device from an external CPU,
First detecting means for detecting access to the storage device by the external CPU;
Second detection means for detecting access to the storage device by the internal CPU;
Wait signal input means for inputting a wait signal to the internal CPU according to the detection results of the detection means;
An integrated circuit device comprising:
前記ウエイト信号入力手段は、前記外部CPUと前記内部CPUのいずれもが前記記憶装置にアクセスしようとしていることが前記各検出手段の検出結果により示される場合に、前記内部CPUにウエイト信号を入力する、
ことを特徴とする集積回路装置。 The integrated circuit device according to claim 1,
The wait signal input means inputs a wait signal to the internal CPU when the detection results of the detection means indicate that both the external CPU and the internal CPU are trying to access the storage device. ,
An integrated circuit device.
前記各検出手段は、前記各CPUと前記記憶装置との間で送受信される制御信号に基づいて、前記各CPUによる前記記憶装置へのアクセスを検出する、
ことを特徴とする集積回路装置。 The integrated circuit device according to claim 1 or 2,
Each of the detection means detects access to the storage device by each CPU based on a control signal transmitted and received between the CPU and the storage device.
An integrated circuit device.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006321599A JP2008134893A (en) | 2006-11-29 | 2006-11-29 | Integrated circuit device |
KR1020070120954A KR20080048943A (en) | 2006-11-29 | 2007-11-26 | Integrated circuit apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006321599A JP2008134893A (en) | 2006-11-29 | 2006-11-29 | Integrated circuit device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008134893A true JP2008134893A (en) | 2008-06-12 |
Family
ID=39559700
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006321599A Pending JP2008134893A (en) | 2006-11-29 | 2006-11-29 | Integrated circuit device |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2008134893A (en) |
KR (1) | KR20080048943A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014166034A (en) * | 2013-02-25 | 2014-09-08 | Denso Corp | Battery monitoring device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6246356A (en) * | 1985-08-26 | 1987-02-28 | Hitachi Ltd | Cpu board |
JPH1139266A (en) * | 1997-07-17 | 1999-02-12 | Sharp Corp | Multiprocessor device |
JP2001155006A (en) * | 1999-11-30 | 2001-06-08 | Sharp Corp | Bus control circuit and microcomputer system using the same |
JP2004199187A (en) * | 2002-12-16 | 2004-07-15 | Matsushita Electric Ind Co Ltd | Cpu built-in lsi |
-
2006
- 2006-11-29 JP JP2006321599A patent/JP2008134893A/en active Pending
-
2007
- 2007-11-26 KR KR1020070120954A patent/KR20080048943A/en not_active Application Discontinuation
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6246356A (en) * | 1985-08-26 | 1987-02-28 | Hitachi Ltd | Cpu board |
JPH1139266A (en) * | 1997-07-17 | 1999-02-12 | Sharp Corp | Multiprocessor device |
JP2001155006A (en) * | 1999-11-30 | 2001-06-08 | Sharp Corp | Bus control circuit and microcomputer system using the same |
JP2004199187A (en) * | 2002-12-16 | 2004-07-15 | Matsushita Electric Ind Co Ltd | Cpu built-in lsi |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014166034A (en) * | 2013-02-25 | 2014-09-08 | Denso Corp | Battery monitoring device |
Also Published As
Publication number | Publication date |
---|---|
KR20080048943A (en) | 2008-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101226412B1 (en) | System, method or apparatus for combining multiple streams of media data | |
US6427181B1 (en) | Method of and apparatus for processing information, and providing medium | |
JP4408840B2 (en) | HDD controller and system equipped with the same | |
JP2015043235A (en) | Configuring surrogate memory accessing agents using instruction for translating and storing data value | |
JP2008134893A (en) | Integrated circuit device | |
JP2006331391A (en) | Data processor and data processing method | |
JP2007010606A (en) | Lsi inspection module, control method for lsi inspection module, communication method between lsi inspection module and lsi inspection device, and lsi inspection method | |
KR100606163B1 (en) | Direct memory access device, system and method for transmitting and receiving data through direct memory access device | |
JP2006285724A (en) | Information processor and information processing method | |
JP5018047B2 (en) | Integrated circuit device | |
TW200745871A (en) | System having bus architecture for improving CPU performance and method thereof | |
JP2004318877A (en) | Intelligent waiting method | |
WO2010029682A1 (en) | Information processing device | |
JP2006127407A (en) | Semiconductor integrated circuit | |
US20240143268A1 (en) | Supporting multiple audio endpoints with a single integrated inter-chip sound controller | |
JP2008065549A (en) | Microcomputer, information processing system, electronic equipment and start control method for microcomputer | |
JP2010140440A (en) | Bus arbitration device | |
JP3434713B2 (en) | Register control device and register control method | |
JP2007286765A (en) | Memory access device | |
JP2003177960A (en) | Arithmetic unit and storage device | |
JP2010165095A (en) | Arithmetic processor and camera system | |
JP2006338484A (en) | Bus loading test device and processing system with the same | |
JP2007257169A (en) | Access control method and information processor | |
JP2008269199A (en) | Integrated circuit device | |
Zhang et al. | Design of portable media player based on linux and MIPS-core au1200 processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090918 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120712 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120724 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20121113 |