JPH0520036A - Digital signal processing circuit - Google Patents

Digital signal processing circuit

Info

Publication number
JPH0520036A
JPH0520036A JP19860491A JP19860491A JPH0520036A JP H0520036 A JPH0520036 A JP H0520036A JP 19860491 A JP19860491 A JP 19860491A JP 19860491 A JP19860491 A JP 19860491A JP H0520036 A JPH0520036 A JP H0520036A
Authority
JP
Japan
Prior art keywords
rom
stored
address
digital signal
signal processing
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
Application number
JP19860491A
Other languages
Japanese (ja)
Inventor
Atsumi Tanaka
篤美 田中
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.)
Nippon Steel Corp
Original Assignee
Nippon Steel Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Steel Corp filed Critical Nippon Steel Corp
Priority to JP19860491A priority Critical patent/JPH0520036A/en
Publication of JPH0520036A publication Critical patent/JPH0520036A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To provide the digital signal processing circuit of simple configuration which can perform plural kind of processes. CONSTITUTION:A program counter 2 is equipped internally with a 2nd ROM stored with many operation menus consisting of pairs of the head addresses and execution modes of plural main programs stored in a 1st ROM 4. When an address of the 2nd ROM is specified from outside, the operation menu stored in the address is read out of the 2nd ROM, the execution mode in the operation menu is decoded by a decoder to generates the address of the 1st ROM 4 according to the head address and the decoding result of the decoder, and the instruction stored in this address is read out of the 1st ROM 4.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ROM内にプログラム
を格納しておき、プログラムカウンタから指示された順
序に従ってそのプログラムが実行されるディジタル信号
処理回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital signal processing circuit which stores a program in a ROM and executes the program in the order instructed by a program counter.

【0002】[0002]

【従来の技術】従来よりディジタル信号処理回路は、音
声情報処理等の種々の分野で用いられているが、通常R
OMには1つのメインプログラムしか格納されていな
い。このため、互いに異なる多数の処理を実行するには
多数種類のディジタル信号処理回路を用意する必要があ
った。
2. Description of the Related Art Conventionally, digital signal processing circuits have been used in various fields such as voice information processing.
Only one main program is stored in the OM. Therefore, it is necessary to prepare many kinds of digital signal processing circuits in order to execute many different processes.

【0003】[0003]

【発明が解決しようとする課題】しかし、上記のような
ディジタル信号処理回路では、コスト高となり、また省
スペース化に反する。これを解決するためには1つのメ
インプログラムで実質的に多数の処理を行うことができ
るように、例えば外部からオン/オフ信号を入力してメ
インプログラム内でその信号がオンかオフかを判定し
て、その信号がオンかオフかにより異なる処理を行うプ
ログラムが格納されたアドレスに分岐させることが考え
られる。しかし、この方法を採用するとメインプログラ
ムが複雑となり、しかも外部からプログラム分岐のため
の信号を入力する必要が生じ、この点からも複雑な構成
となる。
However, in the digital signal processing circuit as described above, the cost is increased and it is against the space saving. In order to solve this, one main program can perform a large number of processes, for example, by inputting an on / off signal from the outside and determining whether the signal is on or off in the main program. Then, it may be possible to branch to an address in which a program for performing different processing is stored depending on whether the signal is on or off. However, if this method is adopted, the main program becomes complicated, and it becomes necessary to input a signal for program branching from the outside, which also results in a complicated configuration.

【0004】本発明は上記事情に基づいてなされたもの
であり、簡易な構成により複数種類の処理を実行するこ
とができるディジタル信号処理回路を提供することを目
的とする。
The present invention has been made in view of the above circumstances, and an object thereof is to provide a digital signal processing circuit capable of executing a plurality of types of processing with a simple configuration.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
の本発明のディジタル信号処理回路は、プログラムが格
納された第1の記憶手段と、前記第1の記憶手段のアド
レスを順次指定するプログラムカウンタとを備えたディ
ジタル信号処理回路において、前記第1の記憶手段が、
複数のメインプログラムを格納するものであり、前記プ
ログラムカウンタが、前記第1の記憶手段に格納された
メインプログラムの実行モードとの組からなる、該プロ
グラムカウンタの動作メニューが複数記憶された第2の
記憶手段を備え、外部から所望とする動作メニューを指
定することにより、前記第1の記憶手段に記憶された複
数のメインプログラムのうちの所望とするメインプログ
ラムを所望とする動作モードで実行するように構成した
ことを特徴とするものである。ここで上記「動作モー
ド」とは、例えばプログラムを実行する際に指示するア
ドレスを+1ずつインクリメントするか+2ずつインク
リメントするか等のモードをいう。
A digital signal processing circuit of the present invention for achieving the above object comprises a first storage means in which a program is stored and a program for sequentially designating addresses of the first storage means. In a digital signal processing circuit including a counter, the first storage means includes
A second memory for storing a plurality of main programs, wherein the program counter comprises a set of main program execution modes stored in the first storage means and a plurality of operation menus of the program counter. And a desired operation menu is designated from the outside, thereby executing the desired main program among the plurality of main programs stored in the first storage means in the desired operation mode. It is characterized by being configured as described above. Here, the above-mentioned "operation mode" refers to a mode in which, for example, an address designated when executing a program is incremented by +1 or +2.

【0006】[0006]

【作用】本発明のディジタル信号処理回路は前記の構成
によって、第1の記憶手段に複数のメインプログラムを
格納しておき、またプログラムカウンタ内に第2の記憶
手段を備え、この第2の記憶手段に各メインプログラム
の先頭アドレスと各メインプログラムの実行モードとの
組からなる動作メニューを複数組記憶しておき、外部か
らこれら複数組の動作メニューのうち所望とする処理に
対応する動作メニューを指定し、この指定された動作メ
ニューに従って所望するメインプログラムを実行する。
これにより、1つのディジタル信号処理回路で複数種類
の処理を行うことができ、またメインプログラム内での
種々の分岐等により複数の処理を行わせる場合と比べ一
つ一つのメインプログラムが簡単化されバグ等も少なく
なり、また外部から分岐判断のための信号を入力する必
要もなくなり簡単な構成のディジタル信号処理回路とな
る。
According to the digital signal processing circuit of the present invention, a plurality of main programs are stored in the first storage means and the second storage means is provided in the program counter according to the above configuration. In the means, a plurality of operation menus each including a start address of each main program and an execution mode of each main program are stored, and an operation menu corresponding to a desired process is externally selected from the plurality of operation menus. Designate and execute a desired main program according to the designated operation menu.
As a result, one digital signal processing circuit can perform a plurality of types of processing, and each main program is simplified compared to the case where a plurality of processings are performed by various branches in the main program. The number of bugs is reduced, and it is not necessary to input a signal for determining a branch from the outside, so that the digital signal processing circuit has a simple structure.

【0007】[0007]

【実施例】以下、図面を参照して、本発明の実施例につ
いて説明する。図3は、本発明に係るディジタル信号処
理回路の一例を示したブロック図である。本実施例のデ
ィジタル信号処理回路は、プログラムカウンタ2と、演
算命令の組み合わせ等がプログラム化して格納されてい
る第1のROM4と、第1のROM4に格納された命令
を順次解読するシーケンサ兼デコーダ6と、RAM8
と、シーケンサ兼デコーダ6からの命令に応じてRAM
8のアドレスを指示するアドレス演算部10と、掛算器
12と、演算処理部14と、アキュムレータ16と、バ
スライン18と、I/Oインターフェース20とからな
る。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 3 is a block diagram showing an example of a digital signal processing circuit according to the present invention. The digital signal processing circuit of this embodiment includes a program counter 2, a first ROM 4 in which a combination of operation instructions is programmed and stored, and a sequencer / decoder for sequentially decoding the instructions stored in the first ROM 4. 6 and RAM8
And a RAM in response to an instruction from the sequencer / decoder 6
The address arithmetic unit 10 for designating the address 8; the multiplier 12; the arithmetic processing unit 14; the accumulator 16; the bus line 18; and the I / O interface 20.

【0008】プログラムカウンタ2で第1のROM4に
格納されたプログラムのアドレスが順次指定され、この
指定されたアドレスに格納された命令がシーケンサ兼デ
コーダ6に読み出され、この命令が解読されてその命令
に応じ各部へ指示が出される。また、この命令に応じて
アドレス演算部10内でRAM8のアドレスが指示さ
れ、RAM8内がアクセスされる。また、必要に応じて
RAM8内のデータが掛算器12に入力されて掛算の演
算が行われ、演算処理部14に送られて各種演算が行わ
れこの演算結果のデータは、アキュムレータ16を経由
し、さらにバスライン18を経由してRAM8に格納さ
れ、または、I/Oインターフェース20を経由して外
部に出力される。
The address of the program stored in the first ROM 4 is sequentially designated by the program counter 2, the instruction stored at this designated address is read by the sequencer / decoder 6, and this instruction is decoded and Instructions are issued to each section according to the instruction. Further, in response to this instruction, the address of the RAM 8 is instructed in the address calculation unit 10, and the RAM 8 is accessed. Further, if necessary, the data in the RAM 8 is input to the multiplier 12 to perform a multiplication operation and is sent to the operation processing unit 14 to perform various operations, and the operation result data is passed through the accumulator 16. Further, it is stored in the RAM 8 via the bus line 18 or is output to the outside via the I / O interface 20.

【0009】図2は、図3に示すディジタル信号処理回
路中の第1のROM4の記憶回路を略示した図である。
第1のROM4内には第1のメインプログラム40a,
第2のメインプログラム40b等複数のメインプログラ
ムが格納されており、またこれら複数のメインプログラ
ムで共通に使用されるサブルーチン40n,40m等も
格納されている。
FIG. 2 is a schematic diagram of the storage circuit of the first ROM 4 in the digital signal processing circuit shown in FIG.
In the first ROM 4, the first main program 40a,
A plurality of main programs such as the second main program 40b are stored, and also subroutines 40n and 40m commonly used by these plurality of main programs are also stored.

【0010】図1は、図3に示すディジタル信号処理回
路中のプログラムカウンタ2の構成を略した図である。
プログラムカウンタ2内には各メインプログラム40
a,40b,・・・ の先頭アドレスと実行モードとの組か
らなる多数の動作メニューが格納された第2のROM3
0が備えられている。ここで外部からこの第2のROM
30のアドレスが指定されると、このアドレスに格納さ
れた動作メニューが第2のROM30から読み出され、
この動作メニュー中の実行モードがデコーダ32で解読
され、先頭アドレスとデコーダ32での解読結果に従っ
て第1のROM4(図3参照)のアドレスが生成され、
このアドレスに格納された命令が第1のROM4から読
み出される。このようにして、外部から第2のROM3
0のアドレスを指定することにより、複数のメインプロ
グラム40a,40b,・・・ のうちどのメインプログラ
ムをどのようなモードで実行するかが決定される。この
ため図2に示すように一つのROM内に複数のメインプ
ログラム40a,40b,・・・ を格納しておくことが可
能となる。このように、本実施例は、複数のメインプロ
グラムを持っているので、ユーザが自由に処理を選んで
設定することができ、ディジタル信号処理回路に汎用性
をもたせることができる。
FIG. 1 is a schematic diagram showing the structure of the program counter 2 in the digital signal processing circuit shown in FIG.
Each main program 40 is stored in the program counter 2.
a second ROM 3 in which a large number of operation menus each consisting of a set of a start address of a, 40b, ... And an execution mode are stored
0 is provided. Here from the outside this second ROM
When the address of 30 is designated, the operation menu stored at this address is read from the second ROM 30,
The execution mode in this operation menu is decoded by the decoder 32, and the address of the first ROM 4 (see FIG. 3) is generated according to the start address and the result of decoding by the decoder 32.
The instruction stored at this address is read from the first ROM 4. In this way, the external second ROM 3
By designating an address of 0, which main program of the plurality of main programs 40a, 40b, ... Therefore, as shown in FIG. 2, it is possible to store a plurality of main programs 40a, 40b, ... In one ROM. As described above, since the present embodiment has a plurality of main programs, the user can freely select and set the processing, and the digital signal processing circuit can have versatility.

【0011】[0011]

【発明の効果】以上説明したように本発明によれば、第
1の記憶手段内に複数のメインプログラムを格納してお
き、またプログラムカウンタ内に、第1の記憶手段に格
納されたメインプログラムの先頭アドレスと該メインプ
ログラムの実行モードとの組からなる、該プログラムカ
ウンタの動作メニューが複数記憶された第2の記憶手段
を備え、外部から所望とする動作メニューを指定するこ
とにより、前記第1の記憶手段に記憶された複数のメイ
ンプログラムのうちの所望とするメインプログラムを所
望とする動作モードで実行するようにしたため、単純な
構成で1つの記憶手段内に複数のメインプログラムを収
納して必要に応じて所望とするメインプログラムを実行
させることができるディジタル信号処理回路を提供する
ことができる。
As described above, according to the present invention, a plurality of main programs are stored in the first storage means, and the main program stored in the first storage means is stored in the program counter. A second storage means in which a plurality of operation menus of the program counter, each of which is composed of a start address of the main program and an execution mode of the main program, are stored. Since the desired main program among the plurality of main programs stored in the one storage means is executed in the desired operation mode, the plurality of main programs are stored in one storage means with a simple configuration. Thus, it is possible to provide a digital signal processing circuit capable of executing a desired main program as needed.

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

