JPH05151142A - Interface circuit - Google Patents

Interface circuit

Info

Publication number
JPH05151142A
JPH05151142A JP3314908A JP31490891A JPH05151142A JP H05151142 A JPH05151142 A JP H05151142A JP 3314908 A JP3314908 A JP 3314908A JP 31490891 A JP31490891 A JP 31490891A JP H05151142 A JPH05151142 A JP H05151142A
Authority
JP
Japan
Prior art keywords
circuit
read
data
synchronous
write
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
JP3314908A
Other languages
Japanese (ja)
Other versions
JP2944280B2 (en
Inventor
Kenji Nakahara
賢二 中原
Kunihiko Doi
邦彦 土肥
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
NEC Engineering Ltd
Original Assignee
NEC Corp
NEC Engineering 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, NEC Engineering Ltd filed Critical NEC Corp
Priority to JP3314908A priority Critical patent/JP2944280B2/en
Publication of JPH05151142A publication Critical patent/JPH05151142A/en
Application granted granted Critical
Publication of JP2944280B2 publication Critical patent/JP2944280B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Static Random-Access Memory (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To execute the asynchronous reading and writing operations of a synchronizing dual port RAM by a CPU. CONSTITUTION:An interface circuit 10 of a synchronizing dual port RAM 30 and a CPU 20 consists of an address latch circuit for the RAM 30, a write data latch circuit, a read data buffer circuit, a data writing mode flag generating circuit, a flag generating circuit which shows a fact that the data to be read are valid, a flag reading buffer circuit, the generating circuits which produce the chip selection signal, the write enable signal, and the output enable signal to the RAM 30, and a program which secures the flag read/read-out/write timing through the buffer circuits.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、同期式2ポートRAM
とCPUのインタフェース回路に利用する。特に、LS
I内部の同期式2ポートRAMとCPUのインタフェー
ス回路に関する。
BACKGROUND OF THE INVENTION The present invention relates to a synchronous 2-port RAM.
And CPU interface circuit. In particular, LS
The present invention relates to an interface circuit between the internal synchronous 2-port RAM and the CPU.

【0002】[0002]

【従来の技術】従来、非同期式2ポートRAMは、図8
に示すように、同一アドレスに対して二つのポートを有
し、両ポートから読み出しおよび書き込みが可能であ
り、通常CPU間のデータ転送などに使用されている。
読み出しおよび書き込みシーケンスは、図3に示すよう
に、CPUからのアクセスにより非同期に行われる。
2. Description of the Related Art A conventional asynchronous 2-port RAM is shown in FIG.
As shown in (2), it has two ports for the same address and can read and write from both ports, and is usually used for data transfer between CPUs.
The read and write sequences are asynchronously performed by the access from the CPU, as shown in FIG.

【0003】[0003]

【発明が解決しようとする課題】回路のLSI化が進む
中で、同期式2ポートRAMを内部に持つLSIが作り
出されるようになってきた。同期式2ポートRAMとは
同期用クロックに同期して読み出しおよび書き込みを行
うもので、そのタイミングを図10に示す。この同期式
2ポートRAMをCPUがアクセスする場合に、図9に
示すタイミングで、CPUの読み出しおよび書き込み信
号を同期式2ポートRAMのアウトプットエネイブル信
号端子およびライトエネイブル信号端子に接続して読み
出しまたは書き込みを行っても、読み出しまたは書き込
み信号が低レベルの間に同期用クロックが立ち上りかつ
同期式2ポートRAMのデータがホールドされている間
に読み出しまたは書き込み信号が立ち上がらない限り、
CPUが読み出しまたは書き込みするデータは有効にな
らないので、正しく読み出しおよび書き込みを行うこと
ができない欠点があった。
With the progress of circuitization of LSIs, LSIs having a synchronous 2-port RAM inside have been created. The synchronous 2-port RAM performs reading and writing in synchronization with a synchronization clock, and the timing is shown in FIG. When the CPU accesses the synchronous 2-port RAM, the read and write signals of the CPU are connected to the output enable signal terminal and the write enable signal terminal of the synchronous 2-port RAM at the timing shown in FIG. Even if writing or writing is performed, unless the reading or writing signal rises while the synchronizing clock rises while the reading or writing signal is at the low level and the data of the synchronous 2-port RAM is held.
Since the data read or written by the CPU is not valid, there is a drawback that the correct reading and writing cannot be performed.

【0004】本発明は、このような欠点を除去するもの
で、CPUによる同期式2ポートRAMの非同期読み出
しおよび書き込みを実現するインタフェース回路を提供
することを目的とする。
The present invention eliminates such drawbacks, and an object of the present invention is to provide an interface circuit for realizing asynchronous reading and writing of a synchronous two-port RAM by a CPU.

【0005】[0005]

【課題を解決するための手段】本発明は、CPUと同期
式2ポートRAMとの間に介在するインタフェース回路
において、上記CPUが読み出しおよび書き込みするア
ドレスをラッチする回路と、書き込むべきデータをラッ
チする回路と、上記同期式2ポートRAMからのデータ
を読み出す第一バッファ回路と、上記同期式2ポートR
AMに対するデータ書き込み中を示すライトビジーフラ
グ信号を発生する回路と、読み出すべきデータが有効で
あることを示すリードエネイブルフラグ信号を発生する
回路と、上記ライトビジーフラグ信号と上記リードエネ
イブルフラグ信号を読み出す第二バッファ回路と、上記
同期式2ポートRAMに対してチップセレクト信号、ア
ウトプットエネイブル信号およびライトエネイブル信号
を発生する回路と、上記第二バッファ回路を介してライ
トビジーフラグ信号とリードエネイブルフラグ信号の読
み込み、読み出しおよび書き込みのタイミングを定める
プログラムとを備えたことを特徴とする。
According to the present invention, in an interface circuit interposed between a CPU and a synchronous two-port RAM, a circuit for latching addresses read and written by the CPU and data for writing are latched. Circuit, a first buffer circuit for reading data from the synchronous 2-port RAM, and the synchronous 2-port R
A circuit for generating a write busy flag signal indicating that data is being written to the AM, a circuit for generating a read enable flag signal indicating that the data to be read is valid, the write busy flag signal and the read enable flag signal A second buffer circuit for reading out, a circuit for generating a chip select signal, an output enable signal and a write enable signal for the synchronous 2-port RAM, and a write busy flag signal for reading via the second buffer circuit. And a program for determining the timing of reading, reading and writing of the enable flag signal.

【0006】[0006]

【作用】同期式2ポートRAMは、チップセレクト信号
およびライトエネイブル信号がともに低レベルのとき
に、同期クロックの立ち上がりに同期してデータが書き
込まれる。この条件を満たすために、プログラムは、ア
ドレスラッチ回路に対して書き込むべき同期式2ポート
RAMのアドレス値を、データラッチ回路に対して書き
込むべきデータを書き込む。このデータ書き込みによ
り、ライトビジーフラグ信号を高レベルにし、制御信号
発生回路はライトエネイブル信号およびチップセレクト
信号を低レベルにする。同期クロックが2回立ち下がる
ことにより、ライトビジーフラグ信号を低レベルにし、
制御信号発生回路はライトエネイブル信号およびチップ
セレクト信号を高レベルにする。一方、プログラムは、
データラッチ回路に対してのデータ書き込みにより、ラ
イトビジーフラグ信号をポーリングしており、ライトビ
ジーフラグ信号が高レベルの期間は次のデータを書き込
まない。これにより、正しくデータが書き込まれる。ま
た、同期式2ポートRAMは、チップセレクト信号およ
びライトエネイブル信号がともに低レベルのときに、同
期クロックの立ち上がりに同期してデータが読み出され
る。この条件を満たすために、プログラムは、アドレス
ラッチ回路に対して読み出すべき同期式2ポートRAM
のアドレス値を書き込み、データラッチ回路に対して読
み出しをリクエストする。このリクエストにより、リー
ドエネイブルフラグ信号を高レベルにし、制御信号発生
回路はライトエネイブル信号およびチップセレクト信号
を低レベルにする。同期クロックが立ち上がることによ
り、リードエネイブルフラグ信号を低レベルにする。一
方、プログラムは、リクエストの後に、リードエネイブ
ルフラグ信号をポーリングしており、リードエネイブル
フラグ信号が高レベルの期間は同期式2ポートRAMの
データを読み出さない。リードエネイブルフラグ信号が
低レベルになると、プログラムは、同期式2ポートRA
Mのデータを読み出し、制御信号発生回路は、アウトプ
ットエネイブル信号およびチップセレクト信号を高レベ
ルにする。これにより、正しくデータが書き込まれる。
In the synchronous 2-port RAM, when both the chip select signal and the write enable signal are low level, data is written in synchronization with the rising edge of the synchronous clock. To satisfy this condition, the program writes the address value of the synchronous 2-port RAM to be written to the address latch circuit and the data to be written to the data latch circuit. By this data writing, the write busy flag signal is set to the high level, and the control signal generation circuit sets the write enable signal and the chip select signal to the low level. When the synchronous clock falls twice, the write busy flag signal is set to low level,
The control signal generation circuit sets the write enable signal and the chip select signal to high level. On the other hand, the program
The write busy flag signal is polled by writing data to the data latch circuit, and the next data is not written while the write busy flag signal is at a high level. As a result, the data is written correctly. Further, in the synchronous 2-port RAM, when both the chip select signal and the write enable signal are low level, data is read in synchronization with the rising edge of the synchronous clock. In order to satisfy this condition, the program is a synchronous 2-port RAM to be read by the address latch circuit.
Write the address value of and request read from the data latch circuit. By this request, the read enable flag signal is set to the high level, and the control signal generation circuit sets the write enable signal and the chip select signal to the low level. When the synchronous clock rises, the read enable flag signal goes low. On the other hand, the program polls the read enable flag signal after the request, and does not read the data of the synchronous 2-port RAM while the read enable flag signal is at the high level. When the read enable flag signal becomes low level, the program executes the synchronous 2-port RA.
The data of M is read, and the control signal generation circuit sets the output enable signal and the chip select signal to the high level. As a result, the data is written correctly.

【0007】[0007]

【実施例】以下、本発明の一実施例を図面に基づき説明
する。図1ないし図7に、この実施例としてアドレスが
8ビット、データが8ビットの同期式2ポートRAMと
CPUとのインタフェース回路を示す。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. 1 to 7 show an interface circuit between a synchronous 2-port RAM having an address of 8 bits and data of 8 bits and a CPU as the embodiment.

【0008】図1は、この実施例の全体構成を示すブロ
ック構成図であり、図2は、図1に含まれるインタフェ
ース回路10の構成を示す接続図であり、図3は、図2
に含まれるアドレスラッチ回路11の構成を示す接続図
であり、図4は、図2に含まれるフラグ信号発生回路1
3の構成を示す接続図であり、図5は、図2に含まれる
フラグ信号発生回路14の構成を示す接続図であり、図
6は、図2に含まれる制御信号発生回路16の構成を示
す接続図であり、図7は、図2に含まれるバッファ回路
18の構成を示す接続図である。
FIG. 1 is a block diagram showing the overall configuration of this embodiment, FIG. 2 is a connection diagram showing the configuration of the interface circuit 10 included in FIG. 1, and FIG.
2 is a connection diagram showing a configuration of an address latch circuit 11 included in FIG. 4, and FIG. 4 is a flag signal generation circuit 1 included in FIG.
3 is a connection diagram showing the configuration of FIG. 3, FIG. 5 is a connection diagram showing the configuration of the flag signal generation circuit 14 included in FIG. 2, and FIG. 6 is a configuration diagram of the control signal generation circuit 16 included in FIG. FIG. 7 is a connection diagram shown, and FIG. 7 is a connection diagram showing a configuration of the buffer circuit 18 included in FIG.

【0009】この実施例は、図1ないし図7に示すよう
に、CPU20と同期式2ポートRAM30との間に介
在し、CPU20が読み出しおよび書き込みをするアド
レスをラッチするアドレスラッチ回路11と、書き込む
べきデータをラッチするデータラッチ回路12と、同期
式2ポートRAM30からのデータを読み出すバッファ
回路18と、同期式2ポートRAM30に対するデータ
書き込み中を示すライトビジーフラグ信号を発生するフ
ラグ信号発生回路13と、読み出すべきデータが有効で
あることを示すリードエネイブルフラグ信号を発生する
フラグ信号発生回路14と、ライトビジーフラグ信号と
リードエネイブルフラグ信号を読み出すバッファ回路1
5と、同期式2ポートRAM30に対してチップセレク
ト信号、アウトプットエネイブル信号およびライトエネ
イブル信号を発生する制御信号発生回路16と、バッフ
ァ回路15を介してライトビジーフラグ信号とリードエ
ネイブルフラグ信号を読み込み、読み出しおよび書き込
みのタイミングを定めるプログラムを格納するプログラ
ム格納回路17とを備える。
In this embodiment, as shown in FIGS. 1 to 7, there is an address latch circuit 11 interposed between a CPU 20 and a synchronous two-port RAM 30 for latching an address read and written by the CPU 20, and a write. Data latch circuit 12 for latching data to be processed, buffer circuit 18 for reading data from synchronous 2-port RAM 30, and flag signal generating circuit 13 for generating a write busy flag signal indicating that data is being written to synchronous 2-port RAM 30. A flag signal generation circuit 14 for generating a read enable flag signal indicating that the data to be read is valid, and a buffer circuit 1 for reading the write busy flag signal and the read enable flag signal.
5, a control signal generating circuit 16 for generating a chip select signal, an output enable signal and a write enable signal for the synchronous 2-port RAM 30, and a write busy flag signal and a read enable flag signal via a buffer circuit 15. And a program storage circuit 17 that stores a program that determines the timing of reading, reading, and writing.

【0010】次に、この実施例の動作を説明する。図1
1のタイミングで書き込みまた図12のタイミングで読
み出しがインタフェース回路により行われる。ここで、
図11のa部はCPU20から同期式2ポートRAM3
0へのデータ書き込みを示し、図12のb部は同期式2
ポートRAM30からの読み出しのためのリクエストア
ドレスのアクセスを示し、c部はデータの読み出しを示
す。書き込み時は、図4に示すように、同期式2ポート
RAM30に書き込みするデータがチップセレクト信号
が低レベルでありかつライトエネイブル信号が低レベル
であるときに同期クロックの立ち上がりに同期してデー
タが取り込まれる。この条件を満たすためのこのインタ
フェース回路10では、同期クロックの立ち下がりを2
回検出するまでライトエネイブル信号およびチップセレ
クト信号を低レベルに保つ。また、CPU20では、ラ
イトビジーフラグ信号が低レベルになるまで次のデータ
を書き込まない。また、読み出し時は、図10に示すよ
うに、チップセレクト信号が低レベルであり、アウトプ
ットエネイブル信号が低レベルであるときに同期クロッ
クの立ち上がりに同期してデータが出力される。この条
件を満たすため本回路では、同期クロックの立ち上がり
を検出してリードエネイブルフラグ信号をリセットし、
かつ、CPU20がデータを読み出すまでチップセレク
ト信号およびアウトプットエネイブル信号を低レベルに
保つ。また、CPU20ではリードエネイブルフラグ信
号が低レベルになるまでデータを読み出さない。
Next, the operation of this embodiment will be described. Figure 1
The interface circuit performs writing at the timing of 1 and reading at the timing of FIG. here,
The portion a in FIG. 11 is from the CPU 20 to the synchronous 2-port RAM 3
12 shows data writing to 0, and part b of FIG.
Access to a request address for reading from the port RAM 30 is shown, and part c shows reading of data. At the time of writing, as shown in FIG. 4, the data to be written in the synchronous 2-port RAM 30 is synchronized with the rising edge of the synchronous clock when the chip select signal is at the low level and the write enable signal is at the low level. Is captured. In this interface circuit 10 for satisfying this condition, the falling edge of the synchronous clock is set to 2
The write enable signal and the chip select signal are kept at a low level until the detection is performed. Further, the CPU 20 does not write the next data until the write busy flag signal becomes low level. Further, at the time of reading, as shown in FIG. 10, when the chip select signal is at the low level and the output enable signal is at the low level, data is output in synchronization with the rising edge of the synchronous clock. To meet this condition, this circuit detects the rising edge of the synchronous clock and resets the read enable flag signal,
At the same time, the chip select signal and the output enable signal are kept at the low level until the CPU 20 reads the data. Further, the CPU 20 does not read data until the read enable flag signal becomes low level.

【0011】すなわち、同期式2ポートRAM30は、
チップセレクト信号およびライトエネイブル信号がとも
に低レベルのときに、同期クロックの立ち上がりに同期
してデータが書き込まれる。この条件を満たすために、
プログラム格納回路17のプログラムは、アドレスラッ
チ回路11に対して書き込むべき同期式2ポートRAM
30のアドレス値を、データラッチ回路12に対して書
き込むべきデータを書き込む。このデータ書き込みによ
り、フラグ信号発生回路13はライトビジーフラグ信号
を高レベルにし、制御信号発生回路16はライトエネイ
ブル信号およびチップセレクト信号を低レベルにする。
同期クロックが2回立ち下がることにより、フラグ信号
発生回路13はライトビジーフラグ信号を低レベルに
し、制御信号発生回路16はライトエネイブル信号およ
びチップセレクト信号を高レベルにする。一方、プログ
ラム格納回路17のプログラムは、データラッチ回路1
2に対してのデータ書き込みにより、バッファ回路15
によりライトビジーフラグ信号をポーリングしており、
ライトビジーフラグ信号が高レベルの期間は次のデータ
を書き込まない。これにより、正しくデータが書き込ま
れる。また、同期式2ポートRAM30は、チップセレ
クト信号およびライトエネイブル信号がともに低レベル
のときに、同期クロックの立ち上がりに同期してデータ
が読み出される。この条件を満たすために、プログラム
格納回路17のプログラムは、アドレスラッチ回路11
に対して読み出すべき同期式2ポートRAM30のアド
レス値を書き込み、データラッチ回路12に対して読み
出しをリクエストする。このリクエストにより、フラグ
信号発生回路14はリードエネイブルフラグ信号を高レ
ベルにし、制御信号発生回路16はライトエネイブル信
号およびチップセレクト信号を低レベルにする。同期ク
ロックが立ち上がることにより、フラグ信号発生回路1
4はリードエネイブルフラグ信号を低レベルにする。一
方、プログラム格納回路17のプログラムは、リクエス
トの後にバッファ回路15によりリードエネイブルフラ
グ信号をポーリングしており、リードエネイブルフラグ
信号が高レベルの期間は同期式2ポートRAM30のデ
ータを読み出さない。リードエネイブルフラグ信号が低
レベルになると、プログラム格納回路17のプログラム
は、バッファ回路18により同期式2ポートRAM30
のデータを読み出し、制御信号発生回路16は、アウト
プットエネイブル信号およびチップセレクト信号を高レ
ベルにする。これにより、正しくデータが書き込まれ
る。
That is, the synchronous 2-port RAM 30 is
When both the chip select signal and the write enable signal are low level, data is written in synchronization with the rising edge of the synchronous clock. To meet this condition,
The program of the program storage circuit 17 is a synchronous 2-port RAM to be written in the address latch circuit 11.
The address value of 30 is written into the data latch circuit 12 as data to be written. By this data writing, the flag signal generation circuit 13 sets the write busy flag signal to the high level, and the control signal generation circuit 16 sets the write enable signal and the chip select signal to the low level.
When the synchronous clock falls twice, the flag signal generation circuit 13 sets the write busy flag signal to the low level, and the control signal generation circuit 16 sets the write enable signal and the chip select signal to the high level. On the other hand, the program of the program storage circuit 17 is the data latch circuit 1
By writing data to the buffer circuit 2,
Polls the write busy flag signal by
The next data is not written while the write busy flag signal is at the high level. As a result, the data is written correctly. Further, in the synchronous 2-port RAM 30, when both the chip select signal and the write enable signal are low level, data is read in synchronization with the rising edge of the synchronous clock. In order to satisfy this condition, the program in the program storage circuit 17 has the address latch circuit 11
The address value of the synchronous 2-port RAM 30 to be read is written to, and the data latch circuit 12 is requested to read. In response to this request, the flag signal generation circuit 14 sets the read enable flag signal to the high level, and the control signal generation circuit 16 sets the write enable signal and the chip select signal to the low level. When the synchronous clock rises, the flag signal generation circuit 1
4 sets the read enable flag signal to a low level. On the other hand, the program of the program storage circuit 17 polls the read enable flag signal by the buffer circuit 15 after the request, and does not read the data of the synchronous 2-port RAM 30 while the read enable flag signal is at the high level. When the read enable flag signal becomes low level, the buffer circuit 18 causes the buffer circuit 18 to load the program stored in the program storage circuit 17.
Data is read out, and the control signal generation circuit 16 sets the output enable signal and the chip select signal to the high level. As a result, the data is written correctly.

【0012】[0012]

【発明の効果】本発明は、以上説明したように、同期式
2ポートRAMを非同期のCPUからも読み出しおよび
書き込みをすることを可能にしたもので、CPU相互の
インタフェース回路またはそれに準ずるその他の周辺回
路とのインタフェース回路を構成する際に同期式2ポー
トRAMを含んだLSIを使用できる効果がある。
As described above, the present invention makes it possible to read and write the synchronous two-port RAM even from an asynchronous CPU, and an interface circuit between CPUs or other peripherals corresponding thereto. There is an effect that an LSI including a synchronous 2-port RAM can be used when forming an interface circuit with the circuit.

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

【図1】本発明実施例の全体構成を示すブロック構成
図。
FIG. 1 is a block configuration diagram showing an overall configuration of an embodiment of the present invention.

【図2】本発明実施例の部分構成を示すブロック構成
図。
FIG. 2 is a block configuration diagram showing a partial configuration of an embodiment of the present invention.

【図3】本発明実施例の部分構成を示すブロック構成
図。
FIG. 3 is a block configuration diagram showing a partial configuration of an embodiment of the present invention.

【図4】本発明実施例の部分構成を示すブロック構成
図。
FIG. 4 is a block configuration diagram showing a partial configuration of an embodiment of the present invention.

【図5】本発明実施例の部分構成を示すブロック構成
図。
FIG. 5 is a block diagram showing a partial configuration of an embodiment of the present invention.

【図6】本発明実施例の部分構成を示すブロック構成
図。
FIG. 6 is a block configuration diagram showing a partial configuration of an embodiment of the present invention.

【図7】本発明実施例の部分構成を示すブロック構成
図。
FIG. 7 is a block configuration diagram showing a partial configuration of an embodiment of the present invention.

【図8】従来例の構成を示すブロック構成図。FIG. 8 is a block configuration diagram showing a configuration of a conventional example.

【図9】非同期式2ポートRAMの書き込みおよび読み
込みのタイミングを示すタイミングチャート。
FIG. 9 is a timing chart showing the timing of writing and reading of the asynchronous 2-port RAM.

【図10】同期式2ポートRAMの書き込みおよび読み
込みのタイミングを示すタイミングチャート。
FIG. 10 is a timing chart showing the timing of writing and reading of the synchronous 2-port RAM.

【図11】本発明実施例での同期式書き込みのタイミン
グを示すタイミングチャート。
FIG. 11 is a timing chart showing the timing of synchronous writing in the embodiment of the present invention.

【図12】本発明実施例での同期式読み込みのタイミン
グを示すタイミングチャート。
FIG. 12 is a timing chart showing the timing of synchronous reading in the embodiment of the present invention.

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

10 インタフェース回路 11 アドレスラッチ回路 12 データラッチ回路 13、14 フラグ信号発生回路 15 バッファ回路 16 制御信号発生回路 17 プログラム格納回路 18 バッファ回路 20 CPU 30 同期式2ポートRAM 10 interface circuit 11 address latch circuit 12 data latch circuit 13 and 14 flag signal generation circuit 15 buffer circuit 16 control signal generation circuit 17 program storage circuit 18 buffer circuit 20 CPU 30 synchronous 2-port RAM

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 CPUと同期式2ポートRAMとの間に
介在するインタフェース回路において、 上記CPUが読み出しおよび書き込みするアドレスをラ
ッチする回路と、 書き込むべきデータをラッチする回路と、 上記同期式2ポートRAMからのデータを読み出す第一
バッファ回路と、 上記同期式2ポートRAMに対するデータ書き込み中を
示すライトビジーフラグ信号を発生する回路と、 読み出すべきデータが有効であることを示すリードエネ
イブルフラグ信号を発生する回路と、 上記ライトビジーフラグ信号と上記リードエネイブルフ
ラグ信号を読み出す第二バッファ回路と、 上記同期式2ポートRAMに対してチップセレクト信
号、アウトプットエネイブル信号およびライトエネイブ
ル信号を発生する回路と、 上記第二バッファ回路を介してライトビジーフラグ信号
とリードエネイブルフラグ信号の読み込み、読み出しお
よび書き込みのタイミングを定めるプログラムとを備え
たことを特徴とするインタフェース回路。
1. An interface circuit interposed between a CPU and a synchronous 2-port RAM, a circuit for latching an address read and written by the CPU, a circuit for latching data to be written, and the synchronous 2-port. A first buffer circuit for reading data from the RAM, a circuit for generating a write busy flag signal indicating that data is being written to the synchronous 2-port RAM, and a read enable flag signal for indicating that the data to be read are valid. A generating circuit, a second buffer circuit for reading the write busy flag signal and the read enable flag signal, and a chip select signal, an output enable signal and a write enable signal for the synchronous 2-port RAM. Circuit and above second buffer times Loading the write busy flag signal and the read error Neiburu flag signal through the interface circuit, characterized in that a program for determining the timing of the read and write.
JP3314908A 1991-11-28 1991-11-28 Interface circuit Expired - Fee Related JP2944280B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3314908A JP2944280B2 (en) 1991-11-28 1991-11-28 Interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3314908A JP2944280B2 (en) 1991-11-28 1991-11-28 Interface circuit

Publications (2)

Publication Number Publication Date
JPH05151142A true JPH05151142A (en) 1993-06-18
JP2944280B2 JP2944280B2 (en) 1999-08-30

Family

ID=18059092

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3314908A Expired - Fee Related JP2944280B2 (en) 1991-11-28 1991-11-28 Interface circuit

Country Status (1)

Country Link
JP (1) JP2944280B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1996038793A3 (en) * 1995-05-29 1997-01-09 Nokia Telecommunications Oy Method and apparatus for adapting an asynchronous bus to a synchronous circuit
KR100344217B1 (en) * 2000-07-04 2002-07-20 주식회사 케이이씨메카트로닉스 Commnication interface circuit using dual port memory
KR100686304B1 (en) * 2005-09-26 2007-02-22 엠텍비젼 주식회사 Method for controlling access to public bank of dual port memory
KR100728870B1 (en) * 2005-08-08 2007-06-15 경북대학교 산학협력단 Dual port ram and method of losslessly transmitting data using the dual port ram

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1996038793A3 (en) * 1995-05-29 1997-01-09 Nokia Telecommunications Oy Method and apparatus for adapting an asynchronous bus to a synchronous circuit
US6075830A (en) * 1995-05-29 2000-06-13 Nokia Telecommunications Oy Method and apparatus for adapting an asynchronous bus to a synchronous circuit
KR100344217B1 (en) * 2000-07-04 2002-07-20 주식회사 케이이씨메카트로닉스 Commnication interface circuit using dual port memory
KR100728870B1 (en) * 2005-08-08 2007-06-15 경북대학교 산학협력단 Dual port ram and method of losslessly transmitting data using the dual port ram
KR100686304B1 (en) * 2005-09-26 2007-02-22 엠텍비젼 주식회사 Method for controlling access to public bank of dual port memory

Also Published As

Publication number Publication date
JP2944280B2 (en) 1999-08-30

Similar Documents

Publication Publication Date Title
US6625702B2 (en) Memory controller with support for memory modules comprised of non-homogeneous data width RAM devices
US8065461B2 (en) Capturing read data
US6990562B2 (en) Memory controller to communicate with memory devices that are associated with differing data/strobe ratios
JPH10504129A (en) Optimization circuit and control for synchronous memory devices with programmable latency
JPH0421053A (en) Asynchronous data transmission device
US5749086A (en) Simplified clocked DRAM with a fast command input
JP2007525766A (en) Collision detection in multiport memory systems
JP2002323995A (en) Trace circuit
US6327667B1 (en) Apparatus and method for operating clock sensitive devices in multiple timing domains
JPH05151142A (en) Interface circuit
JP3191302B2 (en) Memory circuit
US5916311A (en) Bus controller and information processing device providing reduced idle cycle time during synchronization
US6766403B2 (en) CPU system with high-speed peripheral LSI circuit
US6493775B2 (en) Control for timed access of devices to a system bus
JPH09198305A (en) Memory controller
JP2716284B2 (en) Semiconductor integrated circuit
JP2712733B2 (en) Data transfer control method for extended input / output device
JPS59146361A (en) Dual port memory control circuit
JPH0330899B2 (en)
JPH02172097A (en) Memory
JPH09139083A (en) Semiconductor memory device
JPH0581445A (en) Microcomputer lsi
JPH022236B2 (en)
JPH0997242A (en) Shared memory
JPS61190647A (en) Data processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees