JPH07152630A - Digital signal processor - Google Patents

Digital signal processor

Info

Publication number
JPH07152630A
JPH07152630A JP5296603A JP29660393A JPH07152630A JP H07152630 A JPH07152630 A JP H07152630A JP 5296603 A JP5296603 A JP 5296603A JP 29660393 A JP29660393 A JP 29660393A JP H07152630 A JPH07152630 A JP H07152630A
Authority
JP
Japan
Prior art keywords
instruction
ram
selector
output
read
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
JP5296603A
Other languages
Japanese (ja)
Other versions
JP3597548B2 (en
Inventor
Hiroko Kurosaki
裕子 黒崎
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP29660393A priority Critical patent/JP3597548B2/en
Publication of JPH07152630A publication Critical patent/JPH07152630A/en
Application granted granted Critical
Publication of JP3597548B2 publication Critical patent/JP3597548B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)
  • Memory System (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Dram (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To provide the digital signal processor which can refresh an instruction RAM with simple constitution and improve the reliability of the instruction RAM. CONSTITUTION:The digital signal processor consists of a 1st selector 21 which distributes the output of a ROM 11 in two directions, 1st and 2nd instruction RAMs 22 and 23 where program instructions from the ROM 11 are written through the 1st selector 21 and also read out, a 2nd selector 24 which receives the outputs of those 1st and 2nd instruction RAMs 22 and 23 and selects one of them, an instruction execution part 3 which receives the output of the 2nd selector 24 and executes instructions, and a write/read control part 20 which controls the 1st and 2nd selectors 21 and 24 and 1st and 2nd instruction RAMs 22 and 23 and controls the writing of instructions to the instruction RAMs and their reading.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はディジタルシグナルプロ
セッサ(DSP)に関する。
FIELD OF THE INVENTION This invention relates to digital signal processors (DSPs).

【0002】[0002]

【従来の技術】図4は従来システムの概念図である。図
の破線で囲った部分がディジタルシグナルプロセッサ
(DSP)10である。ディジタルシグナルプロセッサ
10内には命令RAM1が設けられており、プログラム
カウンタ2からのアドレスに従って、外部ROM11か
らの命令プログラムを書込み、書き込まれたプログラム
の読み出しを行なう。読み出されたプログラムは、命令
処理部(デコーダ)3に与えられ、実行される。ここ
で、命令RAM1としては、記憶容量を大きくする必要
から、ダイナミックRAMが用いられる。
2. Description of the Related Art FIG. 4 is a conceptual diagram of a conventional system. A portion surrounded by a broken line in the drawing is a digital signal processor (DSP) 10. An instruction RAM 1 is provided in the digital signal processor 10 to write an instruction program from the external ROM 11 and read the written program according to an address from the program counter 2. The read program is given to the instruction processing unit (decoder) 3 and executed. Here, as the instruction RAM 1, a dynamic RAM is used because it is necessary to increase the storage capacity.

【0003】外部ROM11には、ディジタルシグナル
プロセッサ10で実行されるべき命令プログラムが書き
込まれており、外部アドレス回路12から読出しアドレ
スが与えられる。この外部アドレス回路12からは命令
RAM1にもアドレスが与えられており、命令RAM1
へのプログラム命令書込み時のアドレスを与えるように
なっている。
An instruction program to be executed by the digital signal processor 10 is written in the external ROM 11, and a read address is given from the external address circuit 12. An address is also given to the instruction RAM 1 from the external address circuit 12, and the instruction RAM 1
The address when writing the program command to is given.

【0004】[0004]

【発明が解決しようとする課題】前述した従来システム
の場合、メモリとしてダイナミックRAMやスタテイッ
クRAMを用いている。ダイナミックRAMは、時間が
経過すると記憶されているデータがリークしてしまう恐
れがあり、絶えず元のデータを維持するリフレッシュ動
作が必要である。また、通信用に用いる場合、スタテイ
ックRAMであっても、雑音等により長期的にはデータ
が変化することがあると考えられる。このようにRAM
の信頼性の点で問題があり、連続的に用いられる通信装
置では、RAMを適用することができなかった。
In the above-mentioned conventional system, a dynamic RAM or a static RAM is used as a memory. The dynamic RAM may leak stored data over time, and requires a refresh operation for constantly maintaining the original data. Further, when used for communication, it is considered that data may change in the long term due to noise or the like even in the static RAM. RAM like this
However, the RAM cannot be applied to a communication device that is continuously used.

【0005】また、連続的に使用されない場合でも、R
AMをリフレッシュする必要からリフレッシュ回路を周
辺回路として設けたり、又はプログラム処理を施す必要
があった。しかしながら、その場合でもファームウェア
のステップ数増加やプログラムの書き換えを行なう特定
時間が必要である等の問題があった。
Even when it is not used continuously, R
Since it is necessary to refresh the AM, it is necessary to provide a refresh circuit as a peripheral circuit or perform a program process. However, even in that case, there are problems such as an increase in the number of firmware steps and a specific time required for rewriting the program.

【0006】本発明はこのような課題に鑑みてなされた
ものであって、命令RAMのリフレッシュ動作を簡単な
構成で実現すると共に、DSPの信頼性を上げることが
できるディジタルシグナルプロセッサを提供することを
目的としている。
The present invention has been made in view of the above problems, and provides a digital signal processor capable of realizing a refresh operation of an instruction RAM with a simple structure and improving the reliability of a DSP. It is an object.

【0007】[0007]

【課題を解決するための手段】図1は本発明の原理ブロ
ック図である。図4と同一のものは、同一の符号を付し
て示す。図において、21はROM11の出力を2方向
に振り分ける第1のセレクタ、22,23は該第1のセ
レクタ21を介してROM11からのプログラム命令が
書き込まれると共に、読み出される第1及び第2の命令
RAM、24はこれら第1及び第2の命令RAM22,
23の出力を受けてその内の一方をセレクトする第2の
セレクタ、3は該第2のセレクタ24の出力を受けて命
令の実行を行なう命令実行部、20は前記第1及び第2
のセレクタ21,24及び第1及び第2の命令RAM2
2,23を制御して命令RAMへの命令の書き込みと読
み出しを制御する書込み/読出し制御部である。図の破
線で囲まれた部分がディジタルシグナルプロセッサ10
である。
FIG. 1 is a block diagram showing the principle of the present invention. The same parts as those in FIG. 4 are designated by the same reference numerals. In the figure, reference numeral 21 is a first selector that distributes the output of the ROM 11 in two directions, and reference numerals 22 and 23 are first and second instructions from which the program instruction from the ROM 11 is written and read out through the first selector 21. RAM, 24 are the first and second instruction RAMs 22,
The second selector 3 receives the output of 23 and selects one of them, 3 is an instruction execution unit that receives the output of the second selector 24 and executes the instruction, and 20 is the first and second
Selectors 21 and 24 and first and second instruction RAMs 2
A write / read controller for controlling the writing and reading of instructions to and from the instruction RAM by controlling 2 and 23. The portion surrounded by the broken line in the figure is the digital signal processor 10
Is.

【0008】[0008]

【作用】第1及び第2のセレクタ21,24を制御し
て、第1及び第2の命令RAM22に交互にROM11
の出力を書き込むようにした。即ち、一方の命令RAM
を書込みモードにしている場合には、他方の命令RAM
は読出しモードで命令実行部3にプログラム命令を与え
る。このようにして、第1及び第2の命令RAM22,
23には絶えずROM11の出力が書き込まれるので、
常にリフレッシュ動作が行われることになり、命令RA
Mのリフレッシュ動作を簡単な構成で実現すると共に、
命令RAMの信頼性を上げることができる。
By controlling the first and second selectors 21 and 24, the ROM 11 is alternately stored in the first and second instruction RAMs 22.
I tried to write the output of. That is, one instruction RAM
Is in write mode, the other instruction RAM
Gives a program instruction to the instruction execution unit 3 in the read mode. In this way, the first and second instruction RAMs 22,
Since the output of the ROM 11 is constantly written in 23,
Since the refresh operation is always performed, the instruction RA
The refresh operation of M is realized with a simple configuration, and
The reliability of the instruction RAM can be improved.

【0009】[0009]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。図2は本発明の一実施例を示す構成ブロッ
ク図である。図1,図4と同一のものは、同一の符号を
付して示す。図において、25はプログラムカウンタ2
及び外部アドレス回路12の出力を受けて、そのいずれ
か一方をアドレスとして第1の命令RAM22に与える
第3のセレクタ、26はプログラムカウンタ2及び外部
アドレス回路12の出力を受けて、そのいずれか一方を
アドレスとして第2の命令RAM23に与える第4のセ
レクタである。これら第3及び第4のセレクタ25,2
6は、書込み/読出し制御部20によりその切り替え制
御が行われる。プログラムカウンタ2は、命令RAM2
2,23の読み出しアドレスを発生する。一方、外部ア
ドレス回路12はROM11の読み出しアドレスと命令
RAM22,23の書き込みアドレスを発生する。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 2 is a configuration block diagram showing an embodiment of the present invention. The same parts as those in FIGS. 1 and 4 are designated by the same reference numerals. In the figure, 25 is a program counter 2
And a third selector 26 which receives the output of the external address circuit 12 and gives one of them as an address to the first instruction RAM 22, and 26 receives the output of the program counter 2 and the external address circuit 12 and outputs one of them. Is the fourth selector which gives to the second instruction RAM 23 as an address. These third and fourth selectors 25, 2
6, the writing / reading control unit 20 controls the switching. The program counter 2 is the instruction RAM 2
2, 23 read addresses are generated. On the other hand, the external address circuit 12 generates a read address of the ROM 11 and a write address of the instruction RAMs 22 and 23.

【0010】第1のセレクタ21には、ROM11の出
力が入っており、該ROM11の出力は、書込み/読出
し制御部20の制御により、第1及び第2の命令RAM
22,23の何れか一方に与えられるようになってい
る。書込み/読出し制御部20からは、これら第1及び
第2の命令RAM22,23に対して書込み/読出しモ
ード設定信号が入っている。
The first selector 21 receives the output of the ROM 11, and the output of the ROM 11 is controlled by the write / read controller 20 to provide the first and second instruction RAMs.
It is provided to either one of 22 and 23. A write / read mode setting signal is input from the write / read controller 20 to the first and second instruction RAMs 22 and 23.

【0011】第2のセレクタ24には、第1及び第2の
命令RAM22,23の出力が入っており、書込み/読
出し制御部20からの切り替え制御信号により、そのい
ずれか一方が選択され、命令実行部3に与えられる。命
令実行部3は、命令をデコードし、数値演算ユニットや
データ入出力回路を命令に従って動作させる。4は、命
令実行部3と接続される数値演算部・データRAM・入
出力回路等である。そして、破線で囲まれた部分がディ
ジタルシグナルプロセッサ10である。このように構成
されたシステムの動作を説明すれば、以下のとおりであ
る。
The second selector 24 contains the outputs of the first and second instruction RAMs 22 and 23, and either one of them is selected by the switching control signal from the write / read controller 20 to issue an instruction. It is given to the execution unit 3. The instruction execution unit 3 decodes the instruction and operates the numerical operation unit and the data input / output circuit according to the instruction. Reference numeral 4 denotes a numerical operation unit, a data RAM, an input / output circuit, etc. connected to the instruction execution unit 3. The portion surrounded by the broken line is the digital signal processor 10. The operation of the system configured as described above will be described below.

【0012】書込み/読出し制御部20は、第1の命令
RAM22を読み出しモードに設定した時には、第2の
命令RAM23を書き込みモードに設定する。かつ第3
及び第4のセレクタ25,26に制御信号を与えて、第
1の命令RAM22にはプログラムカウンタ2の出力
が、第2の命令RAM23には外部アドレス回路12の
出力がそれぞれアドレスとして与えられるようにする。
かつ、書込み/読出し制御部20は、第1のセレクタ2
1及び第2のセレクタ24に制御信号を与えて、第1の
セレクタ21はROM11の出力を第2の命令RAM2
3に与え、第2のセレクタ24は第1の命令RAM22
の出力を命令実行部3に与えるようにする。
The write / read controller 20 sets the second instruction RAM 23 in the write mode when the first instruction RAM 22 is set in the read mode. And the third
And a control signal to the fourth selectors 25 and 26 so that the output of the program counter 2 is given to the first instruction RAM 22 and the output of the external address circuit 12 is given to the second instruction RAM 23. To do.
In addition, the write / read controller 20 uses the first selector 2
A control signal is given to the first and second selectors 24, and the first selector 21 outputs the output of the ROM 11 to the second instruction RAM 2
3, the second selector 24 supplies the first instruction RAM 22
Is output to the instruction execution unit 3.

【0013】この結果、第1の命令RAM22から読み
出された命令プログラムは、第2のセレクタ24を介し
て命令実行部3に与えられ、命令が実行される。それと
同時に、第2の命令RAM23は書込みモードとなって
おり、第1のセレクタ21を介して与えられるROM1
1の出力が第2の命令RAM23に書き込まれる。この
時、第2の命令RAM23へのアドレスは、第4のセレ
クタ26を介して外部アドレス回路12からのアドレス
が与えられる。
As a result, the instruction program read from the first instruction RAM 22 is given to the instruction executing section 3 via the second selector 24, and the instruction is executed. At the same time, the second instruction RAM 23 is in the write mode, and the ROM 1 provided via the first selector 21
The output of 1 is written in the second instruction RAM 23. At this time, the address to the second instruction RAM 23 is given from the external address circuit 12 via the fourth selector 26.

【0014】以上、第1の命令RAM22が読み出しモ
ード、第2の命令RAM23が書き込みモードの場合に
ついて説明したが、第1の命令RAM22が書き込みモ
ード、第2の命令RAM23が読み出しモードの場合に
ついても全く同様である。このようにして、本発明で
は、命令RAMを2個設けることにより、ファームウェ
アの書き込み実行処理を同時に行なうことができる。し
かも、実行処理が行われている時に、他方の命令RAM
にはROM11の出力が書き込まれてリフレッシュ動作
が行われる。
The case where the first instruction RAM 22 is in the read mode and the second instruction RAM 23 is in the write mode has been described above, but the first instruction RAM 22 is in the write mode and the second instruction RAM 23 is in the read mode. Exactly the same. As described above, in the present invention, by providing the two instruction RAMs, the firmware write execution processing can be simultaneously performed. Moreover, when the execution process is being performed, the other instruction RAM
The output of the ROM 11 is written in and the refresh operation is performed.

【0015】ここで、2個の命令RAM22,23のモ
ードの切り替えは、割り込み端子27から任意の時刻に
切り替えられるようにすることができる。割り込み端子
27から入った切り替え命令(割り込み命令)は、書込
み/読出し制御部20に通知される。この切り替え命令
を受けた書込み/読出し制御部20は、セレクタ21,
24,25,26及び命令RAM22,23に制御信号
を与えて、それまでのモードを切り替える。
Here, the mode switching of the two instruction RAMs 22 and 23 can be switched from the interrupt terminal 27 at any time. The switching command (interrupt command) entered from the interrupt terminal 27 is notified to the write / read controller 20. The write / read control unit 20 that has received this switching command, the selector 21,
A control signal is given to 24, 25, 26 and the instruction RAMs 22, 23 to switch the mode so far.

【0016】この割り込み端子27への印加電圧が、例
えば“0”から“1”に変わった直後の1マシンサイク
ルは通常のDSP処理は中止し、命令RAM22,23
を入れ替える第1のセレクタ21が動作するサイクルに
なるようにするとよい。
For one machine cycle immediately after the voltage applied to the interrupt terminal 27 changes from "0" to "1", normal DSP processing is stopped and the instruction RAMs 22 and 23 are processed.
It is advisable to set the cycle in which the first selector 21 for exchanging is operated.

【0017】ここで、2個の命令RAM22,23を切
り替える処理が通常のディジタルシグナルプロセッサ1
0の処理の邪魔にならないようにするためには、この命
令RAMの切り替えのための割り込み命令を他の割り込
み命令に比べてその優先度を低くしておけばよい。RA
Mの入れ替えに多少の時間がかかっても問題にはならな
い。例えば、音声入力のための割り込みが同時に加わる
場合には、音声入力処理が終了するまで、命令RAMの
切り替えを待つようにする。従って、命令RAMの切り
替えが完了したことを外部に知らせるための出力端子が
必要になる。図2の端子28がそれである。この出力端
子28からの符号が変化したことを確認してROMデー
タの転送を開始するようにすればよい。
Here, the process of switching between the two instruction RAMs 22 and 23 is normally performed by the digital signal processor 1.
In order not to interfere with the processing of 0, the priority of the interrupt instruction for switching the instruction RAM may be set lower than that of other interrupt instructions. RA
It does not matter even if it takes some time to replace M. For example, when an interrupt for voice input is added at the same time, switching of the instruction RAM is waited until the voice input processing is completed. Therefore, an output terminal is required to notify the outside that the switching of the instruction RAM has been completed. That is the terminal 28 of FIG. The transfer of the ROM data may be started after confirming that the code from the output terminal 28 has changed.

【0018】このように、本発明によれば命令RAMの
リフレッシュ動作を簡単な構成で実現することができる
ので、DSPの信頼性を上げることができる。図3は本
発明の他の実施例を示す構成ブロック図である。図1,
図4と同一のものは、同一の符号を付して示す。図にお
いて、30はプログラムカウンタ2と同じビット数を持
ち、ROM11を読み出す時のアドレスを発生するプロ
グラムレジスタである。31はROM11から読み出さ
れたプログラム命令を一時的に記憶する命令格納レジス
タ、32はプログラムカウンタ2の出力とプログラムレ
ジスタ30の出力を比較してその一致を検出する比較部
である。
As described above, according to the present invention, since the refresh operation of the instruction RAM can be realized with a simple structure, the reliability of the DSP can be improved. FIG. 3 is a block diagram showing the configuration of another embodiment of the present invention. Figure 1,
The same parts as those in FIG. 4 are designated by the same reference numerals. In the figure, 30 is a program register which has the same number of bits as the program counter 2 and generates an address when the ROM 11 is read. Reference numeral 31 is an instruction storage register for temporarily storing the program instruction read from the ROM 11, and 32 is a comparison unit for comparing the output of the program counter 2 and the output of the program register 30 and detecting the coincidence.

【0019】33は命令RAM、34は該命令RAM3
3の出力と命令格納レジスタ31の出力を切り替えて命
令実行部3に与えるセレクタである。20は、比較部3
2の出力を割り込み信号として受けて、命令RAM33
のモード切り替え、及びセレクタ34の切り替え制御を
行なう書込み/読出し制御部である。命令格納レジスタ
31の出力は、命令RAM33とセレクタ34に与えら
れている。このように構成されたシステムの動作を説明
すれば、以下のとおりである。
33 is an instruction RAM, 34 is the instruction RAM 3
3 is a selector that switches the output of the instruction storage unit 31 and the output of the instruction storage register 31 and gives the instruction execution unit 3. 20 is a comparison unit 3
The output of 2 is received as an interrupt signal, and the instruction RAM 33
It is a write / read control unit that performs mode switching of the above and switching control of the selector 34. The output of the instruction storage register 31 is given to the instruction RAM 33 and the selector 34. The operation of the system configured as described above will be described below.

【0020】本発明は、命令格納用の命令RAMを1個
にして、リフレッシュ動作に工夫をこらしたものであ
る。本発明は、命令RAM33の書き替えを1周期(プ
ログラムステップ数)に1ステップずつ行い、1周期毎
に命令RAM33の内容を1ステップずつ書き替えを行
なうようにしたものである。
According to the present invention, the number of instruction RAMs for instruction storage is one and the refresh operation is devised. The present invention rewrites the instruction RAM 33 step by step in one cycle (the number of program steps), and rewrites the contents of the instruction RAM 33 step by step in each cycle.

【0021】先ず、書込み/読出し制御部20は命令R
AM33を読出しモードに設定し、命令RAM33の内
容を読み出して命令実行部3に実行させている。この
時、セレクタ34は命令RAM33側をセレクトしてい
る。一方、プログラムレジスタ30はROM11に読出
しアドレスを与えているが、このプログラムレジスタ3
0は1周期に1回カウントアップする。そして、カウン
トアップした値とプログラムカウンタ2の出力とが一致
した時、比較部32は書込み/読出し制御部20に内部
割り込み信号を与える。
First, the write / read control unit 20 issues an instruction R.
The AM 33 is set in the read mode, the contents of the instruction RAM 33 are read out, and the instruction execution section 3 is made to execute the contents. At this time, the selector 34 is selecting the instruction RAM 33 side. On the other hand, the program register 30 gives a read address to the ROM 11, but this program register 3
0 counts up once per cycle. Then, when the counted-up value and the output of the program counter 2 match, the comparison section 32 gives an internal interrupt signal to the write / read control section 20.

【0022】書込み/読出し制御部20は、この内部割
り込み信号を受けると、命令RAM33を書込みモード
に設定し、同時にセレクタ34を命令格納レジスタ31
側に切り替える。この結果、命令レジスタ31に格納さ
れていたプログラム命令が命令RAM33に書き込まれ
る。同時に、この命令格納レジスタ31に格納されてい
たプログラム命令はセレクタ34を介して命令実行部3
に与えられる。この結果、命令実行部3は連続した命令
の実行が可能となる。この実施例によれば、1周期に1
ステップずつ命令RAM33の内容が更新され、リフレ
ッシュ動作が行われる。命令RAM33のリフレッシュ
周期としては、この程度でも十分である。
Upon receiving this internal interrupt signal, the write / read controller 20 sets the instruction RAM 33 to the write mode, and at the same time sets the selector 34 to the instruction storage register 31.
Switch to the side. As a result, the program instruction stored in the instruction register 31 is written in the instruction RAM 33. At the same time, the program instruction stored in the instruction storage register 31 is transmitted via the selector 34 to the instruction execution unit 3
Given to. As a result, the instruction execution unit 3 can execute consecutive instructions. According to this embodiment, 1 per cycle
The contents of the instruction RAM 33 are updated step by step, and the refresh operation is performed. This level is sufficient as the refresh cycle of the instruction RAM 33.

【0023】なお、この実施例でも図2に示す実施例と
同様、比較部32で発生する内部割り込みの優先度は、
他の割り込み命令に比べて低くしておく。この実施例
も、命令RAMのリフレッシュ動作を簡単な構成で実現
することができるので、DSPの信頼性を上げることが
できる。
In this embodiment as well, as in the embodiment shown in FIG. 2, the priority of the internal interrupt generated in the comparison unit 32 is
Keep it lower than other interrupt instructions. Also in this embodiment, since the refresh operation of the instruction RAM can be realized with a simple structure, the reliability of the DSP can be improved.

【0024】[0024]

【発明の効果】以上、詳細に説明したように、本発明に
よれば命令RAMのリフレッシュ動作を簡単な構成で実
現すると共に、DSPの信頼性を上げることができるデ
ィジタルシグナルプロセッサを提供することができる。
As described above in detail, according to the present invention, it is possible to provide a digital signal processor which can realize the refresh operation of the instruction RAM with a simple structure and can improve the reliability of the DSP. it can.

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

【図1】本発明の原理ブロック図である。FIG. 1 is a principle block diagram of the present invention.

【図2】本発明の一実施例を示す構成ブロック図であ
る。
FIG. 2 is a configuration block diagram showing an embodiment of the present invention.

【図3】本発明の他の実施例を示す構成ブロック図であ
る。
FIG. 3 is a configuration block diagram showing another embodiment of the present invention.

【図4】従来システムの概念図である。FIG. 4 is a conceptual diagram of a conventional system.

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

3 命令実行部 10 ディジタルシグナルプロセッサ(DSP) 11 ROM 20 書込み/読出し制御部 21 第1のセレクタ 22 第1の命令RAM 23 第2の命令RAM 24 第2のセレクタ 3 Instruction Execution Unit 10 Digital Signal Processor (DSP) 11 ROM 20 Write / Read Control Unit 21 First Selector 22 First Instruction RAM 23 Second Instruction RAM 24 Second Selector

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 ROM(11)の出力を2方向に振り分
ける第1のセレクタ(21)と、 該第1のセレクタ(21)を介してROM(11)から
のプログラム命令が書き込まれると共に、読み出される
第1及び第2の命令RAM(22),(23)と、 これら第1及び第2の命令RAM(22),(23)の
出力を受けてその内の一方をセレクトする第2のセレク
タ(24)と、 該第2のセレクタ(24)の出力を受けて命令の実行を
行なう命令実行部(3)と、 前記第1及び第2のセレクタ(21),(24)及び第
1及び第2の命令RAM(22),(23)を制御して
命令RAMへの命令の書き込みと読み出しを制御する書
込み/読出し制御部(20)とにより構成されるディジ
タルシグナルプロセッサ。
1. A first selector (21) that distributes an output of a ROM (11) in two directions, and a program command from the ROM (11) is written and read through the first selector (21). First and second instruction RAMs (22) and (23), and a second selector that receives the outputs of the first and second instruction RAMs (22) and (23) and selects one of them (24), an instruction execution unit (3) for executing an instruction by receiving an output of the second selector (24), the first and second selectors (21), (24) and the first and second A digital signal processor including a write / read controller (20) for controlling second instruction RAMs (22) and (23) to control writing and reading of instructions to and from the instruction RAM.
【請求項2】 前記書込み/読出し制御部(20)は、
第1の命令RAM(22)が書込みモードの時には、第
2の命令RAM(23)を読出しモードに、 第1の命令RAM(22)が読出しモードの時には、第
2の命令RAM(23)を書込みモードにして、交互に
第1の命令RAM(22)及び第2の命令RAM(2
3)にROM(11)からの命令を書き込んでRAMの
リフレッシュ動作を行わせるようにしたことを特徴とす
る請求項1記載のディジタルシグナルプロセッサ。
2. The write / read control unit (20) comprises:
When the first instruction RAM (22) is in the write mode, the second instruction RAM (23) is in the read mode, and when the first instruction RAM (22) is in the read mode, the second instruction RAM (23) is In the write mode, the first instruction RAM (22) and the second instruction RAM (2
3. The digital signal processor according to claim 1, wherein an instruction from the ROM (11) is written in 3) to refresh the RAM.
【請求項3】 外部からの割り込み端子を設け、外部か
ら任意の時刻に第1及び第2の命令RAM(22),
(23)の切り替えが行えるようにしたことを特徴とす
る請求項1記載のディジタルシグナルプロセッサ。
3. An external interrupt terminal is provided, and the first and second instruction RAMs (22) are externally provided at arbitrary times.
2. The digital signal processor according to claim 1, wherein the switching of (23) is made possible.
【請求項4】 前記外部割り込み命令の優先度を他の割
り込み命令よりも低くしておくようにしたことを特徴と
する請求項3記載のディジタルシグナルプロセッサ。
4. The digital signal processor according to claim 3, wherein the priority of the external interrupt instruction is set lower than that of other interrupt instructions.
【請求項5】 ROM(11)からのプログラム命令が
書き込まれると共に、読み出される命令RAM(33)
と、 ROM(11)の出力命令を格納する命令格納レジスタ
(31)と、 ROM(11)の読出しアドレスを与えるプログラムレ
ジスタ(30)と、 該プログラムレジスタ(30)及びプログラムカウンタ
(2)の出力を比較する比較部(32)と、 前記命令格納レジスタ(31)及び命令RAM(33)
の出力を受け、いずれか一方をセレクトするセレクタ
(34)と、 該セレクタ(34)の出力を受けて、入力された命令を
実行する命令実行部(3)と、 前記比較部(32)の一致出力を割り込み信号として受
けて命令RAM(33)の書込みと読出しを制御すると
共に、前記セレクタ(34)の切り替え制御を行なう書
込み/読出し制御部(20)とにより構成されるディジ
タルシグナルプロセッサ。
5. An instruction RAM (33) in which program instructions from the ROM (11) are written and read out.
An instruction storage register (31) for storing an output instruction of the ROM (11), a program register (30) for giving a read address of the ROM (11), and outputs of the program register (30) and the program counter (2) A comparing unit (32) for comparing the instruction storage register (31) and the instruction RAM (33)
Of the selector (34) that receives the output of the selector (34) and selects one of them, an instruction execution unit (3) that receives the output of the selector (34) and executes the input instruction, and a comparator (32). A digital signal processor comprising a write / read controller (20) which receives a coincidence output as an interrupt signal to control writing and reading of the instruction RAM (33) and controls switching of the selector (34).
【請求項6】 前記書込み/読出し制御部(20)は、
通常は命令RAM(33)の出力を命令実行部(3)に
与え、比較部(32)の一致出力を割り込みとして受け
ると、セレクタ(34)を制御して命令実行部(3)に
命令格納レジスタ(31)の出力を与えると共に、命令
RAM(33)に同じ命令を書き込むようにしたことを
特徴とする請求項5記載のディジタルシグナルプロセッ
サ。
6. The write / read controller (20) comprises:
Normally, when the output of the instruction RAM (33) is given to the instruction execution unit (3) and the coincidence output of the comparison unit (32) is received as an interrupt, the selector (34) is controlled to store the instruction in the instruction execution unit (3). 6. The digital signal processor according to claim 5, wherein the output of the register (31) is given and the same instruction is written in the instruction RAM (33).
【請求項7】 前記内部割り込みの優先度を他の割り込
み命令よりも低くしておくようにしたことを特徴とする
請求項6記載のディジタルシグナルプロセッサ。
7. The digital signal processor according to claim 6, wherein the priority of the internal interrupt is set lower than that of other interrupt instructions.
JP29660393A 1993-11-26 1993-11-26 Digital signal processor Expired - Lifetime JP3597548B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29660393A JP3597548B2 (en) 1993-11-26 1993-11-26 Digital signal processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29660393A JP3597548B2 (en) 1993-11-26 1993-11-26 Digital signal processor

Publications (2)

Publication Number Publication Date
JPH07152630A true JPH07152630A (en) 1995-06-16
JP3597548B2 JP3597548B2 (en) 2004-12-08

Family

ID=17835693

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29660393A Expired - Lifetime JP3597548B2 (en) 1993-11-26 1993-11-26 Digital signal processor

Country Status (1)

Country Link
JP (1) JP3597548B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013118700A1 (en) * 2012-02-10 2013-08-15 日本電信電話株式会社 Wavelength selection switch system and method for controlling wavelength selection switch

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013118700A1 (en) * 2012-02-10 2013-08-15 日本電信電話株式会社 Wavelength selection switch system and method for controlling wavelength selection switch
JP2013165386A (en) * 2012-02-10 2013-08-22 Nippon Telegr & Teleph Corp <Ntt> Wavelength selection switch system and wavelength selection switch control method
US9294826B2 (en) 2012-02-10 2016-03-22 Nippon Telegraph And Telephone Corporation Wavelength selection switch system and method for controlling wavelength selection switch

Also Published As

Publication number Publication date
JP3597548B2 (en) 2004-12-08

Similar Documents

Publication Publication Date Title
US5245575A (en) Register circuit for copying contents of one register into another register
JPS6259822B2 (en)
US5600807A (en) Programmable controller capable of updating a user program during operation by switching between user program memories
JP3710262B2 (en) Electronic circuit and method for using a coprocessor
US6865636B1 (en) Multitasking processor system for monitoring interrupt events
EP0240606B1 (en) Pipe-line processing system and microprocessor using the system
JP2003233509A (en) Digital signal processor
JPH07152630A (en) Digital signal processor
JPH01255035A (en) Processor
JPS6240736B2 (en)
US5524221A (en) Next instruction pointer calculation system for a microcomputer
KR100294655B1 (en) How to Control a My Programmable Controller That Performs a Multitask Function
JPH0713758A (en) Instruction decoding method
JPH0512107A (en) Program execution system
JPH01241644A (en) Microcomputer control circuit
JP2001134449A (en) Data processor and its control method
JPH05108353A (en) Information processor
JPH08297583A (en) Processor and method for interruption processing
JPS6258340A (en) Register updating mechanism
JPS6149695B2 (en)
JPH0531170B2 (en)
JPH0683986A (en) Single chip microcomputer
JPH03127126A (en) Information processor
JPH09160786A (en) Microprocessor
JPS6388641A (en) Information processor

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040511

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040629

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20040629

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040907

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040909

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080917

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080917

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090917

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090917

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100917

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100917

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110917

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120917

Year of fee payment: 8