JP2001092778A - Digital signal processor - Google Patents

Digital signal processor

Info

Publication number
JP2001092778A
JP2001092778A JP26554499A JP26554499A JP2001092778A JP 2001092778 A JP2001092778 A JP 2001092778A JP 26554499 A JP26554499 A JP 26554499A JP 26554499 A JP26554499 A JP 26554499A JP 2001092778 A JP2001092778 A JP 2001092778A
Authority
JP
Japan
Prior art keywords
buffer memory
processor
data
input
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
JP26554499A
Other languages
Japanese (ja)
Inventor
Shigeo Yoshie
重雄 吉江
Akiyoshi Nakada
明芳 中田
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP26554499A priority Critical patent/JP2001092778A/en
Publication of JP2001092778A publication Critical patent/JP2001092778A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To execute processing by a processor during data input/output. SOLUTION: A processor 111 fetches the data from an input buffer memory 112, performs an arithmetic processing by a specified program and outputs the resultant data to an output buffer memory 113. Both of the input buffer memory 112 and the output buffer memory 113 have a double-buffer structure, each of them has areas A, B and holds input/output data for the processor 111. Reading, writing of the input buffer memory 112 and output buffer memory 113 are controlled by a DMA 114 according to the processing state of the processor 111 and the data input/output is performed even during the arithmetic processing of the processor 111.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、デジタル信号の高
速処理を行うデジタル信号処理装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a digital signal processing device for performing high-speed processing of a digital signal.

【0002】[0002]

【従来の技術】従来より、デジタル信号の高速処理には
DSP(デジタル・シグナル・プロセッサ)が利用され
ている。DSPは、デジタル信号処理専用の1チップ・
マイクロプロセッサで、所定の演算の繰り返しを高速処
理する回路を持っている。
2. Description of the Related Art Conventionally, a DSP (Digital Signal Processor) has been used for high-speed processing of digital signals. The DSP is a one-chip dedicated to digital signal processing.
The microprocessor has a circuit that performs high-speed processing of a predetermined calculation repetition.

【0003】しかしながら、従来のDSPは、バッファ
メモリを1個しか持たないため、データ入力中あるいは
データ出力中に処理を実行することができず、図3に示
すように、1処理単位の中でデータ入力、処理、データ
出力を順次実行している。このため、データ入力中、デ
ータ出力中でも処理を実行できるようにして1処理単位
時間を短縮化することが望まれている。
However, since the conventional DSP has only one buffer memory, it cannot execute processing during data input or data output, and as shown in FIG. Data input, processing, and data output are performed sequentially. For this reason, it is desired that the processing can be executed even during data input and data output so as to shorten one processing unit time.

【0004】[0004]

【発明が解決しようとする課題】以上述べたように従来
のDSPによるデジタル信号処理装置では、1処理単位
の中でデータ入力、処理、データ出力を順次実行してお
り、データの入出力中に処理を実行できるようにし、1
処理単位時間の短縮化が望まれている。
As described above, in a conventional digital signal processing apparatus using a DSP, data input, processing, and data output are sequentially performed in one processing unit, and data input / output is performed during data input / output. So that processing can be performed,
It is desired to reduce the processing unit time.

【0005】本発明は上記の課題を解決するためになさ
れたもので、データの入出力中にプロセッサが処理を実
行でき、これによって1処理単位時間の短縮化が可能な
デジタル信号処理装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and provides a digital signal processing apparatus in which a processor can execute processing during data input / output, thereby shortening one processing unit time. The purpose is to do.

【0006】[0006]

