JP3063433B2 - Microprocessor - Google Patents

Microprocessor

Info

Publication number
JP3063433B2
JP3063433B2 JP29942192A JP29942192A JP3063433B2 JP 3063433 B2 JP3063433 B2 JP 3063433B2 JP 29942192 A JP29942192 A JP 29942192A JP 29942192 A JP29942192 A JP 29942192A JP 3063433 B2 JP3063433 B2 JP 3063433B2
Authority
JP
Japan
Prior art keywords
data
memory
value
microprocessor
frame
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.)
Expired - Fee Related
Application number
JP29942192A
Other languages
Japanese (ja)
Other versions
JPH06152546A (en
Inventor
文子 藤家
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP29942192A priority Critical patent/JP3063433B2/en
Publication of JPH06152546A publication Critical patent/JPH06152546A/en
Application granted granted Critical
Publication of JP3063433B2 publication Critical patent/JP3063433B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明はマイクロプロセッサに関
し、特にシリアルで出力するデータを送信するためのデ
ータ出力回路を有するマイクロプロセッサに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microprocessor, and more particularly to a microprocessor having a data output circuit for transmitting serially output data.

【0002】[0002]

【従来の技術】近年のLSI関連技術の進歩にはめざま
しいものがあり、マイクロプロセッサ特にディジタル信
号処理プロセッサ(以下、DSPと称す)の高速化およ
び高性能化は音声圧縮技術の進歩をもたらした。初期の
音声圧縮技術は、波形符号化で代表されるように、サン
プリングされたひとつの音声データに対してひとつの符
号を出力する方式が主流であった。
2. Description of the Related Art In recent years, there has been remarkable progress in LSI-related technology, and higher speed and higher performance of microprocessors, especially digital signal processors (hereinafter referred to as DSPs), have led to advances in voice compression technology. In the early days of the audio compression technology, as represented by waveform encoding, a method of outputting one code for one sampled audio data was mainly used.

【0003】このような方式の復号処理を行う場合、1
サンプリング周期の間にひとつの符号データに対する復
号処理を行わなければならない。つまり、入力された符
号データの復号処理を1サンプリング周期以内の期間で
終える事と、復号した音声データの出力を、前のサンプ
リング周期に復号した音声データの出力が終わるまで待
つ事とのふたつの機能を必要とする。一般に、サンプリ
ング周波数はマイクロプロセッサのマシンサイクルに較
べて非常に遅いため、復号化した音声データはシリアル
データとして出力される。従来のDSPのシリアルデー
タ出力回路は、図3に示すような構成をとっており、こ
ういった処理を行うために非常に都合がよかった。
[0003] When performing such a decoding process, 1
A decoding process for one code data must be performed during the sampling period. That is, the decoding of the input code data is completed within a period of one sampling cycle, and the output of the decoded audio data is waited until the output of the decoded audio data in the previous sampling cycle is completed. Need function. In general, the sampling frequency is very slow as compared to the machine cycle of the microprocessor, so that the decoded audio data is output as serial data. The serial data output circuit of the conventional DSP has a configuration as shown in FIG. 3, and it is very convenient to perform such processing.

【0004】従来のマイクロプロセッサのシリアルデー
タ出力回路は、図3に示すように、データバス21を介
して受け取った音声データを保持するレジスタ22と、
このレジスタ22から受け取ったパラレルデータをシリ
アルデータ24に変換して、外部に接続されているD/
A変換器とのインターフェース回路から供給されるシフ
トクロックやストローブ等のシリアル出力制御信号23
に応じてシリアルデータ24を出力し、シフト回路内が
空になったことを知らせるack信号25を出力するシ
フト回路26を有している。
As shown in FIG. 3, a conventional serial data output circuit of a microprocessor includes a register 22 for holding audio data received via a data bus 21;
The parallel data received from the register 22 is converted into serial data 24, and the externally connected D /
Serial output control signal 23 such as shift clock and strobe supplied from the interface circuit with the A converter
Outputs serial data 24 in accordance with, the shift circuit has a shift circuit 26 which outputs an ack signal 25 indicating that empty.

【0005】前にも述べたように、符号化された音声デ
ータを復号する場合、音声データの出力タイミングを合
わせるために、復号のアルゴリズムを実行するプログラ
ムはack信号25に同期して動きだし、1サンプリン
グ期間以内に処理を終えて次のack信号の入力を待っ
て音声データを出力する。こういった処理を実現するた
めに、図3のシリアルデータ出力回路は適した構成であ
る。
As described above, when decoding coded audio data, a program for executing a decoding algorithm starts in synchronization with the ack signal 25 in order to adjust the output timing of the audio data. The processing is completed within the sampling period, and the audio data is output after the input of the next ack signal. In order to realize such processing, the serial data output circuit of FIG. 3 has a suitable configuration.

【0006】ところが、最近注目を集めている圧縮率の
非常に高い音声符号化方式は、サンプリング周波数より
も低いビットレートまで音声情報を圧縮する。このた
め、符号化単位をフレームと呼ばれるデータ群(通常2
0msec,160サンプルで1フレームを構成する)
とし、1フレーム分の符号データをひとまとめにして復
号する。実際には、1フレーム分の符号化された音声デ
ータを復号化する処理と、蓄えた1フレーム分の音声デ
ータをサンプリング周期に従って出力する処理を同時に
実行する必要がある。
[0006] However, an audio coding system with a very high compression rate that has recently attracted attention compresses audio information to a bit rate lower than the sampling frequency. For this reason, the coding unit is a data group called a frame (usually 2).
One frame is composed of 160 samples at 0 msec)
And decodes the coded data for one frame collectively. In practice, it is necessary to simultaneously execute a process of decoding one frame of encoded audio data and a process of outputting the stored one frame of audio data in accordance with a sampling period.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、従来の
データ出力回路で、高能率音声符号化のアルゴリズムを
実現する場合には、データのサンプリング・タイミング
毎に復号処理を中断して前のフレーム復号処理で復号し
た音声データの出力処理を行わなければならないという
問題点があった。
However, when a conventional data output circuit implements a high-efficiency speech coding algorithm, the decoding process is interrupted at each data sampling timing to stop the previous frame decoding process. However, there is a problem that the output processing of the audio data decoded in step (1) must be performed.

