JPS59112351A - Controlling system of memory device - Google Patents

Controlling system of memory device

Info

Publication number
JPS59112351A
JPS59112351A JP57223470A JP22347082A JPS59112351A JP S59112351 A JPS59112351 A JP S59112351A JP 57223470 A JP57223470 A JP 57223470A JP 22347082 A JP22347082 A JP 22347082A JP S59112351 A JPS59112351 A JP S59112351A
Authority
JP
Japan
Prior art keywords
memory
address
memory device
access
control
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.)
Granted
Application number
JP57223470A
Other languages
Japanese (ja)
Other versions
JPH0370816B2 (en
Inventor
Osamu Miura
修 三浦
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP57223470A priority Critical patent/JPS59112351A/en
Publication of JPS59112351A publication Critical patent/JPS59112351A/en
Publication of JPH0370816B2 publication Critical patent/JPH0370816B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus

Abstract

PURPOSE:To shorten processing time without generating waiting at a common memory device in case of observing from the controlling device side even if accesses to the common memory device collide with each other, by providing a memory access switching control means. CONSTITUTION:Controlling devices PRCB 11, PRCA 10 access memory devices MEM1 21, MEM0 20 in parallel through a memory access switching controlling device MCNT 30. Namely, control signals C1, C0 access the reading of data D1 and the writing of data D0 of addresses specified by access address signals A1, A0 and the signal A0 is stored in an address register REG 300. A controlling part 301 specifies the reading to the MEM0 20 and writing to the MEM1 21 by control signals and the REG 300 transmits the signal A0. Consequently, the data D0 of the address specified by the signal A0 and written in the same address in the MEM1 21. Thus, the processing time can be shortened without generating waiting time.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明はメモリ装置制御方式に関し、特に2つの制御装
置に共通な2つのメモリ装置を介し゛C情報の転送を行
う情報転送方式におけるメモリ装置制御方式に関する。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to a memory device control method, and particularly to a memory device control method in an information transfer method in which C information is transferred via two memory devices common to two control devices. Regarding the method.

〔従来技術と問題点〕[Conventional technology and problems]

従来この種の情報転送方式において2つの制御装置から
共通メモリ装置へのアクセスが衝突したときには、これ
らメモリアクセスに優先順位を付は非優先アクセスの制
御装置は優先アクセスの制御装置の処理が終了するまで
待ち合わせて処理を行うメモリ装置制御方式が採られて
いる。
Conventionally, in this type of information transfer method, when accesses from two control devices to a common memory device collide, these memory accesses are prioritized, and the control device with non-priority access ends the processing of the control device with priority access. A memory device control method is adopted in which processing is performed by waiting until the end of the process.

モ しかるこの方式では、実時間処理を要するときこの待合
時間のため該請求を満たすことができないばかりでなく
、両制御装置の合計処理時間か長くなるという欠点があ
った。
However, this method has the drawback that when real-time processing is required, not only is it impossible to satisfy the bill due to this waiting time, but also the total processing time of both control devices becomes long.

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

本発明の目的は、メモリアクセス切替制御手段を備える
ことにより上記欠点を除去し、アクセスが衝突したとき
でもtlj制御装置側から見て共通メモリ装置での待合
せを生じないようにするメモリ装置制御方式を提供する
ことにある。
An object of the present invention is to provide a memory device control method that eliminates the above-mentioned drawbacks by providing memory access switching control means, and prevents queuing in a common memory device from the viewpoint of the tlj control device even when accesses collide. Our goal is to provide the following.

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

本発明によるメモリ装置制御方式は、2つの制御装置に
共通な2つのメモリ装置を介して情報の転送を行う情報
転送方式において、一方の制御装置から前記2つのメモ
リ装置に情報書込みアクセスを行う際に、他方の制御装
置がいずれのメモリ装置をもアクセスしていないときは
前記2つのメモリ装置の同一アドレスに同−情@全書き
込み1、  また他方の制御装置が一力のメモリ装置を
アクセスしているときは他方のメモリ装置へ前記情報を
書き込むとともにその書込みアドレスを一時記憶し且つ
前記両制御装置の前記アクセスがともに終了したとき前
記他方のメモリ装置の前記アドレスの情報を前記一方の
メモリ装置の前記アドレスに豊き込むようになすメモリ
アクセス切替制御手段を備えることを特徴とする。また
、メモリアクセス切替制御手段は書込みアドレスを一時
記憶するレジスタと、メモリアクセス状態の監視および
メモリ装置間の情報転送制御を行う制御部を含むことを
特徴とする。
A memory device control method according to the present invention is an information transfer method in which information is transferred via two memory devices common to two control devices, and when one control device performs information write access to the two memory devices. Then, when the other control device is not accessing any of the memory devices, the same address of the two memory devices is written with sympathy @ all write 1, and when the other control device is accessing the dominant memory device. When the information is written to the other memory device, the write address is temporarily stored, and when the accesses of both the control devices are completed, the information of the address of the other memory device is written to the one memory device. The present invention is characterized in that it includes a memory access switching control means for controlling the access to the address. Further, the memory access switching control means is characterized in that it includes a register that temporarily stores a write address, and a control section that monitors the memory access state and controls information transfer between memory devices.

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

次に図面を参照して本発明について説明する。 Next, the present invention will be explained with reference to the drawings.

第1図、第2図(a)および(b)は本発明のメモリ装
置制御方式の一実施例を示すブロック図であり、一方の
制御装置から2つのメモリ装置に情報書込みを行う際に
、他方の制御装置がいずれのメモリ装置をもアクセスし
ていない場合すなわちアクセスが衝突しない場合の情報
(信号およびデータ)の流れを第1図に示し、またアク
セスが衝突した場合の情報の流れを第2図(a) 、 
(b)に示す。いずれの場合も、情報転送は2つの制御
装置(以下PaC)PRCAIO、PRCBIIおよび
該PRCるメモリアクセス切替制御装置(以下MCNT
 )30を介して行われる。なお該MCNT30は特許
請求の範囲記載のメモリアクセス切替制御手段に対応す
る。
FIGS. 1, 2(a) and 2(b) are block diagrams showing an embodiment of the memory device control method of the present invention. When writing information from one control device to two memory devices, Figure 1 shows the flow of information (signals and data) when the other control device is not accessing either memory device, that is, when there is no access conflict, and Figure 1 shows the flow of information when there is an access conflict. Figure 2 (a),
Shown in (b). In either case, information transfer is carried out between two control devices (PaC) PRCAIO and PRCBII, and the PRC memory access switching control device (MCNT).
) 30. Note that the MCNT 30 corresponds to memory access switching control means described in the claims.

第1図において、PRCAIOはMCN’l”30を介
L テM E M o 20 オj ヒM E M +
 21に制御信号coを送信してアクセスするとともに
書込み指示を行う。続いて前記PR,CAl0からアド
レス信号AoおよびデータDoを送信するので、前記M
EMo20およびMEM、21では核アドレス信号A。
In FIG. 1, PRCAIO connects MCN'l"30 to
A control signal co is sent to 21 for access and to issue a write instruction. Subsequently, since the address signal Ao and data Do are transmitted from the PR and CA10, the M
Nuclear address signal A in EMo20 and MEM, 21.

の指示する同一アドレスに該同一データDoの書込みが
行われる。
The same data Do is written to the same address indicated by.

また、第2図(a)において、PaCBltがMCN’
r30を介してMEM、21に制御信号C,を送信し°
Cアクセスしアドレス信号A、の指示するアドレ 5− スノデータI11の読出しを行っている(PRCBll
のアクセス動作)。該アクセス動作と並行して、PRC
AIOは前記MCNT30を介して開側信号coにより
MEMO20をアクセスしアドレス信号Aoの指示する
アドレスにデータD。の書込みを行うが、該アドレス信
号Ao(書込みアドレス)&まアドレスレジスタ(以下
REG)300にも記憶される(PRCAIOのアクセ
ス動作)。
Moreover, in FIG. 2(a), PaCBlt is MCN'
Sends a control signal C, to MEM, 21 via r30.
C is accessed and the address indicated by the address signal A is being read.
access behavior). In parallel with the access operation, PRC
The AIO accesses the MEMO 20 via the MCNT 30 using the open side signal co, and writes data D to the address indicated by the address signal Ao. The address signal Ao (write address) & is also stored in the address register (hereinafter referred to as REG) 300 (access operation of PRCAIO).

これらPRCAxOおよびPRCBllのアクセス動作
がともに終了すると、第2図(b)において、前記M 
CN T 30 ”’Cは制御部(以下CNT)301
がこれを認識したのち、前記MEM、20およびMEM
+21.へそれぞれ例えば制御信号C1およびcoを送
信し該MEM、20へは読出し指示を該MEM121へ
は書込み指示を行うとともに前記REG300から該M
EMo202MEM+ 21へMi前記アドレス信号A
oを送信するので、該MEM、20の該アドレス信号A
oの指示するアドレス(読出しアドレス)の前記データ
Doが読み出されて#MEM、21の同一アドレス(書
込みアドレス)に誉6− き込まれる。
When both the PRCAxO and PRCBll access operations are completed, the M
CN T 30 ”'C is the control unit (hereinafter referred to as CNT) 301
After recognizing this, said MEM, 20 and MEM
+21. For example, the control signals C1 and co are transmitted to the MEM 20 and the MEM 121 are instructed to read, and the MEM 121 is instructed to write.
EMo202MEM+ 21 to Mi said address signal A
o, so the address signal A of the MEM, 20
The data Do at the address (read address) indicated by o is read out and written to the same address (write address) #MEM, 21.

なお第2図(a)ではPRCAI O、PRCBl 1
はそれぞれMEMo20 、MEM、21をアクセスす
る場合を例示したが、これ以外の場合も情報の流れおよ
び動作は上述のものと同様である。
In addition, in Fig. 2 (a), PRCAI O, PRCBL 1
exemplified the case where MEMo 20, MEM, and 21 are accessed, respectively, but the flow of information and operation in other cases are the same as those described above.

次に第3図は第1図、第2図(a)および(b)におけ
るメモリアクセス切替制御装置の主要部の一例を示す回
路図であり、同じ構成要素にはそれぞれ同じ符号が付し
である。同図において、MCNT30は曹込みアドレス
を一時記憶するR、EG300と、メモリアクセス状態
の監視およびMEMO20、MEM、21間の情報転送
制御などを行うCNT301(第2図(b)に図示)を
なすフリップフロップ(以下F/F)302.タイミン
グ回路(以下TM)303および関連ゲート回路と、P
RCAI O。
Next, FIG. 3 is a circuit diagram showing an example of the main parts of the memory access switching control device in FIGS. 1, 2(a) and 2(b), and the same components are given the same reference numerals. be. In the same figure, the MCNT 30 constitutes an R and an EG 300 that temporarily store storage addresses, and a CNT 301 (shown in FIG. 2(b)) that monitors the memory access state and controls information transfer between the MEMO 20, MEM, and 21. Flip-flop (hereinafter referred to as F/F) 302. A timing circuit (hereinafter referred to as TM) 303 and related gate circuits, and P
RCAI O.

PL(、CBIIと前記MEMo20 、MEM、21
間の制御信号、アドレス信号およびデータの転送を行う
関連ゲート回路を含んで構成される。
PL (, CBII and the MEMo20, MEM, 21
It includes related gate circuits that transfer control signals, address signals, and data between the two.

M EMo 20 、 M EMI21からのメモリ読
出しデータ(以下R,D)はそれぞれアンドゲート(以
下AND)310,321を介して読出しデータ(以下
RDA 、RDB)とl、−(PRCAI O、PRC
BIIに転送され、#PRcAloからの書込みデータ
(以下WDA)、読出し/書込み制御信号(以下)L/
WA)、アクセス信号(以下C8A)およびアドレス信
号(以下ADRA)はそれぞれANi)311,312
.オアゲート(以下0)1. ) 340およびAND
313と0R341を介してメモリ書込みデータ(以下
WD)、メモリ読出し/書込み制御信号(以下R/W)
、メモリアクセス信号(以下C8)およびメモリアドレ
ス信号(以下ADR)として前記MEMo20に転送さ
れ、前記PRCBIIからのアドレス信号(以下ADf
(、B )、およびアクセス信号(以下CS B )は
それぞれAND 320とoaa 42.およ、びOし
た前記WDAおよびAND318を介(〜た前記MEM
O20からの前記RDはoa345を介し°τ前記ME
M、21のメモリ書込みデータWDとじて転送され、前
記AND312を介した前記t(、/ WAは0R34
4を介して該MEM121にメモリ読出し/書込み制御
信号R/Wを与え、前記AD)LAはANL)317を
介して前記OR・342に入力される。更に、前記C8
Aは前記AND) 310 。
Memory read data (hereinafter referred to as R, D) from MEMo 20 and MEMI 21 is connected to read data (hereinafter referred to as RDA, RDB) through AND gates (hereinafter referred to as AND) 310 and 321, respectively.
Transferred to BII, write data (hereinafter WDA) from #PRcAlo, read/write control signal (hereinafter) L/
WA), access signal (hereinafter referred to as C8A) and address signal (hereinafter referred to as ADRA) are ANi) 311 and 312, respectively.
.. ORGATE (hereinafter referred to as 0)1. ) 340 and AND
Memory write data (hereinafter referred to as WD) and memory read/write control signal (hereinafter referred to as R/W) through 0R313 and 0R341.
, is transferred to the MEMo20 as a memory access signal (hereinafter referred to as C8) and a memory address signal (hereinafter referred to as ADR), and is transferred to the MEMo20 as a memory access signal (hereinafter referred to as C8) and a memory address signal (hereinafter referred to as ADR), and is transferred to the MEMo20 as an address signal (hereinafter referred to as ADf) from the PRCBII.
(,B) and the access signal (hereinafter referred to as CS B) are AND 320 and oaa 42., respectively. and through the WDA and AND318 (~ the MEM
The RD from O20 passes through oa345 to the ME
M, 21 memory write data WD is transferred as the t(,/WA is 0R34) via the AND312.
A memory read/write control signal R/W is applied to the MEM 121 via ANL) 317, and the AD)LA is input to the OR 342 via ANL) 317. Furthermore, the C8
A is the above AND) 310.

