JPH04326140A - Memory controller - Google Patents

Memory controller

Info

Publication number
JPH04326140A
JPH04326140A JP9652891A JP9652891A JPH04326140A JP H04326140 A JPH04326140 A JP H04326140A JP 9652891 A JP9652891 A JP 9652891A JP 9652891 A JP9652891 A JP 9652891A JP H04326140 A JPH04326140 A JP H04326140A
Authority
JP
Japan
Prior art keywords
memory
signal
memory element
address
type
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
JP9652891A
Other languages
Japanese (ja)
Inventor
Kazutoyo Tanaka
田中 和豊
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP9652891A priority Critical patent/JPH04326140A/en
Publication of JPH04326140A publication Critical patent/JPH04326140A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To change the kind of a memory to be used according to the purpose by providing a timing generating means which outputs a control signal corresponding to a storage element connected according to information held in a storage kind holding means. CONSTITUTION:When the DRAM fitted to the memory element 5a is replaced with an SRAM, a maximum address and a minimum address are inputted on a keyboard 3 so as to assign the memory matching the storage capacity of the SRAM. The input data are held in registers in an address specification device 11a from a data bus through a CPU 1. Further, a memory type is inputted on the keyboard 3 and its data is held in the high-order two-bit registers of a memory type register 14 from the data bus through the CPU 1. The values of the above registers are only changed and then a signal for the SRAM is outputted by a timing generation device 15 when the memory element 5a is accessed, thereby controlling the memory element 5a.

Description

【発明の詳細な説明】[Detailed description of the invention]

[発明の目的] [Purpose of the invention]

【0001】0001

【産業上の利用分野】本願発明は、例えばパーソナルコ
ンピュータに用いられるメモリ制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory control device used in, for example, a personal computer.

【0002】0002

【従来の技術】近年、記憶手段として使われている半導
体メモリ素子には、スタティックRAM(以下、SRA
Mとする)、ダイナミックRAM(以下、DRAMとす
る)、疑似スタティックRAM(以下、PSRAMとす
る)、読み出し専用メモリ(ROM)など、それぞれメ
モリ制御信号の違うメモリタイプがある。そのため、メ
モリタイプに応じたメモリ制御装置が必要となり、新製
品開発の度に、搭載するメモリタイプに対しメモリ制御
装置を設計し直していた。また、ユーザがメモリ領域を
拡張するには、予め定められたメモリタイプしか接続で
きないという制限もあった。
2. Description of the Related Art In recent years, static RAM (hereinafter referred to as SRA) is one of the semiconductor memory devices used as storage means.
There are memory types such as dynamic RAM (hereinafter referred to as DRAM), pseudo-static RAM (hereinafter referred to as PSRAM), and read-only memory (ROM), each of which has a different memory control signal. Therefore, a memory control device is required depending on the memory type, and each time a new product is developed, the memory control device has to be redesigned for the type of memory to be installed. Furthermore, in order to expand the memory area, the user is limited to being able to connect only predetermined memory types.

【0003】0003

【発明が解決しようとする課題】従来のパーソナルコン
ピュータのメモリ制御装置は、メモリタイプの相違によ
り制御信号が異なるため、設計の段階でパーソナルコン
ピュータに搭載されるメモリタイプを一義的に決定して
いた。そのため、メモリ制御装置は冗長性、拡張性に欠
け、新たなパーソナルコンピュータを開発する度に設計
し直す必要があった。また、ユーザがメモリ領域を拡張
するには、そのパーソナルコンピュータに決められたメ
モリタイプのみで、拡張性の乏しいものであった。本願
発明は、以上の点を鑑みなされたもので、使用されるメ
モリの種類によらずに制御できるメモリ制御装置を提供
することを目的とする。 [発明の構成]
[Problems to be Solved by the Invention] Conventional memory control devices for personal computers have different control signals depending on the memory type, so the type of memory installed in the personal computer is uniquely determined at the design stage. . Therefore, the memory control device lacks redundancy and expandability, and has had to be redesigned every time a new personal computer is developed. In addition, the user can only expand the memory area by using the memory type determined for the personal computer, which has poor expandability. The present invention has been made in view of the above points, and an object of the present invention is to provide a memory control device that can be controlled regardless of the type of memory used. [Structure of the invention]

【0004】0004

【課題を解決するための手段】第1の本願発明において
は、データを記憶する記憶素子は、制御される信号の違
いにより種類分けされるものであり、記憶手段に使われ
ている記憶素子の種類を表わす情報を保持する記憶種類
保持手段と、前記記憶素子にアクセスがあると、前記記
憶種類保持手段が保持している情報を受け、前記記憶素
子の種類に対応する制御信号を出力するタイミング発生
手段とを具備したものである。
[Means for Solving the Problems] In the first aspect of the present invention, storage elements for storing data are classified into types depending on the signals controlled, and the storage elements used in the storage means are classified into types depending on the signals controlled. a memory type holding means for holding information representing a type; and a timing for receiving the information held by the memory type holding means and outputting a control signal corresponding to the type of the storage element when the memory element is accessed; It is equipped with a generating means.

【0005】また、第2の本願発明は第1の本願発明の
メモリ制御装置において、前記記憶素子にリフレッシュ
が必要な記憶素子を使用した場合、リフレッシュが必要
な記憶素子を選択し、リフレッシュを行わせる信号を出
力するリフレッシュ制御手段を具備したものである。
[0005] Furthermore, in the memory control device of the first claimed invention, when a memory element that requires refreshing is used as the memory element, the second claimed invention selects the memory element that requires refreshing and performs refreshing. The refresh control means is provided with a refresh control means for outputting a signal.

【0006】[0006]

【作用】第1の本願発明において、記憶素子はデータを
保持するもので、制御される信号の違いによりdRAM
、SRAM、PSRAMなどに種類分けされる。記憶種
類保持手段は記憶手段に使われている記憶素子の種類を
表わす情報を保持する。前記記憶種類保持手段はCPU
等から前記記憶素子にアクセスされると、保持している
前記記憶素子の種類を表わす情報をタイミング発生手段
に送る。前記タイミング発生手段は受けとった情報に基
づき、使用している記憶手段用の制御信号を記憶手段に
送る。
[Operation] In the first invention of the present application, the storage element holds data, and depending on the difference in the controlled signals, the dRAM
, SRAM, PSRAM, etc. The storage type holding means holds information representing the type of memory element used in the storage means. The memory type holding means is a CPU.
When the storage element is accessed from the storage device, etc., information representing the type of the storage element held therein is sent to the timing generation means. The timing generating means sends a control signal for the storage means being used to the storage means based on the received information.

【0007】このことにより、使用用途に応じて使用す
るメモリの種類を変えることができ、パーソナルコンピ
ュータの開発ごとに、新たにメモリ制御装置を開発する
ことが不必要になる。また、ユーザは、必要に応じてメ
モリの種類を変えることができる。
[0007] This makes it possible to change the type of memory used depending on the intended use, and it becomes unnecessary to develop a new memory control device every time a personal computer is developed. Furthermore, the user can change the type of memory as needed.

【0008】さらに、第2の本願発明は第1の本願発明
のメモリ制御装置において、前記記憶素子には、リフレ
ッシュ動作を行わせる信号の必要な記憶素子がある。リ
フレッシュ制御手段は、記憶手段にリフレッシュ動作を
行わせる信号の必要な記憶素子を使用した場合、その記
憶素子に対し、その記憶素子にリフレッシュを行わせる
信号を出力する。このことにより、外部よりリフレッシ
ュを行わせる命令を必要とする記憶素子も使用すること
ができる。
Furthermore, a second invention of the present application is the memory control device of the first invention of the present application, in which the memory element includes a memory element that requires a signal for performing a refresh operation. When a memory element that requires a signal for causing the memory means to perform a refresh operation is used, the refresh control means outputs a signal to the memory element for causing the memory element to perform a refresh operation. This makes it possible to use a memory element that requires an external refresh command.

【0009】[0009]

【実施例】以下に、本願発明についての実施例を示す。 図1は、本実施例に関わる電子機器の全体を示すシステ
ム構成図である。CPU1は、本システムの全体を司り
、メモリ5へデータの書き込み、読み出しを行なうため
にアドレスを指定したり、表示制御装置6へ表示命令を
出力するなどの制御を行なう。キーボード3は、ユーザ
がデータを入力する手段である。KBC2は、キーボー
ドコントローラであり、キーボード3からキーデータ入
力された場合、その入力されたキーに対応するキーコー
ドをCPU1へ送る。メモリ5は、BIOS、OS、ア
プリケーションソフトなどを保持している。メモリ制御
装置4は、メモリ5からのデータの読み出し、及び、メ
モリ5へのデータの書き込みのタイミング制御を行なう
。表示制御装置6は、CPU1から表示命令を受け、表
示装置7に表示を行なうよう制御する。表示装置7は、
表示制御装置6の制御により画面表示を行なう。DMA
8は、Direct Memory Accessのこ
とであり、CPU1を介さずに直接データを転送する装
置である。DMA8がデータを転送しているときは、C
PU1はメモリへアクセスできない。バス9は、CPU
1、KBC2、メモリ制御装置4、メモリ5、表示制御
装置6とを接続し、各装置間で信号を制御するための信
号線である。第2図は、本願発明のメモリ制御装置4の
構成を示す図である。
[Examples] Examples of the present invention will be shown below. FIG. 1 is a system configuration diagram showing the entire electronic device related to this embodiment. The CPU 1 is in charge of the entire system, and performs controls such as specifying addresses for writing and reading data into the memory 5 and outputting display commands to the display control device 6. The keyboard 3 is a means by which the user inputs data. The KBC 2 is a keyboard controller, and when key data is input from the keyboard 3, it sends a key code corresponding to the input key to the CPU 1. The memory 5 holds BIOS, OS, application software, etc. The memory control device 4 controls the timing of reading data from the memory 5 and writing data to the memory 5. The display control device 6 receives a display command from the CPU 1 and controls the display device 7 to perform display. The display device 7 is
Screen display is performed under the control of the display control device 6. D.M.A.
8 stands for Direct Memory Access, which is a device that directly transfers data without going through the CPU 1. When DMA8 is transferring data, C
PU1 cannot access memory. Bus 9 is the CPU
1. This is a signal line that connects the KBC 2, the memory control device 4, the memory 5, and the display control device 6, and controls signals between each device. FIG. 2 is a diagram showing the configuration of the memory control device 4 of the present invention.

【0010】物理アドレスバス3aは、バス3のうち、
物理アドレス信号を伝達する信号線である。CPU1か
ら送られた論理アドレス信号をアドレス変換装置(図示
しない)で物理アドレス信号に変換し、メモリ素子5a
、5b、5c、アドレス比較装置12a、12b、12
cへ入力する。
Of the buses 3, the physical address bus 3a is
This is a signal line that transmits a physical address signal. A logical address signal sent from the CPU 1 is converted into a physical address signal by an address conversion device (not shown), and the memory element 5a
, 5b, 5c, address comparison devices 12a, 12b, 12
Input to c.

【0011】前記メモリ5は、メモリ素子5a,5b,
5cから成る。各メモリ素子5a、5b、5cは、dR
AM、SRAM、PSRAM、ROMなどの半導体メモ
リ素子の種類(以下、メモリタイプ)のうち1種類の半
導体メモリ素子からなるものである。各メモリ素子は、
取り外しが可能で、メモリタイプあるいは容量の異なる
メモリ素子に取り替えることができる。
The memory 5 includes memory elements 5a, 5b,
Consisting of 5c. Each memory element 5a, 5b, 5c has dR
It is made of one type of semiconductor memory element among the types of semiconductor memory elements (hereinafter referred to as memory types) such as AM, SRAM, PSRAM, and ROM. Each memory element is
It is removable and can be replaced with a memory element of a different memory type or capacity.

【0012】アドレス指定装置11aは、メモリ素子5
aにアドレスを割り当てるための装置である。ユーザは
キーボード3からメモリ素子に割り当てるアドレス範囲
の最小アドレスと最大アドレスを入力する。CPU1は
、これらのアドレスをデータバス(図示しない)を介し
、アドレス指定装置11aに送る。アドレス指定装置1
1aは内部に2つのレジスタを持っており、1のレジス
タでメモリ素子5aに割り当てる最小アドレスを、2の
レジスタでメモリ素子5aに割り当てる最大アドレスを
保持する。アドレス指定装置11aは、2つのレジスタ
で保持した情報をアドレス比較装置12aへ送る。アド
レス指定装置11b、11cに関しても、アドレス指定
装置11aと同じ機能を持ち、割り当てられた最大アド
レスと最小アドレスを保持し、その情報をそれぞれアド
レス比較装置12b、12cへ送る。
Addressing device 11a includes memory element 5
This is a device for assigning an address to a. The user inputs from the keyboard 3 the minimum address and maximum address of the address range to be assigned to the memory element. CPU 1 sends these addresses to addressing device 11a via a data bus (not shown). Addressing device 1
1a has two registers inside, and register 1 holds the minimum address to be allocated to the memory element 5a, and register 2 holds the maximum address to be allocated to the memory element 5a. Addressing device 11a sends information held in two registers to address comparison device 12a. The addressing devices 11b and 11c also have the same function as the addressing device 11a, hold the assigned maximum address and minimum address, and send the information to the address comparison devices 12b and 12c, respectively.

【0013】アドレス比較装置12aは、アドレス指定
装置11aから送られた最小アドレス、最大アドレスの
信号と、CPU1が現在アクセスしている物理アドレス
信号を受けとる。アドレス比較装置12aは、CPU1
から送られるコントロール信号により、アドレスの取り
込みタイミングを制御される。アドレス比較装置12a
は、受けとった信号をデコードし、CPU1から送られ
た物理アドレスがアドレス指定装置11aで指定された
アドレス範囲内にあることを検知すると、コンペアA信
号(以下、COMP−A)をハイレベル信号´H´にし
、一定期間出力する。アドレス比較装置12b、12c
に関しても同様の機能を持ち、出力信号をコンペアB信
号(以下、COMP−B)、及びコンペアC信号(以下
、COMP−C)と呼ぶことにする。
The address comparison device 12a receives the minimum address and maximum address signals sent from the address designation device 11a and the physical address signal currently being accessed by the CPU 1. The address comparison device 12a is
The address capture timing is controlled by a control signal sent from. Address comparison device 12a
decodes the received signal and detects that the physical address sent from the CPU 1 is within the address range specified by the addressing device 11a, it sends the compare A signal (hereinafter referred to as COMP-A) to a high level signal ' Set to H' and output for a certain period of time. Address comparison devices 12b, 12c
The output signals will be referred to as a compare B signal (hereinafter referred to as COMP-B) and a compare C signal (hereinafter referred to as COMP-C).

【0014】メモリタイプレジスタ14は、メモリ素子
5a、5b、5cのメモリタイプに対応した情報を保持
するレジスタである。メモリタイプレジスタ14は、6
ビットで構成され、1つのメモリ素子に対し2ビットの
情報でそのメモリ素子のメモリタイプを表す。メモリタ
イプを表す2ビットの情報は、予め定義しておく。本実
施例では、”00”でdRAM、”01”でSRAM、
”10”でPSRAMを表すように定義している。 メモリタイプレジスタ14に保持されている6ビットの
情報の上位2ビットはメモリ素子5a、次の2ビットは
メモリ素子5b、下位2ビットはメモリ素子5cのメモ
リタイプ情報を示す。メモリタイプレジスタ14は、各
情報をそれぞれのメモリタイプ選択装置13a、13b
、13cへ送る。
The memory type register 14 is a register that holds information corresponding to the memory type of the memory elements 5a, 5b, and 5c. The memory type register 14 is 6
It consists of bits, and 2-bit information for one memory element represents the memory type of that memory element. 2-bit information representing the memory type is defined in advance. In this embodiment, "00" indicates dRAM, "01" indicates SRAM,
"10" is defined to represent PSRAM. The upper two bits of the 6-bit information held in the memory type register 14 indicate the memory type information of the memory element 5a, the next two bits indicate the memory element 5b, and the lower two bits indicate the memory type information of the memory element 5c. The memory type register 14 stores each information in the respective memory type selection devices 13a and 13b.
, send to 13c.

【0015】メモリタイプ選択装置13aは、入力側に
COMP−A信号を送る信号線とメモリタイプレジスタ
14からメモリタイプ情報を送られる2ビットの信号線
を、出力側にdRAMセレクト信号線(以下、A信号線
)、SRAMセレクト信号線(以下、B信号線)、PS
RAMセレクト信号線(以下、C信号線)の計3ビット
の信号線が接続されている。また、A信号線で送られる
信号は、dRAMセレクト信号(以下、A信号)、B信
号線で送られる信号は、SRAMセレクト信号(以下、
B信号)、C信号線で送られる信号は、PSRAMセレ
クト信号  (以下、C信号)とする。メモリタイプ選
択装置13aは、COMP−Aがハイレベル信号´H´
になるのを受けると、メモリタイプレジスタ14から送
られた2ビットの信号をデコードし、メモリタイプレジ
スタ14の内容が´00´ならA信号線、´01´なら
B信号線に、´10´ならC信号線にハイレベル信号´
H´を一定期間出力する。メモリタイプ選択装置13b
、13cに関しても、メモリタイプ選択装置13aと同
様な機能を持つ。
The memory type selection device 13a has a signal line that sends the COMP-A signal on the input side and a 2-bit signal line that sends memory type information from the memory type register 14, and a dRAM select signal line (hereinafter referred to as A signal line), SRAM select signal line (hereinafter referred to as B signal line), PS
A total of 3 bit signal lines including RAM select signal lines (hereinafter referred to as C signal lines) are connected. Also, the signal sent on the A signal line is the dRAM select signal (hereinafter referred to as the A signal), and the signal sent on the B signal line is the SRAM select signal (hereinafter referred to as the A signal).
The signal sent on the C signal line is the PSRAM select signal (hereinafter referred to as the C signal). In the memory type selection device 13a, COMP-A is a high level signal 'H'.
When the 2-bit signal sent from the memory type register 14 is received, the 2-bit signal sent from the memory type register 14 is decoded. If so, send a high level signal to the C signal line.
H' is output for a certain period of time. Memory type selection device 13b
, 13c also have the same function as the memory type selection device 13a.

【0016】タイミング発生装置15は、メモリタイプ
選択装置13a、13b、13cから送られたセレクト
信号、アドレス比較装置12a、12b、12cから送
られたコンペア信号、DMA8から送られたREFS信
号、CPU1から送られたCLK信号、メモリタイプレ
ジスタ14から各メモリ素子5a、5b、5cのメモリ
タイプの信号を受けとり、現在アクセスされている半導
体メモリ素子に制御信号を送る。タイミング発生装置1
5の内部を図3に示し、詳細な説明を行う。
The timing generator 15 receives select signals sent from the memory type selection devices 13a, 13b, and 13c, compare signals sent from the address comparators 12a, 12b, and 12c, REFS signals sent from the DMA 8, and a REFS signal sent from the CPU 1. It receives the sent CLK signal and the memory type signal of each memory element 5a, 5b, 5c from the memory type register 14, and sends a control signal to the semiconductor memory element currently being accessed. Timing generator 1
The inside of 5 is shown in FIG. 3, and will be described in detail.

【0017】dRAM用信号発生器21a、SRAM用
信号発生器21b、PSRAM用信号発生器21cは、
CPU1から送られてきたCLK信号を用いて、dRA
M、SRAM、PSRAMを制御するための制御信号を
それぞれ発生する。dRAM用信号発生器21aは、R
AS信号、CAS信号、W(ライト)信号を生成し、発
生させる。SRAM用信号発生器21b、PSRAM用
信号発生器21cは、CE(チップ・セレクト)信号、
OE(アウトプット・イネーブル)信号、R/W(リー
ド・ライト)信号を生成し、発生させる。また、メモリ
タイプ選択装置13a、13b、13cから送られる3
ビットの出力信号線をA信号線、B信号線、C信号線ご
とに、オア回路22を介し、マルチプレクサ23へ送る
The dRAM signal generator 21a, the SRAM signal generator 21b, and the PSRAM signal generator 21c are as follows:
Using the CLK signal sent from CPU1, dRA
It generates control signals for controlling M, SRAM, and PSRAM, respectively. The dRAM signal generator 21a is R
Generates and generates an AS signal, a CAS signal, and a W (write) signal. The SRAM signal generator 21b and the PSRAM signal generator 21c generate a CE (chip select) signal,
Generates and generates an OE (output enable) signal and an R/W (read/write) signal. In addition, 3 sent from the memory type selection devices 13a, 13b, 13c
The bit output signal lines are sent to the multiplexer 23 via the OR circuit 22 for each A signal line, B signal line, and C signal line.

【0018】マルチプレクサ23はA信号のオア回路2
2の出力がハイレベル信号´H´なら、dRAM用信号
発生器21aから発生されたdRAM用の信号を、B信
号のオア回路22の出力がハイレベル信号´H´なら、
SRAM用信号発生器21bから発生されたSRAM用
の信号を、C信号のオア回路22の出力がハイレベル信
号´H´なら、PSRAM用信号発生器21cから発生
されたPSRAM用の信号を出力する。但し、メモリ素
子5へのアクセスは、同時に1つしか行われないため、
3つのオア回路22からの出力が同時に2つ以上ハイレ
ベル信号´H´になることはない。このため、マルチプ
レクサ23は、メモリ素子5にアクセスがあると、必ず
1つの信号発生器からの信号を出力することになる。マ
ルチプレクサ23から送られる信号のうち、RAS信号
とCE信号は、同一の信号線(RAS/CE)を介して
送られ、この信号をRAST信号とする。CAS信号と
OE信号は、同一の信号線(CAS/OE)を介して送
られ、この信号をCAST信号とする。R/W信号とW
信号は、同一の信号線(READ/WRITE)を介し
て送られ、この信号をRDWR信号と呼ぶことにする。
The multiplexer 23 is an OR circuit 2 for the A signal.
If the output of B signal is a high level signal 'H', the dRAM signal generated from the dRAM signal generator 21a is used, and if the output of the OR circuit 22 of the B signal is a high level signal 'H',
If the output of the C signal OR circuit 22 is a high level signal 'H', the SRAM signal generated from the SRAM signal generator 21b is output as the PSRAM signal generated from the PSRAM signal generator 21c. . However, since only one access to the memory element 5 can be made at a time,
Two or more outputs from the three OR circuits 22 do not become high level signals 'H' at the same time. Therefore, when the memory element 5 is accessed, the multiplexer 23 always outputs a signal from one signal generator. Among the signals sent from the multiplexer 23, the RAS signal and the CE signal are sent via the same signal line (RAS/CE), and this signal is referred to as the RAST signal. The CAS signal and the OE signal are sent via the same signal line (CAS/OE), and this signal is referred to as the CAST signal. R/W signal and W
The signals are sent via the same signal line (READ/WRITE) and will be referred to as the RDWR signal.

