JPS6324343A - I/o address decoding system - Google Patents

I/o address decoding system

Info

Publication number
JPS6324343A
JPS6324343A JP16698186A JP16698186A JPS6324343A JP S6324343 A JPS6324343 A JP S6324343A JP 16698186 A JP16698186 A JP 16698186A JP 16698186 A JP16698186 A JP 16698186A JP S6324343 A JPS6324343 A JP S6324343A
Authority
JP
Japan
Prior art keywords
address
hardware
devices
software
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.)
Granted
Application number
JP16698186A
Other languages
Japanese (ja)
Other versions
JPH0562786B2 (en
Inventor
Teru Morimoto
森本 輝
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP16698186A priority Critical patent/JPS6324343A/en
Publication of JPS6324343A publication Critical patent/JPS6324343A/en
Publication of JPH0562786B2 publication Critical patent/JPH0562786B2/ja
Granted legal-status Critical Current

Links

Classifications

    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00—Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02—Addressing or allocation; Relocation
    • G06F12/06—Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication
    • G06F12/0615—Address space extension
    • G06F12/063—Address space extension for I/O modules, e.g. memory mapped I/O

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To connect many I/O devices to the same address in an I/O address space by providing a means for setting an intrinsic address of a hardware, and a means for selecting dynamically its intrinsic address by a software. CONSTITUTION:An intrinsic address decoding circuit 10 decodes an address of an I/O device which has been allocated to the prescribed I/O address space. In order to overlap and allocate plural I/O devices to its same I/O address spaces, a hardware intrinsic address setting part 12 is provided. To the setting part 12, a value for discriminating the I/O device which has been allocated to its overlapped address is set at the time of installing the I/O device. In case of selecting the I/O device to be used, the value held by the setting part 12 is written in a software use register 11 through a data bus 16 before sending out an address in its I/O address space. Thereafter, an access is executed to its I/O device, and by an output of an AND circuit 14, an access can be executed to a desired I/O device.

Description

【発明の詳細な説明】 〔概要〕 マイクロコンピュータにより複数のI10装置を制御す
るシステムにおいて2通常のI10アドレス空間用のア
ドレスデコード回路以外に、ハードウェアの固有アドレ
スを設定する手段と、ソフトウェアにより、その固有ア
ドレスを動的に選択する手段を設けることにより、I1
0アドレス空間における同一のアドレスに、多数のI1
0装置を接続できるようにしている。
[Detailed Description of the Invention] [Summary] In a system in which a plurality of I10 devices are controlled by a microcomputer, in addition to an address decoding circuit for a normal I10 address space, a means for setting a unique address of hardware and software, By providing a means to dynamically select the unique address, I1
0 address space, many I1
0 devices can be connected.

〔産業上の利用分野〕[Industrial application field]

本発明は2例えば金融機関向は端末装置等に用いられる
マイクロコンピュータ・システムニオいて、I/O装置
に割り当てられたアドレスをデコードするI10アドレ
スデコード方式に関するものである。
The present invention relates to an I10 address decoding method for decoding an address assigned to an I/O device in a microcomputer system used in a terminal device, etc. for financial institutions, for example.

〔従来の技術〕[Conventional technology]

第4図は従来方式の例を示す。 FIG. 4 shows an example of the conventional method.

最近の金融機関向は端末装置等では、多くのオプション
I/O(入出力)装置が接続できるようになっており、
これらのI10装置は、端末装置が内蔵するマイクロコ
ンピュータによっテ制J’B サれるようになっている
。
Recently, many optional I/O (input/output) devices can be connected to terminal devices for financial institutions.
These I10 devices are designed to be serviced by a microcomputer incorporated in the terminal device.

各I10装置は、I10アドレス空間における固有のア
ドレスを持ち、第4図に示すようにマイクロコンピュー
タが出力するアドレスを、I10装置毎のアドレスデコ
ーダ30によってデコードし、I10チップセレクトな
どの信号としている。
Each I10 device has a unique address in the I10 address space, and as shown in FIG. 4, the address output by the microcomputer is decoded by the address decoder 30 of each I10 device and used as a signal such as I10 chip select.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

端末装置等のシステムに接続されるI10装置の数が少
ない場合には問題はないが、I/○装置の接続が多くな
るにつれて、I/Oアドレス空間が不足してくるため、
アドレス領域の不足によって、接続できるI / O装
置が制限されるという問題が発生している。アドレスバ
スにおけるアドレス信号のビット数を増やせば、アドレ
ス空間を拡張できるが、アドレスバスの拡張は、ハード
ウェアの大改造を伴うため困難である。
There is no problem when the number of I10 devices connected to the system such as terminal devices is small, but as the number of I/O devices increases, the I/O address space becomes insufficient.
A problem has arisen in that the I/O devices that can be connected are limited due to a lack of address space. The address space can be expanded by increasing the number of bits of the address signal in the address bus, but expansion of the address bus is difficult because it involves major modification of the hardware.

本発明は上記問題点の解決を図り、簡単な回路を各I1
0装置のアドレスデコード部に付加することにより、実
質的にI/O割り付は空間を大きくする手段を提供する
ことを目的としている。
The present invention aims to solve the above problems, and provides a simple circuit for each I1.
By adding to the address decoding part of the 0 device, the I/O allocation is essentially intended to provide a means of increasing space.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明のI10アドレスデコード方式の原理ブ
ロック図を示す。
FIG. 1 shows a principle block diagram of the I10 address decoding method of the present invention.

第1図において、10はI10アドレス空間に割り付け
られたアドレスをデコードする固定アドレスデコード回
路、11は同じI/○アドレス空間に割り付けられる各
I/O装置を選択する値が動的に設定されるソフトウェ
ア用レジスタ、12は同じI10アドレス空間に割り付
けられる各I10装置毎に異なる設定値が設定されるハ
ードウェア固有アドレス設定部、13はソフトウェア用
レジスタ11の内容とハードウェア固有アドレス設定部
12の設定値とを比較するコンパレータ。
In FIG. 1, 10 is a fixed address decoding circuit that decodes addresses allocated to the I10 address space, and 11 is a value that is dynamically set to select each I/O device allocated to the same I/○ address space. A software register, 12 a hardware-specific address setting section in which a different setting value is set for each I10 device allocated to the same I10 address space, 13 a setting for the contents of the software register 11 and the hardware-specific address setting section 12 A comparator that compares the value.

14は固定アドレスデコード回路10の出力とコンパレ
ータ13との出力の論理積をとるアンド回路、15はア
ドレスバス、16はデータバスを表す。
Reference numeral 14 represents an AND circuit that performs a logical product of the output of the fixed address decode circuit 10 and the output of the comparator 13, 15 represents an address bus, and 16 represents a data bus.

固定アドレスデコード回路10は、所定のI/Oアドレ
ス空間に割り付けられたI10装置のアドレスをデコー
ドする回路で、アドレスが一敗すると“1”を出力する
。第4図に示す従来のアドレスデコーダ30に相当する
と考えてよい。
The fixed address decoding circuit 10 is a circuit that decodes the address of the I10 device allocated to a predetermined I/O address space, and outputs "1" when the address fails once. It may be considered that this corresponds to the conventional address decoder 30 shown in FIG.

本発明の場合、その同じI10アドレス空間に。In the case of the present invention, in that same I10 address space.

複数の■/○装置を重複して割り付けるために。To redundantly allocate multiple ■/○ devices.

例えばディップスイッチ等によるハードウェア固有アド
レス設定部12が設けられる。ハードウェア固有アドレ
ス設定部12には、その重複したアドレスに割り付けら
れたI10装置を区別するための値が、I/O装置の設
置時にセントされる。
For example, a hardware-specific address setting section 12 using a dip switch or the like is provided. A value for distinguishing between I10 devices assigned to the duplicated address is sent to the hardware specific address setting unit 12 when the I/O device is installed.

マイクロコンピュータを動作させるソフトウェアにより
、使用するI10装置を選択する場合には、そのI10
アドレス空間におけるアドレスを送出する前に、データ
バス16を介して、そのI10装置の割り付は番号、即
ち、ハードウェア固有アドレス設定部12が保持する値
を、ソフトウェア用レジスタ11に書き込む。ソフトウ
ェア用レジスタ11に、ハードウェア固有アドレス設定
部12が保持する値がセットされると、コンパレータ1
3の出力は“1”となる。
When selecting the I10 device to be used by the software that operates the microcomputer, select the I10 device to be used.
Before sending out an address in the address space, the I10 device's allocation number, ie, the value held by the hardware-specific address setting section 12, is written into the software register 11 via the data bus 16. When the value held by the hardware specific address setting unit 12 is set in the software register 11, the comparator 1
The output of 3 becomes "1".

以後、従来と同様にアドレスバス15を介して。Thereafter, via the address bus 15 as in the conventional case.

そのI10装置にアクセスすると、固定アドレスデコー
ド回路10によるデコード結果と、コンパレータ13の
出力とが、共に“1”であるので。
When the I10 device is accessed, both the decoding result by the fixed address decoding circuit 10 and the output of the comparator 13 are "1".

アンド回路14の出力は“1”となる。これをI/Oチ
ップセレクト等の信号とすることにより。
The output of the AND circuit 14 becomes "1". By using this as an I/O chip select signal, etc.

所望するI10装置にアクセスすることができることと
なる。
This allows access to the desired I10 device.

〔作用〕[Effect]

第2図は本発明の詳細な説明するための図である。 FIG. 2 is a diagram for explaining the present invention in detail.

例えば、1000番地(16進数)からloFF番地ま
でのI10アドレス空間を考える。I10装置AI、A
2.・・・のグループについては、第1図に示すハード
ウェア固有アドレス設定部12の設定値を予め“OO”
とする。I10装置Bl。
For example, consider the I10 address space from address 1000 (hexadecimal) to loFF address. I10 device AI, A
2. . . , set the setting value of the hardware-specific address setting section 12 shown in FIG.
shall be. I10 device Bl.

B2.・・・のグループについては、ハードウェア固有
アドレス設定部12の設定値を“01”とする。
B2. . . , the setting value of the hardware specific address setting section 12 is set to "01".

また他のI10装置C1,C2,・・・のグループにつ
いては、ハードウェア固有アドレス設定部12の設定値
を02″とする。なお、同じグループのI10装置(A
l、A2.・・・)、  (Bl、B2゜・・・)、 
 (C1,C2,・・・)の各アドレスは、グループ内
では各々重複しないものとする。
In addition, for other groups of I10 devices C1, C2, ..., the setting value of the hardware specific address setting section 12 is set to 02''.
l, A2. ), (Bl, B2゜...),
It is assumed that each address (C1, C2, . . . ) does not overlap within the group.

