JP2002251371A - Communication device and communication method in electronic equipment - Google Patents

Communication device and communication method in electronic equipment

Info

Publication number
JP2002251371A
JP2002251371A JP2001045965A JP2001045965A JP2002251371A JP 2002251371 A JP2002251371 A JP 2002251371A JP 2001045965 A JP2001045965 A JP 2001045965A JP 2001045965 A JP2001045965 A JP 2001045965A JP 2002251371 A JP2002251371 A JP 2002251371A
Authority
JP
Japan
Prior art keywords
circuit
data
read
memory
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.)
Pending
Application number
JP2001045965A
Other languages
Japanese (ja)
Inventor
Hiroki Yokohama
宏樹 横浜
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.)
Toyo Communication Equipment Co Ltd
Original Assignee
Toyo Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyo Communication Equipment Co Ltd filed Critical Toyo Communication Equipment Co Ltd
Priority to JP2001045965A priority Critical patent/JP2002251371A/en
Publication of JP2002251371A publication Critical patent/JP2002251371A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Information Transfer Systems (AREA)
  • Memory System (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide communication device and the communication method in electronic equipment preventing the reading of erroneous data and permitting respective circuits to independently operate. SOLUTION: In the electronic equipment, an interface circuit 10 and a control circuit 30 are mounted on different substrates. The equipment is provided with a memory 20 having a plurality of faces 21 and 22 having writing side ports and reading side ports and a switch means which selects the face 21 or 22 as a face into which data to the writing side port can be written, selects the other face as that from which data from the reading side port can be read and switches the selected faces in accordance with output from the interface circuit 30.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、独立して動作する
回路をそれぞれ実装した複数の基板を備え、基板間の通
信が可能となるよう構成した電子機器に関するものであ
って、特に、この基板の複数の基板間における通信を行
うための通信装置および通信方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic apparatus having a plurality of boards on which independently operating circuits are mounted and configured to enable communication between the boards. And a communication method for performing communication between a plurality of substrates.

【0002】[0002]

【従来の技術】従来より、電話の交換機などの電子機器
においては、多数の電子部品を実装した、一般にパッケ
ージと呼ばれるプリント基板(以下、パッケージとい
う)を、バックワイヤボードと呼ばれるプリント基板に
装着し、各パッケージ間の通信が可能なようにシステム
を構成したものがある。
2. Description of the Related Art Conventionally, in electronic equipment such as telephone exchanges, a printed circuit board (hereinafter, referred to as a package) on which a large number of electronic components are mounted is generally mounted on a printed circuit board called a back wire board. Some systems are configured so that communication between each package is possible.

【0003】図3に、各パッケージ間の通信のためのシ
ステム構成例を示す。ここでは、回線のエラー情報など
を収集するインターフェース回路110と、このインタ
ーフェース回路110を監視および制御する制御回路1
30との間の通信について説明する。インターフェース
回路110および制御回路130は、別々のパッケージ
101,103に実装されており、これらのパッケージ
101,103は図示しないバックワイヤボードに装着
され、互いに通信可能となっている。インターフェース
回路110は、回線のエラー情報などに関するデータを
後述するデュアルポートメモリ120に書き込む書き込
み処理部112を有しており、制御回路130は、その
データをデュアルポートメモリ120から読み出す読み
出し処理部132を有している。インターフェース回路
110が実装されたパッケージ101には、インターフ
ェース回路110と制御回路130との通信を仲介する
デュアルポートメモリ120が実装されている。このデ
ュアルポートメモリ120は、インターフェース回路1
10によりデータが書き込まれる書き込み側ポート12
1と、制御回路130によりデータが読み出される読み
出し側ポート122とを有している。インターフェース
回路110は、デュアルポートメモリ120の書き込み
側ポート121に対して一定の周期でデータを送信し、
制御回路部130は、デュアルポートメモリ120の読
み出し側ポート122から一定の周期でデータを読み出
す。インターフェース回路110がデータを書き込む周
期と、制御回路130がデータを読み出す周期は異なっ
ている。デュアルポートメモリ120は、このインター
フェース回路110および制御回路130による互いに
周期の異なるデータの書き込みおよび読み出しを可能に
するためのものである。
FIG. 3 shows an example of a system configuration for communication between packages. Here, an interface circuit 110 that collects line error information and the like, and a control circuit 1 that monitors and controls the interface circuit 110
The communication with the T.30 will be described. The interface circuit 110 and the control circuit 130 are mounted on separate packages 101 and 103. These packages 101 and 103 are mounted on a back wire board (not shown) and can communicate with each other. The interface circuit 110 includes a write processing unit 112 that writes data relating to line error information and the like to a dual port memory 120 described below. The control circuit 130 includes a read processing unit 132 that reads the data from the dual port memory 120. Have. On the package 101 on which the interface circuit 110 is mounted, a dual port memory 120 that mediates communication between the interface circuit 110 and the control circuit 130 is mounted. The dual port memory 120 is provided in the interface circuit 1
Write port 12 to which data is written by 10
1 and a read-side port 122 from which data is read by the control circuit 130. The interface circuit 110 transmits data at a constant cycle to the write port 121 of the dual port memory 120,
The control circuit unit 130 reads data from the read port 122 of the dual port memory 120 at a constant cycle. The cycle at which the interface circuit 110 writes data is different from the cycle at which the control circuit 130 reads data. The dual-port memory 120 enables the interface circuit 110 and the control circuit 130 to write and read data having different periods.

【0004】しかしながら、このような従来のシステム
では、インターフェース回路110がデュアルポートメ
モリ120にデータを書き込んでいる間に、制御回路1
30がデュアルポートメモリ120からのデータ読み出
しを行うと、制御回路130が誤ったデータを読み出し
てしまう可能性がある。以下、この点について説明す
る。ここでは、インターフェース回路110が数字1〜
10に対応するデータをデュアルポートメモリ120の
番地1〜番地4に順次書き込み、制御回路130がデュ
アルポートメモリ120の番地1〜番地4からデータを
順次読み出すものとする。この場合、インターフェース
回路110がデュアルポートメモリ120の番地1〜番
地4にデータ1,2,3,4を順次書き込んだのち、制
御回路130がデュアルポートメモリ120の番地1〜
番地4からデータ1,2,3,4を順次読み出し、次
に、インターフェース回路110が番地1〜番地4にデ
ータ5,6,7,8を順次書き込んだのち、制御回路1
30が番地1〜番地4からデータ5,6,7,8を順次
読み出すことが理想的である。しかしながら、インター
フェース回路110が、デュアルポートメモリ120の
番地1にデータ5を書き込んだ直後に、制御回路130
がデータの読み出しを開始した場合、データ5,2,
3,4が読み出されてしまうことになる。
However, in such a conventional system, while the interface circuit 110 is writing data to the dual port memory 120, the control circuit 1
When the 30 reads data from the dual port memory 120, the control circuit 130 may read erroneous data. Hereinafter, this point will be described. Here, the interface circuit 110 has the numerals 1 to
It is assumed that data corresponding to 10 is sequentially written to addresses 1 to 4 of the dual port memory 120, and the control circuit 130 sequentially reads data from addresses 1 to 4 of the dual port memory 120. In this case, after the interface circuit 110 sequentially writes the data 1, 2, 3, and 4 at addresses 1 to 4 of the dual port memory 120, the control circuit 130 sets the addresses 1 to 4 of the dual port memory 120.
The data 1, 2, 3, and 4 are sequentially read from the address 4, and the interface circuit 110 sequentially writes the data 5, 6, 7, and 8 into the addresses 1 to 4, and then the control circuit 1
It is ideal that the data 30 sequentially reads data 5, 6, 7, and 8 from addresses 1 to 4. However, immediately after the interface circuit 110 writes the data 5 to the address 1 of the dual port memory 120, the control circuit 130
Starts reading data, data 5, 2,
3, 4 will be read.

【0005】そこで、従来より、インターフェース回路
110によるデータの書き込みのタイミングと、制御回
路130によるデータの読み出しのタイミングとを調整
する調停回路を設けることが提案されている。
Therefore, it has been conventionally proposed to provide an arbitration circuit for adjusting the timing of writing data by the interface circuit 110 and the timing of reading data by the control circuit 130.

【0006】図4に、このような調停回路108を設け
たシステム構成例を示す。このシステム構成例では、イ
ンターフェース回路110がデータの書き込みを開始す
る際には、インターフェース回路110から調停回路1
08に対して書き込み要求信号を送信する。また、制御
回路130がデータの読み出しを開始する際には、制御
回路130から調停回路108に対して読み出し要求信
号を送信する。調停回路108は、インターフェース回
路110からの書き込み要求信号を受け取ると、制御回
路130がデータの読み出しを行っていない(すなわ
ち、読み出し要求信号を受け取っていない)ことを確認
した上で、インターフェース回路110に対して書き込
み許可を行う。また、調停回路108は、制御回路13
0から読み出し要求信号を受け取ると、インターフェー
ス回路110がデータの書き込みを行っていない(すな
わち、書き込み要求信号を受け取っていない)ことを確
認した上で、制御回路130に対して読み出し許可を行
う。このような構成によれば、インターフェース回路1
10は、制御回路130がメモリ120からデータを読
み出している間は、データの書き込みを行うことができ
ず、制御回路130は、インターフェース回路110が
メモリ120にデータを書き込んでいる間は、データの
読み出しを行うことができない。従って、上述したよう
な誤ったデータの読み出しを防止することができる。
FIG. 4 shows an example of a system configuration in which such an arbitration circuit 108 is provided. In this system configuration example, when the interface circuit 110 starts writing data, the arbitration circuit 1
08, a write request signal is transmitted. When the control circuit 130 starts reading data, the control circuit 130 transmits a read request signal to the arbitration circuit 108. Upon receiving the write request signal from the interface circuit 110, the arbitration circuit 108 confirms that the control circuit 130 has not read data (that is, has not received the read request signal), and then transmits the data to the interface circuit 110. Write permission is made for the same. In addition, the arbitration circuit 108 controls the control circuit 13
When a read request signal is received from 0, after confirming that the interface circuit 110 is not writing data (ie, not receiving a write request signal), the control circuit 130 is permitted to read. According to such a configuration, the interface circuit 1
10 cannot write data while the control circuit 130 is reading data from the memory 120, and the control circuit 130 cannot read data while the interface circuit 110 is writing data to the memory 120. Reading cannot be performed. Therefore, reading of erroneous data as described above can be prevented.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、このよ
うな調停回路108を設けた場合、以下のような問題が
ある。すなわち、インターフェース回路110と制御回
路130とは、調停回路108による許可のもと、互い
の動作の影響を受けながら動作するため、両回路間の通
信状態に異常が発生した場合に、どちらの回路に障害が
あるのかを特定することができない。例えば、制御回路
130によるデータの読み出しが停止してしまった場
合、制御回路130の障害によってデータの読み出しが
停止したのか、インターフェース回路110に障害があ
ってデータ書き込みが完了していないために調停回路1
08から読み出し許可が出ていない状態なのかが判断で
きない。従って、このような回路間の通信状態の異常が
発生した場合には、インターフェース回路110および
制御回路130の両方を交換しなければならないという
問題がある。
However, when such an arbitration circuit 108 is provided, there are the following problems. That is, the interface circuit 110 and the control circuit 130 operate under the influence of each other under the permission of the arbitration circuit 108. Therefore, when an abnormality occurs in the communication state between the two circuits, It is not possible to identify whether there is an obstacle. For example, if the data reading by the control circuit 130 has stopped, the data reading has stopped due to a failure in the control circuit 130, or the arbitration circuit has failed because the data writing has not been completed due to a failure in the interface circuit 110. 1
08, it cannot be determined whether or not the read permission has not been issued. Therefore, there is a problem that when such a communication state abnormality between the circuits occurs, both the interface circuit 110 and the control circuit 130 must be replaced.

【0008】また、インターフェース回路110および
制御回路130の両方に、書き込み要求の送信や書き込
み許可の受信を処理する処理部を設けなければならない
ことから、それぞれの回路構成が複雑になるという問題
もある。
Further, since both the interface circuit 110 and the control circuit 130 must be provided with a processing unit for processing the transmission of a write request and the reception of a write permission, there is a problem that the respective circuit configurations become complicated. .

【0009】従って本発明の目的は、誤ったデータの読
み出しを防止するとともに、各回路が独立して動作する
ことを可能にする電子機器における通信装置およびその
通信方法を提供することにある。
SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide a communication device and a communication method in an electronic device that prevent reading of erroneous data and enable each circuit to operate independently.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するた
め、本発明の電子機器における通信装置は、互いに独立
して動作する第1の回路と第2の回路とを別々の基板に
実装するとともに、その別々の基板を互いに通信可能に
構成した電子機器において、複数の面を有するメモリで
あって、それぞれの面が、上記第1の回路によるデータ
の書き込みのための書き込み側ポートと、上記第2の回
路によるデータの読み出しのための読み出し側ポートと
を有するよう構成されたメモリと、上記メモリの複数の
面のうち、1つの面を、書き込み側ポートへのデータの
書き込みが可能な面として選択するとともに、他の1つ
の面を、読み出し側ポートからのデータの読み出しが可
能な面として選択し、かつ、選択したそれぞれの面を上
記第1の回路からの出力に応じて切り替える切り替え手
段と、備えたことを特徴とする。
In order to achieve the above object, a communication device in an electronic apparatus according to the present invention includes a first circuit and a second circuit which operate independently of each other mounted on separate substrates. An electronic device in which the separate substrates are configured to be able to communicate with each other, wherein the memory has a plurality of surfaces, each of which has a write-side port for writing data by the first circuit; A memory configured to have a read-side port for reading data by the two circuits, and one of a plurality of surfaces of the memory as a surface on which data can be written to a write-side port. While selecting another surface as a surface from which data can be read from the read-side port, and selecting each selected surface from the first circuit. And switching means for switching in response to a force, characterized by comprising.

【0011】この場合において、上記第1の回路は、上
記メモリにデータの書き込みを行っているときには、デ
ータの書き込み中であることを示す第1制御信号を上記
切り替え手段に送信し、上記第2の回路は、上記メモリ
からのデータの読み出しを行っているときには、データ
の読み出し中であることを示す第2制御信号を上記切り
替え手段に送信し、上記切り替え手段は、上記第2制御
信号を受けとっている間を除き、上記第1制御信号に応
じて上記切り替えを行うことが好ましい。また、上記メ
モリおよび上記切り替え手段は、上記第1の回路と同一
の基板に実装されていることが好ましい。
In this case, when the first circuit is writing data to the memory, the first circuit transmits a first control signal indicating that data is being written to the switching means, and When reading data from the memory, the circuit transmits a second control signal indicating that data is being read to the switching means, and the switching means receives the second control signal. It is preferable that the switching be performed according to the first control signal except during the operation. Further, it is preferable that the memory and the switching unit are mounted on the same substrate as the first circuit.

【0012】また、本発明の電子機器における通信方法
は、互いに独立して動作する第1の回路と第2の回路と
を別々の基板に実装するとともに、その別々の基板を互
いに通信可能に構成した電子機器において、複数の面を
有するメモリであって、それぞれの面が、上記第1の回
路によるデータの書き込みのための書き込み側ポート
と、上記第2の回路によるデータの読み出しのための読
み出し側ポートとを有するよう構成されたメモリを用
い、上記メモリの複数の面のうち、1つの面を、書き込
み側ポートへのデータの書き込みが可能な面として選択
するとともに、他の1つの面を、読み出し側ポートから
のデータの読み出しが可能な面として選択し、かつ、選
択したそれぞれの面を上記第1の回路からの出力に応じ
て切り替えること、を特徴とする。
Further, according to a communication method in an electronic device of the present invention, a first circuit and a second circuit that operate independently of each other are mounted on separate boards, and the separate boards can communicate with each other. A memory having a plurality of surfaces, each of which has a write-side port for writing data by the first circuit and a read-side port for reading data by the second circuit. And a memory configured to have a side port, and one of the plurality of surfaces of the memory is selected as a surface on which data can be written to a writing port, and the other surface is selected. Selecting as a surface from which data can be read from the read-side port, and switching each selected surface in accordance with the output from the first circuit. And butterflies.

【0013】この場合において、上記第1の回路が上記
メモリにデータの書き込みを行っているときには、デー
タの書き込み中であることを示す第1制御信号を上記第
1の回路から出力し、上記第2の回路が上記メモリから
のデータの読み出しを行っているときには、データの読
み出し中であることを示す第2制御信号を上記第2の回
路から出力し、上記第2制御信号が出力されている間を
除き、上記第1制御信号に応じて上記切り替えを行うよ
うにすることが好ましい。
In this case, when the first circuit is writing data to the memory, a first control signal indicating that data is being written is output from the first circuit, When the second circuit is reading data from the memory, a second control signal indicating that data is being read is output from the second circuit, and the second control signal is output. It is preferable that the switching be performed in accordance with the first control signal except during the interval.

【0014】[0014]

【発明の実施の形態】以下、図示した一実施形態に基い
て本発明を詳細に説明する。図1は、本発明の一実施形
態に係る電子機器における通信装置および通信方法を実
現するための装置構成を示すブロック図であり、図2
は、回路間で送受信される各種信号のタイミングをそれ
ぞれ示している。図1において、第1の回路としてのイ
ンターフェース回路10は、電話の交換機などにおいて
回線のエラー情報などのデータを収集するものであり、
第2の回路としての制御回路30は、インターフェース
回路10を監視および制御するものである。インターフ
ェース回路10および制御回路30は別々のパッケージ
1およびパッケージ3に実装されており、このパッケー
ジ1およびパッケージ3は、図示しないバックワイヤボ
ード(図示せず)に装着され、互いに通信可能になって
いる。インターフェース回路10は、回線のエラー情報
などのデータを、後述するデュアルポートメモリ20に
書き込む書き込み処理部12を有しており、制御回路3
0は、そのデータを読み出す読み出し処理部32を有し
ている。インターフェース回路10は、書き込み処理部
12によりデータの書き込みを行う際には、データの出
力中であることを示す第1制御信号を後述するトグル回
路25に出力する。制御回路30は、読み出し処理部3
2によりデータの読み出しを行う際には、データの読み
出し中であることを示す第2制御信号を後述するトグル
禁止回路27に出力する。なお、図1では、パッケージ
1を1つのみ示すが、バックワイヤボード(図示せず)
には複数のパッケージ1が装着されており、それぞれ、
パッケージ3と通信可能に構成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail based on one embodiment shown in the drawings. FIG. 1 is a block diagram showing a device configuration for realizing a communication device and a communication method in an electronic device according to an embodiment of the present invention.
Indicates timings of various signals transmitted and received between circuits. In FIG. 1, an interface circuit 10 as a first circuit collects data such as line error information in a telephone exchange or the like.
The control circuit 30 as a second circuit monitors and controls the interface circuit 10. The interface circuit 10 and the control circuit 30 are mounted on separate packages 1 and 3, and the package 1 and the package 3 are mounted on a back wire board (not shown) (not shown) and can communicate with each other. . The interface circuit 10 includes a write processing unit 12 that writes data such as line error information to a dual port memory 20 described later.
0 has a read processing unit 32 for reading the data. When writing data by the write processing unit 12, the interface circuit 10 outputs a first control signal indicating that data is being output to a toggle circuit 25 described later. The control circuit 30 includes the read processing unit 3
When the data is read by using the second control signal 2, a second control signal indicating that the data is being read is output to a toggle inhibit circuit 27 described later. Although only one package 1 is shown in FIG. 1, a back wire board (not shown)
Has a plurality of packages 1 attached to it,
It is configured to be able to communicate with the package 3.

【0015】インターフェース回路10と制御回路30
とのデータの送受信を仲介するため、パッケージ1に
は、デュアルポートメモリ20が実装されている。デュ
アルポートメモリ20は、互いに同一の構成を有する第
1面21と第2面22とを有している。なお、本明細書
では、デュアルポートメモリの「面」とは、書き込み側
ポートと読み出し側ポートとをそれぞれ備え、互いに独
立して作動可能な領域のことをいう。第1面21は、イ
ンターフェース回路10によるデータの書き込みが可能
な書き込み側ポート21aと、制御回路30によるデー
タの読み出しが可能な読み出し側ポート21bとを有し
ている。第2面22は、第1面21と同様、インターフ
ェース回路10によるデータの書き込みが可能な書き込
み側ポート22aと、制御回路30によるデータの読み
出しが可能な読み出し側ポート22bとを有している。
これら第1面21および第2面22は、いずれもデータ
を保持するための番地1〜番地4を有している。
Interface circuit 10 and control circuit 30
A dual port memory 20 is mounted on the package 1 in order to mediate transmission and reception of data with the package 1. The dual port memory 20 has a first surface 21 and a second surface 22 having the same configuration. In this specification, the “surface” of the dual-port memory refers to a region that includes a write-side port and a read-side port and that can operate independently of each other. The first surface 21 has a write-side port 21 a to which data can be written by the interface circuit 10 and a read-side port 21 b to which data can be read by the control circuit 30. Like the first surface 21, the second surface 22 has a write-side port 22a to which data can be written by the interface circuit 10 and a read-side port 22b to which data can be read by the control circuit 30.
Both the first surface 21 and the second surface 22 have addresses 1 to 4 for holding data.

【0016】デュアルポートメモリ20は、後述するト
グル回路25から送信される書き込み面セット信号に応
じて、第1面21の書き込み側ポート21aおよび第2
面22の書き込み側ポート22aのいずれか一方が書き
込み可能になるように構成されている。また、デュアル
ポートメモリ20は、後述する反転回路26から送信さ
れる読み出し面セット信号に応じて、第1面21の読み
出し側ポート21bおよび第2面22の読み出し側ポー
ト22bのいずれか一方が読み出し可能になるように構
成されている。
The dual port memory 20 stores a write port 21a and a second port 21a of the first surface 21 in response to a write surface set signal transmitted from a toggle circuit 25 described later.
One of the write-side ports 22a of the surface 22 is configured to be writable. Further, in the dual-port memory 20, one of the read-side port 21b of the first surface 21 and the read-side port 22b of the second surface 22 reads data according to a read surface set signal transmitted from an inversion circuit 26 described later. It is configured to be possible.

【0017】パッケージ1には、書き込み面セット信号
をデュアルポートメモリ20に出力するトグル回路25
と、この書き込み面セット信号を反転させた読み出し面
セット信号をデュアルポートメモリ20に出力する反転
回路26が実装されている。さらに、パッケージ1に
は、制御回路30がデュアルポートメモリ20からデー
タを読み出しているときには、トグル回路25の動作を
禁止するトグル禁止回路27が設けられている。
The package 1 has a toggle circuit 25 for outputting a write surface set signal to the dual port memory 20.
And an inverting circuit 26 for outputting a read surface set signal obtained by inverting the write surface set signal to the dual port memory 20. Further, the package 1 is provided with a toggle inhibit circuit 27 for inhibiting the operation of the toggle circuit 25 when the control circuit 30 is reading data from the dual port memory 20.

【0018】トグル回路25は、インターフェース回路
10から出力される第1制御信号を受け取るたびに、デ
ュアルポートメモリ20および反転回路26に出力する
書き込み面セット信号の信号レベルを、例えば"Hig
h","Low","High","Low"と交互に切り替
える(すなわちトグルする)よう構成されている。反転
回路26は、トグル回路25から出力された第1制御信
号を受け取ると、この第1制御信号を反転させ、読み出
し面セット信号としてデュアルポートメモリ20に出力
する。すなわち、この反転回路26は、トグル回路25
のトグル動作に応じて、書き込み面セット信号の信号レ
ベルを、例えば"Low","High","Low","H
igh"と切り替える。トグル禁止回路27は、制御回
路30から出力された第2制御信号を受け取っている間
は、トグル回路25に対し、トグル動作を禁止するトグ
ル禁止信号を出力する。
Each time the toggle circuit 25 receives the first control signal output from the interface circuit 10, the toggle circuit 25 changes the signal level of the write surface set signal output to the dual port memory 20 and the inversion circuit 26 to, for example, "Hig".
h "," Low "," High ", and" Low "are alternately switched (that is, toggle) The inversion circuit 26 receives the first control signal output from the toggle circuit 25, and The first control signal is inverted and output as a read surface set signal to the dual port memory 20. That is, the inverting circuit 26 includes the toggle circuit 25.
, The signal level of the write surface set signal is changed to, for example, "Low", "High", "Low", "H".
The toggle inhibit circuit 27 outputs a toggle inhibit signal to the toggle circuit 25 to inhibit the toggle operation while receiving the second control signal output from the control circuit 30.

【0019】デュアルポートメモリ20は、トグル回路
25から出力された書き込み面セット信号の信号レベル
が"High"のときには、第1面21の書き込み側ポー
ト21aを書き込み可能とし、書き込み面セット信号の
信号レベルが"Low"のときには、第2面22の書き込
み側ポート22aを書き込み可能とするよう構成されて
いる。また、このデュアルポートメモリ20は、反転回
路26から出力された読み出し面セット信号の信号レベ
ルが"High"のときには、第1面21の読み出し側ポ
ート21bを読み出し可能とし、読み出し面セット信号
の信号レベルが"Low"のときには、第2面22の読み
出し側ポート22bを読み出し可能とするよう構成され
ている。これにより、デュアルポートメモリ20では、
書き込み側ポートへのデータの書き込みと、読み出し側
ポートからのデータの読み出しとが、異なる面で行われ
るようになっている。すなわち、トグル回路25,反転
回路26およびトグル禁止回路27は、デュアルポート
メモリ20において、データの書き込みが可能な面と、
データの読み出しが可能な面とを切り替える切り替え手
段を構成している。
When the signal level of the write surface set signal output from the toggle circuit 25 is "High", the dual port memory 20 enables the write port 21a of the first surface 21 to be writable, and the signal of the write surface set signal is output. When the level is “Low”, the writing port 22 a of the second surface 22 is configured to be writable. When the signal level of the read-out surface set signal output from the inverting circuit 26 is “High”, the dual-port memory 20 can read out the read-out port 21 b of the first surface 21, and outputs the read-out surface set signal. When the level is “Low”, the read-side port 22 b of the second surface 22 is configured to be readable. Thereby, in the dual port memory 20,
Writing data to the writing port and reading data from the reading port are performed in different aspects. That is, the toggle circuit 25, the inversion circuit 26, and the toggle prohibition circuit 27 are provided in the dual-port memory 20 in terms of the surface on which data can be written,
A switching means for switching between a surface from which data can be read and a surface from which data can be read is configured.

【0020】次に、このように構成されたシステムにお
ける回路間の通信方法につき、図2を参照して説明す
る。
Next, a communication method between circuits in the system configured as described above will be described with reference to FIG.

【0021】インターフェース回路10は、デュアルポ
ートメモリ20へのデータの書き込みを開始する前に、
第1制御信号をトグル回路25に出力する(すなわち、
第1制御信号の信号レベルを"High"とする)。この
時点で、制御回路30がデータ読み出しを行っていなけ
れば、トグル禁止回路27からのトグル禁止信号は出力
されていないため、トグル回路25は、書き込み面セッ
ト信号の信号レベルを"High"とする。デュアルポー
トメモリ20は、トグル回路25から送信された書き込
み面セット信号に基づき、第1面21の書き込み側ポー
ト21aへの書き込みを可能にする。次いで、インター
フェース回路10は、デュアルポートメモリ20の第1
面21の書き込み側ポート21aへのデータの書き込み
を行う。なお、トグル回路25から出力される書き込み
面セット信号の信号レベルが"High"となったことに
より、反転回路26は、読み出し面セット信号の信号レ
ベルを"Low"とする。
Before starting to write data to the dual port memory 20, the interface circuit 10
The first control signal is output to the toggle circuit 25 (ie,
The signal level of the first control signal is “High”). At this point, if the control circuit 30 has not read data, the toggle prohibition circuit 27 does not output the toggle prohibition signal, and the toggle circuit 25 sets the signal level of the write surface set signal to “High”. . The dual port memory 20 enables writing to the write-side port 21 a of the first surface 21 based on the write surface set signal transmitted from the toggle circuit 25. Next, the interface circuit 10 connects to the first port of the dual port memory 20.
Data is written to the write-side port 21a of the surface 21. Note that, since the signal level of the write plane set signal output from the toggle circuit 25 has become “High”, the inversion circuit 26 sets the signal level of the read plane set signal to “Low”.

【0022】インターフェース回路10が、デュアルポ
ートメモリ20の第1面21の書き込み側ポート21a
にデータの書き込みを行っている間に、制御回路30が
データの読み出しを開始した場合、反転回路26から出
力される読み出し面セット信号は上述したとおり"Lo
w"となっており、デュアルポートメモリ20は第2面
22の読み出し側ポート22bからの読み出しを可能に
しているため、制御回路30は、デュアルポートメモリ
20の第2面22の読み出し側ポート22bからのデー
タの読み出しを行う。なお、制御回路30がデータの読
み出しを開始する際、トグル禁止回路27に第2制御信
号を出力する(すなわち、第2制御信号の信号レベル
を"High"とする)ため、トグル禁止回路27は、ト
グル回路25に対し、トグル動作を禁止するトグル禁止
信号を出力する。制御回路30は、デュアルポートメモ
リ20の第2面22の読み出し側ポート22bからのデ
ータの読み出しを完了すると、第2制御信号を停止する
(すなわち、第2制御信号の信号レベルを"Low"とす
る)ため、トグル禁止回路27は、トグル禁止信号を停
止し、トグル回路25によるトグル動作の禁止を解除す
る。
The interface circuit 10 has a write-side port 21 a on the first surface 21 of the dual-port memory 20.
In the case where the control circuit 30 starts reading data while writing data to the read surface, the read surface set signal output from the inverting circuit 26 is “Lo” as described above.
w ", the dual-port memory 20 enables reading from the reading-side port 22b of the second surface 22. Therefore, the control circuit 30 sets the reading-side port 22b of the second surface 22 of the dual-port memory 20 to When the control circuit 30 starts reading data, it outputs a second control signal to the toggle prohibition circuit 27 (that is, the signal level of the second control signal is set to “High”). Therefore, the toggle prohibition circuit 27 outputs a toggle prohibition signal for prohibiting the toggle operation to the toggle circuit 25. The control circuit 30 outputs the data from the read-side port 22b of the second surface 22 of the dual port memory 20. When the reading is completed, the second control signal is stopped (that is, the signal level of the second control signal is set to “Low”), so that the toggle is prohibited. Road 27 stops the toggling inhibit signal, cancels the prohibition of the toggle operation by the toggle circuit 25.

【0023】制御回路30によるデータの読み出しが完
了したのち、インターフェース回路10が再びデータの
書き込みを開始する場合、上述したようにトグル回路2
5のトグル動作は禁止されていないため、インターフェ
ース回路10から出力される第1制御信号に基づき、ト
グル回路25は、書き込み面セット信号の信号レベル
を"Low"とし、デュアルポートメモリ20の第2面2
2の書き込み側ポート22aへの書き込みを可能にす
る。次いで、インターフェース回路10は、デュアルポ
ートメモリ20の第2面22の書き込み側ポート22a
へのデータの書き込みを行う。なお、トグル回路25か
ら出力される書き込み面セット信号の信号レベルが"L
ow"となったことにより、反転回路26は、読み出し
面セット信号の信号レベルを"High"とする。これに
より、デュアルポートメモリ20は、第1面21の読み
出し側ポート21bからのデータの読み出しを可能とす
る。
When the interface circuit 10 starts writing data again after the data reading by the control circuit 30 is completed, as described above, the toggle circuit 2
5 is not prohibited, the toggle circuit 25 sets the signal level of the write surface set signal to “Low” based on the first control signal output from the interface circuit 10, and sets the second level of the dual port memory 20 to “Low”. Face 2
2 enables writing to the write-side port 22a. Next, the interface circuit 10 communicates with the write-side port 22a of the second surface 22 of the dual-port memory 20.
Write data to The signal level of the write surface set signal output from the toggle circuit 25 is "L".
As a result, the inverting circuit 26 sets the signal level of the read surface set signal to “High”, whereby the dual port memory 20 reads data from the read side port 21b of the first surface 21. Is possible.

【0024】一方、制御回路30がデータの読み出しを
行っている間に、インターフェース回路10が再びデー
タの書き込みを開始する場合、インターフェース回路1
0はトグル回路25に対して第1制御信号を出力する
(すなわち、第1制御信号の信号レベルは"High"と
なる)が、トグル回路25のトグル動作は禁止されてい
るため、書き込み面セット信号の信号レベルは"Hig
h"のままであり、デュアルポートメモリ20は、引き
続き、第2面22の書き込み側ポート22aへのデータ
の書き込みを可能にしている。これにより、インターフ
ェース回路10は、デュアルポートメモリ20の第2面
22の書き込み側ポート22aへのデータ書き込みを行
う。すなわち、デュアルポートメモリ20の第1面21
では、まだ制御回路30によるデータの読み出しが続い
ているため、インターフェース回路10によるデータの
書き込みは、第2面22で行われることになる。
On the other hand, when the interface circuit 10 starts writing data again while the control circuit 30 is reading data, the interface circuit 1
0 outputs the first control signal to the toggle circuit 25 (that is, the signal level of the first control signal becomes “High”), but the toggle operation of the toggle circuit 25 is prohibited, so that the write surface setting is performed. The signal level of the signal is "Hig
h ", the dual-port memory 20 continues to be able to write data to the write-side port 22a of the second surface 22. Thereby, the interface circuit 10 allows the second port memory 20 of the dual-port memory 20 to be written. Data is written to the write-side port 22a of the surface 22. That is, the first surface 21 of the dual port memory 20 is written.
Then, since the reading of data by the control circuit 30 is still continued, the writing of data by the interface circuit 10 is performed on the second surface 22.

【0025】このように、インターフェース回路10に
よるデータ書き込みと、制御回路30によるデータ読み
出しとがデュアルポートメモリ20における互いに異な
る面で行われるようにしたので、インターフェース回路
10とデュアルポートメモリ20とを独立に動作させて
も、誤ったデータの読み出しが生じることがない。
As described above, the data writing by the interface circuit 10 and the data reading by the control circuit 30 are performed on different surfaces of the dual port memory 20, so that the interface circuit 10 and the dual port memory 20 are independent. Erroneous data reading does not occur.

【0026】以上、本発明の一実施形態を図面に沿って
説明した。しかしながら本発明は上記実施形態に示した
事項に限定されず、特許請求の範囲の記載に基いてその
変更、改良等が可能であることは明らかである。例え
ば、上記の実施の形態では、デュアルポートメモリ20
が2つの面(第1面21および第2面22)を有するよ
うにしたが、3つ以上の面を有するようにしてもよい。
The embodiment of the present invention has been described with reference to the drawings. However, it is apparent that the present invention is not limited to the matters described in the above embodiments, and that changes, improvements, and the like can be made based on the description in the claims. For example, in the above embodiment, the dual port memory 20
Has two surfaces (the first surface 21 and the second surface 22), but may have three or more surfaces.

【0027】[0027]

【発明の効果】以上の如く本発明によれば、第1の回路
と第2の回路とが互いに独立して動作しても、誤ったデ
ータの読み出しが生じることがない。このように第1の
回路と第2の回路とが互いに独立して動作するため、両
回路間の通信状態に異常が生じた場合には、どちらの回
路に障害があるのかを容易に判断することができるよう
になる。
As described above, according to the present invention, erroneous data reading does not occur even if the first circuit and the second circuit operate independently of each other. As described above, since the first circuit and the second circuit operate independently of each other, if an abnormality occurs in the communication state between the two circuits, it is easy to determine which circuit has a failure. Will be able to do it.

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

【図1】本発明の一実施の形態に係る電子機器における
通信装置および通信方法が適用されるシステム構成を示
すブロック図である。
FIG. 1 is a block diagram showing a system configuration to which a communication device and a communication method in an electronic device according to an embodiment of the present invention are applied;

【図2】図1に示したシステム構成におけるインターフ
ェース基板と制御基板との間のデータ通信のタイミング
チャートである。
FIG. 2 is a timing chart of data communication between an interface board and a control board in the system configuration shown in FIG. 1;

【図3】従来の電子機器における基板間の通信方法の一
例を説明するためのブロック図である。
FIG. 3 is a block diagram illustrating an example of a communication method between boards in a conventional electronic device.

【図4】従来の電子機器における基板間の通信方法の他
の例を説明するためのブロック図である。
FIG. 4 is a block diagram for explaining another example of a communication method between boards in a conventional electronic device.

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

1 パッケージ 3 パッケージ 10 インターフェース回路 20 デュアルポートメモリ 21 第1面 22 第2面 25 トグル回路 26 反転回路 27 トグル禁止回路 30 制御回路 DESCRIPTION OF SYMBOLS 1 Package 3 Package 10 Interface circuit 20 Dual port memory 21 1st surface 22 2nd surface 25 Toggle circuit 26 Inverting circuit 27 Toggle inhibition circuit 30 Control circuit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 互いに独立して動作する第1の回路と第
2の回路とを別々の基板に実装するとともに、その別々
の基板を互いに通信可能に構成した電子機器において、 複数の面を有するメモリであって、それぞれの面が、上
記第1の回路によるデータの書き込みのための書き込み
側ポートと、上記第2の回路によるデータの読み出しの
ための読み出し側ポートとを有するよう構成されたメモ
リと、 上記メモリの複数の面のうち、1つの面を、書き込み側
ポートへのデータの書き込みが可能な面として選択する
とともに、他の1つの面を、読み出し側ポートからのデ
ータの読み出しが可能な面として選択し、かつ、選択し
たそれぞれの面を上記第1の回路からの出力に応じて切
り替える切り替え手段と、を備えたことを特徴とする電
子機器における通信装置。
An electronic device in which a first circuit and a second circuit that operate independently of each other are mounted on separate substrates, and the separate substrates are configured to be able to communicate with each other. A memory, wherein each surface has a write-side port for writing data by the first circuit and a read-side port for reading data by the second circuit. And selecting one of the plurality of surfaces of the memory as a surface on which data can be written to the write port and reading data from the other port on the other surface. Switching means for selecting each of the selected surfaces as an appropriate surface, and for switching each of the selected surfaces in accordance with the output from the first circuit. That communication device.
【請求項2】 上記第1の回路は、上記メモリにデータ
の書き込みを行っているときには、データの書き込み中
であることを示す第1制御信号を上記切り替え手段に送
信し、 上記第2の回路は、上記メモリからのデータの読み出し
を行っているときには、データの読み出し中であること
を示す第2制御信号を上記切り替え手段に送信し、 上記切り替え手段は、上記第2制御信号を受けとってい
る間を除き、上記第1制御信号に応じて上記切り替えを
行うこと、を特徴とする請求項1記載の電子機器におけ
る通信装置。
2. The first circuit, when writing data to the memory, transmits a first control signal indicating that data is being written to the switching means, Transmits a second control signal indicating that data is being read to the switching means when data is being read from the memory, and the switching means has received the second control signal. 2. The communication device according to claim 1, wherein the switching is performed in accordance with the first control signal except during a period.
【請求項3】 上記メモリおよび上記切り替え手段は、
上記第1の回路と同一の基板に実装されていることを特
徴とする請求項1記載の電子機器における通信装置。
3. The memory and the switching means,
2. The communication device according to claim 1, wherein the communication device is mounted on the same substrate as the first circuit.
【請求項4】 互いに独立して動作する第1の回路と第
2の回路とを別々の基板に実装するとともに、その別々
の基板を互いに通信可能に構成した電子機器において、 複数の面を有するメモリであって、それぞれの面が、上
記第1の回路によるデータの書き込みのための書き込み
側ポートと、上記第2の回路によるデータの読み出しの
ための読み出し側ポートとを有するよう構成されたメモ
リを用い、 上記メモリの複数の面のうち、1つの面を、書き込み側
ポートへのデータの書き込みが可能な面として選択する
とともに、他の1つの面を、読み出し側ポートからのデ
ータの読み出しが可能な面として選択し、かつ、選択し
たそれぞれの面を上記第1の回路からの出力に応じて切
り替えること、を特徴とする電子機器における通信方
法。
4. An electronic apparatus in which a first circuit and a second circuit that operate independently of each other are mounted on separate boards and the separate boards are configured to be able to communicate with each other, the electronic apparatus having a plurality of surfaces. A memory, wherein each surface has a write-side port for writing data by the first circuit and a read-side port for reading data by the second circuit. One of the plurality of surfaces of the memory is selected as a surface on which data can be written to the write port, and the other surface can be used for reading data from the read port. A communication method in an electronic device, wherein the communication method is selected as possible surfaces, and each selected surface is switched according to an output from the first circuit.
【請求項5】 上記第1の回路が上記メモリにデータの
書き込みを行っているときには、データの書き込み中で
あることを示す第1制御信号を上記第1の回路から出力
し、 上記第2の回路が上記メモリからのデータの読み出しを
行っているときには、データの読み出し中であることを
示す第2制御信号を上記第2の回路から出力し、 上記第2制御信号が出力されている間を除き、上記第1
制御信号に応じて上記切り替えを行うこと、を特徴とす
る請求項4記載の電子機器における通信方法。
5. When the first circuit is writing data to the memory, the first circuit outputs a first control signal indicating that data is being written from the first circuit, When the circuit is reading data from the memory, a second control signal indicating that data is being read is output from the second circuit, and a signal is output while the second control signal is being output. Except for the first
The communication method according to claim 4, wherein the switching is performed according to a control signal.
JP2001045965A 2001-02-22 2001-02-22 Communication device and communication method in electronic equipment Pending JP2002251371A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001045965A JP2002251371A (en) 2001-02-22 2001-02-22 Communication device and communication method in electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001045965A JP2002251371A (en) 2001-02-22 2001-02-22 Communication device and communication method in electronic equipment

Publications (1)

Publication Number Publication Date
JP2002251371A true JP2002251371A (en) 2002-09-06

Family

ID=18907670

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001045965A Pending JP2002251371A (en) 2001-02-22 2001-02-22 Communication device and communication method in electronic equipment

Country Status (1)

Country Link
JP (1) JP2002251371A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016004368A (en) * 2014-06-16 2016-01-12 富士ゼロックス株式会社 Data processor
JP2019200570A (en) * 2018-05-16 2019-11-21 コイト電工株式会社 Information processing device and traffic signal controller

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000295295A (en) * 1999-04-08 2000-10-20 Kokusai Electric Co Ltd Buffer memory for block data transfer and serial data transmission reception system
JP2000342824A (en) * 1999-06-03 2000-12-12 Sophia Co Ltd Game machine

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000295295A (en) * 1999-04-08 2000-10-20 Kokusai Electric Co Ltd Buffer memory for block data transfer and serial data transmission reception system
JP2000342824A (en) * 1999-06-03 2000-12-12 Sophia Co Ltd Game machine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016004368A (en) * 2014-06-16 2016-01-12 富士ゼロックス株式会社 Data processor
JP2019200570A (en) * 2018-05-16 2019-11-21 コイト電工株式会社 Information processing device and traffic signal controller
JP7079144B2 (en) 2018-05-16 2022-06-01 コイト電工株式会社 Information processing device and traffic signal control device

Similar Documents

Publication Publication Date Title
KR100218265B1 (en) A priority request and bypass bus
JP4188446B2 (en) Data exchange apparatus and method
JP2002251371A (en) Communication device and communication method in electronic equipment
KR20010034354A (en) Dual mode bus bridge for computer system
JPH11149406A (en) Semi-conductor storage device
US20080052473A1 (en) Information processing apparatus
US7716392B2 (en) Computer system having an I/O module directly connected to a main storage for DMA transfer
JPS61217858A (en) Data transmitting device
JP3401729B2 (en) Split bus control circuit
JP2005010966A (en) Lsi device
EP0400930A2 (en) Realtime redundant operating system
JP2808881B2 (en) Electronic disk controller
JP2002215413A (en) Firmware transfer method and inter-module data transmission system
JP3440794B2 (en) Communication terminal device
JP4174272B2 (en) Device controller
US20050165988A1 (en) Bus communication system
JP2005327223A (en) Serial instruction execution type computer using serial bus and bus switch
JP2007328647A (en) Data transfer method between cpus
JPH11338713A (en) Computer system
KR20000069732A (en) Data interface and high-speed communication system using the same
JPH04192192A (en) Multiport memory control circuit
JPS60258638A (en) Control system of magnetic disk device
JPH0553923A (en) Main storage device control circuit
JPS60117841A (en) Communication system between processors
JPH0713847A (en) Semiconductor storage device

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050719

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080125

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101015

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101026

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110308