[go: up one dir, main page]

JPS6210742A - Microcomputer - Google Patents

Microcomputer

Info

Publication number
JPS6210742A
JPS6210742A JP60151528A JP15152885A JPS6210742A JP S6210742 A JPS6210742 A JP S6210742A JP 60151528 A JP60151528 A JP 60151528A JP 15152885 A JP15152885 A JP 15152885A JP S6210742 A JPS6210742 A JP S6210742A
Authority
JP
Japan
Prior art keywords
prom
data
reading
circuit
writing
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
JP60151528A
Other languages
Japanese (ja)
Other versions
JPH0610821B2 (en
Inventor
Naoki Matsuba
松葉 尚樹
Yoshinori Inoue
義則 井上
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 IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems 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 NEC IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
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

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

Abstract

PURPOSE:To decrease a chip area by providing a means to generate a selecting signal to designate the access of either of plural PROM arrays and a register group to store data read by a reading means corresponding to a selecting signal. CONSTITUTION:At the time of writing the data, when a selecting signal 8 is '0', (1), the first FROM 3, (4) is selected by an address control circuit 9 and the instruction on a data bus 1 is written by a writing circuit 2. At the time of reading the data, when the selecting signal 8 is '0', (1), the first PROM 3, (4) is accessed by the address control circuit 9, simultaneously, the data are read by a reading circuit 5 as the condition is which registers 6 and 7 can be accepted, and latched to registers 6 and 7 through the data bus. Thus, by providing the address control circuit 9 and changing over the selecting signal 8, the writing circuit 2 and the reading circuit 5 can be commonly used by the first PROM 3 and the second PROM 4. Thus, the chip area can be decreased.

Description

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

〔従来の技術〕[Conventional technology]

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

第2図の回路でデータを格納する場合、選択信号18を
例えば”θ″レベルすることにより、制御回路20を第
1のPROM13に書込み可能な状態にした後、データ
バス11から制御回路20、書込み回路12を通してデ
ータバス11上の、例えば命令データを第1のPROM
13に格納する。次に、選択信号18を例えば”l”レ
ベルにすることにより、制御回路20を第2のPROM
14に書込み可能な状態にした後、データバス11から
制御回路20゜書込み回路21を通してデータバスll
上の、例えばテーブルデータを第2のPROM14に格
納する。
When data is stored in the circuit shown in FIG. 2, the selection signal 18 is set to the "θ" level, for example, to make the control circuit 20 ready for writing into the first PROM 13, and then the data bus 11 is transmitted to the control circuit 20, For example, instruction data on the data bus 11 is transferred to the first PROM through the write circuit 12.
13. Next, by setting the selection signal 18 to the "L" level, for example, the control circuit 20 is set to the second PROM.
14, the data bus 11 is connected to the data bus 11 through the control circuit 20 and the write circuit 21.
For example, the above table data is stored in the second PROM 14.

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

テーブルデータを読出す場合は、第2のPROM14か
ら読出し回路22を通してテーブルデータをデータレジ
スタ17にラッチする。
When reading table data, the table data is latched from the second PROM 14 into the data register 17 through the read circuit 22.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

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

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

本発明のマイクロコンピュータは、複数のPROMアレ
イのデータ線が共通に接続され、前記複数のPROMア
レイにデータを書込むための書込み手段と、前記複数の
PROMアレイからデータを読出すための読出し手段と
、前記複数のPROMアレイのいずれかのアクセスを指
定する選択信号を発生する手段と、前記選択信号に対応
して前記読出し手段によって読出されたデータを記憶す
るレジスタ群を備えたことを特徴とする。
The microcomputer of the present invention has data lines of a plurality of PROM arrays connected in common, a writing means for writing data to the plurality of PROM arrays, and a reading means for reading data from the plurality of PROM arrays. and means for generating a selection signal specifying access to one of the plurality of PROM arrays, and a register group for storing data read by the reading means in response to the selection signal. do.

このように複数のPROMアレイに対して、共通に書込
み手段と読出し手段を設けることにより、チップ面積を
小さくすることができる。
By providing a common writing means and reading means for a plurality of PROM arrays in this manner, the chip area can be reduced.

〔実施例〕〔Example〕

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

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

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

次に、本実施例における動作、すなわちデータの書込み
および読出し動作について説明する。
Next, operations in this embodiment, ie, 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
The second PROM 3 is selected, the instruction on the data bus 1 is written by the write circuit 2, and when the selection signal 8 is "1", the second PROM 4 is selected by the address control circuit 9,
Data on data bus 1 is written through write circuit 2.

(2)データの読出しの場合 選択信号8が”0”のときアドレス制御回路9により第
1のPROM3がアクセスされ、同時に命令レジスタ6
を受は入れ可能な状態として読出し回路5により命令が
読出され、データバス1を介して命令レジスタ6により
ラッチされる0選択信号8が”1”のときアドレス制御
回路9により第2のPROM4がアクセスされ、同時に
データレジスタ7を受は入れ可能な状態として読出し回
路5によりデータが読出され、データバスlを介してデ
ータレジスタ7にラッチされる。
(2) In the case of 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
The instruction is read out by the readout circuit 5 in a state where it can be accepted, and when the 0 selection signal 8 latched by the instruction register 6 via the data bus 1 is "1", the address control circuit 9 selects the second PROM 4. At the same time, the data register 7 is read out by the read circuit 5 and latched into the data register 7 via the data bus l.

このように、アドレス制御回路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
4, the write circuit 2 and read circuit 5 can be shared.

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

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

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

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

第1図は本発明によるマイクロコンピュータの一実施例
の要部のブロック図、第2図は2個のPROMアレイを
内蔵したマイクロコンピュータの従来例の要部のプロ・
ンク図である。 1:データバス、   2:書込み回路、3:第1(7
)PI(OM、4:第2(7)PROM、5:読出し回
路、   6:命令レジスタ、7:データレジスタ、8
:選択信号、 9ニアドレス制御回路。
FIG. 1 is a block diagram of the main parts of an embodiment of a microcomputer according to the present invention, and FIG. 2 is a block diagram of the main parts of a conventional example of a microcomputer incorporating two PROM arrays.
This is a link diagram. 1: Data bus, 2: Write circuit, 3: First (7
) PI (OM, 4: 2nd (7) PROM, 5: Read circuit, 6: Instruction register, 7: Data register, 8
: Selection signal, 9 near address control circuit.

Claims (1)

【特許請求の範囲】  複数のPROMアレイを内蔵したマイクロコンピュー
タにおいて、 前記複数のPROMアレイのデータ線が共通に接続され
、 前記複数のPROMアレイにデータを書込むための書込
み手段と、前記複数のPROMアレイからデータを読出
すための読出し手段と、前記複数のPROMアレイのい
ずれかのアクセスを指定する選択信号を発生する手段と
、前記選択信号に対応して前記読出し手段によって読出
されたデータを記憶するレジスタ群を備えたことを特徴
とするマイクロコンピュータ。
[Scope of Claims] A microcomputer incorporating a plurality of PROM arrays, wherein data lines of the plurality of PROM arrays are connected in common, and a writing means for writing data to the plurality of PROM arrays; reading means for reading data from a PROM array; means for generating a selection signal for designating access to one of the plurality of PROM arrays; and means for generating data read by the reading means in response to the selection signal. A microcomputer characterized by having a group of registers for storing data.
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 true JPS6210742A (en) 1987-01-19
JPH0610821B2 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)

Citations (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

Patent Citations (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
JPH0610821B2 (en) 1994-02-09

Similar Documents

Publication Publication Date Title
US4319343A (en) Programmable digital memory circuit
US5148396A (en) Semiconductor integrated circuit memory enabling memory write masking
JPS63247992A (en) Integrated memory circuit
JPS6210742A (en) Microcomputer
JPH0279294A (en) Data length variable memory
JP3035956B2 (en) Write-maskable semiconductor memory device
US4152778A (en) Digital computer memory
JPH0259560B2 (en)
JPH0520173A (en) Cache memory circuit
KR0164818B1 (en) Optional block light semiconductor memory device
JP2903540B2 (en) Semiconductor storage device
JPH05241946A (en) Random access memory device with built-in rom
JPH05303897A (en) Semiconductor device
JPH04347786A (en) Storage medium incorporating ic memory
JPS6054055A (en) Storage device
JP3336624B2 (en) Access target selection circuit of evaluation data processing semiconductor device
JPS62128094A (en) Microcomputer
JPS5833765A (en) Memory controlling system
JPH01154392A (en) Memory circuit
JPH0465738A (en) Memory device
JPS61222086A (en) Semiconductor memory element
JPS6246493A (en) Semiconductor integrated circuit device
JPH04285796A (en) Semiconductor storage device
JPH06131519A (en) Ic card
JPS6155694B2 (en)