JPH05346887A - Peripheral lsi of microcomputer - Google Patents

Peripheral lsi of microcomputer

Info

Publication number
JPH05346887A
JPH05346887A JP15486892A JP15486892A JPH05346887A JP H05346887 A JPH05346887 A JP H05346887A JP 15486892 A JP15486892 A JP 15486892A JP 15486892 A JP15486892 A JP 15486892A JP H05346887 A JPH05346887 A JP H05346887A
Authority
JP
Japan
Prior art keywords
bus
microcomputer
rom
circuit
selection
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.)
Withdrawn
Application number
JP15486892A
Other languages
Japanese (ja)
Inventor
Takumi Niimura
拓美 新村
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 Kyushu Ltd
Original Assignee
NEC Kyushu 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 Kyushu Ltd filed Critical NEC Kyushu Ltd
Priority to JP15486892A priority Critical patent/JPH05346887A/en
Publication of JPH05346887A publication Critical patent/JPH05346887A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To decrease the number of parts of an applied circuit constituted of the microcomputer and the peripheral LSI, and also, to realize the address arrangement desired by a user without changing the applied circuit. CONSTITUTION:The peripheral LSI is provided with a rewritable PROM 120, a ROM 130 for storing an instruction code and data of a microcomputer 100, an output AR bus 123 of device selecting information stored in advance in the PROM 120 and an internal address IAD bus 121, and a coincidence detecting circuit 122 for comparing the IAD bus 121 and the AR bus 123, and outputting a selecting signal 125 of the ROM 130, in the case they coincide with each other.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はマイクロコンピュータの
周辺LSIに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a peripheral LSI of a microcomputer.

【0002】[0002]

【従来の技術】一般に、マイクロコンピュータの周辺L
SIのROMもしくはRAM装置は内部に選択状態にあ
ることを認識するための手段を内蔵していない。そのた
め外部から入力される信号により選択状態にあることを
認識するために選択端子をもっている。
2. Description of the Related Art Generally, a peripheral L of a microcomputer
The SI ROM or RAM device has no built-in means for recognizing that it is in the selected state. Therefore, it has a selection terminal for recognizing that it is in a selected state by a signal input from the outside.

【0003】図3と図4を用いて、従来のマイクロコン
ピュータの周辺LSIとしてのROM装置を用いて応用
回路を形成した場合の例について説明する。
An example of forming an application circuit using a ROM device as a peripheral LSI of a conventional microcomputer will be described with reference to FIGS. 3 and 4.

【0004】図3の回路は、64Kバイトのアドレス空
間を持つプログラムメモリを内蔵していないマイクロコ
ンピュータ300と、マイクロコンピュータ300の処
理する命令コードまたはデータを記憶するための周辺L
SIである16KバイトROM301,302,303
および304と、マイクロコンピュータ300から周辺
回路に対してアドレス出力を行なう16ビットバス幅の
アドレスバス(以下”Aバス”と記す。)309と、A
バス309の出力するアドレス情報のビット14および
ビット15の状態をデコードして周辺LSIのROM3
01,302,303および304に対して、選択信号
326,327,328および329を出力する選択回
路305と、マイクロコンピュータ300のデータ入出
力を行う8ビット幅のデータバス(以下”Dバス”と記
す)311と、ROM301,302,303,304
の記憶するデータを読み出すためのタイミングをROM
301,302,303,304に与えるためにマイク
ロコンピュータ300から出力される信号(以下”RD
信号”と記す)310とから構成されている。
The circuit of FIG. 3 has a microcomputer 300 which does not include a program memory having an address space of 64 Kbytes, and a peripheral L for storing an instruction code or data processed by the microcomputer 300.
16K byte ROM 301, 302, 303 which is SI
And 304, an address bus (hereinafter referred to as "A bus") 309 having a 16-bit bus width for outputting an address from the microcomputer 300 to peripheral circuits, and A.
The ROM 3 of the peripheral LSI is decoded by decoding the states of bit 14 and bit 15 of the address information output from the bus 309.
A selection circuit 305 that outputs selection signals 326, 327, 328, and 329 to 01, 302, 303, and 304, and an 8-bit wide data bus (hereinafter referred to as “D bus”) that inputs and outputs data to and from the microcomputer 300. 311 and ROMs 301, 302, 303, 304
ROM timing for reading data stored in
Signals output from the microcomputer 300 (hereinafter referred to as "RD") to be given to the 301, 302, 303, 304.
Signal 310).

【0005】次に、図4を用いて選択回路305の詳細
について説明する。同図の選択回路(デコーダ)305
は、ディスクリード素子AND回路321,322,3
23および324から構成され、それぞれが基板上に金
属線により固定的に配線されている。
Next, the details of the selection circuit 305 will be described with reference to FIG. Selection circuit (decoder) 305 of FIG.
Are disk read element AND circuits 321, 322, 3
23 and 324, each of which is fixedly wired on the substrate by a metal wire.

【0006】次に、回路動作について説明する。Next, the circuit operation will be described.

【0007】マイクロコンピュータ300の動作中にア
クセスの対象となるアドレス情報がAバス309を介し
て、ROM301,302,303,304および選択
回路305に対して出力される。選択回路305は、A
バス309のアドレスのビットA15,ビットA14の
状態によりROM選択信号326,327,328,3
29を出力する。
During the operation of the microcomputer 300, address information to be accessed is output to the ROMs 301, 302, 303, 304 and the selection circuit 305 via the A bus 309. The selection circuit 305 is A
ROM selection signals 326, 327, 328, 3 depending on the states of bit A15 and bit A14 of the address of bus 309.
29 is output.

【0008】Aバス309のビットA15が”0”,ビ
ットA14が”0”の場合は、AND回路321の出力
は”1”となる。選択回路305は、選択信号326”
1”をROM301に対して出力する。このとき、RO
M301が選択状態となり、RD信号310がアクティ
ブな期間にROM301の格納するデータがDバス31
1を介してマイクロコンピュータ300に読みだされ、
マイクロコンピュータ300は読み込んだデータにした
がって所定の動作を行う。
When the bit A15 of the A bus 309 is "0" and the bit A14 is "0", the output of the AND circuit 321 is "1". The selection circuit 305 has a selection signal 326 ″.
1 "is output to the ROM 301. At this time, RO
When M301 is in the selected state and the RD signal 310 is active, the data stored in the ROM301 is the D bus 31.
Is read out to the microcomputer 300 via 1.
The microcomputer 300 performs a predetermined operation according to the read data.

【0009】同様に、Aバス309のビットA15が”
0”、ビットA14が”1”の場合は、AND回路32
2の出力であるROM選択信号327が”1”となりR
OM302のデータがマイクロコンピュータ300に読
みだされる。
Similarly, the bit A15 of the A bus 309 is "
If 0 ”and the bit A14 are“ 1 ”, the AND circuit 32
The ROM selection signal 327 which is the output of 2 becomes "1" and R
The data of the OM 302 is read by the microcomputer 300.

【0010】Aバス309のビットA15が”1”,ビ
ットA14が”0”の場合は、AND回路323の出力
であるROM選択信号328が”1”となりROM30
3のデータがマイクロコンピュータ300に読みだされ
る。
When the bit A15 of the A bus 309 is "1" and the bit A14 is "0", the ROM selection signal 328 output from the AND circuit 323 is "1".
The data No. 3 is read out to the microcomputer 300.

【0011】Aバス309のビットA15が”1”,ビ
ットA14が”1”の場合は、AND回路324の出力
であるROM選択信号329が”1”となりROM30
4のデータがマイクロコンピュータ300に読みだされ
る。
When the bit A15 of the A bus 309 is "1" and the bit A14 is "1", the ROM selection signal 329 output from the AND circuit 324 becomes "1".
The data of No. 4 is read out to the microcomputer 300.

【0012】[0012]

