JPH06236338A - Data input/output processor - Google Patents

Data input/output processor

Info

Publication number
JPH06236338A
JPH06236338A JP2225993A JP2225993A JPH06236338A JP H06236338 A JPH06236338 A JP H06236338A JP 2225993 A JP2225993 A JP 2225993A JP 2225993 A JP2225993 A JP 2225993A JP H06236338 A JPH06236338 A JP H06236338A
Authority
JP
Japan
Prior art keywords
signal
signal processing
output
address
data bus
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
JP2225993A
Other languages
Japanese (ja)
Inventor
Tsuneaki Ishimura
経明 石村
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2225993A priority Critical patent/JPH06236338A/en
Publication of JPH06236338A publication Critical patent/JPH06236338A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the capacity of a program and to shorten the processing time by supplying addresses, selected so that an address line is substantially zero, and the decoding result of a read/write control signal to an output signal processing means. CONSTITUTION:The program on a CPU 10 inputs information on the operation of a switch, etc., corresponding to an address signal S16 to the CPU 10 as a data bus signal S15 from an input signal processing part 13 through diodes 12a-12n and a two-way data bus 15. Control information is outputted from the data bus 15 to a signal processing part 11 with an acknowledgement pulse signal (R/D) S18 generated by decoding an address signal S16 and a read/write(R /W) signal S17 corresponding to the inputted program and the program. A write pulse signal (W/R) is outputted from a decoder 14 with the data inputted to the CPU 10. A control information signal is outputted to the output signal processing part 11 only for a period wherein the write pulse signal is outputted, and then sent out of the output signal processing part 11.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、双方向データバスを通
じて中央演算処理装置がスイッチなどの操作状態を読み
取り、かつ、制御信号を装置の出力信号処理部へ出力す
るデータ入出力処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data input / output processing device in which a central processing unit reads operating states of switches and the like through a bidirectional data bus and outputs a control signal to an output signal processing unit of the device.

【0002】[0002]

【従来の技術】図3は、従来のデータ入出力処理装置の
構成を示すブロック図である。図3において、この例
は、この装置の制御を行うCPU20と、スイッチなど
を切り替えるための制御情報信号が入力される出力信号
処理部21と、バッファ22と、スイッチからの入力信
号が供給される入力信号処理部23と、デコーダ24
と、双方向データバス25とを有している。
2. Description of the Related Art FIG. 3 is a block diagram showing the configuration of a conventional data input / output processing device. In FIG. 3, in this example, a CPU 20 that controls this apparatus, an output signal processing unit 21 to which a control information signal for switching a switch and the like is input, a buffer 22, and an input signal from the switch are supplied. Input signal processing unit 23 and decoder 24
And a bidirectional data bus 25.

【0003】次に、この従来例の構成の動作について説
明する。図4は従来例の構成における処理信号を示すタ
イミング図である。図4において、CPU20が処理す
るデータ取り込みモードでは、図4(a),(c)に示
すアドレス情報S26及び読み出し/書き込み(R/
W)信号S27がデコーダ24に入力される。デコーダ
24から図4(b)に示す許可パルス信号(R/D)S
28を出力する。この許可パルス信号S28を出力して
いる期間のみプログラムによるアドレスに対応した入力
信号処理部23の情報をCPU20が双方向データバス
25からデータバス信号S25として取り込む。
Next, the operation of this conventional configuration will be described. FIG. 4 is a timing chart showing processed signals in the configuration of the conventional example. 4, in the data capture mode processed by the CPU 20, the address information S26 and read / write (R / R) shown in FIGS.
W) The signal S27 is input to the decoder 24. From the decoder 24 to the permission pulse signal (R / D) S shown in FIG.
28 is output. The CPU 20 fetches the information of the input signal processing unit 23 corresponding to the address by the program from the bidirectional data bus 25 as the data bus signal S25 only during the period in which the permission pulse signal S28 is output.

【0004】CPU20が処理する出力モードでは、図
4(e)に示すようにCPU20が取り込んだデータに
よってデコーダ24から書き込みパルス信号(W/R)
S29を出力する。この書き込みパルス信号S29を出
力する期間のみ出力信号処理部21へ制御情報信号が出
力され、この制御情報信号が出力信号処理部21から送
出される。
In the output mode in which the CPU 20 processes, as shown in FIG. 4E, a write pulse signal (W / R) is output from the decoder 24 according to the data taken in by the CPU 20.
Outputs S29. The control information signal is output to the output signal processing unit 21 only during the period when the write pulse signal S29 is output, and the control information signal is sent from the output signal processing unit 21.