311.312の入力となり、前記C8Bは前記AND
 321の入力となってそれぞれゲート制御を行い、A
ND314は該C8AおよびC,SBの同時発生時には
アンド条件が成立しF/F 302のS端子に信号を与
えて該F’/F 302をセットするとともに前記AN
D313を介して前記R,EG300のCK端子に信号
を与えて前記A I) f(Aを記憶させ、ANI)3
15はそれぞれインバータ(以下IN V ) 331
 、332e介1,7v該C8A。
311.312, and the C8B is the AND
321 and performs gate control respectively, and A
When the C8A, C, and SB occur simultaneously, the AND condition is satisfied, and the ND314 applies a signal to the S terminal of the F/F 302 to set the F'/F 302, and the AN
A signal is given to the CK terminal of the R and EG300 through the D313 to store the A I) f(A, ANI)3
15 is an inverter (hereinafter referred to as IN V) 331
, 332e 1,7v said C8A.

C8Bの反転信号と前記F/F302出力をアンドしT
M303に起動信号(以下ST)を与え、AND31.
6は1C8AとINV333を介シタ該C8Bの反転信
号とをアンドして前記AND317の入力となってゲー
ト制御を行うとともに前記(11,343を介して前記
MEM+21に前記C9− 8を与える。また、前記TM303は前記STを受信し
て所定のゲート信号(以下GT )、書込み信号(以下
WR)およびリセット信号(以下R8)を作成出力する
。該GTは前記AND318およびAND 319の入
力となっCゲート制御を行うとともに、それぞれ前記0
.11,340 、3’43を介して前記MEMo20
 、MEM+ 21に前記C8を与え、INV330を
介した該GTの反転信号は前記AND313の入力とな
ってゲート制御を行う。前記WRは前記OR344を介
して前記MEM121に書込み指示を与え、前記R8は
前記F/F302のR・T端子に与えられて該F/F’
302をリセットさせる。更に、前記AND319は対
ン状態のとき前記R,EG300の記憶内容(、vil
:込みアドレス)を該11(、EG 300のQn端子
から出力しCそれぞれ前記0R341,342を介して
前記MEMo20 、MEM、21にアドレス指示を与
える。
AND the inverted signal of C8B and the output of F/F302, and T
Give a start signal (hereinafter referred to as ST) to M303, AND31.
6 ANDs 1C8A and the inverted signal of C8B via INV333 and becomes the input of the AND317 to perform gate control, and also provides the C9-8 to the MEM+21 via the (11, 343). The TM303 receives the ST and generates and outputs a predetermined gate signal (hereinafter referred to as GT), a write signal (hereinafter referred to as WR), and a reset signal (hereinafter referred to as R8).The GT is input to the AND318 and AND319, and is connected to the C gate. In addition to performing control, each of the above 0
.. 11,340, the MEMo20 via 3'43
, MEM+ 21, and the inverted signal of the GT via INV330 becomes an input to the AND313 to perform gate control. The WR gives a write instruction to the MEM 121 via the OR 344, and the R8 is given to the R/T terminal of the F/F 302 to read the F/F'
302 is reset. Furthermore, the AND 319 selects the memory contents of the R, EG 300 (, vil
:inclusive address) is outputted from the Qn terminal of the EG 300 and C gives an address instruction to the MEMo 20, MEM, and 21 via the 0Rs 341 and 342, respectively.

なお第3図において、アドレス信号およびデータ転送関
連ゲート回路すなわちAND310゜−10= 311.313,317.〜321 .0几341゜3
42.345はそれぞれ複数のゲートで構成され、また
、TM303を含むMCNT30のすべCの構成要素は
従来技術により容易に実現されるものである。
In FIG. 3, address signal and data transfer related gate circuits, ie, AND310°-10=311.313,317. ~321. 0 几341゜3
42 and 345 are each composed of a plurality of gates, and all the components of the MCNT 30 including the TM 303 can be easily realized using conventional technology.

次に第4図は第3図におけるタイミング回路に関連する
各種信号のタイムチャートであり、参照符号C8A 、
C8B 、ST 、GT 、WRおよびR8はそれぞれ
第3図に示したものに対応する。同図において、PRC
AIO、PRCBI 1 (ともに第3図に図示)のメ
モリアクセスが衝突しそれぞれのアクセス動作が終了し
たとき、すなわち前記C8AおよびC8BがrOJにな
ったときSTが11」になってTM303(第3図に図
示)が起動される。該TM303はGTに「1」を出力
し、所定のタイミング1o後WRに「1」を出力してM
EMr 21 (第3図に図示)にデータ書込みを行わ
せる。次いで前記TM303は所定のタイミング1o後
几Sに「1」を出力するとともに前記ST、GTおよび
WRを10」にしてF/F’302(第3図に図示)を
リセットしたのち該几Sを10」にする。なお、前記タ
イミングto。
Next, FIG. 4 is a time chart of various signals related to the timing circuit in FIG. 3, with reference symbols C8A,
C8B, ST, GT, WR and R8 correspond to those shown in FIG. 3, respectively. In the same figure, PRC
When the memory accesses of AIO and PRCBI 1 (both shown in FIG. 3) collide and each access operation ends, that is, when C8A and C8B become rOJ, ST becomes 11'' and TM303 (see FIG. 3). ) is started. The TM303 outputs "1" to GT, and after a predetermined timing 1o, outputs "1" to WR, and
The EMr 21 (shown in FIG. 3) is caused to write data. Then, after a predetermined timing 1o, the TM 303 outputs "1" to the box S, sets the ST, GT and WR to 10, resets the F/F'302 (shown in FIG. 3), and then outputs "1" to the box S. 10". Note that the timing to.

tlはそれぞれメモリ装置のアクセス時間に応じて任意
に定めればよい。
tl may be arbitrarily determined depending on the access time of each memory device.

続いて第3図を参照して本実施例の動作について詳述す
る。
Next, the operation of this embodiment will be described in detail with reference to FIG.

P)?、CAI O、PRCB 11の7クセスが衝突
しない場合は、AND313,316はそれぞれINV
330.333出力「1」によってオンになっている。
P)? , CAI O, and PRCB 11 do not conflict, AND313 and 316 are INV
330.333 Turned on by output "1".

前記PRCAIOがC8Aを「1」にすると、AND3
11,312および317がオンになるとともにそれぞ
れ0R340,343を介してM E Mo 20 、
 M E M + 21のC8が「1」になり、該PR
CA10は核内MEMをアクセスする。前記PRCAI
Oが書込み制御信号WAを11」にすると、前記AND
312出力は前記MEMo20のメモリ書込み制御信号
(以下W)を11」にするとともに0ft344を介し
て前記MEM、21のWを「1」にするので核内MEM
に書込み指示が行われ、ADH,Aはそれぞれ前記AN
D313,0几341およびAND317,0几342
を介して該MEMO20およびMEMI 21のADR
として転送される。また前記AND311を介した繭記
P几CAl0からのWDAは前記MEMo20のWDと
して転送されるとともに0R4345を介して前記ME
Mt21のWDとして転送される。従って前記P凡CA
IQからの書込みデータは前記両MEMの同一アドレス
に同時に書き込まれる。
When the PRCAIO sets C8A to “1”, AND3
11, 312 and 317 are turned on and M E Mo 20 through 0R340, 343 respectively,
C8 of M E M + 21 becomes “1” and the PR
CA10 accesses nuclear MEM. Said PRCAI
When O sets the write control signal WA to 11'', the AND
312 output sets the memory write control signal (hereinafter referred to as W) of the MEMo20 to "11" and sets the W of the MEM and 21 to "1" via 0ft344, so the MEM in the nucleus
A write instruction is given to the AN, and ADH and A are respectively written to the AN.
D313,0 341 and AND317,0 342
ADR of MEMO20 and MEMI21 via
will be transferred as In addition, the WDA from Mayuki P 几 CAl0 via the AND311 is transferred as the WD of the MEMo20, and is also transferred to the MEMo via 0R4345.
It is transferred as a WD of Mt21. Therefore, the said P
Write data from IQ is simultaneously written to the same address of both MEMs.

