JPS61161559A - Microcomputer - Google Patents

Microcomputer

Info

Publication number
JPS61161559A
JPS61161559A JP236685A JP236685A JPS61161559A JP S61161559 A JPS61161559 A JP S61161559A JP 236685 A JP236685 A JP 236685A JP 236685 A JP236685 A JP 236685A JP S61161559 A JPS61161559 A JP S61161559A
Authority
JP
Japan
Prior art keywords
address
gate
eprom
control circuit
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.)
Granted
Application number
JP236685A
Other languages
Japanese (ja)
Other versions
JPH0731632B2 (en
Inventor
Mamoru Nakahira
中平 守
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP60002366A priority Critical patent/JPH0731632B2/en
Publication of JPS61161559A publication Critical patent/JPS61161559A/en
Publication of JPH0731632B2 publication Critical patent/JPH0731632B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To use effectively an EPROM by limiting the access to the EPROM to one of plurally divided parts of memory capacity, and allocating selectively one divided area to one of plurally divided parts of the memory on an address. CONSTITUTION:Address signals a0-a12 from a control circuit 1 and the output of an OR gate 7 are given to an address decoder 3, and one address on an EPROM2 is selected by the address decoder 3. If the address exceeds 4k when 4k-number of bytes are selected, a NAND gate 13 reports it to the control circuit 1 that the address exceeds 4k, and the output of the EPROM2 is stopped.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は半導体集積回路で構成されたマイクロコンビエ
ータに関し、特にプログラムメモリトシて書込み・消去
・読出し可能な読出し専用メモリ(以下BFROMと記
す)を内蔵し九マイクロコンビエータに関する。。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a micro combinator made of a semiconductor integrated circuit, and particularly to a read-only memory (hereinafter referred to as BFROM) that can be written to, erased from, and read from a program memory. Concerning the built-in nine micro combinators. .

〔従来の技術〕[Conventional technology]

近年、半導体製造技術の進歩によシマイクロコンビ為−
夕に内蔵されるプログラム格納用EFROMの容量が増
加しておシ、そのマイクロコンビエータのプログラム評
価用又は少量生産用等に使用する内部R,OMをEFR
OMとした製品も、例えば8にバイト程度のEFROM
容量のものも製品化されてい為。しかし、応用分野によ
っては、8にノくイトもプログラム容量を必要とせず、
その半分(4にバイト)でも十分な場合も多い。通常の
ROM内蔵品は、それに対応して容量を4にノ(イトに
縮小した製品が作られるが、EFROM内蔵製品では、
主にプログラム開発用等に使用されるので使用される量
は少ない。
In recent years, due to advances in semiconductor manufacturing technology, microcombi-
As the capacity of the built-in EFROM for storing programs increases, the internal R and OM used for program evaluation of the micro combinator or for small-scale production will become EFR.
For example, OM products are EFROM of about 8 bytes.
Capacity ones are also commercialized. However, depending on the application field, the program capacity may not be required.
In many cases, half that amount (4 plus part-time jobs) is sufficient. Normally, products with built-in ROM are manufactured with a capacity reduced to 4 (items), but products with built-in EFROM,
Since it is mainly used for program development, etc., the amount used is small.

このため一つの製品でメモリ容量の異なる製品として使
用できる方が自由度が増え都合良いため、そのように通
常行なわれている。この場合、8にパイ)41品を4に
バイト用として使用すると、後半の4にバイtが利用さ
れないという問題がある。
For this reason, it is convenient to be able to use a single product as products with different memory capacities because it increases the degree of freedom, and this is usually done. In this case, if 41 items (pie in 8) are used for part-time use in part 4, there is a problem that part-time part t is not used in the latter part 4.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、かかる従来の問題を解決し、EFRO
Mを有効に利用できるようにしたEFROM内−乏イク
ロコンピユータを提供することにある。
The purpose of the present invention is to solve such conventional problems and to
An object of the present invention is to provide an EFROM-poor microcomputer that can effectively utilize M.

〔発明の構成〕[Structure of the invention]

本発明の構成は、EPROMを内蔵し半導体集積回路化
されてなるマイクロコンビエータにおいて、前記EPR
OMへのアクセスをそのメモリ容量の複数分の一の領域
に制限する手段と、前記一領域を前記メモリのアドレス
上の複数分割の一個を選択して割当る手段とを有するこ
とを特徴とする。
The configuration of the present invention provides a micro combinator having a built-in EPROM and configured as a semiconductor integrated circuit.
The OM is characterized by comprising means for restricting access to the OM to a plurality of areas of the memory capacity thereof, and means for selecting and allocating the one area to one of the plurality of divisions on the addresses of the memory. .

〔実施例〕〔Example〕

以下、本発明を図面を参照して詳細に説明する。 Hereinafter, the present invention will be explained in detail with reference to the drawings.

第1図は本発明の一実流側の要部を示すブロック図であ
る。図において、1は制御回路、2はEPROM(ここ
では8にバイトの容量とする)、3は制御回路1からの
アドレス信号1n−atzとオアゲート7の出力とを受
けてEPROM2上の1アドレスを選択するアドレスデ
コーダである。
FIG. 1 is a block diagram showing the main parts of the actual flow side of the present invention. In the figure, 1 is a control circuit, 2 is an EPROM (in this case, 8 is a byte capacity), and 3 is a device that receives an address signal 1n-atz from the control circuit 1 and the output of an OR gate 7 to read one address on the EPROM 2. Address decoder to select.

また、8はEPROM2の内容、すなわち命令コード、
9はこの命令コード8を制御回路1がデ;−ドして出力
する各種制御信号であシ、この制御信号9は行先は図示
していない。また、12はリセット端子、11はEP几
OM2を8にバイト又は4にバイト使用かを切換える切
換信号端子、10は4にバイト使用選択時にEFROM
2の前半又は後半4にバイトを選択するための端子であ
る。ナントゲート13は、4にバイト選択時、アドレス
が4に以上になったことを制御回路1に知らせ、EPR
OM2の出力を止めるためのものである。次に選択され
る各状態ごとに説明する。
8 is the content of EPROM2, that is, the instruction code;
Reference numeral 9 indicates various control signals which the control circuit 1 decodes and outputs from the instruction code 8, and the destination of this control signal 9 is not shown. In addition, 12 is a reset terminal, 11 is a switching signal terminal for switching EP OM2 to use 8 bytes or 4 bytes, and 10 is an EFROM when byte use is selected for 4.
This is a terminal for selecting the first half of 2 or the second half of 4 bytes. When selecting byte 4, Nant gate 13 notifies control circuit 1 that the address is greater than or equal to 4, and outputs EPR.
This is to stop the output of OM2. Next, each selected state will be explained.

(1)  EPR,0M3にバイトすべて使用する場合
端子11から論理値「0」(以下、正論理記述とし、論
理値rOJをロウレベル、論理値「1」をハイレベルと
記す)の信号が入力されると、ナントゲート13はハイ
レベルで、EPROM2はアドレスに対応した命令コー
ドを出力する。
(1) When all bytes are used for EPR, 0M3 A signal of logic value "0" (hereinafter referred to as positive logic description, logic value rOJ is described as low level and logic value "1" as high level) is input from terminal 11. Then, the Nant gate 13 is at a high level, and the EPROM 2 outputs an instruction code corresponding to the address.

アンドゲート6は端子10にかかわシなくロウレベル、
アンドゲート5は一方の入力にインバータ9を通じて端
子11の反転信号、すなわちハイレベルの信号が入るの
で開き、制御回路1からのアドレス信号ataがそのま
まオアゲート7に入力される。このア/トゲ−トロの出
力がロウレベルなので、オアゲート7の出力はアドレス
信号ataであり、アドレスデコーダ3に入力される。
AND gate 6 is at low level regardless of terminal 10.
The AND gate 5 is opened because the inverted signal of the terminal 11, that is, a high level signal is input through the inverter 9 to one input thereof, and the address signal ata from the control circuit 1 is input to the OR gate 7 as it is. Since the output of this art/togatero is at a low level, the output of the OR gate 7 is the address signal ata and is input to the address decoder 3.

リセット端子12にリセット信号が入力されると、制御
回路1はアドレス信号ao=ata (aQが下位。
When a reset signal is input to the reset terminal 12, the control circuit 1 outputs an address signal ao=ata (aQ is the lower order).

a13が最上位ビット)によってO番地からIFFFH
番地まで、すなわち8にバイトアクセスすることができ
る。
a13 is the most significant bit) from address O to IFFFH
Byte access can be made up to the address, ie, up to 8 addresses.

(2)前半4にバイトアクセスの場合 端子11.12はハイレベルの信号が入力される。制御
回路1がEFROM2に対して4に以上のアドレスでア
クセスしようとすると、アドレス信号a13はハイレベ
ルとな)、ナントゲート13はロウレベルの信号を出力
する。この信号°は制御回路1に伝達され、EFROM
2へのアクセスを停止させるとともにEPR,OM 2
へも伝達されて、命令コード出力を停止させる。
(2) In the case of byte access to the first half 4, high level signals are input to terminals 11 and 12. When the control circuit 1 attempts to access the EFROM 2 with an address equal to or higher than 4, the address signal a13 becomes high level) and the Nant gate 13 outputs a low level signal. This signal ° is transmitted to the control circuit 1, and the EFROM
2 and stop access to EPR, OM 2.
The instruction code output is also transmitted to stop the instruction code output.

こうしてEPROM2へのアクセスは4に以内となる。In this way, the number of accesses to EPROM 2 is within four.

端子11がハイレベルなので、(1)の場合とは異な)
、アンドゲート5は閉じてアンドゲート6が開き、端子
10からの信号をアンドゲート6及びオアゲート7を通
してアドレスデコーダ3に入力される。この場合、端子
10をロウレベルにすることで、EFROMに入力され
るアドレスの最上位ビットがロウレベルとなシ、0番地
からoF’FFH番地(4にバイト)のみ、アクセスさ
れる。
Since terminal 11 is at high level, it is different from case (1))
, AND gate 5 is closed and AND gate 6 is opened, and the signal from terminal 10 is inputted to address decoder 3 through AND gate 6 and OR gate 7. In this case, by setting the terminal 10 to a low level, the most significant bit of the address input to the EFROM will not be at a low level, and only addresses from address 0 to oF'FFH (byte 4) will be accessed.

(3)後半4にバイトアクセスの場合 (2)の場合と端子10fCハイレベルとするほかは同
様である。前述のような径路で今後はハイレベルがアド
レスデコーダ3に伝達される、すなわちEFROM2の
アドレス最上位ビットがハイレベルとなシ、制御回路1
が0番地からEFFFH番地をアクセスしてもEPRO
M2上では100OH番地からIFPF番地の4にバイ
トがアクセスされる。
(3) Case of byte access to the second half 4 The process is the same as in case (2) except that the terminal 10fC is set to high level. From now on, a high level will be transmitted to the address decoder 3 through the path described above, that is, the most significant address bit of the EFROM 2 will not be at a high level, and the control circuit 1
Even if accessing address EFFFH from address 0, EPRO
On M2, bytes are accessed from address 100OH to IFPF address 4.

第2図はこれら3状態に対応するEFROMのアクセス
領域を示した配置図である。斜線部がアクセスされる領
域を表わす。第2図において、Aが端子11.10から
の論理「O−」の(1)の場合で8にバイトアクセス時
、Bが論理「10」の(2)の場合で前半4にバイト、
Cが論理「11」の(3)の場合で後半4にバイトアク
セス時に対応する。
FIG. 2 is a layout diagram showing access areas of the EFROM corresponding to these three states. The shaded area represents the area to be accessed. In FIG. 2, when A is logic "O-" from terminal 11.10 (1), when accessing byte to 8, when B is logic "10" (2), byte is accessed to the first half 4,
When C is logic "11" (3), the second half 4 corresponds to byte access.

なお、本実施例では、EPROM8にバイトを二分割の
例を示したが、回路及び端子を追加することによシ、そ
れ以上の分割にすることも可能である。
In this embodiment, the byte is divided into two parts in the EPROM 8, but by adding circuits and terminals, it is possible to divide the byte into more parts.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、EPROM内蔵
の半導体集積回路化されてなるマイクロコンピュータに
おいて、EFROM容量のn分の1までのプログラム複
数個を、同一マイクロコンピュータで評価することがで
きる。また、デバッグの結果、修正したプログラムを再
び書込んで評価する際に、通常EPROMを消去してか
ら書込まなければいけないが、後半の4にバイトを利用
できるので、消去の手間をかけずに、この後半4kに書
込んで評価ができ、消去に要する時間を節約できる。
As described above, according to the present invention, in a microcomputer configured as a semiconductor integrated circuit with a built-in EPROM, a plurality of programs up to 1/n of the EFROM capacity can be evaluated by the same microcomputer. In addition, as a result of debugging, when rewriting and evaluating a modified program, normally it is necessary to erase the EPROM before writing, but since the latter 4 bytes can be used, there is no need to go through the trouble of erasing. , it is possible to write and evaluate the latter half of 4k, saving the time required for erasing.

また、EPROMの前半4に、後半4にそれぞれに異な
るプログラムを書込んで複数のプログラムを評価するこ
とができる。
Furthermore, different programs can be written into the first half 4 and the second half 4 of the EPROM, respectively, and a plurality of programs can be evaluated.

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

第1図は本発明の一実施例の要部を示すブロック図、第
2図は第1図のEFROMアクセス領域の配置図である
。図において 1・・・・・・制御回路、2・・・・・・EPROM、
3・・・・・・アドレスデコーダ、4・・・・・・イン
バータ、5,6・・・・・・アンドゲート、7・・・・
・・オアゲート、8・・・・・・命令コード信号、9・
・・・・・各種制御信号%aO−a13・・・・・・ア
ドレス信号、10.11・・・・・・入力端子、12・
・・・・・リセット端子、13・・・・・・ナントゲー
トである。 l エ −一゛ 代理人 弁理士  内 原   晋(″、′−1゜゛(
FIG. 1 is a block diagram showing a main part of an embodiment of the present invention, and FIG. 2 is a layout diagram of the EFROM access area of FIG. In the figure, 1... control circuit, 2... EPROM,
3... Address decoder, 4... Inverter, 5, 6... AND gate, 7...
...OR gate, 8...Instruction code signal, 9.
...Various control signals %aO-a13...Address signal, 10.11...Input terminal, 12.
. . . Reset terminal, 13 . . . Nantes gate. l E-1゛Representative Patent Attorney Susumu Uchihara ('','-1゜゛(

Claims (1)

【特許請求の範囲】[Claims] 書込み・消去・読出し可能な読出し専用メモリを内蔵し
半導体集積回路化されたマイクロコンピュータにおいて
、前記内蔵メモリへのアクセスをそのメモリ容量の複数
分の一の領域に制限する手段と、前記一領域を前記メモ
リのアドレス上の複数分割の一個に選択して割当る手段
とを有することを特徴とするマイクロコンピュータ。
In a microcomputer configured as a semiconductor integrated circuit and having a built-in read-only memory that can be written, erased, and readable, means for restricting access to the built-in memory to an area that is a plurality of areas of the memory capacity; A microcomputer comprising means for selecting and allocating to one of the plurality of address divisions of the memory.
JP60002366A 1985-01-10 1985-01-10 Micro computer Expired - Lifetime JPH0731632B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60002366A JPH0731632B2 (en) 1985-01-10 1985-01-10 Micro computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60002366A JPH0731632B2 (en) 1985-01-10 1985-01-10 Micro computer

Publications (2)

Publication Number Publication Date
JPS61161559A true JPS61161559A (en) 1986-07-22
JPH0731632B2 JPH0731632B2 (en) 1995-04-10

Family

ID=11527257

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60002366A Expired - Lifetime JPH0731632B2 (en) 1985-01-10 1985-01-10 Micro computer

Country Status (1)

Country Link
JP (1) JPH0731632B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57157360A (en) * 1981-03-25 1982-09-28 Toshiba Corp Mis-operation detecting system for data
JPS57166244U (en) * 1981-04-14 1982-10-20
JPS58213362A (en) * 1982-06-07 1983-12-12 Toshiba Corp One-chip microcomputer
JPS59144962A (en) * 1983-02-04 1984-08-20 Nec Corp Storage control device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57157360A (en) * 1981-03-25 1982-09-28 Toshiba Corp Mis-operation detecting system for data
JPS57166244U (en) * 1981-04-14 1982-10-20
JPS58213362A (en) * 1982-06-07 1983-12-12 Toshiba Corp One-chip microcomputer
JPS59144962A (en) * 1983-02-04 1984-08-20 Nec Corp Storage control device

Also Published As

Publication number Publication date
JPH0731632B2 (en) 1995-04-10

Similar Documents

Publication Publication Date Title
EP0299697B1 (en) Semiconductor integrated circuit device
JPH0514946B2 (en)
US5093909A (en) Single-chip microcomputer including an eprom capable of accommodating different memory capacities by address boundary discrimination
JP4731020B2 (en) Semiconductor memory device, sector address conversion circuit, address conversion method, and method of using semiconductor memory device
US5592652A (en) Single-chip microcomputer system having address space allocation hardware for different modes
US6532529B1 (en) Microcomputer including flash memory overwritable during operation and operating method thereof
US6560161B1 (en) Synchronous flash memory command sequence
EP0960423A1 (en) Reprogrammable memory device with variable page size
JPS61161559A (en) Microcomputer
JPS6145347A (en) Microcomputer
JPH05307616A (en) Semiconductor device
JPS62279598A (en) Read only memory
JPS6128144B2 (en)
US5991212A (en) Semi-conductor integrated circuit device having an external memory and a test method therefor
JPS62165253A (en) Lsi incorporated non-volatile memory
US5257234A (en) Semiconductor integrated circuit device
JPS6233398A (en) Semiconductor memory device
US20020129190A1 (en) Dqmask to force internal data to mask external data in a flash memory
JPS6218698A (en) Semiconductor memory device
JP3251265B2 (en) Memory output control circuit
JPS6239450B2 (en)
JPS5927937B2 (en) information processing circuit
JPS62256145A (en) Control method for memory space
JPS61289449A (en) High speed memory diagnozing processor
JPH02301846A (en) Semiconductor storage element