【0019】ところで、dRAMはメモリリフレッシュ
動作が必要な半導体メモリ素子である。そのため、メモ
リ素子にdRAMを使用する場合、リフレッシュさせる
ための信号を与える必要がある。本実施例では、dRA
Mメモリリフレッシュの方法の一つである CAS B
efore RAS Refresh でdRAMリフ
レッシュを行っている。この方法は、CAS信号がRA
S信号より早くローレベル´L´に立ち下がり、その後
、RAS信号が立ち下がってから一定期間、CAS信号
がローレベル´L´状態が続いた時、dRAMはリフレ
ッシュ状態に入る。この方法はdRAM内部でリフレッ
シュ用のアドレスが指定されるので、外部でアドレス指
定する必要がない。
By the way, dRAM is a semiconductor memory element that requires a memory refresh operation. Therefore, when using dRAM as a memory element, it is necessary to provide a signal for refreshing it. In this example, dRA
CAS B is one of the M memory refresh methods.
dRAM is refreshed with efore RAS Refresh. In this method, the CAS signal is
When the CAS signal falls to a low level 'L' earlier than the S signal and then remains at a low level 'L' for a certain period of time after the RAS signal falls, the dRAM enters a refresh state. In this method, the refresh address is specified within the dRAM, so there is no need to specify the address externally.

【0020】Ref信号タイミング装置24aはメモリ
素子5aに、Ref信号タイミング装置24bはメモリ
素子5bに、Ref信号タイミング装置24cはメモリ
素子5cに対し、リフレッシュタイミング用の信号を送
るものである。Ref信号タイミング装置24a、24
b、24cは、REFS信号と各々に対応するメモリタ
イプレジスタ14から出力されるメモリタイプの信号を
受け、その信号が´00´なら、REFS信号をリフレ
ッシュ用のCAS信号(REFC−A、B、C信号)に
変換し出力する。また、REFC−A、B、Cにディレ
イを介することにより、リフレッシュ用のRAS信号(
REFR−A、B、C信号)を作る。これにより、リフ
レッシュ信号を与える。
The Ref signal timing device 24a sends refresh timing signals to the memory device 5a, the Ref signal timing device 24b to the memory device 5b, and the Ref signal timing device 24c to the memory device 5c. Ref signal timing device 24a, 24
b, 24c receive the REFS signal and the memory type signal output from the corresponding memory type register 14, and if the signal is '00', the REFS signal is converted to the refresh CAS signal (REFC-A, B, C signal) and output. In addition, by passing a delay to REFC-A, B, and C, the refresh RAS signal (
REFR-A, B, C signals). This provides a refresh signal.

【0021】図4は、タイミング発生装置の一部を示し
、図3に示す出力信号により、各メモリ素子を制御する
ための回路構成を示す図である。図5は、CPUからメ
モリにアクセスがあった場合(リード・ライト・サイク
ル)と、アクセスがない場合(リフレッシュ・サイクル
)のタイミング発生装置15内の各種信号のタイミング
チャートである。この図では、メモリアクセスはメモリ
素子5aに、タイミング発生装置15からはdRAM用
の信号が発生されたとする。
FIG. 4 shows a part of the timing generator, and is a diagram showing a circuit configuration for controlling each memory element using the output signal shown in FIG. 3. In FIG. FIG. 5 is a timing chart of various signals in the timing generator 15 when the CPU accesses the memory (read/write cycle) and when there is no access (refresh cycle). In this figure, it is assumed that a memory access is made to the memory element 5a, and a signal for dRAM is generated from the timing generator 15.

【0022】メモリ素子5aにアクセスがあったのでア
ドレス比較装置12a、12b、12cのうち、COM
P−Aにのみ一定期間ハイレベル´H´が送られている
(52)。dRAM用の信号は、RAST信号線にRA
S信号(53)を、CAST信号線にCAS(54)信
号を出力する。出力されたRAS信号、CAS信号は反
転され、それぞれのANDゲート31に入力される。C
OMP−B、Cを入力するANDゲート31は、ローレ
ベル信号´L´を受けとっているので、ローレベル信号
´L´を出力することになる。COMP−Aを入力する
ANDゲート31は、ハイレベル信号´H´を受け取っ
ているため、RAST信号の反転信号がハイレベル´H
´になると、ハイレベル´H´を出力する(60)。O
Rゲート32はメモリにアクセスがある場合、REFR
−A、B、Cから常にハイレベル信号´H´(56)を
受けるので、ORゲート32の出力は、ANDゲート3
1からの出力と同じになる。このORゲート32の出力
信号を反転する(61)とタイミング装置15から発生
した信号と同一の信号が得られる。このことにより、メ
モリ素子5aにのみ、メモリアクセス用の制御信号を送
ることができる。他のメモリ素子にアクセスがあっても
、同様な処理が行なわれる。
Since the memory element 5a was accessed, one of the address comparators 12a, 12b, and 12c is COM
A high level 'H' is sent only to PA for a certain period of time (52). The signal for dRAM is connected to the RAST signal line by RA.
It outputs the S signal (53) and the CAS (54) signal to the CAST signal line. The output RAS signal and CAS signal are inverted and input to the respective AND gates 31. C
Since the AND gate 31 inputting OMP-B and C receives the low level signal 'L', it outputs the low level signal 'L'. Since the AND gate 31 inputting COMP-A receives the high level signal 'H', the inverted signal of the RAST signal is at the high level 'H'.
', outputs a high level 'H' (60). O
When the memory is accessed, the R gate 32 outputs REFR.
- Since the high level signal 'H' (56) is always received from A, B, and C, the output of the OR gate 32 is the AND gate 3.
The output will be the same as from 1. When the output signal of this OR gate 32 is inverted (61), a signal identical to the signal generated from the timing device 15 is obtained. This allows a control signal for memory access to be sent only to the memory element 5a. Similar processing is performed even if other memory elements are accessed.

【0023】次に、メモリ素子にアクセスがないとき(
リフレッシュ・サイクル)はCOMP−A、B、Cは全
てローレベル信号´L´(52)になるのでANDゲー
トからは全て、ローレベル信号´L´(57、59)が
送られる。そのため、REFR−A、B、Cからの信号
、REFC−A、B、Cからの信号がそのままメモリ素
子に制御信号として入力される。本実施例でリフレッシ
ュ制御信号は、REFR−A、REFC−Aに対しての
み、リフレッシュ用のCAS信号、RAS信号が発せら
れるため、メモリ素子5aにのみリフレッシュ用の信号
が送られる。このようにして、リフレッシュが行われる
。次に、メモリ素子のタイプをを取り替えた場合につい
て示す。
Next, when there is no access to the memory element (
In the refresh cycle, COMP-A, B, and C all become low level signals 'L' (52), so low level signals 'L' (57, 59) are all sent from the AND gate. Therefore, the signals from REFR-A, B, and C and the signals from REFC-A, B, and C are directly input to the memory element as control signals. In this embodiment, the refresh control signal is a refresh CAS signal and a RAS signal only for REFR-A and REFC-A, so the refresh signal is sent only to the memory element 5a. Refreshing is performed in this way. Next, a case will be described in which the type of memory element is replaced.

【0024】メモリ素子5aに取り付けられているdR
AMをSRAMに取り替えた場合、先ず、取り替えたS
RAMの記憶容量に合わせメモリを割り付けるため、キ
ーボード3により最小アドレス、最大アドレスを入力す
る。この入力データは、CPU1を介しデータバスより
アドレス指定装置11a内のレジスタに保持される。ま
た、キーボード3によりメモリタイプを入力し(この場
合´01´)、このデータがCPU1を介し、データバ
ス(図示しない)よりメモリタイプレジスタ14の上位
2ビットのレジスタに保持される。以上のレジスタの値
を変更するだけで、メモリ素子5aにアクセスがあった
場合、タイミング発生装置15からSRAM用の信号(
CE、OE、W/R)が出力されメモリ素子5aを制御
することができる。また、メモリタイプレジスタ14の
保持情報がSRAMを示しているので、リフレッシュタ
イミング制御装置は、ハイレベルを出力したままになり
、この信号は意味を持たない。
dR attached to the memory element 5a
When replacing AM with SRAM, first the replaced S
In order to allocate memory according to the storage capacity of the RAM, input the minimum address and maximum address using the keyboard 3. This input data is held in a register in the addressing device 11a from a data bus via the CPU 1. Further, a memory type is input using the keyboard 3 ('01' in this case), and this data is held in the upper two bits of the memory type register 14 from a data bus (not shown) via the CPU 1. By simply changing the values of the above registers, when the memory element 5a is accessed, the timing generator 15 sends the SRAM signal (
CE, OE, W/R) can be output to control the memory element 5a. Furthermore, since the information held in the memory type register 14 indicates SRAM, the refresh timing control device continues to output a high level, and this signal has no meaning.

【0025】PSRAMに変えた場合でも、アドレス指
定装置11a、メモリタイプレジスタ14に、使用する
メモリの情報を入力するだけで異なる容量、タイプのメ
モリを制御できる。
Even when changing to PSRAM, it is possible to control memories of different capacities and types simply by inputting information on the memory to be used to the addressing device 11a and memory type register 14.

【0026】なお、本実施例では、東芝製dRAM T
C514256 、東芝製SRAM TC551001
、東芝製PSRAM TC518128 をメモリ素子
の対象としているが、タイミング発生装置15内にいろ
いろなメモリタイプ用の信号発生器を設定し、マルチプ
レクサで選択させるような回路変更を行い、メモリ素子
のコネクタに対応するインターフェイスを使うことによ
り、もっと多様なメモリタイプに対応できる。
Note that in this embodiment, Toshiba's dRAM T
C514256, Toshiba SRAM TC551001
, Toshiba's PSRAM TC518128 is targeted as a memory element, but signal generators for various memory types are set in the timing generator 15, and the circuit is changed to allow selection by a multiplexer to correspond to the connector of the memory element. By using this interface, it is possible to support a wider variety of memory types.

【0027】以上により、メモリタイプの異なる記憶素
子に取り変えたり、記憶素子を増設したりするために、
設計し直す必要がなくなり、また、ユーザが使用用途に
応じ、リフレッシュ動作の必要な記憶素子でも、容易に
記憶素子を変えたりすることができる。
As described above, in order to replace the memory element with a different memory type or add memory elements,
There is no need to redesign, and the user can easily change the memory element depending on the intended use, even if the memory element requires a refresh operation.

【0028】[0028]

【発明の効果】第1の本願発明のメモリ制御装置により
、使用用途に応じて使用するメモリの種類を変えること
ができる。また、第2の本願発明により、さらに、外部
よりリフレッシュを行わせる命令を必要とする記憶素子
にも対応できる。
According to the memory control device of the first aspect of the present invention, the type of memory used can be changed depending on the purpose of use. Further, the second invention of the present application can also be applied to a memory element that requires an external refresh command.

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

【図1】  本実施例に係わる電子機器の全体を示すシ
ステム構成図である。
FIG. 1 is a system configuration diagram showing the entire electronic device according to the present embodiment.

【図2】  本願発明のメモリ制御装置内の構成を示す
図である。
FIG. 2 is a diagram showing the internal configuration of the memory control device of the present invention.

【図3】  タイミング発生装置15の前半の処理部分
を、詳細に示した図である。
FIG. 3 is a diagram showing in detail the first half of the processing part of the timing generator 15.

【図4】  タイミング発生装置の後半の処理部分であ
り、第3図からの信号を引継ぎ、各メモリ素子を制御す
るために信号を変換するための回路を示した図である。
FIG. 4 is a diagram illustrating a circuit that is the latter half of the processing part of the timing generator, inheriting the signals from FIG. 3 and converting the signals in order to control each memory element.

【図5】  メモリアクセスがメモリ素子5aに、タイ
ミング発生装置15からdRAM用の信号が発生された
ときのタイミングチャートである。
FIG. 5 is a timing chart when a dRAM signal is generated from the timing generator 15 for memory access to the memory element 5a.

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

1    CPU 2    KBC 3    キーボード 4    メモリ制御装置 5    メモリ 5a、5b、5c    メモリ素子 6    表示制御装置 7    表示装置 8    Direct  Memory  Acce
ss9    バス 11a、11b、11c    アドレス指定装置12
a、12b、12c    アドレス比較装置13a、
13b、13c    メモリタイプ選択装置14  
  メモリタイプレジスタ 15    タイミング発生装置 21a    dRAM用信号発生器 21b    SRAM用信号発生器 21c    PSRAM用信号発生器23     
 マルチプレクサ
1 CPU 2 KBC 3 Keyboard 4 Memory control device 5 Memories 5a, 5b, 5c Memory element 6 Display control device 7 Display device 8 Direct Memory Access
ss9 bus 11a, 11b, 11c addressing device 12
a, 12b, 12c address comparison device 13a,
13b, 13c memory type selection device 14
Memory type register 15 Timing generator 21a dRAM signal generator 21b SRAM signal generator 21c PSRAM signal generator 23
multiplexer

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  制御信号が異なる複数種類の記憶素子
を制御するメモリ制御装置であって、接続される記憶素
子の種類を表わす情報を保持する記憶種類保持手段と、
前記記憶種類保持手段が保持している情報に基いて、前
記接続される記憶素子に対応する制御信号を出力するタ
イミング発生手段とを具備することを特徴とするメモリ
制御装置。
1. A memory control device that controls a plurality of types of storage elements using different control signals, comprising a storage type holding unit that holds information representing the type of connected storage element;
A memory control device comprising: timing generation means for outputting a control signal corresponding to the connected storage element based on information held by the storage type holding means.
【請求項2】  請求項1のメモリ制御装置において、
前記記憶種類保持手段に保持されている情報を参照し、
この情報がリフレッシュを必要とする記憶素子を示す場
合、前記リフレッシュを必要とする記憶素子に対しリフ
レッシュ制御するリフレッシュ制御手段を具備すること
を特徴とするメモリ制御装置。
2. The memory control device according to claim 1,
Referring to the information held in the memory type holding means,
A memory control device characterized in that, when this information indicates a storage element that requires refreshing, refresh control means performs refresh control on the storage element that requires refreshing.
JP9652891A 1991-04-26 1991-04-26 Memory controller Pending JPH04326140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9652891A JPH04326140A (en) 1991-04-26 1991-04-26 Memory controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9652891A JPH04326140A (en) 1991-04-26 1991-04-26 Memory controller

Publications (1)

Publication Number Publication Date
JPH04326140A true JPH04326140A (en) 1992-11-16

Family

ID=14167639

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9652891A Pending JPH04326140A (en) 1991-04-26 1991-04-26 Memory controller

Country Status (1)

Country Link
JP (1) JPH04326140A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002259322A (en) * 2001-02-27 2002-09-13 Fujitsu Ltd Memory system
US6795906B2 (en) 2000-06-16 2004-09-21 Nec Corporation Memory controller, interface device and method using a mode selection signal to support different types of memories
US7277988B2 (en) 2004-10-29 2007-10-02 International Business Machines Corporation System, method and storage medium for providing data caching and data compression in a memory subsystem
US7296129B2 (en) 2004-07-30 2007-11-13 International Business Machines Corporation System, method and storage medium for providing a serialized memory interface with a bus repeater
US7299313B2 (en) 2004-10-29 2007-11-20 International Business Machines Corporation System, method and storage medium for a memory subsystem command interface
US7305574B2 (en) 2004-10-29 2007-12-04 International Business Machines Corporation System, method and storage medium for bus calibration in a memory subsystem
US7331010B2 (en) 2004-10-29 2008-02-12 International Business Machines Corporation System, method and storage medium for providing fault detection and correction in a memory subsystem
US7356737B2 (en) 2004-10-29 2008-04-08 International Business Machines Corporation System, method and storage medium for testing a memory module
US7389375B2 (en) * 2004-07-30 2008-06-17 International Business Machines Corporation System, method and storage medium for a multi-mode memory buffer device
US7395476B2 (en) 2004-10-29 2008-07-01 International Business Machines Corporation System, method and storage medium for providing a high speed test interface to a memory subsystem
US7441060B2 (en) 2004-10-29 2008-10-21 International Business Machines Corporation System, method and storage medium for providing a service interface to a memory system
US7478259B2 (en) 2005-10-31 2009-01-13 International Business Machines Corporation System, method and storage medium for deriving clocks in a memory system
US7490217B2 (en) 2006-08-15 2009-02-10 International Business Machines Corporation Design structure for selecting memory busses according to physical memory organization information stored in virtual address translation tables
US7512762B2 (en) 2004-10-29 2009-03-31 International Business Machines Corporation System, method and storage medium for a memory subsystem with positional read data latency
US7539842B2 (en) 2006-08-15 2009-05-26 International Business Machines Corporation Computer memory system for selecting memory buses according to physical memory organization information stored in virtual address translation tables
US7539800B2 (en) 2004-07-30 2009-05-26 International Business Machines Corporation System, method and storage medium for providing segment level sparing

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6795906B2 (en) 2000-06-16 2004-09-21 Nec Corporation Memory controller, interface device and method using a mode selection signal to support different types of memories
US8972688B2 (en) 2001-02-27 2015-03-03 Fujitsu Semiconductor Limited Memory system having a plurality of types of memory chips and a memory controller for controlling the memory chips
US8972687B2 (en) 2001-02-27 2015-03-03 Fujitsu Semiconductor Limited Memory system having a plurality of types of memory chips and a memory controller for controlling the memory chips
US8312240B2 (en) 2001-02-27 2012-11-13 Fujitsu Semiconductor Limited Memory system having a plurality of types of memory chips and a memory controller for controlling the memory chips
US10133498B2 (en) 2001-02-27 2018-11-20 Socionext Inc. Memory system having a plurality of types of memory chips and a memory controller for controlling the memory chips
US9418029B2 (en) 2001-02-27 2016-08-16 Socionext Inc. Memory system having a plurality of types of memory chips and a memory controller for controlling the memory chips
JP2002259322A (en) * 2001-02-27 2002-09-13 Fujitsu Ltd Memory system
US8977832B2 (en) 2001-02-27 2015-03-10 Fujitsu Semiconductor Limited Memory system having a plurality of types of memory chips and a memory controller for controlling the memory chips
US8683165B2 (en) 2001-02-27 2014-03-25 Fujitsu Semiconductor Limited Memory system having a plurality of types of memory chips and a memory controller for controlling the memory chips
US8886897B2 (en) 2001-02-27 2014-11-11 Fujitsu Semiconductor Limited Memory system having a plurality of types of memory chips and a memory controller for controlling the memory chips
US8972686B2 (en) 2001-02-27 2015-03-03 Fujitsu Semiconductor Limited Memory system having a plurality of types of memory chips and a memory controller for controlling the memory chips
US10318195B2 (en) 2001-02-27 2019-06-11 Socionext Inc. Memory system having a plurality of types of memory chips and a memory controller for controlling the memory chips
US7539800B2 (en) 2004-07-30 2009-05-26 International Business Machines Corporation System, method and storage medium for providing segment level sparing
US7389375B2 (en) * 2004-07-30 2008-06-17 International Business Machines Corporation System, method and storage medium for a multi-mode memory buffer device
US7296129B2 (en) 2004-07-30 2007-11-13 International Business Machines Corporation System, method and storage medium for providing a serialized memory interface with a bus repeater
US7331010B2 (en) 2004-10-29 2008-02-12 International Business Machines Corporation System, method and storage medium for providing fault detection and correction in a memory subsystem
US7610423B2 (en) 2004-10-29 2009-10-27 International Business Machines Corporation Service interface to a memory system
US7512762B2 (en) 2004-10-29 2009-03-31 International Business Machines Corporation System, method and storage medium for a memory subsystem with positional read data latency
US7441060B2 (en) 2004-10-29 2008-10-21 International Business Machines Corporation System, method and storage medium for providing a service interface to a memory system
US7395476B2 (en) 2004-10-29 2008-07-01 International Business Machines Corporation System, method and storage medium for providing a high speed test interface to a memory subsystem
US7356737B2 (en) 2004-10-29 2008-04-08 International Business Machines Corporation System, method and storage medium for testing a memory module
US7305574B2 (en) 2004-10-29 2007-12-04 International Business Machines Corporation System, method and storage medium for bus calibration in a memory subsystem
US7299313B2 (en) 2004-10-29 2007-11-20 International Business Machines Corporation System, method and storage medium for a memory subsystem command interface
US7277988B2 (en) 2004-10-29 2007-10-02 International Business Machines Corporation System, method and storage medium for providing data caching and data compression in a memory subsystem
US7478259B2 (en) 2005-10-31 2009-01-13 International Business Machines Corporation System, method and storage medium for deriving clocks in a memory system
US7539842B2 (en) 2006-08-15 2009-05-26 International Business Machines Corporation Computer memory system for selecting memory buses according to physical memory organization information stored in virtual address translation tables
US7490217B2 (en) 2006-08-15 2009-02-10 International Business Machines Corporation Design structure for selecting memory busses according to physical memory organization information stored in virtual address translation tables

Similar Documents

Publication Publication Date Title
JP2968486B2 (en) Memory, memory subsystem, memory device, and memory system address method
US6981100B2 (en) Synchronous DRAM with selectable internal prefetch size
US6381190B1 (en) Semiconductor memory device in which use of cache can be selected
KR940002076B1 (en) Data processor
JPH04326140A (en) Memory controller
KR19980081282A (en) System Signaling Schemes for Processors & AMP Memory Modules
JP6556957B2 (en) Dynamic random access memory (DRAM) and self-refresh method
US6601130B1 (en) Memory interface unit with programmable strobes to select different memory devices
JP2002055877A (en) Memory sub-system, memory device, processing system and accessing method
JP4229958B2 (en) Memory control system and memory control circuit
JP2000040035A (en) Semiconductor storage device and memory system using the same
CN107369473B (en) Storage system and operation method thereof
JP2000339229A (en) Memory test circuit
CN113539322A (en) Memory device, memory controller, and memory system including multiple regions
US6425020B1 (en) Systems and methods for passively transferring data across a selected single bus line independent of a control circuitry
US20240071446A1 (en) Apparatuses and methods for providing command having on-the-fly (otf) latency to memory
KR100612127B1 (en) Memory Module Test Method and Hub for Memory Modules
JPH06274412A (en) Memory controller
JPH0525331B2 (en)
JP4549001B2 (en) Information processing apparatus and semiconductor integrated circuit
JP4383495B2 (en) Semiconductor integrated circuit
JPH06223205A (en) Data processing device
KR100232203B1 (en) Address generator for multi-channel system
JPH1049437A (en) Dynamic ram controller
JPH0561769A (en) Memory access method