JP3303022B2 - Controller integrated circuit - Google Patents
Controller integrated circuitInfo
- Publication number
- JP3303022B2 JP3303022B2 JP30955694A JP30955694A JP3303022B2 JP 3303022 B2 JP3303022 B2 JP 3303022B2 JP 30955694 A JP30955694 A JP 30955694A JP 30955694 A JP30955694 A JP 30955694A JP 3303022 B2 JP3303022 B2 JP 3303022B2
- Authority
- JP
- Japan
- Prior art keywords
- input
- signal
- output
- output direction
- integrated 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.)
- Expired - Lifetime
Links
- 230000002093 peripheral effect Effects 0.000 claims description 21
- 101100233223 Arabidopsis thaliana IOS1 gene Proteins 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 239000013256 coordination polymer Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
Description
【0001】[0001]
【産業上の利用分野】本発明は、中央演算処理装置(以
下、「CPU」と称す。)と例えば複写機、ファクシミ
リ、自動販売機等の周辺機器の入出力インターフェース
として用いられるコントローラ集積回路に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a central processing unit (hereinafter referred to as "CPU") and a controller integrated circuit used as an input / output interface of peripheral equipment such as a copying machine, a facsimile, a vending machine, and the like. .
【0002】[0002]
【従来の技術】従来の種のコントローラ集積回路は、例
えば、アドレスデコーダ、コントロールロジック回路、
データバスバッファ、コントロールワードレジスタ、入
出力(IO)ポートとを有し、予めCPUからのソフト
命令に基づいてコントロールワードレジスタに各ポート
アドレスの入出力方向のいずれかをプログラマブルに書
き込み、各I/Oポートを入出力のいずれかに設定でき
るようにしてある。2. Description of the Related Art Conventional types of controller integrated circuits include, for example, address decoders, control logic circuits,
It has a data bus buffer, a control word register, and an input / output (IO) port. Any one of the input / output directions of each port address is programmably written to the control word register in advance based on a software command from the CPU. The O port can be set to either input or output.
【0003】従って、従来のコントローラ集積回路を用
いてCPUに書き込まれたデータを出力する場合には、
CPUからの出力要求によりデータ信号がコントローラ
集積回路のデータバスバッファに入力すると、予めソフ
ト的にコントロールワードレジスタに出力として設定さ
れた各I/Oポートからデータ信号が出力して各ポート
の端子に接続された周辺機器が駆動する。逆に、周辺機
器からデータ信号をCPUに入力して書き込む場合に
は、CPUからの入力要求により予めソフト的に設定さ
れた各I/Oポートの端子から周辺機器のデータ信号が
入力し、このI/Oポートのデータ信号を読み出すよう
にしてある。また、従来のコントローラ集積回路を組み
込む場合には、例えば86系のCPUに接続するコント
ローラ集積回路と68系のCPUに接続するコントロー
ラ集積回路を使い分けている。Therefore, when outputting data written to a CPU using a conventional controller integrated circuit,
When a data signal is input to the data bus buffer of the controller integrated circuit in response to an output request from the CPU, a data signal is output from each I / O port which is previously set as an output in the control word register by software, and is output to the terminal of each port. The connected peripheral device is driven. Conversely, when a data signal is input from the peripheral device to the CPU and written, the data signal of the peripheral device is input from a terminal of each I / O port set in advance by software in response to an input request from the CPU. The data signal of the I / O port is read. When a conventional controller integrated circuit is incorporated, for example, a controller integrated circuit connected to an 86-series CPU and a controller integrated circuit connected to a 68-series CPU are selectively used.
【0004】[0004]
【発明が解決しようとする課題】しかしながら、従来の
コントローラ集積回路の場合には、CPUからのアドレ
ス信号に基づいて所定のコントロールワードレジスタを
選択し、このコントロールワードレジスタのポートアド
レスに対してI/Oポートの入出力方向のいずれかをそ
れぞれソフト的に書き込むようにしてあるため、例えば
何等かの理由でCPUがリセットされると、コントロー
ラ集積回路にリセット信号が入力し、コントロールワー
ドレジスタなどが初期の入力状態に戻ってしまい、各I
/Oポートを元の入出力状態に戻す場合には再度コント
ロールワードレジスタに対して各I/Oポートの入出力
方向を設定し直さなくてはならないという課題があっ
た。However, in the case of a conventional controller integrated circuit, a predetermined control word register is selected on the basis of an address signal from the CPU, and the I / O is controlled with respect to the port address of the control word register. Since any of the input / output directions of the O port is written in software, for example, if the CPU is reset for any reason, a reset signal is input to the controller integrated circuit, and the control word register and the like are initialized. Returns to the input state of
When the I / O port is returned to the original I / O state, there is a problem that the I / O direction of each I / O port must be set again in the control word register.
【0005】また、従来のコントローラ集積回路の場合
には、特定のCPUに対してのみ用いることができるよ
うにしてあるため、CPUの種類に応じてそれぞれのC
PUに適したコントローラ集積回路を選択しなくてはな
らず、入出力インターフェース素子としての汎用性に欠
けるという課題があった。Further, in the case of a conventional controller integrated circuit, since it can be used only for a specific CPU, each of the Cs is set according to the type of CPU.
There has been a problem that a controller integrated circuit suitable for the PU has to be selected, which lacks versatility as an input / output interface element.
【0006】本発明は、上記課題を解決するためになさ
れたもので、CPUがリセット状態になっても入出力ポ
ートを初期の設定状態のまま保持することができるコン
トローラ集積回路を提供すると共に、例えば86系のC
PUと68系のCPUの双方に適用できる汎用性のある
コントローラ集積回路を提供することを目的としてい
る。SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and provides a controller integrated circuit capable of holding an input / output port in an initially set state even when a CPU is reset. For example, 86 series C
It is an object of the present invention to provide a versatile controller integrated circuit applicable to both a PU and a 68-series CPU.
【0007】[0007]
【課題を解決するための手段】本発明の請求項1に記載
のコントローラ集積回路は、入出力用の複数の端子を有
し、中央演算処理装置と周辺機器の間でデータ信号の入
出力を制御するコントローラ集積回路において、上記中
央演算処理装置のリセット信号から独立し且つ上記各端
子の入出力方向をハード的に設定する外部信号を保持す
る入出力方向保持用レジスタと、上記各端子の入出力方
向を上記中央演算処理装置からの信号に基づいてソフト
的にプログラマブルに設定する入出力方向設定信号を保
持する内部レジスタと、上記入出力保持用レジスタの入
出力方向を設定する外部信号が入力する複数の外部信号
用端子と、上記外部信号と協働して入出力方向をソフト
的に設定するかハード的に設定するかを選択するモード
選択信号が入力するモード選択用端子とを有し、上記デ
ータ信号を受け渡す信号線と、上記内部レジスタに上記
入出力方向設定信号をソフト的に設定する信号線が共通
しているものである。According to a first aspect of the present invention, there is provided a controller integrated circuit having a plurality of input / output terminals for inputting / outputting data signals between a central processing unit and peripheral devices. A controller integrated circuit for controlling the input / output direction holding register which holds an external signal which is independent of a reset signal of the central processing unit and which sets an input / output direction of each terminal in a hardware manner; An internal register that holds an input / output direction setting signal that sets the output direction in a software programmable manner based on a signal from the central processing unit, and an external signal that sets the input / output direction of the input / output holding register are input. And a mode selection signal for selecting whether to set the input / output direction in software or hardware in cooperation with the external signal. Have a mode selection terminal, the de
Data signal and the internal register
Signal line for setting input / output direction setting signal by software is common
Is what you are doing .
【0008】また、本発明の請求項2に記載のコントロ
ーラ集積回路は、入出力用の複数の端子を有し、中央演
算処理装置と周辺機器の間でデータ信号の入出力を制御
するコントローラ集積回路において、上記中央演算処理
装置のリセット信号から独立し且つ上記各端子の入出力
方向をハード的に設定する外部信号を保持する入出力方
向保持用レジスタと、上記各端子の入出力方向を上記中
央演算処理装置からの信号に基づいてソフト的にプログ
ラマブルに設定する入出力方向設定信号を保持する内部
レジスタと、上記入出力保持用レジスタの入出力方向を
設定する外部信号が入力する複数の外部信号用端子と、
上記外部信号と協働して入出力方向をソフト的に設定す
るかハード的に設定するかを選択するモード選択信号が
入力する第1モード選択用端子と、上記各端子の入出力
のいずれかを要求する信号が入力する一対の入出力要求
用端子と、中央演算処理装置の種類を選択し且つ選択さ
れた中央演算処理装置に即して上記各入出力要求用端子
の機能を変更するモード選択信号が入力する第2モード
選択用端子とを有し、上記データ信号を受け渡す信号線
と、上記内部レジスタに上記入出力方向設定信号をソフ
ト的に設定する信号線が共通しているものである。According to a second aspect of the present invention, there is provided a controller integrated circuit having a plurality of input / output terminals for controlling input / output of data signals between a central processing unit and peripheral devices. In the circuit, an input / output direction holding register that holds an external signal that is independent of a reset signal of the central processing unit and sets the input / output direction of each terminal in a hardware manner, Software-based programming based on signals from the central processing unit
An internal register for holding an input / output direction setting signal to be set to be programmable, a plurality of external signal terminals to which external signals for setting the input / output direction of the input / output holding register are input,
A first mode selection terminal to which a mode selection signal for selecting whether to set the input / output direction by software or hardware in cooperation with the external signal is input; And a mode for selecting the type of central processing unit and changing the function of each of the input / output request terminals according to the selected central processing unit. have a second mode selection terminal for selecting signal is input, the signal lines passing the data signal
And input / output direction setting signal to the internal register.
Signal lines to be set in common are common .
【0009】[0009]
【作用】本発明の請求項1に記載の発明によれば、モー
ド選択用端子にソフトモードを選択するモード選択信号
が入力した場合には、中央演算処理装置から内部レジス
タにデータ信号として入出力方向設定信号が入力すると
その信号を予め指定された内部レジスタに保持し、内部
レジスタに対して複数の端子の入出力方向をソフト的に
プログラマブルに設定するとができる。また、モード選
択用端子にハードモードを選択するモード選択信号が入
力した場合には、複数の外部信号用端子に外部信号が入
力し、これらの外部信号により指定された入出力保持用
レジスタに入出力方向をハード的に設定することができ
る。ハード的に入出力方向が設定されると、入出力保持
用レジスタは中央演算処理装置のリセット信号から独立
しているため、リセット信号によりコントローラ集積回
路が入力状態になっても入出力保持用レジスタはリセッ
ト前の外部信号によってハード的に設定された状態を保
持することができる。According to the first aspect of the present invention, when a mode selection signal for selecting a soft mode is input to the mode selection terminal, the central processing unit inputs and outputs a data signal to an internal register. When a direction setting signal is input, the signal is held in a pre-designated internal register, and the input / output directions of a plurality of terminals are set to the internal register by software.
Can be set programmable . When a mode selection signal for selecting a hard mode is input to the mode selection terminal, an external signal is input to a plurality of external signal terminals and input to an input / output holding register designated by these external signals. The output direction can be set by hardware. When the input / output direction is set by hardware, the input / output holding register is independent of the reset signal of the central processing unit. Therefore, even if the controller integrated circuit enters the input state by the reset signal, the input / output holding register is used. Can maintain a state set by hardware by an external signal before reset.
【0010】また、本発明の請求項2に記載の発明によ
れば、コントローラ集積回路を実装した後、第2モード
選択用端子から第2モード選択信号が入力して86系ま
たは68系の中央演算処理装置を選択し、その中央演算
処理装置に即したモードを選択すると、一対の入出力要
求用端子は選択された中央演算処理装置に応じてそれぞ
れの機能が変更される。また、第1モード選択用端子に
ソフトモードを選択するモード選択信号が入力した場合
には、中央演算処理装置から内部レジスタにデータ信号
として入出力方向設定信号が入力するとその信号を予め
指定された内部レジスタに保持し、内部レジスタに対し
て複数の端子の入出力方向をソフト的にプログラマブル
に設定するとができる。更に、第1モード選択用端子に
ハードモードを選択するモード選択信号が入力した場合
には、複数の外部信号用端子に外部信号が入力し、これ
らの外部信号により指定された入出力保持用レジスタに
入出力方向をハード的に設定することができる。ハード
的に入出力方向が設定されると、入出力保持用レジスタ
は中央演算処理装置のリセット信号から独立しているた
め、リセット信号によりコントローラ集積回路が入力状
態になっても入出力保持用レジスタはリセット前の外部
信号によってハード的に設定された状態を保持すること
ができる。According to the second aspect of the present invention, after the controller integrated circuit is mounted, the second mode selection signal is input from the second mode selection terminal and the center of the 86 series or 68 series is input. When a processor is selected and a mode suitable for the central processor is selected, the functions of the pair of input / output request terminals are changed according to the selected central processor. When a mode selection signal for selecting the soft mode is input to the first mode selection terminal, when the input / output direction setting signal is input as a data signal from the central processing unit to the internal register, the signal is designated in advance. Retained in the internal register, and the input / output direction of multiple terminals can be software programmed for the internal register
It can be set to have. Further, when a mode selection signal for selecting a hard mode is input to the first mode selection terminal, an external signal is input to a plurality of external signal terminals, and an input / output holding register designated by these external signals is input. The input / output direction can be set by hardware. When the input / output direction is set by hardware, the input / output holding register is independent of the reset signal of the central processing unit. Therefore, even if the controller integrated circuit enters the input state by the reset signal, the input / output holding register is used. Can maintain a state set by hardware by an external signal before reset.
【0011】[0011]
【実施例】以下、図1〜図10に示す実施例に基づいて
本発明を説明する。本実施例のコントローラ集積回路
は、図示しないマイクロプロセッサユニット(MPU)
と周辺機器の間に接続され、MPUと周辺機器との間で
8ビットのデータ信号D0〜D7の受渡しを行なう8ビッ
トの入出力用インターフェース素子として構成されてい
る。即ち、コントローラ集積回路は、図1に示すよう
に、MPUを構成するCPUに接続されたデータバスバ
ッファ1及びアドレスデコーダ2と、アドレスデコーダ
2に接続された負論理回路として構成されたコントロー
ラロジック回路3と、このコントローラロジック回路3
からの制御信号が入力する内部レジスタとしてのコント
ロールワードレジスタ(CWR)4及び入出力保持用レ
ジスタとしての入出力(I/O)ポート5と、MPUを
構成するCPUと周辺機器との間でデータ信号D0〜D7
の受渡しを行なう通路となる8ビットのデータバス6と
を備えている。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the embodiments shown in FIGS. The controller integrated circuit of the present embodiment is a microprocessor unit (MPU) not shown.
It is configured as an 8-bit input / output interface element connected between the MPU and the peripheral device for transmitting and receiving 8-bit data signals D0 to D7 between the MPU and the peripheral device. That is, as shown in FIG. 1, the controller integrated circuit includes a data bus buffer 1 and an address decoder 2 connected to a CPU constituting an MPU, and a controller logic circuit configured as a negative logic circuit connected to the address decoder 2. 3 and the controller logic circuit 3
A control word register (CWR) 4 as an internal register and an input / output (I / O) port 5 as an input / output holding register to which a control signal is input from the CPU, and data between a CPU and peripheral devices constituting an MPU. Signals D0 to D7
And an 8-bit data bus 6 serving as a path for transferring the data.
【0012】そして、上記コントロールワードレジスタ
4は、上述のようにCWR(0)〜CWR(3)の4箇所のレ
ジスタからなっており、また、I/Oポート5はI/O
ポート(1)〜(9)の9箇所のレジスタからなっている。そ
して、I/Oポート(1)〜(9)はいずれも8ビットの信号
が入出力するように8本の入出力端子(図示せず)を有
し、各I/Oポート(1)〜(9)の入出力端子に周辺機器の
モータやランプ等の駆動機器などが接続され、これらの
駆動機器がビット信号により駆動するようにしてある。
そして、各I/Oポート(1)〜(8)の出力電流は3.2m
Aであるが、I/Oポート(9)は出力電流が12.0mA
に設定され、他のポートよりも高い電流で周辺機器を駆
動できるようにしてある。The control word register 4 is composed of four registers CWR (0) to CWR (3) as described above, and the I / O port 5 is an I / O port.
It consists of nine registers of ports (1) to (9). Each of the I / O ports (1) to (9) has eight input / output terminals (not shown) so as to input and output 8-bit signals. Driving devices such as motors and lamps of peripheral devices are connected to the input / output terminals of (9), and these driving devices are driven by bit signals.
The output current of each I / O port (1) to (8) is 3.2 m
A, but the output current of the I / O port (9) is 12.0 mA
To allow peripheral devices to be driven with a higher current than the other ports.
【0013】また、上記データバスバッファ1は、CP
Uと周辺機器との間でデータ信号D0〜D7の入出力タイ
ミングを調整するものであり、また、上記アドレスデコ
ーダ2はCPUから入力するアドレス信号A0、A1、A
2、A3を解読し、解読されたアドレス信号A0、A1、A
2、A3と後述のモードなどを設定する信号(コントロー
ルワード)と協働して4箇所のCWR(0)〜(3)のいずれ
か一つを選択したり、9箇所のI/Oポート(1)〜(9)の
いずれか一つを選択するようにしてある。Further, the data bus buffer 1 includes a CP
The address decoder 2 adjusts the input / output timing of the data signals D0 to D7 between the U and the peripheral device. The address decoder 2 controls the address signals A0, A1, A
2. Decode A3 and decode the decoded address signals A0, A1, A
2, one of four CWRs (0) to (3) is selected in cooperation with A3 and a signal (control word) for setting a mode and the like described later, and nine I / O ports ( Any one of 1) to (9) is selected.
【0014】上記コントローラロジック回路3は負論理
回路として構成され、このコントローラロジック回路3
には、CPUから初期設定用のリセット信号が入力する
リセット信号入力端子7と、データバス6を開閉するチ
ップセレクト(CS)信号が入力するCS入力端子8
と、周辺機器のデータ信号D0〜D7の読み取り(入力)
を要求する読み取り(RD)信号が入力するRD入力端
子9と、CPUのデータ信号D0〜D7の書き込み(出
力)を要求する書き込み(WR)信号が入力するWR入
力端子10とが接続されている。これらの信号はアクテ
ィブローの制御信号としてコントローラロジック回路3
に入力し、コントローラロジック回路3及びアドレスバ
ス11を介してデータバスバッファ1、コントロールワ
ードレジスタ4及びI/Oポート5を制御するようにし
てある。また、コントロールワードレジスタ4にはアド
レスバス11を介してI/Oポート5が接続され、コン
トロールワードレジタ4を介してそれぞれに割り当てら
れたI/Oポート5を制御するようにしてある。The controller logic circuit 3 is configured as a negative logic circuit.
A reset signal input terminal 7 for receiving a reset signal for initial setting from the CPU, and a CS input terminal 8 for receiving a chip select (CS) signal for opening and closing the data bus 6.
And reading of data signals D0 to D7 of peripheral devices (input)
Is connected to a RD input terminal 9 to which a read (RD) signal for requesting the data is input and a WR input terminal 10 to which a write (WR) signal for requesting the writing (output) of the CPU data signals D0 to D7 are input. . These signals are used as active low control signals by the controller logic circuit 3.
To control the data bus buffer 1, control word register 4 and I / O port 5 via the controller logic circuit 3 and the address bus 11. The control word register 4 is connected to an I / O port 5 via an address bus 11 and controls the I / O port 5 assigned to each via the control word register 4.
【0015】そして、上記各信号は以下のような機能を
有し、上述したアドレス信号A0、A1、A2、A3との組
み合わせによりコントロールワードレジスタ4及びIO
ポート5を制御するようにしている。例えば、リセット
信号がLレベル信号の時にはコントローラ集積回路が初
期状態に設定され、CS信号がLレベル信号の時にはデ
ータバス6を開放してMPUとのデータ信号D0〜D7の
受渡しを行なうようにしてある。また、RD信号がLレ
ベル信号でWR信号がHレベル信号の時には周辺機器か
ら各ポート5に入力する所定のデータ信号D0〜D7が読
み出され、WR信号がLレベル信号でRD信号がHレベ
ル信号の時にはCPUのデータがデータバス6を介して
各コントロールワードレジスタ4及び各I/Oポート5
へ所定のデータ信号D0〜D7を書き込み、I/Oポート
5から周辺機器にそのデータ信号D0〜D7を出力するよ
うにしてある。これらの信号を図5の(a)、(b)に
示すように組み合わせて各I/Oポート(1)〜(9)をそれ
ぞれ選択し、CPUからの入出力設定用信号に基づいて
CPUを入力動作あるいは出力動作に制御することがで
きるようになっている。Each of the above-mentioned signals has the following functions. The combination of the above-mentioned signals with the above-mentioned address signals A0, A1, A2, and A3 causes the control word register 4 and the IOs
Port 5 is controlled. For example, when the reset signal is an L level signal, the controller integrated circuit is set to an initial state, and when the CS signal is an L level signal, the data bus 6 is opened to transfer data signals D0 to D7 with the MPU. is there. When the RD signal is an L level signal and the WR signal is an H level signal, predetermined data signals D0 to D7 input to each port 5 are read from the peripheral device, and the WR signal is an L level signal and the RD signal is an H level. In the case of a signal, the data of the CPU is transmitted via the data bus 6 to each control word register 4 and each I / O port 5.
, Predetermined data signals D0 to D7 are written to the I / O port 5, and the data signals D0 to D7 are output to peripheral devices. These signals are combined as shown in FIGS. 5A and 5B to select each of the I / O ports (1) to (9), and to control the CPU based on the input / output setting signal from the CPU. The input operation or the output operation can be controlled.
【0016】また、上記コントローラロジック回路3
は、図1に示すように、3本の外部信号用端子12、1
3、14を有し、CPUから独立したIOS0信号、I
OS1信号、IOS2信号が外部信号として各外部信号用
端子12、13、14から入力するようにしてある。そ
して、これらのIOS0信号、IOS1信号、IOS2信
号によってI/Oポート(1)〜(9)の入出力方向がハード
的に設定できるようにしてある。更に、コントローラロ
ジック回路3にはモードセレクタ15が接続され、この
モードセレクタ15のモード選択(MS)用端子16に
MS信号が入力するようにしてある。このモードセレク
タ15のMS信号によって図2に示すように入出力方向
をソフト的に設定するソフトモードとハード的に設定す
るハードモードとが適宜選択できるようにしてある。そ
して、MS信号がLレベル信号で外部信号が全てLレベ
ル信号の時にはソフトモードが選択され、その他の場合
にはハードモードが選択されるようにしてある。また、
ハードモードには2つのモードがあり、MS信号のLレ
ベル信号またはHレベル信号の違いによってハードモー
ドとハードモードを選択できるようにしてある。The controller logic circuit 3
Are three external signal terminals 12, 1 as shown in FIG.
3 and 14 and an IOS0 signal, I
The OS1 signal and the IOS2 signal are input from the external signal terminals 12, 13, and 14 as external signals. The input / output directions of the I / O ports (1) to (9) can be set by hardware using the IOS0, IOS1, and IOS2 signals. Furthermore, a mode selector 15 is connected to the controller logic circuit 3, and an MS signal is input to a mode selection (MS) terminal 16 of the mode selector 15. As shown in FIG. 2, a soft mode in which the input / output direction is set in a software manner and a hard mode in which the input / output direction is set in a hardware manner can be appropriately selected by the MS signal of the mode selector 15, as shown in FIG. When the MS signal is an L level signal and all the external signals are L level signals, the soft mode is selected, and in other cases, the hard mode is selected. Also,
There are two hard modes, and the hard mode and the hard mode can be selected according to the difference between the L level signal or the H level signal of the MS signal.
【0017】そして、上記コントロールワードレジスタ
4を構成するCWR(0)〜CWR(3)は、アドレス信号A
0、A1、A2、A3によってそれぞれを選択するようにな
っている。これらのCWR(0)〜CWR(3)には図4に示
すようにポートアドレスが形成され、これらのポートア
ドレスにCPUの入出力設定用信号をLレベル信号(出
力方向)またはHレベル信号(入力方向)として各CW
R(0)〜(3)のポートアドレスに書き込んでそれぞれに割
り当てられたI/Oポート(図1、図3参照)の入出力
方向をCPUからソフト的に設定するようにしてある。The CWR (0) to CWR (3) constituting the control word register 4 are the address signals A
Each is selected according to 0, A1, A2, and A3. Port addresses are formed in these CWR (0) to CWR (3) as shown in FIG. 4, and the input / output setting signal of the CPU is set to the L level signal (output direction) or the H level signal ( Input direction) as each CW
The input / output direction of the I / O port (see FIGS. 1 and 3) assigned to each of the port addresses R (0) to (3) is set by software from the CPU.
【0018】図2(a)、図4に示すように、上記CW
R(0)はI/Oポート(8)の入出力方向を設定するレジス
タで、ビット単位またはニブル(4ビット)単位で入出
力方向を設定できるようにしてある。上記CWR(1)は
I/Oポート(1)〜(3)の入出力方向を設定するレジスタ
で、しかもI/Oポート(2)についてはニブル単位また
は8ビット単位で入出力方向を設定でき、他のI/Oポ
ート(1)、(3)については8ビット単位でしか設定できな
いようにしてある。上記CWR(2)はI/Oポート(4)〜
(6)の入出力方向を設定するレジスタで、I/Oポート
(5)についてはニブル単位または8ビット単位で入出力
方向を設定でき、他のI/Oポート(4)、(6)については
8ビット単位でしか設定できないようにしてある。更
に、上記CWR(3)はI/Oポート(7)及び(9)の入出力
方向を設定するレジスタで、各I/Oポート(7)、(9)に
は8ビット単位でしか入出力方向を設定できないように
してある。As shown in FIGS. 2A and 4, the above CW
R (0) is a register for setting the input / output direction of the I / O port (8) so that the input / output direction can be set in units of bits or nibbles (4 bits). The CWR (1) is a register for setting the input / output direction of the I / O ports (1) to (3). The input / output direction of the I / O port (2) can be set in nibble units or 8-bit units. The other I / O ports (1) and (3) can be set only in 8-bit units. The above CWR (2) is I / O port (4) ~
This register sets the input / output direction of (6).
For (5), the input / output direction can be set in nibble units or 8-bit units, and other I / O ports (4) and (6) can be set only in 8-bit units. Further, the CWR (3) is a register for setting the input / output direction of the I / O ports (7) and (9). Each of the I / O ports (7) and (9) is input / output only in 8-bit units. The direction cannot be set.
【0019】次に、I/Oポート5の入出力を設定する
方法について説明する。ソフトモードを選択する場合に
は、図2(a)に示すようにモードセレクタ15のMS
信号をLレベル信号とし、更にIOS0信号、IOS1信
号、IOS2信号をLレベル信号にする。これによりコ
ントローラ集積回路はソフトモードになる。次いで、図
5の(b)に示すようにCS信号をL、RD信号をH、
WR信号をLにしてCPUのデータ信号D0〜D7を書き
込める状態に設定する。その後、CPUからアドレス信
号A0、A1、A2、A3を図5の(b)に対応するL、H
の組み合わせでアドレスデコーダ2に出力するとその組
み合わせをアドレスデコーダ2により解読し、コントロ
ーラロジック回路3を介して各I/Oポート(1)〜(9)及
び各CWR(0)〜(3)をそれぞれ図5の(b)で示すよう
に指定する。更に、CS信号及びWR信号をLに設定
し、データバスを介して8ビットの入出力設定用信号を
Lレベル信号、Hレベル信号のコントロールワードとし
てCPUから出力して図4に示す各CWR(0)〜CWR
(3)に書き込んでそれぞれに対応するI/Oポート(1)〜
(9)の入出力方向を設定する。これにより、CS信号を
L、RD信号をL、WR信号をHにすればCPUから入
力要求によって周辺機器のデータをデータバスを介して
入力用I/Oポートからデータ信号D0〜D7としてCP
Uへ入力し、CS信号をL、RD信号をH、WR信号を
LにすればCPUから出力要求があればCPUのデータ
を出力用I/Oポートからデータ信号D0〜D7として周
辺機器へ出力する。Next, a method of setting the input / output of the I / O port 5 will be described. When selecting the soft mode, as shown in FIG.
The signal is set to the L level signal, and the IOS0 signal, the IOS1 signal, and the IOS2 signal are set to the L level signals. This places the controller integrated circuit in soft mode. Next, as shown in FIG. 5B, the CS signal is L, the RD signal is H,
The WR signal is set to L so that the CPU can write data signals D0 to D7. Thereafter, address signals A0, A1, A2, and A3 are sent from the CPU to L and H corresponding to FIG.
Are output to the address decoder 2 by the combination of the above, the combination is decoded by the address decoder 2, and each I / O port (1) to (9) and each of the CWR (0) to (3) are The designation is made as shown in FIG. Further, the CS signal and the WR signal are set to L, and an 8-bit input / output setting signal is output from the CPU as a control word of an L level signal and an H level signal via a data bus, and each CWR (CWR) shown in FIG. 0) to CWR
Write to (3) and corresponding I / O ports (1)-
Set the input / output direction of (9). When the CS signal is set to L, the RD signal is set to L, and the WR signal is set to H, the data of the peripheral device is changed from the input I / O port via the data bus to the data signals D0 to D7 in response to an input request from the CPU.
Input to U, set the CS signal to L, the RD signal to H, and the WR signal to L. If there is an output request from the CPU, output the CPU data from the output I / O port as data signals D0 to D7 to peripheral devices. I do.
【0020】また、ハードモードを選択する場合に
は、図2(a)に示すように、モードセレクタ15のM
S信号をHレベル信号とすれば、IOS0信号、IOS1
信号、IOS2信号をLレベル信号またはHレベル信号
のいずれに設定しても良い。これらの外部信号の組み合
わせにより直接I/Oポート(1)〜(7)の入出力方向を図
6の(b)に示すように設定することができる。そし
て、各I/Oポート(1)〜(7)は図6の(a)、(b)に
示すようにそれぞれ一括して入力方向または出力方向の
いずれかに設定するようにしてある。これらの各I/O
ポート(1)〜(7)の入出力方向はIOS0信号、IOS1信
号、IOS2信号のHとLを組み合わせにより図6の
(b)で示すように設定することができる。但し、I/
Oポート(8)は上述のようにCWR(0)によってソフト的
に入出力方向が設定され、I/Oポート(9)は常時出力
に設定される。コントローラ集積回路をハードモード
に設定した場合には、CPUから独立した外部信号、I
OS0信号、IOS1信号、IOS2信号により各I/O
ポート(1)〜(7)の入出力方向を設定するようにしてある
ため、CPUをリセットし、そのリセット信号がコント
ローラ集積回路に入力してもソフトモードの場合とは異
なり、各I/Oポート(1)〜(7)は初期設定の状態をその
まま維持することができる。When the hard mode is selected, as shown in FIG.
If the S signal is an H level signal, the IOS0 signal, IOS1 signal
The signal and the IOS2 signal may be set to either an L level signal or an H level signal. The input / output direction of the I / O ports (1) to (7) can be set directly as shown in FIG. 6B by a combination of these external signals. Each of the I / O ports (1) to (7) is collectively set to either the input direction or the output direction as shown in FIGS. 6 (a) and 6 (b). Each of these I / O
The input / output directions of the ports (1) to (7) can be set as shown in FIG. 6B by combining H and L of the IOS0 signal, the IOS1 signal, and the IOS2 signal. However, I /
As described above, the input / output direction of the O port (8) is set by software by the CWR (0), and the I / O port (9) is always set to the output. When the controller integrated circuit is set to the hard mode, an external signal independent of the CPU, I
Each I / O by OS0 signal, IOS1 signal and IOS2 signal
Since the input / output direction of the ports (1) to (7) is set, the CPU is reset, and even if the reset signal is input to the controller integrated circuit, unlike the case of the soft mode, each I / O Ports (1) to (7) can maintain the initial settings.
【0021】また、ハードモードを選択する場合に
は、図2に示すようにモードセレクタ15のMS信号を
Lレベル信号に設定すれば、IOS0信号、IOS1信
号、IOS2信号はソフトモード以外の状態、即ち、全
ての外部信号がLレベル信号となる場合以外の状態であ
れば良い。この場合には、図7の(a)、(b)に示す
ようにI/Oポート(1)も常に入力状態に設定される以
外はハードモードと同様に各I/Oポートの入出力方
向が設定される。この場合にも、ハードモードと同様
にリセット信号に左右されることなくリセット後も初期
の設定状態をそのまま維持することができる。When the hard mode is selected, if the MS signal of the mode selector 15 is set to the L level signal as shown in FIG. 2, the IOS0 signal, the IOS1 signal and the IOS2 signal will be in a state other than the soft mode. In other words, any state other than when all the external signals are L level signals may be used. In this case, the input / output direction of each I / O port is the same as in the hard mode except that the I / O port (1) is always set to the input state as shown in FIGS. 7 (a) and 7 (b). Is set. Also in this case, the initial setting state can be maintained as it is after the reset without being affected by the reset signal as in the hard mode.
【0022】以上説明したように本実施例によれば、C
PUのリセット信号から独立し且つ複数の入出力用端子
の入出力方向をハード的に設定する外部信号(IOS0
信号、IOS1信号、IOS2信号)が入力する外部信号
用端子12、13、14を設けると共にハードモードと
ソフトモードを選択するモードセレクタ15を設けたた
め、CPUがリセットされて初期状態に戻ってもコント
ローラ集積回路のI/Oポート(1)〜(7)及び(9)はリセ
ットされることなく、初期の設定状態をそのまま維持す
るとができ、リセットの度毎に入出力方向を設定し直す
必要がない。As described above, according to this embodiment, C
An external signal (IOS0) that is independent of the PU reset signal and that sets the input / output directions of a plurality of input / output terminals in hardware.
Signal, IOS1 signal, and IOS2 signal), external signal terminals 12, 13, and 14 are provided, and a mode selector 15 for selecting between a hard mode and a soft mode is provided. The I / O ports (1) to (7) and (9) of the integrated circuit can be maintained in the initial setting state without being reset, and it is necessary to reset the input / output direction every reset. Absent.
【0023】また、本発明の他の実施例のコントローラ
集積回路は、図8、図2の(b)に示すように、上記実
施例のものと同様に、リセット信号から独立した外部信
号(IOS0信号、IOS1信号、IOS2信号)が入力
する端子12、13、14及びこの外部信号と協働して
ソフトモード、ハードモードのいずれかを選択するMS
0信号が入力する第1モード選択用端子16を有してい
るが、本実施例の場合にはハードモードは一つの態様し
かない点で上記実施例とは相違している。更に、上記実
施例と大きく異なるのは、本実施例のコントローラ集積
回路は複数種(本実施例では2種類)のCPUに対応で
き、汎用性の高い入出力用インターフェースとして構成
されている点にある。As shown in FIGS. 8 and 2B, a controller integrated circuit according to another embodiment of the present invention has an external signal (IOS0) independent of the reset signal as in the above embodiment. Signals, IOS1 signal, IOS2 signal), and MS for selecting one of the soft mode and the hard mode in cooperation with the external signals.
Although a first mode selection terminal 16 to which a 0 signal is input is provided, this embodiment is different from the above embodiment in that the hard mode has only one mode. Furthermore, a major difference from the above-described embodiment is that the controller integrated circuit of the present embodiment can support a plurality of (two in this embodiment) CPUs and is configured as a highly versatile input / output interface. is there.
【0024】即ち、本実施例のコントローラ集積回路の
モードセレクタ15には図8に示すようにCPUを選択
するMS1 号が入力する第2モード選択用端子17が接
続されている。そして、86系のCPUの時にはMS1
号をLレベル信号とし、68系のCPUの時にはMS1
信号をHレベル信号にするようにしてある。そして、8
6系のCPUを選択した時には図9の(a)、(b)に
示すようにRD入力端子9にはRD信号が入力し、WR
入力端子10にはWR信号が入力して上記実施例と同様
に機能を果たすようにしてある。更に、図9の(a)、
(b)に示すようにアドレス信号A0、A1、A2、A3に
よって指定された各I/Oポート(1)〜(9)からデータ信
号を読み取り、各CWR(0)〜(3)あるいは各I/Oポー
ト(1)〜(9)にデータ信号を書き込むようにしてある。That is, the mode selector 15 of the controller integrated circuit of the present embodiment is connected to the second mode selection terminal 17 to which the MS1 for selecting the CPU is inputted as shown in FIG. And when it is 86 system CPU, MS1
Signal is an L level signal.
The signal is changed to an H level signal. And 8
When a 6-system CPU is selected, an RD signal is input to the RD input terminal 9 as shown in FIGS.
The WR signal is input to the input terminal 10 so as to perform the same function as in the above embodiment. Further, FIG.
As shown in (b), a data signal is read from each of the I / O ports (1) to (9) specified by the address signals A0, A1, A2, and A3, and each of the CWRs (0) to (3) or each IWR is read. Data signals are written to the / O ports (1) to (9).
【0025】しかし、MS1信号をHに設定して68系
のCPUを選択した時には図10の(a)、(b)に示
すようにRD入力用端子の機能がRW入力用端子に変更
され、RD信号、WR信号の双方が入力する機能を有
し、WR入力用端子の機能がRD信号あるいはRW信号
の入力を許可するイネーブル(MEN)信号が入力する
機能を有するようにしてある。そして、RW信号がHで
MEN信号がLの時には各I/Oポート(1)〜(9)からデ
ータ信号を読み取り、RW信号がLでMEN信号がLの
時には各CWR(0)〜(3)あるいは各I/Oポート(1)〜
(9)にデータ信号を書き込むようにしてある。However, when the MS1 signal is set to H and a 68-system CPU is selected, the function of the RD input terminal is changed to the RW input terminal as shown in FIGS. 10 (a) and 10 (b). It has a function of inputting both the RD signal and the WR signal, and the function of the WR input terminal has a function of inputting an enable (MEN) signal for permitting the input of the RD signal or the RW signal. When the RW signal is H and the MEN signal is L, a data signal is read from each of the I / O ports (1) to (9). When the RW signal is L and the MEN signal is L, each of the CWR (0) to (3) is read. ) Or each I / O port (1) ~
The data signal is written in (9).
【0026】以上説明したように本実施例によれば、M
S0 号を用いれば上記実施例と同様にソフトモードとハ
ードモードのいずれかを選択し、ハードモードの場合に
は上記実施例に準じた作用効果を期することができる。
更に、本実施例では第2MS信号を用いれば86系のC
PUにも68系のCPUにも適用でき、入力インターフ
ェースとしての汎用性を高めることができる。As described above, according to this embodiment, M
If the S0 signal is used, either the soft mode or the hard mode is selected in the same manner as in the above embodiment, and in the case of the hard mode, the operation and effect according to the above embodiment can be expected.
Further, in the present embodiment, if the second MS signal is used, the 86 system C
The present invention can be applied to a PU and a 68-series CPU, so that the versatility as an input interface can be enhanced.
【0027】尚、本発明は上記各実施例に何等制限され
るものでないことは言うまでもないIt goes without saying that the present invention is not limited to the above embodiments.
【0028】[0028]
【発明の効果】以上説明したように本発明の請求項1に
記載の発明によれば、入出力用の複数の端子を有し、中
央演算処理装置と周辺機器の間でデータ信号の入出力を
制御するコントローラ集積回路において、上記中央演算
処理装置のリセット信号から独立し且つ上記各端子の入
出力方向をハード的に設定する外部信号を保持する入出
力方向保持用レジスタと、上記各端子の入出力方向を上
記中央演算処理装置からの信号に基づいてソフト的にプ
ログラマブルに設定する入出力方向設定信号を保持する
内部レジスタと、上記入出力保持用レジスタの入出力方
向を設定する外部信号が入力する複数の外部信号用端子
と、上記外部信号と協働して入出力方向をソフト的に設
定するかハード的に設定するかを選択するモード選択信
号が入力するモード選択用端子とを有し、上記データ信
号を受け渡す信号線と、上記内部レジスタに上記入出力
方向設定信号をソフト的に設定する信号線が共通してい
るため、中央演算処理装置から内部レジスタに対してデ
ータ信号を利用して入出力設定信号をソフトモードで設
定することができ、CPUがリセット状態になっても入
出力ポートをハードモードで設定された初期の設定状態
のまま保持することができ、リセット毎に入出力方向を
設定し直すことなく中央演算処理装置と周辺機器の間に
おいてデータ信号の受け渡しを行うことができるコント
ローラ集積回路を提供することができる。As described above, according to the first aspect of the present invention, a plurality of input / output terminals are provided.
Input and output data signals between the central processing unit and peripheral devices
In the controller integrated circuit to be controlled, the central processing
Independent of the reset signal of the processor and the input of each terminal
I / O that holds external signals that set the output direction in hardware
Force input holding register and input / output direction of each terminal above
Software based on the signal from the central processing unit.
Holds the input / output direction setting signal to be set to be programmable
How to input / output the internal registers and the input / output holding registers
Multiple external signal terminals for inputting external signals to set the direction
And input / output directions can be set in software in cooperation with the external signal.
Mode selection signal to select whether to set
And a mode selection terminal for inputting a signal.
Signal line for passing the signal
Signal lines for setting direction setting signals by software are common.
Data from the central processing unit to internal registers.
I / O setting signal in soft mode using data signal
Even if the CPU is in the reset state, the input / output port can be kept in the initial setting state set in the hard mode, and the input / output direction can be changed every reset.
Between the central processing unit and peripheral devices without resetting
It is possible to provide a controller integrated circuit capable of transmitting and receiving data signals .
【0029】また、本発明の請求項2に記載の発明によ
れば、入出力用の複数の端子を有し、中央演算処理装置
と周辺機器の間でデータ信号の入出力を制御するコント
ローラ集積回路において、上記中央演算処理装置のリセ
ット信号から独立し且つ上記各端子の入出力方向をハー
ド的に設定する外部信号を保持する入出力方向保持用レ
ジスタと、上記各端子の入出力方向を上記中央演算処理
装置からの信号に基づいてソフト的にプログラマブルに
設定する入出力方向設定信号を保持する内部レジスタ
と、上記入出力保持用レジスタの入出力方向を設定する
外部信号が入力する複数の外部信号用端子と、上記外部
信号と協働して入出力方向をソフト的に設定するかハー
ド的に設定するかを選択するモード選択信号が入力する
第1モード選択用端子と、上記各端子の入出力のいずれ
かを要求する信号が入力する一対の入出力要求用端子
と、中央演算処理装置の種類を選択し且つ選択された中
央演算処理装置に即して上記各入出力要求用端子の機能
を変更するモード信号が入力する第2モード選択用端子
とを有し、上記データ信号を受け渡す信号線と、上記内
部レジスタに上記入出力方向設定信号をソフト的に設定
する信号線が共通しているため、中央演算処理装置から
内部レジスタに対してデータ信号を利用して入出力設定
信号をソフトモードで設定することができ、CPUがリ
セット状態になっても入出力ポートをハードモードで設
定された初期の設定状態のまま保持することができ、リ
セット毎に入出力方向を設定し直すことなく中央演算処
理装置と周辺機器の間においてデータ信号の受け渡しを
行うことができ、しかも、例えば86系のCPUと68
系のCPUの双方に適用できる汎用性のあるコントロー
ラ集積回路を提供することができる。According to the second aspect of the present invention , the central processing unit has a plurality of input / output terminals.
To control the input and output of data signals between the
In the roller integrated circuit, the reset of the central processing unit is performed.
And the input / output direction of each terminal is independent of the
Input / output direction holding level for holding external signals
The central processing of the register and the input / output direction of each terminal
Software programmable based on the signal from the device
Internal register that holds the input / output direction setting signal to be set
And set the input / output direction of the input / output holding register
A plurality of external signal terminals for inputting external signals
Set the input / output direction by software in cooperation with the signal
Mode selection signal for selecting whether to set
Any of the first mode selection terminal and the input / output of each of the above terminals
Input / output request terminals
And the type of the central processing unit is selected and the selected
Function of each input / output request terminal according to the central processing unit
Mode selection terminal to which a mode signal for changing the mode is input
And a signal line for passing the data signal.
Set the above input / output direction setting signal in the software register
Signal lines are common, so the central processing unit
Input / output settings for internal registers using data signals
Signal can be set in software mode, CPU can also be kept input and output ports of the initial setting state set by the hard mode in the reset state, Li
Central processing without resetting the input / output direction for each set
Transfer of data signals between the
Can be performed, and for example, the CPU of the 86 series and the 68
It is possible to provide a versatile controller integrated circuit that can be applied to both system CPUs.
【図1】本発明のコントローラ集積回路の一実施例を示
すブロック図である。FIG. 1 is a block diagram showing one embodiment of a controller integrated circuit of the present invention.
【図2】図1に示すコントローラ集積回路においてソフ
トモード及びハードモードを選択する場合のMS信号及
び外部信号の状態を示す一覧表で、同図(a)は第1の
実施例のものであり、同図(b)は第2の実施例のもの
である。FIG. 2 is a table showing states of an MS signal and an external signal when a soft mode and a hard mode are selected in the controller integrated circuit shown in FIG. 1; FIG. FIG. 2B shows the second embodiment.
【図3】図1に示すコントローラ集積回路のコントロー
ルワードレジスタの機能を示す一覧表である。FIG. 3 is a list showing functions of a control word register of the controller integrated circuit shown in FIG. 1;
【図4】図1に示すコントローラ集積回路のコントロー
ルワードレジスタのレジスタを示す概念図である。FIG. 4 is a conceptual diagram showing a register of a control word register of the controller integrated circuit shown in FIG. 1;
【図5】図1に示すコントローラ集積回路のコントロー
ルワードレジスタによるソフトモードによって設定され
るI/Oポートの入出力方向を示す一覧表である。5 is a table showing input / output directions of I / O ports set in a soft mode by a control word register of the controller integrated circuit shown in FIG. 1;
【図6】同図(a)は図1に示すコントローラ集積回路
の外部信号の機能を示す一覧表であり、同図(b)は外
部信号によるハードモードによって設定されるI/O
ポートの入出力方向を示す一覧表である。6 (a) is a list showing functions of external signals of the controller integrated circuit shown in FIG. 1, and FIG. 6 (b) is an I / O set by a hard mode based on external signals.
4 is a list showing input / output directions of ports.
【図7】同図(a)は図1に示すコントローラ集積回路
の外部信号の機能を示す一覧表であり、同図(b)は外
部信号によるハードモードによって設定されるI/O
ポートの入出力方向を示す一覧表である。7A is a list showing functions of external signals of the controller integrated circuit shown in FIG. 1, and FIG. 7B is a table showing I / Os set in a hard mode by external signals;
4 is a list showing input / output directions of ports.
【図8】本発明のコントローラ集積回路の他の実施例を
示すブロック図である。FIG. 8 is a block diagram showing another embodiment of the controller integrated circuit of the present invention.
【図9】図8に示すコントローラ集積回路を86系のC
PUに適用した場合のコントロールワードレジスタによ
るソフトモードによって設定されるI/Oポートの入出
力方向を示す一覧表である。FIG. 9 is a block diagram showing the controller integrated circuit shown in FIG.
6 is a table showing input / output directions of I / O ports set in a soft mode by a control word register when applied to a PU.
【図10】図8に示すコントローラ集積回路を68系の
CPUに適用した場合のコントロールワードレジスタに
よるソフトモードによって設定されるI/Oポートの入
出力方向を示す一覧表である。10 is a table showing input / output directions of I / O ports set in a soft mode by a control word register when the controller integrated circuit shown in FIG. 8 is applied to a 68-series CPU.
4 コントロールワードレジスタ(内部レジスタ) 5 I/Oポート(入出力方向保持用レジスタ) 7 リセット信号入力用端子 8 RD信号入力用端子(入出力要求用端子) 9 WR信号入力用端子(入出力要求用端子) 12 外部信号用端子 13 外部信号用端子 14 外部信号用端子 16 MS用端子(モード選択用端子、第1モード選
択用端子) 17 第2MS用端子(第2モード選択用端子)4 Control word register (internal register) 5 I / O port (input / output direction holding register) 7 Reset signal input terminal 8 RD signal input terminal (input / output request terminal) 9 WR signal input terminal (input / output request) 12 External signal terminal 13 External signal terminal 14 External signal terminal 16 MS terminal (mode selection terminal, first mode selection terminal) 17 2nd MS terminal (second mode selection terminal)
───────────────────────────────────────────────────── フロントページの続き (72)発明者 余宮 孝一 東京都港区赤坂5丁目3番16号 東京エ レクトロン株式会社内 (56)参考文献 特開 昭63−155354(JP,A) 特開 平6−243086(JP,A) 特開 昭60−218140(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 13/10 - 13/14 ──────────────────────────────────────────────────続 き Continuation of front page (72) Inventor Koichi Yomiya 5-3-1-16 Akasaka, Minato-ku, Tokyo Inside Tokyo Electron Co., Ltd. (56) References JP-A-63-155354 (JP, A) JP-A-63-155354 Hei 6-243086 (JP, A) JP-A-60-218140 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 13/10-13/14
Claims (2)
処理装置と周辺機器の間でデータ信号の入出力を制御す
るコントローラ集積回路において、 上記中央演算処理装置のリセット信号から独立し且つ上
記各端子の入出力方向をハード的に設定する外部信号を
保持する入出力方向保持用レジスタと、 上記各端子の入出力方向を上記中央演算処理装置からの
信号に基づいてソフト的にプログラマブルに設定する入
出力方向設定信号を保持する内部レジスタと、 上記入出力保持用レジスタの入出力方向を設定する外部
信号が入力する複数の外部信号用端子と、 上記外部信号と協働して入出力方向をソフト的に設定す
るかハード的に設定するかを選択するモード選択信号が
入力するモード選択用端子とを有し、 上記データ信号を受け渡す信号線と、上記内部レジスタ
に上記入出力方向設定信号をソフト的に設定する信号線
が共通している ことを特徴とするコントローラ集積回
路。1. A controller integrated circuit having a plurality of input / output terminals and controlling input / output of data signals between a central processing unit and peripheral devices, wherein the controller integrated circuit is independent of a reset signal of the central processing unit. And an input / output direction holding register for holding an external signal for setting the input / output direction of each terminal in a hardware manner, and a software programmable input / output direction of each terminal based on a signal from the central processing unit. set to an internal register for holding the output direction setting signal, and a plurality of external signal terminal to which an external signal is input to set the input and output direction of the output holding register, the external signal in cooperation with the input It has a mode selection terminal a mode selection signal for selecting whether to set the output direction or by hardware by software to set inputs, and a signal line passing the data signal The internal register
Signal line for setting the above input / output direction setting signal by software
Controller integrated circuit, characterized in that There are common.
処理装置と周辺機器の間でデータ信号の入出力を制御す
るコントローラ集積回路において、 上記中央演算処理装置のリセット信号から独立し且つ上
記各端子の入出力方向をハード的に設定する外部信号を
保持する入出力方向保持用レジスタと、 上記各端子の入出力方向を上記中央演算処理装置からの
信号に基づいてソフト的にプログラマブルに設定する入
出力方向設定信号を保持する内部レジスタと、 上記入出力保持用レジスタの入出力方向を設定する外部
信号が入力する複数の外部信号用端子と、 上記外部信号と協働して入出力方向をソフト的に設定す
るかハード的に設定するかを選択するモード選択信号が
入力する第1モード選択用端子と、 上記各端子の入出力のいずれかを要求する信号が入力す
る一対の入出力要求用端子と、 中央演算処理装置の種類を選択し且つ選択された中央演
算処理装置に即して上記各入出力要求用端子の機能を変
更するモード信号が入力する第2モード選択用端子とを
有し、 上記データ信号を受け渡す信号線と、上記内部レジスタ
に上記入出力方向設定信号をソフト的に設定する信号線
が共通している ことを特徴とするコントローラ集積回
路。2. A controller integrated circuit having a plurality of input / output terminals and controlling input / output of data signals between a central processing unit and peripheral devices, wherein the controller integrated circuit is independent of a reset signal of the central processing unit. And an input / output direction holding register for holding an external signal for setting the input / output direction of each terminal in a hardware manner, and a software programmable input / output direction of each terminal based on a signal from the central processing unit. set to an internal register for holding the output direction setting signal, and a plurality of external signal terminal to which an external signal is input to set the input and output direction of the output holding register, the external signal in cooperation with the input Requests a first mode selection terminal to which a mode selection signal for selecting whether to set the output direction by software or hardware, and one of input / output of each terminal And a mode signal for selecting the type of the central processing unit and changing the function of each of the input / output request terminals according to the selected central processing unit. It has a second mode selection terminal for inputting a signal line passing the data signal, the internal registers
Signal line for setting the above input / output direction setting signal by software
Controller integrated circuit, characterized in that There are common.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP30955694A JP3303022B2 (en) | 1994-11-18 | 1994-11-18 | Controller integrated circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP30955694A JP3303022B2 (en) | 1994-11-18 | 1994-11-18 | Controller integrated circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH08147232A JPH08147232A (en) | 1996-06-07 |
| JP3303022B2 true JP3303022B2 (en) | 2002-07-15 |
Family
ID=17994444
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP30955694A Expired - Lifetime JP3303022B2 (en) | 1994-11-18 | 1994-11-18 | Controller integrated circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3303022B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1102174A1 (en) * | 1999-11-19 | 2001-05-23 | Mitsubishi Electric Europe B.V. | Semiconductor device with non-volatile mode register |
| JP2006247432A (en) * | 2006-06-23 | 2006-09-21 | Daiichi Shokai Co Ltd | Input / output control device for pachinko machines |
-
1994
- 1994-11-18 JP JP30955694A patent/JP3303022B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH08147232A (en) | 1996-06-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5408627A (en) | Configurable multiport memory interface | |
| JP2013168169A (en) | Memory device, system with memory device, and operation method of embedded type device | |
| CN1060731A (en) | The Memory Controller direct or interleave memory accessing is used | |
| US5381376A (en) | Video RAM having block selection function during serial write transfer operation | |
| US6754760B1 (en) | Programmable interface for a configurable system bus | |
| US6308244B1 (en) | Information processing apparatus with improved multiple memory access and control | |
| JP3303022B2 (en) | Controller integrated circuit | |
| US7054979B2 (en) | Method and apparatus for routing configuration accesses from a primary port to a plurality of secondary ports | |
| JP5497743B2 (en) | Method for controlling access to memory area from a plurality of processes, and communication module including message memory for realizing the method | |
| KR0167644B1 (en) | Communication system for selectively using multi transmission methods | |
| KR20040045446A (en) | Interfacing processors with external memory supporting burst mode | |
| US6651152B1 (en) | Microcomputer including download circuit controlling data download to plurality of memories | |
| JPH04360095A (en) | Semiconductor memory | |
| US11094372B1 (en) | Partial writing method of dram memoryl device to reduce power consumption associated with large voltage swing of internal input/output lines | |
| JPH05334234A (en) | High speed dma transferring device | |
| JP4860811B2 (en) | Microcomputer | |
| JP2001175611A (en) | Inter-processor, communication interface circuit and semiconductor integrated circuit device | |
| KR19980083459A (en) | Databus Sizing Device | |
| KR0165505B1 (en) | Communication device using shared memory | |
| US20070022220A1 (en) | Bus system having a transmission control module and a transmission interface | |
| JPH0652039A (en) | Data transfer system | |
| JPH07121483A (en) | Shared memory access control circuit | |
| JPH0991242A (en) | Memory access circuit in multiprocessor system | |
| JPH0816405A (en) | System initialization device | |
| JPH05298249A (en) | Io device control system for information processor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090510 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090510 Year of fee payment: 7 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090510 Year of fee payment: 7 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090510 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100510 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110510 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110510 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120510 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130510 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130510 Year of fee payment: 11 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| EXPY | Cancellation because of completion of term |