JPS5846453A - Memory switching circuit - Google Patents

Memory switching circuit

Info

Publication number
JPS5846453A
JPS5846453A JP14490481A JP14490481A JPS5846453A JP S5846453 A JPS5846453 A JP S5846453A JP 14490481 A JP14490481 A JP 14490481A JP 14490481 A JP14490481 A JP 14490481A JP S5846453 A JPS5846453 A JP S5846453A
Authority
JP
Japan
Prior art keywords
rom
starting
ram
signal
ram2
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
JP14490481A
Other languages
Japanese (ja)
Other versions
JPS6043538B2 (en
Inventor
Satoru Suzaki
須崎 悟
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP14490481A priority Critical patent/JPS6043538B2/en
Publication of JPS5846453A publication Critical patent/JPS5846453A/en
Publication of JPS6043538B2 publication Critical patent/JPS6043538B2/en
Expired legal-status Critical Current

Links

Abstract

PURPOSE:To utilize address space effectively, by allowing writing to and reading from an RAM located in the same address space with a starting ROM, after the execution of a program of the starting ROM. CONSTITUTION:A chip selection terminal CS' is provided to an ROM1 and an RAM2. The memory operates only when the terminal CS' has a level L. The RAM2 is provided with a signal terminal WT' which goes down to the level L during writing operation. An inverter 5 goes down to the level L after being powered up through an initial resetting circuit 4. An FF6 is reset up to said point of time and its output Q' has a level H, sending a signal to the ROM1. At this time, the output Q has the level L, so no signal is sent to the terminal CS' of the RAM2. Therefore, the ROM1 for starting is selected right after the power source is turned on. Once a write signal WT' is outputted to the RAM2, a set input is supplied to the FF6 and while the output Q goes up to H, the output Q' goes down to L. Consequently, the signal CS' is sent to only the RAM2.

Description

【発明の詳細な説明】 本発明は電源投入後、始動用のROM内のプロシラ乙の
実行を終了した後には、この始動用のROMと同一アド
レス空間内に配置されたRAMを使用できるようにした
メtり一切換回路に関するものである。
[Detailed Description of the Invention] The present invention is designed so that after the power is turned on and execution of the program processor B in the startup ROM is completed, the RAM located in the same address space as the startup ROM can be used. The present invention relates to a metric switching circuit.

最近各種産業分野において使用されているCPUのうち
、例えばインテル社の8080や8085などは1電源
投入時にメモリーの0番地から実行を開始するようにな
っている。このためメモリーの0番地から少くとも数バ
イトは電源を切っても記憶内容の消えないROMである
ことが必要とされるものである。しかるKROMの記憶
容1tta1チ魯シブ当り、小さいもので2にバイト程
度、大きいもので8にバイトS度はあるので、仮に2に
バイトのROMを用いたとしても、16進数で$000
0番地から$ 07FF番地塘でのアトしス空間は始動
用のROM(いわゆるづ−トROM)が専有することに
なり、記憶内容を自由に一変更できるRAMや始動用の
プロクラム以外のプロクラムを記憶したROMはそれ以
降のアドレスに配置する必要があった。しかるに上述の
ような始動用第2図 手続補正書(自発) 昭和57年1 月 9日 1、事件の表示 昭和56年特許幀第144904号 2、発 明の名称 メ七り一切換回路 3、補正をする者 事件との関係      特許出願人 柱  所  大阪府門真市大字門真1048番地名 称
 (583)松下電工株式会社 代表者神 前 善 − 4、代理人 自     発 第1図を別紙の>m v訂正する〇 いる他のROMをRAM(2a)の代わりに設けておく
ようにすればよい。しかしてプ0′グラムの実行が進ん
でRA M (2jに対して曹込制御信号否が送られる
と、ROMFl)はCP U +31から切り離されて
RAM(21に置き換えられるものである。このような
書込制御信号WTは一般にRAMに対してのみ用いられ
るものであり、ROMK対しては用いられないので、R
AM+21を使用する段階に々ってから初めてROMf
l+がRAM(21に置き換えられるように々っている
ものである。また、一旦RA M (21に対して書込
制御信号が送出された後には、RoM (+)のアトし
ス空間はRA M (2jによって専有され、電源を切
るかあるいはリセ・シトをしない限りはROM +11
は使用できないようになっているものである。
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. For this reason, it is necessary that the ROM retains the stored contents of at least several bytes starting from address 0 of the memory even when the power is turned off. However, the storage capacity of KROM is about 2 to 1 byte per 1 chip, and a small one is about 8 bytes, so even if you use a 2 byte ROM, it will cost $000 in hexadecimal.
The space from address 0 to $07FF will be exclusively occupied by the startup ROM (so-called default ROM), and the memory contents can be freely changed in RAM and programs other than the startup program. The stored ROM had to be placed at an address after that. However, the above-mentioned starting Figure 2 procedural amendment (voluntary) dated January 9, 19811, case description 1982 Patent Book No. 1449042, title of the invention, seven-way switching circuit3, Relationship with the case of the person making the amendment Patent applicant Location 1048 Oaza Kadoma, Kadoma City, Osaka Name (583) Matsushita Electric Works Co., Ltd. Representative Zen Kamimae - 4, agent Sponsored Figure 1 attached on the attached page It is sufficient to provide another ROM in place of the RAM (2a). As the execution of the program progresses, RAM (ROMFl) is separated from CPU +31 and replaced with RAM (21). The write control signal WT is generally used only for RAM and is not used for ROMK.
ROMf for the first time after using AM+21
l+ is replaced by RAM (21). Also, once the write control signal is sent to RAM (21), the attribution space of RoM (+) is replaced by RAM (21). M (exclusively used by 2j, unless the power is turned off or reset, ROM +11
is no longer available.

本発明は以上のように構成されており、始動用のづ0ジ
ラムを記憶せる始動用のROMと、この始動用のROM
と同一アドレス空間内に配置されたRAMとを、電源投
入時にリセットされ、かつ上記RAMK対する書込制御
信号によってセットされるフリツプフロツプの出力によ
りチtツブセレクトするように構成したものであるから
、電源を投入して始動用のROM内のプログラムを実行
した後に、この始動用のROMと同一アトしス空間内の
RAMを使用する際には、その最初の書込制御信号によ
り始動用のROMがCPUから切り離されてRAMK切
り換えられるようになっておシ、したがって始動時に1
回しか使用されない始動用のROMがメtり一内で大き
なアトしス空間を専有することを防止して、限られたア
ドレス空間を有効に利用し得るという利点を有するもの
である。
The present invention is constructed as described above, and includes a starting ROM that can store a starting number and a ROM for starting.
and a RAM arranged in the same address space are configured to be chip-selected by the output of a flip-flop that is reset when the power is turned on and is set by the write control signal for the RAMK. After executing the program in the starting ROM by inputting the starting ROM, when using a RAM in the same space as the starting ROM, the first write control signal causes the starting ROM to be It is now possible to disconnect from the CPU and switch to RAMK, so 1 at startup.
This has the advantage that the startup ROM, which is only used once, can be prevented from occupying a large address space within the memory, and the limited address space can be used effectively.

4、図面の簡単な説明 第1図(a) (b)は本発明の一実施例の回路図、第
2図は同上の動作説明用のメモリーマツプである+11
はROM、(21はRAM、+31はCPU161はフ
リツプフロツプ、(7) +81はNANDゲートであ
る。
4. Brief explanation of the drawings Figures 1 (a) and (b) are circuit diagrams of one embodiment of the present invention, and Figure 2 is a memory map for explaining the operation of the same.
is a ROM, (21 is a RAM, +31 is a flip-flop for the CPU 161, and (7) +81 is a NAND gate.

代理人 弁坪士  石 1)長 七 第2図 手続補正書(自発) 昭和57年1 月 9 日 16 事件の表示 ■(和56年特許願第144904号 2、発 明の名称 メ七り一切換回路 3、補正をする者 事件との関係      特許出願人 柱  所  大阪府門真市大字門真1048番地名 称
 (583)松下電工株式会社 代表者神 前 善 − 4、代理人 自     発 第1図全量紙の通り訂正する。
Agent: Patent Attorney Ishi 1) Chief 7 Figure 2 Procedural Amendment (Voluntary) January 9, 1981 16 Indication of the Case ■ (Japanese Patent Application No. 144904 2, Name of the Invention Meshiri 1) Switching circuit 3, relationship with the case of the person making the amendment Patent applicant Location 1048 Oaza Kadoma, Kadoma City, Osaka Name (583) Matsushita Electric Works Co., Ltd. Representative Yoshi Kamimae - 4, Sponsored by the agent Figure 1 Complete paper Correct as follows.

Claims (1)

【特許請求の範囲】[Claims] fil  電源投入時にメモリー上の特定の番地から命
令を読み出して実行を開始するCPUに接続され、始動
用のプ0ジラムを上記特定の番地から書き込まれた始動
用のROMと、この始動用のROMと同一アドレス空間
内に配置され&RAMと、電源投入時のイニシャルリヤ
1シト信号によってリセットされ、上記RAMに対する
書込制御信号によってセーリトされるフリツプフロツプ
と、フリッづフロツブのリセウト時には始動用のROM
にチッづセしクト信号を送出し、フリッづフDツづのセ
ーリト時には上記RAMにチップセレクト信号を送出す
る切換回路とを設けて成ることを%徴とするメモリー切
換回路。
fil A starting ROM that is connected to a CPU that reads instructions from a specific address on 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-mentioned specific address, and a starting ROM for this starting ROM. &RAM, which is arranged in the same address space as &RAM, a flip-flop that is reset by the initial rear 1 seat signal when the power is turned on, and a write control signal for the RAM, and a ROM for starting when the flip-flop is reset.
The memory switching circuit is characterized in that it is provided with a switching circuit for sending a chip select signal to the RAM and a switching circuit for sending a chip select signal to the RAM at the time of flip D selection.
JP14490481A 1981-09-14 1981-09-14 Memory-switching circuit Expired JPS6043538B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14490481A JPS6043538B2 (en) 1981-09-14 1981-09-14 Memory-switching circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14490481A JPS6043538B2 (en) 1981-09-14 1981-09-14 Memory-switching circuit

Publications (2)

Publication Number Publication Date
JPS5846453A true JPS5846453A (en) 1983-03-17
JPS6043538B2 JPS6043538B2 (en) 1985-09-28

Family

ID=15373002

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14490481A Expired JPS6043538B2 (en) 1981-09-14 1981-09-14 Memory-switching circuit

Country Status (1)

Country Link
JP (1) JPS6043538B2 (en)

Also Published As

Publication number Publication date
JPS6043538B2 (en) 1985-09-28

Similar Documents

Publication Publication Date Title
JPS5846453A (en) Memory switching circuit
JPS55127638A (en) Digital arithmetic unit
JPS5690341A (en) Buffer switching system
JPS577690A (en) Initial program loading system
JPS5846454A (en) Memory switching circuit
JPH06168125A (en) Data processor
JPS5789171A (en) Picture processor
JPS5633749A (en) Address control device
SU579621A1 (en) Processor of controlling computer
JPS5619162A (en) Information protection system
JPS5631140A (en) Information processor
JPS55159230A (en) Input processing system of character
JPS5725045A (en) Data processing equipment
JPS5785145A (en) Address detection system
SU557364A1 (en) Device for correcting basic registers with stack allocation of memory
JPS57114944A (en) Signal processing processor
JPS5588139A (en) Program write system
JPS52113640A (en) Peripheral control unit
SU490179A1 (en) Memory device
JPS56145432A (en) Microprocessor
JPS5578357A (en) Program overrun detection unit
JPS5694447A (en) Test system of parity checker
KR950009403A (en) Digital Signal Processor Interface Device Using PIPO Memory
JPS55109000A (en) Memory unit erasing system
JPS613249A (en) Start structure of microprocessor