【課題を解決するための手段】本発明に係るデジタル信
号処理装置は、上記目的を達成するため、それぞれ読み
出しと書き込みが交互に切り換え可能な第1及び第2の
領域を有する入力バッファメモリ及び出力バッファメモ
リと、前記入力バッファメモリの読み出し側領域からデ
ータを読み出して演算処理し、その処理結果を前記出力
バッファメモリの書き込み側領域に書き込むプロセッサ
と、前記プロセッサの処理状況に応じて前記入力バッフ
ァメモリ及び出力バッファメモリの読み出し、書き込み
を領域毎に制御するメモリ制御回路とを具備し、前記プ
ロセッサの演算処理中に前記入力バッファメモリの書き
込み側領域に入力データを書き込み、前記出力バッファ
メモリの読み出し側領域からデータを読み出し出力する
ことを特徴とする。
In order to achieve the above object, a digital signal processing apparatus according to the present invention has an input buffer memory having first and second areas each of which can alternately switch between reading and writing, and an output buffer memory. A buffer memory, a processor that reads data from a read-side area of the input buffer memory, performs arithmetic processing, and writes a result of the processing to a write-side area of the output buffer memory, and the input buffer memory according to a processing state of the processor. And a memory control circuit that controls reading and writing of the output buffer memory for each area, and writes input data to a writing side area of the input buffer memory during arithmetic processing of the processor. Reading and outputting data from an area

【0007】前記プロセッサ、入力バッファメモリ、出
力バッファメモリ、メモリ制御回路は、1チップで構成
されることを特徴とする。
[0007] The processor, the input buffer memory, the output buffer memory, and the memory control circuit are formed on one chip.

【0008】[0008]

【発明の実施の形態】以下、図1及び図2を参照して、
本発明の実施の形態を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring to FIGS. 1 and 2,
An embodiment of the present invention will be described in detail.

【0009】図1は本発明に係るDSPによるデジタル
信号処理装置の構成を示すブロック図である。図1にお
いて、符号11はDSPであり、このDSP11はプロ
セッサ111、入力バッファメモリ112、出力バッフ
ァメモリ113、DMA(ダイナミック・メモリ・アク
セス)回路114で構成される。プロセッサ111は入
力バッファメモリ112からデータを取り込んで所定の
プログラムで演算処理し、出力バッファメモリ113に
出力する。入力バッファメモリ112、出力バッファメ
モリ113は、いずれもダブルバッファ構成であり、そ
れぞれ領域A、Bを有し、プロセッサ111に対する入
出力データを保持する。DMA114は、入力バッファ
メモリ112、出力バッファメモリ113の読み出し、
書き込みをプロセッサ111の処理状況に応じて制御す
るものである。
FIG. 1 is a block diagram showing the configuration of a digital signal processing device using a DSP according to the present invention. In FIG. 1, reference numeral 11 denotes a DSP, which comprises a processor 111, an input buffer memory 112, an output buffer memory 113, and a DMA (Dynamic Memory Access) circuit 114. The processor 111 takes in data from the input buffer memory 112, performs arithmetic processing with a predetermined program, and outputs it to the output buffer memory 113. Each of the input buffer memory 112 and the output buffer memory 113 has a double buffer configuration, has areas A and B, respectively, and holds input / output data for the processor 111. The DMA 114 reads the input buffer memory 112 and the output buffer memory 113,
The writing is controlled in accordance with the processing status of the processor 111.

【0010】上記構成において、以下に本発明の特徴と
する処理動作について、図2に示す各部の処理タイムチ
ャートを参照して説明する。
In the above configuration, a processing operation which is a feature of the present invention will be described below with reference to a processing time chart of each unit shown in FIG.

【0011】まず、初期状態において、プロセッサ11
1に対してデータ処理要求があると、プロセッサ111
からDMA114にデータ入力要求が出される。このと
き、DMA114は入力バッファメモリ112の領域A
を書き込み状態とする。これにより、外部から送られて
くるデータD0が入力バッファメモリ112の領域Aに
書き込まれる。DMA114は、入力バッファメモリ1
12の領域AにデータD0が書き込まれた時点で入力デ
ータ取り込み完了をプロセッサ111に通知し、入力バ
ッファメモリ112の領域Aを読み出し状態、領域Bを
書き込み状態とすると共に、出力バッファメモリ113
の領域Aを書き込み状態とする。
First, in the initial state, the processor 11
When a data processing request is issued to the processor 111, the processor 111
Issues a data input request to the DMA 114. At this time, the DMA 114 is stored in the area A of the input buffer memory 112.
Is written. As a result, the data D0 sent from the outside is written in the area A of the input buffer memory 112. DMA 114 is the input buffer memory 1
At the time when the data D0 is written to the area A of No. 12, the processor 111 notifies the processor 111 of the completion of the input data capture, and sets the area A of the input buffer memory 112 to the read state, the area B to the write state, and the output buffer memory 113.
Area A is in a write state.

【0012】プロセッサ111は、DMA114からの
入力データ取り込み完了通知を受けると、入力バッファ
メモリ112の領域AからデータD0を読み出して所定
の演算処理を行い、その処理結果を出力バッファメモリ
113の領域Aに書き込んでいく。このとき、入力バッ
ファメモリ112の領域Bには、次に演算処理するデー
タD1が書き込まれる。
When the processor 111 receives the input data fetch completion notification from the DMA 114, the processor 111 reads the data D0 from the area A of the input buffer memory 112, performs a predetermined arithmetic operation, and outputs the processing result to the area A of the output buffer memory 113. Write to. At this time, data D1 to be subjected to next arithmetic processing is written to the area B of the input buffer memory 112.

【0013】プロセッサ111は、入力バッファメモリ
112の領域Aに書き込まれたデータD0の処理が終了
すると、データ処理完了通知をDMA114に送出す
る。DMA114は、このデータ処理完了通知を受ける
と、入力バッファメモリ112の領域Bを読み出し状
態、領域Aを書き込み状態に切り換えると共に、出力バ
ッファメモリ113の領域Aを読み出し状態、領域Bを
書き込み状態に切り換えて、領域切換完了をプロセッサ
111に通知する。
When the processing of the data D0 written in the area A of the input buffer memory 112 is completed, the processor 111 sends a data processing completion notification to the DMA 114. Upon receiving the data processing completion notification, the DMA 114 switches the area B of the input buffer memory 112 to the read state and the area A to the write state, and switches the area A of the output buffer memory 113 to the read state and the area B to the write state. Then, the completion of the area switching is notified to the processor 111.

【0014】プロセッサ111は、DMA114から領
域切換完了通知を受けると、入力バッファメモリ112
の領域BからデータD1を読み出して所定の演算処理を
行い、その処理結果を出力バッファメモリ113の領域
Bに書き込んでいく。この間、入力バッファメモリ11
2の領域Aに次に演算処理するデータD2が書き込ま
れ、出力バッファメモリ113の領域Aから処理データ
が読み出し出力される。以後、同様の処理が繰り返し行
われ、プロセッサ111はデータの入出力を待つことな
く、継続して演算処理を実行する。
When the processor 111 receives the area switching completion notification from the DMA 114, the processor 111
The data D1 is read out from the area B, a predetermined arithmetic processing is performed, and the processing result is written to the area B of the output buffer memory 113. During this time, the input buffer memory 11
Then, data D2 to be subjected to the next arithmetic processing is written in the area A of No. 2 and the processed data is read out and output from the area A of the output buffer memory 113. Thereafter, the same processing is repeatedly performed, and the processor 111 continuously executes the arithmetic processing without waiting for input / output of data.

【0015】したがって、上記構成によるデジタル信号
処理装置は、ダブルバッファによる入力バッファメモリ
112、出力バッファメモリ113をDMA114によ
ってプロセッサ111の処理に合わせて制御しているの
で、プロセッサ111の演算処理中でもデータの入出力
が可能となり、これによってプロセッサ111に演算処
理を継続して実行させることができ、1処理の単位時間
を短縮することができる。
Therefore, in the digital signal processing device having the above configuration, the input buffer memory 112 and the output buffer memory 113 using a double buffer are controlled by the DMA 114 in accordance with the processing of the processor 111. Input and output become possible, whereby the processor 111 can continuously execute arithmetic processing, and the unit time of one processing can be reduced.

【0016】[0016]

【発明の効果】以上のように本発明によれば、データの
入出力中にプロセッサが処理を実行でき、これによって
1処理単位時間の短縮化が可能なデジタル信号処理装置
を提供することができる。
As described above, according to the present invention, it is possible to provide a digital signal processing apparatus in which a processor can execute processing while data is being input / output, thereby shortening one processing unit time. .

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

【図1】本発明の実施の形態に係るDSPによるデジタ
ル信号処理装置の構成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of a digital signal processing device using a DSP according to an embodiment of the present invention.

【図2】同実施形態の各部の処理期間を示すタイムチャ
ート。
FIG. 2 is a time chart showing a processing period of each unit in the embodiment.

【図3】従来のDSPによるデジタル信号処理装置の各
部の処理期間を示すタイムチャート。
FIG. 3 is a time chart showing a processing period of each unit of a digital signal processing device using a conventional DSP.

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

11…DSP 111…プロセッサ 112…入力バッファメモリ 113…出力バッファメモリ 114…DMA 11 DSP 111 Processor 112 Input buffer memory 113 Output buffer memory 114 DMA

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】それぞれ読み出しと書き込みが交互に切り
換え可能な第1及び第2の領域を有する入力バッファメ
モリ及び出力バッファメモリと、 前記入力バッファメモリの読み出し側領域からデータを
読み出して演算処理し、その処理結果を前記出力バッフ
ァメモリの書き込み側領域に書き込むプロセッサと、 前記プロセッサの処理状況に応じて前記入力バッファメ
モリ及び出力バッファメモリの読み出し、書き込みを領
域毎に制御するメモリ制御回路とを具備し、前記プロセ
ッサの演算処理中に前記入力バッファメモリの書き込み
側領域に入力データを書き込み、前記出力バッファメモ
リの読み出し側領域からデータを読み出し出力すること
を特徴とするデジタル信号処理装置。
1. An input buffer memory and an output buffer memory having first and second areas each of which can alternately switch between reading and writing, reading data from a reading side area of the input buffer memory, and performing arithmetic processing; A processor that writes the processing result to a write-side area of the output buffer memory; and a memory control circuit that controls reading and writing of the input buffer memory and the output buffer memory for each area according to the processing status of the processor. A digital signal processing device for writing input data to a write-side area of the input buffer memory during arithmetic processing of the processor, and reading and outputting data from a read-side area of the output buffer memory.
【請求項2】前記プロセッサ、入力バッファメモリ、出
力バッファメモリ、メモリ制御回路は、1チップで構成
されることを特徴とするデジタル信号処理装置。
2. The digital signal processing device according to claim 1, wherein said processor, input buffer memory, output buffer memory, and memory control circuit are formed on one chip.
JP26554499A 1999-09-20 1999-09-20 Digital signal processor Pending JP2001092778A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26554499A JP2001092778A (en) 1999-09-20 1999-09-20 Digital signal processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26554499A JP2001092778A (en) 1999-09-20 1999-09-20 Digital signal processor

Publications (1)

Publication Number Publication Date
JP2001092778A true JP2001092778A (en) 2001-04-06

Family

ID=17418603

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26554499A Pending JP2001092778A (en) 1999-09-20 1999-09-20 Digital signal processor

Country Status (1)

Country Link
JP (1) JP2001092778A (en)

Similar Documents

Publication Publication Date Title
JP2001092778A (en) Digital signal processor
JP2003050776A (en) Data input/output device, memory system, data input/ output circuit and data input/output method
JP2775744B2 (en) Digital audible sound generator
JPH06202894A (en) Shared memory control circuit
JP2821176B2 (en) Information processing device
JPH11306074A (en) Information processor
JP2884620B2 (en) Digital image processing device
JPH0644193A (en) I/o register access system
JPH0267665A (en) Interface circuit
JPH0927042A (en) Graphic processor
JPH03250328A (en) Information processor
JPS61156089A (en) Display unit
JPH0325539A (en) Storage device
JPH08287001A (en) Display circuit
JPH0535406A (en) Magnetic disk controller
JPS6316329A (en) Data sending circuit for arithmetic unit
JPH03129532A (en) Microsequence circuit
JPH0756758A (en) Data processor
JPH04333938A (en) Image storage device
JPH0520165A (en) System bus controller
JP2000148574A (en) Device and method for register control
JPH0628301A (en) Direct memory access circuit
JPH02257344A (en) Cache memory and main memory control circuit
JPH01234925A (en) Ic card reader/writer
JPS6280754A (en) Memory access controller