JP2000148574A - Device and method for register control - Google Patents

Device and method for register control

Info

Publication number
JP2000148574A
JP2000148574A JP10316719A JP31671998A JP2000148574A JP 2000148574 A JP2000148574 A JP 2000148574A JP 10316719 A JP10316719 A JP 10316719A JP 31671998 A JP31671998 A JP 31671998A JP 2000148574 A JP2000148574 A JP 2000148574A
Authority
JP
Japan
Prior art keywords
data
address
processing circuit
signal
register
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.)
Granted
Application number
JP10316719A
Other languages
Japanese (ja)
Other versions
JP3434713B2 (en
Inventor
Osamu Kitahata
修 北畠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems 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 NEC IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP31671998A priority Critical patent/JP3434713B2/en
Publication of JP2000148574A publication Critical patent/JP2000148574A/en
Application granted granted Critical
Publication of JP3434713B2 publication Critical patent/JP3434713B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To eliminate the need to store data outputted by external equipment in the internal memory of a signal processing circuit (DSP) and to input and output data to be processed at a high speed with simple constitution by storing the data outputted by the external equipment and outputting the data to the DSP. SOLUTION: When the DSP 200 writes data to a RAM 210, a DPS write address decoder 313 of the register control unit 310 writes the same data to a register 314 as well. When the data is written to a host CPU LSI, the write address decoder 311 writes a data signal 151a to a selected register 312 with a register write request signal 321. When the address of an address signal 201 indicates the data stored in the register 312 when the DSP 200 executes a program, the DSP 200 uses data that a DSP readout selecting circuit 340 outputs to a RAM data output selecting circuit 220.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、レジスタ制御装置
およびレジスタ制御方法に関し、特に、DSP(Dig
ital Signal Processor)に使用
して好適なレジスタ制御装置およびレジスタ制御方法に
関する。
The present invention relates to a register control device and a register control method, and more particularly to a DSP (Dig).
It relates to a register control device and a register control method suitable for use in an italian signal processor.

【0002】[0002]

【従来の技術】従来、この種のレジスタ制御装置とし
て、図5に示すようなものが知られている。図5におい
て、ホストCPU910は画像処理や、オーディオにお
ける残響音の作成などといった、このDSP940を利
用して行う処理全体を制御するためのものである。ま
た、LSI950は論理回路930とDSP940とを
備えており、さらに、論理回路930はホストI/F9
20を備え、DSP940はRAM941を備えてお
り、このRAM941は1ビット単位のデータを保持す
ることが可能となっている。
2. Description of the Related Art Conventionally, as a register control device of this kind, a device as shown in FIG. 5 has been known. In FIG. 5, a host CPU 910 controls the entire processing performed by using the DSP 940, such as image processing and creation of reverberation sound in audio. The LSI 950 includes a logic circuit 930 and a DSP 940, and the logic circuit 930 further includes a host I / F 9
The DSP 940 includes a RAM 941, and the RAM 941 can hold data in units of 1 bit.

【0003】このホストCPU910はホストI/F9
20と接続されており、アドレス信号912、レジスタ
読み出し要求信号913、レジスタ書き込み要求信号9
14がホストI/F920に出力されるようになってい
る。さらに、このホストCPU910はホストバス96
0を介してホストI/F920と接続されており、デー
タ信号924等がやりとりされる。
The host CPU 910 is provided with a host I / F 9
20 and an address signal 912, a register read request signal 913, a register write request signal 9
14 is output to the host I / F 920. Further, the host CPU 910 is connected to the host bus 96
0 is connected to the host I / F 920, and data signals 924 and the like are exchanged.

【0004】ホストI/F920はDSP940と接続
されており、ホストI/F920から割り込み要求信号
921および書き込みデータ922がDSP940に出
力され、DSP940から読み出しデータ923がホス
トI/F920に出力されるようになっている。また、
DSP940はRAM941を備えている。
The host I / F 920 is connected to the DSP 940, so that the interrupt request signal 921 and the write data 922 are output from the host I / F 920 to the DSP 940, and the read data 923 is output from the DSP 940 to the host I / F 920. Has become. Also,
The DSP 940 includes a RAM 941.

【0005】上記のような構成において、例えば、RA
M941に書き込むためのデータをLSI950の外部
から取得するときの動作を説明する。図6はRAM94
1に書き込みを行うときのDSPクロック、DSPの行
う処理内容、レジスタ書き込み要求信号914、割り込
み要求信号921およびRAMに対する書き込みのタイ
ミングチャートを示している。同図においてDSPクロ
ックは所定のクロック周波数でパルスを発しており、D
SPは通常メインルーチンの処理を行っている。
In the above configuration, for example, RA
An operation of acquiring data to be written to the M941 from outside the LSI 950 will be described. FIG.
1 shows a DSP clock when writing data to the CPU 1, processing contents performed by the DSP, a register write request signal 914, an interrupt request signal 921, and a timing chart of writing to the RAM. In the figure, the DSP clock emits a pulse at a predetermined clock frequency.
The SP normally performs the processing of the main routine.

【0006】書き込み時には、ホストCPU910がア
ドレス信号912、データ信号924、レジスタ書き込
み要求信号914をホストI/F920に出力する。す
なわち、図6に示すようにある時刻でレジスタ書き込み
要求信号914にパルスが発生する。ホストI/F92
0がこの信号を取得すると、DSP940に対して割り
込み要求信号921が出力される。
At the time of writing, the host CPU 910 outputs an address signal 912, a data signal 924, and a register write request signal 914 to the host I / F 920. That is, a pulse is generated in the register write request signal 914 at a certain time as shown in FIG. Host I / F92
When 0 acquires this signal, an interrupt request signal 921 is output to the DSP 940.

【0007】DSP940が割り込み要求信号921を
検出すると、DSP940の処理がメインルーチンから
割り込みルーチンへ移行する。そして、この割り込みル
ーチンにおいてRAM941に対して、アドレス信号9
12で指定されたアドレスへデータ信号924にて示さ
れるデータを書き込む。この後はまたDSP940はメ
インルーチンに復帰する。
When the DSP 940 detects the interrupt request signal 921, the processing of the DSP 940 shifts from the main routine to the interrupt routine. In this interrupt routine, the address signal 9 is sent to the RAM 941.
The data indicated by the data signal 924 is written to the address specified by 12. After this, the DSP 940 returns to the main routine.

【0008】また、一般に、DSPはアナログ信号をデ
ィジタル処理して高速演算を行うために使用されている
ので、処理速度が速いことが重要である。そこで、特開
昭第62−168255号公報に開示されている技術に
おいては、複数個接続されたDSP間のデータ転送を高
速化するために、入力と出力とのいずれにも使用可能な
ポートを設けるとともに、該ポートを内部発生パルス、
外部入力パルスのいずれでも動作可能に構成した。
In general, a DSP is used for performing a high-speed operation by digitally processing an analog signal. Therefore, it is important that the processing speed is high. Therefore, in the technology disclosed in Japanese Patent Application Laid-Open No. 62-168255, in order to speed up data transfer between a plurality of connected DSPs, a port that can be used for both input and output is provided. And the port is internally generated pulse,
It is configured to be operable with any external input pulse.

【0009】[0009]

【発明が解決しようとする課題】上述した従来のレジス
タ制御装置およびレジスタ制御方法においては、次のよ
うな課題があった。ホストCPU910が書き込みの要
求を行ってから実際にDSPのRAMに対する書き込み
が行われるまでには数〜数十クロック経過してしまう。
このため、ホストCPU910からDSP940に対し
て制御をするときには所定の時間待たなければならな
い。従って、この所定の時間だけホストCPU910か
らDSP940に対する制御がDSP940以外の論理
回路930より遅れてしまうことになる。
The conventional register control device and register control method described above have the following problems. Several to several tens of clocks elapse between the time when the host CPU 910 issues a write request and the time when the writing to the RAM of the DSP is actually performed.
Therefore, when controlling the DSP 940 from the host CPU 910, it is necessary to wait a predetermined time. Accordingly, the control of the DSP 940 from the host CPU 910 is delayed from the logic circuit 930 other than the DSP 940 by the predetermined time.

【0010】さらに、DSP940の割り込みルーチン
が受け付けられるまでの期間はプログラム処理の状況に
依存するので、ホストCPU910の書き込み要求から
実際に書き込みが行われるまでの期間は一定とならな
い。このため、LSI950に含まれるDSP940と
論理回路930のレジスタとのタイミング関係が一定に
保たれず、ホストCPU910からの制御が非常に難し
い。
Further, the period from when the interrupt routine of the DSP 940 is accepted depends on the state of the program processing, so that the period from the write request of the host CPU 910 to the actual writing is not constant. Therefore, the timing relationship between the DSP 940 included in the LSI 950 and the register of the logic circuit 930 is not kept constant, and control from the host CPU 910 is extremely difficult.

【0011】なお、特開昭第62−168255号公報
に開示されている技術においては、データ転送が高速化
されるものの、やはり書き込み要求から実際に書き込み
がされるまでの期間は一定にはならなかった。
In the technique disclosed in Japanese Patent Application Laid-Open No. 62-168255, although the data transfer speed is increased, the period from the write request to the actual write is not constant. Did not.

【0012】本発明は、上記課題にかんがみてなされた
もので、簡易な構成で処理するデータの入出力を高速に
行い、かつ、簡単にDSP等の信号処理回路を制御する
ことが可能なレジスタ制御装置およびレジスタ制御方法
の提供を目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and has a register capable of inputting / outputting data to be processed with a simple configuration at a high speed and easily controlling a signal processing circuit such as a DSP. A control device and a register control method are provided.

【0013】[0013]

【課題を解決するための手段】上記目的を達成するた
め、請求項1にかかる発明は、メモリを内蔵した信号処
理回路と、この信号処理回路にアクセスする外部機器と
の間に介装されるレジスタ制御装置であって、上記外部
機器から書き込み要求信号とデータとそのアドレスとを
取得して、このアドレスのデータとして記憶する第一デ
ータ記憶手段と、上記信号処理回路が内蔵メモリに対し
てデータを書き込む際に発する書き込み要求信号とデー
タとそのアドレスとを取得して、上記内蔵メモリに書き
込まれる内容と同一のデータを記憶する第二データ記憶
手段と、上記外部機器から読みだし要求信号と使用する
データのアドレスを取得して、当該アドレスが外部機器
からのデータを示すときには第一データ記憶手段からそ
のアドレスのデータを選択し、当該取得したアドレスが
信号処理回路の内蔵メモリのデータを示すときには第二
データ記憶手段からそのアドレスのデータを選択して上
記外部機器に出力する第一データ出力手段と、上記信号
処理回路が使用するデータのアドレスを取得して、この
アドレスが上記外部機器が出力したデータのものである
ときは、上記第一記憶手段に記憶された当該アドレスの
データを選択して、上記信号処理回路が使用するように
出力することにより、上記内蔵メモリにて上記外部機器
が出力したデータを記憶することなく、上記信号処理回
路においてこの外部機器が出力したデータを使用可能に
する第二データ出力手段とを具備する構成としてある。
In order to achieve the above object, according to the first aspect of the present invention, a signal processing circuit having a built-in memory is interposed between an external device accessing the signal processing circuit. A register control device, wherein a first data storage means for acquiring a write request signal, data, and an address thereof from the external device and storing the acquired data as data of the address; A second data storage means for acquiring a write request signal, data and its address issued when writing data, and storing the same data as the content to be written in the internal memory, and using the read request signal from the external device When the address of the data to be obtained is obtained and the address indicates data from the external device, the data of the address is stored in the first data storage unit. A first data output means for selecting the data of the address from the second data storage means and outputting the selected data to the external device when the acquired address indicates data in the internal memory of the signal processing circuit; Obtains the address of the data to be used, and when the address is that of the data output by the external device, selects the data of the address stored in the first storage means, and selects the signal processing circuit. Output for use by the second data output means for enabling the data output from the external device to be used in the signal processing circuit without storing the data output from the external device in the internal memory. Is provided.

【0014】すなわち、第一データ記憶手段は、外部機
器から書き込み要求信号とデータとそのアドレスとを取
得すると、このデータをこのアドレスに対応させつつ記
憶する。また、第二データ記憶手段は、上記信号処理回
路が内蔵メモリに対してデータを書き込む際に発する書
き込み要求信号とデータとそのアドレスとを取得して、
このデータをこのアドレスに対応させつつ記憶する。
That is, when the first data storage means obtains a write request signal, data, and its address from an external device, the first data storage means stores the data in association with the address. Further, the second data storage means obtains a write request signal, data and its address, which are issued when the signal processing circuit writes data to the built-in memory,
This data is stored while being associated with this address.

【0015】そして、第一データ出力手段が外部機器か
らの読みだし要求信号と使用するデータのアドレスを取
得し、当該アドレスが外部機器からのデータを示すとき
には第一データ記憶手段からそのアドレスのデータを選
択し外部機器に出力する。一方、当該取得したアドレス
が信号処理回路の内蔵メモリのデータを示すときには第
二データ記憶手段からそのアドレスのデータを選択して
外部機器に出力する。
The first data output means acquires a read request signal from an external device and an address of data to be used, and when the address indicates data from the external device, the data of the address is read from the first data storage means. Select and output to an external device. On the other hand, when the acquired address indicates data in the internal memory of the signal processing circuit, the data at that address is selected from the second data storage means and output to the external device.

【0016】また、第二データ出力手段は、信号処理回
路が使用するデータのアドレスを取得し、このアドレス
が上記外部機器が出力したデータのものであるときは、
上記第一記憶手段に記憶された当該アドレスのデータを
選択して上記信号処理回路が使用するように出力する。
つまり、外部機器からのデータは信号処理回路のメモリ
に記憶されていないので、信号処理回路が外部機器から
のデータを使用するときは第一記憶手段から当該データ
を取得して使用する。一方、使用するデータが外部機器
からのものではなく、信号処理回路のメモリに記憶され
ているときには、信号処理回路が直接メモリにアクセス
してデータを使用する。
The second data output means obtains an address of data used by the signal processing circuit, and when the address is that of data output by the external device,
The data at the address stored in the first storage means is selected and output so as to be used by the signal processing circuit.
That is, since the data from the external device is not stored in the memory of the signal processing circuit, when the signal processing circuit uses the data from the external device, the data is obtained from the first storage unit and used. On the other hand, when the data to be used is not from the external device but is stored in the memory of the signal processing circuit, the signal processing circuit directly accesses the memory and uses the data.

【0017】ここで、メモリを内蔵した信号処理回路に
おいては、所定目的の信号処理が行えればよく、例えば
ディジタル信号処理用回路であるDSPなどで構成す
る。また、信号処理回路にアクセスする外部機器は、こ
のレジスタ制御装置を用いて構成したシステム全体にお
いてこの信号処理回路に信号を出力したり、信号処理回
路からの出力を受ける機器である。つまり、例えば、信
号処理回路を制御するCPUであったり、バスを介して
接続される機器であったりする。
Here, the signal processing circuit having a built-in memory only needs to be able to perform signal processing for a predetermined purpose, and is constituted by, for example, a DSP which is a digital signal processing circuit. An external device that accesses the signal processing circuit is a device that outputs a signal to the signal processing circuit and receives an output from the signal processing circuit in the entire system configured using the register control device. That is, for example, it may be a CPU that controls a signal processing circuit or a device that is connected via a bus.

【0018】外部機器からの書き込み要求信号とデータ
とそのアドレスは、この信号処理回路を用いたシステム
において画像変換処理をするときなどに必要なデータで
ある。従って、書き込み要求信号とデータのアドレスと
はホストCPUから取得し、データはバスから取得する
などすればよい。
The write request signal from external equipment, data and its address are data necessary for performing image conversion processing in a system using this signal processing circuit. Therefore, the write request signal and the data address may be obtained from the host CPU, and the data may be obtained from the bus.

【0019】信号処理回路が内蔵メモリに対してデータ
を書き込む際に発する書き込み要求信号とデータとその
アドレスとは、この信号処理回路を用いたシステムにお
ける画像変換処理時等に信号処理回路がこの信号処理回
路内のメモリに書き込むデータである。従って、信号処
理回路がメモリに対して発する書き込み要求信号とデー
タとそのアドレスを第二データ記憶手段においても取得
するようにする。
A write request signal, data and its address, which are issued when the signal processing circuit writes data to the built-in memory, are used by the signal processing circuit during image conversion processing in a system using this signal processing circuit. This is the data to be written to the memory in the processing circuit. Therefore, the write request signal, the data, and the address of the write request signal issued to the memory by the signal processing circuit are also acquired in the second data storage means.

【0020】このように、第一記憶手段が外部機器から
のデータを記憶し、第二記憶手段で信号処理回路がメモ
リに書き込むデータをも記憶することによって、書き込
みデータは全てレジスタ制御装置の第一記憶手段または
第二記憶手段に記憶されていることになる。すなわち、
外部機器からのデータを信号処理回路のメモリに書き込
むことなく第一記憶手段に記憶するので、信号処理回路
のメインルーチンを止めて割り込みルーチンに入る必要
がない。
As described above, the first storage means stores data from the external device, and the second storage means also stores data to be written to the memory by the signal processing circuit. It is stored in one storage means or the second storage means. That is,
Since the data from the external device is stored in the first storage means without writing to the memory of the signal processing circuit, there is no need to stop the main routine of the signal processing circuit and enter the interrupt routine.

【0021】また、読み出しの時にも必要なデータは第
一記憶手段または第二記憶手段に記憶されており、第一
データ出力手段により出力されるので信号処理回路のメ
モリの割り込みルーチンに入る必要がない。さらに、信
号処理回路において必要なデータも第一記憶手段または
信号処理回路のメモリに記憶されているので、信号処理
回路が必要とするデータはメモリから、または、第二デ
ータ出力手段が出力するデータを取得する。
Also, data necessary for reading is stored in the first storage means or the second storage means, and is output by the first data output means. Therefore, it is necessary to enter an interrupt routine of the memory of the signal processing circuit. Absent. Further, since the data required in the signal processing circuit is also stored in the first storage means or the memory of the signal processing circuit, the data required by the signal processing circuit is output from the memory or the data output by the second data output means. To get.

【0022】上述の記憶手段はデータ書き込みおよび読
み出しが可能なものであればよく、その具体例として請
求項2にかかる発明は、請求項1に記載のレジスタ制御
装置において、第一記憶手段は、データを記憶するため
のレジスタとして複数のフリップフロップ回路を備える
構成としてある。すなわち、非常によく用いられている
フリップフロップ回路をデータ記憶をするためのレジス
タとして構成するので、記憶可能な回路を論理回路に対
して組み込むことが容易になる。
The storage means may be any one capable of writing and reading data. As a specific example, the invention according to claim 2 is the register control device according to claim 1, wherein the first storage means The configuration includes a plurality of flip-flop circuits as registers for storing data. That is, since a flip-flop circuit that is used very often is configured as a register for storing data, it is easy to incorporate a storable circuit into a logic circuit.

【0023】この記憶手段としてフリップフロップ回路
を用いたときに好適な構成の具体例として請求項3にか
かる発明は、請求項2に記載のレジスタ制御装置におい
て、第一記憶手段は、書き込み要求信号と記憶データの
アドレスとを受け取ると、これらの信号を書き込み許可
信号にデコードし、指定されるアドレスに対応したフリ
ップフロップ回路に書き込み許可信号を出力する構成と
してある。
According to a third aspect of the present invention, as a specific example of a preferred configuration in which a flip-flop circuit is used as the storage means, the first storage means includes a write request signal. When receiving the data and the address of the storage data, these signals are decoded into a write enable signal, and the write enable signal is output to the flip-flop circuit corresponding to the designated address.

【0024】すなわち、一般に、フリップフロップ回路
は書き込み許可信号によりデータ内容のフリップフロッ
プ回路に対する入出力を制御する。従って、書き込み要
求信号と記憶データのアドレスとをデコードして、指定
されたデータアドレスから一義的に決定されるフリップ
フロップ回路に書き込み許可信号を与えるようにする。
That is, in general, the flip-flop circuit controls the input / output of data contents to the flip-flop circuit by the write enable signal. Therefore, the write request signal and the address of the storage data are decoded, and the write enable signal is supplied to the flip-flop circuit uniquely determined from the designated data address.

【0025】また、同様に第二記憶手段の構成の具体例
として、請求項4にかかる発明は請求項1〜請求項3の
いずれかに記載のレジスタ制御装置において、第二記憶
手段は、データを記憶するためのレジスタとして複数の
フリップフロップ回路を備える構成としてある。すなわ
ち、第二記憶手段においてもフリップフロップ回路をデ
ータ記憶をするためのレジスタとして構成するので、記
憶可能な回路を論理回路に対して組み込むことが容易に
なる。
Similarly, as a specific example of the configuration of the second storage means, the invention according to claim 4 is the register control device according to any one of claims 1 to 3, wherein the second storage means stores Is provided with a plurality of flip-flop circuits as registers for storing. That is, since the flip-flop circuit is also configured as a register for storing data in the second storage means, it is easy to incorporate a storable circuit into the logic circuit.

【0026】さらに、第二記憶手段においてもフリップ
フロップ回路を用いたときに好適な構成の具体例とし
て、請求項5にかかる発明は、請求項4に記載のレジス
タ制御装置において、第二記憶手段は、書き込み要求信
号と記憶データのアドレスとを受け取ると、これらの信
号を書き込み許可信号にデコードし、指定されるアドレ
スに対応したフリップフロップ回路に書き込み許可信号
を出力する構成としてある。すなわち、第二記憶手段に
おいても、書き込み要求信号と記憶データのアドレスと
をデコードして、指定されたデータアドレスから一義的
に決定されるフリップフロップ回路に書き込み許可信号
を与えるようにする。
Further, as a specific example of a preferable configuration when a flip-flop circuit is used also in the second storage means, the invention according to claim 5 is the register control device according to claim 4, wherein Is configured to receive a write request signal and an address of storage data, decode these signals into a write enable signal, and output the write enable signal to a flip-flop circuit corresponding to the specified address. That is, also in the second storage means, the write request signal and the address of the storage data are decoded, and the write enable signal is given to the flip-flop circuit uniquely determined from the designated data address.

【0027】このように、外部機器から入力するデータ
を書き込む際や、外部機器に信号処理回路のメモリの記
憶内容を出力する際に、信号処理回路のメインルーチン
に割り込んでメモリに対する記憶処理を行わないように
する手法は、必ずしも上述したような装置に限られる必
要もなく、その一例として、請求項6にかかる発明は、
メモリを内蔵した信号処理回路と、この信号処理回路に
アクセスする外部機器との間のデータの入出力を制御す
るレジスタ制御方法であって、上記外部機器から書き込
み要求信号とデータとそのアドレスとを取得して、上記
信号処理回路が内蔵メモリに対してデータを書き込む際
に発する書き込み要求信号とデータとそのアドレスとを
取得して、それぞれのアドレスのデータとして記憶する
ことにより必要なデータを上記信号処理回路の内蔵メモ
リ以外で保持し、外部機器から読みだし要求信号と使用
するデータのアドレスを取得し、当該アドレスが外部機
器からのデータを示すときには第一データ記憶手段から
そのアドレスのデータを選択し、当該取得したアドレス
が信号処理回路の内蔵メモリのデータを示すときには第
二データ記憶手段からそのアドレスのデータを選択して
上記外部機器に出力し、また、信号処理回路が使用する
データのアドレスを取得して、このアドレスが上記外部
機器が出力したデータのものであるときは、上記第一記
憶手段に記憶された当該アドレスのデータを選択して、
上記信号処理回路が使用するように出力することによ
り、上記内蔵メモリにて上記外部機器が出力したデータ
を記憶することなく、上記信号処理回路においてこの外
部機器が出力したデータを使用可能にする構成としてあ
る。すなわち、必ずしも装置という形態に限らず、その
方法としても有効である。
As described above, when writing data input from an external device or when outputting the storage contents of the memory of the signal processing circuit to the external device, the main routine of the signal processing circuit is interrupted to perform the storage processing on the memory. It is not necessary that the method of eliminating the above is necessarily limited to the device as described above. As an example, the invention according to claim 6
A register control method for controlling input / output of data between a signal processing circuit having a built-in memory and an external device accessing the signal processing circuit, wherein a write request signal, data, and an address thereof are transmitted from the external device. Obtain and obtain a write request signal, data and its address, which are issued when the signal processing circuit writes data to the built-in memory, and store the necessary data as data of each address to obtain the necessary data. The data is held in a memory other than the built-in memory of the processing circuit, and a read request signal and an address of data to be used are obtained from an external device. When the acquired address indicates data in the internal memory of the signal processing circuit, the second data storage means Select the data at that address and output it to the external device, and also obtain the address of the data used by the signal processing circuit, and if this address is that of the data output by the external device, Selecting the data of the address stored in the first storage means,
A configuration in which the signal output from the external device can be used in the signal processing circuit without storing the data output from the external device in the internal memory by outputting the signal for use by the signal processing circuit. There is. That is, the present invention is not necessarily limited to the form of the apparatus, and is effective as a method.

【0028】[0028]

【発明の実施の形態】以下、図面にもとづいて本発明の
実施形態を説明する。図1は、本発明の一実施形態にか
かるレジスタ制御装置を用いたシステムを概略ブロック
図により示している。同図において、ホストCPU11
0は画像処理や、オーディオにおける残響音の作成など
といった、このDSP200を利用して行う処理全体を
制御するためのものである。また、LSI100は論理
回路300とDSP200とを備えており、さらに、論
理回路300はレジスタ制御装置310を備え、DSP
200はRAM210を備えている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic block diagram showing a system using a register control device according to an embodiment of the present invention. In the figure, the host CPU 11
Numeral 0 is for controlling the entire processing performed using the DSP 200, such as image processing and creation of reverberation sound in audio. The LSI 100 includes a logic circuit 300 and a DSP 200. The logic circuit 300 further includes a register control device 310,
200 has a RAM 210.

【0029】このホストCPU110はレジスタ制御装
置310と接続されており、アドレス信号111、レジ
スタ読み出し要求信号112、レジスタ書き込み要求信
号113がレジスタ制御装置310に出力されるように
なっている。さらに、このホストCPU110はホスト
バス150を介してレジスタ制御装置310と接続され
ており、データ信号151等がやりとりされる。
The host CPU 110 is connected to a register controller 310, and outputs an address signal 111, a register read request signal 112, and a register write request signal 113 to the register controller 310. Further, the host CPU 110 is connected to the register control device 310 via the host bus 150, and exchanges data signals 151 and the like.

【0030】レジスタ制御装置310はDSP200と
接続されており、DSP200からRAM210に対す
る書き込み要求信号203と記憶するデータのデータ信
号202とアドレス信号201とがレジスタ制御装置3
10に出力され、レジスタ制御装置310から読み出し
データ204がDSP200に出力されるようになって
いる。
The register control device 310 is connected to the DSP 200, and the write control signal 203 from the DSP 200 to the RAM 210, the data signal 202 of the data to be stored, and the address signal 201 are transmitted to the register control device 3.
10, and the read data 204 is output from the register control device 310 to the DSP 200.

【0031】図2は、本発明の一実施形態にかかるレジ
スタ制御装置310のブロック図と、DSP200の一
部を示すブロック図である。同図において、図1におけ
るデータ信号151は、レジスタ制御装置310に対す
る入力を入力データ信号151a、レジスタ制御装置3
10からの出力を出力データ信号151bとしている。
FIG. 2 is a block diagram of the register control device 310 according to one embodiment of the present invention, and a block diagram showing a part of the DSP 200. In the figure, the data signal 151 in FIG. 1 is input to the register control device 310 by the input data signal 151a, the register control device 3
The output from 10 is an output data signal 151b.

【0032】レジスタ制御装置310は、LSI100
の外部からのデータを記憶するために、書き込みアドレ
スデコーダ311と複数のレジスタ312を備えてい
る。書き込みアドレスデコーダ311には、レジスタ書
き込み要求信号113とアドレス信号111が入力さ
れ、アドレス信号111により複数のレジスタ312の
中から一義的に出力先が決定されてレジスタ書き込み許
可信号321が出力される。
The register control device 310 is an LSI 100
A write address decoder 311 and a plurality of registers 312 are provided for storing external data. A register write request signal 113 and an address signal 111 are input to the write address decoder 311, an output destination is uniquely determined from the plurality of registers 312 by the address signal 111, and a register write enable signal 321 is output.

【0033】複数のレジスタ312は、それぞれフリッ
プフロップ回路にて構成され、レジスタ書き込み許可信
号321と入力データ信号151aが入力される。そし
て、レジスタ書き込み許可信号321が入力されたレジ
スタに入力データが記憶されるようになっている。この
意味において、書き込みアドレスデコーダ311とレジ
スタ312とが上記第一データ記憶手段を構成してい
る。
Each of the plurality of registers 312 is constituted by a flip-flop circuit, and receives the register write enable signal 321 and the input data signal 151a. Then, the input data is stored in the register to which the register write enable signal 321 has been input. In this sense, the write address decoder 311 and the register 312 constitute the first data storage means.

【0034】また、本実施形態においては、図3に示す
ようにRAM210の記憶容量の一部がレジスタ領域と
されている。そして、DSP200がRAM210のレ
ジスタ領域にデータを書き込む場合には、そのデータを
レジスタ制御装置310においても記憶するために、D
SP書き込みアドレスデコーダ313と複数のレジスタ
314とが備えられている。DSP書き込みアドレスデ
コーダ313には、RAM書き込み要求信号203とア
ドレス信号201が入力され、アドレス信号201によ
り複数のレジスタ314の中から一義的に出力先が決定
されてレジスタ書き込み許可信号322が出力される。
In this embodiment, a part of the storage capacity of the RAM 210 is used as a register area as shown in FIG. When the DSP 200 writes data in the register area of the RAM 210, the data is stored in the register control device 310.
An SP write address decoder 313 and a plurality of registers 314 are provided. The RAM write request signal 203 and the address signal 201 are input to the DSP write address decoder 313, the output destination is uniquely determined from the plurality of registers 314 by the address signal 201, and the register write enable signal 322 is output. .

【0035】複数のレジスタ314は、それぞれフリッ
プフロップ回路にて構成され、レジスタ書き込み許可信
号322とRAMデータ信号202が入力される。そし
て、レジスタ書き込み許可信号322が入力されたレジ
スタ314にRAMデータが記憶されるようになってい
る。この意味において、DSP書き込みアドレスデコー
ダ313とレジスタ314とが上記第二データ記憶手段
を構成している。
Each of the plurality of registers 314 is constituted by a flip-flop circuit, and receives the register write enable signal 322 and the RAM data signal 202. Then, the RAM data is stored in the register 314 to which the register write enable signal 322 has been input. In this sense, the DSP write address decoder 313 and the register 314 constitute the second data storage means.

【0036】さらに、レジスタ制御措置310には記憶
されたデータを出力するために、ホスト読み出し選択回
路330とDSP読み出し選択回路340とを備えてい
る。ホスト読み出し選択回路330にはレジスタ読み出
し要求信号112が入力され、レジスタ312とレジス
タ314とが接続されており、これらのレジスタの中か
らレジスタ読みだし要求信号112に応じたレジスタを
選択して、その内容が外部機器へ出力データ151bと
して出力されるようになっている。この意味において、
ホスト読み出し選択回路330が上記第一データ出力手
段を構成する。
Further, the register control means 310 includes a host read select circuit 330 and a DSP read select circuit 340 for outputting the stored data. The register read request signal 112 is input to the host read selection circuit 330, and the register 312 and the register 314 are connected. A register corresponding to the register read request signal 112 is selected from these registers, and the register is selected. The contents are output to an external device as output data 151b. In this sense,
The host read selection circuit 330 constitutes the first data output means.

【0037】DSP読み出し選択回路340にはアドレ
ス信号201が入力され、レジスタ312が接続されて
いる。そして、アドレス信号201により指定されるア
ドレスがレジスタ312に記憶されたデータのものであ
るときは、そのレジスタを選択してデータ内容をRAM
データ出力選択回路220に読み出しデータ204とし
て出力するようになっている。また、RAMデータ出力
選択回路220には、RAMからのデータ211と読み
出しデータ204とアドレス信号201が入力されるよ
うになっており、必要なデータがデータアウト信号とし
て出力される。この意味において、DSP読み出し選択
回路340が上記第二データ出力手段を構成する。
An address signal 201 is input to the DSP read selection circuit 340, and a register 312 is connected to the DSP read selection circuit 340. When the address specified by the address signal 201 is that of the data stored in the register 312, the register is selected and the data content is stored in the RAM 312.
The data is output to the data output selection circuit 220 as read data 204. The RAM data output selection circuit 220 receives data 211, read data 204, and an address signal 201 from the RAM, and outputs necessary data as a data out signal. In this sense, the DSP read selection circuit 340 constitutes the second data output means.

【0038】上記のような構成において、DSP200
がRAM210のレジスタ領域にデータを書き込む場合
には、DSP書き込みアドレスデコーダ313はDSP
200より書き込み要求信号203とアドレス信号20
1とを取得する。そして、RAM210にデータが記憶
されるのと並行して、レジスタ制御装置310内部のレ
ジスタ314にも同じデータを書き込む。ホストCPU
110がLSI100に対し書き込みを行う場合には、
アドレス信号111、データ信号151aとして所望の
アドレス、データを出力し、レジスタ書き込み要求信号
113を出力する。
In the above configuration, the DSP 200
When writing data to the register area of the RAM 210, the DSP write address decoder 313
200, the write request signal 203 and the address signal 20
1 is obtained. Then, the same data is written into the register 314 inside the register control device 310 in parallel with the data being stored in the RAM 210. Host CPU
When the 110 writes to the LSI 100,
A desired address and data are output as the address signal 111 and the data signal 151a, and a register write request signal 113 is output.

【0039】書き込みアドレスデコーダ311はこれら
のアドレス信号111とレジスタ書き込み要求信号11
3とを取得する。そして、アドレス信号111の内容に
よってレジスタ312の内の一つを選択し、レジスタ書
き込み要求信号321によってデータ信号151aを選
択されたレジスタに書き込む。図4はこの書き込みの際
の、DSPクロック、DSPの行う処理、レジスタ書き
込み要求信号113およびRAM210に対する書き込
みのタイミングチャートを示している。
The write address decoder 311 outputs the address signal 111 and the register write request signal 11
And 3 are obtained. Then, one of the registers 312 is selected according to the contents of the address signal 111, and the data signal 151a is written to the selected register by the register write request signal 321. FIG. 4 shows a timing chart of the DSP clock, the processing performed by the DSP, the register write request signal 113, and the writing to the RAM 210 at the time of this writing.

【0040】同図において、DSP200においては所
定周期で連続したクロックを発しており、メインルーチ
ン処理を行っている。ここで、ある時刻においてレジス
タ書き込み要求信号113が発っせられても、上述の従
来例のようにDSPのメインルーチンを中断して割り込
みルーチンを起動するようなことがないので、1〜2ク
ロック後にはレジスタ312に対して実際の書き込みが
行われる。また、以上の動作によりDSP200および
ホストCPU110からのレジスタ書き込み内容は全て
レジスタ制御装置310内のレジスタ312またはレジ
スタ314に記憶されていることになる。
In the figure, the DSP 200 generates a continuous clock at a predetermined cycle, and performs a main routine process. Here, even if the register write request signal 113 is issued at a certain time, the main routine of the DSP is not interrupted and the interrupt routine is started as in the above-described conventional example. Is actually written to the register 312. By the above operation, all the contents written to the registers from the DSP 200 and the host CPU 110 are stored in the register 312 or the register 314 in the register control device 310.

【0041】ホストCPU110がレジスタ制御装置3
10のレジスタに記憶されたデータを読み出す場合に
は、アドレス信号111に所望のアドレスを出力し、レ
ジスタ読みだし要求信号112を出力する。ホスト読み
出し選択回路330は要求されたアドレスがレジスタ3
12またはレジスタ314のどれに対応するかを判断
し、そのうちの一つを選択してホストCPU110へ出
力する。
The host CPU 110 operates in the register controller 3
When reading data stored in the ten registers, a desired address is output as the address signal 111 and a register read request signal 112 is output. The host read selection circuit 330 stores the requested address in the register 3
12 or the register 314, and one of them is selected and output to the host CPU 110.

【0042】DSP200がプログラム実行時にレジス
タ制御装置310のレジスタに書き込まれているデータ
を使用する場合、レジスタ312またはRAM210の
レジスタ領域のデータを参照する。レジスタの選択はア
ドレス信号201の内容によって行われる。すなわち、
そのアドレスがレジスタ312に記憶されたデータのも
のであれば、DSP200はDSP読み出し選択回路3
40がRAMデータ出力選択回路220に出力するデー
タを使用する。一方、アドレス信号201のアドレスが
RAM210に記憶されたデータのものであれば、DS
P200はRAM210がRAMデータ出力選択回路2
20に出力するデータを使用する。
When the DSP 200 uses the data written in the register of the register control device 310 when executing the program, the DSP 200 refers to the data in the register 312 or the register area of the RAM 210. The selection of the register is performed according to the contents of the address signal 201. That is,
If the address is that of the data stored in the register 312, the DSP 200
40 uses the data output to the RAM data output selection circuit 220. On the other hand, if the address of the address signal 201 is that of the data stored in the RAM 210, DS
P200 indicates that the RAM 210 is the RAM data output selection circuit 2
20 is used.

【0043】このように、このレジスタ制御装置および
レジスタ制御方法では、CPUなどの外部機器から書き
込み要求信号と記憶すべきデータとそのアドレスとを受
け取り、DSPのRAMに対する書き込み要求信号と記
憶すべきデータとそのアドレスを受け取って、書き込み
要求時に指定アドレスにデータを保持する。そして、外
部機器からの読みだし要求信号と出力すべきデータのア
ドレスを受け取ると、この読み出し信号に応じて保持さ
れたデータから出力すべきデータを選択して外部機器に
出力する。
As described above, according to the register control device and the register control method, the write request signal, the data to be stored and the address thereof are received from the external device such as the CPU, and the write request signal to the RAM of the DSP and the data to be stored are received. And that address, and hold the data at the specified address when a write request is made. When receiving the read request signal from the external device and the address of the data to be output, it selects the data to be output from the data held according to the read signal and outputs it to the external device.

【0044】また、DSPが使用するデータのアドレス
を受け取ると、このアドレスが外部機器から書き込まれ
たデータのものであるときはそのデータを選択してDS
Pに出力する。従って、外部機器からのデータをDSP
内のRAMに書き込む必要がないので、DSPのメイン
ルーチンを中断することが無く、簡易な構成で処理する
データの入出力を高速に行うことができる。また、実際
に書き込みが行われるまでの時間が一定なので、簡単に
DSP等の信号処理回路を制御することが可能なレジス
タ制御装置およびレジスタ制御方法を提供することがで
きる。
When the address of the data used by the DSP is received, if the address is that of data written from an external device, the data is selected and the DS is selected.
Output to P. Therefore, the data from the external device
Since there is no need to write data in the RAM inside the DSP, the main routine of the DSP is not interrupted, and data to be processed can be input / output at a high speed with a simple configuration. Further, since the time until the actual writing is constant, a register control device and a register control method capable of easily controlling a signal processing circuit such as a DSP can be provided.

【0045】[0045]

【発明の効果】以上説明したように本発明は、外部機器
からのデータをDSP内のRAMに書き込む必要がない
ので、DSPのメインルーチンを中断することが無く、
簡易な構成で処理するデータの入出力を高速に行うこと
ができる。また、実際に書き込みが行われるまでの時間
が一定なので、簡単にDSP等の信号処理回路を制御す
ることが可能なレジスタ制御装置を提供することができ
る。また、請求項2にかかる発明によれば、容易に記憶
回路を構成することができる。さらに、請求項3にかか
る発明によれば、簡易な構成により記憶回路を制御する
ことができる。さらに、請求項4にかかる発明によれ
ば、容易に記憶回路を構成することができる。さらに、
請求項5にかかる発明によれば、簡易な構成により記憶
回路を制御することができる。さらに、請求項6にかか
る発明によれば、簡易な構成で処理するデータの入出力
を高速に行うことができ、簡単にDSP等の信号処理回
路を制御することが可能なレジスタ制御方法を提供する
ことができる。
As described above, according to the present invention, there is no need to write data from an external device to the RAM in the DSP, so that the main routine of the DSP is not interrupted.
Data to be processed can be input and output at a high speed with a simple configuration. Further, since the time until the actual writing is constant, a register control device capable of easily controlling a signal processing circuit such as a DSP can be provided. According to the second aspect of the present invention, a storage circuit can be easily configured. Further, according to the third aspect of the present invention, the storage circuit can be controlled with a simple configuration. Further, according to the invention according to claim 4, a storage circuit can be easily configured. further,
According to the invention according to claim 5, the storage circuit can be controlled with a simple configuration. Further, according to the present invention, there is provided a register control method capable of inputting / outputting data to be processed with a simple configuration at a high speed and easily controlling a signal processing circuit such as a DSP. can do.

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

【図1】本発明の一実施形態にかかるレジスタ制御装置
を用いたシステムの概略ブロック図である。
FIG. 1 is a schematic block diagram of a system using a register control device according to an embodiment of the present invention.

【図2】本発明の一実施形態にかかるレジスタ制御装置
とDSPの一部のブロック図である。
FIG. 2 is a block diagram of a register control device and a part of a DSP according to an embodiment of the present invention.

【図3】本発明の一実施形態にかかるレジスタ制御装置
を用いるDSPの備えるRAMの記憶領域を示す図であ
る。
FIG. 3 is a diagram showing a storage area of a RAM included in a DSP using the register control device according to the embodiment of the present invention.

【図4】本発明の一実施形態にかかるレジスタ制御装置
を用いたシステムのタイミングチャートである。
FIG. 4 is a timing chart of a system using the register control device according to one embodiment of the present invention.

【図5】従来技術にかかるレジスタ制御装置を用いたシ
ステムの概略ブロック図である。
FIG. 5 is a schematic block diagram of a system using a register control device according to the related art.

【図6】従来技術にかかるレジスタ制御装置を用いたシ
ステムのタイミングチャートである。
FIG. 6 is a timing chart of a system using a register control device according to the related art.

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

100 LSI 110 ホストCPU 150 ホストバス 151 データ信号 200 DSP 210 RAM 220 RAMデータ出力選択回路 300 論理回路 310 レジスタ制御装置 311 書き込みアドレスデコーダ 312 レジスタ 313 DSP書き込みアドレスデコーダ 314 レジスタ 330 読み出し選択回路 340 DSP読み出し選択回路 100 LSI 110 Host CPU 150 Host bus 151 Data signal 200 DSP 210 RAM 220 RAM data output selection circuit 300 Logic circuit 310 Register controller 311 Write address decoder 312 Register 313 DSP Write address decoder 314 Register 330 Read selection circuit 340 DSP read selection circuit

─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成11年1月13日(1999.1.1
3)
[Submission date] January 13, 1999 (1999.1.1)
3)

【手続補正1】[Procedure amendment 1]

【補正対象書類名】図面[Document name to be amended] Drawing

【補正対象項目名】全図[Correction target item name] All figures

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【図1】 FIG.

【図2】 FIG. 2

【図3】 FIG. 3

【図4】 FIG. 4

【図5】 FIG. 5

【図6】 FIG. 6

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 メモリを内蔵した信号処理回路と、この
信号処理回路にアクセスする外部機器との間に介装され
るレジスタ制御装置であって、 上記外部機器から書き込み要求信号とデータとそのアド
レスとを取得して、このアドレスのデータとして記憶す
る第一データ記憶手段と、 上記信号処理回路が内蔵メモリに対してデータを書き込
む際に発する書き込み要求信号とデータとそのアドレス
とを取得して、上記内蔵メモリに書き込まれる内容と同
一のデータを記憶する第二データ記憶手段と、 上記外部機器から読みだし要求信号と使用するデータの
アドレスを取得して、当該アドレスが外部機器からのデ
ータを示すときには第一データ記憶手段からそのアドレ
スのデータを選択し、当該取得したアドレスが信号処理
回路の内蔵メモリのデータを示すときには第二データ記
憶手段からそのアドレスのデータを選択して上記外部機
器に出力する第一データ出力手段と、 上記信号処理回路が使用するデータのアドレスを取得し
て、このアドレスが上記外部機器が出力したデータのも
のであるときは、上記第一記憶手段に記憶された当該ア
ドレスのデータを選択して、上記信号処理回路が使用す
るように出力することにより、上記内蔵メモリにて上記
外部機器が出力したデータを記憶することなく、上記信
号処理回路においてこの外部機器が出力したデータを使
用可能にする第二データ出力手段とを具備することを特
徴とするレジスタ制御装置。
1. A register control device interposed between a signal processing circuit having a built-in memory and an external device accessing the signal processing circuit, comprising: a write request signal, data, and an address thereof from the external device. And the first data storage means for storing the data as the data of this address, and the signal processing circuit obtains a write request signal, data and its address which are issued when writing data to the built-in memory, A second data storage unit for storing the same data as the content to be written to the internal memory; a read request signal from the external device; and an address of data to be used, and the address indicates data from the external device. Sometimes, the data at that address is selected from the first data storage means, and the obtained address is stored in the data in the internal memory of the signal processing circuit. When indicating the data, the first data output means for selecting the data of the address from the second data storage means and outputting the selected data to the external device, and the address of the data used by the signal processing circuit are obtained. When the data is output from an external device, the data at the address stored in the first storage unit is selected and output so that the signal processing circuit uses the data. A register control device comprising: a second data output unit that enables the data output from the external device to be used in the signal processing circuit without storing the data output from the external device.
【請求項2】 上記請求項1に記載のレジスタ制御装置
において、 第一記憶手段は、データを記憶するためのレジスタとし
て複数のフリップフロップ回路を備えることを特徴とす
るレジスタ制御装置。
2. The register control device according to claim 1, wherein said first storage means includes a plurality of flip-flop circuits as registers for storing data.
【請求項3】 上記請求項2に記載のレジスタ制御装置
において、 第一記憶手段は、書き込み要求信号と記憶データのアド
レスとを受け取ると、 これらの信号を書き込み許可信号にデコードし、指定さ
れるアドレスに対応したフリップフロップ回路に書き込
み許可信号を出力することを特徴とするレジスタ制御装
置。
3. The register control device according to claim 2, wherein the first storage means, upon receiving the write request signal and the address of the storage data, decodes these signals into a write enable signal and is designated. A register control device for outputting a write enable signal to a flip-flop circuit corresponding to an address.
【請求項4】 上記請求項1〜請求項3のいずれかに記
載のレジスタ制御装置において、 第二記憶手段は、データを記憶するためのレジスタとし
て複数のフリップフロップ回路を備えることを特徴とす
るレジスタ制御装置。
4. The register control device according to claim 1, wherein said second storage means includes a plurality of flip-flop circuits as registers for storing data. Register control device.
【請求項5】 上記請求項4に記載のレジスタ制御装置
において、 第二記憶手段は、書き込み要求信号と記憶データのアド
レスとを受け取ると、これらの信号を書き込み許可信号
にデコードし、指定されるアドレスに対応したフリップ
フロップ回路に書き込み許可信号を出力することを特徴
とするレジスタ制御装置。
5. The register control device according to claim 4, wherein the second storage means, upon receiving the write request signal and the address of the storage data, decodes these signals into a write enable signal and is designated. A register control device for outputting a write enable signal to a flip-flop circuit corresponding to an address.
【請求項6】 メモリを内蔵した信号処理回路と、この
信号処理回路にアクセスする外部機器との間のデータの
入出力を制御するレジスタ制御方法であって、 上記外部機器から書き込み要求信号とデータとそのアド
レスとを取得して、上記信号処理回路が内蔵メモリに対
してデータを書き込む際に発する書き込み要求信号とデ
ータとそのアドレスとを取得して、それぞれのアドレス
のデータとして記憶することにより必要なデータを上記
信号処理回路の内蔵メモリ以外で保持し、 外部機器から読みだし要求信号と使用するデータのアド
レスを取得し、 当該アドレスが外部機器からのデータを示すときには第
一データ記憶手段からそのアドレスのデータを選択し、
当該取得したアドレスが信号処理回路の内蔵メモリのデ
ータを示すときには第二データ記憶手段からそのアドレ
スのデータを選択して上記外部機器に出力し、 また、信号処理回路が使用するデータのアドレスを取得
して、このアドレスが上記外部機器が出力したデータの
ものであるときは、上記第一記憶手段に記憶された当該
アドレスのデータを選択して、上記信号処理回路が使用
するように出力することにより、 上記内蔵メモリにて上記外部機器が出力したデータを記
憶することなく、上記信号処理回路においてこの外部機
器が出力したデータを使用可能にすることを特徴とする
レジスタ制御方法。
6. A register control method for controlling input / output of data between a signal processing circuit having a built-in memory and an external device accessing the signal processing circuit, comprising: And its address, and obtains a write request signal, data, and its address that are generated when the signal processing circuit writes data to the built-in memory, and stores them as data of each address. Data is stored in a memory other than the built-in memory of the signal processing circuit, and a read request signal and an address of data to be used are obtained from an external device. When the address indicates data from the external device, the address is obtained from the first data storage unit. Select the address data,
When the obtained address indicates data in the internal memory of the signal processing circuit, the data of the address is selected from the second data storage means and output to the external device, and the address of the data used by the signal processing circuit is obtained. Then, when the address is that of the data output by the external device, the data of the address stored in the first storage means is selected and output so that the signal processing circuit uses the data. A method of controlling a register, wherein data output from an external device can be used in the signal processing circuit without storing data output from the external device in the internal memory.
JP31671998A 1998-11-06 1998-11-06 Register control device and register control method Expired - Fee Related JP3434713B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31671998A JP3434713B2 (en) 1998-11-06 1998-11-06 Register control device and register control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31671998A JP3434713B2 (en) 1998-11-06 1998-11-06 Register control device and register control method

