JPH03282953A - Semiconductor device having device selecting circuit - Google Patents
Semiconductor device having device selecting circuitInfo
- Publication number
- JPH03282953A JPH03282953A JP8422490A JP8422490A JPH03282953A JP H03282953 A JPH03282953 A JP H03282953A JP 8422490 A JP8422490 A JP 8422490A JP 8422490 A JP8422490 A JP 8422490A JP H03282953 A JPH03282953 A JP H03282953A
- Authority
- JP
- Japan
- Prior art keywords
- address
- bus
- signal
- memory
- 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.)
- Granted
Links
- 239000004065 semiconductor Substances 0.000 title claims abstract description 13
- 230000015654 memory Effects 0.000 claims abstract description 59
- 238000010586 diagram Methods 0.000 description 14
- 230000002093 peripheral effect Effects 0.000 description 6
- 101150103877 Selenom gene Proteins 0.000 description 5
- 102100023647 Selenoprotein M Human genes 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000000034 method Methods 0.000 description 4
- 238000010187 selection method Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000000630 rising effect Effects 0.000 description 3
- 101100087530 Caenorhabditis elegans rom-1 gene Proteins 0.000 description 1
- 101100305983 Mus musculus Rom1 gene Proteins 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はマイクロコンピュータシステムに関し、特にデ
バイスセレクト方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microcomputer system, and particularly to a device selection method.
近年マイクロプロセッサの性能は、プロセス技術等の改
良に伴い著しく向上し、このマイクロプロセッサを中心
にメモリおよび周辺入出力装置等から構成される規模の
大きなマイクロコンピュータシステムが構築されている
。通常この様なシステムでは、マイクロプロセッサとメ
モリおよび周辺入出力装置間にデバイスセレクト回路が
設置され、このデバイスセレクト回路により必要とする
メモリや周辺入出力装置を論理的に選択している。In recent years, the performance of microprocessors has improved significantly with improvements in process technology, etc., and large-scale microcomputer systems are being built around these microprocessors, including memories, peripheral input/output devices, and the like. Typically, in such a system, a device select circuit is installed between the microprocessor and the memory and peripheral input/output devices, and this device select circuit logically selects the required memory and peripheral input/output devices.
第12図はこの種のデバイスセレクト方式の従来例を示
す構成図、第13図、第14図は第12図の従来例の動
作を示すタイミングチャートである。FIG. 12 is a block diagram showing a conventional example of this type of device selection method, and FIGS. 13 and 14 are timing charts showing the operation of the conventional example of FIG. 12.
マイクロプロセッサ700(以下M P U 700と
記す)は、データの読み出しタイミングを指定するロウ
アクティブなリード信号700−2 (以下RD70
0−2信号と記す)、データの書き込みタイミングを指
定するロウアクティブなライト信号700−3(以下W
R700−3と記す)を出力し、データの入出力処理
、演算処理およびマイクロコンピュータシステム全体の
制御を行う。メモリ701 、702 。The microprocessor 700 (hereinafter referred to as MPU 700) receives a row active read signal 700-2 (hereinafter referred to as RD70) that specifies data read timing.
0-2 signal), a row active write signal 700-3 (hereinafter referred to as W
R700-3) and performs data input/output processing, arithmetic processing, and control of the entire microcomputer system. Memories 701 and 702.
703 、704は、M P U2O5が処理するデー
タ及びプログラムを格納する。ラッチ回路705はMP
U700からのアドレス情報をラッチする。デバイスセ
レクト回路706は、論理ゲートの組合せから成る固定
的な回路であって、アドレス情報をデコードしてセレク
トするメモリに対してだけチップセレクト信号(以下C
8信号706−1〜706−4と記す)706−1〜7
06−4をアクティブにする。アドレスデータバス70
7(以下ADババス07と記1>はMP U 700と
ラッチ回路705とメモリ701 、702 。703 and 704 store data and programs processed by the MPU2O5. The latch circuit 705 is MP
Latch address information from U700. The device select circuit 706 is a fixed circuit consisting of a combination of logic gates, and a chip select signal (hereinafter referred to as C
8 signals 706-1 to 706-4) 706-1 to 7
Activate 06-4. address data bus 70
7 (hereinafter referred to as AD bus 07) includes an MPU 700, a latch circuit 705, and memories 701 and 702.
703 、704とを接続し、アドレスバス708(以
下Aバス708と記す)はラッチ回路705とデバイス
セレクト回路706とメモリ701 、702 、70
3 。703 and 704, and an address bus 708 (hereinafter referred to as A bus 708) connects a latch circuit 705, a device select circuit 706, and memories 701, 702, and 70.
3.
704とを接続している。704 is connected.
次に、第12図の従来例の動作について第13図、第1
4図を参照して説明する。Next, regarding the operation of the conventional example shown in Fig. 12, Fig. 13 and 1
This will be explained with reference to FIG.
(1) M P U 700がメモリ701 、702
、703 、704からデータを読み出す場合(第1
3図)。(1) MPU 700 has memories 701 and 702
, 703, 704 (first
Figure 3).
M P U 700は、リード処理におけるタイミング
T1の前縁でA L E信号700−1を立ち上げる。The MPU 700 raises the ALE signal 700-1 at the leading edge of timing T1 in the read process.
次に、M P U 700は、タイミングT1の後半で
アドレス情報をADバス707に出力する。その後タイ
ミングT1の後縁でALE信号700−1を立ち下げる
。デバイスセレクト回路706はAバス708のアドレ
ス情報に基づき所定C8信号をアクティブにする。タイ
ミングT3の期間出力されるRD信号700−2は、C
S値号706−1〜706−4がアクティブなメモリに
対してのみ有効となり、このメモリはへバス708のア
ドレス情報の指すアドレスのデータをADバス707に
出力する。Mp tJ 700は、ADバス707に出
力されたデータが有効になるタイミングT3の期間の所
定のタイミングでADバス707のデータを取り込む。Next, the MPU 700 outputs address information to the AD bus 707 at the latter half of timing T1. Thereafter, the ALE signal 700-1 falls at the trailing edge of timing T1. Device select circuit 706 activates a predetermined C8 signal based on address information on A bus 708. The RD signal 700-2 output during the period of timing T3 is C
The S value numbers 706-1 to 706-4 are valid only for the active memory, and this memory outputs data at the address indicated by the address information on the bus 708 to the AD bus 707. The Mp tJ 700 takes in data from the AD bus 707 at a predetermined timing during a period of timing T3 when the data output to the AD bus 707 becomes valid.
(2) M P U 700がメモリ701 、702
、703 、704にデータを書き込む場合(第14
図)。(2) MPU 700 has memories 701 and 702
, 703, 704 (14th
figure).
MPU700は、ライト処理におけるタイミングT1の
前縁でALE信号70G−1を立ち上げる。次に、タイ
ミングT1の後半でADバス707にアドレス情報を出
力する。その後タイミングT1の後縁でALE信号70
0−1信号を立ち下げる、MPU700は−[2タイミ
ングの後半でADバス707にデータを出力する。セレ
クト回路706はAバス108上のアドレス情報に基づ
き所定のO8信号をアクティブにする。タイミングT3
の期間出力されるWR信号700−3はC8信号706
−1〜706−4がアクティブなメモリに対してのみ有
効となる。MPU700は、このメモリに対して、Aバ
ス708のアドレス情報の指すアドレスにADババス0
7のデータをWR信号700−3の立ち上りエッヂに同
期して書き込む。The MPU 700 raises the ALE signal 70G-1 at the leading edge of timing T1 in the write process. Next, address information is output to the AD bus 707 at the latter half of timing T1. After that, at the trailing edge of timing T1, the ALE signal 70
The MPU 700 lowers the 0-1 signal and outputs data to the AD bus 707 in the second half of the -[2 timing. The select circuit 706 activates a predetermined O8 signal based on the address information on the A bus 108. timing T3
The WR signal 700-3 output during the period is the C8 signal 706.
-1 to 706-4 are valid only for active memories. The MPU 700 writes AD bus 0 to the address pointed to by the address information of the A bus 708 for this memory.
7 data is written in synchronization with the rising edge of the WR signal 700-3.
上述した従来のデバイスセレクト方式は、MPU700
とメモリおよび周辺入出力装置の間に設けられたデバイ
スセレクト回路706によって行なわれており、使用す
るメモリおよび周辺入出力装置の数が増加するとデバイ
スセレクト回路706を構成するデコーダ、ラッチ、ド
ライバ等の多くの付加ハードウェアを必要とするため、
システムの経済効率を損なうとともに、部品点数の増加
による信頼性の低下を引き起す欠点があり、セレクト回
路706は、基板上に固定された回路であるので、回路
の一部に変更や追加が必要な場合、たとえばメモリの増
設のためのラッチ、デコーダの追加や、デバイスの割り
付はアドレスを別のアドレスに移すためのデコーダの変
更が必要な場合、回路の追加変更が容易にできないとい
う欠点もある。The conventional device selection method described above is based on the MPU700
This is done by a device select circuit 706 provided between the memory and peripheral input/output devices, and as the number of memories and peripheral input/output devices used increases, the number of decoders, latches, drivers, etc. that make up the device select circuit 706 increases. Requires a lot of additional hardware
There is a drawback that it impairs the economic efficiency of the system and causes a decrease in reliability due to an increase in the number of parts.Since the select circuit 706 is a circuit fixed on the board, it is necessary to change or add a part of the circuit. For example, when adding a latch or decoder to expand memory, or changing a decoder to move an address to another address for device allocation, there is also the disadvantage that additional changes to the circuit cannot be easily made. be.
本発明のデバイスセレクト回路付半導体装置は、少くと
も書き換え可能な不揮発性メモリを含むメモリ部を有す
る半導体装置において、デバイスセレクト情報を保持す
るための参照アドレスレジスタと、
イニシャル時に予め設定されたデバイスセレクト情報を
参照アドレスレジスタに保持させるアドレスレジスタ制
御回路と、
前記半導体装置を選択するためのマイクロプロセッサか
らのアドレス情報を保持するアドレス保持回路と、
参照アドレスレジスタとアドレス保持回路とが保持した
データを比較し、一致したときは、一致信号を出力する
比較回路と、
比較回路が一致信号を出力すると、アドレス保持回路が
保持しているアドレス情報に該当する前記メモリ部のア
ドレスにマイクロプロセッサがアクセスできるようにさ
せるバス制御部とを有する。A semiconductor device with a device select circuit according to the present invention is a semiconductor device having a memory section including at least a rewritable non-volatile memory, and includes a reference address register for holding device select information, and a device select circuit set in advance at the time of initialization. An address register control circuit that causes information to be held in a reference address register, an address holding circuit that holds address information from a microprocessor for selecting the semiconductor device, and data held by the reference address register and the address holding circuit are compared. When a match occurs, a comparison circuit outputs a match signal, and when the comparison circuit outputs a match signal, an address holding circuit allows the microprocessor to access the address in the memory section corresponding to the address information held. and a bus control unit that allows the bus to operate.
半導体装置がセレクト回路を内蔵しているので、参照ア
ドレスをセレクト回路に設定することにより、マイクロ
プロセッサから該当する半導体装置を容易に選択するこ
とができ、選択のためのラッチ、デコーダ、ドライバー
等の付加ハードウェアが不要となり、マイクロプロセッ
サとメモリとをダイレクトに接続し、非常にコンパクト
なシステム構成が可能となる。Since the semiconductor device has a built-in select circuit, by setting a reference address in the select circuit, the corresponding semiconductor device can be easily selected from the microprocessor, and latches, decoders, drivers, etc. No additional hardware is required, the microprocessor and memory are directly connected, and an extremely compact system configuration is possible.
次に、本発明の実施例について図面を参照して説明する
。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明のデバイスセレクト回路付半導体装置の
第1の実施例であるメモリ101 、102 。FIG. 1 shows memories 101 and 102 which are a first embodiment of a semiconductor device with a device select circuit according to the present invention.
103 、104が用いられているコンピュータシステ
ムを示すブロック図、第2図は第1図のメモリ101を
詳細に示すブロック図、第3図は第2図のP ROM
101−1の機能を示す説明図、第4図、第5図は第1
図のメモリ101の動作を示すタイミングチャートであ
る。103 and 104 are used, FIG. 2 is a block diagram showing details of the memory 101 in FIG. 1, and FIG. 3 is a block diagram showing the PROM in FIG. 2.
An explanatory diagram showing the functions of 101-1, Figures 4 and 5 are
3 is a timing chart showing the operation of the memory 101 shown in the figure.
マイクロプロセッサ100(以下M P LJ 100
と記す)はRESET信号107によりイニシャライズ
され、アドレスラッチイネーブル信号100−1 (
以下ALE信号100−1と記す)、リード信号100
−2 (以下RD倍信号00−2と記す)、ライト信
号100−3 (以下WR信号100−3と記す)を
出力し、アドレスデータバス106(以下ADババス0
6と記す)にアドレスを出力してメモリ101 、10
2 、103 、104にアクセスし、ADババス06
を介してメモリ101゜102 、103 、104と
データの授受を行う。Microprocessor 100 (hereinafter referred to as M P LJ 100)
) is initialized by the RESET signal 107, and the address latch enable signal 100-1 (
(hereinafter referred to as ALE signal 100-1), read signal 100
-2 (hereinafter referred to as RD double signal 00-2), write signal 100-3 (hereinafter referred to as WR signal 100-3), address data bus 106 (hereinafter referred to as AD bus 0
6) and outputs the address to the memories 101 and 10.
2, 103, 104, AD Babasu 06
Data is exchanged with the memories 101, 102, 103, and 104 via the memory 101, 102, 103, and 104.
本実施例においてメモリ101 、102 、103
。In this embodiment, memories 101, 102, 103
.
104は同様な構成をしているので、メモリ101につ
いて第2図、第3図を参照して説明する。Since the memory 104 has a similar configuration, the memory 101 will be explained with reference to FIGS. 2 and 3.
書き換え可能な読み出し専用メモリ101−1 (以
下P ROM 101−1と記す)は、M P U 1
0Gが実行するブOグラムを格納しているプログラム格
納領域と、デバイスセレクト情報を格納しているデバイ
スセレクト情報格納領域とを有する(第3図(a))、
レジスタ101−2 (以下A R101−2と記す
)は、デバイスセレクト情報をマイクロコンピュータシ
ステムの動作中保持する。AR制御回路101−7はF
ROM 101−1の保持するデバイスセレクト情報
のA R101−2への転送をtiIlmする。アドレ
スラッチ101−3 (以下A 1101−3と記す
)は、ADババス06のアドレス情報をラッチする。−
数回路101−1は、A R101−2の保持する内容
とALlol−3にラッチされたアドレス情報との比較
を行い、一致を検出した場合のみ、セレクト信号101
−6(以下SEL信号101−6と記す)をアクティブ
にする。SEL信号101−6がアクティブの時、内部
データバス101−8 (以下MDババス01−8と
記す)とADババス06との間のデータの授受を制御す
るバス111110部101−9を有する。マイクロコ
ンピュータがアクセスできるのはF ROM 101−
1のプログラム格納領域(第3図(b))である。The rewritable read-only memory 101-1 (hereinafter referred to as PROM 101-1) is MPU1.
It has a program storage area that stores programs executed by 0G, and a device selection information storage area that stores device selection information (FIG. 3(a)).
The register 101-2 (hereinafter referred to as AR101-2) holds device selection information during operation of the microcomputer system. The AR control circuit 101-7 is F
The device select information held in the ROM 101-1 is transferred to the AR 101-2. The address latch 101-3 (hereinafter referred to as A 1101-3) latches address information of the AD bus 06. −
The number circuit 101-1 compares the content held by the AR 101-2 with the address information latched in the ALlol-3, and only when a match is detected, outputs the select signal 101.
-6 (hereinafter referred to as SEL signal 101-6) is activated. It has a bus 111110 section 101-9 that controls the exchange of data between an internal data bus 101-8 (hereinafter referred to as MD bus 01-8) and AD bus 06 when the SEL signal 101-6 is active. The microcomputer can access F ROM 101-
1 (FIG. 3(b)).
次に、第1図の実施例のメモリ101の動作について第
4図、第5図、第6図を参照して説明する。Next, the operation of the memory 101 of the embodiment shown in FIG. 1 will be explained with reference to FIGS. 4, 5, and 6.
(1) P ROM 101−1が保持するデバイスセ
レクト情報のA R101−2への転送(第4図)。(1) Transfer of device selection information held by PROM 101-1 to AR 101-2 (FIG. 4).
アクティブOつであるRESET信号107が時刻to
から時刻t1までの期間Tでロウになると、M P U
100とメモリ101 、102 、103 、10
4はイニシャライズされる。期間■において、A Rl
l1ll il1回路101−7はMAババス01−4
にデバイスセレクト情報を保持しているp ROM 1
01−1内のデバイスセレクト情報格納領域のアドレス
を出力する。これに同期して、MDババス01−8にデ
バイスセレクト情報が出力される。A R101−2は
、時刻t1にRESET信号107がインアクティブに
なる立ち上がりタイミングをとらえて、MDババス01
−8のデバイスセレクト情報を取り込む。The RESET signal 107, which is active
When it becomes low during the period T from t1 to time t1, MPU
100 and memories 101, 102, 103, 10
4 is initialized. In period ■, A Rl
l1ll il1 circuit 101-7 is MA bus 01-4
p ROM 1 that holds device selection information in
Outputs the address of the device select information storage area in 01-1. In synchronization with this, device selection information is output to the MD bus 01-8. A R101-2 captures the rising timing when the RESET signal 107 becomes inactive at time t1, and activates the MD bus 01.
-8 device selection information is imported.
(2)デバイスセレクト情報がA R101−2に格納
された後即ち、リセット解除後のM P LJ 100
の読み出しに対する動作(第5図)。(2) After the device selection information is stored in AR101-2, that is, after the reset is released, MPLJ100
(FIG. 5).
M p u iooはリード処理におけるタイミングT
1の前縁でALE信号10G−1を立ち上げる。次に、
タイミングT1の後半でアドレス情報をADババス06
に出力し、タイミングT1の後縁でALF信号100−
1を立ち下げる。A L 101−3は、タイミングT
1の終了時のALE信号100−1の立ち下がりタイミ
ングをとらえて、ADババス06のアドレス情報をラッ
チする。−数回路101−5は、ALlol−3内にラ
ッチされたアドレス情報と、ARlol−2の保持して
いるデバイスセレクト情報とを比較し、一致した場合に
はSF[−信号101−6をアクティブにする。バス制
御部101−9は、SEL信号101−6がアクティブ
の場合のみ、タイミングT3の期間アクティブになるR
D信号100−2に同期して、A L 101−3が保
持するアドレス情報の指示するF ROM 101−1
のアドレスのデータをMDババス01−8を通して、A
Dババス06に出力する。M p u ioo is timing T in read processing
ALE signal 10G-1 rises at the leading edge of 1. next,
In the latter half of timing T1, the address information is AD Babasu 06.
ALF signal 100- is output at the trailing edge of timing T1.
Lower 1. A L 101-3 is timing T
The address information of the AD bus 06 is latched by capturing the fall timing of the ALE signal 100-1 at the end of the ALE signal 100-1. - The number circuit 101-5 compares the address information latched in ALlol-3 and the device select information held in ARlol-2, and if they match, activates the SF[- signal 101-6. Make it. The bus control unit 101-9 has an R signal that becomes active for a period of timing T3 only when the SEL signal 101-6 is active.
FROM 101-1 instructs address information held by AL 101-3 in synchronization with D signal 100-2.
The data at the address of A
Output to D bus 06.
M P U 100は、ADババス06に出力されたデ
ータが有効になるT3タイミング内の所定のタイミング
でADババス06のデータを取り込む。The MPU 100 takes in the data of the AD bus 06 at a predetermined timing within the T3 timing when the data output to the AD bus 06 becomes valid.
第6図は本発明のメモリの第2の実施例が用いられてい
るコンピュータシステムを示すブロック図、第7図は第
6図のメモリ401を詳細に示すブロック図、第8図は
第7図のP ROM 401−1の機能を示す説明図、
第9図、第10図、第11図は第6図のメモリ401の
動作を示すタイミングチャートである。FIG. 6 is a block diagram showing a computer system in which a second embodiment of the memory of the present invention is used, FIG. 7 is a block diagram showing details of the memory 401 in FIG. 6, and FIG. An explanatory diagram showing the functions of PROM 401-1 of
FIGS. 9, 10, and 11 are timing charts showing the operation of the memory 401 in FIG. 6.
本実施例は、メモリ部401−1がF ROM 401
−11と随時書き込み読み出し可能なデータメモリ40
1−12とを含み、A R401−2とA RIIJ
1M]回路401−7とが2つのセレクト信号を一致回
路401−5に送出し、−数回路401−5が保持した
2つのセレクト信号401−6 、401−10 (以
下S E I−L信号401−6 、8 ELM信号4
01−10と記す)を出力し、バス制御部401−9が
S E L L信号401−6 、 S E LM信号
401−10に基づいてP ROM 401−1を制御
する点が第1図の実施例と異なる。In this embodiment, the memory section 401-1 is F ROM 401
-11 and data memory 40 that can be written and read at any time
1-12, including AR401-2 and ARIIJ
1M] circuit 401-7 sends two select signals to the matching circuit 401-5, and the two select signals 401-6 and 401-10 held by the minus number circuit 401-5 (hereinafter referred to as S E I-L signal 401-6, 8 ELM signal 4
01-10), and the bus control unit 401-9 controls the PROM 401-1 based on the SELL signal 401-6 and the SELM signal 401-10. This is different from the example.
(1)メモリ部401−11が保持するデバイスセレク
ト情報のA R401−2への転送。(1) Transfer of device selection information held by the memory unit 401-11 to the AR 401-2.
転送の方法は第1の実施例と同じであるが、メモリ部4
01−11からはPROMセレクト情報とデータメモリ
セレクト情報とが順次読み出され、AR401−2に格
納される。The transfer method is the same as in the first embodiment, but the memory section 4
From 01-11, PROM select information and data memory select information are sequentially read out and stored in AR401-2.
(2)PROMセレクト情報とデータメモリセレクト情
報とがA R401−2に格納された後、即ちリセット
解除後、M P U 10Gの読み出しに対する動作(
第10図)。(2) After the PROM selection information and data memory selection information are stored in the AR401-2, that is, after the reset is released, the operation for reading the MPU 10G (
Figure 10).
M P Ll 100は、タイミングT1の前縁でAL
E信号100−1を立ち上げ、タイミングT1の後半で
アドレス情報をADババス06に出力し、その後タイミ
ングT1の後縁でA L E信号100−1を立ち下げ
る。このタイミングT1の立ち下がりをとらえて、アド
レスラッチ401−4は、ADババス06のアドレス情
報をラッチする。ラッチしたアドレス情報とA R40
1−3の保持している内容とを比較して、PROMセレ
クト情報に一致した場合5ELL信号401−6をアク
ティブにする。また、アドレス情報がデータメモリセレ
クト情報に一致した場合にはSELM信号401−10
をアクティブにする。M P Ll 100 is AL at the leading edge of timing T1.
The E signal 100-1 is raised, address information is output to the AD bus 06 at the latter half of timing T1, and then the ALE signal 100-1 is lowered at the trailing edge of timing T1. The address latch 401-4 latches the address information of the AD bus 06 in response to the fall of the timing T1. Latched address information and A R40
1-3, and if they match the PROM selection information, the 5ELL signal 401-6 is activated. Furthermore, if the address information matches the data memory select information, the SELM signal 401-10
Activate.
5ELL信号401−6またはSELM信号401−1
0がアクティブの場合、期間T3にM P U 100
から出力されるRD信号100−2は有効になり、5E
LL信号401−6がアクティブの場合、A L 40
1−3が保持するアドレスが指すF ROM 401−
11のデータがMDババス01−8上に、S F L
Y信号401−10がアクティブの場合、A L 40
1−3が保持するアドレスが指すデータメモリ401−
12のデータがMDババス01−8に、それぞれ出力さ
れ、バス制御部401−9の制御によりADババス06
に出力される。5ELL signal 401-6 or SELM signal 401-1
If 0 is active, MPU 100 in period T3
The RD signal 100-2 output from 5E becomes valid and
When the LL signal 401-6 is active, A L 40
F ROM 401- pointed to by the address held by 1-3
11 data is on MD bus 01-8, S F L
When Y signal 401-10 is active, A L 40
Data memory 401- pointed to by the address held by 1-3
12 data are output to the MD buses 01-8, respectively, and the AD buses 06 are output under the control of the bus control unit 401-9.
is output to.
M P U 100は、ADババス06上に出力された
データが有効になるタイミングT3内の所定のタイミン
グでADババス06のデータを取り込む。The MPU 100 takes in data from the AD bus 06 at a predetermined timing within timing T3 when the data output to the AD bus 06 becomes valid.
(3)データメモリ401−12にデータを書き込む場
合には、M p u iooはタイミングT1の前縁で
ALF信号100−1を立ち上げ、タイミングT1の後
半でアドレス情報をADババス06に出力する。その後
、タイミングT1の後縁でA I E信@100−1を
立ち下げる。このタイミングT1の立ち下がりをとらえ
て、A L 401−3は、ADババス06のアドレス
情報をラッチする。ラッチしたアドレス情報とA R4
01−2の保持する内容とを比較して、アドレス情報が
データメモリセレクト情報と一致した場合SELM信号
401−10をアクティブにする。MPU100は続く
タイミングT2の後半から書き込みデータをADババス
06に出力する。(3) When writing data to the data memory 401-12, Mpu ioo raises the ALF signal 100-1 at the leading edge of timing T1, and outputs address information to the AD bus 06 at the latter half of timing T1. . Thereafter, the AIE signal @100-1 falls at the trailing edge of timing T1. Capturing the falling edge of timing T1, AL 401-3 latches the address information of AD bus 06. Latched address information and A R4
When the address information matches the data memory select information, the SELM signal 401-10 is activated. The MPU 100 outputs write data to the AD bus 06 from the second half of the subsequent timing T2.
バス制御部401−9は、SELM信号401−10が
アクティブになったことにより、期間■3に出力される
WR信号100−3を有効にし、ADババス06に出力
されている書き込みデータを、MDババス01−8を通
して、A L 401−3内のアドレス情報の指すデー
タメモリ401−12内にWR信号100−3の立ち上
りエッヂに同期して書き込む。When the SELM signal 401-10 becomes active, the bus control unit 401-9 enables the WR signal 100-3 output in period 3, and transfers the write data output to the AD bus 06 to the MD It is written into the data memory 401-12 pointed to by the address information in the AL 401-3 through the bus 01-8 in synchronization with the rising edge of the WR signal 100-3.
以上説明したように本発明は、半導体装置内にデバイス
セレクト回路を内蔵していることにより、マイクロプロ
セッサとメモリ及び周辺入出力装置の間にラッチ、デコ
ーダ、ドライバー等の付加ハードウェアが不要でマイク
ロプロセッサとメモリをダイレクトに接続でき、非常に
コンパクトなシステム構成が可能であるとともに、シス
テム全体の信頼性・経済性を向上させることが可能とな
る効果があり、また、デバイスセレクト情報は、ソフト
ウェアにより、メモリ内のPROMに書ぎ込むこともで
きることにより、アドレス空間の追加やデバイスの割り
付はアドレスの移動が必要な場合、前記ソフトウェアに
よりデバイスセレクト情報を書き換え、デバイスの割り
付はアドレスをアドレス空間の任意のアドレスにマツプ
することが可能となる効果もある。As explained above, by incorporating a device select circuit into a semiconductor device, the present invention eliminates the need for additional hardware such as latches, decoders, drivers, etc. between a microprocessor, memory, and peripheral input/output devices. The processor and memory can be directly connected, making it possible to create a very compact system configuration, and also improve the reliability and economic efficiency of the entire system. , it is also possible to write to PROM in memory, so when adding an address space or allocating a device requires moving the address, the software rewrites the device select information, and allocating the device moves the address to the address space. It also has the effect of making it possible to map to any address in .
第1図は本発明のデバイスセレクト回路付半導体装置の
第1の実施例であるメモリ101 、102 。
103 、104が用いられているコンピュータシステ
ムを示すブロック図、第2図は第1図のメモリ101を
詳細に示すブロック図、第3図は第2図のP ROM
101−1の機能を示す説明図、第4図、第5図は第1
図のメモリ101の動作を示すタイミングチャート、第
6図は本発明の第2の実施例であるメモリ401 、4
02 、403 、404が用いられているコンピュー
タシステムを示すブロック図、第7図は第6図のメモリ
401を詳細に示すブロック図、第8図は第7図のF
ROM 401−1の機能を示す説明図、第9図、第1
0図、第11図は第6図のメモリ401の動作を示すタ
イミングチャート、第12図はこの種のデバイスセレク
ト方式の従来例を示す構成図、第13図、第14図は第
12図の従来例の動作を示すタイミングチャートである
。
100・・・MPU。
100−1・・・A l−E信号、
100−2・・・RD他信号
100−3・・・WR信号、
101 、102 、103 、104 、401 、
402 、403 。
404・−・メモリ、
101−1 。
101−2 。
101−3 。
101−4 。
101−5 。
101−7 。
101−8 。
101−9 。
106 ・・・A
40l−11・・・PROM。
401−2 ・・・AR。
401−3 ・・・ALl
401−4・・・MAババス
401−5・・・−数回路、
401−7・・・AR制御回路
401−8・・・MDババス
401−9・・・バス制御回路
Dバス。FIG. 1 shows memories 101 and 102 which are a first embodiment of a semiconductor device with a device select circuit according to the present invention. 103 and 104 are used, FIG. 2 is a block diagram showing details of the memory 101 in FIG. 1, and FIG. 3 is a block diagram showing the PROM in FIG. 2.
An explanatory diagram showing the functions of 101-1, Figures 4 and 5 are
A timing chart showing the operation of the memory 101 shown in FIG. 6 is a timing chart showing the operation of the memory 101 in FIG.
02, 403, and 404, FIG. 7 is a block diagram showing details of the memory 401 in FIG. 6, and FIG. 8 is a block diagram showing the memory 401 in FIG.
Explanatory diagram showing the functions of ROM 401-1, Fig. 9, Fig. 1
0 and 11 are timing charts showing the operation of the memory 401 in FIG. 6, FIG. 12 is a configuration diagram showing a conventional example of this type of device selection method, and FIGS. 3 is a timing chart showing the operation of a conventional example. 100...MPU. 100-1...Al-E signal, 100-2...RD and other signals 100-3...WR signal, 101, 102, 103, 104, 401,
402, 403. 404--Memory, 101-1. 101-2. 101-3. 101-4. 101-5. 101-7. 101-8. 101-9. 106...A 40l-11...PROM. 401-2...AR. 401-3...ALL 401-4...MA bus 401-5...-several circuits, 401-7...AR control circuit 401-8...MD bus 401-9...bus control Circuit D bus.
Claims (1)
リ部を有する半導体装置において、 デバイスセレクト情報を保持するための参照アドレスレ
ジスタと、 イニシャル時に予め設定されたデバイスセレクト情報を
参照アドレスレジスタに保持させるアドレスレジスタ制
御回路と、 前記半導体装置を選択するためのマイクロプロセッサか
らのアドレス情報を保持するアドレス保持回路と、 参照アドレスレジスタとアドレス保持回路とが保持した
データを比較し、一致したときは、一致信号を出力する
比較回路と、 比較回路が一致信号を出力すると、アドレス保持回路が
保持しているアドレス情報に該当する前記メモリ部のア
ドレスにマイクロプロセッサがアクセスできるようにさ
せるバス制御部とを有することを特徴とする半導体装置
。[Claims] 1. In a semiconductor device having a memory section including at least a rewritable non-volatile memory, a reference address register for holding device select information, and referencing device select information set in advance at the time of initialization. An address register control circuit that is held in the address register, an address holding circuit that holds address information from the microprocessor for selecting the semiconductor device, and data held by the reference address register and the address holding circuit are compared and a match is made. a comparison circuit that outputs a match signal when the comparison circuit outputs a match signal; and a bus that allows the microprocessor to access the address in the memory section corresponding to the address information held by the address holding circuit when the comparison circuit outputs a match signal. 1. A semiconductor device comprising: a control section.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8422490A JP2969758B2 (en) | 1990-03-30 | 1990-03-30 | Semiconductor device with device select circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8422490A JP2969758B2 (en) | 1990-03-30 | 1990-03-30 | Semiconductor device with device select circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH03282953A true JPH03282953A (en) | 1991-12-13 |
| JP2969758B2 JP2969758B2 (en) | 1999-11-02 |
Family
ID=13824508
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8422490A Expired - Fee Related JP2969758B2 (en) | 1990-03-30 | 1990-03-30 | Semiconductor device with device select circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2969758B2 (en) |
-
1990
- 1990-03-30 JP JP8422490A patent/JP2969758B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2969758B2 (en) | 1999-11-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4317604B2 (en) | Data processing system, non-volatile memory, and method for extending write / erase functions in flash memory | |
| US6131139A (en) | Apparatus and method of simultaneously reading and writing data in a semiconductor device having a plurality of flash memories | |
| US5881295A (en) | Data processor which controls interrupts during programming and erasing of on-chip erasable and programmable non-volatile program memory | |
| JPH1031886A (en) | Random access memory | |
| JPH01156845A (en) | Memory system | |
| JPH0715665B2 (en) | Personal computer | |
| US5915080A (en) | Reprogramming device of a flash memory | |
| US20040190330A1 (en) | Data processor | |
| US6360307B1 (en) | Circuit architecture and method of writing data to a memory | |
| JP3673015B2 (en) | Peripheral device identification method in semiconductor device | |
| US4093986A (en) | Address translation with storage protection | |
| US6055606A (en) | Writeback cache cell with a dual ported dirty bit cell and method for operating such a cache cell | |
| JPH08221319A (en) | Semiconductor memory device | |
| KR20030014382A (en) | Method and apparatus for overlaying memory in a data processing system | |
| JPH03282953A (en) | Semiconductor device having device selecting circuit | |
| US20070300014A1 (en) | Debug port for on-die DRAM | |
| JPH06208460A (en) | Microprogram memory control system | |
| US6675270B2 (en) | Dram with memory independent burst lengths for reads versus writes | |
| US5860129A (en) | Data processing system for writing an external device and method therefor | |
| JP2646807B2 (en) | Multi-port memory | |
| JP3135770B2 (en) | Nonvolatile semiconductor memory and storage device using the nonvolatile semiconductor memory | |
| JPS5925320B2 (en) | Shared storage controller | |
| JP3293144B2 (en) | Peripheral control device | |
| JPH04241296A (en) | Memory initialization system | |
| JP3052385B2 (en) | Microcomputer |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |