JPS5828675B2 - Interleaved memory addressing method - Google Patents
Interleaved memory addressing methodInfo
- Publication number
- JPS5828675B2 JPS5828675B2 JP13157677A JP13157677A JPS5828675B2 JP S5828675 B2 JPS5828675 B2 JP S5828675B2 JP 13157677 A JP13157677 A JP 13157677A JP 13157677 A JP13157677 A JP 13157677A JP S5828675 B2 JPS5828675 B2 JP S5828675B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- address
- line
- memory plane
- interleaved
- 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
Description
【発明の詳細な説明】
本発明は、複数のメモリを同時に動作させるインターリ
ーブメモリにおいて、各メモリプレーンのアドレスを自
動的に決定するアドレス方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an addressing method that automatically determines the address of each memory plane in an interleaved memory in which a plurality of memories operate simultaneously.
第1図は、メモリのインターリーブを説明したものであ
る。FIG. 1 illustrates memory interleaving.
2.2’、2“はメモリプレーンであり、3はアドレス
バス、4はデータバス、5が読み書きを指定する制御線
、6がタイミング線で、これらがメモリプレーンを接続
するメモリインターフェイスを構成している。2.2' and 2'' are memory planes, 3 is an address bus, 4 is a data bus, 5 is a control line that specifies reading and writing, and 6 is a timing line, which constitutes a memory interface that connects the memory planes. ing.
メモリインターフェイスラインは、時分割転送を行なう
ことによって、同時に2つ以上のメモリを動作させるこ
とが可能である。The memory interface line can operate two or more memories at the same time by performing time-division transfer.
各メモリプレーン内の数値は、アドレスを示しており、
メモリプレーン2と2′がインターリーブされており、
2“は、最後の奇数番目のメモリプレーンのためにイン
ターリーブされていない。The numbers in each memory plane indicate the address,
Memory planes 2 and 2' are interleaved,
2" is not interleaved for the last odd memory plane.
従ってメモリプレーン2は、128に語までの偶数アド
レス、メモリプレーン2′は、128に語までの奇数ア
ドレス、メモリプレーン2“は、128に語から、19
2に語までの連続した全アドレスを記憶している。Therefore, memory plane 2 has even addresses up to word 128, memory plane 2' has odd addresses up to word 128, and memory plane 2'' has even addresses up to word 128, up to word 19.
2, all consecutive addresses up to the word are stored.
この方式で、面倒なことは、アドレスの付は方である。The troublesome thing with this method is how to assign addresses.
最も単純に考えられる方式を、第2図に示す。The simplest possible method is shown in FIG.
アドレスバス5の内、上位数ビットと下位1ビツトを取
出し、これをスイッチレジスタ7と比較器8で、比較し
て、一致がとれた時に、該メモリプレーンが選択される
ようにするものである。The upper few bits and lower 1 bit are extracted from the address bus 5, and compared with the switch register 7 and the comparator 8. When a match is found, the memory plane is selected. .
この時には、一致信号11がメモリアレイ9に伝達され
、メモリの動作が始められる。At this time, the coincidence signal 11 is transmitted to the memory array 9, and the memory operation is started.
メモリアレイアドレスラインは、メモリプレーンの選択
のために使ったアドレスバスの残りの部分が供給される
。The memory array address lines are supplied with the remainder of the address bus used for memory plane selection.
この方法の問題点は、スイッチを設定するのが手間にな
ることである。The problem with this method is that setting up the switches is cumbersome.
スイッチの設定誤りは、2重選択などの誤動作を起す原
因となる。Errors in switch settings may cause malfunctions such as double selection.
インターリーブが入っている場合には、特にスイッチの
設定が複雑であり、設定誤りを起し易い。When interleaving is included, the switch settings are especially complicated, and setting errors are likely to occur.
本発明は、上記のような、スイッチを使う方式の欠点を
なくすために考えられたもので、その目的は、必要なメ
モリプレーン数を挿入す1”Lば、自動的にアドレスの
割付を行うことができるインターリーブメモリのアドレ
ス方式を提供するにある。The present invention was devised to eliminate the drawbacks of the method using switches as described above, and its purpose is to automatically allocate addresses once the required number of memory planes are inserted. It is possible to provide an interleaved memory addressing scheme.
本発明の特徴とするところは、各メモリプレーン毎に、
加算器と、選択論理回路と、比較回路を設け、加算器で
は、各メモリプレーン間に設けられたメモリプレーンア
ドレスを指定するためのアドレス指定ラインの入力に対
して当該メモリプレーンのメモリ容量だけ加算した値を
次のメモリプレーンに送り、選択論理回路は、インター
リーブされるメモリグループ内に、メモリがいくつ実装
されているかを示すインターリーブモード指定信号によ
ってアドレスバスのうちどのラインを選択するかを決定
し、選択されたアドレスラインを比較器に送り、比較器
では、このアドレスラインの内容とアドレス指定ライン
の内容を比較し、一致したときに当該メモリプレーンが
指定されるようにしたものである。The feature of the present invention is that for each memory plane,
An adder, a selection logic circuit, and a comparison circuit are provided, and the adder adds only the memory capacity of the memory plane to the input of the addressing line provided between each memory plane to specify the memory plane address. The selected value is sent to the next memory plane, and the selection logic circuit determines which line of the address bus to select based on an interleave mode designation signal indicating how many memories are implemented in the memory group to be interleaved. , the selected address line is sent to a comparator, and the comparator compares the content of this address line with the content of the address designation line, and when they match, the memory plane is designated.
本発明によれば、インターリーブされるメモリグループ
内に、メモリがいくつ実装されているかを示すインター
リーブモード指定信号が、選択論理回路に入力され、選
択論理回路では、この信号に応じて、自動的にアドレス
バスから特定のアドレスラインを選択するようになって
おり、これにより、自動的にアドレスの割付が行なわれ
る。According to the present invention, an interleave mode designation signal indicating how many memories are installed in a memory group to be interleaved is input to a selection logic circuit, and the selection logic circuit automatically A specific address line is selected from the address bus, thereby automatically assigning addresses.
第3図は本発明の実施例を示したものである。FIG. 3 shows an embodiment of the present invention.
この例は、2ウエイインターリーブの場合を示したもの
で、2および2′が、インターリーブされるメモリプレ
ーンを示している。This example shows the case of 2-way interleaving, where 2 and 2' indicate memory planes to be interleaved.
12はメモリプレーンアドレスを指定するためのアドレ
ス指定ライン、13はインターリーブモード指定信号線
17からの信号に応じて、アドレスバス3から、特定の
ライン18を選択して出力する選択論理回路、14は選
択論理回路13によって選択されたライン18と、アド
レス指定ライン12の内容を比較し、一致した場合に一
致出力信号11を出力する比較器、15はアドレス指定
ライン12の内容に該プレーンのメモリ容量だけ加算し
たものを次のメモリプレーン2′にアドレス指定ライン
12′を介して出力するものである。12 is an address designation line for designating a memory plane address; 13 is a selection logic circuit that selects and outputs a specific line 18 from the address bus 3 in response to a signal from the interleave mode designation signal line 17; A comparator 15 compares the line 18 selected by the selection logic circuit 13 with the content of the addressing line 12 and outputs a match output signal 11 if they match. The added value is output to the next memory plane 2' via the addressing line 12'.
今一例として、最大容量IM語で、1メモリプレーン当
り64. k語である場合を仮定すると、アドレス指定
ライン12は4本であり、アドレス指定ライン12の内
容は(oooo)となり、加算回路15でプラス1され
、アドレス指定ライン12′の内容は(0001)とな
る。As an example, the maximum capacity IM word is 64. Assuming that there are k words, there are four addressing lines 12, and the content of the addressing line 12 is (oooo), which is incremented by 1 in the adder circuit 15, and the content of the addressing line 12' is (0001). becomes.
メモリプレーン2は、もしメモリプレーン2′が実装さ
れていない時には、インターリーブモード指定信号線1
7は抵抗16を介して電源Vccに接続されており論理
レベルで1″となり、実装されている時には接地される
ため+ 01”となる。Memory plane 2 is connected to interleave mode designation signal line 1 if memory plane 2' is not implemented.
7 is connected to the power supply Vcc via a resistor 16, and has a logic level of 1'', and when mounted, it is grounded, so it is +01''.
方、メモリプレーン2′は、バンクボードで信号線17
′が接地されているために0″が入るようになっている
。On the other hand, memory plane 2' is connected to signal line 17 on the bank board.
Since ' is grounded, 0'' is entered.
′1′′の場合には、インターリーブをしないモードで
あり、選択論理回路13では、上位の数ビットだけ(I
M語のメモリの例では、上位4ビツト)取出して、ライ
ン18を介して比較器14に送出する。In the case of '1'', it is a mode in which no interleaving is performed, and the selection logic circuit 13 selects only the upper few bits (I
In the example of a memory of M words, the upper 4 bits) are taken out and sent via line 18 to comparator 14.
一方 II O11の場合には、インク−リーブをする
モードとなり、選択論理回路13では、上位の数ビット
と下位の1ビツト(IM語のメモリの例では、上位3ビ
ツト下位1ビット)を取出して、ライン18を介して比
較器14に送出する。On the other hand, in the case of II O11, the mode is ink-leave, and the selection logic circuit 13 extracts the upper several bits and the lower 1 bit (in the example of an IM word memory, the upper 3 bits and the lower 1 bit). , to comparator 14 via line 18.
比較器14は、選択論理回路13からライン18を介し
て送られて来た信号と、アドレス指定ライン12の信号
を比較して、一致していれば、一致信号11を出カシ7
、該メモリプレーンが選択されたことを示す。Comparator 14 compares the signal sent from selection logic circuit 13 via line 18 with the signal on address designation line 12, and if they match, outputs match signal 11.
, indicates that the memory plane is selected.
第4図は、選択論理回路13の一具体例を示したもので
あり、2つのセレクタ18.19およびインバータ20
から構成されている。FIG. 4 shows a specific example of the selection logic circuit 13, which includes two selectors 18 and 19 and an inverter 20.
It consists of
セレクタ18は、インバータ20を介して入力される信
号線17の信号レベルによって、アドレスバス3のうち
、+16と#Oのラインのうち1つを選択し、A16に
出力する。The selector 18 selects one of the +16 and #O lines of the address bus 3 according to the signal level of the signal line 17 inputted via the inverter 20, and outputs it to A16.
セレクタ18はインバータ20の出力が゛Oパレベルの
とき#16を選択し +11 ++レベルの信号のとき
、#Oのラインを選択する。The selector 18 selects line #16 when the output of the inverter 20 is at the OP level, and selects the line #O when the signal is at the +11++ level.
セレクタ19には、信号線17の信号レベルが直接入力
されており、+l 1 j+レベルのとき=#=Oを選
択し f+ Q 1ルベルの場合Φ16を選択してAO
に出力するようになっている。The signal level of the signal line 17 is directly input to the selector 19, and when it is +l 1 j + level, select = # = O, and in the case of f + Q 1 level, select Φ16 and select AO.
It is designed to output to .
したがって、セレクタ18によってA16に+16が選
択された場合は、AOには4I−0が選択され、逆にA
16に+Oが選択された場合には、AOには+16が選
択される。Therefore, when +16 is selected for A16 by the selector 18, 4I-0 is selected for AO, and conversely, A
If +O is selected for 16, +16 is selected for AO.
A16からA19までの4ビツトは、比較器14へ、A
O〜A15の16ビツトは当該メモリプレーン内のアド
レスを示すものとなる。The 4 bits from A16 to A19 are sent to the comparator 14.
The 16 bits O to A15 indicate the address within the memory plane.
今、信号線17が゛1″レベルの場合、これはインター
リーブをしないモードであるが、この時、=#= 16
〜#19の上位4ビツトが比較器14へ、=#=O−#
15が当該メモリプレーン内のアドレスを示すものとし
て用いられ、またこれと逆に信号線17が゛0°ルベル
の場合は、インターリーブモードであり、=ll−0、
+17 、+18、−IN、9の4ビットが比較器14
へ、#16.寺1.Φ2゜〜#15の16ビツトが当該
メモリプレーンのアドレスを示すことになる。Now, when the signal line 17 is at the "1" level, this is a mode in which no interleaving is performed, but at this time, =#= 16
~The upper 4 bits of #19 go to the comparator 14, =#=O-#
15 is used to indicate the address within the memory plane, and conversely, if the signal line 17 is at the 0° level, it is interleave mode, =ll-0,
4 bits +17, +18, -IN, 9 are comparator 14
To, #16. Temple 1. The 16 bits from Φ2° to #15 indicate the address of the memory plane.
このように、本発明の実施例によれば、メモリフレーン
の挿入によって、信号線1γのレベルが変化し、自動的
にインターリーブされたアドレスが決定され、最適なイ
ンターリーブを行うことが可能となる。As described above, according to the embodiment of the present invention, the level of the signal line 1γ changes by inserting a memory plane, and the interleaved address is automatically determined, making it possible to perform optimal interleaving.
以上、2ウエイインターリーブの場合について説明した
が、4ウエイでも8ウエイでも同様な方法で、自動的に
アドレスを割当てることが可能である。Although the case of 2-way interleaving has been described above, addresses can be automatically assigned using the same method in 4-way or 8-way.
第5図は4ウエイまで可能な例を示したもので、インタ
ーリーブモード指定信号線17−1.17−2〜17〜
1” 、17−2”の内容によって、それぞれアドレス
の割当てが行なわれる。Figure 5 shows an example in which up to 4 ways are possible, with interleave mode designation signal lines 17-1, 17-2 to 17 to
Addresses are assigned depending on the contents of 1'' and 17-2''.
例えば、メモリプレーン2について説明すると、メモリ
プレーン2だけの場合は、17−1.17−2の両信号
線が1′となりインターリーブなし、メモリプレーン2
′が挿入された場合は、17−1のみがパ0′”となり
2ウエイインターリーブ、更にメモリプレーン2“ 、
2″′が挿入された場合は、17−1.17−2がとも
に0″となり、4ウェイインク−リーブを行うように、
選択論理回路13に信号を与える。For example, to explain memory plane 2, if only memory plane 2 exists, both signal lines 17-1 and 17-2 will be 1', no interleaving, and memory plane 2
' is inserted, only 17-1 becomes pa 0', 2-way interleave, and memory plane 2',
If 2"' is inserted, both 17-1 and 17-2 become 0", so that a 4-way ink-leave is performed.
A signal is given to the selection logic circuit 13.
選択論理回路13では、2ウエイの場合、アドレスバス
3のうち、Φ16と+0の選択を行なったが、4ウエイ
の場合は、4I=16.Φ17と#O2O2O3択を2
ビツトのモード指定信号に応じて行う。In the case of 2-way, the selection logic circuit 13 selects Φ16 and +0 of the address bus 3, but in the case of 4-way, 4I=16. Φ17 and #O2O2O3 choices 2
This is done according to the bit mode designation signal.
なお、第3図、第5図において、説明のないサフィック
スのついた符号のものは、サフィックスのない符号のも
のと相当物である。In FIGS. 3 and 5, symbols with suffixes that are not explained are equivalent to symbols without suffixes.
第1図はメモリのインターリーブを説明するための図、
第2図は従来方式の1つを示す図、第3図は本発明の一
実施例回路を示す図、第4図は第3図の一部具体例を示
す図、第5図は4ウェイインク−リーブ指定信号のつく
り方の一例を示す図である。
13・・・・・・選択論理回路、14・・・・・・比較
器、15・・・・・・加算器。Figure 1 is a diagram for explaining memory interleaving,
Fig. 2 is a diagram showing one of the conventional methods, Fig. 3 is a diagram showing an embodiment of the circuit of the present invention, Fig. 4 is a diagram showing a specific example of a part of Fig. 3, and Fig. 5 is a 4-way diagram. FIG. 3 is a diagram showing an example of how to create an ink-leave designation signal. 13... Selection logic circuit, 14... Comparator, 15... Adder.
Claims (1)
、制御線およびタイミング線によって接続され、少なく
とも2つのメモリプレーンのメモリがインターリーブさ
れるようになっているものにおいて、各メモリプレーン
毎に加算器と、選択論理回路と、比較器を設け、該加算
器は各メモリプレーン間に設けられたメモリプレーンア
ドレスを指定するためのアドレス指定ラインの入力に対
して当該メモリプレーンのメモリ容量だけ加算した値を
次のメモリプレーンに送り、該選択論理回路は、インタ
ーリーブされるメモリグループ内に、メモリがいくつ実
装されているかを示すインターリーフモード指定信号に
よってアドレスバスのうちどのラインを選択するかを決
定し、選択されたアドレスラインを該比較器に送り、該
比較器は、このアドレスラインの内容と該アドレス指定
ラインの内容を比較し、一致したときに一致信号を出力
し、当該メモリプレーンが指定されるようにしたことを
特徴とするインターリーブメモリのアドレス方式。1. In a plurality of memory planes connected by address buses, data buses, control lines, and timing lines, such that the memories of at least two memory planes are interleaved, each memory plane has an adder and a selector. A logic circuit and a comparator are provided, and the adder adds the memory capacity of the memory plane to the input of the address designation line provided between each memory plane to designate the memory plane address, and calculates the value as follows. The selection logic circuit determines which line of the address bus to select according to an interleaf mode designation signal indicating how many memories are implemented in the memory group to be interleaved, and determines which line of the address bus is selected. The comparator compares the content of this address line with the content of the address designation line, outputs a match signal when they match, and specifies the memory plane. An interleaved memory addressing method characterized by:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13157677A JPS5828675B2 (en) | 1977-11-04 | 1977-11-04 | Interleaved memory addressing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13157677A JPS5828675B2 (en) | 1977-11-04 | 1977-11-04 | Interleaved memory addressing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5465434A JPS5465434A (en) | 1979-05-26 |
| JPS5828675B2 true JPS5828675B2 (en) | 1983-06-17 |
Family
ID=15061272
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP13157677A Expired JPS5828675B2 (en) | 1977-11-04 | 1977-11-04 | Interleaved memory addressing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5828675B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0237682U (en) * | 1988-09-03 | 1990-03-13 |
-
1977
- 1977-11-04 JP JP13157677A patent/JPS5828675B2/en not_active Expired
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0237682U (en) * | 1988-09-03 | 1990-03-13 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5465434A (en) | 1979-05-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4660181A (en) | Memory system | |
| EP0473275B1 (en) | Memory control unit and memory unit | |
| EP0394436B1 (en) | Automatically variable memory interleaving system | |
| US3934227A (en) | Memory correction system | |
| US4254463A (en) | Data processing system with address translation | |
| US5611042A (en) | Data error detection and correction for a shared SRAM | |
| US4870572A (en) | Multi-processor system | |
| EP0471532A2 (en) | Method for determining the size of a memory | |
| US4608632A (en) | Memory paging system in a microcomputer | |
| WO1987006369A1 (en) | Method of assigning a board slot number | |
| US4318175A (en) | Addressing means for random access memory system | |
| US5117492A (en) | Memory addressing system using first and second address signals and modifying second address responsive predetermined values of first address signal | |
| EP0057815B1 (en) | Page addressing mechanism and method for using the same | |
| JPS5828675B2 (en) | Interleaved memory addressing method | |
| US20050180240A1 (en) | Method and system for fast memory access | |
| JPH0562380B2 (en) | ||
| JP3266529B2 (en) | Method and apparatus for forming translation information to translate storage area addresses into memory control signals | |
| JPS5968068A (en) | Memory board | |
| JPS60176163A (en) | Address selection system of input/output board | |
| JPH0981453A (en) | Memory control method and apparatus for implementing the same | |
| JPH07312096A (en) | Nonvolatile memory | |
| JPH06309223A (en) | Storage device with memory interleaving function | |
| JPH0553920A (en) | Structured address generator | |
| JPS5822833B2 (en) | Memory addressing method | |
| JP2007172415A (en) | Interface system |