ソフトウェア用レジスタ11に、ソフトウェアにより“
00”を書き込めば、1000番地からloFF番地ま
でのアドレスに対し、I/O装置AI、A2.・・・の
グループが選択されることになる。また、ソフトウェア
用レジスタ11に“01”を書き込めば、I10装置B
l、B2.・・・のグループが選択される。同様に“0
2”により、I10装置CI、C2,・・・のグループ
が選択される。
The software register “
If you write "00", the group of I/O devices AI, A2, etc. will be selected for the addresses from address 1000 to loFF address. Also, write "01" to the software register 11. For example, I10 device B
l, B2. The group of... is selected. Similarly, “0”
2'' selects the group of I10 devices CI, C2, .

以上のように、1000番地からloFF番地までを多
重化して使用できるので、アドレスバスを拡張すること
なく、実質的にI10アドレスを割り付ける空間を拡大
できることとなる。
As described above, since addresses from 1000 to loFF can be multiplexed and used, the space to which I10 addresses can be allocated can be substantially expanded without expanding the address bus.

〔実施例〕〔Example〕

第3図は本発明の一実施例を示している。 FIG. 3 shows an embodiment of the invention.

第3図において、IOA、IOBは上位アドレスデコー
ダであって、第1図に示す固定アドレスデコード回路1
0に相当するものである。11A。
In FIG. 3, IOA and IOB are upper address decoders, which are the fixed address decoding circuit 1 shown in FIG.
It corresponds to 0. 11A.

