JPS6143741B2 - - Google Patents
Info
- Publication number
- JPS6143741B2 JPS6143741B2 JP4139678A JP4139678A JPS6143741B2 JP S6143741 B2 JPS6143741 B2 JP S6143741B2 JP 4139678 A JP4139678 A JP 4139678A JP 4139678 A JP4139678 A JP 4139678A JP S6143741 B2 JPS6143741 B2 JP S6143741B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- timing
- access request
- memory module
- output
- 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 116
- 238000000034 method Methods 0.000 claims description 14
- 238000010586 diagram Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C7/00—Arrangements for writing information into, or reading information out from, a digital store
- G11C7/22—Read-write [R-W] timing or clocking circuits; Read-write [R-W] control signal generators or management
Description
【発明の詳細な説明】
本発明は複数のメモリモジユールを含むメモリ
装置の制御方式に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a control method for a memory device including a plurality of memory modules.
従来、メモリをその本来のスピードより実質的
に高速に使用する方法としてインタリーブと呼ば
れる手法が提案されている。この方法はn個の独
立動作可能なメモリバンクを使用してメモリシス
テムを構成しておき、連続するメモリアクセスが
別のメモリバンクにアクセスするようにソフトウ
エア上又はハードウエア的にアドレス割付けを行
つておく。こうすることにより、連続するアクセ
スが同一メモリバンクに存在しない限り、複数バ
ンクの部分的な同時動作が可能になる。例えば、
第1図に示すようなメモリシステムでは、各バン
ク0,1,2,3の固有のサイクルタイムの1/2
のサイクルタイムで動作可能である。本図に示し
たメモリバンクは他のメモリバンクとは互に独立
であり、メモリ動作に必要なタイミング発生回
路、処理装置とのインタフエース等は各バンクの
それぞれに用意されているのが普通であり、また
メモリバスの管理は処理装置4で行つていること
が多い。尚、第1図に於て、aはメモリバンクi
のメモリサイクル、bはメモリバンクjのメモリ
サイクルを示し、ここでi≠j、0≦i、j≦3
である。 Conventionally, a method called interleaving has been proposed as a method of using memory substantially faster than its original speed. In this method, a memory system is configured using n memory banks that can operate independently, and addresses are assigned in software or hardware so that consecutive memory accesses access different memory banks. Keep it on. This allows partial simultaneous operation of multiple banks as long as there are no consecutive accesses to the same memory bank. for example,
In a memory system like the one shown in Figure 1, 1/2 of the unique cycle time of each bank 0, 1, 2, and 3.
It is possible to operate with a cycle time of The memory banks shown in this figure are independent from other memory banks, and each bank usually has its own timing generator circuit, interface with a processing device, etc. required for memory operation. In addition, the memory bus is often managed by the processing device 4. In Fig. 1, a is memory bank i.
, b denotes the memory cycle of memory bank j, where i≠j, 0≦i, j≦3
It is.
一方、最近の大規模な情報処理システムの現状
を考えると、ソフトウエアの複雑度がまし、その
開発費用が膨大となつている。このソフトウエア
開発費用を軽減するための方策として、プログラ
ムのモジユール化、高級言語の使用等にみられる
ようにメモリ容量の増大を伴うものがある。また
最近のメモリ技術の進歩によりメモリ素子の大容
量化、低コスト化が進み、これらと相俟つてます
ますメモリ容量の増大化の傾向が強くなつてき
た。 On the other hand, considering the current state of large-scale information processing systems these days, the complexity of the software is increasing and the cost of developing it is enormous. Measures to reduce software development costs include increasing memory capacity, such as modularizing programs and using high-level languages. Furthermore, recent advances in memory technology have led to larger capacities and lower costs of memory elements, and together with these factors, there has been a strong tendency for memory capacities to increase.
しかるに、従来のインタリーブの技術のまま大
容量化を進めていくと次に述べる様な問題点が生
じる。すなわち、メモリバンクの記憶容量を一定
にしておき、メモリバンク数を増して大容量化し
て行く方法では、各バンクに独立して用意すべき
インタフエース回路、制御回路等の金物も比例し
て増加するために経済的でない。これはメモリ素
子の大容量化、低コストを十分に生かしきつてい
ないためと考えられる。これに対し、メモリバン
ク数一定のままでメモリバンク内の記憶容量を増
す方法で大容量化していく場合では、1バンクの
容量が大きくなりすぎ、またインタリーブの効果
が少くなつてくることである。例えば16キロビツ
トのメモリ素子を使用した場合に典型的な大きさ
のメモリカードでは1枚当り128キロバイトにも
なり、4枚のカードでバンクを構成した場合で
512キロバイトにも達し、これが基本単位かつ増
設単位となる。これは通常の大規模なメモリシス
テムにおいてもかなり大きいものである。また、
こうなると、インタリーブの効果を十分発揮でき
なくなるという欠点が生じてくる。なぜならば、
通常のアクセスは処理装置の必要とする命令フエ
ツチとデータの読書が交互にくるので、命令とデ
ータを別のバンクに分けるのが多く使用されてい
るインタリーブの方法であるが、一つのバンクの
記憶容量が大きくなりすぎると、命令とデータの
割付けがうまくできなくなるからである(命令と
データが同一のバンク内に格納される確率が増え
る)。 However, if the capacity is increased using the conventional interleaving technology, the following problems will arise. In other words, if the storage capacity of a memory bank is kept constant and the capacity is increased by increasing the number of memory banks, the amount of hardware such as interface circuits and control circuits that must be prepared independently for each bank will also increase proportionally. It is not economical to do so. This is thought to be due to the fact that the increased capacity and lower cost of memory elements have not been fully utilized. On the other hand, if you increase the capacity by increasing the storage capacity within the memory bank while keeping the number of memory banks constant, the capacity of one bank will become too large and the effect of interleaving will decrease. be. For example, if a 16 kilobit memory element is used, a typical sized memory card will be 128 kilobytes per card, and if a bank is made up of four cards.
It reaches 512 kilobytes, and this is the basic unit and expansion unit. This is quite large even in typical large memory systems. Also,
In this case, a drawback arises in that the effect of interleaving cannot be fully demonstrated. because,
In normal access, the instruction fetch and data reading required by the processing unit occur alternately, so a commonly used interleaving method is to separate instructions and data into separate banks, but the storage in one bank is This is because if the capacity becomes too large, instructions and data cannot be allocated properly (the probability that instructions and data are stored in the same bank increases).
本発明は従来の技術に内在する上記欠点を除去
する為になされたものであり、従つて本発明の目
的は、高集積化されたメモリ素子を使用して従来
の高速化手法(インタリーブ)を採用し、かつ経
済的なメモリシステムを提供することにある。 The present invention has been made in order to eliminate the above-mentioned drawbacks inherent in the conventional technology, and therefore, an object of the present invention is to improve the conventional speed-up method (interleaving) by using highly integrated memory elements. The object of the present invention is to provide an economical memory system.
本発明の他の目的はバンク数を増すことなく大
容量化を行い得る新規なメモリシステムを提供す
ることにある。 Another object of the present invention is to provide a new memory system that can increase capacity without increasing the number of banks.
本発明の更に他の目的は、増設単位を最小限に
とどめ、かつインタリーブを可能にするメモリシ
ステムを提供することにある。 Still another object of the present invention is to provide a memory system that minimizes the number of expansion units and enables interleaving.
本発明の上記目的は、n(n≧3)個のメモリ
モジユールよりなるメモリモジユール群を含み、
処理装置と接続されて動作するメモリ装置におい
て、制御回路と、第1および第2のタイミング発
生回路と、該第1および第2のタイミング発生回
路の使用状態を表示する表示手段と、前回アクセ
スしたメモリモジユールの番号と今回アクセスし
たメモリモジユールの番号を比較する比較手段
と、前記制御回路と前記メモリモジユール群を接
続する信号のうちの少なくともアドレス信号、書
込信号、読出しデータ信号を共通に供給する共通
線と、第1のタイミング発生回路より発生される
タイミング信号を前記メモリモジユール群に対し
て共通に供給するタイミング信号線および第2の
タイミング発生回路より発生されるタイミング信
号を前記メモリモジユール群に対して共通に供給
するタイミング信号線を備え、前記処理装置から
の第1のアクセス要求があつた場合に前記第1お
よび第2のタイミング発生回路のいずれか一方を
使用してメモリ動作に必要なタイミングを発生さ
せて第1のアクセス要求を処理し、前記処理装置
から続いて第2のアクセス要求があり、前記表示
手段が前記第1および第2のタイミング発生回路
のいずれか一方が使用中であることを表示してい
る場合、前記比較手段において該第2のアクセス
要求が前記第1のアクセス要求と同一のメモリモ
ジユールに対する要求であることを検出したとき
には該第2のアクセス要求を無効にし、また異な
るメモリモジユールに対する要求のときには前記
第1および第2のタイミング発生回路のうち使用
していない方のタイミング発生回路を使用してメ
モリ動作に必要なタイミングを発生させて該第2
のアクセス要求を処理するようにしたことを特徴
とするメモリ装置の制御方式によつて達成され
る。 The above object of the present invention includes a memory module group consisting of n (n≧3) memory modules;
In a memory device that operates while being connected to a processing device, a control circuit, first and second timing generation circuits, display means for displaying usage states of the first and second timing generation circuits, and a display device that displays the usage status of the first and second timing generation circuits, a comparison means for comparing the number of the memory module and the number of the currently accessed memory module; and at least an address signal, a write signal, and a read data signal among the signals connecting the control circuit and the memory module group are common. a common line that supplies the timing signal generated by the first timing generation circuit to the memory module group; and a timing signal line that commonly supplies the timing signal generated by the first timing generation circuit to the memory module group; A timing signal line that is commonly supplied to a group of memory modules is provided, and when a first access request is received from the processing device, one of the first and second timing generation circuits is used. A first access request is processed by generating timing necessary for memory operation, a second access request is subsequently received from the processing device, and the display means is one of the first and second timing generation circuits. When one of the memory module is displayed as being in use, when the comparison means detects that the second access request is a request for the same memory module as the first access request, the second access request is displayed as being in use. The access request is invalidated, and when a request is made to a different memory module, the timing generation circuit that is not used among the first and second timing generation circuits is used to generate the timing necessary for memory operation. The second
This is achieved by a memory device control method characterized in that it processes access requests.
本発明は、メモリ素子の動作に必要な信号の長
さがそのメモリ素子の動作サイクルと比較して短
くてよいことに着目して、メモリモジユールと、
これを制御する制御回路の接続信号線の大半を腹
数のメモリモジユールで共有し、かつメモリモジ
ユール間を時間的にオーバラツプさせて動作させ
るものである。 The present invention provides a memory module and
Most of the connection signal lines of the control circuit that controls this are shared by the negative number of memory modules, and the memory modules are operated with temporal overlap.
次に本発明をその良好な一実施例につき図面を
参照しながら詳細に説明していく。 Next, a preferred embodiment of the present invention will be explained in detail with reference to the drawings.
第2図は本発明を用いて構成したメモリシステ
ムのブロツク図を示すものである。図に於て、参
照番号4は処理装置、6はメモリ装置、7は制御
回路、81〜84はメモリモジユールである。さ
て、本発明の眼目は多数のメモリモジユールを制
御回路7の内部に含まれた2個のタイミング発生
回路(これらをTC1,TC2と呼ぶことにする)
で制御せんとするものである。今処理装置4より
メモリ装置6対して連続する2個のメモリアクセ
ス要求a1,a2が発生したとする。このときメモリ
アクセス要求a1とa2の時間間隔はa1を処理するメ
モリサイクルタイムより短くなつており、また、
メモリアクセス要求a1,a2の要求するメモリモジ
ユールをMMi,MMj(1≦i、j≦4)とする
と、タイミング発生回路TC1,TC2の動作条件
は一例として第3図に示すようなものにしておけ
ばよい。 FIG. 2 shows a block diagram of a memory system constructed using the present invention. In the figure, reference number 4 is a processing device, 6 is a memory device, 7 is a control circuit, and 8 1 to 8 4 are memory modules. Now, the focus of the present invention is to connect a large number of memory modules to two timing generation circuits (these will be referred to as TC1 and TC2) included inside the control circuit 7.
It is intended to be controlled by Suppose now that two consecutive memory access requests a 1 and a 2 are generated from the processing device 4 to the memory device 6. At this time, the time interval between memory access requests a 1 and a 2 is shorter than the memory cycle time for processing a 1 , and
Assuming that the memory modules requested by memory access requests a 1 and a 2 are MMi and MMj (1≦i, j≦4), the operating conditions of the timing generation circuits TC1 and TC2 are as shown in FIG. 3 as an example. Just leave it as .
すなわち、あるアクセス要求a1が生じたとき、
タイミング発生回路TC1,TC2がともに空き状
態のときには、タイミング発生回路TC1を起動
する。このとき、モジユールセレクトは無関係で
ある。次にアクセス要求a1を処理中に別のアクセ
ス要求a2が生じたときに、もし、メモリモジユー
ルMMiとMMjが別のメモリモジユール(i≠
j)であればタイミング発生回路TC2が起動さ
れる。また、もしメモリモジユールMMiとMMj
が同一のメモリモジユール(i=j)のときに
は、新たにタイミングは起動されない。もちろ
ん、タイミング発生回路TC1,TC2が共に使用
中のときには、アクセス要求が生じてもタイミン
グは起動されない。 That is, when a certain access request a 1 occurs,
When both timing generation circuits TC1 and TC2 are idle, timing generation circuit TC1 is activated. At this time, module selection is irrelevant. Next, when another access request a2 occurs while processing access request a1 , if memory modules MMi and MMj are different memory modules (i≠
j), the timing generation circuit TC2 is activated. Also, if memory modules MMi and MMj
are the same memory module (i=j), no new timing is activated. Of course, when both timing generation circuits TC1 and TC2 are in use, timing is not activated even if an access request occurs.
第4図は第3図の条件を具体的に実現した制御
回路の一実施例を部分的に図示したものであり、
また第5図はメモリモジユール内のタイミング選
択回路の一実施例の部分を示したものである。第
6図は第4図〜第5図の動作タイミングチヤート
を示したものである。 FIG. 4 is a partial diagram of an embodiment of a control circuit that specifically realizes the conditions shown in FIG.
Further, FIG. 5 shows a portion of an embodiment of the timing selection circuit within the memory module. FIG. 6 shows an operation timing chart of FIGS. 4 and 5.
以下、第4図〜第6図を参照しながら説明す
る。第4図に於て、参照番号101〜102はタ
イミング発生回路であり、それぞれTC1,TC2
に相当する。111〜112はそれぞれタイミン
グ発生回路101,102(以下単にTC1,TC
2と記す)を駆動するアンドゲートである。12
1〜122はそれぞれTC1,TC2が使用中であ
るか否かを表示するフリツプフロツプであり、1
21はTC1の出力T01によつてセツトされ
TEND1によつてリセツトされ、122はTC2の
出力T02によつてセツトされ、TEND2によつ
てリセツトされる。13は4つのメモリモジユー
ルの1つを選択するために処理装置から受信され
るアドレス信号のうちの2ビツトの信号MSを保
持するレジスタであり、14は前回のアクセスの
モジユール番号と今回のアクセスのモジユール番
号を比較する比較回路であつて、その出力はアン
ドゲート15の1つの入力となつている。アンド
ゲート16はフリツプフロツプ121〜122の
を入力とし、その出力はインバータ17を介し
てアンドゲート15のもう一方の入力となつてい
る。これはフリツプフロツプ121〜122がと
もに“0”、すなわち、TC1,TC2がともに非
動作時のときにはモジユール番号の比較回路14
の出力を無効にするためのものである。オアゲー
ト181及びインバータ191はTC1の起動条
件を作成するものであり、フリツプフロツプ12
1のQ出力と、アンドゲート15の出力がオアゲ
ート181、インバータ191を介してアンドゲ
ート111の入力に接続される。オアゲート18
2及びインバータ192はTC2の起動条件を作
成するものであり、フリツプフロツプ122のQ
出力、アンドゲート16の出力及びアンドゲート
15の出力がオアゲート182、インバータ19
2を介してアンドゲート112の入力に接続され
る。 This will be explained below with reference to FIGS. 4 to 6. In FIG. 4, reference numbers 101 to 102 are timing generation circuits, TC1 and TC2, respectively.
corresponds to 11 1 to 11 2 are timing generation circuits 10 1 and 10 2 (hereinafter simply referred to as TC1 and TC), respectively.
2). 12
1 to 12 2 are flip-flops that display whether TC1 and TC2 are in use, respectively;
2 1 is set by the output T0 1 of TC1
122 is set by the output T02 of TC2 and reset by TEND 2 . 13 is a register that holds a 2-bit signal MS of the address signal received from the processing unit to select one of the four memory modules, and 14 is a register that holds the module number of the previous access and the current access. This is a comparator circuit for comparing the module numbers of , and its output is one input of AND gate 15 . The AND gate 16 receives the flip-flops 12 1 and 12 2 as inputs, and its output becomes the other input of the AND gate 15 via an inverter 17 . This means that when the flip-flops 121 to 122 are both "0", that is, when both TC1 and TC2 are inactive, the module number comparison circuit 14
This is to disable the output of . The OR gate 181 and the inverter 191 create the starting conditions for the TC1, and the flip-flop 12
1 and the output of AND gate 15 are connected to the input of AND gate 11 1 via OR gate 18 1 and inverter 19 1 . or gate 18
2 and inverter 192 create the starting conditions for TC2, and the Q of flip-flop 122
The output, the output of the AND gate 16 and the output of the AND gate 15 are the OR gate 18 2 , the inverter 19
2 to the input of AND gate 112 .
さて、いまメモリが停止状態にあるとすると、
フリツプフロツプ121〜122はともにリセツ
トされているから、アンドゲート16の出力は
“1”、インバータ17の出力は“0”、アンドゲ
ート15の出力は“0”となつている。従つてオ
アゲート181の出力は“0”、インバータ19
1の出力は“1”となつており、TC1は動作可
能状態にある。また、アンドゲート16の出力が
“1”になつていることからオアゲート182の
出力は“1”、インバータ192の出力は“0”、
従つてTC2は動作禁止状態となつている。い
ま、この状態において、処理装置4からのアクセ
ス要求信号RQが発生するとTC1が起動される。
TC1が起動されるとT01〜TEND1までのタイ
ミング信号が順次発生される。タイミング信号T
01はフリツプフロツプ121をセツトし、12
1がセツトされるとオアゲート181の出力を
“1”、インバータ191の出力を“0”とし、次
のRQ信号のTC1への入力を禁止する。この禁止
状態はタイミング信号TEND1によりフリツプフ
ロツプ121がリセツトされるまで続く。T11
は処理装置に対してアクセス要求を受付けたこと
を知らせるタイミング信号であり、オアゲート2
0を通して受付信号ACPとして処理装置4へ送
出される。処理装置ではこの信号を確認してから
次の動作を開始することになる。 Now, assuming that the memory is currently in a stopped state,
Since flip-flops 121 and 122 have both been reset, the output of AND gate 16 is "1", the output of inverter 17 is "0", and the output of AND gate 15 is "0". Therefore, the output of OR gate 181 is "0", and the output of inverter 19
The output of TC1 is " 1 ", and TC1 is ready for operation. Also, since the output of the AND gate 16 is "1", the output of the OR gate 182 is "1", the output of the inverter 192 is "0",
Therefore, TC2 is in an operation prohibited state. Now, in this state, when the access request signal RQ from the processing device 4 is generated, the TC1 is activated.
When TC1 is activated, timing signals T0 1 to TEND 1 are sequentially generated. timing signal T
0 1 sets flip-flop 12 1 , 12
When set to 1 , the output of the OR gate 181 is set to "1", the output of the inverter 191 is set to "0", and the input of the next RQ signal to TC1 is prohibited. This inhibited state continues until the flip-flop 121 is reset by the timing signal TEND1 . T1 1
is a timing signal that informs the processing device that an access request has been accepted, and OR gate 2
0 to the processing device 4 as an acceptance signal ACP. The processing device will start the next operation after confirming this signal.
アクセス要求を受付けたときのアドレスのうち
上位2ビツト信号MSはメモリモジユール番号を
指定するものであり、タイミングT21によりレ
ジスタ13にセツトされ、また、デコーダ21に
よつてデコードされ、4個のメモリモジユールの
うちの1個を選択する。 The upper 2-bit signal MS of the address when the access request is accepted specifies the memory module number, and is set in the register 13 at timing T21 , and is decoded by the decoder 21, and the four Select one of the memory modules.
次に、選択されたメモリモジユール内の動作に
ついて第5図を参照しながら説明する。第5図に
於て、フリツプフロツプ301〜302は選択さ
れたモジユールに対してそれぞれアンドゲート3
11〜312を通してタイミングT31〜T32
でセツトされ、またタイミング信号TEND1〜
TEND2でリセツトされる。セレクタ32はフリ
ツプフロツプ301〜302の状態によりTC1
〜TC2の発生するタイミングを選択的に取り込
んでメモリ動作に供するものであり、フリツプフ
ロツプ301がセツトされているときにはTC1
の発生するタイミングを、フリツプフロツプ30
2がセツトされているときにはTC2の発生する
タイミングを取り込むものである。いま、TC1
が動作し、指定されたメモリモジユールMMiに
おいてはフリツプフロツプ301がセツトされ、
TC1により発生させられるタイミングでメモリ
動作を実行することになる。メモリモジユール
MMiにおいては、各メモリモジユールに共通な
アドレス、書込データ線から必要な信号を取り込
んでメモリ動作を行い、さらに読出しのときには
読出しデータを読出データ線に出力する。勿論読
出データ線には選択されたメモリモジユールだけ
が適当な時間だけ出力をするように考慮されなけ
ればならない。メモリモジユールMMiの動作終
了するまでの時間すなわちメモリサイクル内に次
のアクセス要求が生じないときには、TC1が時
刻TEND1で停止するとメモリ装置そのものも再
び停止状態となる。 Next, the operation within the selected memory module will be explained with reference to FIG. In FIG. 5, flip-flops 30 1 - 30 2 are connected to AND gates 3 for the selected module, respectively.
Timing T3 1 to T3 2 through 1 1 to 31 2
and also the timing signal TEND 1 ~
Reset at TEND 2 . The selector 32 selects TC1 depending on the states of the flip-flops 301 to 302 .
~TC2 generation timing is selectively captured and used for memory operation, and when flip-flop 301 is set, TC1 is generated.
The timing of occurrence of the flip-flop 30
When TC2 is set, the timing at which TC2 occurs is taken in. Now, TC1
operates, flip-flop 301 is set in the specified memory module MMi, and
Memory operations are executed at the timing generated by TC1. memory module
In the MMi, memory operations are performed by taking in necessary signals from the address and write data lines common to each memory module, and when reading data, the read data is output to the read data lines. Of course, care must be taken to ensure that only selected memory modules output to the read data line for an appropriate period of time. When the next access request does not occur within the time until the operation of the memory module MMi is completed, that is, within the memory cycle, when TC1 stops at time TEND 1 , the memory device itself also becomes stopped again.
次に、第2段階として、第1のアクセスの処理
中の第2のアクセスが生じた場合を考える。まず
第1のアクセスをTC1で処理中と仮定する(第
1のアクセスをTC2で処理している場合でも以
下の説明はTC1とTC2を交換し、各回路に付与
した参照番号のサフイツクスを交換するだけで全
く同様に扱える)。前述した説明の如く、アンド
ゲート111の入力は禁止されているから、第2
のアクセスでTC1が再び起動されることはな
い。一方、アンドゲート16の出力は“0”とな
つている。ここで注目すべきことはアンドゲート
16の出力が“0”、従つてインバータ17の出
力が“1”となつているために、メモリモジユー
ルの指定する番号を比較する比較回路14の出力
により動作条件が決まることである。第1及び第
2のアクセスのメモリモジユールが異なつている
ときには、比較回路14の出力は“0”であるた
めに、オアゲート182の出力は“0”、インバ
ータ192の出力は“1”でありTC2は動作可
能である(第1のケース)。また、第1及び第2
のアクセスのメモリモジユールが等しいときに
は、比較回路14の出力は“1”、オアゲート1
82の出力は“1”、インバータ192の出力は
“0”であり、従つて、TC2は動作不可能である
(第2のケース)。 Next, as a second step, consider a case where a second access occurs while the first access is being processed. First, assume that the first access is being processed by TC1 (even if the first access is being processed by TC2, the following explanation will be based on exchanging TC1 and TC2 and exchanging the suffixes of the reference numbers assigned to each circuit). (can be treated in exactly the same way). As explained above, input to the AND gate 111 is prohibited, so the second
TC1 will not be restarted by this access. On the other hand, the output of the AND gate 16 is "0". What should be noted here is that since the output of the AND gate 16 is "0" and therefore the output of the inverter 17 is "1", the output of the comparison circuit 14 that compares the numbers specified by the memory modules The operating conditions are determined. When the memory modules for the first and second accesses are different, the output of the comparison circuit 14 is "0", so the output of the OR gate 182 is "0", and the output of the inverter 192 is "1". Therefore, TC2 is operable (first case). Also, the first and second
When the memory modules of the accesses are equal, the output of the comparison circuit 14 is "1", and the OR gate 1
The output of the inverter 82 is "1" and the output of the inverter 192 is "0", so the TC2 is inoperable (second case).
第1のケースでは第2のアクセスでTC2が起
動される。このときにはTC1の場合と同様にフ
リツプフロツプ122がセツトされ、オアゲート
182、インバータ192を通してアンドゲート
112を閉じ、次の要求を禁止する。第2のアク
セス要求で指定されたメモリモジユールMMjの
動作については前述したメモリモジユールが1個
の場合と同様の動作になる。即ち、第1のアクセ
スによるメモリ処理と第2のアクセスによるメモ
リ処理とが部分的にオーバラツプして同時に進ん
でいることが理解されるであろう。 In the first case, TC2 is activated on the second access. At this time, flip-flop 122 is set as in the case of TC1, and AND gate 112 is closed through OR gate 182 and inverter 192 , thereby prohibiting the next request. The operation of the memory module MMj specified by the second access request is the same as in the case where there is one memory module as described above. That is, it will be understood that the memory processing by the first access and the memory processing by the second access partially overlap and proceed simultaneously.
ただし、ここで次の点に注意しておくことが必
要である。1つはタイミング信号を除く大部分の
信号は各メモリモジユールで共通に使用している
のであるが、オーバラツプを行うことにより各メ
モリモジユールに割当てられる時間は各メモリモ
ジユールが個有に有するメモリサイクルより短く
なることである。従つてメモリ動作上割当てた時
間より長く必要とする信号は各メモリモジユール
内にレジスタに設ける必要がある点である。しか
しながら、最近のICメモリでは必要とするタイ
ミングの長さはメモリサイクルに比してかなり短
くなつているために、実際上このような考慮を払
う必要はあまりない。もう1つは必要な時間長は
短かくてよいが、第2のアクセス処理開始後もあ
る時間は第1のアクセス処理に関係する場合であ
る。このようなものについては制御部内に適当に
レジスタを設けて時間を遅延させて対処すればよ
い。例えばデータの書込みがメモリサイクルの後
半にかかるような場合では書込データレジスタを
設け、このレジタスのセツト時間を第2のアクセ
スが発生する以前の適当な時刻に設定しておけば
よいであろう。 However, it is necessary to pay attention to the following points. One is that most signals except timing signals are used in common by each memory module, but by overlapping, each memory module has its own unique time allocated to each memory module. It is shorter than the memory cycle. Therefore, signals that require a longer period of time than the allotted time for memory operation must be provided in registers within each memory module. However, in recent IC memories, the length of required timing has become considerably shorter than the memory cycle, so in practice there is no need to pay such consideration. The other case is that the required time length may be short, but a certain amount of time after the start of the second access process is related to the first access process. This can be dealt with by providing an appropriate register in the control section and delaying the time. For example, if data writing takes place in the latter half of the memory cycle, a write data register may be provided and the set time of this register may be set to an appropriate time before the second access occurs.
次に第2のケースについては、TC2は動作不
可能であるから、処理装置に対して受付け信号
ACPが返送されない。従つて処理装置はこのア
クセス要求を留保し、次のクロツクで再び出し直
す(或はRQ信号及び他の信号を受付けられるま
で保持することもできる)。このようにすれば、
第2のアクセス要求は第1のメモリサイクル終了
後に受付けられる。 Next, regarding the second case, since TC2 is inoperable, the acceptance signal is sent to the processing device.
ACP is not returned. Therefore, the processing unit suspends this access request and issues it again on the next clock (or it can hold the RQ signal and other signals until it is accepted). If you do this,
The second access request is accepted after the first memory cycle ends.
以上説明したものを更に容易に理解できるよう
にタイムチヤートを第6図に示す。第6図に示し
た例に於てはメモリサイクルをTc、処理装置の
クロツクをTc/2とし、各クロツク毎にアクセ
ス要求が生じる可能性があるとしている。この条
件のもとでTC1,TC2及びメモリの動作状態と
主要な制御タイミングが示される。 A time chart is shown in FIG. 6 so that what has been explained above can be more easily understood. In the example shown in FIG. 6, the memory cycle is Tc, the processing unit clock is Tc/2, and it is assumed that an access request may occur for each clock. Under these conditions, the operating states and main control timings of TC1, TC2 and memory are shown.
勿論本発明は第6図の例に限定されるわけでは
なく、オーバラツプ時間がTc/2より短い場合
にも適用できる。 Of course, the present invention is not limited to the example shown in FIG. 6, and can also be applied when the overlap time is shorter than Tc/2.
本発明ではメモリモジユール内に若干のタイミ
ング制御用の金物が必要になるが、最近のICメ
モリ素子ではタイミングの数も少なくなつてお
り、この回路は2〜3ICで実現でき経済的なデ
メリツトはほとんどない。 Although the present invention requires some hardware for timing control inside the memory module, the number of timing controls in recent IC memory devices has decreased, and this circuit can be realized with 2 to 3 ICs, with no economic disadvantage. rare.
以上説明した如く、本発明によれば、複数個の
メモリモジユールに対してただ2個のタイミング
発生回路をおくことにより効果的にメモリをオー
バラツプ動作させることが可能になり、経済的な
メモリシステムを構成できる。 As explained above, according to the present invention, by providing only two timing generation circuits for a plurality of memory modules, it becomes possible to effectively operate memories in an overlapping manner, thereby creating an economical memory system. can be configured.
以上本発明はその良好な一実施例について説明
されたが、それは単なる例示的なものであつて、
ここで説明された実施例によつてのみ本願発明は
限定されるものではなく、種々の変更を加えて実
施し得ることは勿論である。 Although the present invention has been described above with respect to one preferred embodiment thereof, this is merely an example, and
It goes without saying that the present invention is not limited to the embodiments described here, and can be implemented with various modifications.
第1図はインタリーブを行う従来のメモリシス
テムを示す図、第2図は本発明の一実施例をブロ
ツク図で示した構成図、第3図はタイミング発生
回路の制御方法を説明する図、第4図は制御部の
回路の一実施例を部分的に示した図、第5図はメ
モリモジユール内のタイミング制御回路の一実施
例を示した図、第6図は動作タイムチヤートを示
す図である。
0〜3……メモリバンク、4……処理装置、5
……メモリバス、a……メモリバンクiのメモリ
サイクル、b……メモリバンクjのメモリサイク
ル、6……メモリ装置、7……制御部、81〜8
4……メモリモジユール、101,102,TC
1,TC2……タイミング発生回路、111,1
12,15,16,311,312……アンドゲ
ート、121,122,301,302……フリ
ツプフロツプ、13……レジスタ、14……比較
回路、17,191,192……インバータ、1
81,182,20,22……オアゲート、32
……セレクタ。
FIG. 1 is a diagram showing a conventional memory system that performs interleaving, FIG. 2 is a block diagram showing an embodiment of the present invention, FIG. 3 is a diagram explaining a method of controlling a timing generation circuit, and FIG. FIG. 4 is a diagram partially showing one embodiment of the control section circuit, FIG. 5 is a diagram showing one embodiment of the timing control circuit in the memory module, and FIG. 6 is a diagram showing an operation time chart. It is. 0 to 3...Memory bank, 4...Processing device, 5
...Memory bus, a...Memory cycle of memory bank i, b...Memory cycle of memory bank j, 6...Memory device, 7...Control unit, 8 1 to 8
4 ...Memory module, 10 1 , 10 2 , TC
1, TC2...timing generation circuit, 11 1 , 1
1 2 , 15, 16, 31 1 , 31 2 ... AND gate, 12 1 , 12 2 , 30 1 , 30 2 ... flip-flop, 13 ... register , 14 ... comparison circuit, 17, 19 1 , 19 2 ...Inverter, 1
8 1 , 18 2 , 20, 22 ... or gate, 32
……selector.
Claims (1)
メモリモジユール群を含み、処理装置と接続され
て動作するメモリ装置において、 制御回路と、第1および第2のタイミング発生
回路と、該第1および第2のタイミング発生回路
の使用状態を表示する表示手段と、前回アクセス
したメモリモジユールの番号と今回アクセスした
メモリモジユールの番号を比較する比較手段と、
前記制御回路と前記メモリモジユール群を接続す
る信号のうちの少なくともアドレス信号、書込信
号、読出しデータ信号を共通に供給する共通線
と、第1のタイミング発生回路より発生されるタ
イミング信号を前記メモリモジユール群に対して
共通に供給するタイミング信号線および第2のタ
イミング発生回路より発生されるタイミング信号
を前記メモリモジユール群に対して共通に供給す
るタイミング信号線を備え、 前記処理装置からの第1のアクセス要求があつ
た場合に前記第1および第2のタイミング発生回
路のいずれか一方を使用してメモリ動作に必要な
タイミングを発生させて第1のアクセス要求を処
理し、 前記処理装置から続いて第2のアクセス要求が
あり、前記表示手段が前記第1および第2のタイ
ミング発生回路のいずれか一方が使用中であるこ
とを表示している場合、前記比較手段において該
第2のアクセス要求が前記第1のアクセス要求と
同一のメモリモジユールに対する要求であること
を検出したときには該第2のアクセス要求を無効
にし、また異なるメモリモジユールに対する要求
のときには前記第1および第2のタイミング発生
回路のうち使用していない方のタイミング発生回
路を使用してメモリ動作に必要なタイミングを発
生させて該第2のアクセス要求を処理するように
したことを特徴とするメモリ装置の制御方式。[Scope of Claims] 1. A memory device that includes a memory module group consisting of n (n≧3) memory modules and operates while being connected to a processing device, comprising: a control circuit, first and second timings; a generating circuit, a display means for displaying the usage status of the first and second timing generating circuits, and a comparison means for comparing the number of the memory module accessed last time and the number of the memory module accessed this time;
A common line that commonly supplies at least an address signal, a write signal, and a read data signal among the signals connecting the control circuit and the memory module group, and a timing signal generated by the first timing generation circuit. a timing signal line that commonly supplies the memory module group and a timing signal line that commonly supplies the timing signal generated by the second timing generation circuit to the memory module group; When a first access request is received, one of the first and second timing generation circuits is used to generate timing necessary for memory operation to process the first access request; If there is a second access request from the device and the display means indicates that one of the first and second timing generation circuits is in use, the comparison means When it is detected that the access request is for the same memory module as the first access request, the second access request is invalidated, and when the access request is for a different memory module, the first and second access request is invalidated. Control of a memory device characterized in that the timing generating circuit that is not in use among the timing generating circuits is used to generate the timing necessary for memory operation to process the second access request. method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4139678A JPS54133847A (en) | 1978-04-08 | 1978-04-08 | Control system of memory unit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4139678A JPS54133847A (en) | 1978-04-08 | 1978-04-08 | Control system of memory unit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS54133847A JPS54133847A (en) | 1979-10-17 |
| JPS6143741B2 true JPS6143741B2 (en) | 1986-09-29 |
Family
ID=12607209
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4139678A Granted JPS54133847A (en) | 1978-04-08 | 1978-04-08 | Control system of memory unit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS54133847A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS59134975U (en) * | 1983-02-28 | 1984-09-08 | 日本電気ホームエレクトロニクス株式会社 | Display control circuit for television teletext receiver |
| JPS60217443A (en) * | 1984-04-12 | 1985-10-31 | Nec Corp | Storage control system |
-
1978
- 1978-04-08 JP JP4139678A patent/JPS54133847A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS54133847A (en) | 1979-10-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4737932A (en) | Processor | |
| US4172282A (en) | Processor controlled memory refresh | |
| US3736569A (en) | System for controlling power consumption in a computer | |
| US3931613A (en) | Data processing system | |
| JP2002041445A (en) | High performance DMA controller | |
| US4835684A (en) | Microcomputer capable of transferring data from one location to another within a memory without an intermediary data bus | |
| US4048623A (en) | Data processing system | |
| EP0055623B1 (en) | Direct memory-access mode for a high-speed memory system | |
| US5615348A (en) | Microprocessor having register bank architecture | |
| US4089052A (en) | Data processing system | |
| EP0287600B1 (en) | Method and device to execute two instruction sequences in an order determined in advance | |
| JPS6143741B2 (en) | ||
| IE61306B1 (en) | Method and device to execute two instruction sequences in an order determined in advance | |
| US20070055839A1 (en) | Processing operation information transfer control systems and methods | |
| US6370651B1 (en) | Synchronizing user commands to a microcontroller in a memory device | |
| US6493775B2 (en) | Control for timed access of devices to a system bus | |
| US6980314B1 (en) | Method and device for improving utilization of a bus | |
| JPH11259356A (en) | Memory initialization device | |
| JPS5925320B2 (en) | Shared storage controller | |
| RU1777147C (en) | Multiprogramming computer | |
| JP2912090B2 (en) | Time slot interchange circuit | |
| JP3180877B2 (en) | Memory interface circuit | |
| JPS6231382B2 (en) | ||
| JPH04372030A (en) | Memory access system for processor | |
| JP2570271B2 (en) | Semiconductor memory controller |