【0008】本発明の目的は、前記問題点を解決し、デ
ータの出力処理による復号処理の中断をなくしたデータ
出力回路を有するマイクロプロセッサを提供することに
ある。
An object of the present invention is to provide a microprocessor having a data output circuit which solves the above-mentioned problem and eliminates interruption of decoding processing by data output processing.

【0009】[0009]

【課題を解決するための手段】本発明のマイクロプロセ
ッサは、圧縮データを復号化して外部へシリアルに出力
する機能を有するマイクロプロセッサにおいて、データ
バスを介して1フレーム分の復号化データを入力し複数
のアドレスに渡り書き込み保持するメモリと、前記メモ
リの読み出しアドレスを示す値を保持し前記メモリの読
み出しの実行毎に前記読み出しアドレスを示す値に1を
加算するメモリポインタと、前記メモリからパラレルデ
ータを読み出す毎に該パラレルデータを入力しシリアル
データに変換して外部へ出力するとともにシリアル変換
が完了して空きになったことを示す空き信号を出力する
シフト回路と、前記空き信号を受けて前記メモリポイン
タの保持する値と所定の値とを比較し、一致しない場合
には前記メモリポインタの値の示すアドレスに格納され
たデータの読み出しを許可し、一致する場合には前記メ
モリポインタのリセットと次のフレームに対する復号化
処理プログラムの実行とを指示する割り込み信号を出力
する制御回路とを備えたデータ出力回路を有することを
特徴とする。
According to the present invention, there is provided a microprocessor comprising:
The server decodes the compressed data and outputs it serially to the outside
In a microprocessor having the function of performing
Input one frame of decoded data via bus
And a memory for writing and holding the
Holds a value indicating the read address of the memory and reads the memory.
Each time the read is executed, 1 is added to the value indicating the read address.
A memory pointer to be added;
Input the parallel data every time the data is read out
Convert to data, output to outside and serial conversion
Outputs an empty signal indicating that the operation has been completed and has become empty
A shift circuit, and the memory point receiving the empty signal.
If the value stored in the data is compared with the specified value and they do not match
Is stored at the address indicated by the value of the memory pointer.
Reading of the data is permitted.
Reset memory pointer and decode for next frame
Outputs an interrupt signal instructing execution of the processing program
And a data output circuit including a control circuit that performs the control .

【0010】[0010]

【実施例】次に本発明について図面を参照して説明す
る。図1は本発明の第1の実施例のマイクロプロセッサ
のデータ出力回路を示すブロック図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a data output circuit of a microprocessor according to a first embodiment of the present invention.

【0011】図1において、本実施例は、メモリ12が
データバス21を介して受け取った音声データを蓄える
ためのメモリであり、メモリポインタ17はメモリ12
の出力アドレスを指すポインタであり、メモリ12から
データが読み出される度にその値をインクリメント(+
1)する。
In FIG. 1, this embodiment is a memory for storing voice data received by a memory 12 via a data bus 21.
Is a pointer pointing to the output address of the memory 12, and the value is incremented (+
1) Yes.

【0012】制御回路18は、ack信号25が入力さ
れる度にメモリポインタ17のデータ51を読み出し
て、メモリポインタ17の値が1フレームのデータ数
(160)に達すると、割り込み信号19を出力し、1
フレーム分のデータ出力が終了したことを知らせ、メモ
リポインタ17をクリアする。なお、図1の中で、図3
と同じ番号を持つ構成要素は同じ機能を持つ。
The control circuit 18 reads the data 51 of the memory pointer 17 every time the ack signal 25 is input, and outputs an interrupt signal 19 when the value of the memory pointer 17 reaches the number of data of one frame (160). And 1
The completion of the data output for the frame is notified, and the memory pointer 17 is cleared. In FIG. 1, FIG.
Components having the same number as have the same function.

【0013】本実施例の出力回路を用いて音声符号を復
号化する場合、復号化のアルゴリズムを実行するプログ
ラムは、割り込み信号19に同期して動きだす。最初に
前のフレームで復号した1フレーム分の音声データ(例
えば160サンプル)のメモリ12への転送をまとめて
行った後、次の割り込み信号19が入力されるまでに、
次の1フレーム分の符号の復号化処理のみを行えばよ
い。その間、図1のデータ出力回路は、メモリ12に蓄
えた1フレーム分の音声データを、サンプリング周波数
に同期して出力する処理を実行する。
When a speech code is decoded using the output circuit of this embodiment, a program for executing a decoding algorithm starts running in synchronization with the interrupt signal 19. First, after one frame of audio data (for example, 160 samples) decoded in the previous frame is transferred to the memory 12 at a time, until the next interrupt signal 19 is input,
Only the decoding process of the code for the next one frame needs to be performed. In the meantime, the data output circuit in FIG. 1 executes a process of outputting one frame of audio data stored in the memory 12 in synchronization with the sampling frequency.

【0014】図2は本発明の第2の実施例のマイクロプ
ロセッサのデータ出力回路を示すブロック図である。図
2において、本実施例は、レジスタ311が、1フレー
ム分のデータ数を記憶するレジスタであり、データバス
21を介して、値のセットおよび読み出しが可能であ
る。
FIG. 2 is a block diagram showing a data output circuit of a microprocessor according to a second embodiment of the present invention. In FIG. 2, in this embodiment, a register 311 is a register for storing the number of data for one frame, and can set and read a value via a data bus 21.

【0015】制御回路308は、ack信号25が入力
される度に、メモリポインタ17のデータ61とレジス
タ311のデータ71を読み出して両者の値が一致する
と、割り込み信号19を出力し、1フレーム分の音声デ
ータ出力が終了したことを知らせ、メモリポインタ17
をクリアする。なお、図2の中で、図1および図3と同
じ番号を持つ構成要素は同じ機能を持つ。
The control circuit 308 reads out the data 61 of the memory pointer 17 and the data 71 of the register 311 every time the ack signal 25 is input, and outputs an interrupt signal 19 when the values match each other. That the output of the audio data of the
Clear In FIG. 2, components having the same numbers as those in FIGS. 1 and 3 have the same functions.

【0016】本第2の実施例を出力回路を用いて、音声
符号を復号化する場合は、最初にレジスタ311に1フ
レーム分のデータ数をセットする。復号化のアルゴリズ
ムを実行するプログラムは、割り込み信号19に同期し
て動きだし、次の割り込み信号19が入力されるまでに
1フレーム分のデータを復号化する。その間、図2のデ
ータ出力回路は、メモリ12に蓄えた1フレーム分の音
声データをサンプリング周波数に同期して出力する処理
を実行する。本実施例では、1フレーム分のデータ数を
データバス21を介してレジスタ311に設定すること
により、フレームを構成するデータ数が可変となり、さ
らに広い範囲のアプリケーション対応を可能とする。
In the second embodiment, when decoding an audio code using an output circuit, first, the number of data for one frame is set in the register 311. The program that executes the decoding algorithm starts operating in synchronization with the interrupt signal 19 and decodes one frame of data until the next interrupt signal 19 is input. In the meantime, the data output circuit of FIG. 2 executes a process of outputting one frame of audio data stored in the memory 12 in synchronization with the sampling frequency. In the present embodiment, by setting the number of data for one frame in the register 311 via the data bus 21, the number of data constituting the frame becomes variable, so that a wider range of applications can be supported.

【0017】[0017]

【発明の効果】以上説明したように、本発明は、データ
の出力処理を専用ブロック化することにより、データの
出力処理による復号処理の中断を全くなくすという効果
を有する。
As described above, the present invention has an effect of completely eliminating interruption of decoding processing due to data output processing by making data output processing into a dedicated block.

【0018】尚、図1,図2に示したデータ出力回路
は、マイクロプロセッサに使用されるだけでなく、広く
ディジタル電子回路にも使用されえる。
The data output circuit shown in FIGS. 1 and 2 can be used not only for a microprocessor but also for a wide range of digital electronic circuits.

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

【図1】本発明の第1の実施例のマイクロプロセッサの
データ出力回路を示すブロック図である。
FIG. 1 is a block diagram showing a data output circuit of a microprocessor according to a first embodiment of the present invention.

【図2】本発明の第2の実施例のデータ出力回路を示す
ブロック図である。
FIG. 2 is a block diagram showing a data output circuit according to a second embodiment of the present invention.

【図3】従来のデータ出力回路を示すブロック図であ
る。
FIG. 3 is a block diagram showing a conventional data output circuit.

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

21 データバス 22,311 レジスタ 23 シリアルデータ制御信号 24 シリアルデータ 25 ack信号 26 シフト回路 12 メモリ 17 メモリポインタ 18,308 制御回路 19 割込信号 51,61,62 データ 50,60 制御信号 Reference Signs List 21 data bus 22, 311 register 23 serial data control signal 24 serial data 25 ack signal 26 shift circuit 12 memory 17 memory pointer 18, 308 control circuit 19 interrupt signal 51, 61, 62 data 50, 60 control signal

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04B 14/00 - 14/06 H03M 9/00 G06F 13/38 310 G06F 13/38 350 ──────────────────────────────────────────────────続 き Continued on the front page (58) Fields surveyed (Int. Cl. 7 , DB name) H04B 14/00-14/06 H03M 9/00 G06F 13/38 310 G06F 13/38 350

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 圧縮データを復号化して外部へシリアル
に出力する機能を有するマイクロプロセッサにおいて、 データバスを介して1フレーム分の復号化データを入力
し複数のアドレスに渡り書き込み保持するメモリと、 前記メモリの読み出しアドレスを示す値を保持し前記メ
モリの読み出しの実行毎に前記読み出しアドレスを示す
値に1を加算するメモリポインタと、 前記メモリからパラレルデータを読み出す毎に該パラレ
ルデータを入力しシリアルデータに変換して外部へ出力
するとともにシリアル変換が完了して空きになったこと
を示す空き信号を出力するシフト回路と、 前記空き信号を受けて前記メモリポインタの保持する値
と所定の値とを比較し、一致しない場合には前記メモリ
ポインタの値の示すアドレスに格納されたデータの読み
出しを許可し、一致する場合には前記メモリポインタの
リセットと次のフレームに対する復号化処理プログラム
の実行とを指示する割り込み信号を出力する制御回路と
を備えたデータ出力回路を有することを特徴とするマイ
クロプロセッサ。
1. A method of decoding compressed data and serially outputting the decoded data to an external device
A microprocessor having a function of outputting one frame of decoded data through a data bus
A memory for writing and holding over a plurality of addresses, and a memory for holding a value indicating a read address of the memory.
The read address is indicated every time the memory is read.
A memory pointer for adding 1 to the value, and a parallel pointer each time parallel data is read from the memory.
Input data, convert it to serial data, and output to external
And the serial conversion is completed and it becomes empty
A shift circuit that outputs a vacant signal indicating the value, and a value held by the memory pointer in response to the vacant signal.
And a predetermined value.
Reading data stored at the address indicated by the pointer value
Is permitted, and if they match, the memory pointer
Reset and decryption processing program for next frame
And a control circuit for outputting an interrupt signal for instructing execution of the microprocessor.
【請求項2】 前記所定の値が1フレーム分のデータ数
を示す値で前記データバスに接続して設けたレジスタに
記憶する請求項1記載のマイクロプロセッサ。
2. The method according to claim 1, wherein the predetermined value is the number of data for one frame.
In the register provided connected to the data bus with a value indicating
2. The microprocessor according to claim 1, wherein the microprocessor stores the information.
JP29942192A 1992-11-10 1992-11-10 Microprocessor Expired - Fee Related JP3063433B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29942192A JP3063433B2 (en) 1992-11-10 1992-11-10 Microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29942192A JP3063433B2 (en) 1992-11-10 1992-11-10 Microprocessor

Publications (2)

Publication Number Publication Date
JPH06152546A JPH06152546A (en) 1994-05-31
JP3063433B2 true JP3063433B2 (en) 2000-07-12

Family

ID=17872350

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29942192A Expired - Fee Related JP3063433B2 (en) 1992-11-10 1992-11-10 Microprocessor

Country Status (1)

Country Link
JP (1) JP3063433B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101851208B1 (en) * 2017-04-21 2018-04-23 유지희 Auto induction device for chest voice

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08128713A (en) * 1994-10-31 1996-05-21 Matsushita Electric Ind Co Ltd State display device of air conditioner

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101851208B1 (en) * 2017-04-21 2018-04-23 유지희 Auto induction device for chest voice

Also Published As

Publication number Publication date
JPH06152546A (en) 1994-05-31

Similar Documents

Publication Publication Date Title
JP3063433B2 (en) Microprocessor
CN1091979C (en) Read-out device for binary counter
JPH11110214A (en) Command control system and method for the same
JP3054787B2 (en) Variable length code decoding device
JP3070926B2 (en) Hardware bit coder
JPH0675744A (en) Data input circuit and microprocessor
JP2010086321A (en) Memory control system
JP3193202B2 (en) FIFO type memory
JP2508291B2 (en) Serial input / output circuit
SU1130863A1 (en) Firmware control device
JPH04101263A (en) Clock equipment
KR890000801B1 (en) Codeing system for speech synthesis
JPH05315971A (en) Serial/parallel conversion circuit
JP2763655B2 (en) Semiconductor integrated circuit
JP2518387B2 (en) Serial data transmission circuit
JPH0432922A (en) Interface control circuit
JPS61236224A (en) Method for compressing data
JPH06250955A (en) Communication interface circuit
JPS58203498A (en) Voice pitch converter
JPH09282000A (en) Data processing circuit
JPS6384269A (en) Compression code decoding device
JPH06161946A (en) Dma address control method
JPS61256435A (en) Data processor
EP0385435A2 (en) Digital signal processing apparatus and method
JPS5985546A (en) Data transfer control system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000404

LAPS Cancellation because of no payment of annual fees