JPS6215643A - Memory control circuit - Google Patents

Memory control circuit

Info

Publication number
JPS6215643A
JPS6215643A JP60154047A JP15404785A JPS6215643A JP S6215643 A JPS6215643 A JP S6215643A JP 60154047 A JP60154047 A JP 60154047A JP 15404785 A JP15404785 A JP 15404785A JP S6215643 A JPS6215643 A JP S6215643A
Authority
JP
Japan
Prior art keywords
signal
mpu
circuit
dtack
memory
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
JP60154047A
Other languages
Japanese (ja)
Inventor
Norio Tanaka
紀夫 田中
Susumu Onodera
進 小野寺
Takashi Tsunehiro
隆司 常広
Atsushi Masuko
淳 益子
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.)
Hitachi Image Information Systems Inc
Hitachi Ltd
Original Assignee
Hitachi Ltd
Hitachi Video Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd, Hitachi Video Engineering Co Ltd filed Critical Hitachi Ltd
Priority to JP60154047A priority Critical patent/JPS6215643A/en
Publication of JPS6215643A publication Critical patent/JPS6215643A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To always keep the writing cycle of an arithmetic processor MPU minimum by providing a control signal producing circuit for data bus period of the MPU which masks the MPU for a certain period when the MPU executes a TAS instruction. CONSTITUTION:A control signal generating circuit 21 contains a NAND circuit 10 and an FF circuit 11 and produces the inverse of DTACK signal through an inverter 5. The input signal RASC of the circuit 11 is set an active H at a time point t2. While the output signal, the inverse of CLK, is kept inactive H at and after the point t2. Therefore the output of the circuit 11 changes between time points t2 and t3, i.e., at the rise of S4 of the CLK signal. Then the inverse of DTACK signal is set at an active L. When an MPU2 detects the inverse of DTACK signal, no WAIT period SW is inserted at a time point t4 with the state of S6 kept since the inverse of DTACK is active. The writing cycle is through at the next time point t5.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明はバーンナルコンピュータ、ワークステージ田ン
等のメモリ制御回路に係り、特にMPUのバスサイクル
の制御に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a memory control circuit for a burner computer, a work stage, etc., and particularly to control of the bus cycle of an MPU.

〔発明の背景〕[Background of the invention]

演算処理装置(MPU)とメモリとメモリ制御回路等よ
り成る計算機システムにおいて、MPUがメモリとデー
タのやりとりを行う場合、MPUのバスサイクルを制御
する回路として従来次に示すような方法が考えられてい
た。
In a computer system consisting of a processing unit (MPU), memory, memory control circuit, etc., when the MPU exchanges data with the memory, the following methods have been conventionally considered as circuits to control the MPU bus cycle. Ta.

第2図はその一例を示したものである。図において、メ
モリタイミング発生回路1は、演算処理装置(MP06
8000、以下MPUと略称する)2がメモリ3とデー
タをやりとりするために必要な信号と生成する。信号D
TACKはMPU2がメモリ3ヘデータを書き込み(ラ
イト)、読み出しくリード)等を行う場合にMPU2の
バスサイクル期間を制御する信号である。MPU2の出
力するA8信号(アドレスバス51のアドレス信号が確
定したことを示す信号)とアドレスバス53の信号をデ
コーダ4を通すことにより、RA8C信号はMPU2が
メそり3をアクセスする時にアクティブとなる。
FIG. 2 shows an example of this. In the figure, the memory timing generation circuit 1 includes an arithmetic processing unit (MP06).
8000 (hereinafter abbreviated as MPU) 2 generates signals necessary for exchanging data with memory 3. Signal D
TACK is a signal that controls the bus cycle period of the MPU 2 when the MPU 2 writes (writes) data to the memory 3, reads data, etc. The RA8C signal becomes active when the MPU 2 accesses the memory 3 by passing the A8 signal output from the MPU 2 (a signal indicating that the address signal on the address bus 51 has been finalized) and the signal on the address bus 53 through the decoder 4. .

インバータ5はオープンコレクタ型で、メモリタイミン
グ発生回路1から出力されるRASC信号を入力にして
DTACK信号を出力する。そり、−C1D’1ACK
信号はMPUバス、コントロールバスを通ってMPU2
へ接続される。
The inverter 5 is of an open collector type, receives the RASC signal output from the memory timing generation circuit 1, and outputs a DTACK signal. Sled, -C1D'1ACK
The signal passes through the MPU bus and control bus to MPU2.
connected to.

MPU68000系には、メモリとデータをやりとりす
る場合、ライトサイクル、リードサイクルの他にリード
モディファイライトサイクルがある。リードモディファ
イライトサイクルは、MPU2がTAS命令を実行した
時に行われる。
In addition to write cycles and read cycles, the MPU68000 series has a read-modify-write cycle when exchanging data with memory. A read-modify-write cycle is performed when the MPU 2 executes a TAS instruction.

このTAS命令はマルチプロセッサシステムで共通メモ
リを参照する際に有効な命令である。
This TAS instruction is an effective instruction when referring to common memory in a multiprocessor system.

第5図にはWI2図の回路でTAS命令を実行した時の
タイミングチャートを示す。時間経過を示すため時刻番
号tI +  ”@・・・・・・・・・と記した。
FIG. 5 shows a timing chart when the TAS instruction is executed by the circuit shown in FIG. WI2. In order to indicate the passage of time, the time number tI + "@..." is written.

以下に第5図のタイミングチャートを使用してMPU2
のバスサイクル期間の制御方法と、第2図の回路でTA
S命令を実行する時に不都合が生じることを述べる。
Below, using the timing chart in Figure 5,
The method of controlling the bus cycle period of TA and the circuit shown in Figure 2.
We will discuss some inconveniences that occur when executing the S command.

第3図のCLK信号はMPU2を駆動する信号、DS信
号はMPU2の出力信号でデータバス52上に有効なデ
ータが確定した時アクティブとなる信号(データ確定信
号)で、その他の信号は第2図中の信号と等しい。CL
K信号の上側にMPU2の状態を説明しやすいように1
クロ、りごとにSo、 S2・・・・・・・・・と記し
た(第3図以降のタイミングチャートにも同様に時刻番
号とCLK信号の上側にSo、S、・・・・・・・・・
を記した)。MPU2はCLK信号の84の立ち下りで
DTACK信号を検出する。
The CLK signal in FIG. 3 is a signal that drives the MPU 2, the DS signal is an output signal of the MPU 2, and is a signal that becomes active when valid data is determined on the data bus 52 (data confirmation signal). Equal to the signal in the figure. C.L.
1 above the K signal to make it easier to explain the status of MPU2.
(Similarly, in the timing charts from Figure 3 onwards, So, S, etc. are written above the time number and CLK signal. ...
). The MPU 2 detects the DTACK signal at the falling edge of 84 of the CLK signal.

すなわち、S4の立ち下り時にDT入CK信号がインア
クティブ(’H’ )状態であれば時刻番号【3の次の
t4においてMPU2は86の状態とならス3wという
状態が挿入され、逆に第6図のようにDT A CK信
号がアクティブ(’L’)状態であれば時刻番号t4に
おいてMPU2はS、の状態となる。
That is, if the DT input CK signal is inactive ('H') at the falling edge of S4, then the MPU2 is in the 86 state at t4 following time number [3], the state S3w is inserted; As shown in FIG. 6, if the DT ACK signal is in the active ('L') state, the MPU 2 enters the S state at time number t4.

上述の8wの状態はM P U 2のWAITの状態で
、メモリ、I10装置のようにMPUとデータをやりと
りする対象がMPUの基本バスサイル期間では正しくデ
ータをやりとり出来ない場合にMPUのバスサイクル期
間を延ばすために挿入される。
The above-mentioned 8w state is the WAIT state of MPU 2, and is used during the MPU bus cycle period when the target that exchanges data with the MPU, such as memory or I10 device, cannot correctly exchange data during the MPU's basic bus cycle period. inserted to extend the

第2図の回路ではTASi令を実行した時に次のような
不都合が生じる。DrACK信号のアクティブ(’L”
)からインアクティブ(、H,)に変化するタイミング
は、MPIJ2の規格によれば丁1信号かインアクティ
ブ(’H’)に変化後から数百ns以内と決まっている
。しかし、第2図の回路ではDTACK信号はRA8C
信号から生成され、RAS C信号は/’y8信号で決
定される、すなわちAs信号がアクティブ(インアクテ
ィブ)に変化するとRASC信号もアクティブ(インア
クティブ)に変化する。したがって、DTACK信号も
As信号で決定される。このためMPU2の上述した規
格を満足出来ない。’I” A 8命令時のMPU2の
リードモディファイライトサイクルでは、As信号がア
クティブ(’L’ )状態の間、Ds倍信号2回アクテ
ィブとなる。これは、1回めはリードのため2回めはラ
イトのためである6(第3図では、D8信号の1回めの
アクティブタイミングのみ記した。) 次に、第2図の回路で生じた欠点のない回路の一例を第
4図に示す。
In the circuit shown in FIG. 2, the following problem occurs when the TASi instruction is executed. DrACK signal active ('L')
According to the MPIJ2 standard, the timing at which the signal changes from ) to inactive ('H') is determined to be within several hundred ns after the signal changes to inactive ('H'). However, in the circuit shown in Figure 2, the DTACK signal is RA8C
The RASC signal is determined by the /'y8 signal, that is, when the As signal changes to active (inactive), the RASC signal also changes to active (inactive). Therefore, the DTACK signal is also determined by the As signal. Therefore, the above-mentioned standards of MPU2 cannot be satisfied. In the read-modify-write cycle of the MPU2 during the 'I' A 8 instruction, the Ds signal becomes active twice while the As signal is active ('L'). 6 (In Figure 3, only the first active timing of the D8 signal is shown.) Next, Figure 4 shows an example of a circuit that does not have the defects caused by the circuit in Figure 2. show.

第4図の回路ではRASC信号は第2図中のRASC信
号と極性が異なるだけで機能的に等しい。
In the circuit of FIG. 4, the RASC signal is functionally the same as the RASC signal of FIG. 2, except for the polarity.

またDTACK信号の生成回路を除き第4図と第2図の
回路は等しい。本回路ではたとえ遅延回路7を取り除い
たとしても、MPU2のライトサイクルとリードモディ
ファイライトサイクルにWAIT状態Swが押入される
ことがあり、常に高速で処理したい時に不向きであると
いう問題がある。以下にその説明を述べる。
The circuits in FIG. 4 and FIG. 2 are the same except for the DTACK signal generation circuit. In this circuit, even if the delay circuit 7 is removed, the WAIT state Sw may be forced into the write cycle and read-modify-write cycle of the MPU 2, and there is a problem that it is unsuitable when high-speed processing is desired at all times. The explanation is given below.