【発明が解決しようとする課題】以上説明した従来の周
辺LSIは以下にしめす問題がある。
The conventional peripheral LSI described above has the following problems.

【0013】従来の周辺LSI301,302,30
3,304は、選択状態にあることを認識する手段を内
蔵していない。したがって、必ず選択端子をもち、選択
端子の状態により選択/非選択を認識させる必要があ
る。
Conventional peripheral LSIs 301, 302, 30
No. 3,304 has no built-in means for recognizing that it is in the selected state. Therefore, it is necessary to have a selection terminal without fail and to recognize selection / non-selection according to the state of the selection terminal.

【0014】このため、応用回路を形成する場合にはデ
ィスクリート素子を用いてデコーダ回路を付加している
が、周辺LSIの個数が増加するとデコーダ回路の応用
回路上における占有面積が増大する。
Therefore, when forming the application circuit, the decoder circuit is added by using the discrete element. However, if the number of peripheral LSIs increases, the area occupied by the decoder circuit on the application circuit increases.

【0015】また、応用回路は通常ガラスエポキシ樹脂
基板上にマイクロコンピュータ、周辺LSIおよびディ
スクリート素子を金属配線で固定して構成されるため、
いったん形成したデコーダの変更を行うことは困難であ
る。
Further, since the application circuit is usually constructed by fixing the microcomputer, the peripheral LSI and the discrete element on the glass epoxy resin substrate with metal wiring,
It is difficult to change the decoder once formed.

【0016】[0016]

【課題を解決するための手段】本発明の特徴は、ROM
もしくはRAMと、あらかじめ装置選択情報を格納した
書き換可能な不揮発性メモリ(以下、PROMと称す)
と、前記PROMに格納した前記装置選択情報と外部よ
り入力されたアドレス情報とを比較して装置選択情報を
出力する一致検出回路とを備えたマイクロコンピュータ
の周辺LSIにある。
A feature of the present invention is that a ROM
Alternatively, a RAM and a rewritable non-volatile memory that stores device selection information in advance (hereinafter referred to as PROM)
And a coincidence detection circuit that compares the device selection information stored in the PROM with the address information input from the outside and outputs the device selection information.

【0017】[0017]

【実施例】図1を用いて、本発明による周辺LSIの第
1の実施例について説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment of a peripheral LSI according to the present invention will be described with reference to FIG.

【0018】図1の回路は、64Kバイトのアドレス空
間を持つROMを内蔵しないマイクロコンピュータ10
0と、マイクロコンピュータ100と周辺装置との間で
データの入出力を行なう8ビットバス幅のDバス106
と、マイクロコンピュータ100から出力される16ビ
ットバス幅のAバス105と、本発明による周辺LSI
である101,102,103,104とから構成され
ている。さらにマイクロコンピュータ100からは、周
辺LSIの101,102,103,104に対し読み
出しタイミングを与えるRD信号107が送られる。
The circuit shown in FIG. 1 is a microcomputer 10 which does not include a ROM having an address space of 64 Kbytes.
0, and an 8-bit bus width D bus 106 for inputting / outputting data between the microcomputer 100 and peripheral devices.
A 16-bit bus width A bus 105 output from the microcomputer 100, and a peripheral LSI according to the present invention.
, 101, 102, 103, 104. Further, the microcomputer 100 sends an RD signal 107 for giving a read timing to the peripheral LSIs 101, 102, 103, 104.