Publications (2)

Publication Number Publication Date
JP2000148574A true JP2000148574A (en) 2000-05-30
JP3434713B2 JP3434713B2 (en) 2003-08-11

Family

ID=18080149

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31671998A Expired - Fee Related JP3434713B2 (en) 1998-11-06 1998-11-06 Register control device and register control method

Country Status (1)

Country Link
JP (1) JP3434713B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100410986B1 (en) * 2001-01-05 2003-12-18 삼성전자주식회사 Method for access controlling of digital sigrnal processor external memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100410986B1 (en) * 2001-01-05 2003-12-18 삼성전자주식회사 Method for access controlling of digital sigrnal processor external memory

Also Published As

Publication number Publication date
JP3434713B2 (en) 2003-08-11

Similar Documents

Publication Publication Date Title
JP2539199B2 (en) Digital processor controller
JP3289661B2 (en) Cache memory system
JPH03127147A (en) Information processing system
JPH06236343A (en) Method for asynchronous read/write of data with reference to memory and direct memory access controller for it
JP2000148574A (en) Device and method for register control
JP4707017B2 (en) Signal processing device
JPH0877143A (en) Vector data processor
JPH0756803A (en) High-speed dma transfer device
JP2005063351A (en) Device and method for transferring data
JPH04175944A (en) Data processor
KR100454652B1 (en) Main storage of highly pipelined bus system on multiprocessor system using shared memory
JP2005190332A (en) Data transfer control unit
JPH0333951A (en) Microcomputer system
JPH11115258A (en) Apparatus and method for controlling output
JPH1139278A (en) Processor and memory access method
JPS6112306B2 (en)
JPH11327798A (en) Data transfer controller
JPS63286934A (en) Information processor
JPH04264640A (en) Buffer storage device
JPS6031646A (en) Data processor
JP2000066946A (en) Memory controller
JPH10105457A (en) Memory control system and memory control circuitt
JPH01129334A (en) Data control system for cache memory
JPH0436423B2 (en)
JPH02188856A (en) Memory access circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees