JP2000112755A - Microcomputer - Google Patents

Microcomputer

Info

Publication number
JP2000112755A
JP2000112755A JP10285186A JP28518698A JP2000112755A JP 2000112755 A JP2000112755 A JP 2000112755A JP 10285186 A JP10285186 A JP 10285186A JP 28518698 A JP28518698 A JP 28518698A JP 2000112755 A JP2000112755 A JP 2000112755A
Authority
JP
Japan
Prior art keywords
microcomputer
instruction
program
flash memory
memory
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.)
Pending
Application number
JP10285186A
Other languages
Japanese (ja)
Inventor
Yoshimasa Arai
好将 新井
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP10285186A priority Critical patent/JP2000112755A/en
Publication of JP2000112755A publication Critical patent/JP2000112755A/en
Pending legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)
  • Microcomputers (AREA)

Abstract

PROBLEM TO BE SOLVED: To use an evalution chip in common for plural purposes. SOLUTION: Since the whole or a part of an instruction decoder 8 is composed of a flash memory 8b, an instruction code is easily changed only by rewriting the contents of the memory 8b even in the case of requiring the change and addition of a peripheral circuit with the change and addition of the specification of a microcomputer in the case of executing program evaluation by the evaluation chip. Consequently, a cost, time, etc., associated with designing can be reduced since re-designing of the evaluation chip is unnecessitated only by newly providing the peripheral circuit.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、評価用チップ等に
使用して好適なマイクロコンピュータに関する。
The present invention relates to a microcomputer suitable for use as an evaluation chip or the like.

【0002】[0002]

【従来の技術】マイクロコンピュータは、メモリからプ
ログラム命令を読み出し、インストラクションデコーダ
でプログラム命令を解読した結果に従って、構成素子の
設定動作、各種論理演算動作等を実行する。一般に、イ
ンストラクションデコーダは、PLA等の論理回路を用
いて配線が固定されていた。
2. Description of the Related Art A microcomputer reads a program instruction from a memory, and executes a setting operation of constituent elements, various logical operation operations, and the like according to a result of decoding the program instruction by an instruction decoder. Generally, the wiring of the instruction decoder is fixed using a logic circuit such as a PLA.

【0003】[0003]

【発明が解決しようとする課題】例えば、マイクロコン
ピュータが評価用チップの場合、プログラムを開発する
過程で周辺回路の追加又は変更が発生すると、周辺回路
はチップの外付回路で対応できるが、周辺回路を制御す
る命令コードは、インストラクションデコーダの配線が
固定されている為に追加、変更することは不可能であ
る。従って、評価用チップを再設計し直さなければなら
ず、設計費用が高く且つ設計時間が長くなる問題があっ
た。
For example, when the microcomputer is an evaluation chip, if a peripheral circuit is added or changed in the course of developing a program, the peripheral circuit can be handled by an external circuit of the chip. The instruction code for controlling the circuit cannot be added or changed because the wiring of the instruction decoder is fixed. Therefore, it is necessary to redesign the evaluation chip, and there is a problem that the design cost is high and the design time is long.

【0004】そこで、本発明は、評価用チップを複数用
途に共用できるマイクロコンピュータを提供することを
目的とする。
Accordingly, an object of the present invention is to provide a microcomputer which can share the evaluation chip for a plurality of uses.

【0005】[0005]

【課題を解決するための手段】本発明は、前記問題点を
解決する為に創作されたものであり、プログラムメモリ
から読み出されたプログラム命令を解読し、構成素子の
設定動作、論理演算動作等を実行するマイクロコンピュ
ータにおいて、プログラム命令を解読するインストラク
ションデコーダの全部又は一部をフラッシュメモリで構
成したことを特徴とする。また、前記フラッシュメモリ
は、前記プログラム命令がアドレスデータとして供給さ
れることを特徴とする。更に、前記フラッシュメモリ
は、前記インストラクションデコーダを構成するPLA
の出力線数と同一のビット長を有することを特徴とす
る。
SUMMARY OF THE INVENTION The present invention has been made in order to solve the above-mentioned problems. The present invention decodes a program instruction read from a program memory, and performs a setting operation of constituent elements and a logical operation. And the like, in which all or a part of an instruction decoder for decoding a program instruction is constituted by a flash memory. The flash memory is characterized in that the program instruction is supplied as address data. Further, the flash memory includes a PLA that constitutes the instruction decoder.
Has the same bit length as the number of output lines.

