JPH03259637A - Asynchronous data access system for ram - Google Patents

Asynchronous data access system for ram

Info

Publication number
JPH03259637A
JPH03259637A JP2058758A JP5875890A JPH03259637A JP H03259637 A JPH03259637 A JP H03259637A JP 2058758 A JP2058758 A JP 2058758A JP 5875890 A JP5875890 A JP 5875890A JP H03259637 A JPH03259637 A JP H03259637A
Authority
JP
Japan
Prior art keywords
control signal
converter
data
signal
ram
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
JP2058758A
Other languages
Japanese (ja)
Other versions
JP2540643B2 (en
Inventor
Masaru Kameda
勝 亀田
Kazuhiro Takei
武井 一弘
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2058758A priority Critical patent/JP2540643B2/en
Publication of JPH03259637A publication Critical patent/JPH03259637A/en
Application granted granted Critical
Publication of JP2540643B2 publication Critical patent/JP2540643B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To attain transmission reception of sure data by comparing the phase of a readout control signal with the phase of a load timing signal and shifting the phase of the readout control signal by a prescribed phase from a usual location when the signal phases are overlapped. CONSTITUTION:A write control signal WE and a readout control signal OE to/from a RAM 1 are generated by using a reception clock synchronously with a reception data R DATA when write/readout of an asynchronous data to/from the RAM 1 is implemented via an S/P converter 2 and a P/S converter 3, a comparator 8 compares the phase of the readout control signal OE with the phase of a load timing signal P/S LOAD TIM for the P/S converter and a phase shift control section 9 shifts a prescribed bit number from the usual position for the phase of the readout control signal OE when the phases of the signals are overlapped.

Description

【発明の詳細な説明】 [目 次コ 概要 産業上の利用分野 従来の技術(第5図) 発明が解決しようとする課題 課題を解決するための手段(第1,2図)作 用(第1
,2図) 実施例(第3,4図) 発明の効果 [概 要] 非同期データをシリアル/パラレル変換器およびパラレ
ル/シリアル変換器を介してRAMに書き込んだり読み
出したりする際のデータアクセス方式に関し、 非同期送受信データの一方から作ったRAMの読み書き
制御信号に基づき非同期データの読み書きを確実に行な
えるようにすることを目的とし、非同期データをシリア
ル/パラレル変換器およびパラレル/シリアル変換器を
介してRAMに書き込んだり読み出したりする際に、受
信クロック又は送信クロックからRAMへの書き込み制
御信号および読み出し制御信号を作成するとともに、読
み出し制御信号とパラレル/シリアル変換器用のロード
タイミング信号との位相を比較するか、書き込み制御信
号とシリアル/パラレル変換器用のロードタイミング信
号との位相を比較しておき、これらの信号位相が重なる
と、読み出し制御信号又は書き込み制御信号の位相を通
常位置より所要ビットシフトさせるように構成する。
[Detailed description of the invention] [Table of contents Overview Industrial field of application Prior art (Figure 5) Means for solving the problem to be solved by the invention (Figures 1 and 2) Effect (Figure 5) 1
, 2) Embodiment (Figures 3 and 4) Effects of the invention [Summary] Regarding the data access method when asynchronous data is written to or read from RAM via a serial/parallel converter and a parallel/serial converter. , The purpose is to ensure that asynchronous data can be read and written based on the RAM read/write control signal generated from one side of the asynchronous transmitted and received data, and the asynchronous data is transmitted through a serial/parallel converter and a parallel/serial converter. When writing to or reading from RAM, create a write control signal and a read control signal from the receive clock or transmit clock to the RAM, and compare the phase of the read control signal and the load timing signal for the parallel/serial converter. Alternatively, compare the phases of the write control signal and the load timing signal for the serial/parallel converter, and if these signal phases overlap, shift the phase of the read control signal or write control signal by the required bit from the normal position. Configure.

[産業上の利用分野コ 本発明は、非同期データをシリアル/パラレル変換器お
よびパラレル/シリアル変換器を介してRAMに書き込
んだり読み出したりする際のデータアクセス方式に関す
る。
[Industrial Field of Application] The present invention relates to a data access method when asynchronous data is written to or read from a RAM via a serial/parallel converter and a parallel/serial converter.

[従来の技術] 従来のRAMへのデータアクセス方式について説明する
。第5図は従来のRAMの同期データアクセス方式を説
明するためのブロック図であるが、この第5図において
、101はRAM (ランダムアクセスメモリ)、10
2はシリアル/パラレル変換器(S/P変換器)、10
3はパラレル/シリアル変換器CP/S変換器)、10
4はパルス発生器であり、受信シリアルデータ(RDA
TA)は、S/P変換器102でnビットパラレルデー
タに変換されて、RAM 101に記憶されると共に、
このRAMl0Iに記憶されたデータはP/S変換器1
03で送信シリアルデータ(S DATA)に変換され
て出力されるようになっている。そして、RAMl0I
、S/P変換器102.P/S変換器103は、パルス
発生器104で共通のマスタクロックから作られる制御
信号によって作動状態を制御される。
[Prior Art] A conventional data access method to a RAM will be described. FIG. 5 is a block diagram for explaining a conventional RAM synchronous data access method. In FIG. 5, 101 is a RAM (random access memory);
2 is a serial/parallel converter (S/P converter), 10
3 is a parallel/serial converter (CP/S converter), 10
4 is a pulse generator, which receives serial data (RDA).
TA) is converted into n-bit parallel data by the S/P converter 102 and stored in the RAM 101, and
The data stored in this RAMl0I is transferred to the P/S converter 1.
03, it is converted into transmission serial data (SDATA) and output. And RAMl0I
, S/P converter 102. The operating state of the P/S converter 103 is controlled by a control signal generated from a common master clock by a pulse generator 104.

[発明が解決しようとする課M] ところで、送信装置と受信装置とが離れていて、相互に
非同期の送受信データをRAMに読み書きしなければな
らないような場合がある。
[Problem M to be Solved by the Invention] Incidentally, there are cases where a transmitting device and a receiving device are separated and it is necessary to read and write transmitted and received data to and from the RAM asynchronously with each other.

しかしながら、このような送受非同期データを扱う場合
には、上記従来のものでは問題がある。
However, when handling such asynchronous data that is sent and received, the above-mentioned conventional method has a problem.

本発明は、このような状況下において創案されたもので
、非同期送受信データの一方から作成したRAMの読み
書き制御信号に基づいて非同期送受信データついての読
み書きを確実に行なえるようにした、RAMの非同期デ
ータアクセス方式を提供することを目的としている。
The present invention was devised under these circumstances, and is an asynchronous RAM method that enables reliable reading and writing of asynchronous transmitted/received data based on a RAM read/write control signal created from one side of the asynchronous transmitted/received data. Its purpose is to provide a data access method.

[課題を解決するための手段] 第1図は請求項1記載の本発明の原理ブロック図である
[Means for Solving the Problems] FIG. 1 is a block diagram of the principle of the present invention according to claim 1.

この第1図において、1はRAMで、このRAM1は、
非同期データを所要のアドレスに記憶するもので、その
読み出しおよび書き込みは読み出し制御信号OEおよび
書き込み制御信号WEによって行なう。
In this FIG. 1, 1 is a RAM, and this RAM 1 is
Asynchronous data is stored at a required address, and reading and writing thereof is performed by a read control signal OE and a write control signal WE.

2はシリアル/パラレル変換器(S/P変換器)で、こ
のS/P変換器2は、受信シリアルデータRDATAを
nビットパラレルデータに変換するものである。
2 is a serial/parallel converter (S/P converter), and this S/P converter 2 converts received serial data RDATA into n-bit parallel data.

3はパラレル/シリアル変換器(P/S変換器)で、こ
のP/S変換器3は、RAMIからのnビットパラレル
データを送信シリアルデータS DATAに変換するも
のである。
3 is a parallel/serial converter (P/S converter), and this P/S converter 3 converts n-bit parallel data from the RAMI into transmission serial data SDATA.

4.5はパルス発生器で、パルス発生器4は、受信デー
タRDATAに同期した信号(受信クロックRCLK、
受信タイミング信号R丁IM)を受けて、所要のパルス
信号を発生するもので、このパルス信号は、S/P変換
器2.書き込み制御信号発生器6および読み出し制御信
号発生器7へ供給される。
4.5 is a pulse generator, and the pulse generator 4 generates signals (reception clock RCLK,
It receives the reception timing signal R (IM) and generates a required pulse signal, and this pulse signal is sent to the S/P converter 2. It is supplied to a write control signal generator 6 and a read control signal generator 7.

また、パルス発生器5は、送信データS DATAに同
期した信号(送信クロックS CLK、送信タイミング
信号S TIM)を受けて、所要のパルス信号を発生す
るもので、このパルス信号は、P/S変換器3および比
較器8へ供給される。
Further, the pulse generator 5 receives a signal (transmission clock SCLK, transmission timing signal STIM) synchronized with the transmission data S DATA and generates a required pulse signal, and this pulse signal is transmitted to the P/S. Converter 3 and comparator 8 are supplied.

6は書き込み制御信号発生器で、この書き込み制御信号
発生器6は、パルス発生器4からの受信データRDAT
Aに同期する受信クロッグより生成される信号を受けて
、書き込み制御信号WEを発生するもので、この書き込
み制御信号WEはRAM1の書き込み制御端へ入力され
る。
6 is a write control signal generator, and this write control signal generator 6 receives the received data RDAT from the pulse generator 4.
A write control signal WE is generated in response to a signal generated by a reception clock synchronized with A, and this write control signal WE is input to the write control terminal of the RAM1.

7は読み出し制御信号発生器で、この読み出し制御信号
発生器7は、パルス発生器4からの受信データRDAT
Aに同期する受信クロックより生成される信号を受けて
、読み出し制御信号OEを発生するもので、この読み出
し制御信号○EはRAM1の読み出し制御端および比較
器8へ入力される。
7 is a read control signal generator, and this read control signal generator 7 receives the received data RDAT from the pulse generator 4.
A read control signal OE is generated in response to a signal generated from a reception clock synchronized with A, and this read control signal OE is input to the read control terminal of the RAM 1 and the comparator 8.

8は比較器で、この比較器8は、読み出し制御信号発生
器7からの読み出し制御信号○Eとパルス発生器5から
のP/S変換器用のロードタイミング信号P/S LO
AD TIMとの位相を比較するもので、これらの信号
位相が重なると、その旨の信号を出すようになっている
8 is a comparator, and this comparator 8 receives the read control signal ○E from the read control signal generator 7 and the load timing signal P/S LO for the P/S converter from the pulse generator 5.
It compares the phase with AD TIM, and when these signal phases overlap, a signal to that effect is output.

9は位相シフト制御部で、この位相シフト制御部9は、
比較器8から上記の信号位相の重なりを検出した旨の信
号を受けると、読み出し制御信号発生器7へ読み出し制
御信号OEの位相を通常位置より所要ビットシフトさせ
る旨の制御信号を出力するものである。
9 is a phase shift control section, and this phase shift control section 9 is
When receiving a signal from the comparator 8 indicating that the above signal phase overlap is detected, it outputs a control signal to the readout control signal generator 7 to shift the phase of the readout control signal OE from the normal position by the required bits. be.

第2図は請求項2記載の本発明の原理ブロック図である
FIG. 2 is a block diagram of the principle of the present invention according to claim 2.

この第2図において、RAMI、S/P変換器2、P/
S変換器3については、前述の第1図のものと同じであ
るので、その説明を省略する。
In this FIG. 2, RAMI, S/P converter 2, P/
Since the S converter 3 is the same as that shown in FIG. 1 described above, its explanation will be omitted.

4’、5’はパルス発生器で、パルス発生器4′は、受
信データRDATAに同期した信号(受信クロックRC
LK、受信タイミング信号R丁IM)を受けて、所要の
パルス信号を発生するもので、このパルス信号は、S/
P変換器2および比較器8へ供給される。また、パルス
発生器5′は、送信データS DATAに同期した信号
(送信クロックS CLK、送信タイミング信号S T
IM)を受けて、所要のパルス信号を発生するもので、
このパルス信号は、P/S変換器3.書き込み制御信号
発生器6′および読み出し制御信号発生器7′へ供給さ
れる。
4' and 5' are pulse generators, and the pulse generator 4' receives a signal (reception clock RC) synchronized with reception data RDATA.
It receives the reception timing signal (LK, reception timing signal (IM)) and generates the required pulse signal, and this pulse signal is
Supplied to P converter 2 and comparator 8. The pulse generator 5' also generates signals synchronized with the transmission data S DATA (transmission clock S CLK, transmission timing signal S T
IM) and generates the required pulse signal.
This pulse signal is sent to the P/S converter 3. It is supplied to a write control signal generator 6' and a read control signal generator 7'.

6′は書き込み制御信号発生器で、この書き込み制御信
号発生器6′は、パルス発生器5′からの送信データS
 DATAに同期する送信クロックより生成される信号
を受けて、書き込み制御信号WEを発生するもので、こ
の書き込み制御信号WEはRAMIの書き込み制御端お
よび比較器8′へ入力される。
6' is a write control signal generator, and this write control signal generator 6' receives transmission data S from the pulse generator 5'.
A write control signal WE is generated in response to a signal generated by a transmission clock synchronized with DATA, and this write control signal WE is input to the write control terminal of RAMI and the comparator 8'.

7′は読み出し制御信号発生器で、この読み出し制御信
号発生器7′は、パルス発生器5′からの送信データS
 DATAに同期する送信クロックより生成される信号
を受けて、読み出し制御部○Eを発生するもので、この
読み出し制御信号○EはRAMIの読み出し制御端へ入
力される。
7' is a readout control signal generator, and this readout control signal generator 7' receives transmission data S from the pulse generator 5'.
It receives a signal generated from a transmission clock synchronized with DATA and generates a read control section ○E, and this read control signal ○E is input to the read control terminal of RAMI.

8′は比較器で、この比較器8′は、読み出し制御信号
発生器7′からの読み出し制御信号OEとパルス発生器
4′からのS/P変換器用のロードタイミング信号S/
P LOAD TIMとの位相を比較するもので、これ
らの信号位相が重なると、その旨の信号を出すようにな
っている。
8' is a comparator, and this comparator 8' receives the readout control signal OE from the readout control signal generator 7' and the load timing signal S/P converter from the pulse generator 4'.
It compares the phase with P LOAD TIM, and when these signal phases overlap, a signal to that effect is output.

9′は位相シフト制御部で、この位相シフト制御部9′
は、比較器8′から上記の信号位相の重なりを検出した
旨の信号を受けると、書き込み制御信号発生器6′へ書
き込み制御信号WEの位相を通常位置より所要ビットシ
フトさせる旨の制御信号を出力するものである。
9' is a phase shift control section; this phase shift control section 9'
When receiving a signal from the comparator 8' indicating that the overlapping signal phases have been detected, it sends a control signal to the write control signal generator 6' to shift the phase of the write control signal WE by the required bits from the normal position. This is what is output.

[作 用] 上述の請求項1記載の本発明のRAMの非同期データア
クセス方式では、非同期データをS/P変換器2および
P/S変換器3を介してRAM 1に書き込んだり読み
出したりするに際しては、第1図に示すように、受信デ
ータRDATAに同期する受信りOツクからRAMIへ
の書き込み制御信号WEおよび読み出し制御信号○Eを
作成するとともに、読み出し制御信号○EとP/S変換
器用のロードタイミング信号P/S LOAD TIM
との位相を比較器8にて比較しておき、これらの信号位
相が重なると、位相シフト制御部9にて、読み出し制御
信号OEの位相を通常位置より所要ビットシフトさせる
[Function] In the RAM asynchronous data access method of the present invention as set forth in claim 1 above, when writing or reading asynchronous data to or from the RAM 1 via the S/P converter 2 and the P/S converter 3, As shown in Fig. 1, generates a write control signal WE and a read control signal ○E from the reception terminal synchronized with the reception data RDATA to RAMI, and also creates a read control signal ○E and a read control signal ○E for the P/S converter. Load timing signal P/S LOAD TIM
The comparator 8 compares the phases of the readout control signal OE and the readout control signal OE, and when these signal phases overlap, the phase shift control section 9 shifts the phase of the readout control signal OE by a required bit from the normal position.

また、請求項2記載の本発明のRAMの非同期データア
クセス方式では、非同期データをS/P変換器2および
P/S変換器3を介してRAMIに書き込んだり読み出
したりするに際しては、第2図に示すごとく、送信デー
タS DAT、Aに同期する送信クロックからRAMI
への書き込み制御信号WEおよび読み出し制御信号OE
を作成するとともに、書き込み制御信号WEとS/P変
換器のロードタイミング信号S/P LOAD TIM
との位相を比較しておき、これらの信号位相が重なると
、位相シフト制御部9′にて、書き込み制御信号WEの
位相を通常位置より所要ビットシフトさせる。
Further, in the RAM asynchronous data access method of the present invention according to claim 2, when asynchronous data is written to or read from the RAMI via the S/P converter 2 and the P/S converter 3, the method shown in FIG. As shown in the figure, from the transmission clock synchronized with the transmission data S DAT,A
Write control signal WE and read control signal OE to
At the same time, write control signal WE and S/P converter load timing signal S/P LOAD TIM are generated.
When these signal phases overlap, the phase shift control section 9' shifts the phase of the write control signal WE by a required bit from the normal position.

[実施例] 以下、図面を参照して本発明の詳細な説明する。[Example] Hereinafter, the present invention will be described in detail with reference to the drawings.

さて、本実施例は、データ伝送システムのオーバヘッド
ビット処理ユニットにて処理されるソネット(SONE
T)仕様の5ECTION/LINE/PAT)l 0
VERBYTEの内のJ1バイト(サービスバイト)を
マイクロプロセッサユニット(MPU)へ送ったりこの
MPUから受信したりする際に、この情報を一旦RAM
Iにストアする場合のアクセスの仕方に関するものであ
る。
Now, in this embodiment, the SONE data is processed in the overhead bit processing unit of the data transmission system.
T) Specification 5ECTION/LINE/PAT) l 0
When sending the J1 byte (service byte) of VERBYTE to or receiving it from the microprocessor unit (MPU), this information is temporarily stored in RAM.
This relates to the access method when storing data in I.

即ち、第3図(本発明の一実施例を示すブロック図)に
示すように、サービスビット挿入抽出部20が設けられ
ており、このサービスビット挿入抽出部20は、1チヤ
ネルのデータRDATAを受けて、これをMPUへ送る
とともに、MPUからのデータが5チャネル分のデータ
S DATAI〜S DATA5として取り出されるよ
うになっている。なお、送信用の各チャネルのそれぞれ
について、クロックS P/S CLKI〜S P/S
 CLK5 [第4図(17)、(20)、(23)、
(26)、(29)参照]、タイミングクロックS T
IMI〜S TIM5 [第4図(16)(19)、(
22)、(25)、(28)参照コを有し、受信用チャ
ネルについて、クロックRCLK[第4図(2)参照]
、タイミングクロックRTIN[第4図(1)参照]を
有する。
That is, as shown in FIG. 3 (a block diagram showing an embodiment of the present invention), a service bit insertion/extraction section 20 is provided, and this service bit insertion/extraction section 20 receives one channel of data RDATA. Then, this is sent to the MPU, and the data from the MPU is taken out as data for five channels S DATAI to S DATA5. Note that for each channel for transmission, clocks S P/S CLKI to S P/S
CLK5 [Figure 4 (17), (20), (23),
(26), (29)], timing clock S T
IMI~S TIM5 [Figure 4 (16) (19), (
22), (25), and (28), and for the receiving channel, the clock RCLK [see FIG. 4 (2)]
, and a timing clock RTIN [see FIG. 4 (1)].

また、このサービスビット挿入抽出部20とMPUとの
間には、パスラインを介してデュアルポートRAM1が
設けられており、サービスビット挿入抽出部20とMP
Uとの間でのデータ[第4図(4)〜(11)参照]の
授受に際し、このデュアルポートRAMIにデータを一
旦スドアできるようになっている。そして、このデュア
ルポートRAMIの書き込み読み出し制御は読み出し制
御信号○E[第4図(13)参照]および書き込み制御
信号WE [第4図(14)参照]によって行なうよう
になっている。
Further, a dual port RAM 1 is provided between the service bit insertion/extraction section 20 and the MPU via a path line.
When transmitting and receiving data [see FIG. 4 (4) to (11)] with U, the data can be temporarily stored in this dual port RAMI. The write/read control of this dual port RAMI is performed by a read control signal ○E [see FIG. 4 (13)] and a write control signal WE [see FIG. 4 (14)].

ところで、サービスビット挿入抽出部20は、S/P変
換器2.パルス発生器4,5チャネル分のP/S変換器
31〜35とパルス発生器51〜55、書き込み制御信
号発生器6.読み出し制御信号発生器7.比較器89位
相シフト制御部としてのリングカウンタ9.ゲート部1
0.データラッチ11.アドレス発生器12をそなえて
いる。
By the way, the service bit insertion/extraction unit 20 is connected to the S/P converter 2. Pulse generator 4, P/S converters 31-35 for 5 channels, pulse generators 51-55, write control signal generator 6. Read control signal generator7. Comparator 89 Ring counter 9 as a phase shift control section. Gate part 1
0. Data latch 11. It is equipped with an address generator 12.

ここで、S/P変換器2は、受信シリアルデータRDA
TA [第4図(3)参照]を例えば8ビツトパラレル
データ[第4図(4)〜(11)参照]に変換するもの
である。
Here, the S/P converter 2 converts the received serial data RDA
TA [see FIG. 4 (3)] is converted into, for example, 8-bit parallel data [see FIG. 4 (4) to (11)].

P/S変換器31〜35は、それぞれデュアルポートR
AMIからの8ビツトパラレルデータ[第4図(4)〜
(11)参照]をシリアルデータS DATAI〜S 
DATA5に変換するものである。
Each of the P/S converters 31 to 35 is a dual port R.
8-bit parallel data from AMI [Figure 4 (4) ~
(11)] as serial data S DATAI~S
This is to convert it to DATA5.

パルス発生器4は、受信データRDATAに同期した信
号(受信クロックRCLK [第4図(2)参照コ、受
信タイミング信号RTIM E第4図(1)参照コ)を
受けて、所要のパルス信号を発生するもので、該パルス
信号は、S/P変換器2.書き込み制御信号発生器6.
読み出し制御信号発生器7.デークラッチ11.アドレ
ス発生器12へ供給されるようになっている。
The pulse generator 4 receives a signal synchronized with the received data RDATA (reception clock RCLK [see Figure 4 (2)), reception timing signal RTIM E (see Figure 4 (1)), and generates a required pulse signal. The pulse signal is generated by the S/P converter 2. Write control signal generator6.
Read control signal generator7. Day clutch 11. The data is supplied to the address generator 12.

また、パルス発生器5王〜55は、送信データS DA
丁AI〜S DATA5に同期した信号(送信クロック
S P/S CLK1〜S P/S CLK5 [第4
図(17)、(20)、(23)、(26)、(29)
参照]、送信タイミングクロックS TIMI〜S T
IM5 [第4図(16)、(19)、(22)、(2
5)、(28)参照コ)を受けて、所要のパルス信号を
発生するもので、該パルス信号のうちS P/S CL
KI〜SP/S CLK5はそれぞれP/S変換器31
〜35へ供給されるとともに、ロードタイミング信号P
/S LOAD TIMI〜P/S LOAD TIM
5 [第4図(18)、(21)、(24)、(27)
、(30)参照コはそれぞれゲート部10を介して比較
器8へ供給されるようになっている。
In addition, pulse generators 5 to 55 transmit data S DA
Signal synchronized with DATA5 (transmission clock S P/S CLK1 to S P/S CLK5 [4th
Figures (17), (20), (23), (26), (29)
Reference], transmission timing clock S TIMI~ST
IM5 [Figure 4 (16), (19), (22), (2
5), (28)) and generates the required pulse signal, and among the pulse signals, S P/S CL
KI to SP/S CLK5 are each P/S converter 31
~35, and the load timing signal P
/S LOAD TIMI~P/S LOAD TIM
5 [Figure 4 (18), (21), (24), (27)
, (30) are supplied to the comparator 8 via the gate section 10, respectively.

書き込み制御信号発生器6は、パルス発生器4からの受
信データRDATAに同期する受信クロックRCLK 
[第4図(2)参照]より生成される信号を受けて、書
き込み制御信号WE [第4図(14)参照]を発生す
るもので、この書き込み制御信号WEはデュアルポート
RAMIの書き込み制御端へ入力される。
The write control signal generator 6 uses a reception clock RCLK that is synchronized with the reception data RDATA from the pulse generator 4.
The write control signal WE [see Fig. 4 (14)] is generated in response to the signal generated from [see Fig. 4 (2)], and this write control signal WE is transmitted to the write control terminal of the dual port RAMI. is input to.

読み出し制御信号発生器7は、パルス発生器4からの受
信データRDATAに同期する受信クロックRCLK 
[第4図(2)参照]より生成される信号を受けて、読
み出し制御信号○E[第4図(13)参照]を発生する
もので、この読み出し制御信号○EはデュアルポートR
AMIの読み出し制御端および比較器8へ入力される。
The read control signal generator 7 generates a reception clock RCLK that is synchronized with the reception data RDATA from the pulse generator 4.
[Refer to Figure 4 (2)] The read control signal ○E [Refer to Figure 4 (13)] is generated in response to the signal generated from the dual port R.
It is input to the read control terminal of AMI and the comparator 8.

比較器8は、読み出し制御信号発生器7からの読み出し
制御信号OEとゲート部10を経由したパルス発生器5
1〜55からのP/S変換器用のロードタイミング信号
P/S LOAD TIMI〜P/S LOAD TI
M5 [第4図(18)、(21)、(24)、(27
)、(30)参照コどの位相を比較するもので、これら
の信号位相が重なると、その旨の信号を出すようになっ
ている。
The comparator 8 receives the read control signal OE from the read control signal generator 7 and the pulse generator 5 via the gate section 10.
Load timing signal for P/S converter from 1 to 55 P/S LOAD TIMI to P/S LOAD TI
M5 [Figure 4 (18), (21), (24), (27
), (30) The reference phase is compared, and when these signal phases overlap, a signal to that effect is output.

リングカウンタ9は、比較器8から上記の信号位相の重
なりを検出した旨の信号を受けると、読み出し制御信号
発生器7へ読み出し制御信号OEの位相を通常位置より
所要ビットシフトさせる旨の制御信号を出力するもので
ある。
When the ring counter 9 receives a signal from the comparator 8 indicating that the above signal phase overlap is detected, the ring counter 9 sends a control signal to the read control signal generator 7 to shift the phase of the read control signal OE by a required bit from the normal position. This outputs the following.

ゲート部10は、パルス発生器51〜55からのP/S
変換器用のロードタイミング信号P/S LOAD T
IMI〜P/S LOAD TIM5 [第4図(18
)、(21)、(24)、(27)、(30)参照コを
比較器8へ通すもので、例えばORゲートが使用される
The gate section 10 receives P/S from the pulse generators 51 to 55.
Load timing signal P/S LOAD T for converter
IMI~P/S LOAD TIM5 [Figure 4 (18
), (21), (24), (27), and (30) are passed to the comparator 8, for example, an OR gate is used.

データラッチ11は、デュアルポートRAMIから読み
出されたデータをラッチするもので、アドレス発生器1
2は、デュアルポートRAMIへの書き込みアドレスお
よび読み出しアドレスを発生するものである。なお、第
4図(15)はデータラッチ出力(8ビット分)であり
、第4図(12)はアドレスコントロールデータである
The data latch 11 latches data read from the dual port RAMI, and the address generator 1
2 generates a write address and a read address to the dual port RAMI. Note that FIG. 4 (15) is data latch output (8 bits), and FIG. 4 (12) is address control data.

上述の構成により、非同期データをS/P変換器2およ
びP/S変換器31〜35を介してデュアルポートRA
M1に書き込んだり読み出したりする際に、書き込み制
御信号発生器6および読み出し制御信号発生器7で、そ
れぞれ受信データRDATA [第4図(3)参照]に
同期する受信クロックRCLK [第4図(2)参照]
からデュアルポートRAM1への書き込み制御信号WE
 [第4図(14)参照]および読み出し制御信号○E
[第4図(13)参照コを作成するとともに、読み出し
制御信号OEとP/S変換器用のロートタイミング信号
P/S LOAD TIMI〜P/S LOAD TI
M5 [第4図(1B)、(21)、(24)、(27
)、(30)参照コどの位相を、比較器8にて比較して
おき、これらの信号位相が重なると、リングカウンタ9
にて、読み出し制御信号○Eの位相を通常位置より所要
ビットシフトさせるのである[第4図(13)のA部参
照]。
With the above configuration, asynchronous data is sent to the dual port RA via the S/P converter 2 and the P/S converters 31 to 35.
When writing to or reading from M1, the write control signal generator 6 and the read control signal generator 7 each generate a reception clock RCLK [Fig. 4 (2)] synchronized with the reception data RDATA [see Fig. 4 (3)]. )reference]
Write control signal WE from to dual port RAM1
[See Figure 4 (14)] and read control signal ○E
[Refer to FIG. 4 (13), and at the same time create the readout control signal OE and the rotary timing signal P/S LOAD TIMI to P/S LOAD TI for the P/S converter.
M5 [Figure 4 (1B), (21), (24), (27
), (30) The comparator 8 compares the phases of the reference signals, and when these signal phases overlap, the ring counter 9
Then, the phase of the read control signal ○E is shifted by the required bits from the normal position [see part A in FIG. 4 (13)].

これにより、この現象以降は一定周期で作成されるP/
S変換器用のロードタイミング信号P/5LOAD T
IMI〜P/S LOAD TIM5 [第4図(18
)。
As a result, after this phenomenon, P/
Load timing signal P/5LOAD T for S converter
IMI~P/S LOAD TIM5 [Figure 4 (18
).

(21)、(24)、(27)、(30)参照コと読み
出し制御信号OE[第4図(13)参照]とは重なり合
うことがなくなり、デュアルポートRAM1からのデー
タを確実に読み出すことが可能となる。
(21), (24), (27), and (30) references and the read control signal OE [see Figure 4 (13)] no longer overlap, making it possible to reliably read data from the dual port RAM 1. It becomes possible.

なお、その後、仮りに読み出し制御信号OEとP/S変
換器用のロードタイミング信号P/S LOADTIM
I−P/S LOAD TIM5との位相が重なったと
しても、再度同様の動作を起こして、信号型なりを回避
することが行なわれる。
Note that after that, if the readout control signal OE and the load timing signal P/S LOADTIM for the P/S converter are
Even if the phase overlaps with the I-P/S LOAD TIM5, the same operation is performed again to avoid signal mismatch.

このようにして、デュアルポートRAM4を介して非同
期のシリアルデータを読み書きする場合、不都合なタイ
ミングからの回避を確実に行なうことができ、これによ
り、確実なデータのやりとりが可能となるものである。
In this way, when reading and writing asynchronous serial data via the dual port RAM 4, it is possible to reliably avoid inconvenient timing, thereby making it possible to reliably exchange data.

また、非同期データをS/P変換器2およびP/S変換
器3を介してRAM1に書き込んだり読み出したりする
際に、送信データに同期する送信クロックからRAM1
への書き込み制御信号WEおよび読み出し制御信号OE
を作成するとともに、書き込み制御信号○EとS/P変
換器のロードタイミング信号との位相を比較しておき、
これらの信号位相が重なると、位相シフト制御部として
のリングカウンタにて、書き込み制御信号WEの位相を
通常位置より所要ビットシフトさせるようにしても、R
AM1を介して非同期のシリアルデータを読み書きする
場合の不都合なタイミングを回避することができ、この
ようにしても確実なデータのやりとりが可能となるもの
である。
Also, when writing or reading asynchronous data to or from RAM 1 via S/P converter 2 and P/S converter 3, RAM 1 is
Write control signal WE and read control signal OE to
At the same time, compare the phase of the write control signal ○E and the load timing signal of the S/P converter.
When these signal phases overlap, R
Inconvenient timing when reading and writing asynchronous serial data via AM1 can be avoided, and reliable data exchange is also possible in this way.

なお、上記の実施例において、書き込み制御信号WE、
読み出し制御信号○E、ロードタイミング信号P/S 
LOAD TIMI〜P/S LOAD TIM5は反
転信号であるので、バーをつけるべきであるが、それを
明細書中では省略しである。
Note that in the above embodiment, the write control signals WE,
Read control signal ○E, load timing signal P/S
Since LOAD TIMI to P/S LOAD TIM5 are inverted signals, they should be marked with a bar, but they are omitted in the specification.

[発明の効果コ 以上詳述したように、請求項1記載の本発明のRAMの
非同期データアクセス方式によれば、非同期データをシ
リアル/パラレル変換器およびパラレル/シリアル変換
器を介してRAMに書き込んだり読み出したりする際に
、受信データに同期する受信クロックから該RAMへの
書き込み制御信号および読み出し制御信号を作成すると
ともに、該読み出し制御信号と該パラレル/シリアル変
換器用のロードタイミング信号との位相を比較しておき
、これらの信号位相が重なると、該読み出し制御信号の
位相を通常位置より所要ビットシフトさせることが行な
われるので、RAMを介して非同期のシリアルデータを
読み書きする場合の不都合なタイミングを回避すること
ができ、これにより、確実なデータのやりとりが可能と
なる利点がある。
[Effects of the Invention] As detailed above, according to the RAM asynchronous data access method of the present invention as set forth in claim 1, asynchronous data is written to the RAM via the serial/parallel converter and the parallel/serial converter. When reading or writing, a write control signal and a read control signal to the RAM are created from a reception clock synchronized with the received data, and the phase of the read control signal and the load timing signal for the parallel/serial converter is adjusted. When these signal phases overlap, the phase of the readout control signal is shifted by the required bits from the normal position, which eliminates inconvenient timing when reading and writing asynchronous serial data via RAM. This has the advantage of allowing reliable data exchange.

また、請求項2記載の本発明のRAMの非同期データア
クセス方式では、非同期データをシリアル/パラレル変
換器およびパラレル/シリアル変換器を介してRAMに
書き込んだり読み出したりする際に、送信データに同期
する送信クロックから該RAMへの書き込み制御信号お
よび読み出し制御信号を作成するとともに、該書き込み
制御信号と該シリアル/パラレル変換器のロードタイミ
ング信号との位相を比較しておき、これらの信号位相が
重なると、該書き込み制御信号の位相を通常位置より所
要ビットシフトさせることが行なわれるので、上記請求
項1記載の発明と同様に、RAMを介して非同期のシリ
アルデータを読み書きする場合の不都合なタイミングを
回避することができ、これにより、確実なデータのやり
とりが可能となる利点がある。
Further, in the asynchronous data access method of the RAM of the present invention according to claim 2, when writing or reading asynchronous data to or from the RAM via the serial/parallel converter and the parallel/serial converter, synchronization is performed with the transmitted data. A write control signal and a read control signal from the transmission clock to the RAM are created, and the phases of the write control signal and the load timing signal of the serial/parallel converter are compared, and if these signal phases overlap, , the phase of the write control signal is shifted by the required bits from the normal position, thus avoiding inconvenient timing when reading and writing asynchronous serial data via the RAM, similarly to the invention as claimed in claim 1 above. This has the advantage of enabling reliable data exchange.

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

第1,2図はそれぞれ本発明の原理ブロック図、第3図
は本発明の一実施例を示すブロック図、第4図は本発明
の一実施例の作用を説明するタイムチャート、 第5図は従来例を示すブロック図である。 図において、 lはRAM、 2はS/P変換器、 3はP/S変換器、 4.4’、5.5’はパルス発生器、 6.6′は書き込み制御信号発生器、 7.7′は読み出し制御信号発生器、 8は比較器、 9はリングカウンタ(位相シフト制御部)9′は位相シ
フト制御部、 10はゲート部、 11はデータラッチ、 12はアドレス発生器、 20はサービスビット挿入抽出部。 31〜35はP/S変換器、 51〜55はパルス発生器である。
Figures 1 and 2 are block diagrams of the principle of the present invention, Figure 3 is a block diagram showing an embodiment of the present invention, Figure 4 is a time chart explaining the operation of an embodiment of the present invention, and Figure 5. 1 is a block diagram showing a conventional example. In the figure, 1 is a RAM, 2 is an S/P converter, 3 is a P/S converter, 4.4' and 5.5' are pulse generators, 6.6' is a write control signal generator, and 7. 7' is a read control signal generator, 8 is a comparator, 9 is a ring counter (phase shift control section), 9' is a phase shift control section, 10 is a gate section, 11 is a data latch, 12 is an address generator, 20 is a Service bit insertion and extraction part. 31 to 35 are P/S converters, and 51 to 55 are pulse generators.

Claims (2)

【特許請求の範囲】[Claims] (1)非同期データをシリアル/パラレル変換器(2)
およびパラレル/シリアル変換器(3)を介してRAM
(1)に書き込んだり読み出したりする際に、受信デー
タに同期する受信クロックから該RAM(1)への書き
込み制御信号および読み出し制御信号を作成するととも
に、 該読み出し制御信号と該パラレル/シリアル変換器(3
)用のロードタイミング信号との位相を比較しておき、
これらの信号位相が重なると、該読み出し制御信号の位
相を通常位置より所要ビットシフトさせることを 特徴とする、RAMの非同期データアクセス方式。
(1) Asynchronous data serial/parallel converter (2)
and RAM via parallel/serial converter (3)
When writing to or reading from RAM (1), a write control signal and a read control signal to the RAM (1) are created from a reception clock synchronized with received data, and the read control signal and the parallel/serial converter are (3
), compare the phase with the load timing signal for
An asynchronous data access method for RAM, characterized in that when these signal phases overlap, the phase of the read control signal is shifted by a required bit from the normal position.
(2)非同期データをシリアル/パラレル変換器(2)
およびパラレル/シリアル変換器(3)を介してRAM
(1)に書き込んだり読み出したりする際に、送信デー
タに同期する送信クロックから該RAM(1)への書き
込み制御信号および読み出し制御信号を作成するととも
に、 該書き込み制御信号と該シリアル/パラレル変換器(2
)のロードタイミング信号との位相を比較しておき、こ
れらの信号位相が重なると、該書き込み制御信号の位相
を通常位置より所要ビットシフトさせることを 特徴とする、RAMの非同期データアクセス方式。
(2) Asynchronous data serial/parallel converter (2)
and RAM via parallel/serial converter (3)
When writing to or reading from RAM (1), create a write control signal and a read control signal to the RAM (1) from a transmission clock synchronized with the transmission data, and use the write control signal and the serial/parallel converter. (2
) and a load timing signal, and when these signal phases overlap, the phase of the write control signal is shifted by a required bit from the normal position.
JP2058758A 1990-03-09 1990-03-09 Asynchronous data access method of RAM Expired - Fee Related JP2540643B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2058758A JP2540643B2 (en) 1990-03-09 1990-03-09 Asynchronous data access method of RAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2058758A JP2540643B2 (en) 1990-03-09 1990-03-09 Asynchronous data access method of RAM

Publications (2)

Publication Number Publication Date
JPH03259637A true JPH03259637A (en) 1991-11-19
JP2540643B2 JP2540643B2 (en) 1996-10-09

Family

ID=13093439

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2058758A Expired - Fee Related JP2540643B2 (en) 1990-03-09 1990-03-09 Asynchronous data access method of RAM

Country Status (1)

Country Link
JP (1) JP2540643B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8737162B2 (en) 2009-01-12 2014-05-27 Rambus Inc. Clock-forwarding low-power signaling system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5999556U (en) * 1982-12-24 1984-07-05 株式会社日立製作所 phase synchronized circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5999556U (en) * 1982-12-24 1984-07-05 株式会社日立製作所 phase synchronized circuit

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8737162B2 (en) 2009-01-12 2014-05-27 Rambus Inc. Clock-forwarding low-power signaling system
US9043633B2 (en) 2009-01-12 2015-05-26 Rambus Inc. Memory controller with transaction-queue-monitoring power mode circuitry
US9229523B2 (en) 2009-01-12 2016-01-05 Rambus Inc. Memory controller with transaction-queue-dependent power modes
US9753521B2 (en) 2009-01-12 2017-09-05 Rambus Inc. Chip-to-chip signaling link timing calibration
US10331193B2 (en) 2009-01-12 2019-06-25 Rambus Inc. Signaling interface with phase and framing calibration
US10901485B2 (en) 2009-01-12 2021-01-26 Rambus Inc. Clock-forwarding memory controller with mesochronously-clocked signaling interface
US11556164B2 (en) 2009-01-12 2023-01-17 Rambus Inc. Memory IC with data loopback
US11960344B2 (en) 2009-01-12 2024-04-16 Rambus Inc. Memory controller with looped-back calibration data receiver

Also Published As

Publication number Publication date
JP2540643B2 (en) 1996-10-09

Similar Documents

Publication Publication Date Title
JPH055711Y2 (en)
US6249875B1 (en) Interface circuit using plurality of synchronizers for synchronizing respective control signals over a multi-clock environment
US6140946A (en) Asynchronous serialization/deserialization system and method
JPH03259637A (en) Asynchronous data access system for ram
US5420894A (en) Elastic storage circuit
US7248663B2 (en) Apparatus and method for transforming data transmission speed
JPS60241150A (en) Data transfer device
CN101228733B (en) Method of data transmission between two asynchronous system and asynchronous data buffer
JP2957821B2 (en) Transmission memory control circuit
JP3198709B2 (en) Data write and read circuit
JPH03265239A (en) Clock transfer circuit
JP2766006B2 (en) Elastic store method
KR100313933B1 (en) Data Transmission Control Apparatus
JPS6220450A (en) Buffer memory control system
JP2845768B2 (en) Time information synchronization device
JPS597252B2 (en) signal relay device
JPS6017139B2 (en) Serial port method
JPS59117356A (en) Junction circuit for data transfer
JPS599102B2 (en) memory device
JPH06274313A (en) Fault detection circuit for elastic storage memory
JPS61224528A (en) Frame aligner
JPS62279756A (en) Data transfer system
JPH02211749A (en) Speed changing circuit
JPH02162860A (en) Communication method between master station versus plural slave stations
JPH04935A (en) Clock replacing circuit

Legal Events

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