JPS6043539B2 - Memory-switching circuit - Google Patents
Memory-switching circuitInfo
- Publication number
- JPS6043539B2 JPS6043539B2 JP14490581A JP14490581A JPS6043539B2 JP S6043539 B2 JPS6043539 B2 JP S6043539B2 JP 14490581 A JP14490581 A JP 14490581A JP 14490581 A JP14490581 A JP 14490581A JP S6043539 B2 JPS6043539 B2 JP S6043539B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- rom
- starting
- turned
- power
- 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
Links
- 230000015654 memory Effects 0.000 claims description 24
- 102100031584 Cell division cycle-associated 7-like protein Human genes 0.000 description 8
- 101000777638 Homo sapiens Cell division cycle-associated 7-like protein Proteins 0.000 description 8
- 101001106432 Homo sapiens Rod outer segment membrane protein 1 Proteins 0.000 description 8
- 102100021424 Rod outer segment membrane protein 1 Human genes 0.000 description 8
- 101100087530 Caenorhabditis elegans rom-1 gene Proteins 0.000 description 2
- 101100305983 Mus musculus Rom1 gene Proteins 0.000 description 2
- 239000003990 capacitor Substances 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 239000013256 coordination polymer Substances 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Description
【発明の詳細な説明】
本発明はCPUに接続されるメモリーを電源投入後一
定時間後に切り換え得るようにしたメモリー切換回路に
関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a memory switching circuit that can switch the memory connected to a CPU after a certain period of time after power is turned on.
最近各種産業分野において使用されているCPUのう
ち、例えはインテル社の8080や8085などは、電
源投入時にメモリーの0番地から実行を開始するように
なつている。Among CPUs recently used in various industrial fields, Intel's 8080 and 8085, for example, start execution from memory address 0 when the power is turned on.
そのためメモリーのo番地から少くとも数バイトは電源
を切つても記憶内容の消えないROMであることが必要
とされる。しかるにROMの記憶容量は1チップ当り、
小さいもので2にバイト程度、大きいもので庫バイト程
度あるので、仮に水バイトのROMを用いたとしても、
ル進数で$ 000幡地から$07FF番地までのアド
レス空間は始動用のROM(いわゆるブートROM)が
専有することになり、記憶内 容を自由に変更できるR
AMや始動用のプログラム以外のプログラムを記憶した
ROMはそれ以降のアドレスに配置する必要があつた。
しかるに上述のような始動用のROMは電源投入時に一
回だけしか使用しないので、このような使用頻度の少な
いメモリーに大きなアドレス空間を専有させることは頗
る不都合であるという問題があつた。 本発明は従来例
のこのような問題点を解決するために為されたものであ
り、電源投入後一定時間・を経過した後には始動用のR
OMを自動的にCPUから切り離して他のRAMまたは
ROMに切り換え得るようにしたメモリー切換回路を提
供することも目的とするものである。 以下本発明の構
成を図示実施例について説明する。Therefore, at least several bytes starting from address o of the memory must be a ROM that retains its stored contents even when the power is turned off. However, the storage capacity of ROM per chip is
Small ones are about the size of a 2-bit bite, and large ones are about the size of a warehouse bite, so even if you use a water bite ROM,
The address space from address $000 to $07FF in binary notation is exclusively occupied by the startup ROM (so-called boot ROM), and the memory contents can be changed freely.
The ROM that stored programs other than the AM and start-up programs had to be placed at subsequent addresses.
However, since the startup ROM as described above is used only once when the power is turned on, there is a problem in that it is extremely inconvenient to have such a rarely used memory occupy a large address space. The present invention has been made to solve these problems of the conventional example, and after a certain period of time has passed after the power is turned on, the R for starting is turned off.
Another object of the present invention is to provide a memory switching circuit that can automatically disconnect the OM from the CPU and switch to another RAM or ROM. The configuration of the present invention will be described below with reference to illustrated embodiments.
第1図は本発明の一実施例の回路図を示すものであり、
同図において1は始動用のROM(いわゆるブートRO
M)であり、2はデータの読み込みおよび書き込みを自
由に行ない得るRAMである。これらのROMIおよび
RAM2は8ビットのデータ出力端子と、11ビットの
アドレス端子とを有しており、8ビットのデータ出力端
子はCPUの8本のデータバスD。−−D7に接続され
ており、また11ビットのアドレス端子はCPUの16
*のアドレスバスA0〜A、5のうちの、瓦〜A、oに
接続されている。ところでこれらのデータバスD0〜D
7やアドレスA。−−A15にROM1やRAM2のよ
うなメモリーが二以上同時に接続されるとデータの混乱
が生じるので、ROMIおよびRAM2にはそれぞれチ
ップセレクト端子CSが設けられており、このチップセ
レクト端子因がLレベルのときにのみメモリーが作動す
るようになつている。またRAM2には、データの書き
込みを行なうときにLレベルとなるライト信号端子W↑
が設けられているものである。3は電源投入時に作動す
るタイマー回路であり、電源電圧VccがHレベルとな
ると、抵抗R1を介してコンデンサCが充電され、その
端子電圧が上昇する。FIG. 1 shows a circuit diagram of an embodiment of the present invention,
In the figure, 1 is a starting ROM (so-called boot RO).
M), and 2 is a RAM in which data can be freely read and written. These ROMI and RAM2 have an 8-bit data output terminal and an 11-bit address terminal, and the 8-bit data output terminal is connected to the eight data buses D of the CPU. --Connected to D7, and the 11-bit address terminal is connected to 16 of the CPU.
Of the address buses A0-A, 5 of *, it is connected to tiles ~A, o. By the way, these data buses D0 to D
7 and address A. --If two or more memories such as ROM1 and RAM2 are connected to A15 at the same time, data will be confused, so ROMI and RAM2 are each provided with a chip select terminal CS, and this chip select terminal is set to L level. The memory is designed to operate only when In addition, RAM2 has a write signal terminal W↑ that becomes L level when writing data.
is provided. Reference numeral 3 designates a timer circuit that operates when the power is turned on, and when the power supply voltage Vcc reaches H level, the capacitor C is charged via the resistor R1, and its terminal voltage increases.
これによつて電源投入後暫時経過後にシユミツトバツフ
4の出力がLレベルとなり、NANDデート5が開いて
RAM2がチップセレクトされると共に、インバータ6
を介してNANDゲート7が閉じられてROMlへのチ
ップセレクト信号の送出が阻止される。一方電源投入直
後の状態においては、シユミツトバツフア4の出力はH
レベルとなつているから、NANDゲート5が閉じられ
てRAM2はチップセレクトされず、またインバータ6
を介してNANDゲート7が開くのでROMlの方がチ
ップセレクトされるものである。したがつて電源投入直
後の状態においては始動用のROMlが選択され、また
電源投入後しばらく時間が経つてタイマー回路3が作動
すると、RAM2が選択されて始動用のROMlは切り
離されるものである。なおR2は電源オフ時にコンテン
サCの電荷放電速度を速めるための抵抗である。次に第
2図は上述のメモリー切換動作を示すメモリーマップで
あり、電源を投入すると、CPUはメモリーの0番地か
らデータを読み込んで実行を開始するから、始動用のR
OMlをメモリーのO番地からのアドレスに配置してお
けば自動的に始動動作が行なわれ、ROMlは自己の記
憶内溶のうち必要な部分を適宜他のRAM2aにブロッ
ク転送し、このRAM2a内の特定のアドレスにジャン
プしてRAM2aの記憶内溶に応じてCPUを動作せし
めるものである。このようなデータのブロック転送を行
ない.たくない場合には始動用ROMlの他に常時CP
Uに接続されている他のROMをRAM2aの代わりに
設けておくようにすればよい。しかしてタイマー回路3
の遅延時間を以上の動作を終了するのに要する時間より
も長く設定しておくと、タイマー回路3の出力によりR
OMlがRAM2に切り換えられて、メモリーのアドレ
ス空間を有効に使用することができるようになつている
ものである。なおRAM2の代わりに、始動用のROM
lとは異なIるプログラムまたはデータを記憶せしめた
他のROMを切り換え接続するように構成すれば、始動
用ROMlのアドレス空間内に機能の異なるROMを配
置することが可能となるものてある。さらにまた本発明
を実施するに際しては上述のような回路全体を1個のI
C内に組み込むようにしてもかまわないものである。本
発明は以上のように構成されており、始動用のプログラ
ムを書き込まれた始動用のROMと、この始動用のRO
Mと同一アドレス空間内に配置された他のメモリとを、
電源投入後所定の時間経過後に出力が反転するタイマー
回路の出力によつてチップセレクトするように構成した
ものであるから、電源投入直後に始動用のROM内のプ
ログラムが実行された後には、この始動用のROMがC
PUから切り離されて代わりにRAMやROMのような
他のメモリーが接続されるようになるので始動用に1回
しか使用されない始動用のROMがメモリー内で大きな
アドレス空間を専有することを防止して、限られたアド
レス空間を有効に利用し得るという利点を有するもので
ある。As a result, after a while after the power is turned on, the output of the Schmitt buffer 4 becomes L level, the NAND date 5 is opened, the RAM 2 is chip-selected, and the inverter 6
The NAND gate 7 is closed via the ROM1 to prevent the chip select signal from being sent to the ROM1. On the other hand, immediately after the power is turned on, the output of Schmitt buffer 4 is H.
Since the NAND gate 5 is at the high level, the NAND gate 5 is closed and RAM2 is not chip-selected, and the inverter 6
Since the NAND gate 7 is opened via the ROM1, the ROM1 is chip-selected. Therefore, immediately after the power is turned on, the starting ROM1 is selected, and when the timer circuit 3 is activated some time after the power is turned on, the RAM2 is selected and the starting ROM1 is disconnected. Note that R2 is a resistor for increasing the charge discharging speed of the capacitor C when the power is turned off. Next, Figure 2 is a memory map showing the above-mentioned memory switching operation. When the power is turned on, the CPU reads data from memory address 0 and starts execution.
If OMl is placed at an address starting from address O in the memory, the startup operation will be performed automatically, and ROMl will block transfer the necessary part of its own memory to other RAM2a as appropriate, and The CPU jumps to a specific address and operates the CPU according to the contents of the RAM 2a. This block transfer of data is performed. If you don't want to, always use CP in addition to the starting ROM1.
Another ROM connected to U may be provided in place of RAM2a. However, timer circuit 3
If the delay time is set longer than the time required to complete the above operations, the output of timer circuit 3 will cause R
OM1 is switched to RAM2 so that the memory address space can be used effectively. In addition, instead of RAM2, ROM for starting
By switching and connecting another ROM storing a program or data different from ROM 1, it is possible to arrange ROMs with different functions within the address space of the starting ROM 1. Furthermore, when carrying out the present invention, the entire circuit as described above is integrated into one I/O circuit.
It does not matter if it is incorporated into C. The present invention is configured as described above, and includes a starting ROM in which a starting program is written, and a starting ROM.
M and other memories located in the same address space,
Since the chip is selected by the output of a timer circuit whose output is inverted after a predetermined time has elapsed after the power is turned on, this ROM for starting is C
This prevents the startup ROM, which is used only once for startup, from monopolizing a large address space in memory, since it is disconnected from the PU and other memories such as RAM and ROM are connected in its place. This has the advantage that limited address space can be used effectively.
第1図は本発明の一実施の回路図、第2図は同上の動作
説明用のメモリーマップである。
1はROMl2はCPUl3はタイマー回路、5,7は
NANDゲートである。FIG. 1 is a circuit diagram of one embodiment of the present invention, and FIG. 2 is a memory map for explaining the operation of the same. 1 is a ROM12, CPU13 is a timer circuit, and 5 and 7 are NAND gates.
Claims (1)
読み出して実行を開始するCPUに接続され、始動用の
プログラムを上記特定のアドレスから書き込まれた始動
用のROMと、この始動用のROMと同一アドレス空間
内に配置された他のメモリーと、電源投入後所定の時間
経過後に出力が反転するタイマー回路と、タイマー回路
の出力によつて動作し、電源投入時には始動用のROM
にチップセレクト信号を送出し、タイマー回路の出力反
転時には上記他のメモリーにチップセレクト信号を送出
する切換回路を設けて成ることを特徴とするメモリー切
換回路。1 A starting ROM connected to the CPU that reads instructions from a specific address in the memory and starts execution when the power is turned on, and a starting ROM in which a starting program is written from the above specific address, and a starting ROM with the same address as this starting ROM. Other memories placed in the space, a timer circuit whose output is reversed after a predetermined time has passed after the power is turned on, and a ROM that operates based on the output of the timer circuit and is used for starting when the power is turned on.
A memory switching circuit comprising a switching circuit that sends a chip select signal to the other memory and sends a chip select signal to the other memory when the output of the timer circuit is inverted.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14490581A JPS6043539B2 (en) | 1981-09-14 | 1981-09-14 | Memory-switching circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14490581A JPS6043539B2 (en) | 1981-09-14 | 1981-09-14 | Memory-switching circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5846454A JPS5846454A (en) | 1983-03-17 |
| JPS6043539B2 true JPS6043539B2 (en) | 1985-09-28 |
Family
ID=15373021
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP14490581A Expired JPS6043539B2 (en) | 1981-09-14 | 1981-09-14 | Memory-switching circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6043539B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63193555U (en) * | 1987-05-29 | 1988-12-13 |
-
1981
- 1981-09-14 JP JP14490581A patent/JPS6043539B2/en not_active Expired
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63193555U (en) * | 1987-05-29 | 1988-12-13 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5846454A (en) | 1983-03-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5036486A (en) | Associative memory device | |
| US5987581A (en) | Configurable address line inverter for remapping memory | |
| US4649476A (en) | Microcomputer having an internal address mapper | |
| EP0026648A2 (en) | Digital data transfer apparatus | |
| JPS61112221A (en) | Multi-writable initialization word for writable read-only-memory | |
| JPS6043539B2 (en) | Memory-switching circuit | |
| JP2001075941A5 (en) | ||
| JP2710890B2 (en) | Memory designation controller | |
| JP4461760B2 (en) | Computer boot system | |
| RU2001106622A (en) | INTERFACE DIAGRAM AND METHOD FOR DATA TRANSFER BETWEEN SERIAL INTERFACE AND PROCESSOR | |
| JPH0447920B2 (en) | ||
| JPH05233834A (en) | Single chip microcomputer | |
| JPS6043538B2 (en) | Memory-switching circuit | |
| JP2590172B2 (en) | Single chip microcomputer | |
| JPS6227825A (en) | General-purpose high-speed processor | |
| JP2687679B2 (en) | Program development equipment | |
| JPS6226738B2 (en) | ||
| KR870002194B1 (en) | Memory mapping circuit of video ram | |
| JPS61139998A (en) | Data writing device for writable rom | |
| JPH03225545A (en) | Information processor | |
| JPS63129439A (en) | External memory device | |
| JPS6230660B2 (en) | ||
| JPH0635795A (en) | Option card of personal computer | |
| JPH06175919A (en) | Address designating device | |
| JPS6227414B2 (en) |