JP4182321B2 - Dual port memory system - Google Patents

Dual port memory system Download PDF

Info

Publication number
JP4182321B2
JP4182321B2 JP2001118333A JP2001118333A JP4182321B2 JP 4182321 B2 JP4182321 B2 JP 4182321B2 JP 2001118333 A JP2001118333 A JP 2001118333A JP 2001118333 A JP2001118333 A JP 2001118333A JP 4182321 B2 JP4182321 B2 JP 4182321B2
Authority
JP
Japan
Prior art keywords
port memory
dual port
access
memory device
cpu
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 - Fee Related
Application number
JP2001118333A
Other languages
Japanese (ja)
Other versions
JP2002312234A (en
Inventor
憲二 原
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric Corp
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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP2001118333A priority Critical patent/JP4182321B2/en
Publication of JP2002312234A publication Critical patent/JP2002312234A/en
Application granted granted Critical
Publication of JP4182321B2 publication Critical patent/JP4182321B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、デュアルポートメモリシステムに関し、特に、通信部とCPUとの双方からの同時アクセスを許容するデュアルポートメモリ装置に生じるアクセス競合を調停するアクセス調停回路を具備したデュアルポートメモリシステムに関する。
【0002】
【従来の技術】
従来、通信部とCPUの双方からのデュアルポートメモリ装置への同時アクセスを調停する方法としては、先着優先のルールの下に、相互にREADY信号で制御する方法と、READY入力が無いCPUの場合は、同時アクセスの際の待機(WAIT)時間分を予め見込んだアクセスタイムを規定しておく方法とが採用されていた。
この分野の先行出願特許として、例えば、特開平5−324533号公報「デュアルポートメモリ装置」には、CPU間通信時などでメモリ素子アレイに対するアクセス効率を向上させるために、メモリ素子アレイに対して2つのCPUからの相次ぐ同時アクセスがなされた時に、これらアクセスの対象となるアクセスアドレス空間が実際に重なっているか否かまで検証する技術が開示されている。
【0003】
【発明が解決しようとする課題】
ところで、上記従来技術のように、READY入力が無いCPUの場合で、同時アクセスの際の待機(WAIT)時間分を予め見込んだアクセスタイムを規定しておく方法では、デュアルポートメモリ装置のアクセスに多大の時間を要するといった問題点が有った。
また、特開平5−324533号公報に開示されている「デュアルポートメモリ装置」の方法では、CPU間通信で使用される共通メモリ(デュアルポートメモリ装置)は、単に共通使用可能なバッファメモリとしてCPU間で独立に使用されることもあるが、本来は、CPU間で互いにデータの受け渡しを行うために設置されるメモリ装置であるので、同時アクセスの際のアドレス空間が重なる使用形態が普通の使用形態であり、従って、根本的解決手段には至らない。
本発明は、以上のような従来のデュアルポートメモリシステムにおける問題点に鑑みてなされたものであり、通信部とCPUとの双方からのアクセスを許容するデュアルポートメモリ装置に生じるアクセス競合を調停することができるデュアルポートメモリシステムを提供することを目的とする。
【0004】
【課題を解決するための手段】
本発明では上記の課題を解決するために、送信バッファ及び受信バッファ(以後、「送受信バッファ」と言う)を内部に具備した通信部と、CPUと、前記通信部と前記CPUとの双方からアクセスされるデュアルポートメモリ装置と、を具備したデュアルポートメモリシステムにおいて、前記通信部に、前記通信部から前記デュアルポートメモリ装置への所定の時点のアクセス要求を前記デュアルポートメモリ装置への一連のアクセス信号に変換すると共に前記デュアルポートメモリ装置へのアクセス要求が前記CPUからのアクセス要求と競合する局面が生じた場合には前記CPU側にアクセスの優先権を付与するアクセス調停手段を具備し、かつ、前記通信部は、前記送受信バッファ内に送受信データが格納された時点で、前記デュアルポートメモリ装置へのアクセス要求を前記アクセス調停手段に送出することにより、前記通信部の送受信動作を即時に待機状態にすることを特徴とするデュアルポートメモリシステムが提供される。
また、前記アクセス調停手段は、前記デュアルポートメモリ装置へのアクセス要求を受け取った時点を起点として前記デュアルポートメモリ装置への一連のアクセス信号を順次に送出するシーケンス処理手段と、前記シーケンス処理手段の実行途上で、前記CPUからの前記デュアルポートメモリ装置へのアクセス信号が送出された場合に、前記シーケンス処理手段の実行を一時中断するシーケンス処理中断手段と、前記CPUからのアクセス要求による前記デュアルポートメモリ装置へのアクセスが完了すると同時に前記シーケンス処理手段の実行を再開するシーケンス処理再開手段とを具備することが可能である。
即ち、本発明では、通信部とCPUの双方からアクセスされるデュアルポートメモリ装置を具備したデュアルポートメモリシステムにおいて、通信部には送受信データを一時的にプールする送受信バッファが設置され、かつ該送受信バッファ内のデータがシフトされてシリアル−パラレル変換されるまでに時間的な余裕が有ることに着目し、通信部とCPUの双方からのデュアルポートメモリ装置へのアクセスに競合が生じた場合にCPUの方にアクセスの優先権を付与するルールを実行するアクセス調停回路(順序回路)を設置し、送受信バッファ内に送受信データが入った時点(上記シリアル−パラレル変換がなされる前の時点)で、通信部からデュアルポートメモリ装置へのアクセスを要求する起動信号を上記アクセス調停回路に送出する手段と、上記起動信号を受けた上記アクセス調停回路が、既にデュアルポートメモリ装置へのアクセス信号及びリード/ライト信号を順次に送出するシーケンス処理をしている途中で、CPUからの上記デュアルポートメモリ装置へのアクセス信号が出された場合に、上記通信部からの起動信号を起点とする上記アクセス調停回路におけるシーケンス処理を一時中断する手段と、上記CPUからのアクセス要求によるデュアルポートメモリ装置へのアクセスが完了すると同時に上記通信部からのシーケンス処理を再開する手段とを設けることで、通信部とCPUとの双方からのアクセスを許容するデュアルポートメモリ装置に生じるアクセス競合を調停している。
【0005】
【発明の実施の形態】
以下、本発明の実施の形態を図面に基づいて説明する。
図1は、本発明の実施の形態に係るデュアルポートメモリシステムの1構成例を示すブロック図である。
図1に示すデュアルポートメモリシステムは、デュアルポートを有するデュアルポートメモリ装置1と、受信データを受け取る受信バッファ2と、送信データを一時的に溜めておく送信バッファ3と、アクセス競合を調停するアクセス調停回路4(アクセス調停手段)とを含む。
デュアルポートメモリ装置1は、読み書き可能な記憶装置(RAM)である。また、受信バッファ2、送信バッファ3は、シフトレジスタである。さらに、アクセス調停回路4は、通信処理の場合のインタフェースとして機能する順序回路(詳細は後述する)である。
なお、CPU10は、本システムの外部に設置された計算機である。また、受信バッファ2と、送信バッファ3も、本システムの外部に配置することが可能である。
【0006】
図2は、本発明の実施の形態に係るデュアルポートメモリシステムのアクセス調停回路の1構成例を示すブロック図である。
図2に示すアクセス調停回路は、タイミングをカウントするカウンタ20と、ネガティブエッヂ駆動のフリップフロップ21と、CPU10から出された/CS0信号を1論理入力とするANDゲート22と、受信シーケンスキック信号の否定と送信シーケンスキック信号の否定とをそれぞれ1論理入力とするNORゲート23と、送信シーケンスキック信号の否定をフリップフロップ21への1論理入力として出力するインバータ24と、/CS0信号の否定を1論理入力とするNANDゲート25と、カウンタ20の出力を受けるEORゲート26と、カウンタ20の出力の否定を入力するNANDゲート27と、NANDゲート27の否定とフリップフロップ21の出力とを論理入力とするNANDゲート28と、NANDゲート27の否定とフリップフロップ21の出力の否定とを論理入力とするNANDゲート29とを含む。
【0007】
なお、図2で、符号CPは、クロック信号(クロックパルス)を示す。
以下、本実施の形態に係るデュアルポートメモリシステムの動作を説明する。
デュアルポートメモリ装置1は、外部のCPU10と、通信部のインタフェースとして機能するアクセス調停回路4との双方から独立のポートを介してアクセスされる。受信された受信データRXDは、シフトレジスタである受信バッファ2内で、送信すべき送信データTXDは、シフトレジスタである送信バッファ3内で、それぞれシリアル−パラレル変換され、その後、1段のバッファとして機能する受信バッファ2と送信バッファ3に、それぞれ保持される。
まず、受信時には、受信データRXDが順次に受信バッファ2に入り、受信バッファ2内でシリアル−パラレル変換が完了すると、シーケンス回路(図示は省略)により、この受信データを格納すべきデュアルポートメモリ装置1のアドレスと共に受信シーケンスキック信号がアクセス調停回路4に送出され、これにより、図2に示すアクセス調停回路4によるメモリーアクセス機能が作動する。これにより、アクセス調停回路4では、/CS0信号の信号レベルがH(ハイレベル)の時に、カウンタ20(この直前はカウントF、即ちカウントFを示すカウンタ20のフリップフロップ(図示は省略)が信号ハイレベルで停止していた)に、カウンタ20の初期値であるカウントDがロードされる(即ち、カウントDを示すカウンタ20のフリップフロップが信号ハイレベルに転ずる)。
なお、/CS0信号の信号レベルがH(ハイレベル)の時に、送信シーケンスキック信号がキック(送出)された時には、上記の動作に加えて、さらにフリップフロップ21もH(ハイレベル)にセットされる。
また、/CS0信号の信号レベルがL(ローレベル)の時には、送信または受信シーケンスキック信号が到来した時には、カウンタ20には、カウント値Cがロードされ(即ち、カウントCを示すカウンタ20のフリップフロップが信号ハイレベルに転ずる)、送信または受信時の動作は待機状態になる(この時、デュアルポートメモリ装置1は、外部のCPU10からのアクセスを許容している)。カウンタ20は、/CS0信号の信号レベルがH(ハイレベル)であると、そのカウント値をD→E→Fへと進行させ、カウント値Fで停止する。
この間、カウンタ20の出力(カウント値)がDとEの時に、出力信号/CS1(ローレベル)を出力し、デュアルポートメモリ装置1のアクセスを開始する。
また、カウンタ20のカウント値がEの時には、出力信号/CS1(ローレベル)を出力すると共に、出力信号/RD1または出力信号/WR1が出力(ローレベル出力)される。この出力信号/RD1または出力信号/WR1のどちらが出力されるかは、受信シーケンスキック信号(デュアルポートメモリ装置1への書き込み信号)であったか、または送信シーケンスキック信号(デュアルポートメモリ装置1からの読み出し信号)が到来していたかを記憶しているフリップフロップ21の出力によって決定される。
但し、このカウンタ20のカウント値がEに転じた時には、次のクロックタイミングでフリップフロップ21がリセットされる。
なお、/CS0信号の信号レベルがH(ハイレベル)の時の通信処理におけるアクセス調停回路4の上記動作は、その途中に、外部のCPU10からのデュアルポートメモリ装置1へのアクセスが有って/CS0信号の信号レベルがL(ローレベル)に転じた場合には、以後の動作は、下記の動作に変更される。
まず、カウンタ20のカウント値がCまたはDの時には、カウンタ20のQB出力(即ち、信号A)のレベル値がL(ローレベル)になっているので、アボート信号ABのレベル値がL(ローレベル)になり、これにより、カウンタ20にはカウント値Cがロードされ(即ち、カウントCを示すカウンタ20のフリップフロップが信号ハイレベルに転ずる)、/CS0信号の信号レベルが最初からL(ローレベル)であった前述の場合と同様に、送信または受信時の動作は待機状態になる。
次に、カウンタ20のカウント値がEの時には、既にデュアルポートメモリ装置1への通信処理のためのアクセス信号(信号/CS1(ローレベル))が出力されているので、そのまま、カウンタ20のカウント値がFとなるのを待ってシーケンス動作を完了する。
【0008】
図3は、本発明の実施の形態に係るデュアルポートメモリシステムのアクセス調停回路の動作タイミングを示すタイミングチャートである。
図3からは、/CS1信号(ローレベル)が、/RD1信号(または/WR1信号)の出力(ローレベル出力)に先行して出力されている様子が分かる。
前述の図2に示すアクセス調停回路の動作では、カウンタ20のカウント値がEになったと同時に、/CS0信号の信号レベルがL(ローレベル)に転じた(外部のCPU10からの割り込みアクセスが到来した)としても、その後のCPU10のデュアルポートメモリ装置1への実際のアクセスには影響しない。
その理由は、図3に示すアクセス調停回路の通信処理の場合の出力信号である/CS1信号と、/RD1信号(または/WR1信号)とのタイミング関係と同様に、CPU10においても、/CS1信号に相当する信号が/RD1信号(または/WR1信号)に相当する信号よりも早めに出力されているからである。
【0009】
【発明の効果】
以上に説明したとおり、本発明では、通信部とCPUの双方からアクセスされるデュアルポートメモリ装置を具備したデュアルポートメモリシステムにおいて、通信部とCPUの双方からのデュアルポートメモリ装置へのアクセスに競合が生じた場合にCPUの方にアクセスの優先権を付与するルールを実行するアクセス調停回路を設ける構成としたので、上記デュアルポートメモリ装置に生じるアクセス競合を調停することができる。
【図面の簡単な説明】
【図1】本発明の実施の形態に係るデュアルポートメモリシステムの1構成例を示すブロック図である。
【図2】本発明の実施の形態に係るデュアルポートメモリシステムのアクセス調停回路の1構成例を示すブロック図である。
【図3】本発明の実施の形態に係るデュアルポートメモリシステムのアクセス調停回路の動作タイミングを示すタイミングチャートである。
【符号の説明】
1……デュアルポートメモリ装置、
2……受信バッファ、
3……送信バッファ、
4……アクセス調停回路(アクセス調停手段)、
10……CPU、
20……カウンタ、
21……フリップフロップ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a dual port memory system, and more particularly to a dual port memory system including an access arbitration circuit that arbitrates access contention that occurs in a dual port memory device that allows simultaneous access from both a communication unit and a CPU.
[0002]
[Prior art]
Conventionally, as a method of arbitrating simultaneous access to the dual port memory device from both the communication unit and the CPU, under a first-come-first-served rule, a method of mutual control with a READY signal and a case of a CPU without a READY input In this method, a method of prescribing an access time in which a standby (WAIT) time for simultaneous access is expected is adopted.
As a prior application patent in this field, for example, Japanese Patent Application Laid-Open No. 5-324533 “Dual Port Memory Device” describes a memory device array in order to improve access efficiency to the memory device array during communication between CPUs. A technique for verifying whether or not the access address spaces to be accessed are actually overlapped when successive simultaneous accesses from two CPUs are made is disclosed.
[0003]
[Problems to be solved by the invention]
By the way, in the case of a CPU having no READY input as in the prior art described above, in the method of prescribing the access time in which the standby (WAIT) time for simultaneous access is expected in advance, the dual port memory device is accessed. There was a problem that it took a lot of time.
In the method of “dual port memory device” disclosed in Japanese Patent Laid-Open No. 5-324533, a common memory (dual port memory device) used for inter-CPU communication is simply a buffer memory that can be used in common. It is a memory device that is originally installed to exchange data with each other between CPUs, but it is usually used in the form of overlapping address spaces for simultaneous access. It is a form and therefore does not lead to a fundamental solution.
The present invention has been made in view of the problems in the conventional dual port memory system as described above, and mediates access contention that occurs in a dual port memory device that allows access from both the communication unit and the CPU. It is an object to provide a dual port memory system that can be used.
[0004]
[Means for Solving the Problems]
In the present invention, in order to solve the above-described problem, a communication unit including a transmission buffer and a reception buffer (hereinafter referred to as “transmission / reception buffer”), a CPU, and access from both the communication unit and the CPU. In the dual port memory system comprising the dual port memory device, a series of accesses to the dual port memory device are made to the communication unit for an access request from the communication unit to the dual port memory device at a predetermined time. An access arbitration unit that converts the access request to the dual port memory device and grants access priority to the CPU when an access request to the CPU conflicts with an access request from the CPU; and The communication unit receives the dua when transmission / reception data is stored in the transmission / reception buffer. By sending an access request to a port memory device to the access arbitration unit, a dual port memory system, characterized by a standby state and receives operation of the communication unit immediately it is provided.
The access arbitration means includes a sequence processing means for sequentially sending a series of access signals to the dual port memory device starting from the time when an access request to the dual port memory device is received; and In the course of execution, when an access signal is sent from the CPU to the dual port memory device, sequence processing interrupting means for temporarily interrupting execution of the sequence processing means, and the dual port according to an access request from the CPU It is possible to provide a sequence process restarting means for restarting the execution of the sequence processing means at the same time as the access to the memory device is completed.
That is, in the present invention, in a dual port memory system including a dual port memory device accessed from both the communication unit and the CPU, the communication unit is provided with a transmission / reception buffer for temporarily pooling transmission / reception data, and the transmission / reception is performed. Focusing on the fact that there is a time margin between the shift of the data in the buffer and serial-to-parallel conversion, and when there is a conflict in access to the dual port memory device from both the communication unit and the CPU, the CPU When an access arbitration circuit (sequential circuit) that executes a rule for granting access priority to the user is installed and transmission / reception data enters the transmission / reception buffer (before the serial-parallel conversion is performed), Sends an activation signal requesting access from the communication unit to the dual port memory device to the access arbitration circuit. And the access arbitration circuit that has received the activation signal is already performing the sequence processing for sequentially sending the access signal and the read / write signal to the dual port memory device, and the dual port from the CPU. When an access signal to the memory device is issued, a means for temporarily interrupting the sequence processing in the access arbitration circuit starting from the activation signal from the communication unit, and a dual port memory device in response to an access request from the CPU When the access is completed, a means for resuming the sequence processing from the communication unit is provided, thereby arbitrating access contention occurring in the dual port memory device that allows access from both the communication unit and the CPU.
[0005]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing one configuration example of a dual port memory system according to an embodiment of the present invention.
The dual port memory system shown in FIG. 1 includes a dual port memory device 1 having dual ports, a reception buffer 2 that receives reception data, a transmission buffer 3 that temporarily stores transmission data, and an access that arbitrates access contention. And an arbitration circuit 4 (access arbitration means).
The dual port memory device 1 is a readable / writable storage device (RAM). The reception buffer 2 and the transmission buffer 3 are shift registers. Furthermore, the access arbitration circuit 4 is a sequential circuit (details will be described later) that function as an interface in the case of communication processing.
The CPU 10 is a computer installed outside the present system. Also, the reception buffer 2 and the transmission buffer 3 can be arranged outside the system.
[0006]
FIG. 2 is a block diagram showing one configuration example of the access arbitration circuit of the dual port memory system according to the embodiment of the present invention.
The access arbitration circuit shown in FIG. 2 includes a counter 20 that counts timing, a flip-flop 21 that is driven by a negative edge, an AND gate 22 that uses the / CS0 signal output from the CPU 10 as one logic input, and a reception sequence kick signal. NOR gate 23 having 1 logic input for negation and negation of transmission sequence kick signal, inverter 24 for outputting negation of transmission sequence kick signal as 1 logic input to flip-flop 21, and 1 for negation of / CS0 signal The NAND gate 25 as a logic input, the EOR gate 26 that receives the output of the counter 20, the NAND gate 27 that inputs the negation of the output of the counter 20, the negation of the NAND gate 27 and the output of the flip-flop 21 are the logic inputs. NAND gate 28 and NAND gate 27 The output of the negation and the negative and the flip-flop 21 and an NAND gate 29 to logic input.
[0007]
In FIG. 2, the symbol CP indicates a clock signal (clock pulse).
The operation of the dual port memory system according to this embodiment will be described below.
The dual port memory device 1 is accessed via an independent port from both the external CPU 10 and the access arbitration circuit 4 functioning as an interface of the communication unit. Received received data RXD is in the receiving buffer 2 is a shift register, transmit should do transmit data TXD is in a shift register within the transmit buffer 3, Serial respectively - are parallel conversion, then, as a buffer of one stage It is held in the functioning reception buffer 2 and transmission buffer 3, respectively.
First, at the time of reception, the reception data RXD sequentially enters the reception buffer 2, and when serial-parallel conversion is completed in the reception buffer 2, a dual port memory device in which the reception data is to be stored by a sequence circuit (not shown) A reception sequence kick signal is sent to the access arbitration circuit 4 together with the address 1, whereby the memory access function by the access arbitration circuit 4 shown in FIG. 2 is activated. Thereby, in the access arbitration circuit 4, when the signal level of the / CS0 signal is H (high level), the counter 20 (count F immediately before this, that is, the flip-flop (not shown) of the counter 20 indicating the count F) is signaled. The count D that is the initial value of the counter 20 is loaded (that is, the flip-flop of the counter 20 indicating the count D is turned to the signal high level).
If the transmission sequence kick signal is kicked (sent) when the signal level of the / CS0 signal is H (high level), the flip-flop 21 is also set to H (high level) in addition to the above operation. The
When the signal level of the / CS0 signal is L (low level), when a transmission or reception sequence kick signal arrives, the counter 20 is loaded with the count value C (that is, the counter 20 flip-flop indicating the count C). The operation at the time of transmission or reception enters a standby state (at this time, the dual port memory device 1 permits access from the external CPU 10). When the signal level of the / CS0 signal is H (high level), the counter 20 advances the count value from D → E → F and stops at the count value F.
During this time, when the output (count value) of the counter 20 is D and E, the output signal / CS1 (low level) is output, and the access to the dual port memory device 1 is started.
When the count value of the counter 20 is E, the output signal / CS1 (low level) is output, and the output signal / RD1 or the output signal / WR1 is output (low level output). Whether the output signal / RD1 or the output signal / WR1 is output is a reception sequence kick signal (a write signal to the dual port memory device 1) or a transmission sequence kick signal (reading from the dual port memory device 1) Signal) is determined by the output of the flip-flop 21 which stores whether it has arrived.
However, when the count value of the counter 20 changes to E, the flip-flop 21 is reset at the next clock timing.
The above operation of the access arbitration circuit 4 in the communication process when the signal level of the / CS0 signal is H (high level) includes an access to the dual port memory device 1 from the external CPU 10 in the middle thereof. When the signal level of the / CS0 signal changes to L (low level), the subsequent operation is changed to the following operation.
First, when the count value of the counter 20 is C or D, the level value of the abort signal AB is L (low) because the level value of the QB output (that is, the signal A) of the counter 20 is L (low level). Thus, the counter 20 is loaded with the count value C (that is, the flip-flop of the counter 20 indicating the count C is turned to the signal high level), and the signal level of the / CS0 signal is L (low) from the beginning. As in the case described above, the operation at the time of transmission or reception is in a standby state.
Next, when the count value of the counter 20 is E, the access signal (signal / CS1 (low level)) for communication processing to the dual port memory device 1 has already been output. The sequence operation is completed after waiting for the value to become F.
[0008]
FIG. 3 is a timing chart showing the operation timing of the access arbitration circuit of the dual port memory system according to the embodiment of the present invention.
FIG. 3 shows that the / CS1 signal (low level) is output prior to the output (low level output) of the / RD1 signal (or / WR1 signal ).
In the operation of the access arbitration circuit shown in FIG. 2, the signal level of the / CS0 signal changes to L (low level) at the same time as the count value of the counter 20 becomes E (interrupt access from the external CPU 10 arrives). However, it does not affect the subsequent actual access of the CPU 10 to the dual port memory device 1.
The reason is that, in the CPU 10 as well, the / CS1 signal is the same as the timing relationship between the / CS1 signal and the / RD1 signal (or / WR1 signal ), which is an output signal in the case of the communication processing of the access arbitration circuit shown in FIG. This is because the signal corresponding to is output earlier than the signal corresponding to the / RD1 signal (or / WR1 signal ).
[0009]
【The invention's effect】
As described above, according to the present invention, in a dual port memory system including a dual port memory device accessed from both the communication unit and the CPU, the access to the dual port memory device from both the communication unit and the CPU competes. Since an access arbitration circuit is provided to execute a rule that gives access priority to the CPU when an error occurs, access contention occurring in the dual port memory device can be arbitrated.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration example of a dual port memory system according to an embodiment of the present invention.
FIG. 2 is a block diagram showing a configuration example of an access arbitration circuit of the dual port memory system according to the embodiment of the present invention.
FIG. 3 is a timing chart showing the operation timing of the access arbitration circuit of the dual port memory system according to the embodiment of the present invention.
[Explanation of symbols]
1 …… Dual port memory device,
2 …… Reception buffer,
3 ... send buffer,
4. Access arbitration circuit (access arbitration means)
10 …… CPU,
20 …… Counter,
21 …… Flip-flop