【図1】図3に示すディジタル信号処理回路中のプログ
ラムカウンタの構成を略した図である。
FIG. 1 is a diagram schematically showing a configuration of a program counter in the digital signal processing circuit shown in FIG.

【図2】図3に示すディジタル信号処理回路中のROM
の記憶内容を略示した図である。
FIG. 2 is a ROM in the digital signal processing circuit shown in FIG.
It is the figure which abbreviated the memory contents of.

【図3】本発明に係るディジタル信号処理回路の一例を
示したブロック図である。
FIG. 3 is a block diagram showing an example of a digital signal processing circuit according to the present invention.

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

2 プログラムカウンタ 4 第1のROM 6 シーケンサ兼デコーダ 8 RAM 10 アドレス演算部 12 掛算器 14 演算処理部 16 アキュムレータ 20 I/Oインターフェース 30 第2のROM 32 デコーダ 34 カウンタ 2 program counter 4 first ROM 6 sequencer / decoder 8 RAM 10 address operation unit 12 multiplier 14 operation processing unit 16 accumulator 20 I / O interface 30 second ROM 32 decoder 34 counter

Claims (1)

【特許請求の範囲】 【請求項1】 プログラムが格納された第1の記憶手段
と、前記第1の記憶手段のアドレスを順次指定するプロ
グラムカウンタとを備えたディジタル信号処理回路にお
いて、 前記第1の記憶手段が、複数のメインプログラムを格納
するものであり、 前記プログラムカウンタが、前記第1の記憶手段に格納
されたメインプログラムの実行モードとの組からなる、
該プログラムカウンタの動作メニューが複数記憶された
第2の記憶手段を備え、 外部から所望とする動作メニューを指定することによ
り、前記第1の記憶手段に記憶された複数のメインプロ
グラムのうちの所望とするメインプログラムを所望とす
る動作モードで実行するように構成したことを特徴とす
るディジタル信号処理回路。
Claim: What is claimed is: 1. A digital signal processing circuit comprising: a first storage means in which a program is stored; and a program counter for sequentially designating addresses of the first storage means. The storage means stores a plurality of main programs, and the program counter comprises a set of main program execution modes stored in the first storage means.
A second storage unit storing a plurality of operation menus of the program counter is provided, and a desired operation menu is stored in the first storage unit by externally designating a desired operation menu. A digital signal processing circuit, characterized in that the main program is executed in a desired operation mode.
JP19860491A 1991-07-12 1991-07-12 Digital signal processing circuit Withdrawn JPH0520036A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19860491A JPH0520036A (en) 1991-07-12 1991-07-12 Digital signal processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19860491A JPH0520036A (en) 1991-07-12 1991-07-12 Digital signal processing circuit

Publications (1)

Publication Number Publication Date
JPH0520036A true JPH0520036A (en) 1993-01-29

Family

ID=16393962

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19860491A Withdrawn JPH0520036A (en) 1991-07-12 1991-07-12 Digital signal processing circuit

Country Status (1)

Country Link
JP (1) JPH0520036A (en)

Similar Documents

Publication Publication Date Title
US4616313A (en) High speed address calculation circuit for a pipeline-control-system data-processor
JPH08106375A (en) Signal processing computing element
JPH0520036A (en) Digital signal processing circuit
CA1155231A (en) Pipelined digital processor arranged for conditional operation
JPH0218729B2 (en)
JPH0962533A (en) Test circuit for single chip microprocessor
JPS6116334A (en) Data processor
JPS58200349A (en) Microprogram controller
JPS6346855B2 (en)
JPH05274341A (en) Vector instruction processor
JP3441262B2 (en) Data processing device
JP2743947B2 (en) Micro program control method
KR100287891B1 (en) Test Subroutine Processing Equipment and Processing Method
JP3088956B2 (en) Arithmetic unit
JP2982129B2 (en) Micro program controller
JPH05181671A (en) Emulation system for software instruction
JPH0682321B2 (en) Micro controller
JPH02110631A (en) Microprogram controlling method
JPS59223846A (en) Arithmetic processor
JPH0319570B2 (en)
JPH0883188A (en) Multitask processing computer
JPS605341A (en) Information processing device
JPH0683624A (en) Processor and its control method
JPS6028014B2 (en) microprocessor
JPH02181821A (en) Arithmetic device

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: 19981008