JPH0322158A - Computer system - Google Patents
Computer systemInfo
- Publication number
- JPH0322158A JPH0322158A JP1159101A JP15910189A JPH0322158A JP H0322158 A JPH0322158 A JP H0322158A JP 1159101 A JP1159101 A JP 1159101A JP 15910189 A JP15910189 A JP 15910189A JP H0322158 A JPH0322158 A JP H0322158A
- Authority
- JP
- Japan
- Prior art keywords
- data
- signal
- parallel interface
- cpu
- control circuit
- 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
Links
- 230000002093 peripheral effect Effects 0.000 claims abstract description 35
- 230000005540 biological transmission Effects 0.000 claims description 3
- 230000007547 defect Effects 0.000 abstract 2
- 238000000034 method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 2
- 239000013256 coordination polymer Substances 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野)
本発明は、パラレルインタフェースを備える」ンビュー
タ装置に関し、特にCPUと多種の周辺装置とを結合す
るパラレルインタフェースを備えるコンピュータ装置に
関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a computer device equipped with a parallel interface, and particularly to a computer device equipped with a parallel interface that connects a CPU and various peripheral devices.
従来、この種の」ンビ1−夕装買において、CPUと周
辺装置を結合するパラレルインタフェースの接続方式の
代表的なものとして、ハンドシェーク方式と呼ばれるも
のがある。以1・にハンドシェーク方式の一例として二
線式ハンドシェークを例にとってパラレルインタフェー
スの制御1ノ式について説明でる。Conventionally, in this type of computer system, there is a method called a handshake method as a typical connection method for a parallel interface that connects a CPU and peripheral devices. In the following, the first method for controlling the parallel interface will be explained using a two-wire handshake as an example of the handshake method.
第2図は従来例の」ンビュータ装置と周辺装βとの結合
の一例を示すブロック図であり、第3図は、二線式ハン
ドシェークの制御の一例を示すタイムチャート図である
。次に、第2図、第3図を参照してパラレルインタフェ
ースの制御方式について説明する。FIG. 2 is a block diagram illustrating an example of the connection between a conventional converter device and a peripheral device β, and FIG. 3 is a time chart illustrating an example of two-wire handshake control. Next, the control method of the parallel interface will be explained with reference to FIGS. 2 and 3.
パラレルインタノエース2がCPU1からリード命令B
を受けて周辺装置3からデータを受けとりたい場合、パ
ラレルインタノエース2はデータ要求信号Cを有効、す
なわち論理゛1″に寸る(時刻j1)。データを送る側
の周辺装置3は、データ要求信@Cが1効となったこと
を検知した後に、データl−1を送る摩備ができた時点
でデータHを出力すると共に、アクノリツジ信QDを有
効、すなわち論理“1″にする《時刻t2)。パラレル
インタフェース2は、アクノリツジ信号D b< @効
になったことを検知して、データHJF!:デー夕線7
を介して受け取ると同時に、データ要求信号Cを無効に
する。周[ta3はデータ要求惜号Cが無効となったこ
とを検知して、アクノリツジ信RDを論理“0゜′にす
る(時刻t3)。Parallel InternoAce 2 reads command B from CPU 1
When the parallel interface 2 wants to receive data from the peripheral device 3 in response to the request, the parallel interface 2 makes the data request signal C valid, that is, set it to logic "1" (time j1). After detecting that the request signal @C has become 1 valid, when it is ready to send data l-1, it outputs data H and makes the acknowledge signal QD valid, that is, logic "1". Time t2).The parallel interface 2 detects that the acknowledge signal Db<@ has become valid, and outputs the data HJF!: data line 7.
At the same time, the data request signal C is invalidated. [ta3] detects that the data request signal C has become invalid, and sets the acknowledge signal RD to logic "0°" (time t3).
CPtJ 1とパラレルインタフェース2とのデータの
受渡しは、データ線6およびCPUバス10を介して行
われる。パラレルインタフェース2は、CPU1からの
リード命令Bにより、データ線7からのデータ口をCP
Uデータ八としてデータ線6を介してCPUバス10に
送出する(時刻ta)。Data is exchanged between the CPtJ 1 and the parallel interface 2 via the data line 6 and the CPU bus 10. The parallel interface 2 connects the data port from the data line 7 to the CP in response to the read command B from the CPU 1.
It is sent to the CPU bus 10 via the data line 6 as U data 8 (time ta).
上記の動作におけるデータ要求信月C,データ口の出力
、アクノリッジ信@DおよびC P tJデータ八の人
力のタイミングが第3図のタイミングチャート図に上か
ら順次示されている。The timing of the data request signal C, the output of the data port, the acknowledge signal @D, and the human power of C P tJ data 8 in the above operation are shown in the timing chart of FIG. 3 in order from the top.
リード命令Bを伝送する線路およびデータ要求信号Cと
アクノリッジ信月Dを伝送する2つの線路は、それぞれ
データIi!6およびデータ線7の中に含まれていても
よい。The line that transmits the read command B and the two lines that transmit the data request signal C and the acknowledge signal D each carry data Ii! 6 and data line 7.
士述した従来のコンピュータ装置において、パラレルイ
ンタ゛ノエースを使用して、CPUと周辺装置を結合す
る場合に、例えばパラレルインタフェースあるいは周辺
Mlに故障が発生し、データの送受が正常に行なえなく
なった時に、故障箇所を発見するためにテストを行うよ
うな場合には、それらの装置を結合した状態で行わなけ
ればならず、故n箇所を特定するのに時間がかかるとい
う欠点がある。In the conventional computer equipment mentioned above, when a parallel interface is used to connect the CPU and peripheral devices, for example, when a failure occurs in the parallel interface or the peripheral Ml and data cannot be sent and received normally. When a test is to be performed to find a failure location, the test must be performed while these devices are connected, and therefore, there is a drawback that it takes time to identify the n locations.
そこで本発明は、上記の欠点を解消して簡単な回路構戒
で、周辺装置を結合せずに、C P tJとパラレルイ
ンタ゛フェースのみでテストを行うことにより、パラレ
ルインタフェースと周辺装置のどちら側に故陣が発生し
たか特定できるような、パラレルインタフェースを含む
コンピュータMlを捉供することを目的とする。Therefore, the present invention eliminates the above-mentioned drawbacks and performs tests using only the C PtJ and the parallel interface with a simple circuit configuration and without connecting peripheral devices. It is an object of the present invention to provide a computer Ml including a parallel interface, which can specify whether or not an accident has occurred.
本発明のコンピュータ装置は、
周辺装置とデータの受渡しをするパラレルインタフェー
スを介してCPUと周辺装置とを接続するコンピュータ
装置において、
CPLJのtiI1御によりチェックデータを格納し、
周辺装置からパラレルインタフェースへのデータ伝送を
lI11御する制御信号と同一の制御信号のυ1御によ
り前記チェックデータを出力する内部制御回路と、
CPUが出力する切換信月を受信し、切換信>4が第1
の論理レベルのときには、パラレルインタフェースと周
辺5A置間のデータ線および制御信月線を接続し、前記
切換信号が第2の論理レベルのときには、前記ヂエック
データと前記同一の制御信月を前記内部制御回路からパ
ラレルインタフI−スに伝送する線路を接続する切換回
路を有している。The computer device of the present invention is a computer device that connects a CPU and a peripheral device via a parallel interface for exchanging data with the peripheral device, and stores check data under the control of tiI1 of a CPLJ.
An internal control circuit outputs the check data under the control of υ1, which is the same control signal as the control signal lI11 that controls data transmission from the peripheral device to the parallel interface; and an internal control circuit that outputs the check data by receiving the switching signal output from the CPU, and receiving the switching signal > 4. is the first
When the switching signal is at the second logic level, the data line and control signal line between the parallel interface and the peripheral 5A are connected, and when the switching signal is at the second logic level, the digital data and the same control signal are connected to the internal control. It has a switching circuit that connects a transmission line from the circuit to the parallel interface I-space.
(作用)
このように、コンビ1−タamが切換回路と内部lII
I11回路を備え、初作不良が発生したとぎ、切換回路
により、パラレルインタノエースと周辺装置との接続を
、パラレルインタフェースと内部υ1御回路との接続に
切換え、CPIJと内部ill御回路との間で、パラレ
ルインタフェース、切換回路およびデータ線を介して、
テストデータのやりとりを行うことができるので、動作
不良がCPU側に発生したのか否かが判定される。(Function) In this way, the combination 1-ta am is connected to the switching circuit and the internal
Equipped with an I11 circuit, when an initial failure occurs, a switching circuit switches the connection between the parallel interface and the peripheral device to the connection between the parallel interface and the internal υ1 control circuit, and switches the connection between the CPIJ and the internal ill control circuit. between the parallel interface, switching circuit and data line,
Since test data can be exchanged, it is determined whether or not a malfunction has occurred on the CPU side.
次に、本発明の一実施例について図面を参照して説明す
る。Next, an embodiment of the present invention will be described with reference to the drawings.
第1図は本発明の」ンビュータ装置の一実施例のプロッ
ク図である。そして第1図の各部の番号が第2図の各部
の番号と同じものは同一の機能を有するもので、本実施
例と従来例は共にCPU 1 .パラレルインタフェー
ス2および周m装ffi3を備えている。FIG. 1 is a block diagram of an embodiment of the computer system of the present invention. Components whose numbers in FIG. 1 are the same as those in FIG. 2 have the same functions, and both the present embodiment and the conventional example have CPU 1 . It is equipped with a parallel interface 2 and a peripheral ffi3.
本実施例においては、パラレルインタフェース2と周辺
装置3の間に切換回路4が接続され、パラレルインタフ
ェース2と切換回路4はデータ線8で接続され、周辺装
113と切換回路4はデータ[17で接続されている。In this embodiment, a switching circuit 4 is connected between the parallel interface 2 and the peripheral device 3, the parallel interface 2 and the switching circuit 4 are connected by the data line 8, and the peripheral device 113 and the switching circuit 4 are connected to the data line 17. It is connected.
また、CPUバス10と切換回路4の問には、パラレル
インタフェース2と並列に内部制御回路5が接続され、
CPLIバス10と内部iqm回路5はデータ線9によ
り接続され、内部制御回路5と切換回路4はデータ線1
1により接続されている。Further, between the CPU bus 10 and the switching circuit 4, an internal control circuit 5 is connected in parallel with the parallel interface 2.
The CPLI bus 10 and the internal iqm circuit 5 are connected by the data line 9, and the internal control circuit 5 and the switching circuit 4 are connected by the data line 1.
1.
内部制御回路5は、CPU1からのデータセット信号、
』によりブエックデータMをセットする。The internal control circuit 5 receives a data set signal from the CPU 1,
” to set the book data M.
切換回路4から出力される信44 Lはデータ要求信号
Cと同11flを持つ信号であり、内部制御回路5から
出力される信号Kは、アクノリッジ信1’ilDと同I
N能を持つ信号である。切換回路4は、CPU1からの
切換信号Nを受けて、パラレルインタフェース2から出
力されるデータ要求信号Cと周辺装ta3から出力され
るデータHとを、それぞれ内部!II1御回路5が出力
するデータ要求信号C相当の信号Lと、内部制御回路4
にセットされたチェックデータMに切換える。この場合
は、周辺装″I13が切り離されて、CPU1と内部制
御回路5との間でパラレルインタフェース2および切換
回路4を介してチェックデータMのやりとりが行われる
。The signal 44L output from the switching circuit 4 has the same 11 fl as the data request signal C, and the signal K output from the internal control circuit 5 has the same I as the acknowledge signal 1'ilD.
This is a signal with N capability. The switching circuit 4 receives the switching signal N from the CPU 1, and transfers the data request signal C outputted from the parallel interface 2 and the data H outputted from the peripheral device ta3 to internal! A signal L equivalent to the data request signal C output by the II1 control circuit 5 and the internal control circuit 4
Switch to check data M set in . In this case, the peripheral device I13 is disconnected, and check data M is exchanged between the CPU 1 and the internal control circuit 5 via the parallel interface 2 and the switching circuit 4.
切換信QNがオフの時は、データ要求信号Ctよ、切換
回路4を介して周辺装置3に対1るデータ要求信号Fと
なって出力され、それに対するアクノリッジ信号Gが、
周辺装It!23から、切換回路4を介してアクノリッ
ジ信号Dとなってパラレルインタフェース2に送られる
。また、データも同様に、周辺装置3のデータ口は切換
回路4およびデータ[18を介してパラレルインタフェ
ース2に送られ、さらにデータ線6およびCPUバス1
0を経てcpuiに送られる。When the switching signal QN is off, the data request signal Ct is output as the data request signal F to the peripheral device 3 via the switching circuit 4, and the acknowledgment signal G in response to it is output as the data request signal F to the peripheral device 3.
Peripheral It! 23, the signal becomes an acknowledge signal D and is sent to the parallel interface 2 via the switching circuit 4. Similarly, the data port of the peripheral device 3 is sent to the parallel interface 2 via the switching circuit 4 and the data [18], and is further sent to the data line 6 and the CPU bus 1.
0 and sent to cpui.
なお、第1図においても第2の場合と同様に、データ要
求信号CなどのIll ill信号を伝送する線路は、
この線路と並列I,:あるデータ線内に含まれることも
ある。すなわちデータセット信号jを伝送する線路はデ
ータ線9の中に含まれ、データ要求信月C相当の信fi
iLと、アクノリッジ信号D相当の{i’?l<Kを伝
送する2つの線路はデータ線11内に含まれる。また、
データ要求信号Cとアクノリッジ信8Dを伝送する2つ
の線路はデータ線8内に含まれ、切換信号Nを伝送する
線路はCPUバス10、データI16およびデータ線8
に含まれる。In addition, in FIG. 1 as well as in the second case, the line that transmits the Ill ill signal such as the data request signal C is
Parallel with this line I: It may be included in a certain data line. That is, the line for transmitting the data set signal j is included in the data line 9, and the line for transmitting the data set signal j is included in the data line fi corresponding to the data request signal C.
iL and {i'? corresponding to the acknowledge signal D. Two lines transmitting l<K are included in the data line 11. Also,
Two lines for transmitting data request signal C and acknowledge signal 8D are included in data line 8, and lines for transmitting switching signal N are included in CPU bus 10, data I16 and data line 8.
include.
次に、本実施例の作用を第1図を参照して説明する。Next, the operation of this embodiment will be explained with reference to FIG.
切換信号Nがオンの時は、データ致求信P Cは内部制
御回路5に対するデータ要求信号C相当の信号しに出力
され、それに対するアクノリッジ信号Dには、内部制御
回路5からのアクノリッジ信号D相当の信号Kが出力さ
れる。データも同様に、データFには内部制御回路5か
らのチェックデータMが出力される。即ちこの時には、
パラレルインタフエエース2から周辺装@3が切り離さ
れた状態になる。When the switching signal N is on, the data request signal PC is output as a signal equivalent to the data request signal C to the internal control circuit 5, and the acknowledge signal D from the internal control circuit 5 is A corresponding signal K is output. Similarly, check data M from the internal control circuit 5 is output as data F. That is, at this time,
The peripheral device @3 is now separated from the parallel interface 2.
本装置において、CPU1から指示により、切換信号N
をオンにして、データセット信号Jによって内部制御回
路5にチェックデータMをセットした後、cpuiから
の要求により周辺装置3 tfiらのデータを引き取る
作用の場合、インタフェース動作は周辺装置3に対して
ではなく内部制御回路5に対して行われる。また、その
際に引き取られるデータはCPUIG;:よって前もっ
て内部制御回路5にセットされたチェックデータMであ
り、Cr’U1は、そのチェックデータMをパラレルイ
ンタフェース2から読み出して、菊もってセットしたデ
ータと比較することにより、パラレルインタフェース2
が正常に機能しているかどうかをチェックすることが可
能である。In this device, according to an instruction from the CPU 1, the switching signal N
is turned on and check data M is set in the internal control circuit 5 by the data set signal J. If the data is to be received from the peripheral device 3 TFI etc. in response to a request from the CPU, the interface operation is performed to the peripheral device 3. Instead, it is performed on the internal control circuit 5. Also, the data retrieved at this time is the check data M set in advance in the internal control circuit 5 by the CPUIG, and Cr'U1 reads the check data M from the parallel interface 2 and sets the data By comparing with parallel interface 2
It is possible to check whether it is functioning properly.
以上説明したように本発明は、切換回路と内部制御回路
を備え、パラレルインタフェースの制御信号とデータと
を、切換回路により周辺装置に対してか、または内部制
御回路に対して切換えらるので、周辺装置を接続しムく
ても単体で試験が行われることにより、障害の発/+場
所がコンピュータ装置の内部であるかまたは周辺装置で
あるかを容易に特定でき、迅速に障害が発見される効果
がある。As explained above, the present invention includes a switching circuit and an internal control circuit, and the switching circuit switches the control signal and data of the parallel interface to the peripheral device or to the internal control circuit. Since the test is performed on a standalone device without connecting peripheral devices, it is easy to identify whether the fault is occurring inside the computer device or in a peripheral device, and the fault can be quickly discovered. It has the effect of
第1図は、本発明の」ンビ1−夕装置の一実施例を示す
ブロック図、第2図は従来例のコンピュータ装置と周辺
装置との結合を示すブロック図、第3図は二線式ハンド
シェークの制御(パラレルインタフェースによるデータ
転送のlllti)の一例を示づタイムチャート図であ
る。
1・・・cpu,
2・・・パラレルインタフェース、
3・・・周辺装置、 4・・・切換回路、5・・
・内部制m+回路、
6,7.8,9.11・・・データ線、A・・・CPU
データ、 B・・・リード命令、C.F・・・データ
要求信号、
D.G・・・アクノリツジ信号、
E.口・・・データ、 一・・・データセット信
号、K・・・アクノリツジ信号D相当の信号、L・・・
データ要求信号C相当の信号、M・・・チェックデータ
、 N・・・切換信号。
特,71出願人 [1木焦弓ビ弐%1会本}代 浬
人 ブr理士 IN 原 汽第
2図
第1 茜
第3図FIG. 1 is a block diagram showing an embodiment of the computer system of the present invention, FIG. 2 is a block diagram showing the combination of a conventional computer device and peripheral devices, and FIG. 3 is a two-wire system. FIG. 3 is a time chart diagram showing an example of handshake control (data transfer by parallel interface). 1... CPU, 2... Parallel interface, 3... Peripheral device, 4... Switching circuit, 5...
・Internal control m+ circuit, 6, 7.8, 9.11...data line, A...CPU
Data, B...Read command, C. F...Data request signal, D. G... Acknowledgment signal, E.口...Data, 1...Data set signal, K...signal equivalent to acknowledge signal D, L...
Signal equivalent to data request signal C, M...Check data, N...Switching signal. Patent No. 71 Applicant [1 木罿 ゆうび 2% 1会本} 浬人 BR 士 IN 原汽车2 1 聜 3
Claims (1)
ェースを介してCPUと周辺装置とを接続するコンピュ
ータ装置において、 CPUの制御によりチェックデータを格納し、周辺装置
からパラレルインタフェースへのデータ伝送を制御する
制御信号と同一の制御信号の制御により前記チェックデ
ータを出力する内部制御回路と、 CPUが出力する切換信号を受信し、切換信号が第1の
論理レベルのときには、パラレルインターフェースと周
辺装置間のデータ線および制御信号線を接続し、前記切
換信号が第2の論理レベルのときには、前記チェックデ
ータと前記同一の制御信号を前記内部制御回路からパラ
レルインタフェースに伝送する線路を接続する切換回路
を有することを特徴とするコンピュータ装置。[Scope of Claims] 1. In a computer device that connects a CPU and a peripheral device via a parallel interface for exchanging data with the peripheral device, check data is stored under the control of the CPU, and data is transferred from the peripheral device to the parallel interface. an internal control circuit that outputs the check data under the control of the same control signal as the control signal that controls data transmission; and an internal control circuit that receives a switching signal output from the CPU, and when the switching signal is at a first logic level, a parallel interface. Connecting a data line and a control signal line between peripheral devices, and connecting a line for transmitting the check data and the same control signal from the internal control circuit to the parallel interface when the switching signal is at a second logic level. A computer device comprising a switching circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1159101A JPH0322158A (en) | 1989-06-20 | 1989-06-20 | Computer system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1159101A JPH0322158A (en) | 1989-06-20 | 1989-06-20 | Computer system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0322158A true JPH0322158A (en) | 1991-01-30 |
Family
ID=15686261
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1159101A Pending JPH0322158A (en) | 1989-06-20 | 1989-06-20 | Computer system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0322158A (en) |
-
1989
- 1989-06-20 JP JP1159101A patent/JPH0322158A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5784712A (en) | Method and apparatus for locally generating addressing information for a memory access | |
| US5680537A (en) | Method and apparatus for isolating an error within a computer system that transfers data via an interface device | |
| US5784393A (en) | Method and apparatus for providing fault detection to a bus within a computer system | |
| JPH0334661A (en) | Digital data communication equipment and data communication adaptor used therefor | |
| JPH024932B2 (en) | ||
| JPH11259383A (en) | RAS information acquisition circuit and information processing system having the same | |
| JP4451837B2 (en) | Data transfer apparatus and data transfer method | |
| JPH0322158A (en) | Computer system | |
| KR19980057607A (en) | Redundancy | |
| JPH05342076A (en) | Dual writing filing device | |
| JP2002007220A (en) | Multiplexed memory system | |
| JP3135674B2 (en) | Information processing device | |
| JPH1011370A (en) | Multiple system | |
| JPH02223264A (en) | Digital exchange provided with test tool and loading system for test program | |
| JP3210939B2 (en) | Process control device with PIO simulation memory | |
| JP4597484B2 (en) | Compound computer system | |
| JPS62137654A (en) | Controlling system for duplicated bus | |
| JPS61227451A (en) | Integrated circuit for serial data communication control | |
| JPH0440534A (en) | Stand-by device switching system | |
| KR20050070171A (en) | Processor duplexed board | |
| JPH04152448A (en) | Method and device for conversion of interface | |
| JPH11328090A (en) | Port number setting method, and information processor | |
| JPS5990150A (en) | Double structure method of input and output device | |
| JPS5923677B2 (en) | Redundant system for exchange processing equipment | |
| JP2003157181A (en) | Dual cpu system and program |