【0006】[0006]

【発明の実施の形態】本発明の詳細を図面に従って具体
的に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The details of the present invention will be specifically described with reference to the drawings.

【0007】図1は本発明のマイクロコンピュータを示
すブロック図である。
FIG. 1 is a block diagram showing a microcomputer according to the present invention.

【0008】図1において、ROM(1)は、マイクロ
コンピュータの構成素子を特定の状態に設定したり、外
部データに対し特定の論理演算処理を行う為のプログラ
ム命令が予め格納されたものである。尚、量産用の1チ
ップマイクロコンピュータの場合、ROM(1)はマス
ク、フラッシュ等の不揮発性メモリで構成され内蔵され
るが、評価用チップの場合、ROM(1)はSRAM等
の揮発性メモリで構成され外部に独立して設けられる。
所謂プログラムRAMである。尚、ROM(1)のワー
ド長はmビットとする。プログラムカウンタPC(2)
はROM(1)をアドレス指定するものであり、マイク
ロコンピュータを初期化する時に0番地に設定され、そ
の後、ROM(1)のプログラム命令の解読結果に従っ
てその値はインクリメントされたりジャンプしたりす
る。インストラクションレジスタIR(3)はROM
(1)から読み出されたプログラム命令、テーブル情報
等を保持するものである。RAM(4)はSRAM等の
揮発性メモリであり、演算処理データの書き込み読み出
しを行うものである。データポインタ(5)はRAM
(4)をアドレス指定するものであり、インストラクシ
ョンレジスタ(3)に保持されたテーブル情報がアドレ
スデータとして内部バス(6)を介してセットされるも
のである。演算論理ユニットALU(7)は、ROM
(1)又はRAM(4)から読み出される内部データ、
外部から供給される外部データ等に対し、ROM(1)
のプログラム命令の解読結果に応じた論理演算処理を実
行するものである。演算論理ユニット(7)の演算処理
結果は、例えば内部バス(6)を介してRAM(4)に
書き込まれる。
In FIG. 1, a ROM (1) stores program instructions for setting constituent elements of a microcomputer to a specific state or performing a specific logical operation on external data. . In the case of a one-chip microcomputer for mass production, the ROM (1) is constituted by a non-volatile memory such as a mask or a flash and is built in. In the case of an evaluation chip, the ROM (1) is a volatile memory such as an SRAM. And provided independently outside.
This is a so-called program RAM. The word length of the ROM (1) is m bits. Program counter PC (2)
Is used to address the ROM (1), and is set to address 0 when the microcomputer is initialized, and then its value is incremented or jumped according to the result of decoding the program instruction in the ROM (1). Instruction register IR (3) is ROM
It holds the program instructions, table information, etc. read from (1). The RAM (4) is a volatile memory such as an SRAM, and writes and reads operation processing data. Data pointer (5) is RAM
The address (4) is designated, and the table information held in the instruction register (3) is set as address data via the internal bus (6). Arithmetic logic unit ALU (7) is ROM
(1) or internal data read from RAM (4),
ROM (1) for external data supplied from outside
And executes logical operation processing according to the result of decoding the program instruction. The operation processing result of the operation logic unit (7) is written to the RAM (4) via, for example, the internal bus (6).

【0009】インストラクションデコーダ(8)は、P
LA部(8a)とフラッシュメモリ部(8b)とから成
り、インストラクションレジスタ(3)に保持されたm
ビットのプログラム命令を解読し、制御信号を出力する
ものである。即ち、PLA部(8a)及びフラッシュメ
モリ部(8b)は、m本の入力をn本の出力に変換する
ものである。PLA部(8a)はm本及びn本の各信号
線を縦横に配置すると共に所定交点を結合し、m本の入
力とn本の出力との間に1対1の固定的な入出力関係を
持たせたものである。従って、mビットのプログラム命
令がPLA部(8a)に供給されると、n本の制御信号
がPLA部(8a)から出力される。n本の制御信号は
マイクロコンピュータ内部の構成素子を状態設定した
り、外部の周辺回路を状態設定したりする為に使用され
る。フラッシュメモリ部(8b)はデータの一括電気消
去とデータの書き込み読み出しが可能な不揮発性メモリ
であり、mビットのプログラム命令がアドレスデータと
して供給され、アドレス指定された番地からnビットの
制御信号を出力する。従って、マイクロコンピュータの
仕様に応じた制御信号(nビットのバイナリデータ)を
フラッシュメモリ部(8b)に予め書き込んでおく。
尚、インストラクションレジスタ(3)の保持内容はP
LA部(8a)及びフラッシュメモリ部(8b)の何れ
にも供給されるが、インストラクションレジスタ(3)
の保持内容がPLA部(8a)を指定する値である場
合、フラッシュメモリ部(8b)はアドレス指定され
ず、フラッシュメモリ部(8b)から制御信号が出力さ
れることはない。一方、インストラクションレジスタ
(3)の保持内容がフラッシュメモリ部(8b)を指定
する値である場合、PLA部(8a)から制御信号が出
力されることはない。尚、インストラクションデコーダ
(8)に占めるフラッシュメモリ部(8b)の割合は、
用途に応じて、全部又は一部の何れであっても良い。
[0009] The instruction decoder (8)
It is composed of an LA section (8a) and a flash memory section (8b), and is stored in the instruction register (3).
It decodes a bit program instruction and outputs a control signal. That is, the PLA unit (8a) and the flash memory unit (8b) convert m inputs into n outputs. The PLA section (8a) arranges m signal lines and n signal lines vertically and horizontally and connects predetermined intersections, and has a fixed one-to-one input / output relationship between m inputs and n outputs. It is the one that has. Therefore, when an m-bit program instruction is supplied to the PLA unit (8a), n control signals are output from the PLA unit (8a). The n control signals are used to set the state of components inside the microcomputer and to set the state of external peripheral circuits. The flash memory unit (8b) is a nonvolatile memory capable of batch electric erasure of data and writing / reading of data. The flash memory unit (8b) is supplied with an m-bit program instruction as address data, and transmits an n-bit control signal from an address designated. Output. Therefore, a control signal (n-bit binary data) according to the specification of the microcomputer is written in the flash memory unit (8b) in advance.
The contents of the instruction register (3) are P
Although supplied to both the LA section (8a) and the flash memory section (8b), the instruction register (3)
Is stored in the flash memory unit (8b), the address is not specified, and no control signal is output from the flash memory unit (8b). On the other hand, if the content held in the instruction register (3) is a value designating the flash memory unit (8b), no control signal is output from the PLA unit (8a). The ratio of the flash memory unit (8b) to the instruction decoder (8) is as follows:
Depending on the application, it may be all or part.

【0010】以上より、インストラクションデコーダ
(8)の全部又は一部の内容を変更可能とした為、評価
用チップでプログラム評価を行う場合、マイクロコンピ
ュータの仕様(プログラム)の変更、追加に伴い、周辺
回路の変更、追加を必要とする場合であっても、インス
トラクションデコーダ(8)を構成するフラッシュメモ
リ(8b)の内容を書き換えるだけで命令コードを容易
に変更できる。フラッシュメモリ(8b)は一括書き換
えが可能な為、書き換え時間は短時間で済む。従って、
評価用チップの再設計が不要となり、従来抱えていた問
題を確実に防止できる。
As described above, since the contents of all or a part of the instruction decoder (8) can be changed, when a program evaluation is performed using an evaluation chip, the peripherals are changed along with the change or addition of the specification (program) of the microcomputer. Even when the circuit needs to be changed or added, the instruction code can be easily changed only by rewriting the contents of the flash memory (8b) constituting the instruction decoder (8). Since the flash memory (8b) can be rewritten collectively, the rewriting time is short. Therefore,
It is not necessary to redesign the evaluation chip, and it is possible to reliably prevent the problems that have been encountered in the past.

【0011】[0011]

【発明の効果】本発明によれば、インストラクションデ
コーダの全部又は一部の内容を変更可能とした為、評価
用チップでプログラム評価を行う場合、マイクロコンピ
ュータの仕様の変更、追加に伴い、周辺回路の変更、追
加を必要とする場合であっても、インストラクションデ
コーダを構成する不揮発性メモリの内容を書き換えるだ
けで命令コードを容易に変更できる。従って、評価用チ
ップの再設計が不要となる利点が得られる。
According to the present invention, since all or a part of the contents of the instruction decoder can be changed, when a program evaluation is performed by an evaluation chip, the peripheral circuit is changed in accordance with a change or addition of a microcomputer specification. Even when it is necessary to change or add the instruction code, the instruction code can be easily changed only by rewriting the contents of the nonvolatile memory constituting the instruction decoder. Therefore, an advantage that redesign of the evaluation chip becomes unnecessary is obtained.

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

