[go: up one dir, main page]

JPH06275067A - Serial/random access switching circuit - Google Patents

Serial/random access switching circuit

Info

Publication number
JPH06275067A
JPH06275067A JP5060483A JP6048393A JPH06275067A JP H06275067 A JPH06275067 A JP H06275067A JP 5060483 A JP5060483 A JP 5060483A JP 6048393 A JP6048393 A JP 6048393A JP H06275067 A JPH06275067 A JP H06275067A
Authority
JP
Japan
Prior art keywords
random access
serial
access
random
switching
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.)
Withdrawn
Application number
JP5060483A
Other languages
Japanese (ja)
Inventor
Kazuo Ono
和男 小野
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.)
Olympus Corp
Original Assignee
Olympus Optical 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 Olympus Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP5060483A priority Critical patent/JPH06275067A/en
Publication of JPH06275067A publication Critical patent/JPH06275067A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Dram (AREA)

Abstract

PURPOSE:To suppress a random access end waiting time required before serial access by providing an arbiter circuit and mediating the switch of access. CONSTITUTION:The switches 8, 9 are connected to the contacts B by the arbiter circuit 12 where random access request R-REQ becomes 1, and random address R-AD is supplied to a DRAM controller 10, and a dual port DRAM 11 is random accessed. On the other hand, when serial access request S-REQ becomes 1, the switches 8, 9 are switched to the contacts A sides through the circuit 12 after the random access is ended, and the random access end waiting time is suppressed minimally, and the serial access is performed, and then, the throughput of the random access side is enhanced.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はシリアル/ランダムアク
セス切り換え回路に関する。
FIELD OF THE INVENTION The present invention relates to a serial / random access switching circuit.

【0002】[0002]

【従来の技術】従来のデュアルポートDRAMのシリア
ル/ランダムアクセス切り換え回路においては、図4に
示すような構成によってシリアルアクセスとランダムア
クセスを切り換えるのが普通であった。すなわち、シリ
アルアクセス時に使用するアドレス信号(S AD)と
ランダムアクセス時に使用するアドレス信号(R
D)を切り換えるスイッチ8と、シリアルアクセス要求
信号(S REQ)とランダムアクセス要求信号(R
REQ)を切り換えるスイッチ9を設け、これらのスイ
ッチの切り換えをビデオ信号の水平同期信号(HD)を
用いて行なう。
2. Description of the Related Art In a conventional serial / random access switching circuit for a dual port DRAM, it is common to switch between serial access and random access by a configuration as shown in FIG. That is, the address signal (S AD) and the address signal (R A
Switch 8 for switching D) and the serial access request signal (S REQ) and random access request signal (R
A switch 9 for switching REQ) is provided, and switching of these switches is performed using the horizontal synchronizing signal (HD) of the video signal.

【0003】スイッチ8,9によってセレクトされた信
号は、DRAMコントローラ(以下DMCと呼ぶ)10
に供給され、次段のデュアルポートDRAM(以下DD
RAMと呼ぶ)11をコントロールするのに必要な信号
(MA:マルチプレクスアドレス,RAS:ローアドレ
スストローブ,CAS:カラムアドレスストローブ)等
を発生させる。DDRAM11側では、シリアルデータ
(SD)とランダムアクセスデータ(RD)の内どちら
を有効にするかをセレクトする端子SEに水平同期信号
(HD)を供給し、どちらのデータを使用するかを決め
ている。
A signal selected by the switches 8 and 9 is a DRAM controller (hereinafter referred to as DMC) 10
To the next stage dual port DRAM (hereinafter referred to as DD
A signal (MA: multiplex address, RAS: row address strobe, CAS: column address strobe) necessary for controlling the RAM 11 is generated. On the side of the DDRAM 11, a horizontal synchronizing signal (HD) is supplied to a terminal SE that selects which of serial data (SD) and random access data (RD) is to be valid, and which data is to be used is determined. There is.

【0004】図5は、水平同期信号(HD)とシリアル
アクセス要求信号(S REQ)の関係を示す。HDの
Highレベルの期間がランダムアクセス可能期間であ
り、HDのLowレベルの期間が水平ブランキング期間
である。同図に示すように、水平ブランキング期間にな
ってからランダムアクセス終了待ち期間だけ待ってから
シリアルアクセス期間となる。ランダムアクセス終了待
ち期間は、ランダムアクセスサイクル(メモリに1回ラ
ンダムアクセスする時間)を中断しないようにするた
め、最長ランダムアクセスサイクルより長い。
FIG. 5 shows a horizontal synchronizing signal (HD) and a serial access request signal (S). REQ). A High level period of HD is a random accessible period, and a Low level period of HD is a horizontal blanking period. As shown in the figure, after the horizontal blanking period, the random access end waiting period is waited for, and then the serial access period is started. The random access end waiting period is longer than the longest random access cycle in order not to interrupt the random access cycle (time to randomly access the memory once).

【0005】[0005]

【発明が解決しようとする課題】上記した従来のシリア
ル/ランダムアクセス切り換え回路においては、図5に
示すように、ランダムアクセス終了待ち期間はランダム
アクセスサイクルの数倍必要であり、この期間にはラン
ダムアクセスは出来ないので、ランダムアクセス側の処
理能力を低下させる原因となっていた。
In the above-mentioned conventional serial / random access switching circuit, as shown in FIG. 5, the random access end waiting period is required to be several times as long as the random access cycle, and the random access period is random during this period. Since it cannot be accessed, it was a cause of lowering the processing capacity on the random access side.

【0006】本発明のシリアル/ランダムアクセス切り
換え回路はこのような課題に着目してなされたものであ
り、シリアルアクセスとランダムアクセスの切り換えを
調停する手段を設けることによって、シリアルアクセス
の前に必要なランダムアクセス終了待ち時間を不要と
し、ランダムアクセス側の処理能力を向上させるシリア
ル/ランダムアクセス切り換え回路を提供することにあ
る。
The serial / random access switching circuit of the present invention has been made in view of such a problem, and it is necessary before serial access by providing means for arbitrating switching between serial access and random access. Another object of the present invention is to provide a serial / random access switching circuit that does not require a random access end waiting time and improves the processing capacity on the random access side.

【0007】[0007]

【課題を解決するための手段及び作用】上記の目的を達
成するために、本発明のシリアル/ランダムアクセス切
り換え回路はシリアルアクセスとランダムアクセスの切
り換えを調停するための切り換え手段を設けて、シリア
ルアクセス要求、ランダムアクセス要求、リフレッシュ
の切り換え終了待ち時間を不要とする。
In order to achieve the above object, the serial / random access switching circuit of the present invention is provided with switching means for arbitrating switching between serial access and random access. Eliminates the waiting time for switching requests, random access requests, and refresh.

【0008】[0008]

【実施例】以下、図面を参照して本発明の一実施例を詳
細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings.

【0009】図1は本実施例の構成を示す図である。同
図において、切り換え手段としてのアービタ回路(以下
ABTと呼ぶ)12には、シリアルアクセス要求信号
(S REQ)と、ランダムアクセス要求信号(R RE
Q)と、DDRAM11のリフレッシュサイクル信号
(RDY)との3本の信号が入力され、シリアルアクセ
スを行うのかあるいはランダムアクセスを行なうのかを
セレクトする信号SELを出力する。
FIG. 1 is a diagram showing the configuration of this embodiment. same
In the figure, an arbiter circuit (hereinafter referred to as switching means)
(Referred to as ABT) 12 has a serial access request signal.
(S REQ) and a random access request signal (R RE
Q) and the refresh cycle signal of the DDRAM 11
Three signals of (RDY) are input and the serial access
Whether to perform random access or random access.
The signal SEL for selecting is output.

【0010】ABT12の出力する信号SELは、ラン
ダムアクセス時に使用するアドレス信号(A RD)と
シリアルアクセス時に使用するアドレス信号(S
D)を切り換えるスイッチ8と、ランダムアクセス要求
信号(R REQ)とシリアルアクセス要求信号(S
REQ)を切り換えるスイッチ9とを切り換えるのに使
用される。
The signal SEL output from the ABT 12 is an address signal (A RD) and the address signal (S A
Switch 8 for switching D) and the random access request signal (R REQ) and serial access request signal (S
It is used to switch the switch 9 for switching REQ).

【0011】スイッチによってセレクトされた信号はD
MC10に入力され、DDRAM11をコントロールす
るのに必要な信号(MA:マルチプレクスアドレス,R
AS:ローアドレスストローブ,CAS:カラムアドレ
スストローブ)を作成する。
The signal selected by the switch is D
A signal (MA: multiplex address, R that is input to the MC 10 and is required to control the DDRAM 11
AS: row address strobe, CAS: column address strobe).

【0012】図3はABT12の詳細な構成を示す図で
ある。このABT12はフリップフロップ回路IC1〜
IC8と、アンド回路AND1〜4とオア回路OR1
と、ナンド回路NAND1と多入力アンド回路AND5
とから構成され、フリップフロップ回路IC1にはシリ
アルアクセス要求信号(S REQ)が入力され、多入
力アンド回路AND5にはフリップフロップ回路IC4
の出力と、ランダムアクセス要求信号(R REQ)
と、RDYとアンド回路AND4の出力とが入力され
る。また、オア回路OR1からは信号SELが出力され
る。
FIG. 3 is a diagram showing a detailed structure of the ABT 12. This ABT 12 has flip-flop circuits IC1 to IC1.
IC8, AND circuits AND1 to 4 and OR circuit OR1
, NAND circuit NAND1 and multi-input AND circuit AND5
And a serial access request signal (S REQ) is input to the multi-input AND circuit AND5 and the flip-flop circuit IC4
Output and the random access request signal (R REQ)
, And RDY and the output of the AND circuit AND4 are input. Further, the signal SEL is output from the OR circuit OR1.

【0013】図2は本実施例の動作を示すタイムチャー
トである。同図において、各信号はHighレベル(状
態1)を有効とする。S REQが1の期間が、シリア
ルアクセス要求であることを示す。R REQは、ラン
ダムアクセス要求中及びランダムアクセス中であること
を示す。RDYはメモリのリフレッシュ中であることを
示す。SELは状態1のときスイッチ8,スイッチ9を
A側に切り換える信号であり、シリアルアクセス中であ
ることを示す。
FIG. 2 is a time chart showing the operation of this embodiment. In the figure, each signal is valid at High level (state 1). S A period in which REQ is 1 indicates a serial access request. R REQ indicates that a random access request is being made and a random access is being made. RDY indicates that the memory is being refreshed. SEL is a signal for switching the switch 8 and the switch 9 to the A side in the state 1, and indicates that the serial access is being performed.

【0014】以下に上記した構成の動作を説明する。ラ
ンダムアクセス時は、スイッチ8,9はB側に接続さ
れ、DMC10へは、ランダムアクセス用アドレス(R
AD)、ランダムアクセス要求信号(R REQ)が
入力され、ランダムアクセス用データ(RD)をDDR
AM11に対して読み書きを行なう。
The operation of the above configuration will be described below. At the time of random access, the switches 8 and 9 are connected to the B side, and the address for random access (R
AD), random access request signal (R REQ) is input and the random access data (RD) is DDR
Read and write to AM11.

【0015】シリアルアクセス時には、シリアルアクセ
ス要求信号(S AD)がABT12に入力される。A
BT12はシリアルアクセスが可能なタイミングを判断
し、スイッチ8,9をA側に接続する。これにより、シ
リアルアクセス用アドレス(S AD)、シリアルアク
セス要求信号(S REQ)がDMC10に供給され、
シリアルアクセス用データSDをDDRAM11に対し
て、読み出し、又は、書き込みを1回行ない、シリアル
アクセス終了後、スイッチ8,9はB側に戻される。図
2(a)は、ランダムアクセス無し、リフレッシュも行
なわれていない状態を示し、SELが状態1のときシリ
アルアクセスが1回行なわれる。
At the time of serial access, a serial access request signal (S AD) is input to the ABT 12. A
The BT 12 determines the timing when serial access is possible, and connects the switches 8 and 9 to the A side. As a result, the serial access address (S AD), serial access request signal (S REQ) is supplied to the DMC 10,
The serial access data SD is read from or written to the DDRAM 11 once, and after the serial access is completed, the switches 8 and 9 are returned to the B side. FIG. 2A shows a state in which random access is not performed and refresh is not performed. When SEL is in the state 1, serial access is performed once.

【0016】図2(b)は、シリアルアクセス中にラン
ダムアクセス要求が発生したときの状態を示す。ここで
は、シリアルアクセス(SELが1)終了後にランダム
アクセスが1回行なわれる。
FIG. 2B shows a state when a random access request occurs during serial access. Here, random access is performed once after the serial access (SEL is 1) is completed.

【0017】図2(c)は、ランダムアクセス中にシリ
アルアクセス要求が来たときの状態を示す。ここでは、
ランダムアクセス(R REQが1)の終了後、シリア
ルアクセス(SELが1)が1回行なわれる。
FIG. 2C shows a state when a serial access request is received during random access. here,
Random access (R After REQ is 1), serial access (SEL is 1) is performed once.

【0018】図2(d)は、シリアルアクセス要求中に
リフレッシュ状態になったときを示す。このときは、リ
フレッシュ(RDYが1)が優先されリフレッシュ終了
後シリアルアクセスを1回行なう。同図の点線で示した
状態は、リフレッシュ中(RDY=1)にシリアルアク
セス要求が来たときを示す。このときも、リフレッシュ
が優先される。
FIG. 2 (d) shows the case where the refresh state is entered during the serial access request. At this time, refresh (RDY is 1) is prioritized and serial access is performed once after the refresh is completed. The state shown by the dotted line in the figure shows the case where a serial access request comes during refresh (RDY = 1). Also at this time, the refresh is prioritized.

【0019】このように、本実施例においては、DDR
AM11に対して、ABT12によって、シリアルアク
セスとランダムアクセスの切り換えを調停するため、ラ
ンダムアクセスからシリアルアクセスへ切り換えるとき
の待ち時間が最小となり、ランダムアクセス側のスルー
プットが向上する。
As described above, in this embodiment, the DDR
Since switching between serial access and random access is arbitrated by the ABT 12 with respect to the AM 11, the waiting time when switching from random access to serial access is minimized, and throughput on the random access side is improved.

【0020】[0020]

【発明の効果】シリアルアクセスとランダムアクセスの
切り換えに必要な待ち時間を切り換え手段を用いること
によって最小にするので、ランダムアクセスを行なうマ
イクロプロセッサに発生するウェート数を減少させ、処
理能力を向上させることができる。
Since the waiting time required for switching between serial access and random access is minimized by using the switching means, the number of waits generated in the microprocessor for random access is reduced and the processing capability is improved. You can

【図面の簡単な説明】[Brief description of drawings]

【図1】本実施例に係るシリアル/ランダムアクセス回
路の構成を示す図である。
FIG. 1 is a diagram showing a configuration of a serial / random access circuit according to an embodiment.

【図2】本実施例に係るシリアル/ランダムアクセス回
路の動作を説明するためのタイミングチャートである。
FIG. 2 is a timing chart for explaining the operation of the serial / random access circuit according to the present embodiment.

【図3】アービタ回路の詳細な構成を示す図である。FIG. 3 is a diagram showing a detailed configuration of an arbiter circuit.

【図4】従来のシリアル/ランダムアクセス回路の構成
を示す図である。
FIG. 4 is a diagram showing a configuration of a conventional serial / random access circuit.

【図5】従来の問題点を説明するための図である。FIG. 5 is a diagram for explaining a conventional problem.

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

8,9…スイッチ、10…DRAMコントローラ(DM
C)、11…デュアルポートDRAM(DDRAM)、
12…アービタ回路(ABT)。
8, 9 ... Switch, 10 ... DRAM controller (DM
C), 11 ... Dual-port DRAM (DDRAM),
12 ... Arbiter circuit (ABT).

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 デュアルポートDRAMのシリアル/ラ
ンダムアクセス切り換え回路において、 シリアルアクセスとランダムアクセスの切り換えを調停
するための切り換え手段を設けて、シリアルアクセス要
求、ランダムアクセス要求、リフレッシュの切り換え終
了待ち時間を不要としたことを特徴とするシリアル/ラ
ンダムアクセス切り換え回路。
1. A serial / random access switching circuit for a dual-port DRAM, wherein switching means for arbitrating switching between serial access and random access is provided, and a switching end wait time for serial access request, random access request, and refresh is set. Serial / random access switching circuit characterized in that it is unnecessary.
JP5060483A 1993-03-19 1993-03-19 Serial/random access switching circuit Withdrawn JPH06275067A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5060483A JPH06275067A (en) 1993-03-19 1993-03-19 Serial/random access switching circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5060483A JPH06275067A (en) 1993-03-19 1993-03-19 Serial/random access switching circuit

Publications (1)

Publication Number Publication Date
JPH06275067A true JPH06275067A (en) 1994-09-30

Family

ID=13143578

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5060483A Withdrawn JPH06275067A (en) 1993-03-19 1993-03-19 Serial/random access switching circuit

Country Status (1)

Country Link
JP (1) JPH06275067A (en)

Similar Documents

Publication Publication Date Title
US4796232A (en) Dual port memory controller
EP2243139B1 (en) Bank sharing and refresh in a shared multi-port memory device
US6374244B1 (en) Data transfer device
JPH06275067A (en) Serial/random access switching circuit
US7113208B1 (en) Image processing apparatus, image processing method and recording medium
KR100353448B1 (en) Apparatus and method for controlling shared memory
JP2007018222A (en) Memory access control circuit
KR100546678B1 (en) Refresh operation control device and method of data processing system
JPH0341856B2 (en)
JPS58118089A (en) Memory controlling system
JPS63191397A (en) Information processor
JPH04143993A (en) Dram controller
JPH0764849A (en) Shared memory controller for processor
JP2606824Y2 (en) Multiport memory device
JPS63298796A (en) Memory device
JPH04153984A (en) Method for controlling dynamic memory
JP3017103B2 (en) Memory refresh system and refresh circuit
JP3221007B2 (en) Facsimile machine
JP2900892B2 (en) Information processing device
JPH08329233A (en) Memory control circuit
JP2000181787A (en) Memory control circuit
JPH06111570A (en) DRAM control circuit
JPH01315857A (en) Shared memory access system
JPS63191398A (en) Information processor
JPH0520182A (en) Information processing system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000530