JP2010049556A - Image processor - Google Patents
Image processor Download PDFInfo
- Publication number
- JP2010049556A JP2010049556A JP2008214157A JP2008214157A JP2010049556A JP 2010049556 A JP2010049556 A JP 2010049556A JP 2008214157 A JP2008214157 A JP 2008214157A JP 2008214157 A JP2008214157 A JP 2008214157A JP 2010049556 A JP2010049556 A JP 2010049556A
- Authority
- JP
- Japan
- Prior art keywords
- cpu core
- program
- logic circuit
- cpu
- storage means
- 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.)
- Granted
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
本発明は、画像処理に特化したプロセッサ及びその他の処理を行うプロセッサを備えた画像処理装置に関する。 The present invention relates to an image processing apparatus including a processor specialized for image processing and a processor for performing other processing.
従来より、複数のプロセッサを有する半導体集積装置において、各プロセッサが実行するプログラムのダウンロード方式についての提案がなされている。そして、複数のDSP(Digital Signal Processor)を有する回路における従来技術として、「音声符号/復号化回路として用いられる複数のディジタルシグナルプロセッサ各々へプログラムをダウンロードするためのDSPプログラムダウンロードシステムであって、前記複数のディジタルシグナルプロセッサ各々にダウンロードするプログラムを格納するプログラムダウンロード用メモリと、前記複数のディジタルシグナルプロセッサ各々から前記プログラムダウンロード用メモリへのダイレクトメモリアクセスを制御する制御手段とを備え」たものが提案されている(例えば、特許文献1参照)。 2. Description of the Related Art Conventionally, in a semiconductor integrated device having a plurality of processors, proposals have been made for a program download method executed by each processor. As a conventional technique in a circuit having a plurality of DSPs (Digital Signal Processors), “a DSP program download system for downloading a program to each of a plurality of digital signal processors used as a speech encoding / decoding circuit, Proposed with a program download memory for storing a program to be downloaded to each of the plurality of digital signal processors and a control means for controlling direct memory access from each of the plurality of digital signal processors to the program download memory " (For example, refer to Patent Document 1).
上記特許文献1に記載された技術によれば、プログラムダウンロード用メモリを介して複数のDSPにプログラムをダウンロードしているが、プログラムを格納するための多くのメモリが必要となってしまう。すなわち、予めプログラムを格納しておくためのメモリと、プログラムダウンロード用メモリ、そして、DSPがプログラムを実行するために必要となる内蔵メモリが必要であり、半導体集積装置全体としては各DSPが実行するプログラム容量の総和の3倍のメモリ容量が必要となる。
According to the technique described in
本発明は、上記のような課題を解決するためになされたもので、複数のプロセッサを有する画像処理装置において、各プロセッサのプログラム実行に必要なメモリ容量を削減することのできる画像処理装置を提供するものである。 The present invention has been made to solve the above-described problems, and provides an image processing apparatus capable of reducing the memory capacity required for program execution of each processor in an image processing apparatus having a plurality of processors. To do.
本発明に係る画像処理装置は、
画像伸張処理を行う描画処理ロジック回路と、
前記描画処理ロジック回路の制御を行う第1のCPUコアと、
1又は複数の第2のCPUコアと、
前記描画処理ロジック回路が処理する画像データ、前記第1のCPUコアが実行するプログラム、及び前記第2のCPUコアが実行するプログラムを格納する第1の記憶手段と、
前記第1のCPUコア及び第2のCPUコアにそれぞれ接続された複数の第2の記憶手段と、
前記第1の記憶手段から前記第1のCPUコアが実行するプログラム及び前記第2のCPUコアが実行するプログラムを読み出して、前記第2の記憶手段へ格納するロード手段とを有し、
前記ロード手段は、初期化時に、前記第1のCPUコア及び第2のCPUコアがそれぞれ実行するプログラムを、前記第1の記憶手段から読み出して前記第2の記憶手段に格納し、
前記第1のCPUコア及び第2のCPUコアは、前記第2の記憶手段に格納されたプログラムを実行し、
前記描画処理ロジック回路は、画像伸張処理を行う際に前記第1の記憶手段から画像データを読み出して画像伸張処理を行う
ことを特徴とするものである。
An image processing apparatus according to the present invention includes:
A drawing processing logic circuit for performing image expansion processing;
A first CPU core for controlling the drawing processing logic circuit;
One or more second CPU cores;
First storage means for storing image data processed by the drawing processing logic circuit, a program executed by the first CPU core, and a program executed by the second CPU core;
A plurality of second storage means respectively connected to the first CPU core and the second CPU core;
Load means for reading out the program executed by the first CPU core and the program executed by the second CPU core from the first storage means and storing them in the second storage means;
The loading means reads a program executed by each of the first CPU core and the second CPU core at the time of initialization from the first storage means and stores the programs in the second storage means,
The first CPU core and the second CPU core execute a program stored in the second storage unit,
The drawing processing logic circuit reads image data from the first storage unit and performs image expansion processing when performing image expansion processing.
本発明に係る複数のCPUコアを有する画像処理装置によれば、第1の記憶手段に格納されたプログラムを読み出して各CPUコアに接続された第2の記憶手段に格納し、各CPUコアは第2の記憶手段に格納されたプログラムを直接実行するようにしたので、各CPUコアのプログラム実行に必要なメモリ容量を削減することができる。 According to the image processing apparatus having a plurality of CPU cores according to the present invention, the program stored in the first storage means is read and stored in the second storage means connected to each CPU core, Since the program stored in the second storage unit is directly executed, it is possible to reduce the memory capacity required for executing the program of each CPU core.
実施の形態1.
図1は、本発明の実施の形態1に係る画像処理装置の構成を示すブロック図である。図1において、画像処理装置20は、ASICやFPGA等で構成される半導体集積装置10と、プログラムROM1とを備えている。
FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to
半導体集積装置10は、ROMローダ2、デュアルポートメモリ(図では、DPMEMと記す)3A、3B、CPUコア4A、4B、RAM5A、5B、描画エンジン6、VRAM(Video Random−Access Memory)7、LCDコントローラ(図では、LCDCと記す)8、LCD(Liquid Crystal Display)9を有する。なお、ROMローダ2は本発明のロード手段に相当し、デュアルポートメモリ3A、3Bは本発明の第2の記憶手段に相当する。
The semiconductor integrated
半導体集積装置10には、フラッシュメモリ等の不揮発メモリであるプログラムROM1が接続されている。プログラムROM1には、CPUコア4A、4Bが実行するプログラムと、圧縮された画像データやフォントデータなどの描画データが格納されている。なお、プログラムROM1は、本発明の第1の記憶手段に相当する。
The semiconductor integrated
CPUコア4Aは表示制御を行うプロセッサであり、描画エンジン6の制御を司るものである。CPUコア4Bは、通信制御を行うプロセッサであり、通信インタフェース(図では、通信I/Fと記す)12と接続されている。CPUコア4AとCPUコア4Bは互いに接続されており、処理結果や処理の指示などの授受を行う。なお、本発明の第1のCPUコアは本実施の形態1のCPUコア4Aに、第2のCPUコアはCPUコア4Bに相当する。また、本実施の形態1ではCPUコア4Bが1つである場合の例について説明するが、実行する機能に応じて複数のCPUコア4Bを設ける構成としてもよい。
The
CPUコア4A、4Bには、デュアルポートメモリ3A、3Bがそれぞれ接続されている。デュアルポートメモリ3A、3Bは、CPUコア4A、4Bが実行するプログラムを格納する。そして、RAM5A、5Bは、CPUコア4A、4Bが処理を行うときの作業用のメモリである。 Dual port memories 3A and 3B are connected to the CPU cores 4A and 4B, respectively. The dual port memories 3A and 3B store programs executed by the CPU cores 4A and 4B. The RAMs 5A and 5B are working memories when the CPU cores 4A and 4B perform processing.
描画エンジン6は、圧縮画像データの伸張処理やフォントデータの展開や、線描画、円描画、矩形描画、図形の塗りつぶしなど、描画データの表示処理を行う回路である。描画エンジン6は、CPUコア4Aによって指定されたデータをVRAM7に書き込む。VRAM7は、画像データを展開するためのバッファメモリである。LCDコントローラ8は、VRAM7に書き込まれたデータをLCD9に出力する。なお、描画エンジン6は、本発明の描画処理ロジック回路に相当する。また、本発明では、圧縮画像の伸張処理やフォントデータの展開を含めて、画像伸張処理と称している。また、本発明の画像データには、圧縮された画像データ及びフォントデータを含む。
The
図2は、プログラムROM1のデータ格納例である。図2において、データの先頭には、「格納内容」と、これに対応する「格納アドレス」として先頭アドレスと終点アドレスが格納されている。そして、CPUコア4Aの実行プログラム、CPUコア4Bの実行プログラム、圧縮画像データ、フォントデータが格納されている。
FIG. 2 shows an example of data storage in the
上記のような構成において、半導体集積装置10の動作について説明する。
半導体集積装置10のリセットが解除されると、ROMローダ2は、プログラムROM1の先頭アドレスからデータを読み出し、「格納内容」と「格納アドレス」を確認する。そして、CPUコア4A、4Bのプログラムが格納された先頭アドレスと終点アドレスを取得し、取得した格納アドレスに格納されたプログラムを読み出してデュアルポートメモリ3A、3Bにそれぞれ格納する。このとき、プログラムROM1に格納された圧縮画像データやフォントデータの読み出し・格納は行わない。
The operation of the semiconductor integrated
When the reset of the semiconductor integrated
デュアルポートメモリ3A、3Bへのプログラムのロードが完了すると、ROMローダ2は、CPUコア4A、4Bのリセットを解除する。リセットが解除されると、CPUコア4A、4Bは、デュアルポートメモリ3A、3Bに格納されたプログラムを直接読み込み、実行を開始する。
When loading of the program to the dual port memories 3A and 3B is completed, the
例えば、図示しないタッチパネルやスイッチなどの入力インタフェースへの入力が行われると、CPUコア4Bは、通信インタフェース12を介してこの情報を取得し、デュアルポートメモリ3Bに格納されたプログラムに従って必要な制御処理を行う。そして、LCD9の表示更新が必要な場合には、CPUコア4Bは、CPUコア4Aに対して表示更新を要求する。
For example, when an input to an input interface such as a touch panel or a switch (not shown) is performed, the CPU core 4B acquires this information via the communication interface 12, and performs necessary control processing according to a program stored in the dual port memory 3B. I do. When the display update of the
CPUコア4Aは、CPUコア4Bの要求に応じて表示制御を行う。
圧縮画像データを表示する際は、CPUコア4Aは、表示する画像データを指定して圧縮画像データの伸張を描画エンジン6に対して要求する。描画エンジン6は、指定された圧縮画像データをプログラムROM1から直接読み出し、この画像データを伸張してVRAM7に書き込む。また、フォントデータを表示する際は、CPUコア4Aは、描画するフォントデータを指定してフォントデータの展開を描画エンジン6に対して要求する。描画エンジン6は、指定されたフォントデータをプログラムROM1から直接読み出し、このフォントデータをVRAM7に書き込む。そして、VRAM7に書き込まれた画像データやフォントデータは、LCDコントローラ8によってLCD9に表示される。
The CPU core 4A performs display control in response to a request from the CPU core 4B.
When displaying the compressed image data, the CPU core 4A designates the image data to be displayed and requests the
このように本実施の形態1によれば、ROMローダ2はCPUコア4A、4Bの実行用プログラムをプログラムROM1から読み出してデュアルポートメモリ3A、3Bに格納し、CPUコア4A、4Bは、デュアルポートメモリ3A、4Bに格納されたプログラムを実行するようにしたので、半導体集積装置10に搭載するメモリ容量を低減することができる。また、圧縮画像データやフォントデータなどの描画データはプログラムROM1に格納しておき、描画エンジン6がプログラムROM1から直接読み出して伸張処理や展開処理などを行うようにしたので、画像処理装置20全体で備えるべきメモリ容量を低減することができる。
As described above, according to the first embodiment, the
なお、プログラムROM1は、シリアルフラッシュメモリなどの、アクセス速度の遅いメモリを使用することも可能である。このようにすることで、画像処理装置20を、安価で小型に構成することが可能となる。なお、CPUコア4A、4Bはデュアルポートメモリ3A、3Bにロードされたプログラムを実行するので、CPUコア4A、4Bの処理速度が低下することはない。
Note that the
実施の形態2.
図3は、本発明の実施の形態2に係る画像処理装置の構成を示すブロック図である。本実施の形態2と前述の実施の形態1との違いは、ROMアービタ11を備え、CPUコア4Aはプログラム実行用のデュアルポートメモリを備えていない点にある。以下、相違点を中心に説明する。
FIG. 3 is a block diagram showing the configuration of the image processing apparatus according to
図3において、プログラムROM1は、ROMアービタ11を介して、CPUコア4A及び描画エンジン6と接続されている。ROMアービタ11は、プログラムROM1へのCPUコア4Aからのアクセスと、描画エンジン6からのアクセスの優先順位を切り替えるものである。ここで、ROMアービタ11は、本発明の調停手段に相当する。
In FIG. 3, the
CPUコア4Aは、CPUコア4Bとは異なり、プログラム実行用のデュアルポートメモリを有していない。CPUコア4Aがプログラムを実行する際は、ROMアービタ11を介してプログラムROM1からプログラムを直接読み出して実行する。ROMアービタ11は、CPUコア4Aがプログラム実行中は、常にCPUコア4Aからのアクセスを優先させるよう制御する。
Unlike the CPU core 4B, the CPU core 4A does not have a dual port memory for program execution. When the CPU core 4A executes the program, the program is directly read from the
次に、LCD9への表示を行う際の動作について、圧縮画像データを表示する場合を例に説明する。
CPUコア4Aは、描画する画像データを指定して圧縮画像データの展開を描画エンジン6に対して要求する。そうするとROMアービタ11は、CPUコア4Aを一旦停止させ、描画エンジン6がプログラムROM1に接続されるよう制御する。描画エンジン6は、CPUコア4Aが停止したことを確認すると、指定された圧縮画像データをプログラムROM1から取り出して伸張処理を行う。そして伸張処理が完了すると、ROMアービタ11に伸張処理の完了を通知する。ROMアービタ11は、描画エンジン6がプログラムROM1の使用を完了したことを確認すると、CPUコア4Aを停止したときのプログラムカウンタ値のアドレスから、CPUコア4Aの動作を再開させる。
Next, the operation when displaying on the
The CPU core 4A designates image data to be drawn and requests the
このように本実施の形態2によれば、描画エンジン6の制御を行うCPUコア4Aは、プログラムROM1からプログラムを直接読み出して実行するようにしたので、CPUコア4Aのプログラム実行用のデュアルポートメモリを設ける必要はなく、半導体集積装置10に搭載するメモリ容量を削減することができる。また、描画データはプログラムROM1に格納しておき、描画エンジン6がプログラムROM1から直接読み出すようにしたので、半導体集積装置10には描画データを格納するためのメモリを搭載しなくてよい。そして、ROMアービタ11により、CPUコア4A及び描画エンジン6からのプログラムROM1へのアクセスを制御するようにしたので、CPUコア4A及び描画エンジン6はいずれも必要なタイミングでプログラムROM1へアクセスすることができる。
As described above, according to the second embodiment, the CPU core 4A that controls the
実施の形態3.
図4は、本発明の実施の形態3に係る画像処理装置の構成を示すブロック図である。本実施の形態3と前述の実施の形態1との違いは、CPUコア4Aのプログラム実行用のデュアルポートメモリ3AがCPUコア4B−1に接続されている点、及びCPUコア4B−1の制御動作にある。以下、相違点を中心に説明する。
FIG. 4 is a block diagram showing a configuration of an image processing apparatus according to
図4において、CPUコア4B−1はROMアービタ11を介して、プログラムROM1に接続されており、プログラムROM1にはCPUコア4A、4Bが実行するプログラムと、圧縮された画像データやフォントデータなどの描画データが格納されている。ROMアービタ11は、プログラムROM1のバスを調停する機能を有する。
In FIG. 4, a CPU core 4B-1 is connected to a
半導体集積装置10のリセットが解除されると、CPUコア4B−1はプログラムROM1からCPUコア4B−1の実行用プログラムをROMアービタ11を介して、読み込み、実行する。CPUコア4B−1の実行用プログラムには、プログラムROM1に格納されたCPUコア4Aの実行用プログラムを読み出して、デュアルポートメモリ3Aに格納するプログラムが含まれている。したがって、CPUコア4B−1が自身の実行用プログラムを実行することにより、CPUコア4Aの実行用プログラムがプログラムROM1からROMアービタ11を介して、読み出されてデュアルポートメモリ3Aへと格納される。このとき、CPUコア4B−1は、デュアルポートメモリ3Aへのプログラムのロードが完了するまで、CPUコア4Aに対してリセット状態を保持する。デュアルポートメモリ3Aへのプログラムのロードが完了すると、CPUコア4B−1はCPUコア4Aのリセット状態を解除し、CPUコア4Aを起動させる。
When the reset of the semiconductor integrated
CPUコア4Aは、デュアルポートメモリ3Aにロードされたプログラムを直接読み込んで実行する。LCD9への表示を行う際は、前述の実施の形態1と同様に、CPUコア4Aから指示を受けた描画エンジン6が圧縮画像データなどをROMアービタ11を介して、プログラムROM1から読み出し、伸張等の処理を行ってVRAM7に書き込む。そして、VRAM7に書き込まれた画像データやフォントデータは、LCDコントローラ8によってLCD9に表示される。
The CPU core 4A directly reads and executes the program loaded in the dual port memory 3A. When displaying on the
このように本実施の形態3によれば、CPUコア4Aの実行用プログラムのデュアルポートメモリ3Aへのロード処理を、CPUコア4B−1の実行用プログラムにより行うようにしたので、ROMローダ回路を設ける必要がない。このため、半導体集積装置10を構成するASICやFPGAの論理回路のボリュームを削減することができる。
また、CPUコア4B−1は、プログラムROM1からROMアービタ11を介して読み出してプログラムを実行するようにしたので、CPUコア4B−1用のデュアルポートメモリを設ける必要はなく、半導体集積装置10に搭載するメモリ容量を削減することができる。また、描画データはプログラムROM1に格納しておき、描画エンジン6はプログラムROM1からROMアービタ11を介して読み出すようにしたので、前述の実施の形態1と同様に半導体集積装置10には描画データを格納するためのメモリを搭載しなくてよい。
As described above, according to the third embodiment, the load processing of the execution program of the CPU core 4A to the dual port memory 3A is performed by the execution program of the CPU core 4B-1. There is no need to provide it. For this reason, the volume of the logic circuit of ASIC and FPGA which constitutes the semiconductor integrated
Further, since the CPU core 4B-1 reads the program ROM1 via the ROM arbiter 11 and executes the program, there is no need to provide a dual port memory for the CPU core 4B-1, and the semiconductor integrated
なお、本実施の形態3では、CPUコア4B−1はプログラムROM1からROMアービタ11を介して実行用プログラムを読み出して実行する構成としたが、前述の実施の形態2と同様に、CPUコア4B−1のプログラム実行用のデュアルポートメモリとROMローダを半導体集積装置10に設ける構成としてもよい。
In the third embodiment, the CPU core 4B-1 is configured to read and execute the execution program from the
実施の形態4.
本実施の形態4では、前述の実施の形態3と同様の基本構成において、CPUコア4Aの実行用プログラムを分割してプログラムROM1に格納しておく場合の例について説明する。本実施の形態4では、図4を参照しつつ、前述の実施の形態3と異なる点を中心に説明する。
In the fourth embodiment, an example will be described in which the execution program of the CPU core 4A is divided and stored in the
プログラムROM1に格納されたCPUコア4Aの実行用プログラムは、機能ごとに分割されて格納されている。すなわち、機能ごとに分割されたCPUコア4Aの実行用プログラムは、それぞれ別個の格納アドレスに格納されている。
The execution program for the CPU core 4A stored in the
半導体集積装置10のリセットが解除されると、CPUコア4B−1はプログラムROM1からCPUコア4Bの実行用プログラムをROMアービタ11を介して読み込み、実行する。そして、CPUコア4B−1は、CPUコア4Aが実行する機能のプログラムのみをプログラムROM1から取得し、デュアルポートメモリ3Aへロードする。CPUコア4Aのリセットが解除されると、CPUコア4Aは、デュアルポートメモリ3Aから直接読み出してプログラムを実行する。
When the reset of the semiconductor integrated
CPUコア4Aの機能を切り替える場合には、CPUコア4B−1は、CPUコア4Aの動作を一旦停止させてリセット状態にする。そして、プログラムROM1からCPUコア4Aの別の機能のプログラムをデュアルポートメモリ3Aにロードする。ロードが完了すると、CPUコア4B−1はCPUコア4Aのリセットを解除し、CPUコア4Aはデュアルポートメモリ3Aにロードされたプログラムを実行する。これによりCPUコア4Aは、別の機能を実行することができる。
When switching the function of the CPU core 4A, the CPU core 4B-1 temporarily stops the operation of the CPU core 4A and puts it in the reset state. Then, a program having another function of the CPU core 4A is loaded from the
また、LCD9への表示を行う際は、前述の実施の形態1と同様に、CPUコア4Aから指示を受けた描画エンジン6が圧縮画像データなどをプログラムROM1から読み出し、伸張等の処理を行ってVRAM7に書き込む。そして、VRAM7に書き込まれた画像データやフォントデータは、LCDコントローラ8によってLCD9に表示される。
When displaying on the
このように本実施の形態4によれば、CPUコア4Aの実行用プログラムを機能ごとに分割し、そのとき実行するものだけをデュアルポートメモリ3Aにロードするようにしたので、デュアルポートメモリ3Aに必要なメモリ容量は少なくてよい。したがって、半導体集積装置10に備えるデュアルポートメモリ3Aの容量を削減することができる。また、前述の実施の形態3で得られる効果も同様に得ることができる。
As described above, according to the fourth embodiment, the execution program of the CPU core 4A is divided for each function, and only the program to be executed at that time is loaded into the dual port memory 3A. Less memory capacity is required. Therefore, the capacity of the dual port memory 3A provided in the semiconductor integrated
実施の形態5.
本実施の形態5では、前述の実施の形態3と同様の基本構成において、CPUコア4Aがマイクロコードを実行するCPUコアである場合の例について説明する。なお、マイクロコードを実行するCPUコアとは、マイクロコードで記述された実行用プログラムをそのまま実行するCPUをいう。本実施の形態5では、図4を参照しつつ、前述の実施の形態3と異なる点を中心に説明する。
In the fifth embodiment, an example in which the CPU core 4A is a CPU core that executes microcode in the same basic configuration as that of the third embodiment will be described. A CPU core that executes microcode refers to a CPU that directly executes an execution program described in microcode. The fifth embodiment will be described with a focus on differences from the third embodiment described above with reference to FIG.
プログラムROM1には、CPUコア4Aの実行用プログラムとして、マイクロコードで記述されたプログラムが格納されている。そのほか、CPUコア4B−1が実行するプログラムと、圧縮された画像データやフォントデータなどの描画データが格納されている点は前述の実施の形態3と同様である。
The
半導体集積装置10のリセットが解除されると、CPUコア4B−1はプログラムROM1からCPUコア4Bの実行用プログラムをROMアービタ11を介して読み込み、実行する。そして、CPUコア4B−1は、LCD9の表示更新が必要な場合、例えば、CPUコア4B−1による通信処理に伴ってLCD9の画面表示を変更したい場合には、CPUコア4Aに対して表示更新を要求する。このとき、CPUコア4Aへの要求はマイクロコードとしてシーケンシャルに逐次デュアルポートメモリ3Aへと送信される。そしてCPUコア4Aは、デュアルポートメモリ3Aに格納されたマイクロコードを逐次読み出して実行する。
When the reset of the semiconductor integrated
デュアルポートメモリ3Aへ送信されるマイクロコードは、CPUコア4B−1の処理実行に伴ってCPUコア4Aが実行すべきプログラムのみである。したがって、デュアルポートメモリ3Aのメモリ容量は少なくてよい。より具体的に説明すると、同様の処理を行う場合においてマイクロコードを使用する場合と固定プログラムを使用する場合とで比較するに、固定プログラムを使用する場合には条件分岐などの処理プログラムが必要となるのでデュアルポートメモリ3Aに格納すべき実行用プログラムのサイズが大きくなる。例えば、CPUコア4B−1の処理に応じた処理をCPUコア4Aが行う場合、固定プログラムであるCPUコア4Aの実行用プログラムには、CPUコア4B−1の処理内容に対応する条件分岐プログラムが含まれることとなる。これに対しマイクロコードを使用する場合、CPUコア4Aに必要なのはCPUコア4B−1の処理実行に伴って実行すべきマイクロコードのみである。すなわち、固定プログラムにおける条件分岐処理をCPUコア4B−1が行うこととなるため、CPUコア4Aが実行するプログラムには条件分岐処理は不要となり、CPUコア4Aの実行に必要なプログラムサイズが小さくなる。 The microcode transmitted to the dual port memory 3A is only a program to be executed by the CPU core 4A when the CPU core 4B-1 executes the process. Therefore, the memory capacity of the dual port memory 3A may be small. More specifically, when a similar process is performed, a processing program such as a conditional branch is required when using a fixed program to compare the use of microcode with the use of a fixed program. As a result, the size of the execution program to be stored in the dual port memory 3A increases. For example, when the CPU core 4A performs processing according to the processing of the CPU core 4B-1, the execution program for the CPU core 4A, which is a fixed program, includes a conditional branch program corresponding to the processing content of the CPU core 4B-1. Will be included. On the other hand, when microcode is used, the CPU core 4A needs only microcode to be executed in accordance with the processing execution of the CPU core 4B-1. That is, since conditional branch processing in the fixed program is performed by the CPU core 4B-1, conditional branch processing is not necessary for the program executed by the CPU core 4A, and the program size required for execution of the CPU core 4A is reduced. .
このように本実施の形態5によれば、マイクロコードを実行するCPUコア4Aを使用する場合において、CPUコア4B−1の処理内容に応じたマイクロコードのみをデュアルポートメモリ3Aに格納するようにしたので、デュアルポートメモリ3Aに必要なメモリ容量は少なくてよい。したがって、半導体集積装置10に備えるデュアルポートメモリ3Aの容量を削減することができる。また、前述の実施の形態3で得られる効果も同様に得ることができる。
As described above, according to the fifth embodiment, when the CPU core 4A that executes microcode is used, only the microcode corresponding to the processing content of the CPU core 4B-1 is stored in the dual port memory 3A. Therefore, the memory capacity required for the dual port memory 3A may be small. Therefore, the capacity of the dual port memory 3A provided in the semiconductor integrated
なお、上述の実施の形態1〜実施の形態5において、第1の記憶手段としてプログラムROM1を用いた例について説明したが、同様の機能を持つ他の記憶手段を用いても良い。また、第2の記憶手段としてデュアルポートメモリを設ける場合の例について説明したが、シングルポートのリードライト可能なSRAM、その他同様な機能を持つ記憶手段で構成してもよい。
In the first to fifth embodiments described above, the example in which the
1 プログラムROM、2 ROMローダ、3A デュアルポートメモリ(DPMEM)、3B デュアルポートメモリ(DPMEM)、4A CPUコア、4B、4B−1 CPUコア、6 描画エンジン、7 VRAM、8 LCDコントローラ(LCDC)、9 LCD、10 画像処理装置、11 ROMアービタ、12 通信インタフェース(通信I/F)、20 画像処理装置。 1 program ROM, 2 ROM loader, 3A dual port memory (DPMEM), 3B dual port memory (DPMEM), 4A CPU core, 4B, 4B-1 CPU core, 6 drawing engine, 7 VRAM, 8 LCD controller (LCDC), 9 LCD, 10 image processing device, 11 ROM arbiter, 12 communication interface (communication I / F), 20 image processing device.
Claims (6)
前記描画処理ロジック回路の制御を行う第1のCPUコアと、
1又は複数の第2のCPUコアと、
前記描画処理ロジック回路が処理する画像データ、前記第1のCPUコアが実行するプログラム、及び前記第2のCPUコアが実行するプログラムを格納する第1の記憶手段と、
前記第1のCPUコア及び第2のCPUコアにそれぞれ接続された複数の第2の記憶手段と、
前記第1の記憶手段から前記第1のCPUコアが実行するプログラム及び前記第2のCPUコアが実行するプログラムを読み出して、前記第2の記憶手段へ格納するロード手段とを有し、
前記ロード手段は、初期化時に、前記第1のCPUコア及び第2のCPUコアがそれぞれ実行するプログラムを、前記第1の記憶手段から読み出して前記第2の記憶手段に格納し、
前記第1のCPUコア及び第2のCPUコアは、前記第2の記憶手段に格納されたプログラムを実行し、
前記描画処理ロジック回路は、画像伸張処理を行う際に前記第1の記憶手段から画像データを読み出して画像伸張処理を行う
ことを特徴とする画像処理装置。 A drawing processing logic circuit for performing image expansion processing;
A first CPU core for controlling the drawing processing logic circuit;
One or more second CPU cores;
First storage means for storing image data processed by the drawing processing logic circuit, a program executed by the first CPU core, and a program executed by the second CPU core;
A plurality of second storage means respectively connected to the first CPU core and the second CPU core;
Load means for reading out the program executed by the first CPU core and the program executed by the second CPU core from the first storage means and storing them in the second storage means;
The loading means reads a program executed by each of the first CPU core and the second CPU core at the time of initialization from the first storage means and stores the programs in the second storage means,
The first CPU core and the second CPU core execute a program stored in the second storage unit,
The image processing apparatus, wherein the drawing processing logic circuit reads image data from the first storage unit and performs image expansion processing when performing image expansion processing.
ことを特徴とする請求項1記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the first storage unit is a serial access nonvolatile memory.
前記描画処理ロジック回路の制御を行う第1のCPUコアと、
1又は複数の第2のCPUコアと、
前記描画処理ロジック回路が処理する画像データ及び前記第1のCPUコアが実行するプログラムを格納する第1の記憶手段と、
前記第1の記憶手段へのバスアクセスを調停する調停手段とを有し、
前記調停手段は、前記第1のCPUコアによる前記第1の記憶手段へのバスアクセスと、前記描画処理ロジック回路による前記第1の記憶手段へのバスアクセスとの調停を行い、
前記第1のCPUコアは、前記第1の記憶手段に格納されたプログラムを実行し、
前記描画処理ロジック回路は、画像伸張処理を行う際に前記第1の記憶手段から画像データを読み出して画像伸張処理を行う
ことを特徴とする画像処理装置。 A drawing processing logic circuit for performing image expansion processing;
A first CPU core for controlling the drawing processing logic circuit;
One or more second CPU cores;
First storage means for storing image data processed by the drawing processing logic circuit and a program executed by the first CPU core;
Arbitrating means for arbitrating bus access to the first storage means;
The arbitration unit performs arbitration between bus access to the first storage unit by the first CPU core and bus access to the first storage unit by the drawing processing logic circuit;
The first CPU core executes a program stored in the first storage means,
The image processing apparatus, wherein the drawing processing logic circuit reads image data from the first storage unit and performs image expansion processing when performing image expansion processing.
前記描画処理ロジック回路の制御を行う第1のCPUコアと、
1又は複数の第2のCPUコアと、
前記描画処理ロジック回路が処理する画像データ及び第1のCPUコアが実行するプログラムを格納する第1の記憶手段と、
前記第1のCPUコアに接続された第2の記憶手段とを有し、
前記第2のCPUコアのうち一のCPUコアは、前記第1のCPUコアが実行するプログラムを、前記第1の記憶手段から読み出して前記第2の記憶手段に格納し、
前記第1のCPUコアは、前記第2の記憶手段に格納されたプログラムを実行し、
前記描画処理ロジック回路は、画像伸張処理を行う際に前記第1の記憶手段から画像データを読み出して画像伸張処理を行う
ことを特徴とする画像処理装置。 A drawing processing logic circuit for performing image expansion processing;
A first CPU core for controlling the drawing processing logic circuit;
One or more second CPU cores;
First storage means for storing image data processed by the drawing processing logic circuit and a program executed by the first CPU core;
Second storage means connected to the first CPU core,
One of the second CPU cores reads a program executed by the first CPU core from the first storage unit and stores the program in the second storage unit,
The first CPU core executes a program stored in the second storage means,
The image processing apparatus, wherein the drawing processing logic circuit reads image data from the first storage unit and performs image expansion processing when performing image expansion processing.
ことを特徴とする請求項4記載の画像処理装置。 5. The CPU core according to claim 4, wherein one of the second CPU cores switches a program to be read from the first storage unit in accordance with a processing content to be executed by the first CPU core. Image processing apparatus.
前記第2のCPUコアのうち一のCPUコアは、自らの処理結果に応じたマイクロコードを前記第2の記憶手段に格納する
ことを特徴とする請求項4記載の画像処理装置。 The first CPU core is in a form of executing microcode;
5. The image processing apparatus according to claim 4, wherein one of the second CPU cores stores microcode corresponding to its processing result in the second storage unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008214157A JP4869301B2 (en) | 2008-08-22 | 2008-08-22 | Image processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008214157A JP4869301B2 (en) | 2008-08-22 | 2008-08-22 | Image processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010049556A true JP2010049556A (en) | 2010-03-04 |
JP4869301B2 JP4869301B2 (en) | 2012-02-08 |
Family
ID=42066580
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008214157A Expired - Fee Related JP4869301B2 (en) | 2008-08-22 | 2008-08-22 | Image processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4869301B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014016892A (en) * | 2012-07-10 | 2014-01-30 | Nec Corp | Semiconductor memory device and method of controlling the same |
JP2015095218A (en) * | 2013-11-14 | 2015-05-18 | 株式会社デンソー | Electronic control unit |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0751448A (en) * | 1993-08-18 | 1995-02-28 | Sankyo Kk | Game machine |
JPH09305786A (en) * | 1996-05-10 | 1997-11-28 | Casio Comput Co Ltd | Image plotter |
JP2004024595A (en) * | 2002-06-26 | 2004-01-29 | Sansei R & D:Kk | Game machine |
JP2005092515A (en) * | 2003-09-17 | 2005-04-07 | Seiko Epson Corp | Computer system and game device |
JP2005131144A (en) * | 2003-10-30 | 2005-05-26 | Sankyo Kk | Game machine |
JP2005266871A (en) * | 2004-03-16 | 2005-09-29 | Ultra X:Kk | Computer device having diagnosing/erasing function of hard disk device and its mother board |
JP2007149003A (en) * | 2005-11-30 | 2007-06-14 | Olympus Corp | Software operating unit |
JP2007282773A (en) * | 2006-04-14 | 2007-11-01 | Sankyo Kk | Game machine |
JP2008005921A (en) * | 2006-06-27 | 2008-01-17 | Sankyo Kk | Game machine |
-
2008
- 2008-08-22 JP JP2008214157A patent/JP4869301B2/en not_active Expired - Fee Related
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0751448A (en) * | 1993-08-18 | 1995-02-28 | Sankyo Kk | Game machine |
JPH09305786A (en) * | 1996-05-10 | 1997-11-28 | Casio Comput Co Ltd | Image plotter |
JP2004024595A (en) * | 2002-06-26 | 2004-01-29 | Sansei R & D:Kk | Game machine |
JP2005092515A (en) * | 2003-09-17 | 2005-04-07 | Seiko Epson Corp | Computer system and game device |
JP2005131144A (en) * | 2003-10-30 | 2005-05-26 | Sankyo Kk | Game machine |
JP2005266871A (en) * | 2004-03-16 | 2005-09-29 | Ultra X:Kk | Computer device having diagnosing/erasing function of hard disk device and its mother board |
JP2007149003A (en) * | 2005-11-30 | 2007-06-14 | Olympus Corp | Software operating unit |
JP2007282773A (en) * | 2006-04-14 | 2007-11-01 | Sankyo Kk | Game machine |
JP2008005921A (en) * | 2006-06-27 | 2008-01-17 | Sankyo Kk | Game machine |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014016892A (en) * | 2012-07-10 | 2014-01-30 | Nec Corp | Semiconductor memory device and method of controlling the same |
JP2015095218A (en) * | 2013-11-14 | 2015-05-18 | 株式会社デンソー | Electronic control unit |
Also Published As
Publication number | Publication date |
---|---|
JP4869301B2 (en) | 2012-02-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPWO2008087779A1 (en) | Array type processor and data processing system | |
JP2013521581A (en) | Method, system and apparatus for processing video and / or graphics data without losing state information using multiple processors | |
JP2007219581A (en) | Memory controller, and electronic equipment mounted therewith | |
US20130036426A1 (en) | Information processing device and task switching method | |
WO2011085029A1 (en) | Parameter fifo | |
JP2005050208A (en) | Memory managing system in multi-task system and task controller | |
JP4869301B2 (en) | Image processing device | |
JP2008090455A (en) | Multiprocessor signal processor | |
JP2009175960A (en) | Virtual multiprocessor system | |
JP2006293950A (en) | Processor controller | |
JP2007206924A (en) | Arithmetic processing system | |
JP2010003151A (en) | Data processing apparatus | |
JP5823097B2 (en) | Electronic circuit, image forming apparatus, and DDR-SDRAM initialization method | |
JP2011013836A (en) | Memory arrangement management device and microprocessor | |
JP5017784B2 (en) | Processor and interrupt processing control method applied to the processor | |
WO2018138975A1 (en) | Computation processing device and information processing system | |
JP4389797B2 (en) | Processor and information processing method | |
JP2011118744A (en) | Information processor | |
JP2004118300A (en) | Dma controller | |
JP5407590B2 (en) | Image display device | |
JP2005276194A (en) | Graphics display device and graphics processor | |
JP5338520B2 (en) | Image display device | |
US10102607B2 (en) | Method for chaining media processing | |
JP2002268876A (en) | Pipeline processing method and information processor | |
JP2007164250A (en) | Access control circuit and information processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20111018 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20111115 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4869301 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141125 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |