[go: up one dir, main page]

JP2003029979A - Signal processing device and signal processing method - Google Patents

Signal processing device and signal processing method

Info

Publication number
JP2003029979A
JP2003029979A JP2001212473A JP2001212473A JP2003029979A JP 2003029979 A JP2003029979 A JP 2003029979A JP 2001212473 A JP2001212473 A JP 2001212473A JP 2001212473 A JP2001212473 A JP 2001212473A JP 2003029979 A JP2003029979 A JP 2003029979A
Authority
JP
Japan
Prior art keywords
data
signal
signal processing
flag
processing
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
JP2001212473A
Other languages
Japanese (ja)
Inventor
Kazuki Ninomiya
和貴 二宮
Masahiro Tani
匡弘 谷
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 JP2001212473A priority Critical patent/JP2003029979A/en
Publication of JP2003029979A publication Critical patent/JP2003029979A/en
Pending legal-status Critical Current

Links

Landscapes

  • Picture Signal Circuits (AREA)

Abstract

(57)【要約】 【課題】 高画質化に伴って回路規模が大きくならな
い、複数の非同期映像信号の処理を行う信号処理装置、
及び信号処理方法を提供する。 【解決手段】 外部より各々非同期で入力される信号を
各同期信号毎のバッファ2,4に格納し、一定量のデー
タが格納された段階で、それぞれのバッファ制御部1,
3によりメモリ5に各々転送要求信号を出力し、上記バ
ッファ2,4それぞれからの転送要求信号をメモリ制御
部6において調停し、各バッファ2,4に格納されたデ
ータをメモリ5に転送し、該メモリ5に転送されたデー
タをプロセッサ11に制御信号cnt22と共に入力し
て、該入力されたデータに対応する処理プログラムを、
各同期信号毎の処理プログラムを複数格納する命令メモ
リ14から読み出して信号処理を行ない、信号処理後の
データをメモリ5に出力し、該信号処理後のデータをメ
モリ5からバッファ8,10に読み込み、外部へ出力す
る。
(57) [Summary] [PROBLEMS] A signal processing device for processing a plurality of asynchronous video signals, wherein the circuit scale does not increase with higher image quality,
And a signal processing method. SOLUTION: A signal input asynchronously from the outside is stored in buffers 2 and 4 for each synchronous signal, and when a certain amount of data is stored, each buffer control unit 1
3 to output a transfer request signal to the memory 5, arbitrate the transfer request signal from each of the buffers 2 and 4 in the memory control unit 6, and transfer the data stored in each of the buffers 2 and 4 to the memory 5; The data transferred to the memory 5 is input to the processor 11 together with the control signal cnt22, and the processing program corresponding to the input data is
Signal processing is performed by reading from the instruction memory 14 storing a plurality of processing programs for each synchronization signal, outputting data after the signal processing to the memory 5, and reading the data after the signal processing from the memory 5 into the buffers 8 and 10. Output to the outside.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はテレビジョン信号な
どの映像信号をデジタル信号処理するプロセッサに関
し、特に複数の非同期信号を入力し、映像信号処理を行
うプロセッサに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a processor for digitally processing a video signal such as a television signal, and more particularly to a processor for processing a video signal by inputting a plurality of asynchronous signals.

【0002】[0002]

【従来の技術】従来の、複数の映像信号を扱う映像信号
処理プロセッサとしては、特開平5−73516号に開
示されている信号処理用プロセッサがある。以下、図1
3を用いて、特開平5−73516号に開示されてい
る、画像信号処理用に適用された従来の信号処理プロセ
ッサについて説明する。図13は、従来の信号処理用プ
ロセッサの構成図である。
2. Description of the Related Art As a conventional video signal processing processor that handles a plurality of video signals, there is a signal processing processor disclosed in JP-A-5-73516. Below, Figure 1
The conventional signal processor applied for image signal processing, which is disclosed in Japanese Patent Laid-Open No. 5-73516, will be described with reference to FIG. FIG. 13 is a configuration diagram of a conventional signal processing processor.

【0003】図13に示されているように、従来の信号
処理用プロセッサ30は、同時にアクセス可能なポート
を複数持つか、あるいはそれらを擬似的に実現できるメ
モリで構成されるマルチポートメモリ40と、該マルチ
ポートメモリ40と上記ポートによって接続された複数
のサブプロセッサ、ここでは入力,出力ポートの各々2
つにより接続された2個のサブプロセッサ50,60で
構成されており、上記マルチポートメモリ20を介し
て、入力された非同期の複数の映像信号を処理するもの
である。
As shown in FIG. 13, a conventional signal processor 30 has a multi-port memory 40 having a plurality of simultaneously accessible ports or a memory capable of simulating them. , A plurality of sub-processors connected to the multi-port memory 40 by the above-mentioned ports, here two each of input and output ports
It is composed of two sub-processors 50 and 60 connected by one and processes a plurality of asynchronous video signals input via the multiport memory 20.

【0004】以下、上記マルチポートメモリ40、及び
サブプロセッサ50,60について、詳細に説明する。
なお、サブプロセッサ50,60は同一構成であるので
一方のみ説明する。
The multiport memory 40 and the sub processors 50 and 60 will be described in detail below.
Since the sub-processors 50 and 60 have the same configuration, only one will be described.

【0005】上記サブプロセッサ50は、入力されたデ
ータに所定の算術演算や論理演算処理等を施すものであ
り、一定走査期間シフトを続け、その間に入力される画
像データを蓄積する入力シフトレジスタ51と、その入
力シフトレジスタ51から一定走査期間毎に並列にデー
タを受け取る第1のメモリ52、及び第2のメモリ54
と、必要に応じて随時上記第1,第2のメモリに記憶さ
れたデータを読み出しては演算し、再び上記第1,第2
のメモリに書きこむSIMD制御(Single Instructio
n stream Multi Data stream)されたプロセッサア
レイ部53と、一定走査期間毎に並列にデータを上記第
1,第2のメモリから受け取る出力シフトレジスタ55
と、上記プロセッサアレイ部53、及び第1,第2のメ
モリを制御するプログラム制御部56とからなるもので
ある。ここでは、上記サブプロセッサ50が1水平画素
数のレジスタを備えており、1水平期間毎にデータをシ
フトさせるものとする。
The sub-processor 50 performs a predetermined arithmetic operation or logical operation process on the input data and continues the shift for a certain scanning period, and stores the input image data during that period. And a first memory 52 and a second memory 54 that receive data in parallel from the input shift register 51 at regular scanning intervals.
When necessary, the data stored in the first and second memories are read out and operated as needed, and the first and second memories are read again.
SIMD control (Single Instructio)
An output shift register 55 that receives data from the first and second memories in parallel with a processor array unit 53 that has been subjected to an n stream multi data stream) every fixed scanning period.
And a program control section 56 for controlling the processor array section 53 and the first and second memories. Here, it is assumed that the sub-processor 50 has a register for the number of horizontal pixels and shifts data for each horizontal period.

【0006】またマルチポートメモリ40は、4つの入
力ポートPI1〜PI4に対応した4つの入力レジスタ
IR1〜IR4と、4つの出力ポートPO1〜PO4に
対応する4つの出力レジスタOR1〜OR4と、1フィ
ールド若しくは1フレームの画素数に相当するメモリ容
量を持ち、少なくともその横方向に1水平走査期間(1
H)分の画素数のメモリセルが配置されている半導体メ
モリ41とを備えるものであり、これらを適宜に制御す
ることによって、上記サブプロセッサ50,60による
信号処理手順のプログラマビリティーを維持するもので
ある。
The multiport memory 40 includes four input registers IR1 to IR4 corresponding to the four input ports PI1 to PI4, four output registers OR1 to OR4 corresponding to the four output ports PO1 to PO4, and one field. Alternatively, it has a memory capacity corresponding to the number of pixels in one frame, and at least one horizontal scanning period (1
H) and a semiconductor memory 41 in which memory cells having the number of pixels are arranged. By appropriately controlling these, the programmability of the signal processing procedure by the sub-processors 50 and 60 is maintained. It is a thing.

【0007】そして、以上のような構成をもつ上記従来
の信号処理用プロセッサ30は、それ自体プロセッサと
呼べる処理能力を持つサブプロセッサ50,60を使用
して、入力された画像データを画像の1水平走査期間毎
に処理することで、現状の半導体技術の演算器でも1水
平走査期間に多くの命令処理を可能にし、またそのプロ
グラマビリティーをマルチポートメモリ40により維持
することで、入力された非同期である複数の映像信号を
フレームシンクロさせて処理をすることを可能とするも
のである。
The above-described conventional signal processing processor 30 having the above-mentioned configuration uses the sub-processors 50 and 60 each having a processing capability which can be called a processor itself, and converts the input image data into one image. By processing every horizontal scanning period, even an arithmetic unit of the current semiconductor technology can process a large number of instructions in one horizontal scanning period, and the programmability is maintained by the multiport memory 40. This makes it possible to process a plurality of asynchronous video signals by frame synchronization.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上記従
来の信号処理用プロセッサ30は、面積的に大きいマル
チポートメモリ40と、入力される映像信号の1水平画
素数のレジスタが必要なサブプロセッサ50,60とで
構成されているので、近年の映像の高画質化による水平
画素数の増加に伴って、上記信号処理用プロセッサ30
の面積がさらに大きくなっていしまうという課題があっ
た。
However, the conventional signal processing processor 30 described above includes a multi-port memory 40 having a large area and a sub-processor 50 which requires a register for one horizontal pixel of an input video signal. Since the number of horizontal pixels is 60, the signal processing processor 30 is
However, there was a problem that the area of the

【0009】本発明は、上記課題に鑑みてなされたもの
であり、複数の非同期で入力される映像データを、1水
平画素数以下の演算器で処理可能とし、画像データ数の
増加に伴って面積が大きくならない信号処理装置、及び
信号処理方法を提供すること目的とするものである。
The present invention has been made in view of the above problems, and allows a plurality of asynchronously input video data to be processed by an arithmetic unit having one horizontal pixel or less, and the number of image data increases. An object of the present invention is to provide a signal processing device and a signal processing method that do not increase the area.

【0010】[0010]

【課題を解決するための手段】上記課題を解決するた
め、本発明の請求項1に記載の信号処理装置は、外部よ
り複数の各々非同期で入力される信号を処理する信号処
理装置において、上記複数の各々非同期である信号を各
同期信号毎に格納し、該各同期信号毎に格納されたデー
タが一定量に達した段階で転送要求信号を出力する複数
の第1の記憶手段と、上記複数の第1の記憶手段から各
々出力される上記転送要求信号を予め設定された優先順
位に従って調停し、優先順位の高い転送要求信号を出力
した上記第1の記憶手段に格納された一定量のデータ
を、その画素位置がアドレスで管理可能なように格納し
ていく第2の記憶手段に転送する制御手段と、上記複数
の各々非同期である信号の、各同期信号毎に対応した信
号処理プログラムを格納する第3の記憶手段と、上記第
2の記憶手段からデータを取り込み、上記第3の記憶手
段から該データに該当する上記信号処理プログラムを読
み出して、複数の演算手段を含む並列演算器で信号処理
を行ない、信号処理後のデータを再び上記第2の記憶手
段に出力する信号処理手段と、上記第2の記憶手段より
信号処理後のデータを読み込み、外部へ出力する複数の
第4の記憶手段と、を備え、上記転送要求信号を、上記
信号処理手段における上記信号処理プログラムの起動信
号とするものである。
In order to solve the above problems, a signal processing device according to claim 1 of the present invention is a signal processing device for processing a plurality of signals input asynchronously from the outside. A plurality of first storage means for storing a plurality of asynchronous signals for each synchronization signal and outputting a transfer request signal when the data stored for each synchronization signal reaches a certain amount; The transfer request signals output from the plurality of first storage means are arbitrated in accordance with a preset priority order, and a predetermined amount of the transfer request signals output from the first storage means having a high priority order are stored. Control means for transferring the data to the second storage means for storing the pixel position so that the pixel position can be managed by an address, and a signal processing program corresponding to each of the plurality of asynchronous signals. The case Data from the third storage means and the second storage means, the signal processing program corresponding to the data is read from the third storage means, and a signal is output by a parallel arithmetic unit including a plurality of arithmetic means. Signal processing means for performing processing and outputting the signal-processed data again to the second storage means; and a plurality of fourth storages for reading the signal-processed data from the second storage means and outputting the data to the outside. Means for using the transfer request signal as an activation signal of the signal processing program in the signal processing means.

【0011】また、本発明の請求項2に記載の信号処理
装置は、請求項1に記載の信号処理装置において、上記
複数の第4の記憶手段は、上記第2の記憶手段より読み
込んだ信号処理後のデータが一定量に達してデータを外
部へ出力した段階で上記制御手段に転送要求信号を出力
するものであり、上記制御手段は、上記複数の第1の記
憶手段、及び上記複数の第4の記憶手段から各々出力さ
れる上記転送要求信号を予め設定された優先順位に従っ
て調停し、上記複数の第4の記憶手段からの転送要求信
号を受信した場合は、上記第2の記憶手段に格納された
上記信号処理済みのデータを上記第4の記憶手段に転送
するものであり、上記複数の第4の記憶手段からの転送
要求信号も、上記信号処理手段における上記信号処理プ
ログラムの起動信号とするものである。
A signal processing device according to a second aspect of the present invention is the signal processing device according to the first aspect, wherein the plurality of fourth storage means are signals read from the second storage means. The transfer request signal is output to the control means when the processed data reaches a certain amount and is output to the outside, and the control means includes the plurality of first storage means and the plurality of storage means. When the transfer request signals output from the fourth storage means are arbitrated according to a preset priority order, and the transfer request signals from the plurality of fourth storage means are received, the second storage means is received. Is to transfer the signal-processed data stored in the fourth storage means to the fourth storage means, and the transfer request signals from the plurality of fourth storage means also activate the signal processing program in the signal processing means. Belief It is an.

【0012】また、本発明の請求項3に記載の信号処理
装置は、外部より複数の各々非同期で入力される信号を
処理する信号処理装置において、上記複数の各々非同期
である信号を各同期信号毎に格納し、該各同期信号毎に
格納されたデータが一定量に達すると、上記各同期信号
毎に定義された複数の領域からなる第2の記憶手段に転
送し、割り込み信号を出力する第1の記憶手段と、上記
複数の各々非同期である信号の、各同期信号毎に対応し
た信号処理プログラムを格納する第3の記憶手段と、上
記割り込み信号が入力されると、上記第2の記憶手段の
定義された領域からデータを取り込み、上記第3の記憶
手段から該データに該当する上記信号処理プログラムを
読み出して、複数の演算手段を含む並列演算器で信号処
理を行ない、信号処理後のデータを上記第2の記憶手段
の定義された領域に出力する信号処理手段と、上記第2
の記憶手段の定義された領域より上記信号処理後のデー
タを読み込み、外部へ出力する複数の第4の記憶手段
と、を備え、上記信号処理手段に上記割り込み信号が入
力された時に、あるデータの処理が実行されている場合
は、その処理中のデータを待機させ、該割り込み信号に
よる処理を行うものである。
According to a third aspect of the present invention, there is provided a signal processing device for processing a plurality of asynchronously input signals from the outside, wherein the plurality of asynchronous signals are synchronized signals. Data is stored for each synchronization signal, and when the data stored for each synchronization signal reaches a certain amount, the data is transferred to the second storage means composed of a plurality of areas defined for each synchronization signal and an interrupt signal is output. When a first storage means, a third storage means for storing a signal processing program corresponding to each synchronous signal of the plurality of asynchronous signals, and the interrupt signal are input, the second storage means is provided. Data is fetched from a defined area of the storage means, the signal processing program corresponding to the data is read from the third storage means, signal processing is performed by a parallel arithmetic unit including a plurality of arithmetic means, Signal processing means for outputting the data after management in defined regions of the second storage means, the second
A plurality of fourth storage means for reading the data after the signal processing from the defined area of the storage means and outputting the data to the outside, and storing a certain data when the interrupt signal is input to the signal processing means. When the processing of (1) is executed, the data being processed is made to wait and the processing by the interrupt signal is performed.

【0013】また、本発明の請求項4に記載の信号処理
装置は、請求項1または請求項3に記載の信号処理装置
において、遅延データを生成する第5の記憶手段を備
え、上記第5の記憶手段へのデータ転送を上記処理プロ
グラムに含むものである。
A signal processing device according to a fourth aspect of the present invention is the signal processing device according to the first or third aspect, further comprising fifth storage means for generating delay data, and the fifth signal processing device. The data transfer to the storage means is included in the processing program.

【0014】また、本発明の請求項5に記載の信号処理
方法は、外部より入力される複数の各々非同期の信号
を、複数の演算手段を含む並列演算器を用いて処理する
信号処理方法において、複数の各々非同期で入力される
データを各同期信号毎に格納する格納ステップと、上記
格納ステップにおいて格納された各同期信号毎のデータ
が、上記並列演算器で演算する際に必要なデータ量に達
すると、各同期信号毎のフラグを生成するフラグ生成ス
テップと、上記各同期信号毎のフラグの生成を確認する
フラグ確認ステップと、上記フラグ確認ステップにおい
て、上記各同期信号毎のフラグのうちの少なくとも一つ
が確認されると、上記並列演算器によって、該確認され
たフラグのうち予め設定された優先順位の高いフラグが
示す所定量のデータの信号処理を行う信号処理ステップ
と、を有し、上記信号処理ステップの後、上記フラグ確
認ステップへ戻り、ループを形成するものである。
A signal processing method according to a fifth aspect of the present invention is a signal processing method for processing a plurality of asynchronous signals input from the outside using a parallel arithmetic unit including a plurality of arithmetic means. , A storage step of storing a plurality of asynchronously input data for each synchronization signal, and an amount of data required when the data of each synchronization signal stored in the storage step is calculated by the parallel arithmetic unit When reaching, the flag generation step for generating a flag for each synchronization signal, the flag confirmation step for confirming the generation of the flag for each synchronization signal, and the flag confirmation step in the flag confirmation step If at least one of the confirmed flags is confirmed by the parallel computing unit, a predetermined amount of data indicated by a flag having a high priority set in advance among the confirmed flags. A signal processing step of performing signal processing, and after the signal processing step, returns to the flag confirmation step, and forms a loop.

【0015】また、本発明の請求項6に記載の信号処理
装置は、外部より入力される複数の各々非同期の信号
を、複数の演算手段を含む並列演算器を用いて処理する
信号処理方法において、複数の各々非同期で入力される
データを各同期信号毎に格納する格納ステップと、上記
格納ステップにおいて格納された各同期信号毎のデータ
が、上記並列演算器で演算する際に必要なデータ量に達
すると、各同期信号毎のフラグを生成するフラグ生成ス
テップと、上記フラグ生成ステップにおいて、上記同期
信号毎のフラグが生成されると、該生成されたフラグに
よる割り込みを発生させる割り込み生成ステップと、上
記割り込み生成ステップにおいて発生した同期信号毎の
フラグを確認するフラグ確認ステップと、上記各同期信
号毎のフラグが確認されると、上記並列演算器において
処理実行中のデータを退避させ、該確認されたフラグが
示す所定量のデータの信号処理を行う信号処理ステップ
と、を有し、上記信号処理ステップの後、該信号処理ス
テップにおいて退避させたデータの信号処理の実行に戻
るものである。
A signal processing apparatus according to a sixth aspect of the present invention is a signal processing method for processing a plurality of asynchronous signals input from the outside using a parallel arithmetic unit including a plurality of arithmetic means. , A storage step of storing a plurality of asynchronously input data for each synchronization signal, and an amount of data required when the data of each synchronization signal stored in the storage step is calculated by the parallel arithmetic unit When a flag is reached, a flag generation step for generating a flag for each synchronization signal, and an interrupt generation step for generating an interrupt by the generated flag when the flag for each synchronization signal is generated in the flag generation step, The flag confirmation step for confirming the flag for each synchronization signal generated in the interrupt generation step and the flag for each synchronization signal are confirmed. Then, the parallel processing unit saves data being processed, and performs signal processing of a predetermined amount of data indicated by the confirmed flag, and after the signal processing step, This is to return to the execution of signal processing of the data saved in the signal processing step.

【0016】また、本発明の請求項7に記載の信号処理
方法は、他の処理を実行中に、外部より入力される複数
の各々非同期の信号を、複数の演算手段を含む並列演算
器を用いて処理する信号処理方法において、複数の各々
非同期で入力されるデータを各同期信号毎に格納する格
納ステップと、上記格納ステップにおいて格納された各
同期信号毎のデータが、上記並列演算器で演算する際に
必要なデータ量に達すると、各同期信号毎のフラグを生
成するフラグ生成ステップと、上記フラグ生成ステップ
において、上記同期信号が少なくとも一つ生成される
と、予め設定された優先順位の高いフラグによる割り込
みを発生させる割り込み生成ステップと、上記割り込み
が生成されると、他の割り込みを禁止するとともに、上
記並列演算器により、上記優先順位の高いフラグが示す
所定量のデータの信号処理を行う信号処理ステップと、
を有し、上記信号処理ステップにおいて信号処理が終了
後、禁止していた他の割り込みを許可し、割り込みが発
生した時点に行っていた上記他の処理の実行に戻るもの
である。
According to a seventh aspect of the present invention, there is provided a signal processing method, wherein a parallel arithmetic unit including a plurality of arithmetic units receives a plurality of asynchronous signals input from the outside during execution of other processing. In the signal processing method of processing by using the storage step of storing a plurality of asynchronously input data for each synchronization signal, the data of each synchronization signal stored in the storage step is When a data amount necessary for calculation is reached, a flag generation step for generating a flag for each synchronization signal, and at least one synchronization signal generated in the flag generation step, a preset priority order Interrupt generation step that generates an interrupt with a high flag of, and when the above interrupt is generated, other interrupts are prohibited and A signal processing step for performing signal processing of the data of the predetermined amount indicated by higher the priority flag,
After the signal processing is completed in the signal processing step, the other interrupt that has been prohibited is permitted, and the process returns to the execution of the other processing that was being performed when the interrupt occurred.

【0017】また、本発明の請求項8に記載の信号処理
方法は、他の処理を実行中に、外部より入力される複数
の各々非同期の信号を、複数の演算手段を含む並列演算
器を用いて処理する信号処理方法において、複数の各々
非同期で入力されるデータを各同期信号毎に格納する格
納ステップと、上記格納ステップにおいて格納された各
同期信号毎のデータが、上記並列演算器で演算する際に
必要なデータ量に達すると、各同期信号毎のフラグを生
成するフラグ生成ステップと、上記フラグ生成ステップ
において、上記同期信号が少なくとも一つ生成される
と、予め設定された優先順位の高いフラグによる割り込
みを発生させる割り込み生成ステップと、上記割り込み
が生成されると、その時に実行中のデータを退避させる
とともに、上記並列演算器により、上記優先順位の高い
フラグが示す所定量のデータの信号処理を行う信号処理
ステップと、を有し、上記信号処理ステップにおいて、
実行されている信号処理よりさらに優先順位の高い割り
込みが発生した場合には、該信号処理ステップにおいて
実行中の処理を中断してデータを退避させ、上記さらに
優先順位が高い割り込みによる信号処理を行い、上記信
号処理ステップにおいて信号処理が終了後、割り込みが
発生した時点に行っていた処理の実行に戻るものであ
る。
According to a eighth aspect of the present invention, there is provided a signal processing method, wherein a parallel arithmetic unit including a plurality of arithmetic units receives a plurality of asynchronous signals input from the outside during execution of other processing. In the signal processing method of processing by using the storage step of storing a plurality of asynchronously input data for each synchronization signal, the data of each synchronization signal stored in the storage step is When a data amount necessary for calculation is reached, a flag generation step for generating a flag for each synchronization signal, and at least one synchronization signal generated in the flag generation step, a preset priority order Interrupt generation step that generates an interrupt with a high flag, and when the interrupt is generated, the data being executed at that time is saved and the parallel The adder has a signal processing step for performing signal processing of the data of the predetermined amount indicated by higher the priority flag, and in the signal processing step,
When an interrupt with a higher priority than the signal processing being executed occurs, the processing being executed in the signal processing step is interrupted to save the data, and the signal processing with the interrupt with a higher priority is performed. After the signal processing is completed in the signal processing step, the processing is returned to the execution that was being performed when the interrupt occurred.

【0018】[0018]

【発明の実施の形態】(実施の形態1)以下、図1から
図4を用いて、本発明の実施の形態1における信号処理
装置について説明する。まず、図1を用いて、本実施の
形態1における、信号処理装置の構成について説明す
る。図1は、本発明の実施の形態1における、信号処理
装置の構成図である。
BEST MODE FOR CARRYING OUT THE INVENTION (Embodiment 1) A signal processing apparatus according to Embodiment 1 of the present invention will be described below with reference to FIGS. 1 to 4. First, the configuration of the signal processing device according to the first embodiment will be described with reference to FIG. 1 is a configuration diagram of a signal processing device according to Embodiment 1 of the present invention.

【0019】図1において、バッファ制御部1は、外部
より水平同期信号および垂直同期信号を含むsync1
信号が入力されるものであり、外部から入力される映像
信号のうちバッファ2に格納されるdata1の入出力
を制御するものである。また、上記バッファ2は、上記
映像信号中のsync1信号の同期でclk1に合わせ
て8bit入力されるdata1を128個格納する容
量を持ち、該バッファ2の容量の半分の64個のデータ
が格納される毎に、clkp(プロセッサクロック)に
合わせて、その格納された8bit×64個のdata
1であるdata25をメモリ5に対して出力するもの
である。バッファ制御部3は、sync2信号が入力さ
れる上記バッファ制御部1と同様の構成をもつものであ
り、外部から入力される映像信号のうちバッファ4に格
納されるdata2の入出力を制御するものである。ま
た、上記バッファ4は、上記バッファ2と同じ構成を有
し、上記映像信号中のsync2信号の同期でclk2
に合わせて8bit入力されるdata2が64個のデ
ータが格納される毎に、clkpに合わせてその格納さ
れた8bit×64個のdata2であるdata25
をメモリ5に対して出力するものである。メモリ5は各
バッファ2,4から出力されるdata25を格納して
プロセッサ11にdata27を出力、またはプロセッ
サ11からdata27を入力するものであり、メモリ
制御部6は上記メモリ5からのデータの入出力を各バッ
ファから出力される制御信号により制御するものであ
る。なお、上記data25は、各バッファ2,4から
出力される8bit×64個のdata1あるいはda
ta2であり、また上記data27は、メモリ5とプ
ロセッサ11との間で入出力される8bit×64個の
データであって、ここではメモリ5に格納されていたd
ata1,data2、あるいはプロセッサ11におい
て信号処理された後のデータを意味する。
In FIG. 1, the buffer control unit 1 includes a sync1 which includes a horizontal synchronizing signal and a vertical synchronizing signal from the outside.
A signal is input, and the input / output of the data 1 stored in the buffer 2 of the video signal input from the outside is controlled. Further, the buffer 2 has a capacity for storing 128 pieces of data1 input by 8 bits in synchronization with clk1 in synchronization with the sync1 signal in the video signal, and 64 pieces of data, which is half the capacity of the buffer 2, is stored. Every 8 seconds, the stored 8 bits × 64 pieces of data are synchronized with clkp (processor clock).
The data 25, which is 1, is output to the memory 5. The buffer control unit 3 has the same configuration as the buffer control unit 1 to which the sync2 signal is input, and controls the input / output of data2 stored in the buffer 4 in the video signal input from the outside. Is. The buffer 4 has the same configuration as the buffer 2, and clk2 is synchronized with the sync2 signal in the video signal.
Every time 64 data2 of 8 bits input is stored according to, data25 which is 8 bits × 64 data2 stored according to clkp.
Is output to the memory 5. The memory 5 stores the data 25 output from each of the buffers 2 and 4 and outputs the data 27 to the processor 11, or inputs the data 27 from the processor 11, and the memory control unit 6 inputs and outputs the data from the memory 5. Is controlled by a control signal output from each buffer. The data 25 is 8 bits × 64 pieces of data 1 or data output from the buffers 2 and 4.
The data 27 is 8 bits × 64 pieces of data input / output between the memory 5 and the processor 11, and is stored in the memory 5 here.
The data means data, data, or data processed by the processor 11.

【0020】また、バッファ制御部7は、外部よりsn
yc3信号が入力されるものであり、メモリ5からバッ
ファ8に格納される信号処理済みのdata26の入出
力を制御するものである。また、上記バッファ8は、c
lkpに合わせてメモリ5から転送される8bit×6
4個のdata26を128個格納する容量を持ち、そ
の半分の64個のデータが格納される毎に、sync3
の同期でclk3に合わせて、バッファ8に格納された
8bit×64個のデータをdata3として外部へ出
力するものである。バッファ制御部9は、sync4信
号が入力される上記バッファ制御部7と同様の構成をも
つものであり、メモリ5からバッファ10に格納される
data26の入出力を制御するものである。また、上
記バッファ10は上記バッファ8と同じ構成を持ち、c
lkpに合わせて、メモリ5から転送される8bit×
64個のdata26を格納し、64個のデータが格納
される毎にsync4の同期でclk4に合わせて、バ
ッファ10に格納された8bit×64個のデータをd
ata4として外部へ出力するものである。
Further, the buffer control unit 7 receives a sn signal from the outside.
The yc3 signal is input, and the input / output of the signal-processed data 26 stored in the buffer 8 from the memory 5 is controlled. Further, the buffer 8 is c
8 bits x 6 transferred from the memory 5 according to lkp
It has a capacity to store 128 pieces of 4 data 26, and sync3 is stored every time 64 pieces of data, which is half of that, is stored.
The data of 8 bits × 64 stored in the buffer 8 is externally output as data3 in synchronization with clk3. The buffer control unit 9 has the same configuration as the buffer control unit 7 to which the sync4 signal is input, and controls the input / output of the data 26 stored in the buffer 10 from the memory 5. Further, the buffer 10 has the same structure as the buffer 8, and
8bit x transferred from the memory 5 according to lkp
64 pieces of data 26 are stored, and every time 64 pieces of data are stored, 8 bits × 64 pieces of data stored in the buffer 10 are d-matched with clk4 in synchronization with sync4.
It is output to the outside as ata4.

【0021】上記プロセッサ11は、メモリ5から入力
したdata27に対して映像信号処理を行い、その後
信号処理したdata27をメモリ5に出力するもので
あり、プログラムカウンタ12と、該プログラムカウン
タ12を制御するプログラムカウンタ制御部13と、上
記各sync系のデータ毎に対応した処理プログラムを
格納する命令メモリ14と、該命令メモリ14から読み
出した処理プログラムをデコードするデコーダ15と、
該デコーダ15からの制御信号によって同一動作をする
64個の演算器から成る並列演算器16と、上記メモリ
5からのデータと上記並列演算器16の演算データの結
果とを格納するレジスタファイル17とで構成されてい
る。また、図示されていないが、上記命令メモリ14は
外部から命令コードを設定することが可能である。
The processor 11 performs video signal processing on the data 27 input from the memory 5, and then outputs the signal-processed data 27 to the memory 5, and controls the program counter 12 and the program counter 12. A program counter control unit 13, an instruction memory 14 for storing a processing program corresponding to each of the sync system data, a decoder 15 for decoding the processing program read from the instruction memory 14,
A parallel arithmetic unit 16 composed of 64 arithmetic units that perform the same operation according to a control signal from the decoder 15, and a register file 17 for storing the data from the memory 5 and the result of the arithmetic data of the parallel arithmetic unit 16. It is composed of. Although not shown, the instruction memory 14 can set an instruction code from the outside.

【0022】バッファ18は、上記メモリ5とSDRA
M21との間において、16bitデータであるdat
a19を入出力するものであり、上記SDRAM21及
びバッファ18は、SDRAM制御部22から出力され
る、RAS、CAS、wen(ライトイネーブル)、ア
ドレス等を含む制御信号cnt20と、クロック信号c
lksdによって制御されるものである。なお、上記c
lksdの周波数は、本実施の形態1ではclkpと同
じ周波数とするが、データ転送するタイミングにまにあ
うのであれば、clkpと異なる周波数であってもよ
い。
The buffer 18 includes the memory 5 and SDRA.
Dat which is 16 bit data between M21 and
The SDRAM 21 and the buffer 18 output and output a19, and the SDRAM 21 and the buffer 18 output a control signal cnt20 including RAS, CAS, wen (write enable), address and the like, and a clock signal c.
It is controlled by lksd. The above c
The frequency of lksd is the same frequency as clkp in the first embodiment, but may be a frequency different from clkp as long as the timing of data transfer is met.

【0023】次に、図1から図4を用いて、本実施の形
態1における信号処理装置の動作について説明する。図
2は、本実施の形態1における信号処理装置の動作を示
す波形図であり、図3は、本実施の形態1における信号
処理装置内のプロセッサの動作を示すフローチャートで
あり、図4は、本実施の形態1におけるプロセッサ内の
命令メモリに格納されている各プログラムの流れであ
る。
Next, the operation of the signal processing apparatus according to the first embodiment will be described with reference to FIGS. 1 to 4. 2 is a waveform diagram showing the operation of the signal processing device according to the first embodiment, FIG. 3 is a flowchart showing the operation of the processor in the signal processing device according to the first embodiment, and FIG. 3 is a flow of each program stored in an instruction memory in the processor according to the first embodiment.

【0024】本実施の形態1においては、プロセッサ1
1内の並列演算器16が、64個の演算器で構成されて
いるものとし、64個のデータに対して同時に処理が可
能であるものとする。よって、ここではレジスタファイ
ル17にデータが64個入力された時点で、プロセッサ
11により演算処理実行がされる。
In the first embodiment, the processor 1
It is assumed that the parallel arithmetic unit 16 in 1 is composed of 64 arithmetic units, and can process 64 data at the same time. Therefore, here, the arithmetic processing is executed by the processor 11 when 64 pieces of data are input to the register file 17.

【0025】まず、複数の非同期に入力される映像信号
のうち、sync1信号,clk1,data1を含む
sync1系の信号は、バッファ制御部1に入力される
水平同期信号、及び垂直同期信号を含むsync1信号
により、映像データの水平および垂直のデータ位置が認
識される。次に、バッファ制御部1は、バッファ2に対
してwen信号(ライトイネーブル信号)を入力データ
が有効な期間出力し、バッファ2は、上記wen信号の
有効期間、clk1に合わせて8bit入力されるデー
タであるdata1を順次格納していく。そして、バッ
ファ2に対して外部より上記data1がバッファ2の
容量の半分である64個が入力されると、バッファ2に
64個のデータが格納されたことを通知する制御信号c
nt1を出力する。
First, among a plurality of asynchronously input video signals, a sync1 system signal including sync1 signal, clk1 and data1 is a sync1 signal input to the buffer control unit 1 and a sync1 signal including vertical sync signal. The signal recognizes the horizontal and vertical data positions of the video data. Next, the buffer control unit 1 outputs a wen signal (write enable signal) to the buffer 2 while the input data is valid, and the buffer 2 receives 8 bits in accordance with clk1 during the valid period of the wen signal. The data data1 is sequentially stored. Then, when 64 pieces of the data 1 which is half the capacity of the buffer 2 are input to the buffer 2 from the outside, a control signal c for notifying that 64 pieces of data have been stored in the buffer 2
Output nt1.

【0026】また、上記複数の非同期に入力される映像
信号のうち、sync1信号と別の同期であるsync
2系の信号の場合も同様に処理され、バッファ制御部3
にsync2信号が入力されるとバッファ4に対してw
en信号が入力データが有効な期間出力され、該wen
信号が入力されている期間バッファ4にはclk2に合
わせてdata2が8bit入力され、容量の半分であ
る64個のdata2が格納されると、バッファ4に6
4個のデータが格納されたことを通知する制御信号cn
t2をメモリ制御部6に出力する。
Of the plurality of asynchronously input video signals, the sync1 signal and the sync signal which is different from the sync signal.
The same applies to the case of a 2-system signal, and the buffer control unit 3
When the sync2 signal is input to the
The en signal is output while the input data is valid,
8 bits of data2 are input to the buffer 4 in accordance with clk2 while a signal is input, and when 64 pieces of data2, which is half the capacity, are stored, the buffer 4 outputs 6 bits.
Control signal cn notifying that four pieces of data have been stored
It outputs t2 to the memory control unit 6.

【0027】そして、メモリ制御部6が、バッファ制御
部1から上記制御信号cnt1、あるいはバッファ制御
部3から上記制御信号cnt2を受信すると、wen信
号、及びren信号(リードイネーブル信号)を含む制
御信号cnt24をメモリ5に出力し、各sync信号
系のデータの画素位置が、アドレスによって管理可能な
ようにメモリ5に格納していく。例えば、メモリ制御部
6に制御信号cnt1が入力された場合、バッファ2に
格納された8bit×64個のdata1をメモリ5へ
転送開始し、そのdata1をメモリ5へ格納する際に
は、例えば、映像の左端をメモリ5内のアドレス0に書
き込み、1ラインが760画素から構成されていれば、
アドレス759に画面右端のデータを格納し、次ライン
の左端のデータをメモリ5内のアドレス760に書き込
む等して、メモリ5のアドレスを指定すると必要な画素
位置のデータにアクセスすることができるようにする。
When the memory control unit 6 receives the control signal cnt1 from the buffer control unit 1 or the control signal cnt2 from the buffer control unit 3, a control signal including a wen signal and a ren signal (read enable signal) is received. The cnt 24 is output to the memory 5, and the pixel position of each sync signal system data is stored in the memory 5 so that it can be managed by an address. For example, when the control signal cnt1 is input to the memory control unit 6, when the transfer of 8 bits × 64 data1 stored in the buffer 2 to the memory 5 is started and the data1 is stored in the memory 5, If the left end of the image is written at address 0 in the memory 5 and one line consists of 760 pixels,
By storing the data at the right end of the screen at the address 759 and writing the data at the left end of the next line to the address 760 in the memory 5, it is possible to access the data at the required pixel position by specifying the address in the memory 5. To

【0028】また、本実施の形態1における信号処理装
置からのデータ出力については、図示していないが、上
述したデータ入力動作と同様の処理で行うことができ
る。つまり、バッファ制御部7にsync3信号が入力
されると、制御信号cnt3がメモリ制御部6に出力さ
れ、あるいはバッファ制御部9にsync4信号が入力
されると、制御信号cnt4がメモリ制御部6に出力さ
れる。そして、メモリ制御部6が上記制御信号cnt
3,cnt4を受け取ると、メモリ制御部6は、wen
信号及びren信号を含む制御信号cnt24をメモリ
5に対して出力し、例えばメモリ制御部6が制御信号c
nt3を受け取ると、メモリ5に格納されている処理済
データをプロセッサ11において後処理し、該後処理終
了後の当該信号処理装置から次に出力される8bit×
64個のデータであるdata26がバッファ8へ転送
され、また制御信号cnt4を受け取ると、同様にして
メモリ5からバッファ10に上記data26が転送さ
れる。
Although not shown, the data output from the signal processing device according to the first embodiment can be performed by the same process as the data input operation described above. That is, when the sync3 signal is input to the buffer control unit 7, the control signal cnt3 is output to the memory control unit 6, or when the sync4 signal is input to the buffer control unit 9, the control signal cnt4 is input to the memory control unit 6. Is output. Then, the memory control unit 6 causes the control signal cnt
When receiving 3, cnt4, the memory control unit 6
The control signal cnt24 including the signal and the ren signal is output to the memory 5, and the memory control unit 6 outputs the control signal cnt24, for example.
When nt3 is received, the processed data stored in the memory 5 is post-processed by the processor 11, and 8 bit × which is output next from the signal processing device after the post-processing is finished.
When the data 26, which is 64 pieces of data, is transferred to the buffer 8 and the control signal cnt4 is received, the data 26 is transferred from the memory 5 to the buffer 10 in the same manner.

【0029】さらに、メモリ制御部6は、各バッファ制
御部から受信する上記制御信号cnt1,cnt2,c
nt3,cnt4に対して予め優先順位を設定してお
き、上記メモリ制御部6に各制御信号cnt1〜cnt
4が同時に入力された場合は、予め決められた制御信号
の優先順位に従ってデータ転送の順番が決定され、デー
タ転送を開始させる。そしてこの時、メモリ制御部6は
制御信号cnt22により、sync1信号系、syn
c2信号系、sync3信号系、sync4信号系のど
のデータ転送を起動させたかをプロセッサ11に通知す
る。
Further, the memory control section 6 receives the control signals cnt1, cnt2, c from the buffer control sections.
Priorities are set in advance for nt3 and cnt4, and the control signals cnt1 to cnt are supplied to the memory control unit 6 described above.
When 4 are input at the same time, the order of data transfer is determined according to the priority order of the predetermined control signal, and the data transfer is started. At this time, the memory control unit 6 uses the control signal cnt22 to send the sync1 signal system and the sync signal system.
The processor 11 is notified of which data transfer of the c2 signal system, the sync3 signal system, and the sync4 signal system is activated.

【0030】ここで例えば、メモリ制御部6が制御信号
cnt1を受け取り、バッファ2からメモリ5へsyn
c1信号系であるdata1の転送を起動した場合、メ
モリ制御部6はcnt1を示す制御信号cnt22をプ
ロセッサ11に対して出力し、sync1信号系のデー
タ転送を起動したことを通知する。そして、プロセッサ
11が上記制御信号cnt22を受け取ると、命令メモ
リ14に格納されている複数の処理プログラムから、s
ync1信号系のデータに対応するプログラム1を選択
し、図2に示すように、該選択されたプログラム1を用
いて、一つ前にバッファ2からメモリ5に転送されたd
ata1についての信号処理を行う。
Here, for example, the memory control unit 6 receives the control signal cnt1 and transfers from the buffer 2 to the memory 5 to syn.
When the transfer of data1 which is the c1 signal system is activated, the memory control unit 6 outputs the control signal cnt22 indicating cnt1 to the processor 11 to notify that the data transfer of the sync1 signal system has been activated. When the processor 11 receives the control signal cnt22, s is output from the plurality of processing programs stored in the instruction memory 14.
The program 1 corresponding to the data of the ync1 signal system is selected, and as shown in FIG. 2, the selected program 1 is used to transfer d from the buffer 2 to the memory 5 one before.
Signal processing for ata1 is performed.

【0031】上述したように命令メモリ14には、図4
に示すように、sync1系の信号についてはプログラ
ム1、またsync2系の信号についてはプログラム2
等のように、各同期信号系のデータに対する処理プログ
ラムが、外部I/F(図示せず)を介して予め入力さ
れ、格納されている。よって、プログラムカウンタ制御
部13は、メモリ制御部6より制御信号cnt22を受
け取ると、該制御信号cnt22よりデータ転送開始さ
れたのがsync1信号系、sync2信号系、syn
c3信号系、sync4信号系のうちどれかを判断し、
命令メモリ14内のその転送開始されたデータに対応す
る処理プログラムのアドレスを、プログラムカウンタ1
2にて指定することで選択し、その選択された処理プロ
グラムを用いてデータを処理する。
As described above, the instruction memory 14 is stored in FIG.
As shown in, program 1 for sync1 system signals and program 2 for sync2 system signals.
As described above, a processing program for data of each synchronization signal system is input and stored in advance via an external I / F (not shown). Therefore, when the program counter control unit 13 receives the control signal cnt22 from the memory control unit 6, the data transfer started from the control signal cnt22 is the sync1 signal system, the sync2 signal system, or the sync signal system.
Determine which of the c3 signal system and the sync4 signal system,
The address of the processing program corresponding to the data whose transfer is started in the instruction memory 14 is set to the program counter 1
The data is processed using the selected processing program by selecting it by designating in 2.

【0032】以下、図3のフローチャートに従って、本
実施の形態1におけるプロセッサ11内での信号処理動
作について、図1及び図4を参照しながら説明する。図
3に示すように、プロセッサ11内では、制御信号cn
t22の状態を確認するプログラムが動作している。ま
ず、プロセッサ11に対して制御信号cnt22に信号
が入らなければ、リセット信号等で初期化を行った後
(ステップ301)、判定ルーチンを通る無限ループ動
作を行う(ステップ302,303,304,30
5)。すなわち、上記プロセッサ11は無限ループ動作
を行い、常に入力される制御信号cnt22の状態を確
認している。
The signal processing operation in the processor 11 according to the first embodiment will be described below with reference to FIGS. 1 and 4 according to the flowchart of FIG. As shown in FIG. 3, in the processor 11, the control signal cn
A program for checking the state at t22 is running. First, if no signal is input to the control signal cnt22 for the processor 11, initialization is performed with a reset signal or the like (step 301), and then an infinite loop operation that passes through the determination routine is performed (steps 302, 303, 304, 30).
5). That is, the processor 11 performs an endless loop operation and always checks the state of the control signal cnt22 that is input.

【0033】そして、プログラムカウンタ制御部13が
制御信号cnt22により、例えばcnt1の転送を通
知されると、ステップ302に進み、プログラムカウン
タ12を、命令メモリ14内に格納されているプログラ
ム1のアドレスに変更し、命令メモリ14からプログラ
ム1の命令を順次読み出す。読み出されたプログラム1
の命令はデコーダ15によってデコードされて、64個
ある並列演算器16にその制御信号として入力され、こ
の時メモリ5にデータ転送された一つ前の、メモリ5に
格納された8bit×64個のdata1をレジスタフ
ァイル17に転送し、プログラム1によって制御された
並列演算器16で、data1に必要な信号処理が行わ
れる。
When the program counter control unit 13 is notified by the control signal cnt22 of the transfer of, for example, cnt1, the process proceeds to step 302, and the program counter 12 is set to the address of the program 1 stored in the instruction memory 14. The instruction is changed and the instructions of the program 1 are sequentially read from the instruction memory 14. Read program 1
The instruction of is decoded by the decoder 15 and input as a control signal to the 64 parallel arithmetic units 16, and at this time the data transferred to the memory 5 is 8 bits × 64 stored in the memory 5. Data1 is transferred to the register file 17, and the parallel computing unit 16 controlled by the program 1 performs the signal processing required for data1.

【0034】上記プログラム1の命令は、図4に示すよ
うに、データ入力ステップと、演算ステップと、データ
出力ステップとを有し、まずデータ入力ステップで、ロ
ード命令によってメモリ5に格納されているデータの領
域から、処理を行うdata27をレジスタファイル1
7に転送し、次に演算ステップにおいて、レジスタファ
イル17と並列演算器16との間で、上記データの演算
を実行し、データ出力ステップにおいて、演算ステップ
で実行された演算結果をストア命令によりレジスタファ
イル17からメモリ5へ転送するものである。
As shown in FIG. 4, the instruction of the program 1 has a data input step, a calculation step, and a data output step. First, in the data input step, it is stored in the memory 5 by a load instruction. From the data area, the data 27 to be processed is registered in the register file 1
7, the arithmetic operation of the above data is executed between the register file 17 and the parallel arithmetic unit 16 in the arithmetic step, and the arithmetic result executed in the arithmetic step is registered by the store instruction in the data output step. The file 17 is transferred to the memory 5.

【0035】また、プログラム2〜4は、上記プログラ
ム1が有するステップと同様のステップを有するもので
あり、例えば、プログラム3を例に挙げれば、メモリ5
内に格納されているプロセッサ11による処理後のデー
タを、レジスタファイル17に入力するデータ入力ステ
ップと、そのデータに後処理行う演算ステップと、バッ
ファ8にその演算結果を出力するデータ出力ステップと
を含むものである。なお、本実施の形態1のプログラム
1等においては、入力ステップと出力ステップとの間に
演算ステップがあるが、単にデータを転送する処理であ
ってもよい。また、フィールド遅延等のため、各バッフ
ァからメモリ5に処理データが格納されずデータが必要
な場合、各プログラムは、データ入力ステップに、SD
RAM21からのデータロード命令を記述し、バッファ
18を介してSDRAM21中のデータをメモリ5に格
納し、次の各プログラム実行時にはデータ転送が終了し
ているようにする。そして、データ出力ステップに、S
DRAM21へのデータ格納命令の記述を行なう。
The programs 2 to 4 have the same steps as the steps of the program 1 described above. For example, in the case of the program 3, the memory 5 is used.
A data input step of inputting the data after processing by the processor 11 stored in the register file 17 to the register file 17, a calculation step of performing post-processing on the data, and a data output step of outputting the calculation result to the buffer 8. It includes. In addition, in the program 1 and the like of the first embodiment, there is a calculation step between the input step and the output step, but it may be a process of simply transferring data. Further, when processing data is not stored in the memory 5 from each buffer due to field delay or the like and data is required, each program executes SD in the data input step.
A data load instruction from the RAM 21 is described and the data in the SDRAM 21 is stored in the memory 5 via the buffer 18 so that the data transfer is completed at the next execution of each program. Then, in the data output step, S
Describes a data storage instruction to the DRAM 21.

【0036】以上の説明では、各バッファ制御部から各
々制御信号を出力し、該制御信号によってメモリ制御部
6によりデータの入出力がなされるものとしたが、メモ
リ5上にバッファ2,4,8,10,18それぞれがデ
ータの書き込みまたは読み出しを行う領域を定義してお
き、各バッファ制御部1,3,7,9及びSDRAM制
御部22が、各バッファがemptyあるいはfull
になった場合、メモリ5へ直接データを書き込みあるい
は読み出しするDMA転送を行うことにより、メモリ制
御部6の制御を介さず、メモリ5にデータを格納するこ
とも可能である。
In the above description, it is assumed that each buffer control unit outputs a control signal and the memory control unit 6 inputs / outputs data according to the control signal. Areas for writing or reading data are defined by 8, 10, and 18, respectively, and each buffer control section 1, 3, 7, 9 and SDRAM control section 22 sets each buffer to empty or full.
In this case, it is possible to store the data in the memory 5 without the control of the memory control unit 6 by performing the DMA transfer for directly writing or reading the data in the memory 5.

【0037】以下、図5及び図6を用いて、以上のよう
に各バッファからメモリ5へのデータ転送がDMA転送
で行われる場合について説明する。図5(a)は、本実
施の形態1の信号処理装置内のプロセッサにおいて、割
り込み制御がなされる場合の動作を示すフローチャート
図であり、図5(b)は、図5(a)の割り込み処理の
一連の流れを示したフローチャートであり、図6は、図
5(b)の各プログラム処理の一連の流れを示した図で
ある。
The case where the data transfer from each buffer to the memory 5 is performed by the DMA transfer as described above will be described below with reference to FIGS. 5 and 6. FIG. 5A is a flow chart showing the operation when interrupt control is performed in the processor in the signal processing apparatus of the first embodiment, and FIG. 5B is the interrupt of FIG. 5A. FIG. 6 is a flowchart showing a series of processing flows, and FIG. 6 is a diagram showing a series of processing flows of each program of FIG. 5B.

【0038】例えば、バッファ2が外部から入力された
data1でfullになった場合、バッファ制御部1
は、メモリ5に定義されたバッファ2の定義領域にデー
タを書き込み、プロセッサ11に対して割り込み信号を
生成させて、データをメモリ5に転送したことを通知す
る。割り込み信号を受け付けたプロセッサ11は、現在
実行されているプログラムカウンタ12及びレジスタフ
ァイル17の値を退避させた後、前記割り込み処理がど
のバッファ制御部からの割り込みかを検出する。この検
出方法としては、各バッファ制御部から発生させる割り
込み信号のレベルに変化をつけたり、各バッファ制御部
に設けられたレジスタに、データ転送が終わったバッフ
ァ制御部が、例えば1を設定するようにし、プロセッサ
11が該レジスタを参照して、どのバッファ制御部から
割り込み信号が発生したのかを検出するようにすればよ
い。そして、プロセッサ11において割り込み処理がバ
ッファ制御部1からであることが検出されると、プログ
ラム1を選択し、書き込まれたデータに対して必要な映
像処理を実行し、演算結果をメモリ5に格納する。そし
て、上述したような割り込み処理が終了後、退避させて
いたデータ処理のアドレスに戻って、処理を継続する。
また、バッファ10がdata4を外部へ出力してem
ptyになった場合、バッファ制御部9は、プロセッサ
11に対して割り込みを発生させ、上述したような処理
が終了後、メモリ5上のバッファ10の定義領域に再度
入力し、該定義領域よりデータを読み出してバッファ1
0に取りこみ、外部へdata4として出力する。
For example, when the buffer 2 becomes full with the data 1 input from the outside, the buffer control unit 1
Writes data in the defined area of the buffer 2 defined in the memory 5, causes the processor 11 to generate an interrupt signal, and notifies that the data has been transferred to the memory 5. The processor 11, which has received the interrupt signal, saves the values of the program counter 12 and the register file 17 that are currently being executed, and then detects from which buffer control unit the interrupt processing is from. As the detection method, the level of the interrupt signal generated from each buffer control unit is changed, or the buffer control unit that has completed the data transfer sets 1 to the register provided in each buffer control unit. The processor 11 may refer to the register to detect from which buffer control unit the interrupt signal is generated. Then, when the processor 11 detects that the interrupt processing is from the buffer control unit 1, the program 1 is selected, necessary video processing is executed on the written data, and the calculation result is stored in the memory 5. To do. Then, after the interrupt processing as described above is completed, the processing is continued by returning to the saved address of the data processing.
Also, the buffer 10 outputs data4 to the outside and em
In the case of pty, the buffer control unit 9 causes an interrupt to the processor 11, and after the above-described processing is completed, the buffer control unit 9 inputs again into the definition area of the buffer 10 on the memory 5, and the data from the definition area is input. Read and buffer 1
It is taken into 0 and output to the outside as data4.

【0039】このような処理により、プロセッサ11の
処理クロックに対して非同期に入力される映像信号に対
し、個々のバッファ制御部がDMA転送によりメモリ5
にデータを格納し、割り込みによりプロセッサ11にデ
ータを書き込みあるいは読み出したことを通知し、プロ
セッサ11に必要なタイミングで処理を行うことを可能
とするものである。
By such processing, each buffer control unit DMA-transfers the video signal input asynchronously to the processing clock of the processor 11 to the memory 5 by the DMA transfer.
The data is stored in the memory, the processor 11 is notified by the interrupt that the data has been written or read, and the processor 11 can perform the processing at a necessary timing.

【0040】なお、各バッファ制御部から割り込み信号
を発生させ、プロセッサ11で実行中の信号処理に割り
込むのではなく、各バッファ制御部にレジスタを設け、
該バッファ制御部がデータを転送し終わった時に、例え
ば前記レジスタに1を設定するようにし、上記プロセッ
サ11が、図7に示すように、前記レジスタに書き込ま
れたデータを適当な周期で読みに行くポーリングによる
制御も可能である。
It should be noted that, instead of generating an interrupt signal from each buffer control unit and interrupting the signal processing being executed by the processor 11, a register is provided in each buffer control unit,
When the buffer controller has finished transferring the data, for example, the register is set to 1, and the processor 11 reads the data written in the register at an appropriate cycle as shown in FIG. Control by polling is also possible.

【0041】以上のように本実施の形態1では、複数の
非同期データの各バッファへの入力状況において、必要
なデータ数が揃った段階で、各バッファ制御部からメモ
リ制御部6に制御信号cntが出力され、該一定量のデ
ータをメモリ5に転送すると同時にメモリ制御部6から
プロセッサ11にどの同期信号系のデータがメモリ5に
転送されたのかを示す制御信号cnt22が出力され、
プロセッサ11は上記制御信号cnt22より処理を行
うデータを判断しそのデータに対応する処理プログラム
を命令メモリ14内からプログラムカウンタ制御部13
において切り換えながら上記データの信号処理を行うよ
うにしたので、複数の非同期であるデータが各々必要な
データ数が揃った段階でプロセッサ11においてデータ
を処理し、非同期データをフレームシンクロ機能等で同
期させるデータ変換する必要をなくすことができるた
め、映像の高画質化に伴って画像データの水平画素数が
増えても信号処理装置の面積が大きくならないという効
果がある。また、各バッファに一定量のデータが格納さ
れて同時に上記制御信号cntがメモリ制御部6に入力
された場合においても、メモリ制御部6において各制御
信号cntを予め決められた優先順位に従ってメモリ5
へのデータの入出力を調停して、優先順位の高いデータ
から信号処理を行うようにしたので、プロセッサ11に
おいて制御信号cnt22により上記処理プログラムを
切り換えながら複数の非同期信号の処理を行うことが可
能となる。
As described above, in the first embodiment, the control signal cnt is sent from each buffer control unit to the memory control unit 6 when the required number of data is prepared in the input situation of a plurality of asynchronous data to each buffer. Is output, and at the same time that the certain amount of data is transferred to the memory 5, the memory control unit 6 outputs to the processor 11 a control signal cnt22 indicating which sync signal data has been transferred to the memory 5,
The processor 11 determines data to be processed from the control signal cnt22, and outputs a processing program corresponding to the data from the instruction memory 14 to the program counter controller 13
Since the signal processing of the above-mentioned data is performed while switching in the above, the data is processed in the processor 11 at the stage when the required number of a plurality of asynchronous data are prepared, and the asynchronous data is synchronized by the frame synchronization function or the like. Since it is possible to eliminate the need for data conversion, there is an effect that the area of the signal processing device does not increase even if the number of horizontal pixels of image data increases as the image quality of the image increases. Even when a certain amount of data is stored in each buffer and the control signal cnt is input to the memory control unit 6 at the same time, the memory control unit 6 sends each control signal cnt to the memory 5 according to a predetermined priority.
Since the input / output of data to and from arbitration is performed and the signal processing is performed from the data with the highest priority, it is possible to perform the processing of a plurality of asynchronous signals in the processor 11 while switching the processing programs by the control signal cnt22. Becomes

【0042】なお、本実施の形態1では、データの入力
系統、出力系統を2系統づつとしたが、その数が増えて
も同様に扱うことができる。また、データのビット幅に
ついても本実施の形態1以外の構成でも実現可能であ
る。
In the first embodiment, two data input systems and two data output systems are used, but the same can be handled even if the number increases. Further, the bit width of data can also be realized by a configuration other than that of the first embodiment.

【0043】また、並列演算器16内の演算器数につい
ても、必要な演算性能によって決めればよく、演算器の
演算性能が向上すれば、64以外でも演算に必要なデー
タが揃った段階でメモリ制御部6からのデータ転送、あ
るいはプロセッサ11を起動するようにすれば実現可能
である。また、SDRAM21についても、SDRAM
以外のメモリであっても構成可能である。また、本実施
の形態1においては、8bit入力されるデータを12
8個格納する容量のバッファにおいて、その半分の容量
である64個データが入力される毎に、その格納された
データをメモリ5に対して出力するようにしたが、デー
タ転送が間に合うのであれば、64個でなくてもよく、
その他の個数のデータがバッファに入力される毎にデー
タを出力するものであってもよい。
Also, the number of arithmetic units in the parallel arithmetic unit 16 may be determined according to the required arithmetic performance. If the arithmetic performance of the arithmetic units is improved, a memory other than 64 will be stored at the stage where the data required for the arithmetic is prepared. This can be realized by transferring data from the control unit 6 or starting the processor 11. The SDRAM 21 is also the SDRAM
A memory other than the above can be configured. In addition, in the first embodiment, 12 bits of data input is 8 bits.
In a buffer having a capacity of storing eight data, the stored data is output to the memory 5 every time 64 data, which is half the capacity, is input, but if the data transfer is in time, , Not necessarily 64,
The data may be output each time another number of data is input to the buffer.

【0044】(実施の形態2)以下、図8及び図9を用
いて、実施の形態2における信号処理装置について説明
する。上述した実施の形態1においては、図4に示すよ
うにプロセッサ11においてメモリ制御部6から出力さ
れる制御信号cnt22の入力をプログラムにおいて常
に確認しているのに対し、本実施の形態2においては、
図8に示すように、例えばOSD処理中にメモリ制御部
6から制御信号cnt22が出力されると割り込みを発
生させる点が異なっている。
(Second Embodiment) A signal processing apparatus according to the second embodiment will be described below with reference to FIGS. 8 and 9. In the first embodiment described above, the input of the control signal cnt22 output from the memory control unit 6 in the processor 11 is always confirmed in the program as shown in FIG. 4, whereas in the second embodiment, ,
As shown in FIG. 8, for example, when the control signal cnt22 is output from the memory control unit 6 during the OSD processing, an interrupt is generated.

【0045】まず、本実施の形態2における信号処理装
置の構成については、実施の形態1と同様であるため、
ここでは説明を省略する。次に、図8、図9を用いて、
本実施の形態2における信号処理装置の動作について説
明する。図8(a)は、本実施の形態2における、信号
処理装置内のプロセッサの動作を示すフローチャート図
であり、図8(b)は、図8(a)の割り込み処理の一
連の流れを示したフローチャートであり、図9は、図8
(b)の各プログラム処理の一連の流れを示した図であ
る。
First, the configuration of the signal processing apparatus according to the second embodiment is similar to that of the first embodiment.
The description is omitted here. Next, using FIG. 8 and FIG.
The operation of the signal processing device according to the second embodiment will be described. FIG. 8A is a flowchart showing the operation of the processor in the signal processing apparatus according to the second embodiment, and FIG. 8B shows a series of flows of the interrupt processing of FIG. 8A. 9 is a flowchart of FIG.
It is the figure which showed the series of flow of each program process of (b).

【0046】映像信号処理は画像処理と異なり、信号処
理をリアルタイムで処理してデータを出力し続ける必要
がある。すなわち、上述した実施の形態1の方法では、
映像信号のデータ量が揃い、並列演算器16において演
算可能になるとすぐに処理を開始できるように、プロセ
ッサ11は常に制御信号cnt22を確認しておく必要
があるため、例えばオンスクリーンディスプレイ(OS
D)処理等の他の処理を同時に実行することができな
い。
Unlike the image processing, the video signal processing needs to be processed in real time to continuously output data. That is, in the method of the first embodiment described above,
Since the processor 11 needs to always check the control signal cnt22 so that the processing can be started as soon as the data amount of the video signal is uniform and the parallel computing unit 16 can perform the computation, for example, an on-screen display (OS)
D) Other processing such as processing cannot be executed at the same time.

【0047】しかしながら、本実施の形態2のように、
割り込みを使用する方法では、OSD処理等の処理を行
っていても、制御信号cnt22で割り込みをかけるこ
とによりOSD処理を中断させ、制御信号cnt22が
示す同期信号系に対応する処理プログラム、例えば制御
信号cnt22がcnt1を示すものであれば、プログ
ラム1による処理を行うことが可能となる。
However, as in the second embodiment,
In the method of using an interrupt, even if processing such as OSD processing is performed, the OSD processing is interrupted by issuing an interrupt with the control signal cnt22, and a processing program corresponding to the synchronization signal system indicated by the control signal cnt22, for example, a control signal. If cnt22 indicates cnt1, the processing by the program 1 can be performed.

【0048】以下、図8のフローチャートに従って、本
実施の形態2におけるプロセッサ11の動作について説
明する。まず、制御信号cnt22が入力されなけれ
ば、ステップ510においてリセット信号等で初期化を
行った後、ステップ520にてOSD処理を行う。そし
て、OSD処理を行っている間に、制御信号cnt22
の割り込みが発生すると、OSD処理を中断し、図8
(b)に示す割り込みハンドラに移行する。
The operation of the processor 11 according to the second embodiment will be described below with reference to the flowchart of FIG. First, if the control signal cnt22 is not input, initialization is performed with a reset signal or the like in step 510, and then OSD processing is performed in step 520. Then, while the OSD processing is being performed, the control signal cnt22
Interrupt occurs, the OSD process is interrupted and
The process moves to the interrupt handler shown in (b).

【0049】割り込み処理においては、まず、ステップ
521において、割り込み制御を容易にするために割り
込み処理実行中は割り込みを禁止し、プロセッサ11に
入力された制御信号cnt22の状態を、ステップ52
2からステップ525において確認し、制御信号cnt
22の状態により処理プログラムを選択し、信号処理を
行う。
In the interrupt processing, first, in step 521, interrupt is prohibited during execution of interrupt processing to facilitate interrupt control, and the state of the control signal cnt22 input to the processor 11 is changed to step 52.
2 to step 525, the control signal cnt
A processing program is selected according to the state of 22, and signal processing is performed.

【0050】そして、図9に示すように、選択された処
理プログラムによる信号処理、例えばここではcnt2
2がcnt1であって、命令メモリ14からプログラム
1が選択されたとすると、ステップ5221においてプ
ログラム1による信号処理が行われ、処理終了後にステ
ップ5222において、ステップ521において割り込
みを禁止していたのを、割込み処理終了後に割り込みを
許可し、再びステップ520のOSD処理に復帰するも
のとなっている。
Then, as shown in FIG. 9, signal processing by the selected processing program, for example, cnt2 in this case.
If 2 is cnt1 and the program 1 is selected from the instruction memory 14, the signal processing by the program 1 is performed in step 5221, and the interrupt is prohibited in step 521 in step 5222 after the processing is completed. After the interrupt processing is completed, the interrupt is permitted, and the OSD processing of step 520 is resumed.

【0051】以上のように、本実施の形態2によれば、
OSD処理等の他の処理を行っている時に制御信号cn
t22の割り込みが発生すると、OSD処理を中断して
制御信号cnt22が示すsync信号系に対応する処
理プログラムを実行するようにしたので、映像信号処理
のようにリアルタイムで処理してデータを出力しつづけ
る必要がある信号処理においても、他の処理を同時に行
うことができる。また上記割り込み処理中は制御信号c
nt22による割り込みを禁止することにより、割り込
み制御を容易にすることができる。
As described above, according to the second embodiment,
When performing other processing such as OSD processing, control signal cn
When the interrupt at t22 occurs, the OSD process is interrupted and the processing program corresponding to the sync signal system indicated by the control signal cnt22 is executed, so that the data is continuously processed and output in real time like the video signal processing. In the necessary signal processing, other processing can be performed at the same time. Also, during the interrupt processing, the control signal c
By prohibiting the interrupt by nt22, the interrupt control can be facilitated.

【0052】なお、本実施の形態2の割り込み処理にお
いては、図8(b)に示すように制御信号cnt22が
制御信号cnt1〜cnt4のどれと一致するかを順に
確認させて(ステップ522〜ステップ525)、プロ
グラム1〜プログラム4を選択すると説明したが、割り
込み信号としての制御信号cnt22の値を、プログラ
ム1の処理の場合は0、プログラム2の処理の場合は1
等のように値を予め設定しておき、例えば制御信号cn
t22=0であれば直接プログラム1の処理へ進むよう
にすることも可能である。
In the interrupt processing of the second embodiment, as shown in FIG. 8B, it is sequentially confirmed which of the control signals cnt22 to cnt1 to cnt4 matches (step 522 to step 522). 525), it has been described that the programs 1 to 4 are selected, but the value of the control signal cnt22 as an interrupt signal is 0 in the case of the processing of the program 1 and 1 in the case of the processing of the program 2.
The value is set in advance such as, and the control signal cn
If t22 = 0, it is possible to directly proceed to the processing of program 1.

【0053】(実施の形態3)以下、図10から図12
を用いて、実施の形態3における信号処理装置について
説明する。上述した実施の形態2においては、図8
(b)に示すようにOSD処理等の他処理の実行中に、
制御信号cnt22による割り込みが発生すると、その
割り込みによる処理中は、他の割り込み処理をステップ
521により禁止していたが、本実施の形態3において
は、制御信号cnt22による割り込みによって実行さ
れる割り込み処理中に、制御信号cnt22の割り込み
が発生すれば、その割り込みを許可している点が異な
る。
(Third Embodiment) Hereinafter, FIG. 10 to FIG.
The signal processing device according to the third embodiment will be described with reference to FIG. In the second embodiment described above, FIG.
As shown in (b), while other processing such as OSD processing is being executed,
When an interrupt is generated by the control signal cnt22, other interrupt processing is prohibited in step 521 during processing by the interrupt, but in the third embodiment, during interrupt processing executed by the interrupt by the control signal cnt22. In addition, if an interrupt of the control signal cnt22 occurs, the difference is that the interrupt is permitted.

【0054】まず、本実施の形態3における信号処理装
置の構成については、実施の形態1と同様であるため、
ここでは説明を省略する。次に、図10から図12を用
いて、本実施の形態3における信号処理装置の動作につ
いて説明する。図10は、本実施の形態3における信号
処理装置の動作を示した波形図であり、(X)は処理プ
ログラム処理中に割り込みなし、つまり上述した実施の
形態2における信号処理の波形図であり、(Y)は処理
プログラム処理中に割り込みあり、つまり本実施の形態
3における信号処理の波形図である。また図11(a)
は、本実施の形態3における信号処理装置内のプロセッ
サの動作を示すフローチャート図であり、図11(b)
は、図11(a)の割り込み処理の一連の流れを示すフ
ローチャートであり、図12は、図11(b)の各処理
プログラムの一連の流れを示した図である。
First, the configuration of the signal processing apparatus according to the third embodiment is similar to that of the first embodiment, and
The description is omitted here. Next, the operation of the signal processing device according to the third embodiment will be described with reference to FIGS. 10 to 12. FIG. 10 is a waveform diagram showing the operation of the signal processing device according to the third embodiment, and (X) is a waveform diagram of the signal processing according to the second embodiment described above without interruption during the processing program processing. , (Y) are interruptions during processing program processing, that is, waveform diagrams of signal processing in the third embodiment. In addition, FIG.
11 is a flowchart showing the operation of the processor in the signal processing device according to the third embodiment, and FIG.
11 is a flowchart showing a series of flows of the interrupt processing of FIG. 11A, and FIG. 12 is a view showing a series of flows of the respective processing programs of FIG. 11B.

【0055】ここで、図10を用いて、上述した実施の
形態2による信号処理と、本実施の形態3による信号処
理とを比較してみる。ただし、図10においては、cl
k2に合わせて入力されるdata2の入力レートがc
lk1に合わせて入力されるdata1より速く、また
プログラム1がdata1を処理する実行時間が、プロ
グラム2のdata2を処理する実行時間より長いもの
とする。
Here, the signal processing according to the above-described second embodiment and the signal processing according to the present third embodiment will be compared with each other with reference to FIG. However, in FIG. 10, cl
The input rate of data2 that is input according to k2 is c
It is assumed that it is faster than data1 input according to lk1 and that the execution time for program 1 to process data1 is longer than the execution time for processing data2 of program 2.

【0056】OSD処理中に制御信号cnt2を示すc
nt22による割り込みが生じ、次にcnt1を示すc
nt22による割り込みが生じ、さらにcnt2を示す
cnt22による割り込みが生じ、cnt1を示すcn
t22による割り込みが生じる場合、上述した実施の形
態2の処理方法で処理を行うと、図10(X)に示すよ
うに、2回目に入力されたdata2の処理が終了して
いない状態で、次のdata2が入力してしまうので、
処理が破綻する可能性がある。
C indicating the control signal cnt2 during the OSD processing
An interrupt by nt22 occurs, and then c indicating cnt1
An interrupt by nt22 occurs, an interrupt by cnt22 indicating cnt2 occurs, and cn indicating cnt1.
When an interrupt due to t22 occurs, if processing is performed by the processing method of the above-described second embodiment, as shown in FIG. 10 (X), the processing of the second input data2 is not completed, and Since data2 of will be input,
Processing may fail.

【0057】一方、本実施の形態3では、処理プログラ
ムの処理を行っている間でも割り込みを許可するように
しているので、図10(Y)に示すように、data2
に対応するプログラム2の割り込みレベルを高くし、プ
ログラム1による信号処理実行中に、制御信号cnt2
を示すcnt22による割り込みが発生すると、プログ
ラム1による処理を中断し、先にプログラム2の処理を
行って信号処理が終了後、中断していたプログラム1に
よる信号処理を再開するようにする。
On the other hand, in the third embodiment, since the interrupt is permitted even during the processing of the processing program, as shown in FIG.
The interrupt level of the program 2 corresponding to the control signal cnt2 is increased during the signal processing execution by the program 1.
When the interrupt by the cnt22 indicating the is generated, the processing by the program 1 is interrupted, the processing of the program 2 is performed first, and after the signal processing is completed, the interrupted signal processing by the program 1 is restarted.

【0058】以下、図11及び図12のフローチャート
に従って、本実施の形態3における、プロセッサ11の
動作について説明する。まず、制御信号cnt22が入
力されなければ、ステップ810においてリセット信号
等で初期化を行った後、ステップ820にて、OSD処
理を行う。そして、OSD処理を行っている間に、制御
信号cnt22の割り込みが発生すると、OSD処理を
中断し、図11(b)に示す割り込みハンドラへと移行
する。割り込み処理においては、まず、ステップ821
において、処理中のデータを退避させた後、制御信号c
nt22の状態により処理プログラムを選択し、信号処
理を行う。
The operation of the processor 11 in the third embodiment will be described below with reference to the flowcharts of FIGS. 11 and 12. First, if the control signal cnt22 is not input, initialization is performed with a reset signal or the like in step 810, and then OSD processing is performed in step 820. Then, when an interrupt of the control signal cnt22 occurs during the OSD process, the OSD process is interrupted and the process proceeds to the interrupt handler shown in FIG. 11B. In interrupt processing, first, step 821.
, The control signal c is stored after the data being processed is saved.
A processing program is selected according to the state of nt22, and signal processing is performed.

【0059】さらに、図12に示す上記割り込みによる
各プログラム1〜4による処理において、例えば、ステ
ップS8221においてプログラム1による処理実行中
に、cnt2を示すcnt22による割り込みが発生し
た場合、図11(b)の割り込みハンドラに移行する。
そして、ステップ821において、処理中のdata1
を退避させた後、制御信号cnt22の状態をステップ
822〜ステップ825において確認し、この場合制御
信号cnt22の状態によりプログラム2を選択して、
プログラム2による信号処理を行う。この割り込みによ
る処理が終了後、ステップ8222において、ステップ
821で退避させたdata1を復帰させ、プログラム
1による信号処理を再開する。
Further, in the processing by each of the programs 1 to 4 by the interrupt shown in FIG. 12, for example, when the interrupt by the cnt22 indicating the cnt2 occurs during the processing by the program 1 in step S8221, FIG. Move to the interrupt handler of.
Then, in step 821, data1 being processed
After saving, the state of the control signal cnt22 is confirmed in steps 822 to 825. In this case, the program 2 is selected according to the state of the control signal cnt22,
Signal processing by program 2 is performed. After the processing by this interrupt is completed, in step 8222, the data1 saved in step 821 is restored, and the signal processing by the program 1 is restarted.

【0060】これにより、図10(Y)で示した、プロ
グラム1の信号処理中にプログラム2の信号処理を割り
込ませて実行させ、プログラム2による信号処理終了後
にプログラム1による処理を再開して、その信号処理終
了後に、その次に入力されたdata2に対するプログ
ラム2による処理を開始させることが可能となり、前に
入力されたdata2の処理が完了する前に、その次の
data2が入力されてプロセッサ11が誤作動するこ
とによる、出力映像の破綻を回避することができる。
As a result, the signal processing of the program 2 is interrupted and executed during the signal processing of the program 1 shown in FIG. 10 (Y), and after the signal processing by the program 2 is completed, the processing by the program 1 is restarted. After the signal processing is completed, it becomes possible to start the processing by the program 2 for the next input data2, and before the processing of the previously input data2 is completed, the next data2 is input and the processor 11 It is possible to avoid the breakdown of the output image due to the malfunction of.

【0061】以上のように、本実施の形態3によれば、
OSD処理等の他処理実行中だけでなく、割り込みによ
る信号処理の間も、優先度の高い割り込みを許可するよ
うにしたので、外部から入力される複数の非同期の信号
のうちの、あるsync信号系のデータの処理中に、同
じsync信号系のデータが入力されることによるプロ
セッサ11の誤作動を防止し、画像が破綻することを回
避することが可能となる。
As described above, according to the third embodiment,
Since a high-priority interrupt is allowed not only during execution of other processing such as OSD processing but also during signal processing by an interrupt, a certain sync signal among a plurality of asynchronous signals input from the outside. It is possible to prevent malfunction of the processor 11 due to input of data of the same sync signal system during processing of system data, and avoid image corruption.

【0062】[0062]

【発明の効果】以上のことにより、本発明の請求項1に
記載の信号処理装置によれば、外部より複数の各々非同
期で入力される信号を処理する信号処理装置において、
上記複数の各々非同期である信号を各同期信号毎に格納
し、該各同期信号毎に格納されたデータが一定量に達し
た段階で転送要求信号を出力する複数の第1の記憶手段
と、上記複数の第1の記憶手段から各々出力される上記
転送要求信号を予め設定された優先順位に従って調停
し、優先順位の高い転送要求信号を出力した上記第1の
記憶手段に格納された一定量のデータを、その画素位置
がアドレスで管理可能なように格納していく第2の記憶
手段に転送する制御手段と、上記複数の各々非同期であ
る信号の、各同期信号毎に対応した信号処理プログラム
を格納する第3の記憶手段と、上記第2の記憶手段から
データを取り込み、上記第3の記憶手段から該データに
該当する上記信号処理プログラムを読み出して、複数の
演算手段を含む並列演算器で信号処理を行ない、信号処
理後のデータを再び上記第2の記憶手段に出力する信号
処理手段と、上記第2の記憶手段より信号処理後のデー
タを読み込み、外部へ出力する複数の第4の記憶手段
と、を備え、上記転送要求信号を、上記信号処理手段に
おける上記信号処理プログラムの起動信号とするように
したので、複数の非同期のデータをフレームシンクロな
どで同期するようにデータ変換させる処理を行わずと
も、データが揃った同期信号毎に信号処理ができるた
め、信号処理装置の回路削減をすることができる。
As described above, according to the signal processing device of the first aspect of the present invention, in the signal processing device for processing a plurality of asynchronously input signals from the outside,
A plurality of first storage means for storing the plurality of asynchronous signals for each synchronization signal, and outputting a transfer request signal when the data stored for each synchronization signal reaches a certain amount; A fixed amount stored in the first storage means that arbitrates the transfer request signals output from the plurality of first storage means in accordance with a preset priority order and outputs a transfer request signal with a high priority order. Means for transferring the data of (1) to the second storage means for storing the pixel position so that the pixel position can be managed by an address, and signal processing corresponding to each of the plurality of asynchronous signals. Third storage means for storing a program, data is fetched from the second storage means, the signal processing program corresponding to the data is read out from the third storage means, and the parallel processing means includes a plurality of arithmetic means. A signal processing unit that performs signal processing with a calculator and outputs the signal-processed data again to the second storage unit; and a plurality of units that read the signal-processed data from the second storage unit and output the data to the outside. A fourth storage means is provided, and the transfer request signal is used as an activation signal of the signal processing program in the signal processing means, so that a plurality of asynchronous data are synchronized by frame synchronization or the like. Since the signal processing can be performed for each synchronization signal in which data is complete without performing the conversion processing, it is possible to reduce the circuits of the signal processing device.

【0063】また、本発明の請求項2に記載の信号処理
装置によれば、請求項1に記載の信号処理装置におい
て、上記複数の第4の記憶手段は、上記第2の記憶手段
より読み込んだ信号処理後のデータが一定量に達してデ
ータを外部へ出力した段階で上記制御手段に転送要求信
号を出力するものであり、上記制御手段は、上記複数の
第1の記憶手段、及び上記複数の第4の記憶手段から各
々出力される上記転送要求信号を予め設定された優先順
位に従って調停し、上記複数の第4の記憶手段からの転
送要求信号を受信した場合は、上記第2の記憶手段に格
納された上記信号処理済みのデータを上記第4の記憶手
段に転送するものであり、上記複数の第4の記憶手段か
らの転送要求信号も、上記信号処理手段における上記信
号処理プログラムの起動信号とするようにしたので、デ
ータの入力だけでなく出力についても上記制御手段にお
いて制御することができる。
According to a second aspect of the present invention, there is provided the signal processing apparatus according to the first aspect, wherein the plurality of fourth storage means are read from the second storage means. The signal processing device outputs a transfer request signal to the control means when the data after the signal processing reaches a certain amount and outputs the data to the outside, and the control means includes the plurality of first storage means and the plurality of first storage means. When the transfer request signals output from the plurality of fourth storage means are arbitrated according to a preset priority order and the transfer request signals from the plurality of fourth storage means are received, the second transfer request signals are received. The signal-processed data stored in the storage means is transferred to the fourth storage means, and transfer request signals from the plurality of fourth storage means are also processed by the signal processing program in the signal processing means. of Since such a motion signal, it can also be controlled in the control means for the output not only the input data.

【0064】また、本発明の請求項3に記載の信号処理
装置によれば、外部より複数の各々非同期で入力される
信号を処理する信号処理装置において、上記複数の各々
非同期である信号を各同期信号毎に格納し、該各同期信
号毎に格納されたデータが一定量に達すると、上記各同
期信号毎に定義された複数の領域からなる第2の記憶手
段に転送し、割り込み信号を出力する第1の記憶手段
と、上記複数の各々非同期である信号の、各同期信号毎
に対応した信号処理プログラムを格納する第3の記憶手
段と、上記割り込み信号が入力されると、上記第2の記
憶手段の定義された領域からデータを取り込み、上記第
3の記憶手段から該データに該当する上記信号処理プロ
グラムを読み出して、複数の演算手段を含む並列演算器
で信号処理を行ない、信号処理後のデータを上記第2の
記憶手段の定義された領域に出力する信号処理手段と、
上記第2の記憶手段の定義された領域より上記信号処理
後のデータを読み込み、外部へ出力する複数の第4の記
憶手段と、を備え、上記信号処理手段に上記割り込み信
号が入力された時に、あるデータの処理が実行されてい
る場合は、その処理中のデータを待機させ、該割り込み
信号による処理を行うようにしたので、複数の非同期の
データをフレームシンクロなどで同期するようにデータ
変換させる処理を行わずとも、データが揃った同期信号
毎に信号処理を行うことができ、さらに上記複数の第1
の記憶手段、または複数の第4の記憶手段と、上記第2
の記憶手段との間で、データをDAM転送させることが
できる。この結果、信号処理装置をより回路削減するこ
とができる。
According to a third aspect of the present invention, there is provided a signal processing device for processing a plurality of asynchronously input signals from the outside, wherein each of the plurality of asynchronous signals is processed. The data is stored for each sync signal, and when the data stored for each sync signal reaches a certain amount, it is transferred to the second storage means composed of a plurality of areas defined for each sync signal, and the interrupt signal is transferred. When the first storage means for outputting, the third storage means for storing a signal processing program corresponding to each synchronous signal of the plurality of asynchronous signals, and the interrupt signal are input, the third storage means Data is fetched from a defined area of the second storage means, the signal processing program corresponding to the data is read from the third storage means, and signal processing is performed by a parallel arithmetic unit including a plurality of arithmetic means. Signal processing means for outputting the data after the signal processing to the defined area of the second storage means,
A plurality of fourth storage means for reading the data after the signal processing from the defined area of the second storage means and outputting the data to the outside, when the interrupt signal is input to the signal processing means. , When a certain data is being processed, the data being processed is made to wait and the processing by the interrupt signal is performed. Therefore, data conversion is performed so that a plurality of asynchronous data are synchronized by frame synchronization or the like. It is possible to perform signal processing for each synchronization signal in which data is complete, without performing the processing to
Storage means, or a plurality of fourth storage means, and the second storage means.
The data can be DAM-transferred to and from the storage means. As a result, the circuit of the signal processing device can be further reduced.

【0065】また、本発明の請求項4に記載の信号処理
装置によれば、請求項1または請求項3に記載の信号処
理装置において、遅延データを生成する第5の記憶手段
を備え、上記第5の記憶手段へのデータ転送を上記処理
プログラムに含むようにしたので、フィールド遅延など
で必要なデータがない場合でもリアルタイムに信号処理
することが可能となる。
According to a fourth aspect of the present invention, there is provided the signal processing device according to the first or third aspect, further comprising fifth storage means for generating delay data, Since the data transfer to the fifth storage means is included in the processing program, it is possible to perform signal processing in real time even when there is no necessary data due to field delay or the like.

【0066】また、本発明の請求項5に記載の信号処理
方法によれば、外部より入力される複数の各々非同期の
信号を、複数の演算手段を含む並列演算器を用いて処理
する信号処理方法において、複数の各々非同期で入力さ
れるデータを各同期信号毎に格納する格納ステップと、
上記格納ステップにおいて格納された各同期信号毎のデ
ータが、上記並列演算器で演算する際に必要なデータ量
に達すると、各同期信号毎のフラグを生成するフラグ生
成ステップと、上記各同期信号毎のフラグの生成を確認
するフラグ確認ステップと、上記フラグ確認ステップに
おいて、上記各同期信号毎のフラグのうちの少なくとも
一つが確認されると、上記並列演算器によって、該確認
されたフラグのうち予め設定された優先順位の高いフラ
グが示す所定量のデータの信号処理を行う信号処理ステ
ップと、を有し、上記信号処理ステップの後、上記フラ
グ確認ステップへ戻り、ループを形成するようにしたの
で、外部から入力される非同期のデータをフレームシン
クロなどで同期するようにデータ変換を行わなくても、
各同期信号毎にデータが揃った時点で信号処理を行うこ
とが可能となる。
Further, according to the signal processing method of the fifth aspect of the present invention, signal processing for processing a plurality of asynchronous signals input from the outside by using a parallel arithmetic unit including a plurality of arithmetic means. In the method, a step of storing a plurality of asynchronously input data for each synchronous signal,
A flag generation step of generating a flag for each synchronization signal when the data for each synchronization signal stored in the storage step reaches the amount of data required for calculation by the parallel arithmetic unit; If at least one of the flags for each of the synchronization signals is confirmed in the flag confirmation step for confirming the generation of each flag, and the flag confirmation step, the A signal processing step of performing signal processing of a predetermined amount of data indicated by a flag having a high priority set in advance, and after the signal processing step, returns to the flag confirmation step to form a loop. Therefore, even if you do not perform data conversion to synchronize asynchronous data input from the outside with frame synchronization etc.,
It becomes possible to perform signal processing when data is prepared for each synchronization signal.

【0067】また、本発明の請求項6に記載の信号処理
方法によれば、外部より入力される複数の各々非同期の
信号を、複数の演算手段を含む並列演算器を用いて処理
する信号処理方法において、複数の各々非同期で入力さ
れるデータを各同期信号毎に格納する格納ステップと、
上記格納ステップにおいて格納された各同期信号毎のデ
ータが、上記並列演算器で演算する際に必要なデータ量
に達すると、各同期信号毎のフラグを生成するフラグ生
成ステップと、上記フラグ生成ステップにおいて、上記
同期信号毎のフラグが生成されると、該生成されたフラ
グによる割り込みを発生させる割り込み生成ステップ
と、上記割り込み生成ステップにおいて発生した同期信
号毎のフラグを確認するフラグ確認ステップと、上記各
同期信号毎のフラグが確認されると、上記並列演算器に
おいて処理実行中のデータを退避させ、該確認されたフ
ラグが示す所定量のデータの信号処理を行う信号処理ス
テップと、を有し、上記信号処理ステップの後、該信号
処理ステップにおいて退避させたデータの信号処理の実
行に戻るようにしたので、複数の非同期のデータをフレ
ームシンクロなどで同期するようにデータ変換を行わな
くても、各同期信号毎にデータがそろった時点でDMA
転送させ、信号処理を行うことが可能となる。
According to the signal processing method of the sixth aspect of the present invention, signal processing for processing a plurality of asynchronous signals input from the outside by using a parallel arithmetic unit including a plurality of arithmetic means. In the method, a step of storing a plurality of asynchronously input data for each synchronous signal,
A flag generation step of generating a flag for each synchronization signal when the data for each synchronization signal stored in the storage step reaches a data amount necessary for calculation by the parallel arithmetic unit, and the flag generation step In the above, when the flag for each synchronization signal is generated, an interrupt generation step for generating an interrupt by the generated flag; a flag confirmation step for confirming the flag for each synchronization signal generated in the interrupt generation step; When the flag for each synchronization signal is confirmed, a signal processing step of saving the data being processed in the parallel computing unit and performing signal processing of a predetermined amount of data indicated by the confirmed flag is included. After the above signal processing step, the processing is returned to the execution of the signal processing of the data saved in the signal processing step. In, even without data conversion so as to synchronize a plurality of asynchronous data such as a frame sync in, DMA when the data is aligned for each synchronization signal
It becomes possible to transfer and perform signal processing.

【0068】また、本発明の請求項7に記載の信号処理
方法よれば、他の処理を実行中に、外部より入力される
複数の各々非同期の信号を、複数の演算手段を含む並列
演算器を用いて処理する信号処理方法において、複数の
各々非同期で入力されるデータを各同期信号毎に格納す
る格納ステップと、上記格納ステップにおいて格納され
た各同期信号毎のデータが、上記並列演算器で演算する
際に必要なデータ量に達すると、各同期信号毎のフラグ
を生成するフラグ生成ステップと、上記フラグ生成ステ
ップにおいて、上記同期信号が少なくとも一つ生成され
ると、予め設定された優先順位の高いフラグによる割り
込みを発生させる割り込み生成ステップと、上記割り込
みが生成されると、他の割り込みを禁止するとともに、
上記並列演算器により、上記優先順位の高いフラグが示
す所定量のデータの信号処理を行う信号処理ステップ
と、を有し、上記信号処理ステップにおいて信号処理が
終了後、禁止していた他の割り込みを許可し、割り込み
が発生した時点に行っていた上記他の処理の実行に戻る
ようにしたので、外部から入力される複数の非同期であ
る信号のデータが映像信号のようにリアルタイムで信号
処理を行い、データを出力し続ける必要のある場合で
も、OSD処理等の他の処理を行いながら、フレームシ
ンクロなどで同期するようにデータ変換を行わなくても
各同期信号毎にデータが揃った時点で割り込みを発生さ
せて信号処理を行うことが可能となる。
According to the seventh aspect of the signal processing method of the present invention, a parallel arithmetic unit including a plurality of arithmetic units receives a plurality of asynchronous signals input from the outside during execution of other processing. In the signal processing method for processing using the above, a storage step of storing a plurality of asynchronously input data for each synchronization signal, and the data for each synchronization signal stored in the storage step is the parallel arithmetic unit. When a data amount necessary for the calculation is reached, a flag generation step for generating a flag for each synchronization signal, and at least one synchronization signal generated in the flag generation step, a preset priority is set. An interrupt generation step that generates an interrupt with a flag with a high order, and when the above interrupt is generated, other interrupts are prohibited and
A signal processing step of performing signal processing of a predetermined amount of data indicated by the high priority flag by the parallel computing unit, and another interrupt which is prohibited after the signal processing is completed in the signal processing step. Is enabled and the processing is returned to the execution of the other processing that was being performed when the interrupt occurred, so multiple asynchronous data signals input from outside can be processed in real time like a video signal. Even when it is necessary to continue to output the data, the data is collected for each synchronization signal without performing the data conversion so as to synchronize with the frame synchronization while performing other processing such as OSD processing. It is possible to generate an interrupt and perform signal processing.

【0069】また、本発明の請求項8に記載の信号処理
方法によれば、他の処理を実行中に、外部より入力され
る複数の各々非同期の信号を、複数の演算手段を含む並
列演算器を用いて処理する信号処理方法において、複数
の各々非同期で入力されるデータを各同期信号毎に格納
する格納ステップと、上記格納ステップにおいて格納さ
れた各同期信号毎のデータが、上記並列演算器で演算す
る際に必要なデータ量に達すると、各同期信号毎のフラ
グを生成するフラグ生成ステップと、上記フラグ生成ス
テップにおいて、上記同期信号が少なくとも一つ生成さ
れると、予め設定された優先順位の高いフラグによる割
り込みを発生させる割り込み生成ステップと、上記割り
込みが生成されると、その時に実行中のデータを退避さ
せるとともに、上記並列演算器により、上記優先順位の
高いフラグが示す所定量のデータの信号処理を行う信号
処理ステップと、を有し、上記信号処理ステップにおい
て、実行されている信号処理よりさらに優先順位の高い
割り込みが発生した場合には、該信号処理ステップにお
いて実行中の処理を中断してデータを退避させ、上記さ
らに優先順位が高い割り込みによる信号処理を行い、上
記信号処理ステップにおいて信号処理が終了後、割り込
みが発生した時点に行っていた処理の実行に戻るように
したので、外部から入力される複数の非同期である信号
を、各同期信号毎にデータが揃った時点で割り込みを発
生させて信号処理を行う際に生ずる誤作動を防止し、画
像が破綻することを回避することが可能となる。
According to the signal processing method of the eighth aspect of the present invention, during execution of other processing, a plurality of asynchronous signals input from the outside are subjected to parallel operation including a plurality of operation means. In a signal processing method for processing using a signal processing device, a storage step of storing a plurality of asynchronously input data for each synchronization signal, and the data for each synchronization signal stored in the storage step is calculated in parallel. When the amount of data required for arithmetic operation is reached, a flag generation step of generating a flag for each synchronization signal and at least one synchronization signal generated in the flag generation step are set in advance. An interrupt generation step that generates an interrupt with a flag with a high priority, and when the above interrupt is generated, save the data being executed at that time and A signal processing step of performing signal processing of a predetermined amount of data indicated by the flag having a high priority by the parallel arithmetic unit, and the interrupt having a higher priority than the signal processing being executed in the signal processing step. Occurs, the processing being executed in the signal processing step is interrupted to save the data, the signal processing is performed by the interrupt with the higher priority, and the interrupt is performed after the signal processing is completed in the signal processing step. Since the processing is returned to the processing that was being performed at the time of occurrence of, the signal processing is performed by generating an interrupt when a plurality of asynchronous signals input from the outside are ready for each synchronous signal. It is possible to prevent a malfunction that occurs when performing, and to prevent the image from collapsing.

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

【図1】本発明の実施の形態1における、信号処理装置
の構成図である。
FIG. 1 is a configuration diagram of a signal processing device according to a first embodiment of the present invention.

【図2】本発明の実施の形態1における、信号処理装置
の動作を示す波形図である。
FIG. 2 is a waveform diagram showing an operation of the signal processing device according to the first embodiment of the present invention.

【図3】本発明の実施の形態1における、信号処理装置
内のプロセッサの動作を示すフローチャートである。
FIG. 3 is a flowchart showing an operation of a processor in the signal processing device according to the first embodiment of the present invention.

【図4】本発明の実施の形態1における、プロセッサ内
の命令メモリに格納されている各処理プログラムのフロ
ーチャートである。
FIG. 4 is a flowchart of each processing program stored in an instruction memory in the processor according to the first embodiment of the present invention.

【図5】本発明の実施の形態1における、信号処理装置
内のプロセッサの一動作例を示すフローチャートであ
る。
FIG. 5 is a flowchart showing an operation example of the processor in the signal processing device according to the first embodiment of the present invention.

【図6】本発明の実施の形態1における、プロセッサ内
の命令メモリに格納されている各処理プログラムのフロ
ーチャートである。
FIG. 6 is a flowchart of each processing program stored in the instruction memory in the processor according to the first embodiment of the present invention.

【図7】本発明の実施の形態1における、信号処理装置
内のプロセッサの別の動作例を示すフローチャートであ
る。
FIG. 7 is a flowchart showing another operation example of the processor in the signal processing device according to the first embodiment of the present invention.

【図8】本発明の実施の形態2における、信号処理装置
内のプロセッサの動作を示すフローチャートである。
FIG. 8 is a flowchart showing an operation of the processor in the signal processing device according to the second embodiment of the present invention.

【図9】本発明の実施の形態2における、プロセッサ内
の命令メモリに格納されている各処理プログラムのフロ
ーチャートである。
FIG. 9 is a flowchart of each processing program stored in the instruction memory in the processor according to the second embodiment of the present invention.

【図10】本発明の実施の形態3における、信号処理装
置の動作を示す波形図である・
FIG. 10 is a waveform diagram showing the operation of the signal processing device according to the third embodiment of the present invention.

【図11】本発明の実施の形態3における、信号処理装
置内のプロセッサの動作を示すフローチャートである。
FIG. 11 is a flowchart showing an operation of the processor in the signal processing device according to the third embodiment of the present invention.

【図12】本発明の実施の形態3における、プロセッサ
内の命令メモリに格納されている各処理プログラムのフ
ローチャートである。
FIG. 12 is a flowchart of each processing program stored in an instruction memory in the processor according to the third embodiment of the present invention.

【図13】従来における、信号処理装置の構成図であ
る。
FIG. 13 is a block diagram of a conventional signal processing device.

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

1,3,7,9 バッファ制御部 2,4,8,10,18 バッファ 5 メモリ 6 メモリ制御部 11 プロセッサ 12 プログラムカウンタ 13 プログラムカウンタ制御部 14 命令メモリ 15 デコーダ 16 並列演算器 17 レジスタファイル 21 SDRAM 22 SDRAM制御部 30 信号処理用プロセッサ 40 マルチポートメモリ 41 半導体メモリ 50,60 サブプロセッサ 51,61 入力シフトレジスタ 52,62 第1のメモリ 53,63 プロセッサアレイ部 54,64 第2のメモリ 55,65 出力シフトレジスタ 56,66 プログラム制御部 1,3,7,9 buffer controller 2,4,8,10,18 buffer 5 memory 6 Memory controller 11 processors 12 program counter 13 Program counter controller 14 instruction memory 15 decoder 16 Parallel computing unit 17 register file 21 SDRAM 22 SDRAM control unit 30 Signal processing processor 40 multi-port memory 41 Semiconductor memory 50,60 sub-processor 51,61 Input shift register 52,62 First memory 53, 63 Processor array section 54, 64 second memory 55,65 output shift register 56,66 Program control unit

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B045 AA03 BB36 GG11 5B098 BA01 BA12 BA14 CC00 CC08 DD01 5C021 PA72 PA82 PA83 PA87 PA89 SA01 YC03 YC04 YC13 ZA01   ─────────────────────────────────────────────────── ─── Continued front page    F-term (reference) 5B045 AA03 BB36 GG11                 5B098 BA01 BA12 BA14 CC00 CC08                       DD01                 5C021 PA72 PA82 PA83 PA87 PA89                       SA01 YC03 YC04 YC13 ZA01

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 外部より複数の各々非同期で入力される
信号を処理する信号処理装置において、 上記複数の各々非同期である信号を各同期信号毎に格納
し、該各同期信号毎に格納されたデータが一定量に達し
た段階で転送要求信号を出力する複数の第1の記憶手段
と、 上記複数の第1の記憶手段から各々出力される上記転送
要求信号を予め設定された優先順位に従って調停し、優
先順位の高い転送要求信号を出力した上記第1の記憶手
段に格納された一定量のデータを、その画素位置がアド
レスで管理可能なように格納していく第2の記憶手段に
転送する制御手段と、 上記複数の各々非同期である信号の、各同期信号毎に対
応した信号処理プログラムを格納する第3の記憶手段
と、 上記第2の記憶手段からデータを取り込み、上記第3の
記憶手段から該データに該当する上記信号処理プログラ
ムを読み出して、複数の演算手段を含む並列演算器で信
号処理を行ない、信号処理後のデータを再び上記第2の
記憶手段に出力する信号処理手段と、 上記第2の記憶手段より信号処理後のデータを読み込
み、外部へ出力する複数の第4の記憶手段と、を備え、 上記転送要求信号を、上記信号処理手段における上記信
号処理プログラムの起動信号とする、 ことを特徴とする信号処理装置。
1. A signal processing device for processing a plurality of asynchronously input signals from the outside, wherein the plurality of asynchronous signals are stored for each synchronization signal and stored for each synchronization signal. A plurality of first storage means for outputting a transfer request signal when data reaches a certain amount, and the transfer request signals output from the plurality of first storage means are arbitrated according to a preset priority order. Then, the fixed amount of data stored in the first storage means, which has output the transfer request signal having the higher priority, is transferred to the second storage means which stores the pixel position so that the pixel position can be managed by the address. Control means, a third storage means for storing a signal processing program corresponding to each synchronous signal of the plurality of asynchronous signals, and data from the second storage means, and the third storage means. Record A signal processing means for reading the signal processing program corresponding to the data from the means, performing signal processing by a parallel arithmetic unit including a plurality of arithmetic means, and outputting the signal-processed data to the second storage means again. A plurality of fourth storage means for reading the data after the signal processing from the second storage means and outputting the data to the outside, wherein the transfer request signal is a start signal of the signal processing program in the signal processing means. The signal processing device according to the above.
【請求項2】 請求項1に記載の信号処理装置におい
て、 上記第2の記憶手段に格納された信号処理後のデータ
を、上記信号処理手段において後処理した後に外部へ出
力する場合、 上記複数の第4の記憶手段は、上記第2の記憶手段より
読み込んだ信号処理後のデータが一定量に達してデータ
を外部へ出力した段階で上記制御手段に転送要求信号を
出力し、 上記制御手段は、上記複数の第1の記憶手段、及び上記
複数の第4の記憶手段から各々出力される上記転送要求
信号を予め設定された優先順位に従って調停し、上記複
数の第4の記憶手段からの転送要求信号を受信した場合
は、上記第2の記憶手段に格納された上記信号処理済み
のデータを上記第4の記憶手段に転送するものであり、 上記複数の第4の記憶手段からの転送要求信号も、上記
信号処理手段における上記信号処理プログラムの起動信
号とする、 ことを特徴とする信号処理装置。
2. The signal processing apparatus according to claim 1, wherein when the signal-processed data stored in the second storage means is post-processed by the signal processing means and then output to the outside, The fourth storage means outputs a transfer request signal to the control means when the signal-processed data read from the second storage means reaches a certain amount and the data is output to the outside, and the control means Arbitrates the transfer request signals output from the plurality of first storage means and the plurality of fourth storage means, respectively, according to a preset priority order, and transfers the transfer request signals from the plurality of fourth storage means. When the transfer request signal is received, the signal-processed data stored in the second storage means is transferred to the fourth storage means, and the data is transferred from the plurality of fourth storage means. Request signal The activation signal of the signal processing program in the signal processing means, the signal processing apparatus characterized by.
【請求項3】 外部より複数の各々非同期で入力される
信号を処理する信号処理装置において、 上記複数の各々非同期である信号を各同期信号毎に格納
し、該各同期信号毎に格納されたデータが一定量に達す
ると、上記各同期信号毎に定義された複数の領域からな
る第2の記憶手段に転送し、割り込み信号を出力する第
1の記憶手段と、 上記複数の各々非同期である信号の、各同期信号毎に対
応した信号処理プログラムを格納する第3の記憶手段
と、 上記割り込み信号が入力されると、上記第2の記憶手段
の定義された領域からデータを取り込み、上記第3の記
憶手段から該データに該当する上記信号処理プログラム
を読み出して、複数の演算手段を含む並列演算器で信号
処理を行ない、信号処理後のデータを上記第2の記憶手
段の定義された領域に出力する信号処理手段と、 上記第2の記憶手段の定義された領域より上記信号処理
後のデータを読み込み、外部へ出力する複数の第4の記
憶手段と、を備え、 上記信号処理手段に上記割り込み信号が入力された時
に、あるデータの処理が実行されている場合は、その処
理中のデータを待機させ、該割り込み信号による処理を
行う、 ことを特徴とする信号処理装置。
3. A signal processing device for processing a plurality of asynchronously input signals from the outside, wherein the plurality of asynchronous signals are stored for each synchronization signal and stored for each synchronization signal. When the data reaches a certain amount, the data is transferred to the second storage means composed of a plurality of areas defined for each of the synchronization signals, and the first storage means for outputting an interrupt signal, and the plurality of each of them are asynchronous. Third storage means for storing a signal processing program corresponding to each synchronization signal of the signal, and, when the interrupt signal is input, fetches data from a defined area of the second storage means, The signal processing program corresponding to the data is read from the storage means of No. 3 and signal processing is performed by a parallel arithmetic unit including a plurality of arithmetic means, and the data after the signal processing is defined in the second storage means. Signal processing means for outputting the signal processed area from the defined area of the second memory means and a plurality of fourth memory means for reading the data after the signal processing from the defined area of the second memory means and outputting the data to the outside. A signal processing apparatus, characterized in that, when processing of certain data is being executed when the interrupt signal is input to the means, the data being processed is made to wait and processing by the interrupt signal is performed.
【請求項4】 請求項1または請求項3に記載の信号処
理装置において、 遅延データを生成する第5の記憶手段を備え、 上記第5の記憶手段へのデータ転送を上記処理プログラ
ムに含む、ことを特徴とする信号処理装置。
4. The signal processing apparatus according to claim 1 or 3, further comprising: fifth storage means for generating delay data, wherein the processing program includes data transfer to the fifth storage means. A signal processing device characterized by the above.
【請求項5】 外部より入力される複数の各々非同期の
信号を、複数の演算手段を含む並列演算器を用いて処理
する信号処理方法において、 複数の各々非同期で入力されるデータを各同期信号毎に
格納する格納ステップと、 上記格納ステップにおいて格納された各同期信号毎のデ
ータが、上記並列演算器で演算する際に必要なデータ量
に達すると、各同期信号毎のフラグを生成するフラグ生
成ステップと、 上記各同期信号毎のフラグの生成を確認するフラグ確認
ステップと、 上記フラグ確認ステップにおいて、上記各同期信号毎の
フラグのうちの少なくとも一つが確認されると、上記並
列演算器によって、該確認されたフラグのうち予め設定
された優先順位の高いフラグが示す所定量のデータの信
号処理を行う信号処理ステップと、を有し、 上記信号処理ステップの後、上記フラグ確認ステップへ
戻り、ループを形成する、 ことを特徴とする信号処理方法。
5. A signal processing method for processing a plurality of asynchronous signals input from the outside using a parallel arithmetic unit including a plurality of arithmetic means, wherein a plurality of asynchronously input data are synchronized signals. A storage step of storing each of the synchronization signals, and a flag for generating a flag of each of the synchronization signals when the data of each of the synchronization signals stored in the storage step reaches the amount of data required for calculation by the parallel arithmetic unit In the generation step, in the flag confirmation step for confirming the generation of the flag for each of the synchronization signals, and in the flag confirmation step, if at least one of the flags for each of the synchronization signals is confirmed, the parallel computing unit A signal processing step of performing signal processing of a predetermined amount of data indicated by a flag having a high priority set in advance among the confirmed flags. After the signal processing step, returns to the flag confirmation step, the signal processing method of forming a loop, characterized in that.
【請求項6】 外部より入力される複数の各々非同期の
信号を、複数の演算手段を含む並列演算器を用いて処理
する信号処理方法において、 複数の各々非同期で入力されるデータを各同期信号毎に
格納する格納ステップと、 上記格納ステップにおいて格納された各同期信号毎のデ
ータが、上記並列演算器で演算する際に必要なデータ量
に達すると、各同期信号毎のフラグを生成するフラグ生
成ステップと、 上記フラグ生成ステップにおいて、上記同期信号毎のフ
ラグが生成されると、該生成されたフラグによる割り込
みを発生させる割り込み生成ステップと、 上記割り込み生成ステップにおいて発生した同期信号毎
のフラグを確認するフラグ確認ステップと、 上記各同期信号毎のフラグが確認されると、上記並列演
算器において処理実行中のデータを退避させ、該確認さ
れたフラグが示す所定量のデータの信号処理を行う信号
処理ステップと、を有し、 上記信号処理ステップの後、該信号処理ステップにおい
て退避させたデータの信号処理の実行に戻る、 ことを特徴とする信号処理方法。
6. A signal processing method for processing a plurality of asynchronous signals input from the outside using a parallel arithmetic unit including a plurality of arithmetic means, wherein a plurality of asynchronously input data are synchronized signals. A storage step of storing each of the synchronization signals, and a flag for generating a flag of each of the synchronization signals when the data of each of the synchronization signals stored in the storage step reaches the amount of data required for calculation by the parallel arithmetic unit In the generating step and in the flag generating step, when a flag for each of the synchronization signals is generated, an interrupt generation step for generating an interrupt by the generated flag, and a flag for each synchronization signal generated in the interrupt generation step are When the flag confirmation step to confirm and the flag for each of the above synchronization signals are confirmed, processing is being executed in the parallel computing unit. A signal processing step of saving data, and performing a signal processing of a predetermined amount of data indicated by the confirmed flag, the signal processing of the data saved in the signal processing step after the signal processing step. Returning to execution, a signal processing method characterized by the above.
【請求項7】 他の処理を実行中に、外部より入力され
る複数の各々非同期の信号を、複数の演算手段を含む並
列演算器を用いて処理する信号処理方法において、 複数の各々非同期で入力されるデータを各同期信号毎に
格納する格納ステップと、 上記格納ステップにおいて格納された各同期信号毎のデ
ータが、上記並列演算器で演算する際に必要なデータ量
に達すると、各同期信号毎のフラグを生成するフラグ生
成ステップと、 上記フラグ生成ステップにおいて、上記同期信号毎のフ
ラグが少なくとも一つ生成されると、該生成されたフラ
グの中で予め設定された優先順位の高いフラグによる割
り込みを発生させる割り込み生成ステップと、 上記割り込みが生成されると、他の割り込みを禁止する
とともに、上記並列演算器により、上記優先順位の高い
フラグが示す所定量のデータの信号処理を行う信号処理
ステップと、を有し、 上記信号処理ステップにおいて信号処理が終了後、禁止
していた他の割り込みを許可し、割り込みが発生した時
点に行っていた上記他の処理の実行に戻る、 ことを特徴とする信号処理方法。
7. A signal processing method for processing a plurality of asynchronous signals input from the outside by using a parallel arithmetic unit including a plurality of arithmetic means during execution of other processing, wherein the plurality of asynchronous signals are asynchronously processed. When the storage step of storing the input data for each synchronization signal and the data for each synchronization signal stored in the storage step reaches the data amount necessary for the calculation by the parallel arithmetic unit, the synchronization is performed. A flag generation step for generating a flag for each signal, and at least one flag for each synchronization signal is generated in the flag generation step, and a flag having a high priority set in advance among the generated flags. Interrupt generation step for generating an interrupt by the above, and when the above interrupt is generated, other interrupts are prohibited, A signal processing step of performing signal processing of a predetermined amount of data indicated by a flag with a high order, and after the signal processing is completed in the above signal processing step, another interrupt that has been prohibited is enabled and an interrupt occurs. A signal processing method characterized by returning to the execution of the above-mentioned other processing that was being performed at the time point.
【請求項8】 他の処理を実行中に、外部より入力され
る複数の各々非同期の信号を、複数の演算手段を含む並
列演算器を用いて処理する信号処理方法において、 複数の各々非同期で入力されるデータを各同期信号毎に
格納する格納ステップと、 上記格納ステップにおいて格納された各同期信号毎のデ
ータが、上記並列演算器で演算する際に必要なデータ量
に達すると、各同期信号毎のフラグを生成するフラグ生
成ステップと、 上記フラグ生成ステップにおいて、上記同期信号が少な
くとも一つ生成されると、予め設定された優先順位の高
いフラグによる割り込みを発生させる割り込み生成ステ
ップと、 上記割り込みが生成されると、その時に実行中のデータ
を退避させるとともに、上記並列演算器により、上記優
先順位の高いフラグが示す所定量のデータの信号処理を
行う信号処理ステップと、を有し、 上記信号処理ステップにおいて、実行されている信号処
理よりさらに優先順位の高い割り込みが発生した場合に
は、該信号処理ステップにおいて実行中の処理を中断し
てデータを退避させ、上記さらに優先順位が高い割り込
みによる信号処理を行い、 上記信号処理ステップにおいて信号処理が終了後、割り
込みが発生した時点に行っていた処理の実行に戻る、 ことを特徴とする信号処理方法。
8. A signal processing method for processing a plurality of asynchronous signals input from the outside by using a parallel arithmetic unit including a plurality of arithmetic means while executing another process, wherein the plurality of asynchronous signals are asynchronously processed. The storing step of storing the input data for each synchronization signal, and the synchronization for each synchronization signal when the data stored for each synchronization signal in the storage step reaches the data amount required for calculation by the parallel arithmetic unit A flag generating step of generating a flag for each signal; and an interrupt generating step of generating an interrupt by a preset high priority flag when at least one of the synchronization signals is generated in the flag generating step, When an interrupt is generated, the data being executed at that time is saved, and the parallel computing unit indicates the flag with the higher priority. A signal processing step of performing signal processing of a predetermined amount of data, and when an interrupt with a higher priority than the signal processing being executed occurs in the signal processing step, the signal processing step is executed in the signal processing step. Interrupt the internal processing to save the data, perform the signal processing by the interrupt with higher priority, and after the signal processing in the above signal processing step is completed, return to the execution of the processing performed at the time of the interrupt A signal processing method characterized by the following.
JP2001212473A 2001-07-12 2001-07-12 Signal processing device and signal processing method Pending JP2003029979A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001212473A JP2003029979A (en) 2001-07-12 2001-07-12 Signal processing device and signal processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001212473A JP2003029979A (en) 2001-07-12 2001-07-12 Signal processing device and signal processing method

Publications (1)

Publication Number Publication Date
JP2003029979A true JP2003029979A (en) 2003-01-31

Family

ID=19047628

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001212473A Pending JP2003029979A (en) 2001-07-12 2001-07-12 Signal processing device and signal processing method

Country Status (1)

Country Link
JP (1) JP2003029979A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010108284A (en) * 2008-10-30 2010-05-13 Toshiba Corp Image processing processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010108284A (en) * 2008-10-30 2010-05-13 Toshiba Corp Image processing processor

Similar Documents

Publication Publication Date Title
KR100733943B1 (en) Processor system, dma control circuit, dma control method, control method for dma controller, graphic processing method, and graphic processing circuit
US20070294514A1 (en) Picture Processing Engine and Picture Processing System
JP5431003B2 (en) Reconfigurable circuit and reconfigurable circuit system
JP2007041781A (en) Reconfigurable integrated circuit device
US20110264853A1 (en) Signal control device and signal control method
JP2003114825A (en) Memory control method, memory control circuit using the control method, and integrated circuit incorporating the memory control circuit
JP4569934B2 (en) Information processing apparatus, exception control circuit, and exception control method
JP5121671B2 (en) Image processor
JP2001067060A (en) Synchronous conversion device and method, and recording medium
JP2002328837A (en) Memory controller
JP2003029979A (en) Signal processing device and signal processing method
JP2008172410A (en) IMAGING DEVICE, IMAGE PROCESSING DEVICE, IMAGE PROCESSING METHOD, PROGRAM FOR IMAGE PROCESSING METHOD, AND RECORDING MEDIUM CONTAINING PROGRAM FOR IMAGE PROCESSING METHOD
US20080022142A1 (en) Multiprocessor System, Synchronization Control Apparatus and Synchronization Control Method
JP4112813B2 (en) Bus system and command transmission method thereof
CN111381887B (en) Method and device for performing image motion compensation in MVP processor and processor
JP5630798B1 (en) Processor and method
JP5583563B2 (en) Data processing device
JP2011034214A (en) Memory controller
JP2906792B2 (en) Digital processor and control method thereof
US7606996B2 (en) Array type operation device
JP7310536B2 (en) Image processing device, image processing method and program
US20230409323A1 (en) Signal processing apparatus and non-transitory computer-readable storage medium
JP2000010856A (en) Memory controller
JP3509658B2 (en) Operation mode switching circuit and method
JP2504263B2 (en) Data processing device