JPH03282917A - Interface circuit - Google Patents

Interface circuit

Info

Publication number
JPH03282917A
JPH03282917A JP8424290A JP8424290A JPH03282917A JP H03282917 A JPH03282917 A JP H03282917A JP 8424290 A JP8424290 A JP 8424290A JP 8424290 A JP8424290 A JP 8424290A JP H03282917 A JPH03282917 A JP H03282917A
Authority
JP
Japan
Prior art keywords
signal
inverted
level
register
peripheral device
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
JP8424290A
Other languages
Japanese (ja)
Inventor
Hiromi Yanagida
柳田 浩美
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP8424290A priority Critical patent/JPH03282917A/en
Publication of JPH03282917A publication Critical patent/JPH03282917A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To connect a peripheral device whose signal logical level is inverted only by the change of specification by storing a signal converted by a signal control register and its inverted signal in a buffer and specifying either one of the signals. CONSTITUTION:The interface circuit is provided with a control signal level specifying circuit 4 consisting of two buffers 8, 9, two inverters 6, 7 and a level specifying register 5. A microprocessor (MP) 1 converts an input signal from a master device through an address decoder 2 and a signal control register 3, stores the converted signal in a buffer 8 as an intermediate signal (e), inverts the logical level of the signal (e) by the inverter 6 and stores the inverted signal in the buffer 9 as an inverted intermediate signal (g). When '0' is written from the MP1 in the register 5 through an address bus (a), a control signal line (b) and a data bus (c) prior to the connection of the peripheral device 10, the signal (e) is outputted by an output control signal (j), and in the case of writing '1', the signal (g) is outputted by an inverted level specifying signal (i). Thereby, even when the signal level of the peripheral device 10 is changed, the device 10 can be connected only by changing the specification.

Description

【発明の詳細な説明】 [産業上の利用分野〕 本発明は情報処理装置の上位装置と周辺装置とのインタ
フェース回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an interface circuit between a host device and a peripheral device of an information processing device.

〔従来の技術1 従来、周辺装置とのインタフェース回路における信号は
、有効と無効(lと0)の組合せにより論理的な形式で
標準化されているが、信号のレベルのハイとローのいず
れを有効とし、いずれを無効とするかは個々の周辺装置
ごとに異っており、インタフェース回路は各周辺装置の
仕様に対応して設計されていた。
[Conventional technology 1] Conventionally, signals in interface circuits with peripheral devices have been standardized in a logical format by combinations of valid and invalid (l and 0); Which one is disabled differs for each peripheral device, and the interface circuit is designed in accordance with the specifications of each peripheral device.

[発明が解決しようとする課題] 上述した従来のインタフェース回路は、周辺装置の信号
の有効レベルに対応して設計されているので、周辺装置
の仕様が変更になると、単に有効、無効のレベルが反転
されるのみの場合でも、インタフェース回路を全部変更
しなければならないという欠点がある。
[Problem to be Solved by the Invention] The conventional interface circuit described above is designed to correspond to the valid level of the signal of the peripheral device, so when the specifications of the peripheral device change, the valid/invalid level simply changes. Even if it is only inverted, the disadvantage is that the entire interface circuit must be changed.

本発明の目的は、信号の有効レベルをハイ、ローのいず
れにも設定できるインタフェース回路を提供することに
ある。
An object of the present invention is to provide an interface circuit that can set the effective level of a signal to either high or low.

[課題を解決するための手段] 本発明のインタフェース回路は、 信号制御レジスタによって変換された信号の論理レベル
を反転するインバータ回路と、前記信号制御レジスタに
よって変換された信号が格納されるバッファと、 前記インバータ回路によって反転された信号が格納され
るバッファと、 前記2つのバッファに格納された信号のうち、いずれか
一方の信号を前記周辺装置に出力する制御信号として指
定するレベル指定レジスタとからなる制御信号レベル指
定回路を有する。
[Means for Solving the Problems] An interface circuit of the present invention includes: an inverter circuit that inverts the logic level of a signal converted by the signal control register; a buffer in which the signal converted by the signal control register is stored; A buffer that stores a signal inverted by the inverter circuit; and a level designation register that designates one of the signals stored in the two buffers as a control signal to be output to the peripheral device. It has a control signal level designation circuit.

[作用] 本発明のインタフェース回路は、信号制御レジスタによ
って変換された信号と、該信号をインバータ回路によっ
て反転した信号との2つの信号をバッファに格納し、い
ずれか一方の信号をレベル指定レジスタにより指定でき
るので、周辺装置の信号の論理レベルが反転されたとき
はレベル指定レジスタの指定を変更するのみで該周辺装
置の接続が可能となる。
[Operation] The interface circuit of the present invention stores two signals, a signal converted by a signal control register and a signal inverted by an inverter circuit, in a buffer, and controls one of the signals by a level specifying register. Since it can be specified, when the logic level of a signal of a peripheral device is inverted, the peripheral device can be connected simply by changing the designation of the level specification register.

[実施例] 次に、本発明の実施例について図面を参照して説明する
[Example] Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明のインタフェース回路の一実施例のブロ
ック図である。
FIG. 1 is a block diagram of one embodiment of the interface circuit of the present invention.

本実施例のインタフェース回路は、2つのバッファ8,
9と、2つのインバータ回路6,7と、レベル指定レジ
スタ5とからなる制御信号レベル指定回路4を有し、マ
イクロプロセッサlが、上位装置からの人力信号をアド
レスデコーダ2と信号制御レジスタ3によって変換して
中間信号eとしてバッファ8に格納するとともに、イン
バータ6によって該中間信号eの論理レベルを反転して
反転中間信号gとしてバッファ9に格納する。マイクロ
プロセッサ1は一方で、レベル指定レジスタ5がバッフ
ァ8またはバッファ9のいずれか一方に出力イネーブル
信号(レベル指定信号りまたは反転レベル指定信号l)
を送るように、周辺装置lOの制御信号Jの論理レベル
仕様に対応して、表1のように設定する。
The interface circuit of this embodiment includes two buffers 8,
9, two inverter circuits 6 and 7, and a level designation register 5.The microprocessor l receives a human input signal from a host device by an address decoder 2 and a signal control register 3. The signal is converted and stored in a buffer 8 as an intermediate signal e, and the logic level of the intermediate signal e is inverted by an inverter 6 and stored in a buffer 9 as an inverted intermediate signal g. On the other hand, the microprocessor 1 outputs an output enable signal (level designation signal or inverted level designation signal l) from the level designation register 5 to either the buffer 8 or the buffer 9.
The settings are made as shown in Table 1 in accordance with the logic level specification of the control signal J of the peripheral device 10 so as to send the signal J.

表1 すなわち、周辺装置10の接続に先立って、マイクロプ
ロセッサlからアドレスバスa、コントロール信号線b
、データバスCを通じてレベル指定レジスタ5に“0”
を書込んでおくと、バッファ8にレベル指定信号h (
=o)が出力イネーブル信号として送られるので、バッ
ファ8に格納される中間信号eが出力制御信号jとして
出力され、レベル指定レジスタ5に“1”を書込むと、
バッファ9にインバータ7で反転された反転レベル指定
信号i  (0=1)が送られるので、反転中間信号g
が出力される。
Table 1 In other words, before connecting the peripheral device 10, from the microprocessor l to the address bus a and the control signal line b
, “0” is sent to the level specification register 5 through the data bus C.
By writing , the level designation signal h (
=o) is sent as the output enable signal, the intermediate signal e stored in the buffer 8 is output as the output control signal j, and when "1" is written in the level designation register 5,
Since the inverted level designation signal i (0=1) inverted by the inverter 7 is sent to the buffer 9, the inverted intermediate signal g
is output.

[発明の効果] 以上説明したように本発明は、インタフェース回路に制
御信号の出力レベルを反転するインバータ回路と、周辺
装置に出力する制御信号のレベルを非反転/反転のいず
れか一方に指定する制御信号レベル指定レジスタとから
なる制御信号レベル指定回路を設けることにより、周辺
装置の仕様変更や機種変更に伴い、インタフェース信号
の有効レベルが反転された場合は、非反転/反転の指定
を変更するのみで同一インタフェース回路により該周辺
装置の接続が可能となり、設計、製作上の経済化が図ら
れる効果がある。
[Effects of the Invention] As explained above, the present invention includes an inverter circuit that inverts the output level of a control signal in an interface circuit, and specifies the level of a control signal output to a peripheral device as either non-inverted or inverted. By providing a control signal level designation circuit consisting of a control signal level designation register, if the effective level of an interface signal is inverted due to a change in the specifications or model of a peripheral device, the designation of non-inverted/inverted can be changed. This makes it possible to connect the peripheral devices using the same interface circuit, which has the effect of making design and manufacturing more economical.

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

第1図は本発明のインタフェース回路の一実施例のブロ
ック図である。 1・・−マイクロプロセッサ、 2・・・アドレスデコーダ、 3・・−信号制御レジスタ、 4・・・制御信号レベル指定回路、 5・・・レベル指定レジスタ、 6.7・・・インバータ回路、 8,9・・−バッファ、 IO・・・周辺装置、 a・・・アドレス、 b・・・コントロール信号、 C・・−データ、 d、f・・・書込み信号、 e・・・中間信号、 g・・・反転中間信号、 h−・・レベル指定信号、 l・・・反転レベル指定信号、 J・・・周辺装置制御信号。
FIG. 1 is a block diagram of one embodiment of the interface circuit of the present invention. 1...-Microprocessor, 2...-Address decoder, 3...-Signal control register, 4...Control signal level designation circuit, 5...Level designation register, 6.7...Inverter circuit, 8 ,9...-Buffer, IO...Peripheral device, a...Address, b...Control signal, C...-Data, d, f...Write signal, e...Intermediate signal, g ...Inverted intermediate signal, h--Level designation signal, l...Inverted level designation signal, J--Peripheral device control signal.

Claims (1)

【特許請求の範囲】 1、マイクロプロセッサが、上位装置から入力する信号
を信号制御レジスタによって変換して周辺装置に制御信
号を出力するインタフェース回路において、 前記信号制御レジスタによって変換された信号の論理レ
ベルを反転するインバータ回路と、前記信号制御レジス
タによって変換された信号が格納されるバッファと、 前記インバータ回路によって反転された信号が格納され
るバッファと、 前記2つのバッファに格納された信号のうち、いずれか
一方の信号を前記周辺装置に出力する制御信号として指
定するレベル指定レジスタとからなる制御信号レベル指
定回路を有することを特徴とするインタフェース回路。
[Claims] 1. In an interface circuit in which a microprocessor converts a signal input from a host device using a signal control register and outputs a control signal to a peripheral device, the logic level of the signal converted by the signal control register is an inverter circuit that inverts the signal, a buffer that stores the signal converted by the signal control register, a buffer that stores the signal that is inverted by the inverter circuit, and a signal stored in the two buffers, An interface circuit comprising a control signal level designation circuit including a level designation register that designates one of the signals as a control signal to be output to the peripheral device.
JP8424290A 1990-03-30 1990-03-30 Interface circuit Pending JPH03282917A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8424290A JPH03282917A (en) 1990-03-30 1990-03-30 Interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8424290A JPH03282917A (en) 1990-03-30 1990-03-30 Interface circuit

Publications (1)

Publication Number Publication Date
JPH03282917A true JPH03282917A (en) 1991-12-13

Family

ID=13824998

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8424290A Pending JPH03282917A (en) 1990-03-30 1990-03-30 Interface circuit

Country Status (1)

Country Link
JP (1) JPH03282917A (en)

Similar Documents

Publication Publication Date Title
JPS61156358A (en) Bus converter
JPH05181982A (en) Large-scale integrated circuit device
JPH03282917A (en) Interface circuit
JP2003263400A (en) Data processing device, data processing system, and access area control method
JPS61138330A (en) Buffer circuit
TW432280B (en) Processor system, and method for testing a processor system
JP2975638B2 (en) Semiconductor integrated circuit
JPS62173557A (en) Microprocessor
JPS6269348A (en) Data transfer device
JPH0496419A (en) Input buffer circuit for semiconductor integrated circuit
KR100382466B1 (en) Interface of asynchronous system using fifo
JPH04107666A (en) Dma transfer system
JPH03266159A (en) Input/output controller
JPH04178816A (en) Semiconductor integrated circuit
JPH03228163A (en) Data transfer equipment
JPH01282940A (en) Memory clear method
KR19990040389A (en) Bus device
JPS6315353A (en) Data transfer circuit
JPH023853A (en) Interface method for cpu
JPS63231660A (en) Address decoding system for input/output controller
JPH02127750A (en) 16-bit dma data transfer circuit
JPH03152649A (en) Bus interface circuit for processor
JPH04112251A (en) Microcomputer
JPH036650A (en) Bidirectional data bus circuit
JPS63196968A (en) Input/output controller