JPS6225347A - Memory control system - Google Patents

Memory control system

Info

Publication number
JPS6225347A
JPS6225347A JP16452285A JP16452285A JPS6225347A JP S6225347 A JPS6225347 A JP S6225347A JP 16452285 A JP16452285 A JP 16452285A JP 16452285 A JP16452285 A JP 16452285A JP S6225347 A JPS6225347 A JP S6225347A
Authority
JP
Japan
Prior art keywords
circuit
ram
output
storage
outputs
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.)
Pending
Application number
JP16452285A
Other languages
Japanese (ja)
Inventor
Hiroaki Bando
坂東 弘明
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 Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP16452285A priority Critical patent/JPS6225347A/en
Publication of JPS6225347A publication Critical patent/JPS6225347A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To assign the areas of a ROM and a RAM as well which are below the storage capacity of an IC as a RAM by setting the storage contents of specific addresses in the storage area of the ROM to a specific value and using the specific addresses as the RAM only at the time of the specific value. CONSTITUTION:The same addresses are assigned to the ROM 2 and RAM 1. Address information from a CPU specifies the ROM 2 or RAM 1. When the contents of the ROM in specific addressed are set to 00H and data outputs D00-D07 are all 0, an OR circuit D6 outputs 0, which is ANDed with a memory read/write signal by an AND circuit F1 to output 0. Outputs of NAND gates B0-B7 are therefore all 0. The output 0 of the OR circuit D6. on the other hand, is set to 1 by a NO circuit E, the AND circuit F01 outputs 1, and NAND circuits A0-A7 output the NOT of the data DA0-DA7, so that the output of the RAM 1 appears at outputs of exclusive OR circuits C0-C7.

Description

【発明の詳細な説明】 技術分野 本発明はメモリ制御方式に関し、特に電子交換機にお(
プる中央制御装置などのメモリ装置の使用制御方式に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a memory control system, and particularly to an electronic switching system (
This invention relates to a method for controlling the use of memory devices such as central control units.

従来技術 従来、電子交換機などの中央制御装置で使われている記
憶回路(以下メモリと称す)には、読み出し専用記憶回
路と一時記憶回路とがあり、それぞれの記憶領域は回路
設計時点で決定されてしまい、後からの領域の変更はで
きないようになっている。
Prior Art Conventionally, storage circuits (hereinafter referred to as memories) used in central control units such as electronic exchanges include read-only storage circuits and temporary storage circuits, and the storage areas of each are determined at the time of circuit design. The area cannot be changed later.

上述した従来のメモリ使用方法では、読み出し専用記憶
回路と一時記憶回路とに使用されている集積回路の記憶
容量によって制限され、番地により区切られている。こ
れらの素子は1キロバイト。
In the conventional memory usage method described above, the read-only storage circuit and the temporary storage circuit are limited by the storage capacity of the integrated circuit used and are separated by addresses. These elements are 1 kilobyte.

2キロバイト、・・・16キロバイトと東積度は次第に
大きくなっている。その反面、回路設計時点での記憶域
のpJり付けはこれらの素子の大きさに依存し、それ以
外の細かい割り付けができなくなってしまっている。
2 kilobytes...16 kilobytes, and the Higashi Sekido is gradually increasing. On the other hand, pJ allocation of storage areas at the time of circuit design depends on the size of these elements, making it impossible to make other detailed allocations.

また読み出し専用記憶回路の記憶域の一部分を一時記憶
回路として使用することができないという欠点もあった
Another disadvantage is that a part of the storage area of the read-only storage circuit cannot be used as a temporary storage circuit.

発明の目的 本発明の目的は、読み出し専用記憶回路及び一時記憶回
路のICの記憶容伍以下の領域でも、一時記憶回路とし
て割り付けることが可能なメ[り制御方式を提供するこ
とである。
OBJECTS OF THE INVENTION An object of the present invention is to provide a memory control system that allows even areas below the storage capacity of an IC for read-only storage circuits and temporary storage circuits to be allocated as temporary storage circuits.

本発明の他の目的は、読み出し専用記憶回路の領域内の
任意の一部を一時記憶回路として使用可能なメモリ制御
方式を提供することである。
Another object of the present invention is to provide a memory control method that can use any part of the area of a read-only storage circuit as a temporary storage circuit.

発明の構成 本発明によるメモリ制御方式は、読み出し専用記憶回路
と一時記憶回路とを有するメモリ回路の制御方式であっ
て、前記読み出し専用記憶回路と前記一時記憶回路との
記憶域に互いに同一の番地を割り当て、前記読み出し専
用記憶回路の前記配憶域内の所定番地の記憶内容を特定
の値に設定し、この特定の値のときのみ前記所定番地を
一時記憶回路として使用し、前記特定の値以外のときに
は読み出し専用記憶回路として使用するようにしたこと
を特徴としている。
Composition of the Invention A memory control method according to the present invention is a control method for a memory circuit having a read-only storage circuit and a temporary storage circuit, wherein the storage areas of the read-only storage circuit and the temporary storage circuit are located at the same address. , the storage contents of a predetermined location in the storage area of the read-only storage circuit are set to a specific value, the predetermined location is used as a temporary storage circuit only when the specific value is set, and the storage contents of a predetermined location in the storage area of the read-only storage circuit are used as a temporary storage circuit; The device is characterized in that it can be used as a read-only storage circuit when .

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

図は本発明の記憶回路の回路図である。図において、読
み出し専用記憶回路ROM2と一時記憶回路RAM1と
は同じアドレスに割り付けられている。
The figure is a circuit diagram of a memory circuit of the present invention. In the figure, the read-only memory circuit ROM2 and the temporary memory circuit RAM1 are allocated to the same address.

先ず、CPU (図示せず)からのアドレス情報はアド
レスバスを通ってROM2又はRAM1を指定する。こ
こでは、アドレスバスの上位8ビツトがチップセレクト
端子C8O又はC81にチップセレクト信号として変換
される。又、−下位8ビツトはそのままROM又はRA
Mの各アドレス端子AOO〜AO7に入力される。
First, address information from the CPU (not shown) passes through an address bus to specify ROM2 or RAM1. Here, the upper 8 bits of the address bus are converted to the chip select terminal C8O or C81 as a chip select signal. Also, the lower 8 bits are stored in ROM or RA as they are.
It is input to each address terminal AOO to AO7 of M.

本実施例の場合、ROMとRAMとは同じアドレスに割
り付けであるため、チップセレクト端子C8OとC31
とへ同時に信号が入力される。又、ROMとRAMとの
アドレス端子AOO−AO7へも同時にアドレス情報の
下位8ビツトが入力される。
In the case of this embodiment, since ROM and RAM are assigned to the same address, chip select terminals C8O and C31
A signal is simultaneously input to and. Further, the lower 8 bits of the address information are simultaneously input to the address terminals AOO-AO7 of the ROM and RAM.

さらにROM2は端子C81と端子AOO〜AO7どの
各信号にて指定されたアドレスのデータをり。
Further, the ROM2 stores data at addresses designated by terminal C81 and signals from terminals AOO to AO7.

O〜007に出力する。Output to O~007.

ここで特定のアドレスのROMの内容をOOH(Hは1
6進数を示す)とする。オア回路DO〜D7はデータ出
力DOO−DO7の論理和を発生するもので、データ0
00−DO7が全てOのとぎにオア回路[)6は0を出
力し、この出力とメモリリード・ライト(MEM  R
/W)信号とのアンドがアンド回路F1で発生されて出
力にOが出力される。ナントゲートBO〜B7はこの出
力で閉じられることになる。よって、各ゲートBO〜B
7の出力000’〜DO7’は全てOである。
Here, the contents of the ROM at a specific address are OOH (H is 1
(indicates a hexadecimal number). The OR circuits DO-D7 generate the logical sum of the data outputs DOO-DO7, and the data 0
When 00-DO7 are all O, OR circuit [)6 outputs 0, and this output and memory read/write (MEM R
/W) signal is generated in AND circuit F1, and O is outputted. Nant gates BO to B7 will be closed by this output. Therefore, each gate BO~B
7's outputs 000' to DO7' are all O.

このときRAM1も同様に、チップセレクト端子C8O
とアドレス端子AOO〜AO7との各信号で指定された
アドレスのデータをデータ端子DAO〜DA7に出力す
る。
At this time, RAM1 also has chip select terminal C8O.
and address terminals AOO to AO7, and outputs the data at the address specified by each signal to the data terminals DAO to DA7.

一方、オア回路D6の出力Oは否定回路Eにより1に設
定され、この出力とメモリリードライト信号とのアンド
がアンド回路FOでとられて1が出力される。ナントゲ
ートAO〜AIはこの信号によりあけられ、各出力DA
O’〜DA7’には各データDAO〜DA7の否定が出
力される。
On the other hand, the output O of the OR circuit D6 is set to 1 by the NOT circuit E, and this output and the memory read/write signal are ANDed by the AND circuit FO and 1 is output. Nant gates AO to AI are opened by this signal, and each output DA
The negative of each data DAO to DA7 is output to O' to DA7'.

CO〜CIはエクスクル−シブオア回路であり、ROM
2とRAMIとの出力のオアをとっている。
CO to CI are exclusive OR circuits, and ROM
2 and RAMI are ORed.

いま、データDOO’〜DO7’ は仝て0なので、エ
クスクル−シブオア回路CO〜CIの出力DO〜DIに
は、RAM1の出力DAO〜DA7が出力されるのであ
る。
Now, since the data DOO' to DO7' are all 0, the outputs DAO to DA7 of the RAM 1 are output to the outputs DO to DI of the exclusive OR circuits CO to CI.

また逆に、あるアドレスのROM2の内容がO以外のと
きは、オア回路D6の出力が1となり、またアンド回路
F1の出力が1となってゲートBO−37があけられる
。このときアンド回路FOの出力はOであり、ゲートA
O〜A7はとじられる。従ってROM2の内容DOO〜
DO7がDO〜D7に出力されるのである。
Conversely, when the contents of the ROM2 at a certain address are other than O, the output of the OR circuit D6 becomes 1, and the output of the AND circuit F1 becomes 1, opening the gate BO-37. At this time, the output of the AND circuit FO is O, and the gate A
O to A7 are closed. Therefore, the contents of ROM2 DOO~
DO7 is output to DO-D7.

この様に、ROM2の任意のアドレスの内容を0に設定
することにより、RAM1の内容を有効とし、それ以外
のときには、ROM2の内容を有効とすることができる
。また、オア回路DO〜D6をアンド回路に置き換えて
、ROM2の内容をFFI−((000〜()07S全
71)にすれば、同様の効果が得られることは当業者に
とって明白である。
In this way, by setting the contents of an arbitrary address in ROM2 to 0, the contents of RAM1 can be made valid, and at other times, the contents of ROM2 can be made valid. Furthermore, it is obvious to those skilled in the art that the same effect can be obtained by replacing the OR circuits DO to D6 with AND circuits and setting the contents of the ROM2 to FFI- ((000 to ()07S total 71)).

発明の効果 以−ト説明したように、本発明によれば、読み出し専用
記憶回路として使用されている記憶域を上記の様に設定
することにより、読み出し専用記憶回路及び一時記憶回
路のICの記偉容吊以下の領域でも、一時記憶回路とし
て割り付けできる利点がある。また、読み出し専用記憶
回路の領域内の任意の一部分のみを一時記憶回路として
使用することも可能である。
Effects of the Invention As explained above, according to the present invention, by setting the storage area used as a read-only memory circuit as described above, the IC memory of the read-only memory circuit and the temporary memory circuit can be improved. It has the advantage of being able to be allocated as a temporary memory circuit even in an area that is less than 100m tall. It is also possible to use only an arbitrary part of the area of the read-only memory circuit as a temporary memory circuit.

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

図は本発明の実施例の回路図である。 主要部分の符号の説明 1・・・・・・一時記憶回路 The figure is a circuit diagram of an embodiment of the present invention. Explanation of symbols of main parts 1...Temporary memory circuit

Claims (1)

【特許請求の範囲】[Claims] 読み出し専用記憶回路と一時記憶回路とを有するメモリ
回路の制御方式であつて、前記読み出し専用記憶回路と
前記一時記憶回路との記憶域に互いに同一の番地を割り
当て、前記読み出し専用記憶回路の前記記憶域内の所定
番地の記憶内容を特定の値に設定し、この特定の値のと
きのみ前記所定番地を一時記憶回路として使用し、前記
特定の値以外のときには読み出し専用記憶回路として使
用するようにしたことを特徴とするメモリ制御方式。
A control method for a memory circuit having a read-only memory circuit and a temporary memory circuit, wherein the same address is assigned to the storage areas of the read-only memory circuit and the temporary memory circuit, and the storage area of the read-only memory circuit is The memory content of a predetermined location within the area is set to a specific value, and the predetermined location is used as a temporary storage circuit only when the specific value is present, and used as a read-only memory circuit when the value is not the specific value. A memory control method characterized by:
JP16452285A 1985-07-25 1985-07-25 Memory control system Pending JPS6225347A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16452285A JPS6225347A (en) 1985-07-25 1985-07-25 Memory control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16452285A JPS6225347A (en) 1985-07-25 1985-07-25 Memory control system

Publications (1)

Publication Number Publication Date
JPS6225347A true JPS6225347A (en) 1987-02-03

Family

ID=15794759

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16452285A Pending JPS6225347A (en) 1985-07-25 1985-07-25 Memory control system

Country Status (1)

Country Link
JP (1) JPS6225347A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5758417A (en) * 1990-08-03 1998-06-02 Canon Kabushiki Kaisha Method of manufacturing an ink jet head having a coated surface

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56105547A (en) * 1980-01-25 1981-08-22 Nec Corp Memory using method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56105547A (en) * 1980-01-25 1981-08-22 Nec Corp Memory using method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5758417A (en) * 1990-08-03 1998-06-02 Canon Kabushiki Kaisha Method of manufacturing an ink jet head having a coated surface

Similar Documents

Publication Publication Date Title
US5627989A (en) Integrated circuit having processor coupled by common bus to programmable read only memory for processor operation and processor uncoupled from common bus when programming read only memory from external device
US4445170A (en) Computer segmented memory management technique wherein two expandable memory portions are contained within a single segment
US5751988A (en) Microcomputer with memory bank configuration and register bank configuration
US4354258A (en) Memory board automatically assigned its address range by its position
DE19536206A1 (en) Smart card with data protection processor
US5987581A (en) Configurable address line inverter for remapping memory
JP2914870B2 (en) Semiconductor integrated circuit
CN110287131B (en) Memory management method and device
JP3073920B2 (en) Protection device for access to memory words
GB2269247A (en) Interfacing an IC memory card to a central processing unit of a computer
JPS6225347A (en) Memory control system
JP2967825B2 (en) Microcomputer
US4388707A (en) Memory selecting system
EP0157342A2 (en) Memory address expansion system
JPS6029418B2 (en) Memory - How to use it
JPS6155765A (en) I/o address decoder circuit
JPH07334420A (en) Extended memory control circuit
JPS6211749B2 (en)
KR910009907B1 (en) Data memory control system using control program partition
JPH08110900A (en) Single-chip microcomputer
JPS59216263A (en) External rom extension controlling circuit of microcomputer
JP2731747B2 (en) Electronic digital processor device
TW428144B (en) Method and system for improving data storage and access for programs written in mid-level programming languages
JP2634488B2 (en) Computer equipment
KR100207669B1 (en) Fixed segmentation buffer ram