Claims (2)

送信バッファ及び受信バッファ(以後、「送受信バッファ」と言う)を内部に具備した通信部と、CPUと、前記通信部と前記CPUとの双方からアクセスされるデュアルポートメモリ装置と、を具備したデュアルポートメモリシステムにおいて、
前記通信部に、前記通信部から前記デュアルポートメモリ装置への所定の時点のアクセス要求を前記デュアルポートメモリ装置への一連のアクセス信号に変換すると共に前記デュアルポートメモリ装置へのアクセス要求が前記CPUからのアクセス要求と競合する局面が生じた場合には前記CPU側にアクセスの優先権を付与するアクセス調停手段を具備し、
かつ、前記通信部は、前記送受信バッファ内に送受信データが格納された時点で、前記デュアルポートメモリ装置へのアクセス要求を前記アクセス調停手段に送出することにより、前記通信部の送受信動作を即時に待機状態にすることを特徴とするデュアルポートメモリシステム。
Dual comprising: a communication unit including a transmission buffer and a reception buffer (hereinafter referred to as “transmission / reception buffer”), a CPU, and a dual port memory device accessed from both of the communication unit and the CPU In the port memory system,
The communication unit converts the access request from the communication unit to the dual port memory device at a predetermined time into a series of access signals to the dual port memory device, and the access request to the dual port memory device is transferred to the CPU. When an aspect that conflicts with the access request from the access control means for granting access priority to the CPU side,
In addition, when the transmission / reception data is stored in the transmission / reception buffer, the communication unit transmits the access request to the dual port memory device to the access arbitration unit, thereby immediately performing the transmission / reception operation of the communication unit. A dual port memory system characterized by being in a standby state .
前記アクセス調停手段は、前記デュアルポートメモリ装置へのアクセス要求を受け取った時点を起点として前記デュアルポートメモリ装置への一連のアクセス信号を順次に送出するシーケンス処理手段と、前記シーケンス処理手段の実行途上で、前記CPUからの前記デュアルポートメモリ装置へのアクセス信号が送出された場合に、前記シーケンス処理手段の実行を一時中断するシーケンス処理中断手段と、前記CPUからのアクセス要求による前記デュアルポートメモリ装置へのアクセスが完了すると同時に前記シーケンス処理手段の実行を再開するシーケンス処理再開手段とを具備したことを特徴とする請求項記載のデュアルポートメモリシステム。The access arbitration means includes a sequence processing means for sequentially sending a series of access signals to the dual port memory device starting from the time when an access request to the dual port memory device is received; Then, when an access signal is sent from the CPU to the dual port memory device, sequence processing interrupting means for temporarily interrupting execution of the sequence processing means, and the dual port memory device according to an access request from the CPU dual port memory system of claim 1, wherein the access is characterized in that is provided with a resume sequence processing resuming means for executing simultaneously the sequence processing unit Upon completion of the.
JP2001118333A 2001-04-17 2001-04-17 Dual port memory system Expired - Fee Related JP4182321B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001118333A JP4182321B2 (en) 2001-04-17 2001-04-17 Dual port memory system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001118333A JP4182321B2 (en) 2001-04-17 2001-04-17 Dual port memory system

