JPH08123728A - Memory content update circuit - Google Patents
Memory content update circuitInfo
- Publication number
- JPH08123728A JPH08123728A JP6286065A JP28606594A JPH08123728A JP H08123728 A JPH08123728 A JP H08123728A JP 6286065 A JP6286065 A JP 6286065A JP 28606594 A JP28606594 A JP 28606594A JP H08123728 A JPH08123728 A JP H08123728A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- data
- address
- address information
- update
- 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.)
- Withdrawn
Links
Landscapes
- Memory System (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Abstract
(57)【要約】
【目的】ディジタル信号処理装置におけるデータ記憶用
メモリのメモリ内容を簡単なプログラミングで間違いな
く更新できるようにする。
【構成】C−BUS10には、係数メモリ(C−ME
M)16と、汎用メモリ(G−RAM)20と、算術論
理演算ユニット(ALU)26と、積和演算器(MA
C)28と、プログラムメモリ(P−MEM)32と、
ホストインタフェース回路(HOST−IF)34とが
接続されている。ホストインタフェース回路(HOST
−IF)34は、本DSPとホストコートローラ36と
の間でプログラムやデータをやりとりするためのインタ
フェース回路であり、タイミング制御ユニット、データ
受信ユニット、バッファメモリ、データ送信ユニット等
を内蔵している。
(57) [Abstract] [Purpose] To enable the memory contents of the data storage memory in a digital signal processing device to be updated without fail by simple programming. [Structure] The C-BUS 10 has a coefficient memory (C-ME
M) 16, a general-purpose memory (G-RAM) 20, an arithmetic logic operation unit (ALU) 26, and a product-sum operation unit (MA).
C) 28, a program memory (P-MEM) 32,
The host interface circuit (HOST-IF) 34 is connected. Host interface circuit (HOST
-IF) 34 is an interface circuit for exchanging programs and data between the DSP and the host coat roller 36, and includes a timing control unit, a data receiving unit, a buffer memory, a data transmitting unit, etc. .
Description
【0001】[0001]
【産業上の利用分野】本発明は、ディジタル信号処理装
置におけるメモリ内容更新回路に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory content updating circuit in a digital signal processing device.
【0002】[0002]
【従来の技術】従来より、ディジタルフィルタ、ディジ
タル自動等化、高速フーリエ変換(FFT)等のように
数多くの積和演算を扱うディジタル信号処理にDSP(D
igitalSignal Processor)が用いられている。一般に、
DSPは、高速の積和演算処理を実現するために、高速
乗算器、加算器、プログラム用メモリ、データ用メモリ
等を内蔵し、パイプライン処理を行えるマイクロプログ
ラム制御型またはPLA制御型のマイクロプロセッサと
して構成されている。最近は、音響処理、画像処理、通
信等の特定用途向けのDSPが普及しつつある。2. Description of the Related Art Conventionally, DSP (D) has been used for digital signal processing such as digital filter, digital automatic equalization, fast Fourier transform (FFT), etc.
igitalSignal Processor) is used. In general,
The DSP has a high-speed multiplier, an adder, a program memory, a data memory, and the like to realize high-speed multiply-accumulate operation processing, and is a microprocessor of microprogram control type or PLA control type capable of pipeline processing. Is configured as. Recently, DSPs for specific applications such as sound processing, image processing, and communication are becoming popular.
【0003】このような特定用途向けのDSPは、1チ
ップの半導体集積回路として製作され、システム/チッ
プコストを出来るだけ低くするために、システム内の各
メモリのメモリ容量を最小限に抑えている。そして、プ
ログラムを格納するプログラムメモリやデータの中でも
値の定まっている係数データを格納する係数メモリに対
しては、ホストコントローラより所要のプログラムおよ
び係数データを随時ダウンロードするようにしている。Such a special-purpose DSP is manufactured as a one-chip semiconductor integrated circuit, and the memory capacity of each memory in the system is minimized in order to reduce the system / chip cost as much as possible. . Then, for the program memory for storing the program and the coefficient memory for storing the coefficient data whose value is fixed among the data, the required program and the coefficient data are downloaded from the host controller at any time.
【0004】図10に、係数メモリおよびプログラムメ
モリのそれぞれのメモリ内容を更新する機能を備えた従
来のDSPの要部の構成を示す。係数データを記憶する
係数メモリ100およびプログラムデータを記憶するプ
ログラムメモリ102はそれぞれ内部バス104に接続
されている。内部バス104には、このDSPとホスト
コントローラ120との間でプログラムやデータをやり
とりするためのインタフェース回路106も接続されて
いる。FIG. 10 shows a configuration of a main part of a conventional DSP having a function of updating the memory contents of a coefficient memory and a program memory. The coefficient memory 100 for storing coefficient data and the program memory 102 for storing program data are each connected to an internal bus 104. An interface circuit 106 for exchanging programs and data between the DSP and the host controller 120 is also connected to the internal bus 104.
【0005】このインタフェース回路106の中には、
ホストコントローラ120からのデータを受信するため
の受信レジスタ108と、更新に用いる一群の新たな係
数データC0,C1,…CN を記憶するためのバッファメモ
リ110と、それら一群の新たな係数データC0,C1,…
CN の中の先頭の係数データC0 が書き込まれるべき係
数メモリ100内のメモリ番地を表すアドレス情報SA
を保持するための更新開始アドレスレジスタ112とが
内蔵されている。これら更新のための一群の新たな係数
データC0,C1,…CN および更新開始アドレス情報SA
は、ホストコントローラ120より一緒に送られてき
て、受信バッファ108からバッファメモリ110およ
び更新開始アドレスレジスタ112にそれぞれ格納され
る。In the interface circuit 106,
A reception register 108 for receiving data from the host controller 120, a buffer memory 110 for storing a group of new coefficient data C0, C1, ... CN used for updating, and a group of new coefficient data C0, C1, ...
Address information SA representing the memory address in the coefficient memory 100 in which the first coefficient data C0 in CN is to be written
And an update start address register 112 for holding A group of new coefficient data C0, C1, ... CN for updating and update start address information SA
Are sent together from the host controller 120 and stored in the buffer memory 110 and the update start address register 112 from the reception buffer 108, respectively.
【0006】このDSPには、係数メモリ100のメモ
リ内容(係数データ)の更新を行うためのロジック回路
からなる係数更新制御部114が設けられている。この
係数更新制御部114には、インタフェース回路106
の先頭アドレスレジスタ112の内容(更新開始アドレ
ス情報SA)が与えられる。一方、係数メモリ100に
対する読み出しのメモリアクセス時にメモリアドレス回
路116より発生される読出しアドレスも、係数更新制
御部114に与えられる。係数更新制御部114は、現
在実行されているプログラムの命令が係数メモリ100
からデータの読み出しを行う命令であるか否かを判別す
る機能、メモリアドレス回路116からの読出しアドレ
スと更新開始アドレス情報SAとを比較して両者が一致
するか否かを判別する機能、およびインタフェース回路
106のバッファメモリ110に係数データの読み出し
を行わせる機能を有している。The DSP is provided with a coefficient update controller 114 including a logic circuit for updating the memory contents (coefficient data) of the coefficient memory 100. The coefficient update control unit 114 includes an interface circuit 106.
The contents of the start address register 112 (update start address information SA) are given. On the other hand, the read address generated by the memory address circuit 116 during the memory access for reading the coefficient memory 100 is also given to the coefficient update control unit 114. The coefficient update control unit 114 determines that the instruction of the currently executed program is the coefficient memory 100.
From the memory address circuit 116, a function of comparing the read address from the memory address circuit 116 with the update start address information SA to determine whether they match, and an interface The buffer memory 110 of the circuit 106 has a function of reading coefficient data.
【0007】更新のための一群の新たな係数データC0,
C1,…CN がバッファメモリ110に格納された後、実
行中のプログラムの命令が係数メモリ100からのデー
タの読み出しを行う命令で、かつその読出しアドレスが
更新開始アドレス情報SAと一致したときは、インタフ
ェース回路106のバッファメモリ110より先頭の係
数データC0 が読み出される。この読み出された係数デ
ータC0 は、内部バス104を介して、当該命令で指定
される行き先(たとえば図示しない演算部)に転送され
るとともに、係数メモリ100にも送られ、当該読出し
アドレスで指定されるメモリ番地に書き込まれる。この
ようにして、更新開始アドレス情報で指定される係数メ
モリ100内のメモリ番地においてメモリ内容(係数デ
ータ)が更新される。A group of new coefficient data C0 for updating,
When C1, ... CN are stored in the buffer memory 110 and the instruction of the program being executed is an instruction for reading data from the coefficient memory 100, and the read address matches the update start address information SA, The coefficient data C0 at the head is read from the buffer memory 110 of the interface circuit 106. The read coefficient data C0 is transferred via the internal bus 104 to the destination specified by the instruction (for example, an arithmetic unit not shown) and is also sent to the coefficient memory 100 to be specified by the read address. Is written to the memory address. In this way, the memory content (coefficient data) is updated at the memory address in the coefficient memory 100 designated by the update start address information.
【0008】その後、再び係数メモリ100からデータ
の読み出しが行われようとすると、インタフェース回路
106のバッファメモリ110より次の係数データC1
が読み出され、上記と同様にして、その係数データC1
が所定のデータ転送先へ送られるとともに、当該命令の
読出しアドレスで指定される係数メモリ100内のメモ
リ番地に書き込まれる。以後、バッファメモリ110内
の係数データが全て空(更新済み)になるまで、同様の
動作が繰り返される。Thereafter, when data is to be read from the coefficient memory 100 again, the next coefficient data C1 is read from the buffer memory 110 of the interface circuit 106.
Is read out and its coefficient data C1 is read in the same manner as above.
Is sent to a predetermined data transfer destination and is written in the memory address in the coefficient memory 100 designated by the read address of the instruction. After that, the same operation is repeated until all the coefficient data in the buffer memory 110 are empty (updated).
【0009】このDSPにおいてプログラムメモリ10
2のメモリ内容(プログラム)の更新は、ホストコント
ローラ120より新たなプログラムをダウンロードする
ことによって行われる。ホストコントローラ120から
の所定の制御信号がインタフェース回路106を介して
制御装置118に与えられることで、プログラム・ダウ
ンロード・モードに切り替えられる。プログラム・ダウ
ンロード・モードに切り替わると、それまで実行されて
いたプログラムは中断し、システムのリセットが行われ
た後、ホストコントローラ120からの一連のプログラ
ムデータがインタフェース回路106および内部バス1
04を介してプログラムメモリ102に転送(ダウンロ
ード)される。In this DSP, the program memory 10
The memory contents (program) of No. 2 are updated by downloading a new program from the host controller 120. A predetermined control signal from the host controller 120 is given to the control device 118 via the interface circuit 106 to switch to the program download mode. When the program is switched to the program download mode, the program that was being executed is interrupted, and after the system is reset, the series of program data from the host controller 120 is transferred to the interface circuit 106 and the internal bus 1.
It is transferred (downloaded) to the program memory 102 via 04.
【0010】[0010]
【発明が解決しようとする課題】上記したように、従来
のDSPにおいては、係数メモリ100に対する読出し
アドレスが更新開始アドレス情報SAに一致した時点か
らインタフェース回路106のバッファメモリ110内
の係数データC0,C1,…CN が全て空(更新済み)にな
るまでの間は所定のフラグが立って係数メモリ更新モー
ドとなり、このモード中は係数メモリ100に対する読
出し命令の度毎にバッファメモリ110から所定の順序
で1つの係数データCi が読み出され、その読み出され
た係数データCi が当該読出し命令で用いられると同時
に当該読出しアドレスで指定される係数メモリ100内
のメモリ番地に書き込まれるようになっている。As described above, in the conventional DSP, the coefficient data C0 in the buffer memory 110 of the interface circuit 106 from the time when the read address for the coefficient memory 100 matches the update start address information SA. A predetermined flag is set until the C1, ..., CN are all empty (updated), and the coefficient memory update mode is set. During this mode, the buffer memory 110 outputs a predetermined order every time a read command is issued to the coefficient memory 100. One coefficient data Ci is read out at the same time, and the read coefficient data Ci is used in the read command and simultaneously written into the memory address in the coefficient memory 100 designated by the read address. .
【0011】このような係数データ更新方式では、係数
メモリ更新モード中の係数メモリ100に対する読出し
命令の順序がバッファメモリ110内の係数データC0,
C1,…CN の順序にそれぞれ対応していなければならな
い。そうでないと、係数メモリ100に対する読出し命
令のアクセス先(メモリ番地)とバッファメモリ110
から読み出されるべき係数データCi の書込み先(更新
の対象となるメモリ番地)とが一致せず、当該命令の実
行処理と係数メモリ100のメモリ内容の更新を誤るこ
とになる。In such a coefficient data updating method, the order of the read command to the coefficient memory 100 in the coefficient memory updating mode is such that the coefficient data C0,
It must correspond to the order of C1, ... CN. Otherwise, the access destination (memory address) of the read instruction for the coefficient memory 100 and the buffer memory 110
The write destination (the memory address to be updated) of the coefficient data Ci to be read from does not match, and the execution process of the instruction and the update of the memory content of the coefficient memory 100 are erroneous.
【0012】しかしながら、係数データの更新順序また
は更新の対象となるメモリ番地の順序に読出し命令の順
序が完全に拘束されることは、プログラムのコーディン
グを難しくし、プログラム開発上のネックとなってい
る。しかも、コーディング段階で周到に読出し命令の順
序を係数データの更新順序に合わせても、プログラム実
行段階において係数メモリ更新モード中に割込み要求が
発生し、その割込み処理の中で係数メモリ100に対し
て読出しのメモリアクセスが行われた場合には、その時
点から命令の順序が係数データの更新順序に合わなくな
り、結果的に命令実行処理と係数メモリ更新処理を誤る
ことになる。However, the fact that the order of the read instructions is completely restricted by the order of updating the coefficient data or the order of the memory addresses to be updated makes the coding of the program difficult and becomes a bottleneck in the program development. . Moreover, even if the order of the read instructions is carefully matched with the update order of the coefficient data at the coding stage, an interrupt request is generated during the coefficient memory update mode at the program execution stage, and the coefficient memory 100 is requested during the interrupt process. When the memory access for reading is performed, the order of the instructions does not match the update order of the coefficient data from that point on time, and as a result, the instruction execution process and the coefficient memory update process are mistaken.
【0013】また、プログラムメモリ102のメモリ内
容(プログラム)を更新するため、従来のDSPでは、
上記したようにホストコントローラ120からのダウン
ロードを再度行うようにしている。しかし、プログラム
・ダウンロード・モードに切り替わることで、プログラ
ムの実行が停止し、DSP処理(音響処理、画像処理
等)が中断するという不都合がある。Further, in order to update the memory contents (program) of the program memory 102, in the conventional DSP,
As described above, the download from the host controller 120 is performed again. However, switching to the program download mode has a disadvantage that the execution of the program is stopped and the DSP processing (sound processing, image processing, etc.) is interrupted.
【0014】一般の汎用DSPでは、比較的大きなメモ
リ容量のプログラムメモリを内蔵したり、あるいは外部
にプロクラム用の補助メモリを増設することができるた
め、プログラム領域を十分に多くとれ、最初から必要量
のプログラムをプログラムメモリに書き込んでおくこと
が可能であり、したがってプロクラムの書き換え(更
新)をしないで済むことが多い。これに対して、上記の
ような特定用途向けの専用DSPにおいては、システム
/チップ・コストをできるだけ低く抑えているために、
外部にプログラム用の補助メモリを付加することさえで
きないものがほとんどであり、内部メモリの限られたプ
ログラム領域(たとえば256〜512ワード)を如何
に上手に利用するかが処理性能を大きく左右する。しか
るに、上記した従来のDSPのように、プロクラムの書
き換え(更新)の度毎に実行中の処理を停止させるよう
では、DSPの処理性能を著しく低下させてしまう。In a general-purpose DSP, a program memory having a relatively large memory capacity can be built in, or an auxiliary memory for a program can be added to the outside, so that a sufficient program area can be obtained and a necessary amount can be provided from the beginning. It is possible to write the program in the program memory in advance, and thus it is often unnecessary to rewrite (update) the program. On the other hand, in the dedicated DSP for a specific application as described above, the system / chip cost is kept as low as possible.
In most cases, it is not possible to even add an auxiliary memory for programs to the outside, and how well a limited program area (for example, 256 to 512 words) in the internal memory is used effectively affects the processing performance. However, like the conventional DSP described above, if the process being executed is stopped every time the program is rewritten (updated), the processing performance of the DSP is significantly reduced.
【0015】本発明は、かかる従来技術の問題点に鑑み
てなされたものである。すなわち、本発明の第1の目的
は、ディジタル信号処理装置におけるデータ記憶用メモ
リのメモリ内容を簡単なプログラミングで間違いなく更
新できるようにしたメモリ内容更新回路を提供すること
にある。The present invention has been made in view of the above problems of the prior art. That is, a first object of the present invention is to provide a memory content updating circuit capable of surely updating the memory content of a data storage memory in a digital signal processing device by simple programming.
【0016】また、本発明の第2の目的は、ディジタル
信号処理装置におけるプログラム記憶用メモリのメモリ
内容を任意のメモリ番地でプログラムの実行を停止させ
ることなく更新できるようにしたメモリ内容更新回路を
提供することにある。A second object of the present invention is to provide a memory content updating circuit capable of updating the memory content of the program storage memory in the digital signal processing device at an arbitrary memory address without stopping the execution of the program. To provide.
【0017】[0017]
【課題を解決するための手段】上記第1の目的を達成す
るため、本発明の第1のメモリ内容更新回路は、ディジ
タル信号処理装置内のデータ記憶用メモリのメモリ内容
を外部の制御装置からの要求に応じて更新するためのメ
モリ内容更新回路において、前記データ記憶用メモリ内
の更新の対象となる各々のメモリ番地を表すアドレス情
報と更新のための新たなデータとを前記外部制御装置よ
り受信する受信手段と、前記受信手段に受信された前記
アドレス情報と前記更新のための新たなデータとを記憶
するバッファメモリと、前記ディジタル信号処理装置内
で前記データ記憶用メモリから任意のデータを読み出す
ために発生されたアドレス情報を前記バッファメモリに
格納されている前記アドレス情報と照合して一致するか
否かを判定するアドレス照合手段と、前記アドレス照合
手段より照合一致の判定結果が得られたときは当該命令
の実行サイクルを中断して、前記照合一致のアドレス情
報に対応する前記更新のための新たなデータを前記バッ
ファメモリから読み出し、その読み出したデータを当該
命令で指定された行き先へ送ると同時に前記アドレス情
報で指定される前記データ記憶用メモリ内のメモリ番地
に書き込むデータ操作手段とを有する構成とした。In order to achieve the first object, the first memory content updating circuit of the present invention is arranged such that the memory content of the data storage memory in the digital signal processing device is transferred from an external control device. In the memory content updating circuit for updating in response to the request, the external control device receives address information indicating each memory address in the memory for data updating and new data for updating. Receiving means for receiving, buffer memory for storing the address information received by the receiving means and new data for updating, and arbitrary data from the data storing memory in the digital signal processing device. The address information generated for reading is compared with the address information stored in the buffer memory to determine whether or not there is a match. When the result of collation coincidence is obtained from the address collation unit and the address collation unit, the execution cycle of the instruction is interrupted, and new data for updating corresponding to the address information of the collation coincidence is obtained. The data operation means reads the data from the buffer memory, sends the read data to the destination specified by the instruction, and writes the data to the memory address in the data storage memory specified by the address information.
【0018】また、上記第2の目的を達成するために、
本発明の第2のメモリ内容更新回路は、ディジタル信号
処理装置内のプログラム記憶用メモリのメモリ内容を外
部の制御装置からの要求に応じて更新するためのメモリ
内容更新回路において、前記プログラム記憶用メモリ内
の更新の対象となるメモリ番地を表すアドレス情報を予
め記憶しておくアドレス情報記憶手段と、前記外部制御
装置より送信された更新のための新たなプログラムデー
タを受信する受信手段と、前記受信手段に受信された前
記更新のための新たなプログラムデータを保持するバッ
ファ手段と、更新のための所定の割込み要求を発生する
割込み発生手段と、前記割込み要求に応動して、前記ア
ドレス情報記憶手段より前記アドレス情報を読み出し、
読み出した前記アドレス情報で指定される前記プログラ
ム記憶用メモリ内のメモリ番地に前記バッファ手段に保
持されている前記更新のための新たなプログラムデータ
を転送する割込み処理手段とを有する構成とした。Further, in order to achieve the above second object,
A second memory content updating circuit of the present invention is a memory content updating circuit for updating the memory content of a program storing memory in a digital signal processing device in response to a request from an external control device. Address information storage means for storing in advance address information indicating a memory address to be updated in the memory; receiving means for receiving new program data for update transmitted from the external control device; Buffer means for holding the new program data for updating received by the receiving means, interrupt generating means for generating a predetermined interrupt request for updating, and address information storage in response to the interrupt request Reading the address information from the means,
An interrupt processing means for transferring the new program data for the update held in the buffer means to a memory address in the program storage memory designated by the read address information is provided.
【0019】また、本発明の第3のメモリ内容更新回路
は、上記第2のメモリ内容更新回路において、前記アド
レス情報記憶手段より読み出された前記アドレス情報を
所定の値だけインクリメントまたはディクリメントする
アドレス演算手段と、前記アドレス演算手段より得られ
た新たなアドレス情報を前記アドレス情報記憶手段に書
き込むアドレス書込み手段とを有する構成とした。Further, a third memory content updating circuit of the present invention is such that, in the second memory content updating circuit, the address information read from the address information storage means is incremented or decremented by a predetermined value. It is configured to have address calculation means and address writing means for writing new address information obtained by the address calculation means into the address information storage means.
【0020】[0020]
【作用】本発明の第1のメモリ内容更新回路では、バッ
ファメモリに、更新のための新たなデータと一緒にそれ
ぞれの書き込み先(更新の対象となるメモリ番地)を表
すアドレス情報(更新アドレス情報)もセット(記憶)
される。アドレス照合手段は、所定のデータ記憶用メモ
リに向けられた読出しアドレスを各更新アドレスと比較
して、一致するか否かを判定する。そして、比較一致が
得られたときに、データ操作手段が作動して、その更新
アドレス情報と対応するデータをバッファメモリから読
み出して当該命令で指定された行き先へ送ると同時に、
該データ記憶用メモリにも送って該更新アドレス情報で
指定されるメモリ番地に書き込む。In the first memory content updating circuit of the present invention, address information (update address information) indicating each write destination (memory address to be updated) is written in the buffer memory together with new data for updating. ) Also set (memory)
To be done. The address collating means compares the read address directed to a predetermined data storage memory with each update address to determine whether or not they match. Then, when a comparison match is obtained, the data operation means operates to read the data corresponding to the updated address information from the buffer memory and send it to the destination specified by the instruction,
It is also sent to the data storage memory and written in the memory address specified by the update address information.
【0021】本発明の第2のメモリ内容更新回路では、
プログラム記憶用メモリ内の更新の対象となるメモリ番
地を表すアドレス情報がアドレス情報記憶手段に予めセ
ット(記憶)される。外部制御装置からの更新のための
新たなプログラムデータが受信手段に受信されると、割
込み発生手段が所定の割込み要求を発生することで、割
込み処理手段が作動する。この割込み処理では、該アド
レス情報記憶手段よりアドレス情報が読み出され、その
アドレス情報で指定されるプログラム記憶用メモリ内の
メモリ番地に受信手段からのプログラムデータが転送さ
れる。In the second memory content updating circuit of the present invention,
Address information representing a memory address to be updated in the program storage memory is set (stored) in advance in the address information storage means. When new program data for updating from the external control device is received by the receiving means, the interrupt generating means issues a predetermined interrupt request, whereby the interrupt processing means operates. In this interrupt processing, the address information is read from the address information storage means, and the program data from the reception means is transferred to the memory address in the program storage memory designated by the address information.
【0022】本発明の第3のメモリ内容更新回路では、
上記第2のメモリ内容更新回路において、アドレス情報
記憶手段より読み出されたアドレス情報がアドレス演算
手段により次の更新の対象となるメモリ番地を表すアド
レス情報に変換される。そして、この新たなアドレス情
報がアドレス書込み手段によってアドレス情報記憶手段
に書き込まれる。In the third memory content updating circuit of the present invention,
In the second memory content update circuit, the address information read from the address information storage means is converted into address information representing the memory address to be updated next by the address calculation means. Then, this new address information is written in the address information storage means by the address writing means.
【0023】[0023]
【実施例】以下、図1〜図9を参照して本発明の実施例
を説明する。Embodiments of the present invention will be described below with reference to FIGS.
【0024】図1は、本発明の一実施例によるオーディ
オ・ディジタル信号処理用DSPのシステム構成を示
す。このDSPシステムは、たとえば各々が24ビット
のデータ・バス幅を有する互いに独立した3本のデータ
バス(C−BUS10,D−BUS12,G−BUS1
4)を有し、これらのバスに各部を図示のように接続し
てなる。FIG. 1 shows a system configuration of an audio / digital signal processing DSP according to an embodiment of the present invention. This DSP system has, for example, three independent data buses (C-BUS10, D-BUS12, G-BUS1) each having a data bus width of 24 bits.
4) and each part is connected to these buses as shown in the figure.
【0025】C−BUS10には、係数メモリ(C−M
EM)16と、汎用メモリ(G−MEM)20と、算術
論理演算ユニット(ALU)26と、積和演算器(MA
C)28と、プログラムメモリ(P−MEM)32と、
ホストインタフェース回路(HOST−IF)34とが
接続されている。The C-BUS 10 has a coefficient memory (C-M
EM) 16, general-purpose memory (G-MEM) 20, arithmetic logic operation unit (ALU) 26, and product-sum operation unit (MA)
C) 28, a program memory (P-MEM) 32,
The host interface circuit (HOST-IF) 34 is connected.
【0026】D−BUS12には、データメモリ(D−
MEM)18と、汎用メモリ(G−MEM)20と、外
部メモリ入出力インタフェース回路(EX−IF)22
と、オーディオ・インタフェース回路(AU−IF)2
4と、算術論理演算ユニット(ALU)26と、積和演
算器(MAC)28とが接続されている。The D-BUS 12 has a data memory (D-
MEM) 18, general-purpose memory (G-MEM) 20, and external memory input / output interface circuit (EX-IF) 22
And an audio interface circuit (AU-IF) 2
4, an arithmetic logic operation unit (ALU) 26, and a product-sum operation unit (MAC) 28 are connected.
【0027】G−BUS14には、汎用メモリ(G−M
EM)20と、外部メモリ入出力インタフェース回路
(EX−IF)22と、算術論理演算ユニット(AL
U)26とが接続されている。The G-BUS 14 includes a general-purpose memory (GM
EM) 20, external memory input / output interface circuit (EX-IF) 22, arithmetic logic unit (AL)
U) 26 is connected.
【0028】C−MEM16、D−MEM18、G−M
EM20は、たとえば各々が256×24ビットのメモ
リ容量を有するSRAM(Static Randam Access Memor
y)からなる。C−MEM16には、主として積和演算の
ための係数データが格納されるとともに、EX−IF2
2に接続されている外部メモリ(図示せず)にアクセス
するためのアドレス情報も格納される。D−MEM18
には、積和演算その他の演算に用いるデータ(主として
オーディオデータ)および演算結果のデータが格納され
る。C-MEM16, D-MEM18, GM
The EM 20 is an SRAM (Static Randam Access Memor) having a memory capacity of 256 × 24 bits, for example.
y). The C-MEM 16 mainly stores coefficient data for sum-of-products calculation, and EX-IF2
Address information for accessing an external memory (not shown) connected to the memory 2 is also stored. D-MEM18
Stores data (mainly audio data) used for product-sum calculation and other calculations and data of calculation results.
【0029】G−MEM20は、通常はD−MEM18
の拡張メモリとして使用される。音場再生等のように大
量の遅延データを扱う場合には、D−MEM18に入り
切れない遅延データがRAMからなる外部メモリに蓄積
され、必要な時に所定の命令(バックグランド外部メモ
リ読出し命令)によって外部メモリから遅延データをG
−MEM20に取り込むようにしている。この場合、G
−MEM20には、外部メモリをアクセスするためのア
ドレス情報も格納される。なお、G−MEM20は、C
−MEM16の拡張メモリとしても使用可能であり、必
要に応じて係数データを格納することもある。The G-MEM 20 is usually the D-MEM 18
Used as extended memory. When handling a large amount of delay data such as sound field reproduction, the delay data that cannot be stored in the D-MEM 18 is accumulated in the external memory composed of RAM, and a predetermined command (background external memory read command) is stored when necessary. Delay data from external memory by G
-Incorporated in MEM20. In this case, G
The MEM 20 also stores address information for accessing the external memory. In addition, G-MEM20 is C
-It can also be used as an expansion memory of the MEM 16, and may store coefficient data as needed.
【0030】C−MEM16、D−MEM18およびG
−MEM20には、それぞれアドレス計算を行うための
アドレッシングユニット17,19,21が付いてい
る。C-MEM16, D-MEM18 and G
The MEM 20 is provided with addressing units 17, 19 and 21 for performing address calculation, respectively.
【0031】EX−IF22は、上記遅延データ蓄積用
の外部メモリにも接続され、その外部メモリにアクセス
してデータの書き込みまたは読み出しを行えるメモリ制
御機能を有しており、メモリアクセスのアドレス情報を
保持するアドレスレジスタと書き込みまたは読み出しデ
ータを保持するデータレジスタを内蔵している。The EX-IF 22 is also connected to the external memory for accumulating the delayed data, and has a memory control function capable of accessing the external memory to write or read data, and stores address information for memory access. It has an address register to hold and a data register to hold write or read data.
【0032】AU−IF24は、本DSPと外部のディ
ジタル・オーディオ回路との間でデータのやりとりを行
うためのインタフェース回路であり、たとえば前段のC
D再生回路や次段のディジタルフィルタあるいはD/A
コンバータ等に接続されている。外部回路からオーディ
オ信号(データ)が入力されるときは、AU−IF24
内のレジスタに1個のデータが揃うと、後述する制御装
置30に割込みがかけられ、割込み処理で該データがD
−BUS12を通ってD−MEM18に格納されるよう
になっている。The AU-IF 24 is an interface circuit for exchanging data between the DSP and an external digital audio circuit.
D playback circuit, next stage digital filter or D / A
It is connected to a converter etc. When an audio signal (data) is input from an external circuit, the AU-IF24
When one piece of data is stored in the internal register, an interrupt is issued to the control device 30 which will be described later, and the data is D
-It is designed to be stored in the D-MEM 18 through the BUS 12.
【0033】ALU26は、任意の算術演算および論理
演算を行う演算器であり、アキュムレータも内蔵してい
る。MAC28は、専ら積和演算を行う演算器であり、
乗算器とアキュムレータを内蔵している。このように2
つの演算器(ALU26、MAC28)が備えられてい
るため、たとえばALU26で加算を行いながらMAC
28で畳み込みを行うというような並列処理が可能とな
っている。The ALU 26 is an arithmetic unit for performing arbitrary arithmetic operations and logical operations, and also has an accumulator built therein. The MAC 28 is an arithmetic unit that exclusively performs sum-of-products arithmetic,
It has a built-in multiplier and accumulator. 2 like this
Since one arithmetic unit (ALU26, MAC28) is provided, MAC is performed while adding with the ALU26, for example.
Parallel processing such as convolution with 28 is possible.
【0034】P−MEM32は、たとえば512×32
ビットのメモリ容量を有するSRAM(Static Randam
Access Memory)からなり、本DSPの処理動作を規定す
るプログラムを格納する。制御回路30は、P−MEM
32から命令コードを逐次読み出し、PLA (Program
Logic Array)方式でシステム内のレジスタ、ゲート類
(図示せず)を制御し、各部に当該命令を実行させるよ
うに機能する。図1では説明の便宜上、制御バスは図示
していない。The P-MEM 32 is, for example, 512 × 32.
SRAM (Static Randam) with a bit memory capacity
Access Memory) and stores a program that defines the processing operation of the DSP. The control circuit 30 is a P-MEM
The instruction code is sequentially read out from 32 and PLA (Program
It functions to control the registers and gates (not shown) in the system by the Logic Array method and cause each unit to execute the instruction. The control bus is not shown in FIG. 1 for convenience of description.
【0035】HOST−IF34は、本DSPとホスト
コントローラ36との間でデータや制御信号をやりとり
するためのインタフェース回路であり、C−BUS1
0,D−BUS12とはパラレルポートで接続され、ホ
ストコントローラ36とはシリアルポートで接続されて
いる。P−MEM32に格納されるプログラムデータ、
C−MEM16に格納される係数データおよびアドレス
情報、G−MEM20に格納されるアドレス情報は、ホ
ストコントローラ36より与えられ、HOST−IF3
4からC−BUS10を介して各メモリにダウンロード
される。The HOST-IF 34 is an interface circuit for exchanging data and control signals between the DSP and the host controller 36, and the C-BUS 1
0, D-BUS 12 are connected by a parallel port, and the host controller 36 is connected by a serial port. Program data stored in the P-MEM 32,
The coefficient data and the address information stored in the C-MEM 16 and the address information stored in the G-MEM 20 are given from the host controller 36, and the HOST-IF 3
4 through C-BUS 10 to each memory.
【0036】図2に示すように、HOST−IF34
は、タイミング制御ユニット40と、データ受信ユニッ
ト42と、C−MEM更新バッファ44と、データ送信
ユニット46とから構成されている。As shown in FIG. 2, the HOST-IF34
Is composed of a timing control unit 40, a data receiving unit 42, a C-MEM update buffer 44, and a data transmitting unit 46.
【0037】タイミング制御ユニット40は、たとえば
図3の表で規定されるような複数個の外部信号入力ピン
CS- 、HRBCK、HRS、HXBCK、HXS、H
BCKS、HDIRを有しており、これらの入力ピンに
ホストコントローラ36からの所定の制御信号をそれぞ
れ入力し、HOST−IF34内の各部の動作タイミン
グを制御するように構成されている。The timing control unit 40, for example a plurality of external signal input pins CS, as defined in the table of FIG. 3 -, HRBCK, HRS, HXBCK , HXS, H
It has BCKS and HDIR, and is configured to input a predetermined control signal from the host controller 36 to these input pins to control the operation timing of each unit in the HOST-IF 34.
【0038】データ受信ユニット42は、たとえば図4
に示すように、1個のシリアル入力パラレル出力シフト
レジスタSHR(8ビット)と、1個のホストインタフ
ェース・モード・レジスタHIM(8ビット)と、5個
の受信用レジスタHR4 〜HR0 とから構成されてい
る。シフトレジスタSHRの入力端子は、図3の表に規
定されるようにホストコントローラ36からのシリアル
データを入力する信号入力ピンHRに接続されている。The data receiving unit 42 is, for example, shown in FIG.
As shown in FIG. 1, it is composed of one serial input parallel output shift register SHR (8 bits), one host interface mode register HIM (8 bits), and five reception registers HR4 to HR0. ing. The input terminal of the shift register SHR is connected to the signal input pin HR for inputting the serial data from the host controller 36 as defined in the table of FIG.
【0039】ホストコントローラ36よりタイミング制
御ユニット40に与えられるチップ・セレクト信号CS
- がハイ・レベルからロー・レベルになった後、最初の
1バイトのデータ(モード選択データ)がホストインタ
フェース・モード・レジスタHIMに書き込まれ、HO
ST−IF34の受信または送信モードが選択されるよ
うになっている。このモード・レジスタHIMは、それ
以外にも図5の表に示すようにホストコントローラ36
からの割込み要求やダウンロード後のプログラム実行開
始タイミングの制御等に用いられる。Chip select signal CS provided from the host controller 36 to the timing control unit 40
- it is then changed from the high level to a low level, the first byte of data (mode selection data) is written to the host interface mode register HIM, HO
The ST-IF 34 reception or transmission mode is selected. This mode register HIM is also used by the host controller 36 as shown in the table of FIG.
It is used for interrupt requests from the computer and control of program execution start timing after downloading.
【0040】ホストコントローラ36よりモード選択デ
ータに続いて送られてくるデータは選択されたモードに
応じて受信用レジスタHR4 〜HR0 を経て制御装置3
0内のコントロール・レジスタ(CR3 〜0 )、P−M
EM32、C−MEM16またはHOST−IF34内
のC−MEM更新バッファ44(CUADR,CUBU
F)へ書き込まれるようになっている。The data sent from the host controller 36 following the mode selection data passes through the receiving registers HR4 to HR0 according to the selected mode and the control unit 3
Control registers in 0 (CR3-0), PM
C-MEM update buffer 44 (CUADR, CUBU in EM32, C-MEM16 or HOST-IF34)
F).
【0041】図6に、C−MEM更新バッファ44の構
成を示す。C−MEM更新バッファ44は、C−MEM
16内の更新の対象となる各々のメモリ番地を表すアド
レス情報(たとえば9ビット)を記憶するためのアドレ
ス・バッファCUADRと、更新に用いる新たな係数デ
ータ(たとえば24ビット)を記憶するための係数デー
タ・バッファCUBUFとから構成されている。たとえ
ば、アドレス・バッファCUADRは(n+1)個(た
とえば16個)の9ビット・レジスタCUADR(0) 〜
CUADR(n) からなるFIFO(先入れ先出し)型メ
モリとして構成され、係数データ・バッファCUBUF
も(n+1)個(たとえば16個)の24ビット・レジ
スタCUBUF(0) 〜CUBUF(n) からなるFIFO
(先入れ先出し)型メモリとして構成されている。FIG. 6 shows the configuration of the C-MEM update buffer 44. The C-MEM update buffer 44 is a C-MEM.
Address buffer CUADR for storing address information (for example, 9 bits) representing each memory address in 16 to be updated, and a coefficient for storing new coefficient data (for example, 24 bits) used for updating It is composed of a data buffer CUBUF. For example, the address buffer CUADR has (n + 1) (for example, 16) 9-bit registers CUADR (0) ...
It is configured as a FIFO (first in, first out) type memory consisting of CUADR (n) and has a coefficient data buffer CUBUF.
Also a FIFO consisting of (n + 1) (eg 16) 24-bit registers CUBUF (0) to CUBUF (n)
It is configured as a (first in, first out) type memory.
【0042】なお、本実施例におけるFIFOの概念
は、物理的な先入れ先出し方式だけでなく、たとえばフ
ラグを用いて入れる順序と出す順序を決める論理的な意
味での先入れ先出し方式も含んでいる。The concept of the FIFO in this embodiment includes not only the physical first-in first-out method but also the first-in first-out method in a logical sense that determines the order of inserting and the order of outputting using a flag, for example.
【0043】図6には、通常はHOST−IF34の外
に設けられるアドレス比較器50および係数更新制御回
路52も示されている。アドレス・バッファCUADR
はアドレス比較器50の一方の入力端子に接続されてお
り、レジスタCUADR(0)〜CUADR(n) に格納さ
れた更新のための一群のアドレス情報が順番に1つずつ
アドレス比較器50に入力されるようになっている。ア
ドレス比較器50の他方の入力端子には、アドレッシン
グユニット17で発生されるC−MEM16に対する読
出しアドレス情報が入力される。FIG. 6 also shows an address comparator 50 and a coefficient update control circuit 52 which are normally provided outside the HOST-IF 34. Address buffer CUADR
Is connected to one input terminal of the address comparator 50, and the group of address information for updating stored in the registers CUADR (0) to CUADR (n) is input to the address comparator 50 one by one in order. It is supposed to be done. Read address information for the C-MEM 16 generated by the addressing unit 17 is input to the other input terminal of the address comparator 50.
【0044】アドレス比較器50は、両入力端子に入力
されるアドレス情報を比較して、それらが一致するか否
かを表す比較出力信号CPを出力する。アドレス比較器
50からの比較出力信号CPは係数更新制御回路52に
入力される。係数更新制御回路52には、制御装置30
より発生されるC−MEM16に対する読出し要求信号
および書込み要求信号も入力される。The address comparator 50 compares the address information input to both input terminals and outputs a comparison output signal CP indicating whether or not they match. The comparison output signal CP from the address comparator 50 is input to the coefficient update control circuit 52. The coefficient update control circuit 52 includes the control device 30.
A read request signal and a write request signal for the C-MEM 16 generated by the above are also input.
【0045】プログラム実行中のある命令がC−MEM
16からデータの読出しを行うものである場合、制御装
置30より読出し要求信号が係数更新制御回路52に与
えられる。一方、アドレッシングユニット17からの読
出しアドレス情報が比較器50に与えられる。アドレス
・バッファCUADRが空になっていないとき、つまり
レジスタCUADR(0) 〜CUADR(n) の中の少なく
とも1つに未使用の更新アドレス情報が残っているとき
は、それらのうちの最も高い順位の更新アドレス情報が
比較器50に与えられている。比較器50は、当該読出
しアドレス情報がその更新アドレス情報に一致すれば、
比較一致を表す比較出力信号COを出力する。An instruction during program execution is C-MEM
In the case of reading data from 16, the controller 30 gives a read request signal to the coefficient update control circuit 52. On the other hand, the read address information from the addressing unit 17 is given to the comparator 50. If the address buffer CUADR is not empty, that is, if unused update address information remains in at least one of the registers CUADR (0) to CUADR (n), the highest rank of them The updated address information of the above is given to the comparator 50. If the read address information matches the updated address information, the comparator 50
A comparison output signal CO representing comparison match is output.
【0046】この場合、係数更新制御回路52は、制御
装置30からの読出し要求信号と比較器50からの比較
出力信号CPとの論理をとり、C−MEM16に対して
読出し制御信号ではなく書込み制御信号を送る。これと
同時に、係数更新制御回路52は、係数データ・バッフ
ァCUBUFに制御信号を与え、今回比較一致のあった
更新アドレス情報に対応する係数データを読み出させ
る。係数データ・バッファCUBUFより読み出された
係数データは、C−BUS10を通って当該読出し命令
で指定された行き先へ送られるとともに、C−MEM1
6にも送られる。C−MEM16には、アドレッシング
ユニット17からのアドレス情報および係数更新制御回
路52からの書込み制御信号も送られて来ており、係数
データ・バッファCUBUFからの該係数データは該ア
ドレス情報で指定されるメモリ番地に書き込まれる。In this case, the coefficient update control circuit 52 takes the logic of the read request signal from the control device 30 and the comparison output signal CP from the comparator 50, and controls the C-MEM 16 not to read it but to write it. Send a signal. At the same time, the coefficient update control circuit 52 gives a control signal to the coefficient data buffer CUBUF to read the coefficient data corresponding to the update address information which has been compared and matched this time. The coefficient data read from the coefficient data buffer CUBUF is sent to the destination specified by the read command through the C-BUS 10 and at the same time the C-MEM 1
Also sent to 6. Address information from the addressing unit 17 and a write control signal from the coefficient update control circuit 52 are also sent to the C-MEM 16, and the coefficient data from the coefficient data buffer CUBUF is designated by the address information. It is written in the memory address.
【0047】このようにして、HOST−IF34のC
−MEM更新バッファ44に格納された更新のためのア
ドレス情報および新たな係数データが全部空(使用済
み)になるまで、C−MEM16に対する読出し命令の
度毎に上記の動作が行われ、読出しアドレス情報が更新
アドレス情報に一致した場合に、その更新アドレス情報
に対応する新たな係数データがC−MEM更新バッファ
44より読み出され、この読み出された係数データが当
該読出し命令で使用されるとともに当該読出しアドレス
情報(つまり更新アドレス情報)で指定されるC−ME
M16のメモリ番地に書き込まれるようになっている。
C−MEM更新バッファ44内で更新のためのアドレス
情報および新たな係数データが全部空(使用済み)にな
ると、エンプティ・フラグEMPTY- がロウ・レベル
になり、ホストコントローラ36に更新が終了したこと
を知らせる。In this way, the C of the HOST-IF34 is
The above operation is performed each time a read command is issued to the C-MEM 16 until the address information for update and the new coefficient data stored in the MEM update buffer 44 become empty (used), and the read address. When the information matches the updated address information, new coefficient data corresponding to the updated address information is read from the C-MEM update buffer 44, and the read coefficient data is used in the read instruction. C-ME specified by the read address information (that is, updated address information)
The data is written in the memory address of M16.
When the address information and the new coefficient data for updating in the C-MEM update buffer 44 is all empty (used), the empty flag EMPTY - becomes the low level, the update to the host controller 36 has been completed Let me know.
【0048】図7は、C−MEM16内のメモリ内容を
更新するためのホストコントローラ36とHOST−I
F34との間の交信のフォーマットを示す。たとえば再
生音の音質調整に応じてフィルタ特性を変えるためにC
−MEM16内のメモリ内容(係数データ)を一部更新
する必要が生じた場合、ホストコントローラ36は、H
OST−IF34に対し、チップ・セレクト信号CS-
をイネーブル状態(ロウ・レベル)にしたうえで、C−
MEM更新モードを指示するモード選択データを最初に
送信し、次に更新のためのアドレス情報および新たな係
数データをそれぞれ1ワードずつ必要な分(たとえばn
ワード分)だけ送信する。FIG. 7 shows a host controller 36 and HOST-I for updating the memory contents in the C-MEM 16.
The format of communication with F34 is shown. For example, to change the filter characteristics according to the sound quality adjustment of the reproduced sound, C
-When it is necessary to partially update the memory contents (coefficient data) in the MEM 16, the host controller 36
For OST-IF34, chip select signal CS -
To the enable state (low level) and then C-
Mode selection data for instructing the MEM update mode is first transmitted, and then address information for update and new coefficient data for each one word are required (for example, n.
Send only word).
【0049】モード選択データは、上記したように、デ
ータ受信ユニット42のホストインタフェース・モード
・レジスタHIMを介して制御装置30へ送られる。ま
た、各更新アドレス情報は、データ受信ユニット42の
受信用レジスタHR4,HR3を介してC−MEM更新バ
ッファ44のアドレス・バッファCUADRの各アドレ
ス・レジスタCUADR(i) に格納される。また、各新
たな係数データは、データ受信ユニット42の受信用レ
ジスタHR2,HR1,HR0 を介してC−MEM更新バッ
ファ44の各係数データ・バッファCUBUF(i) に格
納される。The mode selection data is sent to the controller 30 via the host interface mode register HIM of the data receiving unit 42, as described above. Further, each update address information is stored in each address register CUADR (i) of the address buffer CUADR of the C-MEM update buffer 44 via the receiving registers HR4 and HR3 of the data receiving unit 42. Further, each new coefficient data is stored in each coefficient data buffer CUBUF (i) of the C-MEM update buffer 44 via the receiving registers HR2, HR1, HR0 of the data receiving unit 42.
【0050】図7において、モード選択データがホスト
インタフェース・モード・レジスタHIMに書き込まれ
ると、その時C−MEM更新バッファ44に未使用の係
数データが一部残っていても、バッファ44の全てのレ
ジスタがクリアされ、エンプティ・フラグEMPTY-
が強制的にロウ・レベル(書込み可能状態)になる。そ
して、第1組の更新のためのアドレス情報および新たな
係数データがそれぞれ受信用レジスタ(HR4,HR3
),(HR2,HR1,HR0 )からC−MEM更新バッ
ファ44のアドレス・バッファCUADR(0) および係
数データ・バッファCUBUF(0) に転送されると、そ
の時点でエンプティ・フラグEMPTY- がハイ・レベ
ルになる。In FIG. 7, when the mode selection data is written in the host interface mode register HIM, even if some unused coefficient data remains in the C-MEM update buffer 44 at that time, all the registers in the buffer 44 will remain. There are clear, empty flag eMPTY -
Is forced to low level (write enabled state). Then, the address information for updating the first set and the new coefficient data are respectively received by the receiving registers (HR4, HR3).
), (HR2, HR1, when transferred from HR0) to C-MEM address buffer CUADR (0 update buffer 44) and the coefficient data buffer CUBUF (0), empty flag at that time EMPTY - is high Become a level.
【0051】所要の更新アドレス情報および新たな係数
データの送信を終了すると、ホストコントローラ36
は、当該DSPに対するチップ・セレクト信号CS- を
ディスエーブル状態(ハイ・レベル)にする。これで、
C−MEM16のメモリ内容についての更新動作がスタ
ンバイ状態となる。ただし、CS- がハイ・レベルにな
っている間は、エンプティ・フラグEMPTY- がハイ
インピーダンスレベル(Hi-z) になる。Upon completion of transmission of the required update address information and new coefficient data, the host controller 36
The chip select signal to the DSP CS - disabling state (high level) to. with this,
The update operation for the memory contents of the C-MEM 16 enters the standby state. However, while CS - is at the high level, the empty flag EMPTY - is at the high impedance level (Hi-z).
【0052】上記したように、本実施例のDSPでは、
HOST−IF34のC−MEM更新バッファ44に、
更新のための一群の係数データがそれぞれの書込み先の
アドレス情報と一緒に格納される。そして、C−MEM
16に対する読出し命令が行われる度毎に各更新アドレ
ス情報が当該読出しアドレス情報と比較され、両者が一
致した場合にそのアドレス情報で指定されるC−MEM
16内のメモリ番地でメモリ内容(係数データ)の更新
が行われる。As described above, in the DSP of this embodiment,
In the C-MEM update buffer 44 of the HOST-IF 34,
A group of coefficient data for updating is stored together with the address information of each writing destination. And C-MEM
Each time a read command for 16 is performed, each update address information is compared with the read address information, and if the two match, the C-MEM designated by the address information.
The memory contents (coefficient data) are updated at the memory address in 16.
【0053】したがって、たとえば第1組の更新のため
のアドレス情報および新たな係数データが更新に使用さ
れた後に、C−MEM16内の更新対象以外のメモリ番
地に読出しのメモリアクセスが行われても、アドレス比
較器50より比較一致の比較出力信号CPが出力されな
いため、更新動作は発動せず、当該読出し命令がそのま
ま実行される。そして、プログラムの実行命令が第2組
の更新アドレス情報で指定されるC−MEM16内のメ
モリ番地に読出しのメモリアクセスを行う段になって、
アドレス比較器50より比較一致の比較出力信号CPが
出力され、この時点で第2組の係数データに係る更新動
作が行われる。Therefore, for example, even if the memory information other than the update target in the C-MEM 16 is accessed for reading after the address information for updating the first set and the new coefficient data are used for updating. , The address comparator 50 does not output the comparison output signal CP for comparison and coincidence, so that the update operation is not activated and the read command is executed as it is. Then, the execution instruction of the program becomes a stage for performing read memory access to the memory address in the C-MEM 16 specified by the second set of update address information,
The address comparator 50 outputs the comparison output signal CP indicating comparison and coincidence, and at this time, the update operation relating to the second set of coefficient data is performed.
【0054】これにより、係数メモリ更新モード中にプ
ロクラムの実行命令、特にC−MEM16に対する読出
し命令が更新対象以外のメモリ番地にアクセスしても、
間違った命令実行処理と更新処理が行われるおそれはな
い。したがって、C−MEM16の更新のためにプログ
ラムのコーディングが制限されるようなことはなく、ソ
フトウェアの開発効率が改善される。また、係数メモリ
更新モード中に割込みが発生しても、命令実行処理と更
新処理を誤るおそれはないので、システムの信頼性を向
上させることもできる。As a result, even if a program execution instruction, particularly a read instruction for the C-MEM 16, accesses a memory address other than the update target during the coefficient memory update mode,
There is no risk that wrong instruction execution processing and update processing will be performed. Therefore, the coding of the program is not restricted due to the update of the C-MEM 16, and the software development efficiency is improved. Further, even if an interrupt occurs during the coefficient memory update mode, there is no risk of erroneous instruction execution processing and update processing, so system reliability can be improved.
【0055】なお、本実施例では、C−MEM更新バッ
ファ44内の未使用の更新アドレス情報は順番に1つず
つアドレス比較器50に与えられるようにしている。こ
のため、C−MEM16に対する読出しアドレス情報と
比較される更新アドレス情報は1つであり、次にC−M
EM更新バッファ44より読み出されるべき係数データ
は決まっている。通常のデイジタル信号処理では、一群
の係数データの中の使用順序(つまりC−MEM16か
ら読み出される順序)は決まっているため、C−MEM
更新バッファ44に格納される更新のための一群のアド
レス情報および新たな係数データに優先順位を付けても
ほとんど問題ない。In this embodiment, the unused update address information in the C-MEM update buffer 44 is supplied to the address comparator 50 one by one in order. Therefore, there is only one piece of update address information that is compared with the read address information for the C-MEM 16, and
The coefficient data to be read from the EM update buffer 44 is fixed. In normal digital signal processing, the order of use (that is, the order of reading from the C-MEM 16) in a group of coefficient data is fixed, so that C-MEM is used.
Almost no problem arises when prioritizing a group of address information for updating stored in the update buffer 44 and new coefficient data.
【0056】しかし、回路構成は複雑化するものの、そ
のような優先順位を付けずにC−MEM更新バッファ4
4内の未使用の全ての更新アドレス情報をC−MEM1
6に対する読出しアドレス情報と比較して、一致するも
のがあれば、その一致した更新アドレス情報に対応する
係数データをC−MEM更新バッファ44から読み出す
ようにすることも可能である。However, although the circuit configuration becomes complicated, the C-MEM update buffer 4 is not assigned such a priority order.
All the unused update address information in 4 are set to C-MEM1.
If there is a match with the read address information for No. 6, the coefficient data corresponding to the matched update address information can be read from the C-MEM update buffer 44.
【0057】また、C−MEM16内の更新されるべき
メモリ内容は、係数データに限るものでなく、アドレス
情報その他任意のデータが可能である。The memory contents to be updated in the C-MEM 16 are not limited to the coefficient data, and address information and other arbitrary data can be used.
【0058】次に、図8および図9につき本実施例のD
SPにおけるP−MEM(プログラムメモリ)32のメ
モリ内容の更新について説明する。Next, referring to FIG. 8 and FIG.
Update of the memory contents of the P-MEM (program memory) 32 in the SP will be described.
【0059】図8は、P−MEM32におけるプログラ
ムのメモリ・マップの一例を示す。図示のように、たと
えばP−MEM32のメモリ容量が4Kの場合、メモリ
領域の前半部にメインルーチンのプログラムがまとめて
格納され、後半部に種々のサブルーチンのプログラムが
格納され、適当な箇所に割込み処理ルーチンのプログラ
ムが格納される。FIG. 8 shows an example of a memory map of a program in the P-MEM 32. As shown in the figure, for example, when the memory capacity of the P-MEM 32 is 4K, the programs of the main routine are collectively stored in the first half of the memory area, the programs of various subroutines are stored in the latter half of the memory area, and interrupts are made at appropriate places. The program of the processing routine is stored.
【0060】本実施例においてプログラム実行中にP−
MEM32のメモリ内容を更新するための割込み処理プ
ログラムは、所定の領域(たとえばA1 〜A2 )に格納
される。また、P−MEM32内で更新の対象となるメ
モリ内容(たとえばサブルーチンプログラム(SR)の
先頭番地A3 を指示するアドレス情報が予めC−MEM
16の所定のメモリ番地AX に格納されている。In the present embodiment, P-
The interrupt processing program for updating the memory contents of the MEM 32 is stored in a predetermined area (for example, A1 to A2). Further, in the P-MEM 32, the memory content to be updated (for example, the address information designating the head address A3 of the subroutine program (SR) is previously stored in the C-MEM).
It is stored in 16 predetermined memory addresses AX.
【0061】図9は、P−MEM32内のメモリ内容を
更新するためのホストコントローラ36とHOST−I
F34との間の交信フォーマットを示す。FIG. 9 shows a host controller 36 and HOST-I for updating the memory contents in the P-MEM 32.
The communication format with F34 is shown.
【0062】たとえば再生音のピッチ調整に応じてP−
MEM32内のサブルーチンプログラムSRを更新する
必要が生じた場合、ホストコントローラ36は、HOS
T−IF34に対し、チップ・セレクト信号CS- をイ
ネーブル状態(ロウ・レベル)としたうえで、P−ME
M更新モードを指示するモード選択データを最初に送信
し、次に更新のための1ワード分(32ビット)のプロ
グラムデータを8ビットずつ4回に分けて送信する。こ
の際、プログラムデータの最初の8ビットが受信用レジ
スタHR3 に書き込まれた時点で、エンプティ・フラグ
EMPTY- がハイ・レベルになる。For example, depending on the pitch adjustment of the reproduced sound, P-
When it is necessary to update the subroutine program SR in the MEM 32, the host controller 36 sets the HOS
For the T-IF 34, the chip select signal CS - is enabled (low level), and then the P-ME
Mode selection data for instructing the M update mode is transmitted first, and then program data for one word (32 bits) for update is transmitted every 8 bits in four times. At this time, when the first 8 bits of program data is written in the reception register HR3, empty flag EMPTY - goes high.
【0063】そして、1ワード分のプログラムデータを
送信した後、ホストコントローラ36はチップ・セレク
ト信号CS- をいったんハイ・レベル(ディスエーブル
状態)にし、その直後にCS- をロウ・レベル(イネー
ブル状態)としたうえで割込み要求を表すモード選択デ
ータを送信する。このモード選択データがHOST−I
F34のシフトレジスタSHRに入力され、次いでホス
トインタフェース・モード・レジスタHIMに書き込ま
れると、制御装置30に対して割込み要求信号が出力さ
れる。After transmitting the program data for one word, the host controller 36 once sets the chip select signal CS - to a high level (disable state), and immediately after that, sets the CS - to a low level (enable state). ) And send the mode selection data indicating the interrupt request. This mode selection data is HOST-I
When input to the shift register SHR of F34 and then written to the host interface mode register HIM, an interrupt request signal is output to the control device 30.
【0064】制御装置30は、この割込み要求を受け付
けると、プログラムカウンタの内容(正確には現在のプ
ログラムアドレス+1)やALU26,MAC28等の
ステータス・ビット等をスタックに退避させてから、所
定の割込み処理プログラムの先頭番地A1 へジャンプす
る。この割込み処理プログラムでは、後述するP−ME
M書込み命令(PW)が規定されているとともに、C−
MEM16の所定のメモリ番地AX を指定するアドレス
情報が記述されている。Upon receipt of this interrupt request, the control device 30 saves the contents of the program counter (correctly, the current program address + 1) and the status bits of the ALU 26, MAC 28, etc. on the stack, and then executes a predetermined interrupt. Jump to the first address A1 of the processing program. In this interrupt processing program, the P-ME described later
M write command (PW) is specified, and C-
Address information for designating a predetermined memory address AX of the MEM 16 is described.
【0065】このアドレス情報を基にC−MEM16が
アクセスされ、メモリ番地AX の内容(つまり更新の対
象となるP−MEM32内のメモリ領域(サブルーチン
プログラムSR)の先頭番地A3 を指示するアドレス情
報)が読み出される。この読み出されたアドレス情報は
ALU26のアキュムレータに転送される。このALU
アキュムレータに格納されたアドレス情報はさらにプロ
グラムカウンタにも転送される。The C-MEM 16 is accessed based on this address information, and the contents of the memory address AX (that is, the address information designating the leading address A3 of the memory area (subroutine program SR) in the P-MEM 32 to be updated). Is read. The read address information is transferred to the accumulator of the ALU 26. This ALU
The address information stored in the accumulator is further transferred to the program counter.
【0066】かくして、P−MEM書込み命令(PW)
が実行されると、HOST−IF34の受信用レジスタ
HR3 〜HR0 に保持されている1ワード分のプログラ
ムデータが一部(最上位24ビット)はC−BUS10
を介して残り(最下位8ビット)は直接にP−MEM3
2へ転送されてメモリ番地A3 に書き込まれる。次い
で、ALUアキュムレータにおいてアドレス情報が1つ
インクリメントされ、このインクリメントされたアドレ
ス情報がC−MEM16内のメモリ番地AX に書き込ま
れる。これで、1ワード分の更新が終了し、スタックに
退避させていた各種データがそれぞれ元のレジスタに戻
される。これにより、割込み処理のため一時中断してい
たメインプログラムの実行が再開される。Thus, the P-MEM write command (PW)
Is executed, a part of the program data for one word (the most significant 24 bits) held in the reception registers HR3 to HR0 of the HOST-IF34 is part of the C-BUS10.
The rest (least 8 bits) directly through P-MEM3
It is transferred to 2 and written in memory address A3. Then, the address information is incremented by 1 in the ALU accumulator, and the incremented address information is written in the memory address AX in the C-MEM 16. This completes the update of one word, and the various data saved in the stack are returned to the original registers. As a result, the execution of the main program, which has been suspended due to interrupt processing, is resumed.
【0067】一方、P−MEM書込み命令(PW)が実
行されたことで、HOST−IF34はエンプティ・フ
ラグEMPTY- をロウ・レベル(イネーブル状態)と
し、次のワード分のプログラムデータが受信可能になっ
たことをホストコントローラ36に知らせる。この知ら
せを受けてホストコントローラ36が再び図9に示すよ
うなタイミングで次の1ワード分のプログラムデータを
送信し、次いで割込み要求のモード選択データを送信す
ると、上記と同様にしてP−MEM更新の割込み処理が
実行される。この場合、C−MEM16内のメモリ番地
AX より読み出されるアドレス情報は前回の割込みのと
きよりも1つ値がインクリメントしているため、今回の
1ワード分のプログラムデータはP−MEM32内のメ
モリ番地(A3 +1)に書き込まれることになる。[0067] On the other hand, when P-MEM write command (PW) is executed, HOST-IF 34 is Empty Flag EMPTY - and a low level (enable state), to be received next words of program data It informs the host controller 36 that it has become. In response to this notification, the host controller 36 transmits the next one word of program data again at the timing shown in FIG. 9, and then transmits the interrupt request mode selection data. Interrupt processing is executed. In this case, the value of the address information read from the memory address AX in the C-MEM16 is incremented by one compared with the previous interrupt, so the program data for one word this time is the memory address in the P-MEM32. It will be written to (A3 +1).
【0068】このようにして、P−MEM32内の更新
の対象となるメモリ内容または領域(A3 〜A4 )が1
ワードずつ割込み処理で更新される。したがって、P−
MEM32のメモリ内容の更新のために、メインプログ
ラムの実行は割込み処理の間は一時的に中断するにせ
よ、停止(途中で終了)することはなく、したがってオ
ーディオ信号処理が実質的に途絶えることはない。ま
た、更新のための割込み処理で読み出されるC−MEM
16内の所定のメモリ番地AX の内容(アドレス情報)
を任意の値に設定することで、P−MEM32内の任意
のメモリ領域を更新することができる。In this way, the memory contents or areas (A3 to A4) to be updated in the P-MEM 32 are 1 or less.
Updated word by word by interrupt processing. Therefore, P-
Due to the update of the memory contents of the MEM 32, the execution of the main program is not interrupted (finished halfway) even if it is temporarily interrupted during the interrupt processing, and therefore the audio signal processing is not substantially interrupted. Absent. In addition, C-MEM read by interrupt processing for updating
Contents of specified memory address AX in 16 (address information)
Is set to an arbitrary value, the arbitrary memory area in the P-MEM 32 can be updated.
【0069】本実施例では、HOST−IF34に1ワ
ード分のプログラムデータを保持させ、1回の割込み処
理で1ワード分のプログラムデータの更新を行うように
したが、設計変更によって1回の割込み処理で2ワード
以上のプログラムデータを更新することも可能である。
また、P−MEM32内の更新の対象となるメモリ領域
の先頭番地を指定するアドレス情報を、C−MEM16
以外のメモリ、たとえばG−MEM20に格納しておく
ことも可能である。In this embodiment, the HOST-IF 34 holds the program data for one word, and the program data for one word is updated by one interrupt processing. However, one interrupt by the design change. It is also possible to update the program data of 2 words or more by the processing.
In addition, the address information for designating the start address of the memory area to be updated in the P-MEM 32 is stored in the C-MEM16.
It is also possible to store it in a memory other than the above, for example, in the G-MEM 20.
【0070】なお、本実施例のDSPは、ホストコント
ローラ36からのプログラムおよび係数データ等をHO
ST−IF34を介してそれぞれP−MEM32および
C−MEM16にダウンロードする機能も備えている。
これらのダウンロードが行われるときは、ホストコント
ローラ36からのモード選択データのHLTビットに1
がセットされ、プログラムの実行は停止する(図5)。The DSP of this embodiment holds the program and coefficient data from the host controller 36 in the HO.
It also has a function of downloading to the P-MEM 32 and the C-MEM 16 via the ST-IF 34, respectively.
When these are downloaded, 1 is set in the HLT bit of the mode selection data from the host controller 36.
Is set and execution of the program is stopped (FIG. 5).
【0071】本実施例のメモリ内容更新回路はオーディ
オ・ディジタル信号処理用のDSPに係るものであった
が、本発明によるメモリ内容更新回路はそれ以外のディ
ジタル信号処理装置にも適用可能なものである。Although the memory content updating circuit of this embodiment relates to a DSP for audio / digital signal processing, the memory content updating circuit according to the present invention can be applied to other digital signal processing devices. is there.
【0072】[0072]
【発明の効果】以上説明したように本発明の第1のメモ
リ内容更新回路によれば、ディジタル信号処理装置にお
いて、更新のための新たなデータの各々に書き込み先
(更新の対象となるメモリ番地)を表すアドレス情報
(更新アドレス情報)を割り付けてそれぞれバッファメ
モリにセットしておき、データ記憶用メモリに対する読
出しアドレスを各更新アドレス情報と比較して、比較一
致が得られたときにその更新アドレス情報と対応するデ
ータをバッファメモリから読み出して目的のメモリ番地
に書き込むようにしたので、更新動作を誤ることがな
い。したがって、実行命令の順序がデータまたはメモリ
番地の更新順序によって拘束されることはなく、プログ
ラムのコーディングが簡単になるとともに、信頼性の向
上がはかれる。As described above, according to the first memory content updating circuit of the present invention, in the digital signal processing device, the writing destination (the memory address to be updated is written to each new data for updating). ) Is assigned and set in the buffer memory respectively, and the read address for the data storage memory is compared with each update address information, and when a comparison match is obtained, the update address Since the data corresponding to the information is read from the buffer memory and written in the target memory address, the update operation will not be mistaken. Therefore, the order of execution instructions is not restricted by the update order of data or memory addresses, which simplifies the coding of programs and improves reliability.
【0073】また、本発明の第2のメモリ内容更新回路
によれば、ディジタル信号処理装置において、プログラ
ム記憶用メモリ内の更新の対象となるメモリ番地を表す
アドレス情報を予めセット(記憶)しておき、外部制御
装置からの更新のための新たなプログラムデータを受信
した段階で割込み処理により該アドレス情報で指定され
るメモリ番地に該プログラムデータを書き込むようにし
たので、プログラムの実行を停止させることなく、任意
(所望)のメモリ番地の内容を更新することが可能であ
る。According to the second memory content updating circuit of the present invention, in the digital signal processing device, the address information representing the memory address to be updated in the program storage memory is set (stored) in advance. Every time, new program data for updating from the external control device is received, the program data is written to the memory address specified by the address information by interrupt processing, so the execution of the program should be stopped. Instead, the contents of any (desired) memory address can be updated.
【図1】本発明の一実施例によるオーディオ・ディジタ
ル信号処理用DSPの構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of an audio / digital signal processing DSP according to an embodiment of the present invention.
【図2】実施例におけるホストインタフェース回路(H
OST−IF)の構成例を示すブロック図である。FIG. 2 shows a host interface circuit (H
It is a block diagram which shows the structural example of OST-IF).
【図3】実施例のホストインタフェース回路(HOST
−IF)における各種端子ピンの機能を示す表である。FIG. 3 is a diagram illustrating a host interface circuit (HOST) according to an embodiment.
3 is a table showing functions of various terminal pins in (-IF).
【図4】実施例のホストインタフェース回路(HOST
−IF)におけるデータ受信ユニットの構成例を示すブ
ロック図である。FIG. 4 is a diagram illustrating a host interface circuit (HOST) according to an embodiment.
FIG. 3 is a block diagram showing a configuration example of a data receiving unit in (IF).
【図5】実施例のホストインタフェース・モード・レジ
スタに書き込まれるモード選択データのフォーマットを
示す表である。FIG. 5 is a table showing a format of mode selection data written in the host interface mode register of the embodiment.
【図6】実施例のホストインタフェース回路(HOST
−IF)におけるC−MEM更新バッファの構成例およ
び更新用アドレス比較器および更新制御回路の構成例を
示すブロック図である。FIG. 6 illustrates a host interface circuit (HOST) according to an embodiment.
3 is a block diagram showing a configuration example of a C-MEM update buffer and a configuration example of an update address comparator and an update control circuit in (-IF). FIG.
【図7】実施例の係数メモリ(C−MEM)内のメモリ
内容を更新するためのホストコントローラとHOST−
IFとの間の交信フォーマットを示す図である。FIG. 7 is a host controller and HOST- for updating the memory contents in the coefficient memory (C-MEM) of the embodiment.
It is a figure which shows the communication format with IF.
【図8】実施例のプログラムメモリ(P−MEM)にお
けるプログラムのメモリ・マップの一例を示す図であ
る。FIG. 8 is a diagram showing an example of a memory map of a program in the program memory (P-MEM) of the embodiment.
【図9】実施例のプログラムメモリ(P−MEM)内の
メモリ内容を更新するためのホストコントローラとホス
トインタフェース回路(HOST−IF)との間の交信
フォーマットを示す図である。FIG. 9 is a diagram showing a communication format between a host controller and a host interface circuit (HOST-IF) for updating the memory contents in the program memory (P-MEM) of the embodiment.
【図10】従来のDSPの要部の構成を示すブロック図
である。FIG. 10 is a block diagram showing a configuration of a main part of a conventional DSP.
10 C−BUS(データバス) 12 D−BUS(データバス) 14 G−BUS(データバス) 16 C−MEM(係数メモリ) 18 D−MEM(データメモリ) 17,19,21 アドレッシングユニット 26 ALU(算術論理演算ユニット) 28 MAC(積和演算器) 30 制御装置 32 P−MEM(プログラムメモリ) 34 HOST−IF(ホスト・インタフェース回
路) 36 ホストコントローラ 40 タイミング制御ユニット 42 データ受信ユニット 44 C−MEM更新バッファ 50 アドレス比較器 52 係数更新制御回路10 C-BUS (data bus) 12 D-BUS (data bus) 14 G-BUS (data bus) 16 C-MEM (coefficient memory) 18 D-MEM (data memory) 17, 19, 21 Addressing unit 26 ALU ( Arithmetic and logic operation unit) 28 MAC (sum of products operation unit) 30 control device 32 P-MEM (program memory) 34 HOST-IF (host interface circuit) 36 host controller 40 timing control unit 42 data receiving unit 44 C-MEM update Buffer 50 Address comparator 52 Coefficient update control circuit
Claims (3)
用メモリのメモリ内容を外部の制御装置からの要求に応
じて更新するためのメモリ内容更新回路において、 前記データ記憶用メモリ内の更新の対象となる各々のメ
モリ番地を表すアドレス情報と更新のための新たなデー
タとを前記外部制御装置より受信する受信手段と、 前記受信手段に受信された前記アドレス情報と前記更新
のための新たなデータとを記憶するバッファメモリと、 前記ディジタル信号処理装置内で前記データ記憶用メモ
リから任意のデータを読み出すために発生されたアドレ
ス情報を前記バッファメモリに格納されている前記アド
レス情報と照合して一致するか否かを判定するアドレス
照合手段と、 前記アドレス照合手段より照合一致の判定結果が得られ
たときは当該命令の実行サイクルを中断して、前記照合
一致のアドレス情報に対応する前記更新のための新たな
データを前記バッファメモリから読み出し、その読み出
したデータを当該命令で指定された行き先へ送ると同時
に前記アドレス情報で指定される前記データ記憶用メモ
リ内のメモリ番地に書き込むデータ操作手段と、を有す
るメモリ内容更新回路。1. A memory content update circuit for updating the memory content of a data storage memory in a digital signal processing device in response to a request from an external control device, comprising: an update target in the data storage memory; Receiving means for receiving address information representing each memory address and new data for updating from the external control device, the address information received by the receiving means and new data for updating. And a buffer memory for storing the address information generated to read out arbitrary data from the data storage memory in the digital signal processing device, and match the address information with the address information stored in the buffer memory. The address collating means for judging whether or not the address collating means judges whether or not the collation coincidence judgment result is obtained from the address collating means. The execution cycle of the instruction is interrupted, new data for the update corresponding to the address information of the collation match is read from the buffer memory, and the read data is sent to the destination specified by the instruction and at the same time. A memory content updating circuit having a data operating means for writing to a memory address in the data storing memory specified by address information.
記憶用メモリのメモリ内容を外部の制御装置からの要求
に応じて更新するためのメモリ内容更新回路において、 前記プログラム記憶用メモリ内の更新の対象となるメモ
リ番地を表すアドレス情報を予め記憶しておくアドレス
情報記憶手段と、 前記外部制御装置より送信された更新のための新たなプ
ログラムデータを受信する受信手段と、 前記受信手段に受信された前記更新のための新たなプロ
グラムデータを保持するバッファ手段と、 更新のための所定の割込み要求を発生する割込み要求発
生手段と、 前記割込み要求に応動して、前記アドレス情報記憶手段
より前記アドレス情報を読み出し、読み出した前記アド
レス情報で指定される前記プログラム記憶用メモリ内の
メモリ番地に前記バッファ手段に保持されている前記更
新のための新たなプログラムデータを転送する割込み処
理手段と、を有するメモリ内容更新回路。2. A memory content update circuit for updating the memory content of a program storage memory in a digital signal processing device in response to a request from an external control device, wherein the update target in the program storage memory is Address information storage means for storing in advance address information representing a memory address, receiving means for receiving new program data for updating transmitted from the external control device, and the receiving means for receiving the program data. Buffer means for holding new program data for updating, interrupt request generating means for generating a predetermined interrupt request for updating, and address information from the address information storage means in response to the interrupt request. Previously read to the memory address in the program memory specified by the read address information. Memory contents update circuit having, an interrupt processing means for transferring the new program data for the update stored in the buffer means.
おいて、 前記アドレス情報記憶手段より読み出された前記アドレ
ス情報を所定の値だけインクリメントまたはディクリメ
ントするアドレス演算手段と、 前記アドレス演算手段より得られた新たなアドレス情報
を前記アドレス情報記憶手段に書き込むアドレス書込み
手段と、を有するメモリ内容更新回路。3. The memory content updating circuit according to claim 2, wherein the address computing unit increments or decrements the address information read from the address information storage unit by a predetermined value, and the address computing unit. A memory content updating circuit having address writing means for writing the obtained new address information in the address information storage means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6286065A JPH08123728A (en) | 1994-10-26 | 1994-10-26 | Memory content update circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6286065A JPH08123728A (en) | 1994-10-26 | 1994-10-26 | Memory content update circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH08123728A true JPH08123728A (en) | 1996-05-17 |
Family
ID=17699502
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6286065A Withdrawn JPH08123728A (en) | 1994-10-26 | 1994-10-26 | Memory content update circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH08123728A (en) |
-
1994
- 1994-10-26 JP JP6286065A patent/JPH08123728A/en not_active Withdrawn
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4593354A (en) | Disk cache system | |
| JPS6331813B2 (en) | ||
| US6700582B2 (en) | Method and system for buffer management | |
| WO2008020389A2 (en) | Flash memory access circuit | |
| CN115033520A (en) | IIC data transmission method and device, single chip microcomputer equipment and storage medium | |
| JP4536189B2 (en) | DMA transfer apparatus and DMA transfer system | |
| JPH08123728A (en) | Memory content update circuit | |
| US5678036A (en) | Graphics system and method for minimizing idle time of a controller of the graphics system | |
| US20050138236A1 (en) | Direct memory access control device and method for automatically updating data transmisson size from peripheral | |
| US4628450A (en) | Data processing system having a local memory which does not use a directory device with distributed resident programs and a method therefor | |
| US5408666A (en) | Method and apparatus for loading a program into a program memory from a mailbox or an external ROM | |
| JPH01125644A (en) | Data transfer equipment | |
| JP2000040057A (en) | Computer system, buffer controller and transferring method | |
| JPS63180153A (en) | Lineback control method for cache storage | |
| JP3039391B2 (en) | Memory system | |
| JPS6240736B2 (en) | ||
| JP3222647B2 (en) | Automatic memory bank switching system | |
| JPH01177661A (en) | Data transferring device | |
| JP2507634B2 (en) | Information processing device | |
| JPS62184560A (en) | Input/output buffer control device | |
| CN117811939A (en) | Remote terminal simulation method based on 1553B bus | |
| JP2716563B2 (en) | Data write control method | |
| JPH09160786A (en) | Microprocessor | |
| JPH08263427A (en) | Interface circuit | |
| JPH0115090B2 (en) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20020115 |