【図1】本発明のマイクロコンピュータを示すブロック
図である。
FIG. 1 is a block diagram showing a microcomputer of the present invention.

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

(1) ROM (8) インストラクションデコーダ (8b) フラッシュメモリ (1) ROM (8) Instruction decoder (8b) Flash memory

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 プログラムメモリから読み出されたプロ
グラム命令を解読し、構成素子の設定動作、論理演算動
作等を実行するマイクロコンピュータにおいて、 プログラム命令を解読するインストラクションデコーダ
の全部又は一部を、データを電気的に書き換え可能な不
揮発性メモリで構成したことを特徴とするマイクロコン
ピュータ。
1. A microcomputer that decodes a program instruction read from a program memory and executes a setting operation of a constituent element, a logical operation operation, and the like. Characterized by comprising an electrically rewritable nonvolatile memory.
【請求項2】 前記不揮発性メモリは、前記プログラム
命令がアドレスデータとして供給されることを特徴とす
る請求項1記載のマイクロコンピュータ。
2. The microcomputer according to claim 1, wherein the non-volatile memory is supplied with the program instruction as address data.
【請求項3】 前記不揮発性メモリの各ワードは、前記
インストラクションデコーダを構成するPLAの出力線
数と同一のビット長を有することを特徴とする請求項2
記載のマイクロコンピュータ。
3. The nonvolatile memory according to claim 2, wherein each word of the nonvolatile memory has the same bit length as the number of output lines of a PLA constituting the instruction decoder.
The microcomputer as described.
【請求項4】 前記不揮発性メモリはフラッシュメモリ
であることを特徴とする請求項1記載のマイクロコンピ
ュータ。
4. The microcomputer according to claim 1, wherein said nonvolatile memory is a flash memory.
JP10285186A 1998-10-07 1998-10-07 Microcomputer Pending JP2000112755A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10285186A JP2000112755A (en) 1998-10-07 1998-10-07 Microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10285186A JP2000112755A (en) 1998-10-07 1998-10-07 Microcomputer

Publications (1)

Publication Number Publication Date
JP2000112755A true JP2000112755A (en) 2000-04-21

Family

ID=17688228

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10285186A Pending JP2000112755A (en) 1998-10-07 1998-10-07 Microcomputer

Country Status (1)

Country Link
JP (1) JP2000112755A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8004894B2 (en) 2007-09-25 2011-08-23 Sanyo Electric Co., Ltd. Semiconductor integrated circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8004894B2 (en) 2007-09-25 2011-08-23 Sanyo Electric Co., Ltd. Semiconductor integrated circuit

Similar Documents

Publication Publication Date Title
JP2651218B2 (en) Flexible ASIC microcomputer
KR100241049B1 (en) Vector processor mechanism
USRE40423E1 (en) Multiport RAM with programmable data port configuration
JPH11353300A (en) Designation of programmable pin for semiconductor device
JPH0411957B2 (en)
EP0358773B1 (en) Microcomputer
JP2000112755A (en) Microcomputer
EP0136699B1 (en) Programmable controller
EP0714060B1 (en) One chip microcomputer with built-in non-volatile memory
JP2659147B2 (en) Evaluation microcomputer
JPS6246493A (en) Semiconductor integrated circuit device
JPS6022774B2 (en) Input/output terminal control method
JP2669958B2 (en) Microcomputer
JPH0459636B2 (en)
JPH09114800A (en) One chip microcomputer
KR900010783A (en) Semiconductor integrated circuit
JPH06349281A (en) Semiconductor device
EP0497443A2 (en) Static ram based microcontroller
JPH0635690A (en) Program data writing controller
JP2005173817A (en) Eprom built in microcomputer
JPH08147260A (en) One-chip microcomputer
JPH0413293A (en) Memory circuit
JPS62107495A (en) Semiconductor integrated circuit
JPS6284365A (en) Program developing device
JPH0322059A (en) Microcomputer