本回路の場合、DTACK信号はMPU2がメモリ3に
データを書き込む時、DS信号がアクティブ(’L”)
に変化してから遅延回路7を通ってアクティブ(、’L
’ )となる。このライトサイクルのタイミングチャー
トを第5図に示す。第5図では時刻番号t、のCLK(
fi号s4の立ち下りでDTACK信号がインアクティ
ブ(’H’ )状態なので、次の時刻番号ζにはWA 
I T 3wが挿入されている。
In the case of this circuit, when the MPU 2 writes data to the memory 3, the DTACK signal is activated ('L') when the DS signal is
After changing to , it passes through the delay circuit 7 and becomes active (,'L
). A timing chart of this write cycle is shown in FIG. In FIG. 5, CLK (
Since the DTACK signal is inactive ('H') at the falling edge of fi number s4, the WA
IT 3w is inserted.

8wの立折りではDTACK信号がアクティブ(・L・
)なので時刻番号t、ではLCK信号は亀となり、これ
はライトサイクルの最後の状態である。MPU2を高速
処理させるため、高速なMPU2を選択し、駆動するC
LK信号をMPU2の最高周波数にすると、MPU2の
規格によればMPU2のライト時にDS信号のアクティ
ブ(jし)に変化するのはMAX値で時刻番号t3の8
4の立ち下り後のため、DS信号のアクティブタイミン
グからDTACK信号をアクティブにするとWAIT期
間Swが挿入される。WAIT期間8wを挿入させない
ためにはS4の立ち下りの数+ns前にDTACK信号
をアクティブにする必要がある(この値はMPU2のD
TACK信号検出のセ、ドアツブタイムで規定される)
DTACK signal is active (・L・
) Therefore, at time number t, the LCK signal becomes a turtle, which is the last state of the write cycle. In order to make MPU2 perform high-speed processing, select high-speed MPU2 and drive C
When the LK signal is set to the highest frequency of MPU2, according to the MPU2 standard, the DS signal changes to active (j) when MPU2 writes at the MAX value, which is 8 at time number t3.
4, the WAIT period Sw is inserted when the DTACK signal is activated from the active timing of the DS signal. In order not to insert the WAIT period 8w, it is necessary to activate the DTACK signal before the number of falling edges of S4 + ns (this value is determined by the D of MPU2).
(Defined by TACK signal detection and door knock time)
.

WAIT期間8wの挿入はMPU2のライトサイクル期
間が長くなりそれだけ処理時間がかかる。また、メ七り
3としてアクセスタイムの高速なものが利用できるよう
になるとMPU2のバスサイクル(ライトサイク/I/
、リードサイクル、リードモディファイライトサイクル
)にWλITを挿入する必要がなくなる。
Insertion of the WAIT period 8w lengthens the write cycle period of the MPU 2 and takes processing time accordingly. In addition, when a high-speed access time becomes available as Meshiri 3, the MPU2 bus cycle (light cycle/I/
, read cycle, read-modify-write cycle).

WI6図に第4図の回路のリードサイクルのタイミング
チャートを示しておく。第5図のライトサイクルと異な
り、D8信号のアクティブ(’L’)に変化するタイミ
ングはAs信号と同様でライトサイクルより早くなって
いる。DTACK信号のアクティブ(’L”)に変化す
るタイミングは、入S信号からRA8C信号がアクティ
ブ(いずれもL’ )になり遅延回路6を通過後である
。本回路ではWAIT期間Swが1つ挿入されるように
遅延回路6が設けられているが、遅延回路6の内部構成
によりWAIT期間を挿入させないことも可能である。
FIG. WI6 shows a timing chart of the read cycle of the circuit of FIG. 4. Unlike the write cycle in FIG. 5, the timing at which the D8 signal changes to active ('L') is similar to that of the As signal and is earlier than the write cycle. The timing at which the DTACK signal changes to active ('L') is after the RA8C signal becomes active (both L') from the input S signal and passes through the delay circuit 6.In this circuit, one WAIT period Sw is inserted. However, depending on the internal configuration of the delay circuit 6, it is also possible not to insert the WAIT period.

次に、第4図の回路でTAS命令がどのように実行され
るかを述べる。第7図に第4図の回路のリードモディフ
ァイライトサイクルのタイミングチャートを示す。
Next, we will describe how the TAS instruction is executed in the circuit of FIG. FIG. 7 shows a timing chart of the read-modify-write cycle of the circuit shown in FIG. 4.

第7図で時刻番号゛v6でDS信号がアクティブ(’L
’)からインアクティブ(′H″)に変化するとDTA
CK信号もインアクティブ(’H’ )に変化する。こ
れは第4図の回路でDS信号がインアクティブ(′H)
に変化するとNOR回路8が′L″に変化し、遅延回路
7を通ってN AN D 9の出力を’H’に変化させ
るためである。MPU2は時刻番号t1゜のCLK信号
のStaの立ち下りで、リードモディファイサイクル期
間のライト動作のD’[’ACK信号を検出する。第6
図では時刻番号tttのCLK信号信号S室ち下りでD
TACK信号のアクティブ(’L”)を検出したので次
の時刻番号t8.でCLK信号がへ。
In Figure 7, the DS signal is active ('L) at time number 'v6'.
') to inactive ('H''), DTA
The CK signal also changes to inactive ('H'). This is the circuit shown in Figure 4, where the DS signal is inactive ('H).
This is because the NOR circuit 8 changes to 'L' when it changes to 'L', and the output of NAND 9 changes to 'H' through the delay circuit 7. On the downlink, detect the D'['ACK signal of the write operation during the read modify cycle period.
In the figure, when the CLK signal signal S at time number ttt falls, D
Since the active state ('L') of the TACK signal is detected, the CLK signal goes low at the next time number t8.

となりこのサイクルの最後の状態に達している。We have now reached the final state of this cycle.

以上述べたように、第2図の回路例ではMPU2がTA
S命令を実行する時、不都合な問題が生じ一一方第4図
の回路例ではTAS命令時は何の問題も生じないがMP
U2のバスサイクルを常にWAIT’を入れずに実行さ
せたい場合に不適当である(特にライトサイクル時)。
As mentioned above, in the circuit example of FIG. 2, MPU2 is TA
When executing the S instruction, an inconvenient problem occurs, whereas in the circuit example shown in Figure 4, no problem occurs when executing the TAS instruction, but when the MP
This is inappropriate when it is desired to always execute the U2 bus cycle without inserting WAIT' (especially during a write cycle).

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

本発明の目的は以下の2点を満足するメモリ制御回路を
提供することにある。
An object of the present invention is to provide a memory control circuit that satisfies the following two points.

■ MPUのバスサイクル(リードサイクル。■ MPU bus cycle (read cycle).

ライトサイクル、リードそディファイライトサイクル)
を常に最小期間とする。
write cycle, read defy write cycle)
is always the minimum period.

■ Ml’UのTAS命令時にデータ確定信号α治)が
インアクティブに変化後、MPUの規定範囲内でMPU
のデータバス期間の制御信号(DTACK信号)をイン
アクティブにして確実に動作させる。
■ After the data confirmation signal αji) changes to inactive at the time of Ml'U's TAS command, the MPU
The control signal (DTACK signal) during the data bus period is made inactive to ensure reliable operation.

〔発明の概要〕[Summary of the invention]

本発明は、MPUのデータバス期間の制御信号を、メモ
リタイミング発生回路の出力信号の1つであるメモリア
クセス信号から生成し、かつiPUのデータ確定信号と
リード信号を用いてMPUがTAS命令を実行する時に
おいである期間だけマスクするような回路を設けること
により目標を達成したものである。
The present invention generates a control signal for the data bus period of the MPU from a memory access signal, which is one of the output signals of a memory timing generation circuit, and uses the data confirmation signal and read signal of the iPU to cause the MPU to issue a TAS command. This goal was achieved by providing a circuit that masks only a certain period of time during execution.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の第1の実施例を第1図により説明する。 A first embodiment of the present invention will be described below with reference to FIG.

MPU 2、メモリ3、メモリ制御回路のうちのデコー
ダ4、メモリタイミング発生回路1は従来例として示し
た第2図、第4図と同様である。MPUのデータバス期
間の制御信号(DTACK信号)生成回路が異なる。N
AND回路10、D型のF・F回路11、そしてインバ
ータ5でDTACK信号を生成する。また、F、F回路
11の出力をメモリのタイミング発生に使用するためメ
モリタイミング発生回路1に入力しである。
The MPU 2, memory 3, decoder 4 of the memory control circuit, and memory timing generation circuit 1 are the same as those shown in FIGS. 2 and 4 as conventional examples. The control signal (DTACK signal) generation circuit for the data bus period of the MPU is different. N
An AND circuit 10, a D-type F/F circuit 11, and an inverter 5 generate a DTACK signal. Further, the output of the F, F circuit 11 is input to the memory timing generation circuit 1 for use in generating memory timing.

次にその動作をMPU2のライトサイクル、リードサイ
クル、そしてリードモディファイライトサイクルについ
てタイミングチャートを示して説明する。
Next, the operation will be explained with reference to timing charts for the write cycle, read cycle, and read modify write cycle of the MPU 2.

第8図はMPU2のライトサイクyのタイミングチャー
トを示したものである6R,A8C信号は従来例で述べ
たようにMPU2が出力するA8信号で決定されるので
図に示すようなタイミングとなる。時刻番号t、でF−
F回路11の入力信号、RA8C信号がアクティブ(’
H”)になる。また、NAND回路10の出力信号CI
、Mr号に畑陶播号t、以降インアクティブ(’)i’
 )状態が続く。このため、時刻番号【、とt、の間、
すなわちCLK信号の84の立ち上りでF−F’回路1
1の出力が変化し、D’rACK信号はアクティブ(’
L’ )となる。MPU2がDTACK信号を検出する
時(CLK信号の84の立ち下り)、DTACK信号は
アクティブなので時刻番号t4ではWAIT期間SWが
挿入されずに86の状態となり、次の時刻番号t、では
ライトサイクルが終了している。この場合、MPU2が
DTACK信号を検出する時(S4の立ち下り)より以
前にDTACK信号をアクティブにすることか必要であ
る(MP U2のセットアツプタイムの規格)が、本回
路ではこの規格値を満足する。また、DTACK信号の
アクティブ(’L”)からネガティブ(’H’ )に変
化する場合のMPU2の規定値(As信号とDS信号が
ネガティブに変化後、数百ns以内)をも満足する。
FIG. 8 shows a timing chart of write cycle y of the MPU 2. The 6R and A8C signals are determined by the A8 signal output from the MPU 2 as described in the conventional example, so the timing is as shown in the figure. F- at time number t.
The input signal of the F circuit 11, the RA8C signal, is active ('
In addition, the output signal CI of the NAND circuit 10
, Mr. issue and Hata Tou issue t, hereafter inactive (')i'
) condition continues. Therefore, between time number [, and t,
In other words, at the rising edge of CLK signal 84, FF' circuit 1
1's output changes, and the D'rACK signal becomes active ('
L'). When the MPU 2 detects the DTACK signal (fall of 84 of the CLK signal), the DTACK signal is active, so at time number t4, the WAIT period SW is not inserted and the state is 86, and at the next time number t, the write cycle is started. It's finished. In this case, it is necessary to activate the DTACK signal before the MPU2 detects the DTACK signal (falling edge of S4) (the MPU2 set-up time standard), but this circuit does not meet this standard value. be satisfied. It also satisfies the specified value of the MPU 2 when the DTACK signal changes from active ('L') to negative ('H') (within several hundred ns after the As signal and DS signal change to negative).

WJ9図にMPU2のリードサイクルのタイミングチャ
ートを示す。DTACK信号のアクティブ(’L’)に
変化するタイミングは第8図のリードサイクルと等しく
、一方インアクティブ(’H”)に変化するタイミング
はNAND回路10の出力信号、CLR信号がアクティ
ブ(’L’ )に変化した直後となる。このリードサイ
クルの場合もライトサイクルと同様に、WAIT期間は
挿入されず最小時間で実行される。また、MPU2の規
定値を満足しないタイミングはない。
Figure WJ9 shows a timing chart of the read cycle of the MPU2. The timing at which the DTACK signal changes to active ('L') is the same as the read cycle in FIG. ' ). In this read cycle, similarly to the write cycle, the WAIT period is not inserted and is executed in the minimum time. Also, there is no timing when the specified value of the MPU 2 is not satisfied.

第10図にMPU2のリードモディファイライトサイク
ルのタイミングチャートを示す。この時もDTACK信
号に着目すると、時刻番号t1からt、までは第9図の
リードサイクルと等しいタイミングで変化する。その後
、時刻番号t、 R/ W信号が′L′(ライトサイク
ルを示す)に変化するとCLR信号がインアクティブ(
’H’ )に変化するためDTACK信号はCLK信号
のS、。の立ち上りでアクティブ(’L’)に変化する
。そして、DT入CK信号がインアクティブ(’H”)
に変化するのは、R&8C信号がインアクティブ(’H
’ )に変化後、次のCLK信号の立ち上り直後である
。したがって、従来例の第2図の回路で生じた問題(D
8信号がインアクティブに変化した後からDTACK信
号をインアクティブに変化するまでの時間がMPU2の
規定値を超えてしまうこと。)はなく、またリードモデ
ィファイライトサイクルでもW入IT期間が挿入されず
最小期間で実行される。
FIG. 10 shows a timing chart of the read-modify-write cycle of the MPU2. At this time as well, paying attention to the DTACK signal, the time numbers t1 to t change at the same timing as the read cycle in FIG. After that, at time number t, when the R/W signal changes to 'L' (indicating a write cycle), the CLR signal becomes inactive (
'H'), so the DTACK signal changes to the S level of the CLK signal. It changes to active ('L') at the rising edge of . Then, the DT input CK signal is inactive ('H')
The R&8C signal changes to inactive ('H
) immediately after the next CLK signal rises. Therefore, the problem (D
The time from when the 8 signal changes to inactive to when the DTACK signal changes to inactive exceeds the specified value of the MPU2. ), and the read-modify-write cycle is executed in the minimum period without inserting a W input IT period.

以上により、第5図の回路ではMPU2のバスサイク/
L/(リードサイクル、ライトサイクル、リードモディ
ファイライトサイクル)を常に最小時間で実行させ、か
つ’rA8命令を確実に実行させることが可能である。
As a result of the above, in the circuit shown in Fig. 5, the MPU2 bus cycle/
It is possible to always execute L/ (read cycle, write cycle, read modify write cycle) in the minimum time and to reliably execute the 'rA8 instruction.

また、F−F回路11の出力信号はメモリタイミング発
生回路1でメモリ制御57やメモリアドレス5Bの信号
を発生する際に非常に有効となる。例えば、メモリ3が
DRAM(Dynarnic Ramdom Acce
ss Memory)であれば、アドレスの切り替え(
R,OWアドレスとCOLUMNアドレス)信号、又は
RAS信号CDRAMのRAS端子に接続される)の生
成信号等に使用できろ。
Further, the output signal of the FF circuit 11 is very effective when the memory timing generation circuit 1 generates the memory control 57 and memory address 5B signals. For example, the memory 3 is a DRAM (Dynamic Random Access
ss Memory), address switching (
It can be used for the generation signal of R, OW address and COLUMN address) signal, or RAS signal (connected to the RAS terminal of CDRAM).

その他の実施例を第11図と第12図に示す。Other embodiments are shown in FIGS. 11 and 12.

第11図第2の実施例の回路は第1図の回路と号の極性
やCLR,端子とPR端子を変えただけである。
The circuit of the second embodiment shown in FIG. 11 differs only by changing the polarity of the circuit shown in FIG. 1, the CLR terminal, and the PR terminal.

第12図の第3の実施例の回路では、MPU2のライト
サイクルとリードサイクルにおいてDTACK信号はA
s信号で決定され、MPU2は常に最小時間で実行可能
であるnTAS命令時のリードモディファイライトサイ
クルにおいては、リード期間(DS信号の1回目のアク
ティブ状態期間)とライト期間(D8信号の2回目のア
クティブ状態期間)の間においてNAND回路10の出
力信号がアクティブ(Lj)となるためD’rACK信
号をインアクティブ(’H’ )にする。そしてライト
期間でNAND回路10の出力信号がインアクティブ(
’H’ )となるため、D’rACK信号はふたたびア
クティブ(’L’ )となる。この様にNAND回路1
1は前述の実施例回路と同様にリードモディファイライ
ト時の途中でDTACK信号をマスクする働きをする。
In the circuit of the third embodiment shown in FIG. 12, the DTACK signal is A in the write cycle and read cycle of MPU2.
In the read-modify-write cycle during the nTAS command, which is determined by the s signal and can always be executed in the minimum time, the read period (the first active state period of the DS signal) and the write period (the second active state period of the D8 signal) During the active state period), the output signal of the NAND circuit 10 becomes active (Lj), so the D'rACK signal becomes inactive ('H'). Then, during the write period, the output signal of the NAND circuit 10 becomes inactive (
'H'), so the D'rACK signal becomes active ('L') again. In this way, NAND circuit 1
1 serves to mask the DTACK signal during read-modify-write, similar to the circuit of the above-described embodiment.

また、MPU2はリードモディファイライトサイクルに
おいても最小時間で処理を行う。
Furthermore, the MPU 2 also processes the read-modify-write cycle in the minimum time.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、以下の2点の効果がある。 According to the present invention, there are the following two effects.

■ MPUのバスサイクA/(リー、・サイクルライト
サイクル、リードモディファイライトサイク/I/)を
常に最小期間とするためMPUの処理が高速となる、 ■ MPUのTAS命令時にデータ確定信号(DSがイ
ンアクティブに変化後、MPUの規定範囲内でMPUの
データバス期間の制御信号(DTAeK信号)をインア
クティブにするので動作が確実で信頼性が高まる。
■ The MPU's bus cycle A/(R, cycle write cycle, read modify write cycle/I/) is always kept at the minimum period, so the MPU processing becomes faster. After changing to active, the MPU's data bus period control signal (DTAeK signal) is made inactive within the specified range of the MPU, resulting in reliable operation and increased reliability.

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

第1図は本発明によるメモリ制御回路の第1の実施例の
構成図、第2図と第4図は従来技術によるメモリ制御回
路の構成図、第3図は第2図の構成図のタイミングチャ
ート図、第5図、第6図、第7図は第4図の構成図のタ
イミングチャート図、第8図、第9図、第10図は第1
図の構成図のタイミングチャート図、第11図、第12
図は本発明によるメモリ制御回路の、それぞれ第2、第
3の実施例の構成図である。 1・・・・・・メモリタイミング発生回路、2・・・・
・・演算処理装置(MPU)、3・・・・・・メモリ、 4・・・・・・デコーダ、 10・・・・・・NAND回路、 11・・・・・・D型フリ、プ・フロップ回路、20・
・・・・・メモリ制御回路、 21・・・・・・制御信号生成回路。 丁
FIG. 1 is a block diagram of a first embodiment of a memory control circuit according to the present invention, FIGS. 2 and 4 are block diagrams of a memory control circuit according to the prior art, and FIG. 3 is a timing diagram of the block diagram of FIG. 2. Chart diagrams, Figures 5, 6, and 7 are timing charts of the configuration diagram in Figure 4, Figures 8, 9, and 10 are timing charts of the configuration diagram in Figure 1.
Timing chart diagrams of the configuration diagrams in Figures 11 and 12
The figures are configuration diagrams of second and third embodiments of the memory control circuit according to the present invention, respectively. 1...Memory timing generation circuit, 2...
...Arithmetic processing unit (MPU), 3...Memory, 4...Decoder, 10...NAND circuit, 11...D type Furi, P. Flop circuit, 20・
...Memory control circuit, 21...Control signal generation circuit. Ding

Claims (1)

【特許請求の範囲】[Claims] 1 少くとも、MPU(演算処理装置)のアドレスをデ
コードするデコーダと、メモリへ信号を供給するメモリ
タイミング発生回路と、前記MPUのデータバス期間の
制御信号生成回路とからなるメモリ制御回路において、
前記データバス期間の制御信号を前記メモリタイミング
発生回路の出力信号の1つであるメモリアクセス信号か
ら生成し、かつ前記MPUのデータ確定信号とリード信
号を用いて前記MPUがTAS命令を実行する時に、あ
る期間だけマスクするようにした前記MPUのデータバ
ス期間の制御信号生成回路を備けたことを特徴とするメ
モリ制御回路。
1. A memory control circuit consisting of at least a decoder that decodes the address of an MPU (arithmetic processing unit), a memory timing generation circuit that supplies a signal to the memory, and a control signal generation circuit for the data bus period of the MPU,
A control signal for the data bus period is generated from a memory access signal that is one of the output signals of the memory timing generation circuit, and when the MPU executes a TAS instruction using a data confirmation signal and a read signal of the MPU. . A memory control circuit comprising: a control signal generation circuit for a data bus period of the MPU configured to mask only a certain period.
JP60154047A 1985-07-15 1985-07-15 Memory control circuit Pending JPS6215643A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60154047A JPS6215643A (en) 1985-07-15 1985-07-15 Memory control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60154047A JPS6215643A (en) 1985-07-15 1985-07-15 Memory control circuit

Publications (1)

Publication Number Publication Date
JPS6215643A true JPS6215643A (en) 1987-01-24

Family

ID=15575754

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60154047A Pending JPS6215643A (en) 1985-07-15 1985-07-15 Memory control circuit

Country Status (1)

Country Link
JP (1) JPS6215643A (en)

Similar Documents

Publication Publication Date Title
JP3155545B2 (en) Memory refresh control circuit
JP4615896B2 (en) Semiconductor memory device and control method of semiconductor memory device
JPS6052513B2 (en) semiconductor storage device
JPS6215643A (en) Memory control circuit
JP3318125B2 (en) DRAM control circuit
JPH029401Y2 (en)
JP2960110B2 (en) RISC processor system
JPH04372030A (en) Memory access system for processor
JP3314395B2 (en) Memory controller
JPH06325570A (en) Dynamic memory refresh circuit
JP2617132B2 (en) Direct memory access method
JP2570271B2 (en) Semiconductor memory controller
JPS60138661A (en) Processor control system
JPS62214590A (en) Refresh system for dynamic memory
JP2000353384A (en) Dram control circuit
JPH02157955A (en) Address data access method for processor
JPH0636558A (en) Method for refreshing dram
JPH0323587A (en) Parity generating and checking system for dram
JPH0561762A (en) Memory controller
JPH01119840A (en) Control circuit for dynamic ram
JPH06203550A (en) Dynamic random access memory
JPH047762A (en) Memory access method
JPH0158597B2 (en)
JPS6199996A (en) Dynamic ram controlling system
JPH0423145A (en) Memory access control circuit for risc processor