11Bは第1図図示ソフトウェア用レジスタ11である
。また、13A、13Bおよび14A、14Bは、それ
ぞれ第1図図示コンパレータ13およびアンド回路14
に対応する。
11B is a software register 11 shown in FIG. 13A, 13B and 14A, 14B are the comparator 13 and the AND circuit 14 shown in FIG. 1, respectively.
corresponds to

20A、20Bは、各I10装置毎または各I10装置
のグループ毎に設けられるI10アドレスデコード回路
である。21A、21Bはソフトウェア用レジスタII
A、IIBに割り付けられたアドレスをデコードするア
ドレスデコーダである。22A、22Bはディップスイ
ッチであって。
20A and 20B are I10 address decoding circuits provided for each I10 device or for each group of I10 devices. 21A and 21B are software registers II
This is an address decoder that decodes the address assigned to A and IIB. 22A and 22B are dip switches.

第1図に示すハードウェア固有アドレス設定部12に相
当する。
This corresponds to the hardware-specific address setting section 12 shown in FIG.

23A、24Aおよび23B、24Bは、それぞれアド
レスバス15の下位ビットをデコードする下位アドレス
デコーダである。
23A, 24A and 23B, 24B are lower address decoders that decode lower bits of the address bus 15, respectively.

ディップスイッチ22Aは、I10アドレスデコード回
路20Aを有するI10装置を接続するときに1例えば
常に“00”の値を出力するようにセットされる。一方
、ディツプスインチ22Bには、“01″がセットされ
る。
The dip switch 22A is set to always output a value of 1, for example, "00" when an I10 device having the I10 address decoding circuit 20A is connected. On the other hand, "01" is set in the dip inch 22B.

ソフトウェア用レジスタIIAおよびソフトウェア用レ
ジスタ11Bは、同じアドレスを持つ。
Software register IIA and software register 11B have the same address.

即ち、アドレスデコーダ21A、アドレスデコーダ21
Bは、同じアドレスをデコードする。
That is, address decoder 21A, address decoder 21
B decodes the same address.

図示省略したマイクロコンピュータが、アドレスバス1
5により、ソフトウェア用レジスタ11A、IIBのア
ドレスを指定し、データバス16を介して“00”を書
き込むと、コンパレータ13への出力が、11”になる
。また、そのアドレスを指定し、“01”を書き込むと
、コンパレータ13Aの出力が“0”になり、コンパレ
ータ13Bの出力が、“1”に切り換わる。
A microcomputer (not shown) has an address bus 1
5 specifies the address of the software registers 11A and IIB and writes "00" via the data bus 16, the output to the comparator 13 becomes "11". ”, the output of the comparator 13A becomes “0” and the output of the comparator 13B switches to “1”.

上位アドレスデコーダIOA、IOBは、それぞれアド
レスバス15の上位8ビツトを同じくデコードするが、
コンパレータ13A、13Bの出力が異なるので、アン
ド回路14A、14Bの出力が、共に“1”になること
はない。
The upper address decoders IOA and IOB each decode the upper 8 bits of the address bus 15 in the same way.
Since the outputs of the comparators 13A and 13B are different, the outputs of the AND circuits 14A and 14B will never both become "1".

アンド回路14Aの出力が“1”になったとき。When the output of the AND circuit 14A becomes "1".

下位アドレスデコーダ23A、24Aは、アドレスバス
15の例えば下位8ビツトをデコードし。
The lower address decoders 23A and 24A decode, for example, the lower 8 bits of the address bus 15.

内部のI10アドレスをそれぞれ識別する。Identify each internal I10 address.

下位アドレスデコーダ23B、24Bは、アンド回路1
4Bの出力が“1”になったとき、I10アドレスデコ
ード回路20Bに属する内部のI10アドレスをそれぞ
れ識別する。
The lower address decoders 23B and 24B are the AND circuit 1
When the output of 4B becomes "1", each internal I10 address belonging to the I10 address decoding circuit 20B is identified.

〔発明の効果〕〔Effect of the invention〕

以上説明したように7本発明によれば、簡単な回路を付
加することにより、同じI10アドレス空間に、複数の
異なるI10装置を割り付けることができるので、アド
レス領域の不足により装置の接続が制限されるという問
題を解決することができる。
As explained above, according to the present invention, a plurality of different I10 devices can be allocated to the same I10 address space by adding a simple circuit, so device connections are restricted due to lack of address area. It is possible to solve the problem of

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

第1図は本発明の原理ブロック図、第2図は本発明の作
用説明図、第3図は本発明の一実施例。 第4図は従来方式の例を示す。 図中、10は固定アドレスデコード回路、11はソフト
ウェア用レジスタ、12はハードウェア固有アドレス設
定部、13はコンパレータ、14はアンド回路、15は
アドレスバス、16はデータバスを表す。 特許出願人    富士通株式会社 復代理人弁理士   小笠原 吉義 充1 口 (アドレス2間) 2に雅6日月りイl′¥:片l喋しりハコ’J52[!
1 1へ4 国
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is an explanatory diagram of the operation of the present invention, and FIG. 3 is an embodiment of the present invention. FIG. 4 shows an example of the conventional method. In the figure, 10 is a fixed address decoding circuit, 11 is a software register, 12 is a hardware specific address setting section, 13 is a comparator, 14 is an AND circuit, 15 is an address bus, and 16 is a data bus. Patent Applicant Fujitsu Ltd. Sub-Agent Patent Attorney Yoshiyoshi Ogasawara 1 Address (2 addresses) 2 ni Miyabi 6th month Rii l'¥: Kata l talkative box 'J52 [!
1 1 to 4 country

Claims (1)

【特許請求の範囲】 マイクロコンピュータにより複数のI/O装置を制御す
るシステムにおいて、 同じI/Oアドレス空間に割り付けられる各I/O装置
毎に、異なる設定値が設定されるハードウェア固有アド
レス設定手段(12)と、 上記マイクロコンピュータにより、上記I/O装置毎の
異なる設定値に対応する値が動的に設定されるソフトウ
ェア用レジスタ(11)と、上記ハードウェア固有アド
レス設定手段(12)が保持する設定値と上記ソフトウ
ェア用レジスタ(11)に設定された値とを比較するコ
ンパレータ(13)と、 上記I/Oアドレス空間に割り付けられたアドレスをデ
コードする固定アドレスデコード回路(10)と、 上記コンパレータ(13)による比較結果および上記固
定アドレスデコード回路(10)によるデコード結果に
基づいて、上記I/O装置の1つを選択する信号を出力
する手段(14)とを備えたことを特徴とするI/Oア
ドレスデコード方式。
[Claims] In a system in which a plurality of I/O devices are controlled by a microcomputer, a hardware-specific address setting in which different setting values are set for each I/O device allocated to the same I/O address space. means (12); a software register (11) to which values corresponding to different settings for each I/O device are dynamically set by the microcomputer; and hardware-specific address setting means (12). a comparator (13) that compares the set value held by the software with the value set in the software register (11); and a fixed address decode circuit (10) that decodes the address allocated to the I/O address space. , means (14) for outputting a signal for selecting one of the I/O devices based on the comparison result by the comparator (13) and the decoding result by the fixed address decoding circuit (10). Features I/O address decoding method.
JP16698186A 1986-07-16 1986-07-16 I/o address decoding system Granted JPS6324343A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16698186A JPS6324343A (en) 1986-07-16 1986-07-16 I/o address decoding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16698186A JPS6324343A (en) 1986-07-16 1986-07-16 I/o address decoding system

Publications (2)

Publication Number Publication Date
JPS6324343A true JPS6324343A (en) 1988-02-01
JPH0562786B2 JPH0562786B2 (en) 1993-09-09

Family

ID=15841189

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16698186A Granted JPS6324343A (en) 1986-07-16 1986-07-16 I/o address decoding system

Country Status (1)

Country Link
JP (1) JPS6324343A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02253460A (en) * 1989-03-28 1990-10-12 Nec Eng Ltd Control system
EP0653711A1 (en) * 1993-10-29 1995-05-17 Advanced Micro Devices, Inc. Direct memory access controller
JPH07183926A (en) * 1993-12-24 1995-07-21 Uchu Tsushin Kiso Gijutsu Kenkyusho:Kk QPSK preamble signal generator

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58223831A (en) * 1982-06-23 1983-12-26 Nec Corp Selecting system of input and output device
JPS60122449A (en) * 1983-12-07 1985-06-29 Mitsubishi Electric Corp Input and output controller of address variable system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58223831A (en) * 1982-06-23 1983-12-26 Nec Corp Selecting system of input and output device
JPS60122449A (en) * 1983-12-07 1985-06-29 Mitsubishi Electric Corp Input and output controller of address variable system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02253460A (en) * 1989-03-28 1990-10-12 Nec Eng Ltd Control system
EP0653711A1 (en) * 1993-10-29 1995-05-17 Advanced Micro Devices, Inc. Direct memory access controller
JPH07183926A (en) * 1993-12-24 1995-07-21 Uchu Tsushin Kiso Gijutsu Kenkyusho:Kk QPSK preamble signal generator

Also Published As

Publication number Publication date
JPH0562786B2 (en) 1993-09-09

Similar Documents

Publication Publication Date Title
CA1324835C (en) Modular crossbar interconnection network for data transaction between system units in a multi-processor system
US5842038A (en) Optimized input/output memory access request system and method
JPS618785A (en) Access control system for storage device
JP2006040275A (en) Allocating resource to partition in partitionable computer
EP0463855A2 (en) Microcomputer
US6094710A (en) Method and system for increasing system memory bandwidth within a symmetric multiprocessor data-processing system
JPH0236010B2 (en)
JPH02217925A (en) Microprocessor
JPH07302254A (en) Microcomputer system
US10740141B2 (en) Method for managing transactions routing between source equipment and target equipment
JPH0562786B2 (en)
EP0110972B1 (en) Memory system including instruction word bus
JPS58161191A (en) Storage device
JPS6155765A (en) I/o address decoder circuit
JP3186661B2 (en) Request management circuit
JPH07334420A (en) Extended memory control circuit
JPH05334235A (en) Data transfer system
JPH0368046A (en) Memory access system
JPH04241047A (en) Address extension system
JPS6143362A (en) Integrated circuit device
US5696498A (en) Address encoding method and address decoding circuit therefor
JPS6398736A (en) Address control circuit
JPH01134546A (en) Arithmetic processor
JPS59144930A (en) microcomputer
JPH07325757A (en) Storage management device