Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0616303B2 - General-purpose high-speed processor - Google Patents
[go: Go Back, main page]

JPH0616303B2 - General-purpose high-speed processor - Google Patents

General-purpose high-speed processor

Info

Publication number
JPH0616303B2
JPH0616303B2 JP60167211A JP16721185A JPH0616303B2 JP H0616303 B2 JPH0616303 B2 JP H0616303B2 JP 60167211 A JP60167211 A JP 60167211A JP 16721185 A JP16721185 A JP 16721185A JP H0616303 B2 JPH0616303 B2 JP H0616303B2
Authority
JP
Japan
Prior art keywords
speed
program
memory
processor
low
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.)
Expired - Fee Related
Application number
JP60167211A
Other languages
Japanese (ja)
Other versions
JPS6227825A (en
Inventor
和也 佐古
辰男 伊藤
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.)
Denso Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP60167211A priority Critical patent/JPH0616303B2/en
Publication of JPS6227825A publication Critical patent/JPS6227825A/en
Publication of JPH0616303B2 publication Critical patent/JPH0616303B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プロセッサ内のプログラムメモリをRAMと
した汎用高速プロセッサに関する。
TECHNICAL FIELD The present invention relates to a general-purpose high-speed processor in which a program memory in a processor is a RAM.

〔従来の技術〕[Conventional technology]

従来の1チップ高速プロセッサはプログラムを格納した
メモリの種類によって第7図〜第9図のように分類され
る。第7図はプロセッサ1の内蔵するマスクROM(読
出し専用メモリ)100がプログラムメモリとなり、ま
た第8図は外部のROM101がプログラムメモリにな
る。102はデータメモリで、これにはRAM(ランダ
ムアクセスメモリ)が使用されている。D−BUSはデ
ータバス、P−BUSはプログラムバス、103はコン
トローラ、104はレジスタ、105はシフタ、106
は乗算器、107は加減算用のALUである。第9図は
EP−ROM(電気的書込み可能なROM)を用いたシ
ステムであるが、高速プロセッサ1から直接アクセスで
きないので、低速のプログラム転送回路3によりEP−
ROMからRAMへプログラムデータを転送するように
している。
Conventional one-chip high-speed processors are classified as shown in FIGS. 7 to 9 according to the type of memory storing a program. In FIG. 7, a mask ROM (read-only memory) 100 incorporated in the processor 1 serves as a program memory, and in FIG. 8, an external ROM 101 serves as a program memory. A data memory 102 is a RAM (random access memory). D-BUS is a data bus, P-BUS is a program bus, 103 is a controller, 104 is a register, 105 is a shifter, 106
Is a multiplier, and 107 is an ALU for addition and subtraction. FIG. 9 shows a system using an EP-ROM (electrically writable ROM), but since it cannot be directly accessed from the high speed processor 1, an EP-
The program data is transferred from the ROM to the RAM.

同図において、1はディジタル信号処理専用の高速プロ
セッサ(Main CUP)、2は高速のメモリブロック、3は
低速のプログラム転送回路である。CPU1の周辺には
クロック発生回路11、リセット回路12、電源回路1
3、I/Oコントローラ14等があり、これらのハード
とメモリブロック2内のプログラムを組合せることで1
つの信号処理システムが構成される。本例は主にプログ
ラム開発ツールとして使用されるもので、一例としてA
/D(アナログ/デジタル)およびD/A(デジタル/
アナログ)の各変換機能を有する回路15を接続してロ
ーパスフィルタ(LPF)機能を実現している。CPU
1とメモリブロック2の間はデータバスD−BUSとア
ドレスバスA−BUSで接続され、それらの間には双方
向バストランシーバ41と一方向バッファ42が介在す
る。
In the figure, 1 is a high speed processor (Main CUP) dedicated to digital signal processing, 2 is a high speed memory block, and 3 is a low speed program transfer circuit. A clock generation circuit 11, a reset circuit 12, and a power supply circuit 1 are provided around the CPU 1.
3 and I / O controller 14, etc., and by combining these hardware and the program in the memory block 2,
One signal processing system is configured. This example is mainly used as a program development tool.
/ D (analog / digital) and D / A (digital /
A circuit 15 having each analog conversion function is connected to realize a low-pass filter (LPF) function. CPU
1 and the memory block 2 are connected by a data bus D-BUS and an address bus A-BUS, and a bidirectional bus transceiver 41 and a one-way buffer 42 are interposed between them.

メインのメモリブロック2にはメモリ21(RAM1)
とメモリ22(RAM2)、およびメモリコントローラ
(デコーダ)23が含まれる。第10図はメモリコント
ローラ23の詳細で、端子にはCPU1からのライト
イネーブルWEが、また端子にはメモリイネーブルM
ENが、更に端子にはアドレスADR(H)がそれぞ
れ入力される。端子はRAM1,RAM2に対する
メモリイネーブル出力EN、端子はそのライトイネ
ーブル出力WENである。このメモリコントローラはア
ドレスADR(H)でRAM1,RAM2の選択を切替
える簡単なデコーダである。表1にこのデコード論理を
示す。
The main memory block 2 has a memory 21 (RAM1)
A memory 22 (RAM2) and a memory controller (decoder) 23 are included. FIG. 10 shows the details of the memory controller 23. The terminals are the write enable WE from the CPU 1 and the terminals are the memory enable M.
EN and the address ADR (H) are input to the terminals. The terminal is the memory enable output EN for RAM1 and RAM2, and the terminal is the write enable output WEN. This memory controller is a simple decoder that switches the selection of RAM1 and RAM2 by the address ADR (H). Table 1 shows this decoding logic.

プログラム転送回路3はサブのメモリブロック5とサブ
の低速プロセッサ6を備え、その周辺にはクロック発生
回路61、リセット回路62、電源回路63がある。ま
た、データバスD−BUSには双方向バストランシーバ
71が、アドレスバスA−BUSには一方向バッファ7
2が介在している。メモリブロック5はメモリ51(R
AM3)とメモリ52(EP−ROM)の他にアドレス
デコーダ53を備え、このEP−ROMがプログラムの
保存場所となる。
The program transfer circuit 3 includes a sub memory block 5 and a sub low speed processor 6, and a clock generation circuit 61, a reset circuit 62 and a power supply circuit 63 are provided around the sub memory block 5. A bidirectional bus transceiver 71 is connected to the data bus D-BUS, and a unidirectional buffer 7 is connected to the address bus A-BUS.
2 is intervening. The memory block 5 is the memory 51 (R
In addition to the AM3) and the memory 52 (EP-ROM), an address decoder 53 is provided, and this EP-ROM serves as a storage location for programs.

動作を説明する。電源回路13,63をオンにすると、
先ずサブのCPU6が動作を開始し、メインCPU1と
メインメモリブロック2の間のバストランシーバ41と
バッファ42をオフにして両者の間のバスを分離する。
これとは逆にバストランシーバ71とバッファ72をオ
ンにしてサブCPU6側のバスをメインメモリブロック
2に接続する。そして、サブCPU6でメモリブロック
5をアクセスし、そのEP−ROMから読出したデータ
(メインCPU1が実行するプログラム)をメインメモ
リブロック2のRAM1に転送する。これを所定のアド
レスまで実行したらトランシーバ71とバッファ72を
オフにし、代りにトランシーバ41とバッファ42をオ
ンにする。このときまでメイン側のリセット回路12に
はサブCPU6からリセット制御信号Rが入力されてい
るのでメインCPU1はリセット状態にあり、停止して
いる。そして、プログラム転送が完了して信号Rがオフ
になるとメインCPU1は動作(例えばLPF処理)を
開始する。
The operation will be described. When the power circuits 13 and 63 are turned on,
First, the sub CPU 6 starts operation, and the bus transceiver 41 and the buffer 42 between the main CPU 1 and the main memory block 2 are turned off to separate the buses between them.
On the contrary, the bus transceiver 71 and the buffer 72 are turned on to connect the bus on the sub CPU 6 side to the main memory block 2. Then, the sub CPU 6 accesses the memory block 5, and transfers the data read from the EP-ROM (the program executed by the main CPU 1) to the RAM 1 of the main memory block 2. When this is executed up to a predetermined address, the transceiver 71 and the buffer 72 are turned off, and the transceiver 41 and the buffer 42 are turned on instead. Until this time, since the reset control signal R is input from the sub CPU 6 to the reset circuit 12 on the main side, the main CPU 1 is in the reset state and stopped. Then, when the program transfer is completed and the signal R is turned off, the main CPU 1 starts the operation (for example, LPF processing).

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

第7図の構成はチップ内で処理できるため外部にバスラ
インを引き出す必要がなく、バスラインの配線長を短縮
でき、高速動作に向いている。しかし、プログラムがハ
ードウエア化されるため変更が困難である上、プロセッ
サ自身の汎用性がなくなり、少量生産やプログラム開発
等に不向きである。
Since the structure of FIG. 7 can be processed in the chip, it is not necessary to draw out the bus line to the outside, the wiring length of the bus line can be shortened, and it is suitable for high speed operation. However, it is difficult to change the program because it is made into hardware, and the versatility of the processor itself is lost, which is not suitable for small-scale production or program development.

第8図の構成はプロセッサ自身の汎用性は保てるが、チ
ップ外に内部バスラインを引き出さなければならないた
め配線長が長くなり、高速性に関しては第7図より不利
である。また、外付けのROMにもプロセッサのアクセ
ススピードと同等の高速性が要求されるため、EP−R
OM等の比較的アクセススピードの遅いメモリは使用不
可能であり、やはりプログラム開発には適さない。
Although the configuration of FIG. 8 can maintain the versatility of the processor itself, the internal bus line must be drawn out of the chip, which increases the wiring length and is disadvantageous in terms of high speed compared to FIG. 7. In addition, since the external ROM is required to have high speed equivalent to the access speed of the processor, EP-R
A memory having a relatively slow access speed such as OM cannot be used and is not suitable for program development.

第9図の構成は第8図と同様にバスラインの配線長が長
くなり、第7図に比べ高速性に難はあるが、プログラム
メモリがRAMなのでプログラムの変更が容易でプログ
ラム開発には便利である。しかし、システムが大規模に
なるので、小型、低コストのニーズに応じ難い。
In the configuration of FIG. 9, the bus line wiring length is long as in FIG. 8 and the high speed is difficult as compared with FIG. 7, but since the program memory is RAM, it is easy to change the program and convenient for program development. Is. However, since the system becomes large, it is difficult to meet the needs of small size and low cost.

本発明は、プロセッサ内に内蔵するプログラムメモリを
RAMにすることで高速性及び汎用性の双方を実現しよ
うとするものである。
The present invention is intended to realize both high speed and versatility by using a RAM as a program memory built in the processor.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、プログラムを格納した低速メモリをチップ外
部に、また該プログラム展開用の高速メモリをチップ内
部に備え、さらに該低速メモリから該高速メモリにプロ
グラムをイニシャライズする機能および該プログラムを
実行する機能を有する汎用高速プロセッサであって、低
速クロックまたは高速クロックを切換えて出力するクロ
ック発生手段を設け、通常時には高速クロックを用いる
と共に、前記低速メモリから高速メモリへのイニシャラ
イズ時には前記低速クロックを用いて動作速度を通常時
より低下させることを特徴とするが、その構成および作
用の詳細は図示の実施例と共に説明する。
The present invention includes a low-speed memory storing a program outside the chip, a high-speed memory for expanding the program inside the chip, and a function of initializing the program from the low-speed memory to the high-speed memory and a function of executing the program. A general-purpose high-speed processor having a clock generator for switching and outputting a low-speed clock or a high-speed clock, and using the high-speed clock during normal operation, and using the low-speed clock during initialization from the low-speed memory to the high-speed memory The feature is that the speed is made lower than usual, and the details of the configuration and operation will be described with reference to the illustrated embodiment.

〔実施例〕〔Example〕

第1図は本発明の一実施例で、第7図と同一部分には同
一符号が付してある。本例もプロセッサ1内にプログラ
ムメモリを内蔵させる方式であるが、第7図とは異なり
RAM110で実現する。但し、RAMは発揮性である
ので外部にEP−ROMを使用したプログラムメモリ1
11を設け、そこからRAM110へプログラムをイニ
シャライズ(ローディング)する。110′はこのため
のイニシャライズプログラムを記憶した小容量のプログ
ラムROMである。このようするとEP−ROM111
は低速であるがRAM110は高速であるので、イニシ
ャライズ後はプロセッサ1による高速処理が可能とな
る。またEP−ROM111の内容を書換えることでR
AM110の内容を変更できるので、プロセッサ1に汎
用性を持たせることができる。
FIG. 1 shows an embodiment of the present invention, and the same parts as those in FIG. 7 are designated by the same reference numerals. This example is also a system in which the program memory is built in the processor 1, but unlike FIG. 7, it is realized by the RAM 110. However, since the RAM is effective, the program memory 1 that uses an EP-ROM externally
11 is provided, and the program is initialized (loaded) from the RAM 11 to the RAM 110. Reference numeral 110 'is a small capacity program ROM storing an initialization program for this purpose. In this way, EP-ROM111
Is slow but the RAM 110 is fast, so that the processor 1 can perform high-speed processing after initialization. In addition, by rewriting the contents of EP-ROM111, R
Since the contents of the AM 110 can be changed, the processor 1 can be made versatile.

但し、高速プロセッサ1で直接低速のEP−ROM11
1をアクセス可能とするために、イニシャライズ時には
プロセッサ1の動作速度を通常動作時より低下させる必
要がある。112,113はこのためのクロック制御回
路および分周回路で、第2図はその詳細図である。クロ
ック制御回路112はDタイプのフリップフロップFF
で実現でき、リセット回路12の出力でリセットされる
とQ出力を“0”にし、分周回路113のゲートG
開いて1/an分周器から低速のクロックを出力させる。
この低速クロックによりEP−ROM111からRAM
110へプログラムがローディングされる。そして、こ
のイニシャライズが終了するとコントローラ103はク
ロック制御出力CCを“1”にするのでフリップフロッ
プFFはQ出力を“1”にしてゲートGを開く。この
結果1/n分周器から高速のクロックが出力され、プロ
セッサ1はRAM110内のプログラムを高速アクセス
することができる。
However, the high-speed processor 1 directly uses the low-speed EP-ROM 11
In order to make 1 accessible, it is necessary to reduce the operating speed of the processor 1 at the time of initialization as compared with the normal operation. Reference numerals 112 and 113 denote clock control circuits and frequency dividing circuits for this purpose, and FIG. 2 is a detailed view thereof. The clock control circuit 112 is a D type flip-flop FF.
When it is reset by the output of the reset circuit 12, the Q output is set to “0”, the gate G 1 of the frequency dividing circuit 113 is opened, and the low-speed clock is output from the 1 / an frequency divider.
From this EP-ROM 111 to RAM by this low-speed clock
The program is loaded into 110. Then, the controller 103 when the initialization is completed the flip-flop FF so that the "1" to the clock control output CC open the gate G 2 to "1" to Q output. As a result, a high-speed clock is output from the 1 / n frequency divider, and the processor 1 can access the program in the RAM 110 at high speed.

第3図はプログラムメモリの説明図で、(a)は内部メモ
リ110、(b)は外部メモリ111である。内部メモリ
はアドレス△△△+1〜□□□までがプログラム用(R
AM)で、ここに外部メモリ(EP−ROM)のプログ
ラムがイニシャライズされる。内部メモリ110の00
0〜△△△はこのイニシャライズ用のプログラムを格納
したマスクROM110′で、プロセッサ1はリセット
後にこのイニシャライズプログラムを実行することによ
り、EP−ROM111からRAM110へメインプロ
グラムをローディングできる。第4図はこのイニシャル
プログラムの内容を示すフローチャートである。
3A and 3B are explanatory diagrams of the program memory. FIG. 3A shows the internal memory 110, and FIG. 3B shows the external memory 111. For the internal memory, addresses from △△△ + 1 to □□□ are for programming (R
AM), the program of the external memory (EP-ROM) is initialized here. 00 in internal memory 110
0 to ΔΔΔ are mask ROMs 110 ′ that store this initialization program, and the processor 1 can load the main program from the EP-ROM 111 to the RAM 110 by executing this initialization program after reset. FIG. 4 is a flow chart showing the contents of this initial program.

第5図は本発明の他の実施例で、外部メモリ111
111nにn通りのプログラムを格納し、その1つをス
イッチ112で選択して内部メモリ110にイニシャラ
イズできるようにしたものである。このようにすると、
例えば減衰量やカットオフ周波数の異なるフィルタプロ
グラムを各外部メモリに内蔵させておくこと、使用者が
スイッチ操作をすれば任意の周波数特性が実現できる固
定形のトーンコントロール回路を構成できる。
FIG. 5 shows another embodiment of the present invention, in which the external memories 111 1 ...
The program is configured so that n kinds of programs are stored in 111n and one of them can be selected by the switch 112 to be initialized in the internal memory 110. This way,
For example, a fixed tone control circuit can be configured in which filter programs having different attenuation amounts and cutoff frequencies are built in each external memory, and a user can operate a switch to realize arbitrary frequency characteristics.

第6図はプログラムメモリ110,111のアドレスを
連続させることでプログラムROM内のイニシャルプロ
グラムが外部メモリを特に意識せずにアクセスできるよ
うにしたものである。このときクロックを低速にしてお
けば内部メモリとのアクセススピードの差も考慮しなく
て済む。
FIG. 6 shows that the initial program in the program ROM can be accessed without paying particular attention to the external memory by making the addresses of the program memories 110 and 111 continuous. At this time, if the clock is slowed down, it is not necessary to consider the difference in access speed from the internal memory.

〔発明の効果〕〔The invention's effect〕

以上述べたように本発明によれば、プロセッサ自身の汎
用性を保てるため各種処理に同一のプロセッサが使用で
き、その量産効果によるコストダウンが可能となる。ま
た、外部メモリとして開発時には低速EP−ROMまた
はEEP−ROMを、また開発後はROMを使用するこ
とができるので、少量生産の開発費用の低減および開発
期間の短縮を図ることができる。
As described above, according to the present invention, the same processor can be used for various kinds of processing because the versatility of the processor itself can be maintained, and the cost can be reduced due to the effect of mass production. Further, since the low-speed EP-ROM or EEP-ROM can be used as the external memory at the time of development and the ROM can be used after the development, it is possible to reduce the development cost for the small-quantity production and the development period.

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

第1図は本発明の一実施例を示すブロック図、第2図は
そのクロック切換回路の詳細図、第3図はプログラムメ
モリの説明図、第4図はイニシャライズプログラムのフ
ローチャート、第5図は本発明の他の実施例を示すブロ
ック図、第6図はプログラムメモリの他の例を示す説明
図、第7図〜第9図は従来のプロセッサとプログラムメ
モリの異なる例を示すブロック図、第10図は第9図の
メモリコントローラの詳細図である。 図中、1はプロセッサ、110は内部プログラムメモリ
(RAM)、111は外部プログラムメモリ、112,
113はクロック切換回路である。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a detailed diagram of a clock switching circuit thereof, FIG. 3 is an explanatory diagram of a program memory, FIG. 4 is a flow chart of an initialization program, and FIG. FIG. 6 is a block diagram showing another embodiment of the present invention, FIG. 6 is an explanatory diagram showing another example of the program memory, and FIGS. 7 to 9 are block diagrams showing different examples of the conventional processor and the program memory. FIG. 10 is a detailed view of the memory controller of FIG. In the figure, 1 is a processor, 110 is an internal program memory (RAM), 111 is an external program memory, 112,
Reference numeral 113 is a clock switching circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】プログラムを格納した低速メモリをチップ
外部に、また該プログラム展開用の高速メモリをチップ
内部に備え、さらに該低速メモリから該高速メモリにプ
ログラムをイニシャライズする機能および該プログラム
を実行する機能を有する汎用高速プロセッサであって、 低速クロックまたは高速クロックを切換えて出力するク
ロック発生手段を設け、通常時には高速クロックを用い
ると共に、前記低速メモリから高速メモリへのイニシャ
ライズ時には前記低速クロックを用いて動作速度を通常
時より低下させることを特徴とする汎用高速プロセッ
サ。
1. A low-speed memory storing a program is provided outside the chip, a high-speed memory for expanding the program is provided inside the chip, and a function for initializing the program from the low-speed memory to the high-speed memory and the program are executed. A general-purpose high-speed processor having a function, provided with a clock generation means for switching and outputting a low-speed clock or a high-speed clock, and using the high-speed clock during normal operation, and using the low-speed clock during initialization from the low-speed memory to the high-speed memory A general-purpose high-speed processor whose operating speed is lower than normal.
JP60167211A 1985-07-29 1985-07-29 General-purpose high-speed processor Expired - Fee Related JPH0616303B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60167211A JPH0616303B2 (en) 1985-07-29 1985-07-29 General-purpose high-speed processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60167211A JPH0616303B2 (en) 1985-07-29 1985-07-29 General-purpose high-speed processor

Publications (2)

Publication Number Publication Date
JPS6227825A JPS6227825A (en) 1987-02-05
JPH0616303B2 true JPH0616303B2 (en) 1994-03-02

Family

ID=15845481

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60167211A Expired - Fee Related JPH0616303B2 (en) 1985-07-29 1985-07-29 General-purpose high-speed processor

Country Status (1)

Country Link
JP (1) JPH0616303B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63231556A (en) * 1987-03-16 1988-09-27 神通電脳股ふん有限公司 Digital fast processing system
JP2935710B2 (en) * 1989-03-10 1999-08-16 株式会社リコー Test equipment for processor integrated circuit devices
JP3735373B2 (en) * 1995-05-19 2006-01-18 株式会社ルネサステクノロジ Microcomputer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58190752U (en) * 1982-06-14 1983-12-19 パイオニア株式会社 One chip microcontroller

Also Published As

Publication number Publication date
JPS6227825A (en) 1987-02-05

Similar Documents

Publication Publication Date Title
US5339402A (en) System for connecting an IC memory card to a central processing unit of a computer
JPH0724029B2 (en) Emulation device
JPH0616303B2 (en) General-purpose high-speed processor
US5566309A (en) Variable memory boundaries between external and internal memories for single-chip microcomputer
JPS60189561A (en) Memory access control system
JP2967825B2 (en) Microcomputer
JPH0155497B2 (en)
JPS58158759A (en) Information processing device
JPH05151369A (en) Integrated circuit
JP3030962B2 (en) Micro program controller
JPH09311812A (en) Microcomputer
KR930009061B1 (en) Memory access unit
JPH05151157A (en) Micro computer
JPS6385842A (en) Information processor
JPH11154391A (en) Storage device
JPS63159966A (en) Single-chip microcomputer
JPH05197614A (en) One-chip microprocessor
JPH0223954B2 (en)
JPH0683765A (en) Microcomputer
JPS6065357A (en) Memory address control method
JPS6043538B2 (en) Memory-switching circuit
JPH1124985A (en) Synchronous semiconductor memory device
JPH0567969B2 (en)
JPH04352045A (en) Connecting device for ic card
JPS644220B2 (en)

Legal Events

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