JP2611644B2 - Write / read control device - Google Patents

Write / read control device

Info

Publication number
JP2611644B2
JP2611644B2 JP5337568A JP33756893A JP2611644B2 JP 2611644 B2 JP2611644 B2 JP 2611644B2 JP 5337568 A JP5337568 A JP 5337568A JP 33756893 A JP33756893 A JP 33756893A JP 2611644 B2 JP2611644 B2 JP 2611644B2
Authority
JP
Japan
Prior art keywords
write
read
signal
address
read address
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 - Lifetime
Application number
JP5337568A
Other languages
Japanese (ja)
Other versions
JPH07200248A (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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP5337568A priority Critical patent/JP2611644B2/en
Publication of JPH07200248A publication Critical patent/JPH07200248A/en
Application granted granted Critical
Publication of JP2611644B2 publication Critical patent/JP2611644B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、書き込み/読み出し制
御装置に関し、特に2ポートRAMにデータを書き込
み、書き込まれたデータを読み出す書き込み/読み出し
制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a write / read control device, and more particularly to a write / read control device for writing data to a two-port RAM and reading the written data.

【0002】[0002]

【従来の技術】2ポートRAMは、入力ポートと出力ポ
ートとを有し、書き込みデータの書き込みと、読み出し
データの読み出しとが、独立して行えるRAMである。
2. Description of the Related Art A two-port RAM is a RAM having an input port and an output port and capable of independently writing write data and reading read data.

【0003】従来の2ポートRAMの使用方法では、書
き込みフレームパルスに基づいて書き込みアドレス信号
を生成する書き込みアドレス生成部と、読み出しフレー
ムパルスに基づいて読み出しアドレス信号を生成する読
み出しアドレス生成部とを、同一のクロック信号で動作
させ、書き込みアドレスと読み出しアドレスとの間に一
定の位相差(番地差)を保ち、2ポートRAMに書き込
まれるデータを順次読み出すことが行われている。
In a conventional method of using a two-port RAM, a write address generator for generating a write address signal based on a write frame pulse, and a read address generator for generating a read address signal based on a read frame pulse include: It is operated with the same clock signal to keep a certain phase difference (address difference) between a write address and a read address, and sequentially read data to be written to a two-port RAM.

【0004】[0004]

【発明が解決しようとする課題】2ポートRAMに書き
込もうとする書き込みデータに、ノイズによるエラーが
発生した場合や、対局装置で発生したエラーが含まれて
いる場合など、書き込みデータにエラーが生じるような
状況下(アラーム発生時)では、書き込みフレームパル
スにもエラーが発生している可能性がある。このような
エラーが発生した書き込みフレームパルスに基づいて、
書き込みアドレス部が書き込みアドレス信号を生成する
場合、その書き込みアドレス信号は、不安定な信号とな
る。
An error occurs in the write data when the write data to be written to the two-port RAM includes an error due to noise or an error occurred in the game device. Under some circumstances (when an alarm occurs), an error may have occurred in the write frame pulse. Based on the write frame pulse in which such an error has occurred,
When the write address section generates a write address signal, the write address signal becomes an unstable signal.

【0005】従来の2ポートRAMの使用方法では、書
き込みアドレス部と読み出しアドレス部とが、互いに独
立しているので、書き込みアドレス信号が不安定になる
と、書き込みアドレスと読み出しアドレスとの位相差が
不安定になり、このとき読み出した読み出しデータの信
頼性が乏しいという問題点がある。
In the conventional method of using a two-port RAM, the write address section and the read address section are independent of each other. Therefore, when the write address signal becomes unstable, the phase difference between the write address and the read address becomes inconsistent. Thus, there is a problem that the read data read at this time is not reliable.

【0006】本発明は、書き込みデータにエラーが生じ
るような状況下での読み出しデータの信頼性を向上させ
ることを目的とする。
An object of the present invention is to improve the reliability of read data in a situation where an error occurs in write data.

【0007】[0007]

【課題を解決するための手段】本発明によれば、クロッ
ク信号を出力するクロック生成部と、書き込みフレーム
パルスと前記クロック信号とに基づいて書き込みアドレ
ス信号を生成する書き込みアドレス生成部と、前記クロ
ック信号と読み出しフレームパルスとに基づいて読み出
しアドレス信号を生成する読出アドレス生成部とを有
し、前記書き込みアドレス信号に基づいて2ポートRA
Mへ書き込みデータを書き込み、前記読み出しアドレス
信号に基づいて読み出しデータを前記2ポートRAMか
ら出力させる書き込み/読み出し制御装置において、前
記書き込みデータを監視してアラーム情報を検出し検出
信号を前記読み出しアドレス生成部へ出力するアラーム
情報検出装置と、前記書き込みアドレス信号を前記読み
出しアドレス生成部に供給する供給手段とを設け、前記
読み出しアドレス生成部が、前記検出信号が入力されて
いる間は前記書き込みアドレス信号に基づいて前記読み
出しアドレス信号を生成するようにしたことを特徴とす
る書き込み/読み出し制御装置が得られる。
According to the present invention, a clock generator for outputting a clock signal; a write address generator for generating a write address signal based on a write frame pulse and the clock signal; A read address generating unit for generating a read address signal based on a read signal and a read frame pulse.
In a write / read control device for writing write data to M and outputting read data from the two-port RAM based on the read address signal, the write data is monitored to detect alarm information and generate a detection signal to generate the read address. An alarm information detecting device that outputs the write address signal to the read address generating unit, and the read address generating unit outputs the write address signal while the detection signal is being input. The read / write control device is characterized in that the read address signal is generated based on the following.

【0008】[0008]

【実施例】以下、図面を参照して本発明の実施例を説明
する。図1に、本発明の一実施例のブロック図を示す。
図1に示すように本実施例の2ポートRAM制御装置
は、2ポートRAM1にそれぞれ接続された書き込みア
ドレス生成部2及び読み出しアドレス生成部3と、書き
込みデータ4からアラーム情報を検出し呼び出しアドレ
ス生成部に検出信号を出力するアラーム情報検出部5
と、書き込みアドレス生成部2及び読み出しアドレス生
成部3にクロック信号を供給するクロック生成部6とを
有している。また、この2ポートRAM制御装置は、書
き込みアドレス生成部2が出力する書き込みアドレス信
号を読み出しアドレス生成部3に供給する信号線7を有
している。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a block diagram of an embodiment of the present invention.
As shown in FIG. 1, the two-port RAM control device according to the present embodiment detects the alarm information from the write data 4 and the write address generation unit 2 and the read address generation unit 3 connected to the two-port RAM 1 and generates the call address. Alarm information detection unit 5 that outputs a detection signal to the unit
And a clock generator 6 for supplying a clock signal to the write address generator 2 and the read address generator 3. Further, the two-port RAM control device has a signal line 7 for supplying a write address signal output from the write address generator 2 to the read address generator 3.

【0009】次に、この2ポートRAM制御装置の動作
を説明する。通常動作状態では、書き込みアドレス生成
部2は、クロック生成部6からのクロック信号をトリガ
に、書き込みアドレスの先頭を示す書き込みフレームパ
ルス(WFP)に基づいて書き込みアドレス信号を生成
する。また、読み出しアドレス生成部3は、同様に、ク
ロック生成部6からのクロック信号をトリガに、読み出
しアドレスの先頭を示す読み出しフレームパルス(RF
P)に基づいて読み出しアドレス信号を生成する。な
お、読み出しアドレス生成部3は、読み出しアドレスが
書き込みアドレスと一定の位相関係を持つような読み出
しアドレス信号を生成する。
Next, the operation of the two-port RAM control device will be described. In the normal operation state, the write address generator 2 generates a write address signal based on a write frame pulse (WFP) indicating the head of the write address, triggered by the clock signal from the clock generator 6. Similarly, the read address generation unit 3 also uses the clock signal from the clock generation unit 6 as a trigger to set a read frame pulse (RF
A read address signal is generated based on P). Note that the read address generation unit 3 generates a read address signal such that the read address has a certain phase relationship with the write address.

【0010】書き込みアドレス生成部2から出力された
書き込みアドレス信号は、2ポートRAM1へ入力さ
れ、書き込みアドレスにしたがって、書き込みデータ4
が2ポートRAM1に書き込まれる。一方、読み出しア
ドレス生成部3から出力された読み出しアドレス信号も
2ポートRAM1へ入力され、読み出しアドレスにした
がって、読み出しデータ8が2ポートRAM1から読み
出される。
The write address signal output from the write address generator 2 is input to the two-port RAM 1 and the write data 4 is written in accordance with the write address.
Is written to the two-port RAM 1. On the other hand, the read address signal output from the read address generation unit 3 is also input to the two-port RAM 1, and the read data 8 is read from the two-port RAM 1 according to the read address.

【0011】書き込みデータにノイズなどによるエラー
(アラーム情報)が含まれているとき、アラーム情報検
出部5は、アラーム情報を検出して検出信号を読み出し
アドレス生成部3へ出力する。この検出信号は、アラー
ム情報が検出されている間、継続的に出力される。
When the write data contains an error (alarm information) due to noise or the like, the alarm information detecting section 5 detects the alarm information and outputs a detection signal to the address generating section 3. This detection signal is continuously output while the alarm information is being detected.

【0012】読み出しアドレス生成部3は、アラーム検
出信号が入力されると、書き込みアドレス生成部2から
の書き込みアドレス信号に基づいて、書き込みアドレス
と一定の位相差を有する読み出し信号を生成する。
When the alarm detection signal is input, the read address generator 3 generates a read signal having a predetermined phase difference from the write address based on the write address signal from the write address generator 2.

【0013】この様に、本実施例の2ポートRAM制御
装置では、書き込みアドレスと読み出しアドレスとの位
相差が不安定になりそうな場合は、書き込みアドレス信
号に基づいて読み出しアドレス信号を生成するようにし
たことで、位相差を安定させることができ、読み出しデ
ータの信頼性を向上させることができる。
As described above, in the two-port RAM control device of this embodiment, when the phase difference between the write address and the read address is likely to be unstable, the read address signal is generated based on the write address signal. By doing so, the phase difference can be stabilized, and the reliability of read data can be improved.

【0014】書き込みデータからアラーム情報が検出さ
れなくなると、アラーム情報検出部5は、検出信号の出
力を停止する。これにより、読み出しアドレス生成部3
は、通常どおり、クロック生成部6からのクロック信号
をトリガに、読み出しアドレスの先頭を示す読み出しフ
レームパルスに基づいて読み出しアドレス信号を生成す
る。
When the alarm information is no longer detected from the write data, the alarm information detector 5 stops outputting the detection signal. Thereby, the read address generation unit 3
Generates a read address signal based on a read frame pulse indicating the beginning of a read address, triggered by a clock signal from the clock generator 6 as usual.

【0015】[0015]

【発明の効果】本発明によれば、書き込みデータからア
ラーム情報が検出されたときは、書き込みアドレス信号
に基づいて読み出しアドレス信号を生成するようにした
ことで、読み出しデータの信頼性が向上する。
According to the present invention, when alarm information is detected from write data, the read address signal is generated based on the write address signal, thereby improving the reliability of the read data.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

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

1 2ポートRAM 2 書き込みアドレス生成部 3 読み出しアドレス生成部 4 書き込みデータ 5 アラーム情報検出部 6 クロック生成部 7 信号線 8 読み出しデータ Reference Signs List 1 2-port RAM 2 Write address generator 3 Read address generator 4 Write data 5 Alarm information detector 6 Clock generator 7 Signal line 8 Read data

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 クロック信号を出力するクロック生成部
と、書き込みフレームパルスと前記クロック信号とに基
づいて書き込みアドレス信号を生成する書き込みアドレ
ス生成部と、前記クロック信号と読み出しフレームパル
スとに基づいて読み出しアドレス信号を生成する読出ア
ドレス生成部とを有し、前記書き込みアドレス信号に基
づいて2ポートRAMへ書き込みデータを書き込み、前
記読み出しアドレス信号に基づいて読み出しデータを前
記2ポートRAMから出力させる書き込み/読み出し制
御装置において、前記書き込みデータを監視してアラー
ム情報を検出し検出信号を前記読み出しアドレス生成部
へ出力するアラーム情報検出装置と、前記書き込みアド
レス信号を前記読み出しアドレス生成部に供給する供給
手段とを設け、前記読み出しアドレス生成部が、前記検
出信号が入力されている間は前記書き込みアドレス信号
に基づいて前記読み出しアドレス信号を生成するように
したことを特徴とする書き込み/読み出し制御装置。
1. A clock generator for outputting a clock signal, a write address generator for generating a write address signal based on a write frame pulse and the clock signal, and a read operation based on the clock signal and a read frame pulse. A read address generation unit for generating an address signal; writing / reading the write data to the 2-port RAM based on the write address signal; and outputting the read data from the 2-port RAM based on the read address signal. In the control device, an alarm information detection device that monitors the write data, detects alarm information, and outputs a detection signal to the read address generation unit, and a supply unit that supplies the write address signal to the read address generation unit Provided, said A read / write control device, wherein the read address generation unit generates the read address signal based on the write address signal while the detection signal is being input.
【請求項2】 前記読み出しアドレス生成部が、前記検
出信号が入力されている間、前記書き込みアドレス信号
が示す書き込みアドレスと所定の位相差を有する読み出
しアドレスを示す読み出しアドレス信号を生成するよう
にしたことを特徴とする請求項1の書き込み/読み出し
制御装置。
2. The read address generation unit generates a read address signal indicating a read address having a predetermined phase difference from a write address indicated by the write address signal while the detection signal is being input. 2. The write / read control device according to claim 1, wherein:
JP5337568A 1993-12-28 1993-12-28 Write / read control device Expired - Lifetime JP2611644B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5337568A JP2611644B2 (en) 1993-12-28 1993-12-28 Write / read control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5337568A JP2611644B2 (en) 1993-12-28 1993-12-28 Write / read control device

Publications (2)

Publication Number Publication Date
JPH07200248A JPH07200248A (en) 1995-08-04
JP2611644B2 true JP2611644B2 (en) 1997-05-21

Family

ID=18309873

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5337568A Expired - Lifetime JP2611644B2 (en) 1993-12-28 1993-12-28 Write / read control device

Country Status (1)

Country Link
JP (1) JP2611644B2 (en)

Also Published As

Publication number Publication date
JPH07200248A (en) 1995-08-04

Similar Documents

Publication Publication Date Title
US5226006A (en) Write protection circuit for use with an electrically alterable non-volatile memory card
JP2611644B2 (en) Write / read control device
US6697917B1 (en) Processor having cache purge controller
JP3225904B2 (en) Circuit failure detection circuit
JPH0612273A (en) Data memory monitor system
JPH08221331A (en) Circuit and method for detecting memory slip
JP2906850B2 (en) Time-division switch monitoring circuit
JPH0254582B2 (en)
JP2674895B2 (en) Time slot replacement function diagnostic method
JP2979918B2 (en) Interrupt detection circuit
JPH04350745A (en) Storage discriminating circuit
JP2586072B2 (en) Storage device
KR970067274A (en) How to detect position error signal of hard disk drive
JPS6131547B2 (en)
JPH0667996A (en) Velocity conversion circuit with erroneous operation detecting function
JPH05265613A (en) Data transfer circuit
JPH0562369A (en) Error detecting circuit and magnetic disk device
JPS59171096A (en) Magnetic bubble memory device
JPH06110790A (en) Memory controller
JPH05344184A (en) Line connecting part monitor circuit
JPH11120713A (en) Encoding circuit
KR960008828B1 (en) Self test device and test method of memory board
JPH0358216A (en) Magnetic disk controller
JPH07160586A (en) Method and circuit for memory monitoring
JPH0916334A (en) D/a converting device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970107