Publications (2)

Publication Number Publication Date
JP2002312234A JP2002312234A (en) 2002-10-25
JP4182321B2 true JP4182321B2 (en) 2008-11-19

Family

ID=18968744

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001118333A Expired - Fee Related JP4182321B2 (en) 2001-04-17 2001-04-17 Dual port memory system

Country Status (1)

Country Link
JP (1) JP4182321B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100827720B1 (en) 2006-10-16 2008-05-07 엠텍비젼 주식회사 Dual Port Memory having Access Control Device, Memory System Having the Same and Access Control Method for Dual Port Memory

Also Published As

Publication number Publication date
JP2002312234A (en) 2002-10-25

Similar Documents

Publication Publication Date Title
US6081860A (en) Address pipelining for data transfers
US7096296B2 (en) Supercharge message exchanger
US7263572B2 (en) Bus bridge and data transfer method
US5682551A (en) System for checking the acceptance of I/O request to an interface using software visible instruction which provides a status signal and performs operations in response thereto
US7512723B2 (en) Queued interface devices, multi-core peripheral systems, and methods for sharing a peripheral in a multi-core system
US5119480A (en) Bus master interface circuit with transparent preemption of a data transfer operation
JPH09190406A (en) Direct memory access controller and transmission system using the same
JPH02500784A (en) Node that handles interrupt request messages on the pending bus
USRE40261E1 (en) Apparatus and method of partially transferring data through bus and bus master control device
US7774513B2 (en) DMA circuit and computer system
EP1089501B1 (en) Arbitration mechanism for packet transmission
JP4182321B2 (en) Dual port memory system
US20040010644A1 (en) System and method for providing improved bus utilization via target directed completion
US11392533B1 (en) Systems and methods for high-speed data transfer to multiple client devices over a communication interface
JPH06149730A (en) System bus, bus control system, and its bus converting device
US6085271A (en) System bus arbitrator for facilitating multiple transactions in a computer system
JPH051504B2 (en)
US20050256991A1 (en) Method and apparatus for configuration space extension bus
JPH10320348A (en) Method and device for enabling cache streaming
KR0126583B1 (en) Requester read controller in system controller in system control module
JP2002278923A (en) Bus system, bus control system and bus conversion device
CN116909974A (en) Protection method and protection system for avoiding failure of SoC bus handshake mechanism
US9632793B2 (en) Method and device for aborting transactions, related system and computer program product
JPH0991247A (en) Bus arbiter
JP2001125694A (en) Bridge device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050419

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060324

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080402

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080530

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080806

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080819

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110912

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110912

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120912

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120912

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130912

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140912

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees