JPH0610821B2 - Micro computer - Google Patents

Micro computer

Info

Publication number
JPH0610821B2
JPH0610821B2 JP15152885A JP15152885A JPH0610821B2 JP H0610821 B2 JPH0610821 B2 JP H0610821B2 JP 15152885 A JP15152885 A JP 15152885A JP 15152885 A JP15152885 A JP 15152885A JP H0610821 B2 JPH0610821 B2 JP H0610821B2
Authority
JP
Japan
Prior art keywords
prom
data
read
arrays
circuit
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 - Lifetime
Application number
JP15152885A
Other languages
Japanese (ja)
Other versions
JPS6210742A (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.)
NIPPON DENKI AISHII MAIKON SHISUTEMU KK
Original Assignee
NIPPON DENKI AISHII MAIKON SHISUTEMU KK
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 DENKI AISHII MAIKON SHISUTEMU KK filed Critical NIPPON DENKI AISHII MAIKON SHISUTEMU KK
Priority to JP15152885A priority Critical patent/JPH0610821B2/en
Publication of JPS6210742A publication Critical patent/JPS6210742A/en
Publication of JPH0610821B2 publication Critical patent/JPH0610821B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Read Only Memory (AREA)
  • Microcomputers (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は複数のPROMを内臓したマイクロコンピュー
タに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microcomputer having a plurality of PROMs therein.

〔従来の技術〕[Conventional technology]

従来、マイクロコンピュータには命令および表示用など
のテーブルデータ等、異なる情報を格納するために読出
し専用メモリ(以下、ROMとする)を複数内臓したも
のがある。しかし、ROMを内臓したマイクロコンピュ
ータは製造段階でROMの内容が格納されるため、製品
ができあがった後にはROMの内容を変えることができ
ない。そこでROMの内容を書換えられるようにROM
のかわりに電気的書込み可能な読出し専用メモリ(以
下、PROMとする。)を内臓したマイクロコンピュー
タがある。
2. Description of the Related Art Conventionally, some microcomputers have a plurality of read-only memories (hereinafter, referred to as ROMs) for storing different information such as table data for instructions and displays. However, since the contents of the ROM are stored in the microcomputer in which the ROM is incorporated at the manufacturing stage, the contents of the ROM cannot be changed after the product is completed. So that the contents of ROM can be rewritten, ROM
Instead, there is a microcomputer having a built-in electrically writable read-only memory (hereinafter referred to as PROM).

第2図は2個のPROMアレイを内臓したマイクロコン
ピュータのPROM部における要部の従来例を示すブロ
ック図である。
FIG. 2 is a block diagram showing a conventional example of a main portion of a PROM portion of a microcomputer including two PROM arrays.

第2図の回路でデータを格納する場合、選択信号18を例
えば“0”レベルにすることにより、制御回路20を第1
のPROM13に書込み可能な状態にした後、データバス
11から制御回路20、書込み回路12を通してデータバス11
上の、例えば命令データを第1のPROM13に格納す
る。次に、選択信号18を例えば“1”レベルにすること
により、制御回路20を第2のPROM14に書込み可能な
状態にした後、データバス11から制御回路20,書込み回
路21を通してデータバス11上の、例えばテーブルデータ
を第2のPROM14に格納する。
When data is stored in the circuit of FIG. 2, the control signal 20 is set to the first level by setting the selection signal 18 to, for example, “0” level.
After making it possible to write to PROM13 of
11 to control circuit 20, write circuit 12 to data bus 11
The above-mentioned command data, for example, is stored in the first PROM 13. Next, after the control circuit 20 is made writable in the second PROM 14 by setting the selection signal 18 to, for example, "1" level, the data bus 11 is passed through the control circuit 20 and the write circuit 21 to the data bus 11 , For example, table data is stored in the second PROM 14.

データを読出す場合は、第1のPROM13と第2のPR
OM14は互いに独立した動作をし、命令データを読出す
場合は第1のPROM13から読出し回路15を通して命令
データを命令レジスタ16にラッチする。テーブルデータ
を読出す場合は、第2のPROM14から読出し回路22を
通してテーブルデータをデータレジスタ17にラッチす
る。
When reading data, first PROM 13 and second PR
The OMs 14 operate independently of each other, and when reading instruction data, the instruction data is latched in the instruction register 16 from the first PROM 13 through the read circuit 15. When reading the table data, the table data is latched in the data register 17 from the second PROM 14 through the reading circuit 22.

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

第2図で示したように従来、命令を格納する第1のPR
OMとテーブルデータを格納する第2のPROMという
ように複数組のPROMを内臓したマイクロコンピュー
タでは、それぞれのPROMに独立した書込み回路と読
出し回路を持つ必要があり、その結果としてチップ面積
が増大するという欠点がある。
Conventionally, as shown in FIG. 2, the first PR for storing instructions
In a microcomputer including a plurality of sets of PROMs such as a second PROM for storing OM and table data, each PROM needs to have an independent write circuit and read circuit, and as a result, the chip area increases. There is a drawback that.

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

本発明のマイクロコンピュータは、第1及び第2のPROM
アレイを内臓したマイクロコンピュータにおいて、前記
第1及び第2のPROMアレイに対し共用化されたデータ書
き込み手段であって前記第1及び第2のPROMアレイのう
ちの選択されたPROMアレイにデータを書き込むデータ書
き込み手段と、前記第1及び第2のPROMアレイに対し共
用化されたデータ読み出し手段であって前記第1及び第
2のPROMアレイのうちの選択されたPROMアレイからデー
タを読み出すデータ読み出し手段と、前記第1及び第2
のPROMアレイにそれぞれ対応して設けられた第1及び第
2のレジスタとを有し、前記第1のレジスタは前記第1
のPROMアレイが選択されたときに活性化されて前記デー
タ読み出し手段による前記第1のPROMからの読み出しデ
ータをストアし、前記第2のレジスタは前記第2のPROM
アレイが選択されたときに活性化されて前記データ読み
出し手段による前記第2のPROMからの読み出しデータを
ストアすることを特徴とする。
The microcomputer of the present invention includes a first PROM and a second PROM.
In a microcomputer including an array, data writing means shared by the first and second PROM arrays and writing data in a selected PROM array of the first and second PROM arrays Data writing means and data reading means shared by the first and second PROM arrays, the data reading means reading data from a PROM array selected from the first and second PROM arrays. And the first and second
First and second registers respectively provided in correspondence with the PROM arrays of the
Of the PROM array is selected to store the read data from the first PROM by the data reading means, and the second register is set to the second PROM.
When the array is selected, it is activated to store the read data from the second PROM by the data read means.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明す
る。
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明のマイクロコンピュータの一実施例の要
部のブロック図である。本実施例では第2図の従来例と
同様に、2個のPROMが内臓されている。
FIG. 1 is a block diagram of a main part of an embodiment of a microcomputer of the present invention. In this embodiment, two PROMs are incorporated as in the conventional example shown in FIG.

第1のPROM3と第2のPROM4はデータを入力す
るためのデータ線を共用に接続され、書込み回路2によ
りデータバス1上のデータが書込まれ、また、読出し回
路5を介して書込まれたデータが読出されデータバス1
に出力される。アドレス制御回路9は第1のPROM3
および第2のPROM4の所定のアドレスPROMセル
を指定するアドレス信号を発生し、書込みおよび読出し
時に所定のアドレス信号を発生する。また、アドレス制
御回路9は第1のPROM3または第2のPROM4の
いずれかを選択する選択信号8により制御され、例えば
第1のPROM3の所定のアドレスに対して書込みまた
は読出しを行う場合選択信号8を“0”(ロウレベ
ル)、また第2のPROM4の所定のアドレスに対する
書込みまたは読出しを行う場合には選択信号8を“1”
(ハイレベル)に制御する。命令レジスタ6は選択信号
8が“0”の時、データバス1上のデータをラッチし、
データレジスタ7は選択信号8が“1”の時、データバ
ス1上のデータをラッチする。
The first PROM 3 and the second PROM 4 are commonly connected to the data line for inputting data, and the data on the data bus 1 is written by the write circuit 2 and written via the read circuit 5. Data is read and data bus 1
Is output to. The address control circuit 9 is the first PROM 3
An address signal designating a predetermined address PROM cell of the second PROM 4 is generated, and a predetermined address signal is generated at the time of writing and reading. Further, the address control circuit 9 is controlled by a selection signal 8 for selecting either the first PROM 3 or the second PROM 4, and for example, in the case of performing writing or reading at a predetermined address of the first PROM 3, the selection signal 8 Is "0" (low level), and the selection signal 8 is "1" when writing to or reading from a predetermined address of the second PROM4.
Control to (high level). The instruction register 6 latches the data on the data bus 1 when the selection signal 8 is “0”,
The data register 7 latches the data on the data bus 1 when the selection signal 8 is "1".

次に、本実施例における動作、すなわちデータの書込み
および読出し動作について説明する。
Next, the operation in this embodiment, that is, the data write and read operations will be described.

(1)データの書込みの場合 選択信号8が“0”のときアドレス制御回路9により第
1のPROM3が選択され、書込み回路2によりデータ
バス1上の命令が書込まれ、選択信号8が“1”のとき
アドレス制御回路9により第2のPROM4が選択さ
れ、書込み回路2を通してデータバス1上のデータが書
込まれる。
(1) When writing data When the selection signal 8 is "0", the address control circuit 9 selects the first PROM 3, the writing circuit 2 writes an instruction on the data bus 1, and the selection signal 8 is " When it is "1", the second PROM 4 is selected by the address control circuit 9, and the data on the data bus 1 is written through the write circuit 2.

(2)データの読出しの場合 選択信号8が“0”のときアドレス制御回路9により第
1のPROM3がアクセスされ、同時に命令レジスタ6
を受け入れ可能な状態として読出し回路5により命令が
読出され、データバス1を介して命令レジスタ6により
ラッチされる。選択信号8が“1”のときアドレス制御
回路9により第2のPROM4がアクセスされ、同時に
データレジスタ7を受け入れ可能な状態として読出し回
路5によりデータが読出され、データバス1を介してデ
ータレジスタ7にラッチされる。
(2) When reading data When the selection signal 8 is "0", the first PROM 3 is accessed by the address control circuit 9, and at the same time the instruction register 6 is accessed.
Is read by the read circuit 5 and is latched by the instruction register 6 via the data bus 1. When the selection signal 8 is "1", the second PROM 4 is accessed by the address control circuit 9, and at the same time, the data is read by the read circuit 5 in a state in which the data register 7 can be accepted, and the data register 7 is sent via the data bus 1. Latched on.

このように、アドレス制御回路9を設けて選択信号8を
切換えることにより第1のPROM3と第2のPROM
4で書込み回路2と読出し回路5を共用することができ
る。
In this way, by providing the address control circuit 9 and switching the selection signal 8, the first PROM 3 and the second PROM 3
4, the write circuit 2 and the read circuit 5 can be shared.

本実施例は2つのPROMを内臓したマイクロコンピュ
ータの例であるが、本発明は3つ以上のPROMを内臓
したマイクロコンピュータにも適用できる。
Although the present embodiment is an example of a microcomputer having two PROMs built therein, the present invention is also applicable to a microcomputer having three or more PROMs built therein.

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

以上説明したように本発明は、複数のPROMの書込み
回路と読出し回路を共通にし、データの読出し時に選択
信号に対応して読出しデータを所定レジスタにラッチす
ることによりチップ面積が減少できる効果がある。
As described above, the present invention makes it possible to reduce the chip area by sharing the write circuit and read circuit of a plurality of PROMs and latching the read data in a predetermined register in response to a selection signal when reading data. .

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

第1図は本発明によるマイクロコンピュータの一実施例
の要部のブロック図、第2図は2個のPROMアレイを
内臓したマイクロコンピュータの従来例の要部のブロッ
ク図である。 1:データバス、2:書込み回路、 3:第1のPROM、4:第2のPROM、 5:読出し回路、6:命令レジスタ、 7:データレジスタ、8:選択信号、 9:アドレス制御回路。
FIG. 1 is a block diagram of a main part of an embodiment of a microcomputer according to the present invention, and FIG. 2 is a block diagram of a main part of a conventional example of a microcomputer including two PROM arrays. 1: data bus, 2: write circuit, 3: first PROM, 4: second PROM, 5: read circuit, 6: instruction register, 7: data register, 8: selection signal, 9: address control circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】第1及び第2のPROMアレイを内臓したマイ
クロコンピュータにおいて、前記第1及び第2のPROMア
レイに対し共用化されたデータ書き込み手段であって前
記第1及び第2のPROMアレイのうちの選択されたPROMア
レイにデータを書き込むデータ書き込み手段と、前記第
1及び第2のPROMアレイに対し共用化されたデータ読み
出し手段であって前記第1及び第2のPROMアレイのうち
の選択されたPROMアレイからデータを読み出すデータ読
み出し手段と、前記第1及び第2のPROMアレイにそれぞ
れ対応して設けられた第1及び第2のレジスタとを有
し、前記第1のレジスタは前記第1のPROMアレイが選択
されたときに活性化されて前記データ読み出し手段によ
る前記第1のPROMからの読み出しデータをストアし、前
記第2のレジスタは前記第2のPROMアレイが選択された
ときに活性化されて前記データ読み出し手段による前記
第2のPROMからの読み出しデータをストアすることを特
徴とするマイクロコンピュータ。
1. A microcomputer having first and second PROM arrays built-in, wherein the first and second PROM arrays are data writing means shared by the first and second PROM arrays. Data writing means for writing data to a selected PROM array of the first and second PROM arrays, and data reading means shared by the first and second PROM arrays of the first and second PROM arrays. Data read means for reading data from the selected PROM array, and first and second registers provided corresponding to the first and second PROM arrays, respectively, the first register being the When the first PROM array is selected, it is activated to store the read data from the first PROM by the data read means, and the second register is stored in the second PROM. Microcomputer, characterized in that it is activated when the ray is selected to store the data read from the second PROM by said data reading means.
JP15152885A 1985-07-09 1985-07-09 Micro computer Expired - Lifetime JPH0610821B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15152885A JPH0610821B2 (en) 1985-07-09 1985-07-09 Micro computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15152885A JPH0610821B2 (en) 1985-07-09 1985-07-09 Micro computer

Publications (2)

Publication Number Publication Date
JPS6210742A JPS6210742A (en) 1987-01-19
JPH0610821B2 true JPH0610821B2 (en) 1994-02-09

Family

ID=15520482

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15152885A Expired - Lifetime JPH0610821B2 (en) 1985-07-09 1985-07-09 Micro computer

Country Status (1)

Country Link
JP (1) JPH0610821B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58139265A (en) * 1982-02-13 1983-08-18 Dainippon Printing Co Ltd Microcomputer

Also Published As

Publication number Publication date
JPS6210742A (en) 1987-01-19

Similar Documents

Publication Publication Date Title
US5127096A (en) Information processor operative both in direct mapping and in bank mapping, and the method of switching the mapping schemes
JPH0562380B2 (en)
JPH0610821B2 (en) Micro computer
JPH0259560B2 (en)
JPS608557B2 (en) Computer with programmable read-only memory
JP2687679B2 (en) Program development equipment
JPS62128094A (en) Microcomputer
JP3131918B2 (en) Memory device
JPS6246493A (en) Semiconductor integrated circuit device
JP2659979B2 (en) Computer system
JP2968636B2 (en) Microcomputer
JPH05303897A (en) Semiconductor device
KR100492985B1 (en) How to Control Working Register Blocks and Working Register Blocks for Microcontrollers or Microprocessors
JP2581057B2 (en) Evaluation microcomputer
JP2680013B2 (en) External I / O control circuit of programmable controller
KR930009061B1 (en) Memory access unit
KR100262014B1 (en) Input/output port for operating bits
JP2954988B2 (en) Information processing device
JPH04347786A (en) Storage medium incorporating ic memory
JPH0828119B2 (en) Semiconductor memory device
JPH05282194A (en) Memory access control system
JPS6115256A (en) Input and output controller
JPS5899840A (en) Control storage device
JPH03211641A (en) Address designation method for memory device
JPH0489686A (en) Memory cell