次にアクセスが衝突した場合、例えばPftCBllが
MEM+ 21を読出しアクセス中にPRCAloがM
EMにデータ書込みを行う場合、該PRCB11とME
M、21との間では一般に知られているデータ読出し動
作が行われる。すなわち、C8Bを「1」にすることに
よって0R343を介してC8を1゛1」にするととも
KAND320゜321をオン圧し、読出し制御信号R
Bを「1」にすることによりメモリ読出し制御信号Rを
「1」にし、ADRDB前記AND320.0R342
を介してADRとして転送するので、前記MEM113
− 21の所定アドレスの几りは前記AND321を介して
RDBとして読み出される。この読出しアクセス動作中
、前記CABは「1」になっているので、AND314
はオン、AND 316はINv333出力rOJによ
りオフになっており、AND315には■Nv332出
力「0」が与えられている。一方前記P几CAl0とM
 E M o 20の間では前述のアクセスが衝突しな
い場合と同様の動作で該MEMo20の所定のアドレス
にWDの書込みが行われるとともにADRAがAND3
13を介して几EG300のD0端子に入力され該RB
G300に記憶されるが、前記AND 316従ってA
ND 317がオフ状態なので前記MEM。
Next, when accesses collide, for example, while PftCBll is reading MEM+21 and accessing it, PRCAlo is accessing MEM+21.
When writing data to EM, the PRCB11 and ME
A generally known data read operation is performed between M and 21. That is, by setting C8B to ``1'', C8 is set to 1゛1'' via 0R343, and KAND320゜321 is turned on, and the read control signal R
By setting B to "1", the memory read control signal R is set to "1", and the ADRDB AND320.0R342
Since the MEM113 is transferred as ADR via
-21 predetermined addresses are read out as RDB via the AND 321. During this read access operation, the CAB is "1", so the AND314
is on, AND 316 is turned off by INv333 output rOJ, and AND315 is given ■Nv332 output "0". On the other hand, the P 几 CAl0 and M
Between the E Mo 20, WD is written to a predetermined address of the MEMo 20 in the same manner as in the case where there is no access conflict, and ADRA is AND3
13 to the D0 terminal of the EG300 and the corresponding RB
G300, but the AND 316 therefore A
Since ND 317 is in the off state, the MEM.

21へのメモリ書込みアドレス転送は行われない。Memory write address transfer to 21 is not performed.

なおC8Aが「1」になっているので工Nv331出力
「0」により前記AND315がオフにされ、また前記
AND314出力「1」によりF/F302はセットさ
れ、該F/F 302出力「1」が該A、ND315に
与えられている。次いで、前記PFLCAI O、Pf
LCB 11の上記アクセス動14− 作が終了すると前記C8A 、C8BがrOJになるの
で前記AND315がオンになってTM303が起動さ
れる。該TM303からのGTが11」になると、それ
ぞれO几340.前記0ft343を介して前記両ME
MのC8が「1」になり、まi前記AND313UIN
V330出力「0」によってオフとなるので前記PRC
AIOからADf(、Aの入力があっても阻止され、前
記R,EG300の記憶内容(アドレス信号)が、前記
GTによりオンになったAND319を介し更にそれぞ
れ0aa4i、前記Oft、342を介して、前記両M
EMへADRとして転送される。前記’rM303から
のWftは0R344を介して前記MEM、21にメモ
リ書込制御信号Wとして与えられる。従って前記MEM
o20の所定アドレスのf(Dは、前記GTによりオン
になったAND 318および0R345を介して前記
MEM121のWDとして転送され所定アドレスに書き
込まれる。この書込み動作が終了すると前記TM303
はR8を「1」にして前記F/F302をリセットさせ
る。
Since C8A is "1", the AND315 is turned off by the output "0" of the Nv331, and the F/F 302 is set by the output "1" of the AND314, and the output "1" of the F/F 302 is set. A, given in ND315. Then, the PFLCAI O, Pf
When the access operation 14- of the LCB 11 is completed, the C8A and C8B become rOJ, so the AND315 is turned on and the TM303 is activated. When the GT from the TM303 becomes 11'', each becomes O 340. Both MEs via the 0ft343
C8 of M becomes "1", and the above AND313UIN
Since it is turned off by the V330 output "0", the PRC
Even if there is an input of ADf (, A) from AIO, it is blocked, and the stored contents (address signal) of R, EG 300 are transmitted through AND 319 turned on by GT, and further through 0aa4i and Of, 342, respectively. Both M
Transferred to EM as ADR. Wft from the 'rM303 is given to the MEM 21 as a memory write control signal W via the 0R344. Therefore, the MEM
o20's predetermined address f(D is transferred as the WD of the MEM121 through the AND 318 and 0R345 turned on by the GT and written to the predetermined address. When this write operation is completed, the TM303
sets R8 to "1" and resets the F/F 302.

なおAND310はP几CAl0がMEMo20を読出
しアクセスする際使用されるゲート回路でありAND3
21と同様なので詳細説明を省く。
Note that AND310 is a gate circuit used when PCA10 reads and accesses MEMo20, and AND3
Since it is the same as No. 21, detailed explanation will be omitted.

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

以上の説明により明らかなように本発明のメモリ装置制
御方式によれば、メモリアクセス切替制御手段を備える
ことにより共通メモリ装置へのアクセスが衝突したとき
でも制御装置側から見て該共通メモリ装置での待合せが
生じないので、実時間処理要求を満たすことができ且つ
両制御装置の合計処理時間が著しく短縮されるという効
果が生じる。
As is clear from the above description, according to the memory device control method of the present invention, by providing the memory access switching control means, even when there is a conflict in accesses to the common memory device, the common memory device is Since no queuing occurs, real-time processing requests can be satisfied and the total processing time of both control devices can be significantly shortened.

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

第1図、第2図(a) l (b)は本発明のメモリ装
置制御方式の一実施例を示すブロック図、第3図は第1
図、第2図(a) 、 (b)におけるメモリアクセス
切替制御装置の主要部の一例を示す回路図および第4図
は第3図におけるタイミング回路に関連する各種信号の
タイムチャートである。 図において%10111・・・・・・制御装置PRCA
。 PRCB、20.21・・−・−メモリ装[MEMo。 MBM、、30・・・・・・メモリアクセス切替制御装
置MCNT、300・・・・・・アドレスレジスタBE
G。 301・・・・・・制御部CN’l’、302・・・・
・・フリップフロップF/F、303・・・・・・タイ
ミング回路TM。 310、〜321・・・・・・アンドゲート、33o、
〜333゛°°・°・インバータ、340.〜345・
・・・・・オアゲート。 −17へ
FIGS. 1 and 2 (a) and 2 (b) are block diagrams showing one embodiment of the memory device control method of the present invention, and FIG.
2(a) and 2(b) are circuit diagrams showing an example of the main parts of the memory access switching control device, and FIG. 4 is a time chart of various signals related to the timing circuit in FIG. 3. In the figure, %10111...Control device PRCA
. PRCB, 20.21...-Memory unit [MEMo. MBM, 30...Memory access switching control device MCNT, 300...Address register BE
G. 301...Control unit CN'l', 302...
...Flip-flop F/F, 303...Timing circuit TM. 310, ~321...and gate, 33o,
~333゛°°・°・Inverter, 340. ~345・
...or gate. -17 to

Claims (1)

【特許請求の範囲】[Claims] (1)2つの制御装置に共通な2つのメモリ装置を介し
て情報の転送を行う情報転送方式に2いC1一方の制御
装置から前記2つのメモリ装置に情報書込みアクセスを
行う際に、他方の制御装置がいずれのメモリ装置をもア
クセスしていないときは前記2つのメモリ装置の同一ア
ドレスに同一情報を書き込み、また他方の制御装置が一
方のメモリ装置をアクセスしているときは他方のメモリ
装置へ前記情報を書き込むとともKその書込みアドレス
を一時記憶し且つ前記両制御装置の前記アクセスがとも
に終了したとき前記他方のメモリ装置の前記アドレスの
情報を前記一方のメモリ装置の前記アドレスに書き込む
ようになすメモリアクセス切替制御手段を備えることを
特徴とするメモリ装置制御方式。 (2、特許請求の範囲第(1)項記載のメモリ装置制御
方式において、メモリアクセス切替制御手段は書込みア
ドレスを一時記憶するレジスタと、メモリアクセス状態
の監視およびメモリ装置間の情報転送制御を行う制御部
を含むことを特徴とするメモリ装置制御方式。
(1) An information transfer method in which information is transferred via two memory devices that are common to two control devices.C1 When one control device performs information write access to the two memory devices, the other When the control device is not accessing either memory device, the same information is written to the same address of the two memory devices, and when the other control device is accessing one memory device, the same information is written to the other memory device. When the information is written to the memory device, the write address is temporarily stored, and when the accesses of both the control devices are completed, the information of the address of the other memory device is written to the address of the one memory device. 1. A memory device control method, comprising: memory access switching control means. (2. In the memory device control method described in claim (1), the memory access switching control means includes a register that temporarily stores the write address, monitors the memory access state, and controls information transfer between the memory devices. A memory device control method comprising a control unit.
JP57223470A 1982-12-20 1982-12-20 Controlling system of memory device Granted JPS59112351A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57223470A JPS59112351A (en) 1982-12-20 1982-12-20 Controlling system of memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57223470A JPS59112351A (en) 1982-12-20 1982-12-20 Controlling system of memory device

Publications (2)

Publication Number Publication Date
JPS59112351A true JPS59112351A (en) 1984-06-28
JPH0370816B2 JPH0370816B2 (en) 1991-11-11

Family

ID=16798638

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57223470A Granted JPS59112351A (en) 1982-12-20 1982-12-20 Controlling system of memory device

Country Status (1)

Country Link
JP (1) JPS59112351A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0573470A (en) * 1991-09-12 1993-03-26 Nec Corp Dual port storage device
JPH06214871A (en) * 1992-12-04 1994-08-05 Internatl Business Mach Corp <Ibm> Dual-port electronic data storage system and electronic data storage system as well as simultaneous access method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0573470A (en) * 1991-09-12 1993-03-26 Nec Corp Dual port storage device
JPH06214871A (en) * 1992-12-04 1994-08-05 Internatl Business Mach Corp <Ibm> Dual-port electronic data storage system and electronic data storage system as well as simultaneous access method

Also Published As

Publication number Publication date
JPH0370816B2 (en) 1991-11-11

Similar Documents

Publication Publication Date Title
JPS60200287A (en) Memory unit
JPS59112351A (en) Controlling system of memory device
JPS63288384A (en) Memory card
JPS62241045A (en) Storage device
JPH01195552A (en) Memory access control system
JP3745909B2 (en) File management method
JP2699482B2 (en) Data transfer control device
JPS6043764A (en) Information processing system
JPS6037062A (en) Memory reading-out method
JP2821176B2 (en) Information processing device
JP2635169B2 (en) Micro program controller
JPH0619737B2 (en) Memory access device
JPS63173143A (en) Memory interface circuit
JPH0329021A (en) Printer server
JPS61157955A (en) Tag control system
JPH02121053A (en) Test and set system
JPS58179977A (en) Memory controller
JPS589274A (en) Write data buffer control device
JPS63241785A (en) Semiconductor memory
JPH0756807A (en) Automatic memory bank switching system
JPS62298836A (en) Ram for program storage
JPH0652047A (en) Memory transfer system
JPH09160689A (en) Data transfer circuit
JPH0612329A (en) Ram rewriting system
JPS6095667A (en) High speed access system in external address space