【0005】このアドレス情報を入力信号処理部23へ
供給する代わりにCPU20の出力ポートを使用して同
様の処理を行うこともできる。
Instead of supplying this address information to the input signal processing section 23, the same processing can be performed using the output port of the CPU 20.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、従来例
のデータ入出力処理装置では、バッファ22を用いてい
るため回路規模とコストが嵩むという問題があった。
However, the conventional data input / output processing device has the problem that the circuit scale and cost increase because the buffer 22 is used.

【0007】また、アドレス情報に代えてCPU20の
出力ポートを使う場合、そのプログラム容量が増大し処
理時間を短縮できないという問題があった。
Further, when the output port of the CPU 20 is used instead of the address information, there is a problem that the program capacity is increased and the processing time cannot be shortened.

【0008】本発明は、このような従来の問題を解決す
るものであり、回路規模を縮小できるとともに、プログ
ラム容量及び処理時間を削減できる優れたデータ入出力
処理装置の提供を目的とする。
The present invention solves such a conventional problem, and an object of the present invention is to provide an excellent data input / output processing device capable of reducing the circuit scale and the program capacity and processing time.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に、本発明のデータ入出力処理装置は、プログラム動作
する中央演算処理装置に接続される双方向データバスと
接続する出力信号処理手段と、双方向データバスにダイ
オードを通じて接続され、かつ、出力信号処理手段で使
用するアドレスと異なる他のアドレスに接続する入力信
号処理手段と、入力信号処理手段で使用するアドレスラ
インが実質的に零になるように選択したアドレスと読み
出し書き込み制御信号のデコード結果とを出力信号処理
手段へ与えるデコード手段とを備える構成としている。
In order to achieve the above object, a data input / output processing device of the present invention comprises an output signal processing device connected to a bidirectional data bus connected to a central processing unit for program operation. , The input signal processing means connected to the bidirectional data bus through a diode and connected to another address different from the address used by the output signal processing means, and the address line used by the input signal processing means are substantially zero. A decoding means for giving the address selected as described above and the decoding result of the read / write control signal to the output signal processing means is provided.

【0010】[0010]

【作用】このような構成の本発明のデータ入出力処理装
置では、入力信号処理手段が双方向データバスにダイオ
ードを通じて接続され、かつ、出力信号処理手段で使用
するアドレスと異なる他のアドレスに接続される。さら
に、入力信号処理手段で使用するアドレスラインが実質
的に零になるように選択したアドレスと読み出し書き込
み制御信号のデコード結果とを出力信号処理手段へ与え
ているので、入力信号処理手段の情報を取り込む許可パ
ルス及び慣用的なバッファが不要になる。
In the data input / output processing device of the present invention having such a structure, the input signal processing means is connected to the bidirectional data bus through the diode and is connected to another address different from the address used by the output signal processing means. To be done. Further, since the address selected so that the address line used in the input signal processing means becomes substantially zero and the decoding result of the read / write control signal are given to the output signal processing means, the information of the input signal processing means is provided. It eliminates the need for capture enable pulses and conventional buffers.

【0011】また中央演算処理装置の出力ポートを使用
して同様の処理を行う場合には出力ポートを操作するス
テップが省略される。したがって、回路規模を縮小でき
るとともに、プログラム容量及び処理時間を削減でき
る。
When the same processing is performed using the output port of the central processing unit, the step of operating the output port is omitted. Therefore, the circuit scale can be reduced, and the program capacity and processing time can be reduced.

【0012】[0012]

【実施例】以下、本発明のデータ入出力処理装置の実施
例を図面を参照して詳細に説明する。
Embodiments of the data input / output processing apparatus of the present invention will be described in detail below with reference to the drawings.

【0013】図1は、本発明のデータ入出力処理装置の
実施例における構成を示すブロック図である。図1にお
いて、この例は、この装置の制御を行うCPU10と、
スイッチなどの切り替えるための制御情報信号が入力さ
れる出力信号処理部11と、ダイオード12a,12n
と、図示しないスイッチからの入力信号が供給される入
力信号処理部13と、デコーダ14と、双方向データバ
ス15とを有している。CPU10はプログラムによっ
て動作し、双方向データバス15により出力信号処理部
11及びダイオード12a,12nを通じて入力信号処
理部13に接続され、またアドレス信号S16により入
力信号処理部13及びデコーダ14に接続されている。
FIG. 1 is a block diagram showing the configuration of an embodiment of a data input / output processing device of the present invention. In FIG. 1, in this example, a CPU 10 that controls the apparatus,
An output signal processing unit 11 to which a control information signal for switching such as a switch is input, and diodes 12a and 12n
And an input signal processing unit 13 to which an input signal from a switch (not shown) is supplied, a decoder 14, and a bidirectional data bus 15. The CPU 10 operates according to a program, is connected to the input signal processing unit 13 through the output signal processing unit 11 and the diodes 12a and 12n by the bidirectional data bus 15, and is connected to the input signal processing unit 13 and the decoder 14 by the address signal S16. There is.

【0014】次に、この実施例の構成における動作につ
いて説明する。図2は実施例の構成における処理信号を
示すタイミング図である。図2において、CPU10が
処理するデータ取り込みモードでは、図2(a),
(b)に示すようにCPU10のプログラムによってア
ドレス信号S16に対応したスイッチなどの操作の情報
が、入力信号処理部13からダイオード12a,12n
及び双方向データバス15を通じてデータバス信号S1
5としてCPU10に取り込まれる。
Next, the operation of the configuration of this embodiment will be described. FIG. 2 is a timing chart showing processed signals in the configuration of the embodiment. In FIG. 2, in the data acquisition mode processed by the CPU 10, as shown in FIG.
As shown in (b), the information of the operation of the switch or the like corresponding to the address signal S16 is transferred from the input signal processing unit 13 to the diodes 12a and 12n by the program of the CPU 10.
And the data bus signal S1 through the bidirectional data bus 15.
5 is taken into the CPU 10.

【0015】取り込んだデータ及びプログラムに応じて
アドレス信号S16と読み出し/書き込み(R/W)信
号S17をデコードした許可パルス信号(R/D)S1
8によって制御情報が、データバス15から出力信号処
理部11へ出力される。
An enable pulse signal (R / D) S1 obtained by decoding the address signal S16 and the read / write (R / W) signal S17 according to the fetched data and program.
The control information is output from the data bus 15 to the output signal processing unit 11 by 8.

【0016】CPU10が処理する出力モードでは、図
2(e)に示すようにCPU10が取り込んだデータに
よってデコーダ14から書き込みパルス信号(W/R)
S19が出力される。この書き込みパルス信号(W/
R)S19が出力される期間のみ出力信号処理部11へ
制御情報信号を出力し、この制御情報信号が出力信号処
理部11から送出される。
In the output mode in which the CPU 10 processes, as shown in FIG. 2E, the write pulse signal (W / R) from the decoder 14 is generated by the data taken in by the CPU 10.
S19 is output. This write pulse signal (W /
R) The control information signal is output to the output signal processing unit 11 only during the period when S19 is output, and this control information signal is sent from the output signal processing unit 11.

【0017】このアドレス情報を入力信号処理部13へ
供給する代わりにCPU10の出力ポートを使用して同
様の処理を行うこともできる。この場合、出力ポートを
操作するステップを省略できる。
Instead of supplying this address information to the input signal processing section 13, the output port of the CPU 10 can be used to perform the same processing. In this case, the step of operating the output port can be omitted.

【0018】[0018]

【発明の効果】以上の説明から明らかなように、本発明
のデータ入出力処理装置は、入力信号処理手段が双方向
データバスにダイオードを通じて接続され、かつ、出力
信号処理手段で使用するアドレスと異なる他のアドレス
に接続されるとともに、入力信号処理手段で使用するア
ドレスラインが実質的に零になるように選択したアドレ
スと読み出し書き込み制御信号のデコード結果とを出力
信号処理手段へ与えているので、入力信号処理手段の情
報を取り込む許可パルス及び慣用的なバッファが不要に
なる。また、中央演算処理装置の出力ポートを使用して
同様の処理を行う場合には出力ポートを操作するステッ
プが省略される。これによって、回路規模を縮小できる
とともに、プログラム容量及び処理時間を削減できると
いう効果を有する。
As is apparent from the above description, in the data input / output processing device of the present invention, the input signal processing means is connected to the bidirectional data bus through the diode, and the address used by the output signal processing means is Since it is connected to another different address and the address line used in the input signal processing means is selected to be substantially zero and the decoding result of the read / write control signal is given to the output signal processing means. , The enabling pulse for fetching the information of the input signal processing means and the conventional buffer are unnecessary. Further, when the same processing is performed using the output port of the central processing unit, the step of operating the output port is omitted. As a result, the circuit scale can be reduced, and the program capacity and the processing time can be reduced.

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

【図1】本発明のデータ入出力処理装置の実施例におけ
る構成を示すブロック図
FIG. 1 is a block diagram showing a configuration of an embodiment of a data input / output processing device of the present invention.

【図2】実施例の構成における処理信号を示すタイミン
グ図
FIG. 2 is a timing diagram showing processed signals in the configuration of the embodiment.

【図3】従来のデータ入出力処理装置の構成を示すブロ
ック図
FIG. 3 is a block diagram showing a configuration of a conventional data input / output processing device.

【図4】従来例の構成における処理信号を示すタイミン
グ図
FIG. 4 is a timing chart showing processed signals in the configuration of the conventional example.

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

10 CPU 11 出力信号処理部 12a,12n ダイオード 13 入力信号処理部 14 デコーダ 15 双方向データバス S16 アドレス信号 S15 データバス信号 S17 読み出し/書き込み信号 S18 許可パルス信号 S19 書き込みパルス信号 10 CPU 11 output signal processing unit 12a, 12n diode 13 input signal processing unit 14 decoder 15 bidirectional data bus S16 address signal S15 data bus signal S17 read / write signal S18 enable pulse signal S19 write pulse signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 プログラム動作する中央演算処理装置に
接続される双方向データバスと接続する出力信号処理手
段と、上記双方向データバスにダイオードを通じて接続
され、かつ、上記出力信号処理手段で使用するアドレス
と異なる他のアドレスに接続する入力信号処理手段と、
上記入力信号処理手段で使用するアドレスラインが実質
的に零になるように選択したアドレスと読み出し書き込
み制御信号のデコード結果とを上記出力信号処理手段へ
与えるデコード手段とを備えるデータ入出力処理装置。
1. An output signal processing means connected to a bidirectional data bus connected to a central processing unit that operates by a program, and a diode connected to the bidirectional data bus and used in the output signal processing means. Input signal processing means connected to another address different from the address,
A data input / output processing device comprising: an address selected so that an address line used by the input signal processing means becomes substantially zero; and a decoding means for giving a decoding result of a read / write control signal to the output signal processing means.
JP2225993A 1993-02-10 1993-02-10 Data input/output processor Pending JPH06236338A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2225993A JPH06236338A (en) 1993-02-10 1993-02-10 Data input/output processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2225993A JPH06236338A (en) 1993-02-10 1993-02-10 Data input/output processor

Publications (1)

Publication Number Publication Date
JPH06236338A true JPH06236338A (en) 1994-08-23

Family

ID=12077780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2225993A Pending JPH06236338A (en) 1993-02-10 1993-02-10 Data input/output processor

Country Status (1)

Country Link
JP (1) JPH06236338A (en)

Similar Documents

Publication Publication Date Title
KR970012203A (en) Data processing system for executing trace functions and their methods
JP3226055B2 (en) Information processing device
JPH0869377A (en) Electronic circuit and method for use of coprocessor
JPH05181982A (en) Large-scale integrated circuit device
JPH06236338A (en) Data input/output processor
JPH0962533A (en) Test circuit for single chip microprocessor
JP2760027B2 (en) I / O device
JP2000333484A (en) Motor control
JPH1083384A (en) Microcomputer
JP2708366B2 (en) Data processing system and auxiliary control device
JPH0726754Y2 (en) Input processing device
JPS62248043A (en) Memory switching circuit for fetching microcomputer instruction
JPS61183764A (en) Direct memory access controlling system
JPH0738776A (en) Video signal processing circuit
JPS61223965A (en) Data transfer circuit
JPH0324624A (en) Miroprocessor
JPH02150931A (en) Information processor
JPH04245333A (en) Information processor
JPS6140658A (en) Data processor
JPH03262052A (en) Information processor
JPH04311225A (en) System for executing microprocessor instruction
JP2000040074A (en) Timing setting system
KR980010755A (en) Command repetition processor in PC
JP2002063024A (en) Data processing arithmetic unit
JPS6210735A (en) Microprocessor