JPH0322048A - Address generating circuit and signal processing processor using this circuit - Google Patents

Address generating circuit and signal processing processor using this circuit

Info

Publication number
JPH0322048A
JPH0322048A JP15629289A JP15629289A JPH0322048A JP H0322048 A JPH0322048 A JP H0322048A JP 15629289 A JP15629289 A JP 15629289A JP 15629289 A JP15629289 A JP 15629289A JP H0322048 A JPH0322048 A JP H0322048A
Authority
JP
Japan
Prior art keywords
address
signal
register
signal processing
selector
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
JP15629289A
Other languages
Japanese (ja)
Inventor
Kazunari Yamamoto
一成 山本
Koichi Kihara
弘一 木原
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP15629289A priority Critical patent/JPH0322048A/en
Priority to US07/537,565 priority patent/US5058111A/en
Priority to CA002019176A priority patent/CA2019176C/en
Priority to DE69022299T priority patent/DE69022299T2/en
Priority to EP90111566A priority patent/EP0404063B1/en
Publication of JPH0322048A publication Critical patent/JPH0322048A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To increase the signal processing speed by using a second register, a second selector, an address increment means, and a third selector to generate a private address for packet data transfer. CONSTITUTION:A second register 160 holds an address signal for packet transfer data and outputs this address signal as a second address signal S200 synchronous ly with a latch clock signal 1.S160. An address increment means 150 adds one to the value of the second address signal S200, and a second selector 140 selects the addition result and a prescribed address signal, and the selection result is outputted to a second register 160. A third selector 170 selects a first address signal S100 or the second address signal S200. Thus, the signal processing speed is increased.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、半導体集積回路等で形戒されるディジタル信
号処理プロセッサに用いられるランダム・アクセス・メ
モリ(以下、単にRAMという)のアドレスを生成する
アドレス生成回路およびこれを用いた信号処理プロセッ
サに関するものである。
Detailed Description of the Invention (Industrial Application Field) The present invention generates addresses of random access memory (hereinafter simply referred to as RAM) used in digital signal processing processors such as semiconductor integrated circuits. The present invention relates to an address generation circuit and a signal processing processor using the same.

(従来の技術) 従来、このような分野の技術としては、次のようなもの
があった。以下、その構戒を図を用いて説明する。
(Prior Art) Conventionally, there have been the following technologies in this field. The structure will be explained below using diagrams.

第2図は、従来の信号処理プロセッサの一構戒例を示す
構成ブロック図である。
FIG. 2 is a configuration block diagram showing an example of a conventional signal processing processor.

この信号処理プロセッサは、長いメッセージを幾つかに
分割して送受信するパケット通信用として用いられる。
This signal processor is used for packet communication in which a long message is sent and received by dividing it into several parts.

アナログ音声入力信号DIをディジタル信号に変換する
A/D変換器1を有し、そのA/D変換器1がディジタ
ル信号処理部(以下、DSPという〉2に接続されてい
る。
It has an A/D converter 1 that converts an analog audio input signal DI into a digital signal, and the A/D converter 1 is connected to a digital signal processing section (hereinafter referred to as DSP) 2.

DSP2はアドレス生成回路、RAM等からなるメモリ
部の他に、算術論理ユニット(以下、ALUという)、
乗算器、レジスタ等からなる演算部、および制御部等か
ら構成されている。このDSP2の出力は、パケット送
信シリアルバッファからなる送信部3を介して図示しな
い交換回線網に接続され、また、この交換回線網からの
パケット信号が、パケット受信シリアルバッファからな
る受信部4を介してDSP2に接続されている。
In addition to a memory section consisting of an address generation circuit, RAM, etc., the DSP2 has an arithmetic logic unit (hereinafter referred to as ALU),
It consists of an arithmetic section consisting of a multiplier, registers, etc., and a control section. The output of this DSP 2 is connected to a switching line network (not shown) via a transmitting unit 3 consisting of a packet transmitting serial buffer, and the packet signal from this switching line network is connected via a receiving unit 4 consisting of a packet receiving serial buffer. and is connected to DSP2.

さらに、DSP2はD/A変換器5を介してアナログ音
声出力信号AOに接続されている。
Further, the DSP 2 is connected to an analog audio output signal AO via a D/A converter 5.

第3図は、第2図中のアドレス生成回路の構成ブロック
図である。
FIG. 3 is a block diagram of the address generation circuit shown in FIG. 2.

このアドレス生或回路は、RAMのアドレスを生成する
回路であり、アドレス信号S1とアドレス変更信号S2
とを加算する加算器2aを有している。その加算器2a
の出力信号S3が、アドレスの初期値を定めるアドレス
初期値信号S4と共に、セレクタ2bの入力側に接続さ
れている。このセレクタ2bは、制御信号S5により信
号S4と加算器2bの出力信号S3とを選択する回路で
あり、その出力側がレジスタ2cに接続されている。レ
ジスタ2Cは、ラッチクロック信号S6の同期に基づき
、セレクタ2bの出力を格納する回路て“あり、そのレ
ジスタ2cの出力1則がアドレス信号SLに接続されて
いる。
This address generation circuit is a circuit that generates a RAM address, and is a circuit that generates an address signal S1 and an address change signal S2.
It has an adder 2a that adds the. The adder 2a
An output signal S3 is connected to the input side of the selector 2b, together with an address initial value signal S4 that determines the initial value of the address. The selector 2b is a circuit that selects the signal S4 and the output signal S3 of the adder 2b in accordance with the control signal S5, and its output side is connected to the register 2c. The register 2C is a circuit that stores the output of the selector 2b based on the synchronization of the latch clock signal S6, and the output of the register 2c is connected to the address signal SL.

以上のように構或される信号処理プロセッサは次のよう
な動作をする。
The signal processing processor configured as described above operates as follows.

アナログ音声入力信号DIは、A/D変換器1に入力さ
れると、そのA/D変換器1によりディジタル信号に変
換され、DSP2に入力する。DSP2では混入雑音の
除去、音声の有無等の判定を行う他、さらに、ディジタ
ル信号化された音声信号をパケットデータフォーマット
に変換し、そのデータフォーマットを内蔵のRAMに格
納する。
When the analog audio input signal DI is input to the A/D converter 1, it is converted into a digital signal by the A/D converter 1 and input to the DSP 2. The DSP 2 not only removes mixed noise and determines the presence or absence of voice, but also converts the digital voice signal into a packet data format and stores the data format in the built-in RAM.

RAMに一定のパケットデータが蓄えられると、例えば
パケット転送可のフラグを立ったとき、送信バッファ4
にパケットデータが逐次転送され、外部に出力される。
When a certain amount of packet data is stored in the RAM, for example, when the packet transfer enabled flag is set, the transmission buffer 4
Packet data is sequentially transferred to and output to the outside.

第4図は第3図のフローチャートであり、アドレス生成
回路の転送実行時の処理の流れを示したものである。
FIG. 4 is a flowchart of FIG. 3, showing the flow of processing when the address generation circuit performs transfer.

パケット転送可のフラグを立っている場合、まず、その
時のRAMのアドレス情報を一端、図示しない別のレジ
スタに退避させる(ステップl〉。
If the packet transfer enable flag is set, first, address information in the RAM at that time is temporarily saved in another register (not shown) (step l>).

その後、セレクタ2bにおいて、アドレス初期値信号S
4が制御信号S5により選択されると、そのアドレス初
期値信号S4は、ラッチクロック信号S6に同期してレ
ジスタ2cに格納される。その出力で゛あるアドレスイ
言号StがRAMのアドレス初期値となる。このように
、転送されるべきパケットデータのアドレス初期値が設
定される(ステップ2)。さらに、設定されたアドレス
に相当するRAMの内容を読み出されて、送信部3に転
送される{ステップ3}。そして、次に転送すべきパケ
ットデータのアドレスを生或するため加算器2aにアド
レス変更信号S2が入力され、その変更信号S2とアド
レス信号S1とが加算されて、その加算結果である出力
信号S3がセレクタ2bに入力される。セレクタ2bで
は、制御信号S5により出力信号S3が選択され、その
出力信号S3が、ラッチクロック信号S6に同期してレ
ジスタ2Cに格納される。レジスタ2cの出力のアドレ
ス信号S1はアドレス初期値に+1加算されたRAMの
新たなアドレス値となる(ステップ4)。
After that, in the selector 2b, the address initial value signal S
4 is selected by the control signal S5, the address initial value signal S4 is stored in the register 2c in synchronization with the latch clock signal S6. A certain address word St outputted from this becomes the initial address value of the RAM. In this way, the initial address value of the packet data to be transferred is set (step 2). Further, the contents of the RAM corresponding to the set address are read out and transferred to the transmitter 3 {step 3}. Then, in order to generate the address of the packet data to be transferred next, the address change signal S2 is input to the adder 2a, and the change signal S2 and address signal S1 are added, and the output signal S3 is the addition result. is input to the selector 2b. In the selector 2b, the output signal S3 is selected by the control signal S5, and the output signal S3 is stored in the register 2C in synchronization with the latch clock signal S6. The address signal S1 output from the register 2c becomes a new address value of the RAM that is added by +1 to the initial address value (step 4).

さらに、この新たな転送アドレスを図示しない別のレジ
スタに退避させる(ステップ5)。最後に、ステップl
で退避させたアドレスを再設定してパケット転送前の処
理に戻る(ステップ6)。
Furthermore, this new transfer address is saved in another register (not shown) (step 5). Finally, step l
The address saved in step 6 is reset and the process returns to the process before packet transfer (step 6).

また、逆に、受信バッファ5にパケットデータが入力さ
れると、同様にパケット転送可のフラグを立てて、DS
P2の内部のRAMに逐次転送され、データが蓄えられ
る。その後、DSP2においてパケットデータ再生処理
が施され、D/A変換器5を通してアナログ音声出力信
号AOを得る.以上の一連の動作の中でDSP2は、転
送命令を実行した後、次の転送命令ある間、別の他の処
理を行うことにより処理効率を高めている。
Conversely, when packet data is input to the reception buffer 5, a packet transfer enabled flag is similarly set and the DS
The data is sequentially transferred to the internal RAM of P2 and stored. Thereafter, packet data is reproduced in the DSP 2, and an analog audio output signal AO is obtained through the D/A converter 5. In the series of operations described above, after the DSP 2 executes a transfer command, it performs other processing while the next transfer command is being issued, thereby improving processing efficiency.

(発明が解決しようとする課題〉 しかしながら、上記構成のアドレス生成回路では、パケ
ットデータ転送時において、アドレスの退避、新しいア
ドレスの設定、次のアドレスの生或、および旧アドレス
の復帰操作を実行しなければならいので、信号処理が複
雑になり、そのため、多くの処理ステップが必要であっ
た。これにより、信号処理速度の高速化が阻害され、そ
れを解決することが困難であった。
(Problems to be Solved by the Invention) However, in the address generation circuit with the above configuration, when transferring packet data, it is necessary to save the address, set a new address, generate the next address, and restore the old address. As a result, the signal processing becomes complicated and many processing steps are required.This hinders the increase in signal processing speed and makes it difficult to solve the problem.

本発明は前記従来技術が持っていた課題として、信号処
理が複雑であるため、信号処理速度の高速化が阻害され
るという点について解決したアドレス生成回路およびそ
れを用いた信号処理プロセッサを提供するものである。
The present invention provides an address generation circuit and a signal processing processor using the same, which solves the problem of the prior art that signal processing is complicated, which hinders the increase in signal processing speed. It is something.

(課題を解決するための手段) 第■の発明では、前記課題を解決するために、第■のア
ドレス信号を出力するアドレス保持用の第1のレジスタ
と、前記第1のアドレス信号とそのアドレス信号に対す
るアドレス変更信号とを演算する演算器と、前記演算器
の出力またはパケットデータの所定アドレス信号を選択
して前記第1のレジスタへ出力する第1のセレクタとを
備えたアドレス生成回路において、次のような手段を講
じたものである。
(Means for Solving the Problem) In order to solve the problem, in the invention No. 2, a first register for holding an address that outputs the address signal No. An address generation circuit comprising: an arithmetic unit that calculates an address change signal for a signal; and a first selector that selects an output of the arithmetic unit or a predetermined address signal of packet data and outputs the selected address signal to the first register, The following measures were taken.

第2のアドレス信号を出力するデータ保持用の第2のレ
ジスタと、前記第2のアドレス信号を増分するアドレス
増分手段と、前記アドレス増分手段の出力または前記所
定アドレス信号を選択して前記第2のレジスタへ出力す
る第2のセレクタと、前記第1または第2のアドレス信
号を選択する第3のセレクタとを設けたものである。
a second register for holding data that outputs a second address signal; an address increment means for incrementing the second address signal; A second selector outputs the signal to the register, and a third selector selects the first or second address signal.

第2の発明は、ディジタル入力信号に対して所定のディ
ジタル処理を施すディジタル信号処理部と、前記ディジ
タル信号処理部からのデータを駆動して送信する送信部
と、外部データを受信して前記ディジタル信号処理部へ
駆動して出力する受信部とを備えた信号処理プロセッサ
において、次の手段を講じたものである。
A second invention includes a digital signal processing section that performs predetermined digital processing on a digital input signal, a transmitting section that drives and transmits data from the digital signal processing section, and a transmitting section that receives external data and processes the digital signal. The signal processing processor includes a receiving section that drives and outputs signals to a signal processing section, and takes the following measures.

前記ディジタル信号処理部は、請求項1記載のアドレス
生成回路を有し、その出力によりアドレスが指定される
随時記憶保持回路と、前記随時記憶保持回路を前記送信
部と前記受信部とに接続する内部データバスとを設けた
ものである。
The digital signal processing section includes an address generating circuit according to claim 1, and connects an occasional memory holding circuit whose output specifies an address, and the occasional memory holding circuit to the transmitting section and the receiving section. An internal data bus is provided.

(作用) 第1の発明によれば、以上のようにアドレス生成回路を
構戒したので、第2のレジスタは、パケット転送データ
用のアドレス信号を保持し、ラッチクロツク信号の同期
に基づき、そのアドレス信号を第2のアドレス信号の形
で出力する。アドレス増分手段は、第2のアドレス信号
に対して+l加算するように働き、第2のセレクタは、
その加算結果と、所定アドレス信号とを選択してその選
択結果を第2のレジスタへ出力する。第3のセレクタは
、第1または第2のアドレス信号を選択しする。
(Function) According to the first invention, since the address generation circuit has been designed as described above, the second register holds the address signal for packet transfer data, and based on the synchronization of the latch clock signal, the second register holds the address signal for packet transfer data. A signal is output in the form of a second address signal. The address increment means adds +l to the second address signal, and the second selector
The addition result and a predetermined address signal are selected and the selection result is output to the second register. The third selector selects the first or second address signal.

第2の発明によれば、随時記憶保持回路は、パケット転
送データを迅速に格納および転送するように働く。内部
データバスは、バラレルなパケット転送データをシリア
ルなデータに変換するように働く。
According to the second invention, the occasional memory holding circuit operates to quickly store and transfer packet transfer data. The internal data bus serves to convert discrete packet transfer data to serial data.

したがって、前記課題を解決することができるのである
Therefore, the above problem can be solved.

(実施例) 第5図は、本発明の実施例を示す信号処理プロセッサの
構戒ブロック図である。
(Embodiment) FIG. 5 is a block diagram of a signal processing processor showing an embodiment of the present invention.

この信号処理プロセッサは、パケット通信用として用い
られ、アナログ音声入力信号Diをディジタル信号に変
換する例えば、オーバーサンプリング型のA/D変換器
1oおよびディジタル信号をアナログ音声出力信号Ao
に変換する例えば、オーバーサンプリング型のD/A変
換器2oを有している。そして、それらA/D変換器1
0およびD/A変換器20がDSP30にそれぞれ接続
されている。
This signal processing processor is used for packet communication, and includes, for example, an oversampling type A/D converter 1o that converts an analog audio input signal Di into a digital signal, and an oversampling type A/D converter 1o that converts the digital signal into an analog audio output signal Ao.
For example, it has an oversampling type D/A converter 2o. And those A/D converters 1
0 and a D/A converter 20 are connected to the DSP 30, respectively.

DSP30は、ディジタル化された音声入力信号Diに
対して混入雑音の除去、音声の有無判定などを行う装置
であり、メモリ部31.演算部32、および制御部33
等を有し、それらメモリ部31,演算部32、制御部3
3が、A/D変換器10およびD/A変換器2oと共に
、内部データバス34に接続されている。その内部デー
タバス34には、例えばパケット送信シリアルバッファ
からなる送信部40とパケット受信シリアルバッファか
らなる受信部50とが接続され、それら送信部40およ
び受信部50が、図示しない交換回線網にそれぞれ接続
されている。
The DSP 30 is a device that removes mixed noise from the digitized audio input signal Di, determines the presence or absence of audio, and stores the memory section 31. Arithmetic unit 32 and control unit 33
etc., including a memory section 31, a calculation section 32, and a control section 3.
3 is connected to the internal data bus 34 along with the A/D converter 10 and the D/A converter 2o. Connected to the internal data bus 34 are, for example, a transmitting section 40 consisting of a packet transmitting serial buffer and a receiving section 50 consisting of a packet receiving serial buffer. It is connected.

ここで、演算部32は、ALU、乗算器、レジスタ、お
よびアキュームレータ(ACC)等で構成され、算術演
算及び論理演算を行う回路であり、制御部33は、DS
P30の働きを制御するもので命令レジスタ等から構或
されている。メモリ部31は、例えば、パケットデータ
フォーマットを格納する回路であり、随時記憶保持回路
であるRAM31a及びそのRAM31aのアドレス信
号を生成するアドレス生成回路3lb等で構成されてい
る。そして、RAM31aの入出力は内部データバス3
4に接続されている。
Here, the arithmetic unit 32 is a circuit that includes an ALU, a multiplier, a register, an accumulator (ACC), etc., and performs arithmetic operations and logical operations.
It controls the function of P30 and is composed of an instruction register and the like. The memory unit 31 is, for example, a circuit that stores a packet data format, and is composed of a RAM 31a that is a memory holding circuit at any time, an address generation circuit 3lb that generates an address signal for the RAM 31a, and the like. The input/output of the RAM 31a is via the internal data bus 3.
Connected to 4.

第1図は、本発明の実施例を示す第5図中のアドレス生
成回路3lbの構或ブロック図である。
FIG. 1 is a block diagram of the address generation circuit 3lb in FIG. 5, showing an embodiment of the present invention.

このアドレス生成回路3lbは、第1のアドレス信号S
IOOとアドレス変更信号S101とを加算する演算器
110を有している。その演算器110の出力信号S1
02が、アドレスの初期値を定めるアドレス初期値信号
8103と共に、セレクタ120の入力側に接続されて
いる。このセレクタ120は、制御信号8104により
信号S103と信号S102とを選択する回路であり、
その出力側がレジスタ130に接続されている。
This address generation circuit 3lb generates a first address signal S
It has an arithmetic unit 110 that adds IOO and address change signal S101. Output signal S1 of the arithmetic unit 110
02 is connected to the input side of the selector 120 together with an address initial value signal 8103 that determines the initial value of the address. This selector 120 is a circuit that selects the signal S103 and the signal S102 by the control signal 8104,
Its output side is connected to a register 130.

レジスタ130は、ラッチクロック信号S105の同期
に基づき、セレクタ120の出力を格納し、第1のアド
レス信号SIOOを出力する回路である。
The register 130 is a circuit that stores the output of the selector 120 and outputs the first address signal SIOO based on the synchronization of the latch clock signal S105.

一方、セレクタ140は、制御信号S140により加算
器150の出力とアドレス初期値信号S103との選択
を行う回路であり、その出力がレジスタ160に接続さ
れている。レジスタ160はラッチクロック信号S16
0の同期に基づき、セレクタ140の出力を一時保持す
る回路であり、そのレジスタ160の出力である第2の
アドレス信号S200が、加算器150の入力側と第3
のセレクタ170の一方の入力側とに共通接続されてい
る。さらに、第3のセレクタ170の他方の入力側には
アドレス信号SIOOが接続されている。
On the other hand, the selector 140 is a circuit that selects between the output of the adder 150 and the address initial value signal S103 in accordance with the control signal S140, and its output is connected to the register 160. Register 160 receives latch clock signal S16
This circuit temporarily holds the output of the selector 140 based on the synchronization of 0, and the second address signal S200, which is the output of the register 160, is connected to the input side of the adder 150 and the third address signal S200.
is commonly connected to one input side of the selector 170. Further, the other input side of the third selector 170 is connected to an address signal SIOO.

ここで、加算器150はアドレス信号S200に+1加
算する回路であり、セレクタ170は、制御信号S17
0の制御によりアドレス信号St00.S200の内、
一方を選択してアドレス出力信号OUTを出力する回路
である。
Here, the adder 150 is a circuit that adds +1 to the address signal S200, and the selector 170 is a circuit that adds +1 to the address signal S200.
0, the address signal St00. Of S200,
This circuit selects one and outputs an address output signal OUT.

第6図は第1図のフローチャート、第7図はパケット転
送のフローチャートであり、これらの図を参照しつつ、
第1図および第5図の動作を説明する。
FIG. 6 is a flowchart of FIG. 1, and FIG. 7 is a flowchart of packet transfer.
The operations in FIGS. 1 and 5 will be explained.

アナログ音声入力信号Diが、A/D変換器↓0に入力
されると、その入力信号DiはA/D変換器10により
ディジタル信号に変換され、DSP30に入力される。
When the analog audio input signal Di is input to the A/D converter ↓0, the input signal Di is converted into a digital signal by the A/D converter 10 and input to the DSP 30.

DSP30て゛は、ディジタル信号化された音声入力信
号Diの混入雑音の除去、音声の有無の判定等が行われ
、その後、音声入力信号Diはパケットデータフォーマ
ットに変換され、RAM31aに格納される。
The DSP 30 removes noise mixed in the digital audio input signal Di, determines the presence or absence of audio, and then converts the audio input signal Di into a packet data format and stores it in the RAM 31a.

RAM31aに一定のパケットデータが蓄えられると、
例えばパケット転送可のフラグが立つことで、セレクタ
170の制御信号S170は、第2のアドレス信号S2
00を選択するように制御される。いま、予め、パケッ
ト転送データのアドレス先頭番地は決められ、その初期
アドレスは、アドレス初期値信号S103によりレジス
タ160に入力されているとすると(第6図のステップ
■)、その出力であるアドレス信号S200は、アドレ
ス出力信号OUTの形でRAM31aへ出力し、その結
果、アドレス信号S200に相当するパケットデータが
読み出され、送信部40へ転送される(第6図のステッ
プ2〉。同時に、レジスタ160にはラッチクロック信
号S160が供給され、現在のアドレスに+1加算され
た値がレジスタ160に新たに格納される。その後、セ
レクタ170の制御信号S170は、第1のアドレス信
号SIOOを選択するように制御され、DSP30は元
の他の処理に復帰する。
When a certain amount of packet data is stored in the RAM 31a,
For example, when the packet transfer enable flag is set, the control signal S170 of the selector 170 is changed to the second address signal S2.
It is controlled to select 00. Now, assuming that the first address of the packet transfer data is determined in advance and the initial address is input to the register 160 by the address initial value signal S103 (step ■ in FIG. 6), the output address signal S200 is output to the RAM 31a in the form of an address output signal OUT, and as a result, packet data corresponding to the address signal S200 is read out and transferred to the transmitter 40 (step 2 in FIG. 6).At the same time, the register A latch clock signal S160 is supplied to the register 160, and a value obtained by adding +1 to the current address is newly stored in the register 160. After that, the control signal S170 of the selector 170 is set to select the first address signal SIOO. The DSP 30 returns to other processing.

RAM.3 1 aに蓄えられたパケットデータを送信
部40に逐次転送していくときに、送信部40が外部に
データを完全に送出するまで、つまり、送信部40が空
になるまでの間は、DSP30は送信部40に次のデー
タを転送できない。したがって、第7図の示すように、
DSP30の処理速度と送信部40の処理速度とが、1
:64の割合とすれば、64ステップに■回の転送命令
によってDSP30から送信部40にパケットデータが
送り出されることになる。また、パケットデータは通常
、バイト単位で構成され、第7図では、16バイトのパ
ケットデータの転送動作を表している。つまり、16回
繰り返される転送動作の過程を示している。その際、例
えば転送1では、まず、RAM31aのアドレス番地0
000Hに格納されているデータが読み出され、送信部
40へ送出される。この転送lにおけるパケット転送が
終了すると、DSP30では別の信号処理を開始する。
RAM. When packet data stored in 31a is sequentially transferred to the transmitter 40, until the transmitter 40 completely sends out the data to the outside, that is, until the transmitter 40 becomes empty, The DSP 30 cannot transfer the next data to the transmitter 40. Therefore, as shown in Figure 7,
The processing speed of the DSP 30 and the processing speed of the transmitter 40 are 1
If the ratio is 64, packet data will be sent from the DSP 30 to the transmitter 40 by the transfer command x times in 64 steps. Further, packet data is usually composed of bytes, and FIG. 7 shows a transfer operation of 16 bytes of packet data. In other words, it shows the process of a transfer operation that is repeated 16 times. At that time, for example, in transfer 1, first, address address 0 of RAM 31a
The data stored in 000H is read and sent to the transmitter 40. When the packet transfer in this transfer 1 is completed, the DSP 30 starts another signal processing.

64ステップ時のアドレス番地2F31Hの信号処理が
終了すると、2回目のパケット転送2が開始される。そ
の後、同様に、転送16まで繰り返される。
When the signal processing at address 2F31H at step 64 is completed, the second packet transfer 2 is started. Thereafter, the process is repeated in the same manner up to transfer 16.

また、逆に、受信バッファ50にパケットデータが入力
されると、同様にパケット転送可のフラグを立てて、D
SP30のRAM31aに逐次転送され、データが蓄え
られる。その後、D S P 30においてパケットデ
ータ再生処理が施され、D/A変換器20を通してアナ
ログ音声出力信号AOを得る。
Conversely, when packet data is input to the reception buffer 50, a packet transfer enabled flag is similarly set and the D
The data is sequentially transferred to the RAM 31a of the SP 30 and stored therein. Thereafter, packet data is reproduced in the DSP 30, and an analog audio output signal AO is obtained through the D/A converter 20.

本実施例では、次のような利点がある。This embodiment has the following advantages.

(1) 従来のアドレス生成回路では、アドレスの退避
、新たなアドレスの設定、次のアドレスの生成、旧アド
レスの復帰の操作を含めて6回の処理ステップが必要で
あった。しかし、セレクタl70により第2のアドレス
信号を選択することにより、アドレスの退避、新たなア
ドレスの設定は実行できる。さらに、次のアドレスの生
成は、加算器150により既に実行済みとなり、その加
算器150の出力をパケットデータ転送と同時にレジス
タ160に保持することで,その情報を保っておくこと
が可能となる。したがって、従来の回路に比べて処理ス
テップが減少し、2回の処理ステップでパケット転送が
可能となる。
(1) In the conventional address generation circuit, six processing steps were required, including operations for saving an address, setting a new address, generating the next address, and restoring the old address. However, by selecting the second address signal by the selector l70, the address can be saved and a new address can be set. Furthermore, the generation of the next address has already been executed by the adder 150, and by holding the output of the adder 150 in the register 160 at the same time as the packet data transfer, this information can be retained. Therefore, the number of processing steps is reduced compared to conventional circuits, and packet transfer is possible with two processing steps.

(2〉 パケット化されたデータをRAM31aに書き
込んだり、読み出したりするときに、RAM 3 1 
aのアドレス生成はシーケンシャルにラツチクロック信
号8160のみで制御することが可能である。さらに、
従来のアドレス生成回路も具備のでいるので、従来のア
ドレッシング機能を惑わすことなしに、必要なときにパ
ケットデータの入出力アクセスを確実に、しかも容易に
実行することができる。
(2> When writing packetized data to or reading from RAM 31a, RAM 3 1
The address generation of a can be sequentially controlled only by the latch clock signal 8160. moreover,
Since a conventional address generation circuit is also included, input/output access of packet data can be performed reliably and easily when necessary without confusing the conventional addressing function.

なお、本発明は図示の実施例に限定されず、種々の変形
が可能である。例えば、その変形例として次のようなも
のがある。
Note that the present invention is not limited to the illustrated embodiment, and various modifications are possible. For example, there are the following variations.

(I>  加算器150は、例えば、半加算器あるいは
プログラムカウンタを用いてもよい。
(I> The adder 150 may be, for example, a half adder or a program counter.

(II)  演算器32は、例えば、全加算器等で横或
することも可能である。
(II) The arithmetic unit 32 can also be horizontally implemented, for example, by a full adder or the like.

(発明の効果〉 以上詳細に説明したように、第1の発明によれば、第2
のレジスタ、第2のセレクタ、アドレス増分手段、およ
び第3のセレクタを用いて、パケットデータ転送のため
の専用アドレスを生成したので、処理ステップを大幅に
減少させることができ、信号処理の高速化を図ることが
できる。
(Effect of the invention) As explained in detail above, according to the first invention, the second invention
Since a dedicated address for packet data transfer is generated using the register, the second selector, the address increment means, and the third selector, the processing steps can be significantly reduced and the signal processing speed can be increased. can be achieved.

第2の発明では、随時記憶保持回路のアドレスを指定す
るために、第1の発明のアドレス生成回路いたので、D
SPはパケットデータ転送の処理に煩わされることなく
、他の信号処理を実行することが可能となる。
In the second invention, since the address generation circuit of the first invention is used to specify the address of the memory holding circuit at any time, D
The SP can perform other signal processing without being bothered by packet data transfer processing.

【図面の簡単な説明】[Brief explanation of the drawing]

第■図は本発明の実施例を示すアドレス生成回路の構或
ブロック図、第2図は従来の信号処理プロセッサの構戒
ブロック図、第3図は従来のアドレス生成回路の構戒ブ
ロック図、第4図は第3図のフローチャート、第5図は
本発明の実施例を示す信号処理プロセッサの横或ブロッ
ク図、第6図は第1図のフローチャート、第7図はパケ
ットデータ転送のフローチャートである。 30・・・・・・DSP、31a・・・・・・随時記憶
保持回路、3lb・・・・・・アドレス生或回路、34
・・・・・・内部データバス、40・・・・・・送信部
、50・・・・・・受信部、110・・・・・・演算器
、120,140,170・・・・・・第1,第2.第
3のセレクタ、130.160・・・・・・第1,第2
のレジスタ、150・・・・・・加算器、SIOO・・
・・・・第1のアドレス信号、3101・・・・・・ア
ドレス変更信号、S102・・・・・・出力信号、S1
03・・・・・・所定アドレス信号、S104,S14
0,S170・・・・・・制御信号、S105,S16
0・・・・・・ラッチクロック信号、S200・・・・
・・第2のアドレス信号、Di・・・・・・アナログ音
声入力信号、Ao・・・・・・アナログ音声出力信号。
Fig. 2 is a block diagram of an address generation circuit showing an embodiment of the present invention, Fig. 2 is a block diagram of a conventional signal processing processor, and Fig. 3 is a block diagram of a conventional address generation circuit. 4 is a flowchart of FIG. 3, FIG. 5 is a horizontal block diagram of a signal processing processor showing an embodiment of the present invention, FIG. 6 is a flowchart of FIG. 1, and FIG. 7 is a flowchart of packet data transfer. be. 30... DSP, 31a... Occasional memory holding circuit, 3lb... Address generation circuit, 34
...Internal data bus, 40...Transmitter, 50...Receiver, 110...Arithmetic unit, 120, 140, 170...・First, second. 3rd selector, 130.160... 1st, 2nd
Register, 150... Adder, SIOO...
...First address signal, 3101...Address change signal, S102...Output signal, S1
03...Predetermined address signal, S104, S14
0, S170... Control signal, S105, S16
0... Latch clock signal, S200...
...Second address signal, Di...Analog audio input signal, Ao...Analog audio output signal.

Claims (1)

【特許請求の範囲】 1、第1のアドレス信号を出力するアドレス保持用の第
1のレジスタと、前記第1のアドレス信号とそのアドレ
ス信号に対するアドレス変更信号とを演算する演算器と
、前記演算器の出力またはパケットデータの所定アドレ
ス信号を選択して前記第1のレジスタへ出力する第1の
セレクタとを備えたアドレス生成回路において、 第2のアドレス信号を出力するデータ保持用の第2のレ
ジスタと、 前記第2のアドレス信号を増分するアドレス増分手段と
、 前記アドレス増分手段の出力または前記所定アドレス信
号を選択して前記第2のレジスタへ出力する第2のセレ
クタと、 前記第1または第2のアドレス信号を選択する第3のセ
レクタとを設けたことを特徴とするアドレス生成回路。 2、ディジタル入力信号に対して所定のディジタル処理
を施すディジタル信号処理部と、前記ディジタル信号処
理部からのデータを駆動して送信する送信部と、外部デ
ータを受信して前記ディジタル信号処理部へ駆動して出
力する受信部とを備えた信号処理プロセッサにおいて、 前記ディジタル信号処理部は、 請求項1記載のアドレス生成回路を有し、その出力によ
りアドレスが指定される随時記憶保持回路と、 前記随時記憶保持回路を前記送信部と前記受信部とに接
続する内部データバスと、を設けたことを特徴とする信
号処理プロセッサ。
[Scope of Claims] 1. A first register for holding an address that outputs a first address signal, a computing unit that computes the first address signal and an address change signal for the address signal, and the computing unit a first selector that selects a predetermined address signal of a device output or packet data and outputs the selected address signal to the first register; a register; address incrementing means for incrementing the second address signal; a second selector for selecting the output of the address incrementing means or the predetermined address signal and outputting it to the second register; An address generation circuit comprising: a third selector for selecting a second address signal. 2. A digital signal processing section that performs predetermined digital processing on a digital input signal, a transmitting section that drives and transmits data from the digital signal processing section, and a receiving section that receives external data and sends it to the digital signal processing section. A signal processing processor comprising a receiving section that drives and outputs the digital signal processing section, wherein the digital signal processing section has the address generating circuit according to claim 1, and an occasional storage holding circuit whose output specifies an address; A signal processing processor comprising: an internal data bus that connects a memory holding circuit to the transmitting section and the receiving section at any time.
JP15629289A 1989-06-19 1989-06-19 Address generating circuit and signal processing processor using this circuit Pending JPH0322048A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP15629289A JPH0322048A (en) 1989-06-19 1989-06-19 Address generating circuit and signal processing processor using this circuit
US07/537,565 US5058111A (en) 1989-06-19 1990-06-13 Subscriber line interface circuit in a switching system
CA002019176A CA2019176C (en) 1989-06-19 1990-06-18 Subscriber line interface circuit in a switching system
DE69022299T DE69022299T2 (en) 1989-06-19 1990-06-19 Interface circuit for subscriber lines in a switching system.
EP90111566A EP0404063B1 (en) 1989-06-19 1990-06-19 Subscriber line interface circuit in a switching system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15629289A JPH0322048A (en) 1989-06-19 1989-06-19 Address generating circuit and signal processing processor using this circuit

Publications (1)

Publication Number Publication Date
JPH0322048A true JPH0322048A (en) 1991-01-30

Family

ID=15624625

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15629289A Pending JPH0322048A (en) 1989-06-19 1989-06-19 Address generating circuit and signal processing processor using this circuit

Country Status (1)

Country Link
JP (1) JPH0322048A (en)

Similar Documents

Publication Publication Date Title
US5710914A (en) Digital signal processing method and system implementing pipelined read and write operations
US4757444A (en) Vector processor capable of performing iterative processing
US20030048677A1 (en) Semiconductor device having a dual bus, dual bus system, shared memory dual bus system, and electronic instrument using the same
US5590364A (en) Signal processing apparatus
JPH0322048A (en) Address generating circuit and signal processing processor using this circuit
US5481753A (en) I/O device having identification register and data register where identification register indicates output from the data register to be an identifier or normal data
US5689079A (en) Musical tone generator
JP3117212B2 (en) Digital signal processor
US6175881B1 (en) Microcontroller having a memory, a dedicated multitask memory, and switching circuit for selectively connecting the multitask memory to the internal or external bus
JP3144859B2 (en) Arithmetic logic unit
JPS59128862A (en) Magnifying and reduction device
JP2957821B2 (en) Transmission memory control circuit
AU736765B2 (en) Method and arrangement for connecting processor to ASIC
JPH103378A (en) Arithmetic unit and arithmetic method
JP3178036B2 (en) Signal processing device
JPH07271656A (en) Image data processing system
JP3255429B2 (en) Memory interface circuit
JPH10312356A (en) Data transfer device
EP0333306A2 (en) Integrated and programmable processor for word-wise digital signal processing
JPS645518B2 (en)
JPS6252879B2 (en)
JPS6148301B2 (en)
JPH05120205A (en) Processor system with address conversion device for dma transfer and dma transfer method
EP1049024A1 (en) Signal processing system and method
JPH0644180A (en) Dma device