【0019】本発明による周辺LSIの101,10
2,103,104のそれぞれは、あらかじめ装置選択
情報が格納されたPROM120と、マイクロコンピュ
ータ300の命令コードおよびデータを格納する16K
バイトのROM130と、Aバス105と直接接続され
る内部アドレスバス(以下”IAバス”と記す)121
と、PROM120の出力(以下”ARバス”と記す)
123と、ARバス123とIAバス121との比較を
行い、一致した場合にROM130に対し選択信号12
5を”1”にし、不一致の場合に選択信号125を”
0”にする一致検出回路122と、ROMの読みだしデ
ータを外部バスに出力する内部データバス(以下”ID
バス”と記す)124から構成されている。
Peripheral LSIs 101 and 10 according to the present invention
Each of 2, 103, and 104 is a PROM 120 in which device selection information is stored in advance, and 16K in which an instruction code and data of the microcomputer 300 are stored.
Byte ROM 130 and internal address bus (hereinafter referred to as "IA bus") 121 directly connected to A bus 105
And the output of PROM 120 (hereinafter referred to as "AR bus")
123, the AR bus 123 and the IA bus 121 are compared, and if they match, the selection signal 12 is sent to the ROM 130.
5 is set to "1" and the selection signal 125 is set to "1" when they do not match.
The coincidence detection circuit 122 for setting to 0 ", and the internal data bus for outputting the read data of the ROM to the external bus (hereinafter referred to as" ID
Bus 124).

【0020】次に、回路動作について説明する。まず、
周辺LSIの101の場合について説明する。
Next, the circuit operation will be described. First,
The case of the peripheral LSI 101 will be described.

【0021】マイクロコンピュータ100の動作中に、
アクセス対象となるアドレス情報がAバス105を介し
て、IAバス121に出力され、アドレス情報が一致検
出回路122とROM130に入力される。
During operation of the microcomputer 100,
The address information to be accessed is output to the IA bus 121 via the A bus 105, and the address information is input to the match detection circuit 122 and the ROM 130.

【0022】このとき、デバイス101のPROM13
0に格納された装置選択情報がARバス123に出力さ
れ、ARバス123とIAバス121とが一致検出回路
122に入力され、比較が行われる。
At this time, the PROM 13 of the device 101
The device selection information stored in 0 is output to the AR bus 123, and the AR bus 123 and the IA bus 121 are input to the coincidence detection circuit 122 for comparison.

【0023】一致すると選択信号125が”1”とな
り、ROM130が選択状態となる。ROM130は、
RD信号107がアクティブの期間、データをIDバス
124を介してDバス106上に出力し、マイクロコン
ピュータ100はDバス106上のデータを読み込み所
定の動作を行う。
When they match, the selection signal 125 becomes "1", and the ROM 130 enters the selected state. ROM130 is
While the RD signal 107 is active, data is output to the D bus 106 via the ID bus 124, and the microcomputer 100 reads the data on the D bus 106 and performs a predetermined operation.

【0024】ARバス123とIAバス121の比較を
行い、不一致の場合は選択信号125が”0”となり、
ROM130は非選択状態となり、RD(リード)信号
107がアクティブとなってもデータは出力されない。
The AR bus 123 and the IA bus 121 are compared, and if they do not match, the selection signal 125 becomes "0",
The ROM 130 is in a non-selected state, and no data is output even if the RD (read) signal 107 becomes active.

【0025】この動作は、周辺LSIの102,10
3,104についても同様である。
This operation is performed by the peripheral LSIs 102, 10
The same applies to 3,104.

【0026】次に、本発明による周辺LSIの第2の実
施例について図2を用いて説明する。
Next, a second embodiment of the peripheral LSI according to the present invention will be described with reference to FIG.

【0027】この第2の実施例においては、周辺LSI
の201,202,203および204がROM130
のかわりに書き込み/読みだしの可能なRAM230を
内蔵しており、マイクロコンピュータ200からはデー
タ読みだしタイミングを与えるRD信号207ととも
に、データの書き込みタイミングを与える信号(以下”
WR信号”と記す)208がマイクロコンピュータ30
0から出力されている点が異なるだけであるので、他の
部分の構成についての説明は、図1に示す第1の実施例
と同様であるから省略する。
In the second embodiment, the peripheral LSI
201, 202, 203 and 204 of the ROM 130
Instead of this, a RAM 230 capable of writing / reading is built in, and from the microcomputer 200, an RD signal 207 for giving a data reading timing and a signal for giving a data writing timing (hereinafter referred to as "
208 is a microcomputer 30.
Since the only difference is that it is output from 0, the description of the configuration of the other parts is the same as that of the first embodiment shown in FIG.

【0028】次に、回路動作について説明する。まず、
周辺LSIの201のデータ書き込みの場合について説
明する。
Next, the circuit operation will be described. First,
A case of writing data to the peripheral LSI 201 will be described.

【0029】マイクロコンピュータ100の動作中に、
アクセス対象となるアドレス情報がAバス205を介し
て、IAバス221に出力され、アドレス情報が一致検
出回路222とRAM230に入力される。
During operation of the microcomputer 100,
The address information to be accessed is output to the IA bus 221 via the A bus 205, and the address information is input to the match detection circuit 222 and the RAM 230.

【0030】このとき、周辺LSIの201のPROM
230に格納された装置選択情報がARバス223に出
力され、ARバス223とIAバス221とが一致検出
回路222に入力され、比較が行われる。
At this time, the PROM of the peripheral LSI 201
The device selection information stored in 230 is output to the AR bus 223, and the AR bus 223 and the IA bus 221 are input to the match detection circuit 222 for comparison.

【0031】一致すると選択信号225が”1”とな
り、RAM230が選択状態となる。
When they match, the selection signal 225 becomes "1", and the RAM 230 enters the selected state.

【0032】このとき、マイクロコンピュータ300か
らは、書き込みデータがDバス206に出力され、ID
バス224を介してRAM230に入力され、WR信号
208がアクティブの期間にRAM230の所定のアド
レスにデータが書き込まれる。
At this time, the write data is output from the microcomputer 300 to the D bus 206 and the ID
The data is input to the RAM 230 via the bus 224, and data is written to a predetermined address of the RAM 230 while the WR signal 208 is active.

【0033】データの読みだし動作については図1に示
す第1の実施例の場合と同様であるのでここでは省略す
る。
The data read operation is the same as that of the first embodiment shown in FIG. 1 and will not be repeated here.

【0034】上記の動作は、周辺LSIの202,20
3,204についても同様である。
The above operation is performed by the peripheral LSIs 202 and 20.
The same applies to 3,204.

【0035】[0035]

【発明の効果】以上説明してきたように、本発明による
周辺LSIは、あらかじめ装置選択情報を書き込んだP
ROMと入力されるアドレス情報を比較し一致検出を行
うことにより、選択/非選択を判別することができる。
As described above, in the peripheral LSI according to the present invention, the device selection information is written in advance.
Selection / non-selection can be discriminated by comparing the ROM and the input address information and performing coincidence detection.

【0036】このため、応用回路を形成する場合に特別
なデコーダ回路を付加すること無くコンパクトな構成で
応用回路を構成できるという効果がある。
Therefore, when the application circuit is formed, there is an effect that the application circuit can be configured with a compact structure without adding a special decoder circuit.

【0037】また、PROMに選択情報をかきこんで使
用するため、基板上に回路を形成後でも、PROMの情
報を書き換えることによりユーザー所望のアドレスマッ
ピングを容易に実現できるという効果がある。
Further, since the PROM is used with the selection information written therein, the address mapping desired by the user can be easily realized by rewriting the information of the PROM even after the circuit is formed on the substrate.

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

【図1】本発明の第1の実施例を示す図。FIG. 1 is a diagram showing a first embodiment of the present invention.

【図2】本発明の第2の実施例を示す図。FIG. 2 is a diagram showing a second embodiment of the present invention.

【図3】従来技術を示す図。FIG. 3 is a diagram showing a conventional technique.

【図4】従来技術の選択回路を示す図。FIG. 4 is a diagram showing a conventional selection circuit.

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

100 マイクロコンピュータ 101,102,103,104 周辺LSI 105 Aバス 106 Dバス 107 RD信号 120 PROM 121 IAバス 122 一致検出回路 123 ARバス 124 IDバス 125 選択信号 130 ROM 200 マイクロコンピュータ 201,202,203,204 周辺LSI 205 Aバス 206 Dバス 207 RD信号 208 WR信号 220 PROM 221 IAバス 222 一致検出回路 223 ARバス 224 IDバス 225 選択信号 300 マイクロコンピュータ 301,302,303,304 ROM(周辺LS
I) 305 選択回路 309 Aバス 310 RD信号 311 Dバス 321,322,323,324 AND回路 326,327,328,329 選択信号
100 Microcomputer 101, 102, 103, 104 Peripheral LSI 105 A bus 106 D bus 107 RD signal 120 PROM 121 IA bus 122 Match detection circuit 123 AR bus 124 ID bus 125 Selection signal 130 ROM 200 Microcomputer 201, 202, 203, 204 Peripheral LSI 205 A bus 206 D bus 207 RD signal 208 WR signal 220 PROM 221 IA bus 222 Match detection circuit 223 AR bus 224 ID bus 225 selection signal 300 Microcomputer 301, 302, 303, 304 ROM (peripheral LS
I) 305 selection circuit 309 A bus 310 RD signal 311 D bus 321,322,323,324 AND circuit 326,327,328,329 selection signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ROMもしくはRAMと、あらかじめ装
置選択情報を格納した書き換可能な不揮発性メモリと、
前記不揮発性メモリに格納した前記装置選択情報と外部
より入力されたアドレス情報とを比較して装置選択情報
を出力する一致検出回路とを備えたことを特徴とするマ
イクロコンピュータの周辺LSI。
1. A ROM or RAM, and a rewritable non-volatile memory that stores device selection information in advance.
A peripheral LSI for a microcomputer, comprising: a coincidence detection circuit that compares the device selection information stored in the non-volatile memory with address information input from the outside and outputs device selection information.
JP15486892A 1992-06-15 1992-06-15 Peripheral lsi of microcomputer Withdrawn JPH05346887A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15486892A JPH05346887A (en) 1992-06-15 1992-06-15 Peripheral lsi of microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15486892A JPH05346887A (en) 1992-06-15 1992-06-15 Peripheral lsi of microcomputer

Publications (1)

Publication Number Publication Date
JPH05346887A true JPH05346887A (en) 1993-12-27

Family

ID=15593683

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15486892A Withdrawn JPH05346887A (en) 1992-06-15 1992-06-15 Peripheral lsi of microcomputer

Country Status (1)

Country Link
JP (1) JPH05346887A (en)

Similar Documents

Publication Publication Date Title
KR940002754B1 (en) Control method in a semiconductor integrated circuit device
JPH11353300A (en) Designation of programmable pin for semiconductor device
JPH1027128A (en) Memory board and method and device for accessing memory
JPH0715665B2 (en) Personal computer
KR960013841B1 (en) Ram and controlling method of ram and digital signal processing device with ram
JP4731020B2 (en) Semiconductor memory device, sector address conversion circuit, address conversion method, and method of using semiconductor memory device
US6751153B2 (en) Non-volatile semiconductor memory device and information apparatus
JPH05346887A (en) Peripheral lsi of microcomputer
JPH08306192A (en) Non-volatile memory writing device
JP4083474B2 (en) MEMORY DEVICE CONTROL METHOD, PROGRAM THEREOF, AND RECORDING MEDIUM
JP2510604B2 (en) Storage device
KR890004855Y1 (en) Address expending circuits of direct memory access device
KR100504064B1 (en) Microcomputer
JP2919357B2 (en) CPU interface circuit
JPH0789439B2 (en) Semiconductor integrated circuit device
JPH07254290A (en) Eeprom circuit
JPH04352046A (en) Rom card
JPH08179985A (en) Memory decoder
JPH0635690A (en) Program data writing controller
JPH0713860A (en) Information processor
JPH04177697A (en) Semiconductor memory
JPH04262433A (en) Memory card
JPH0635691A (en) Program data writing controller
JPH06214878A (en) Memory access controller
JPH07122814B2 (en) Sequence controller

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990831