JPH05225042A - Address conversion control circuit - Google Patents

Address conversion control circuit

Info

Publication number
JPH05225042A
JPH05225042A JP2760992A JP2760992A JPH05225042A JP H05225042 A JPH05225042 A JP H05225042A JP 2760992 A JP2760992 A JP 2760992A JP 2760992 A JP2760992 A JP 2760992A JP H05225042 A JPH05225042 A JP H05225042A
Authority
JP
Japan
Prior art keywords
address
comparison
bus
output
space
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
JP2760992A
Other languages
Japanese (ja)
Inventor
Tatsuya Yamaguchi
達也 山口
Kiyoshi Sudo
清 須藤
Kiminari Ogura
仁成 小椋
Yasutomo Sakurai
康智 桜井
Koichi Odawara
孝一 小田原
Takumi Nonaka
巧 野中
Kenji Hoshi
健二 星
Eiji Kanetani
英治 金谷
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 JP2760992A priority Critical patent/JPH05225042A/en
Publication of JPH05225042A publication Critical patent/JPH05225042A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To efficiently perform address conversion with respect to an address conversion circuit for plural address spaces provided in a main processor. CONSTITUTION:In the device provided with an address holding register where one address space IO bus 1 out of two address space IO busses 1 and 2 accessed by the main processor is held and an address comparing circuit which compares the address of this address holding register and the address of the main processor with each other are provided, and a circuit which executes the access to one address space IO bus 1 at the time of obtaining a coincidence output 4 from the address comparing circuit but executes the access to the other address space IO bus 2 at the time of obtaining a noncoincidence output 5, the address holding register where one address space is held is provided with a comparison indication bit, and only a bit indicated by this comparison indication bit is selectively compared to convert the address accessed by the main processor.

Description

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

【0001】[0001]

【産業上の利用分野】近年の情報処理装置においては、
16ビット→32ビット化, 或いは、更に、多ビット化が進
んでおり、主プロセッサからアクセスする範囲が広範囲
となりつつあり、一般的なメモリ空間だけでなく、入出
力装置, 主プロセッサ固有のアクセスアドレス空間等も
存在するようになっている。
[Industrial field of use] In recent information processing devices,
From 16 bits to 32 bits, or more multi-bits are progressing, the range of access from the main processor is expanding, and not only general memory space but also input / output device and access address unique to main processor There are spaces and so on.

【0002】通常、主プロセッサよりアクセスするアド
レスは、個々の装置、例えば、記憶装置,入出力装置内
の、該主プロセッサから直接アクセスされる回路,素子
等に対して割当てられている。
Addresses accessed by the main processor are usually assigned to circuits, elements, etc., which are directly accessed by the main processor in individual devices such as storage devices and input / output devices.

【0003】従って、システムが構築された時点で、主
プロセッサから見たアドレス空間が定まることになる。
特に、高速/低速と多様化されている入出力装置を制御
する場合、高速の入出力装置を制御する制御回路(アタ
ッチメント)は、例えば、プロセッサボードに搭載し、
低速の入出力装置を制御する制御回路(アタッチメン
ト)は、通常の入出力バスに接続するようにして、高速
の入出力装置を効率よく制御することが行われる。
Therefore, when the system is constructed, the address space seen from the main processor is determined.
In particular, when controlling diversified I / O devices of high speed / low speed, a control circuit (attachment) for controlling high-speed I / O devices is mounted on, for example, a processor board,
A control circuit (attachment) for controlling a low speed input / output device is connected to a normal input / output bus to efficiently control a high speed input / output device.

【0004】図4は、データ処理装置の構成例を示した
図であって、A1,A2 は上記アタッチメントを示してい
る。本図から明らかなように、主プロセッサ 1から見る
と、主記憶装置のアドレス空間と、プロセッサボード内
のアタッチメント(A1)が接続されている入出力バス{I
Oバス(1) }のアドレス空間と、通常のアタッチメント
(A2)が接続されている入出力バス{IOバス(2) }のア
ドレス空間があるように見える。
FIG. 4 is a diagram showing an example of the configuration of a data processing apparatus, in which A1 and A2 indicate the above attachments. As is clear from this figure, when viewed from the main processor 1, the address space of the main memory and the input / output bus {I1 to which the attachment (A1) in the processor board is connected
Address space of O bus (1)} and normal attachment
It seems that there is an address space for the I / O bus {IO bus (2)} to which (A2) is connected.

【0005】このような場合、主プロセッサ 1から該入
出力バスを見ると、高速用の入出力バス{IOバス(1)
}と、低速用の入出力バス{IOバス(2) }が存在す
ることになることから、該入出力装置をアクセスする主
プロセッサからのアドレスを、上記2つの入出力バス
{IOバス(1),(2) }に対して、効率良く、切り換える
為のアドレス変換制御回路が要求される。
In such a case, looking at the input / output bus from the main processor 1, a high-speed input / output bus {IO bus (1)
} And the low-speed input / output bus {IO bus (2)} exist, the address from the main processor that accesses the input / output device is set to the above two input / output buses {IO bus (1 ), (2)}, an efficient address conversion control circuit for switching is required.

【0006】[0006]

【従来の技術】図5〜図7は、従来のアドレス変換制御
回路を示した図である。先ず、図5において、主プロセ
ッサ 1から出力されたプロセッサアドレスバス信号,
及び、空間アクセス指示により、アドレス判定部 2に
おいて、該主プロセッサ 1から出力されたアドレスを空
間の種別を識別する。
2. Description of the Related Art FIGS. 5 to 7 are views showing a conventional address translation control circuit. First, in FIG. 5, the processor address bus signal output from the main processor 1
Further, according to the space access instruction, the address determination unit 2 identifies the type of space for the address output from the main processor 1.

【0007】該空間アクセス指示Aが“オン”の場合
には、メモリバス,IOバス(1),IOバス(2) の全空間
に対するアクセス指示とし、プロセッサアドレスバス信
号のアドレスを判定し、メモリバスか,IOバスかの
判定を行う。
When the space access instruction A is "ON", it is used as an access instruction for the entire space of the memory bus, IO bus (1), IO bus (2), the address of the processor address bus signal is determined, and the memory is Determine whether it is a bus or an IO bus.

【0008】又、空間アクセス指示Bが“オン”の場
合には、IOバス空間のみのアクセス指示とする。上記
空間アクセス指示Aが“オン”で、該アドレスが、メ
モリバス空間であった場合には、メモリバスアドレスド
ライバ 5へ、イネーブル信号Aを送出し、メモリバスへ
プロセッサアドレスを送出する。
When the space access instruction B is "on", the access instruction is for the IO bus space only. When the space access instruction A is "ON" and the address is the memory bus space, the enable signal A is sent to the memory bus address driver 5, and the processor address is sent to the memory bus.

【0009】上記空間アクセス指示Aが“オン”で、
該アドレスが、IOバス空間であった場合,及び、上記
空間アクセス指示Bが“オン”の場合には、アドレス
比較回路(COMP) 4に対して、コンペア結果出力指示を
出力する。
When the space access instruction A is "on",
When the address is the IO bus space and when the space access instruction B is "on", the compare result output instruction is output to the address comparison circuit (COMP) 4.

【0010】該コンペア結果出力指示を受けたアドレ
ス比較回路(COMP) 4は、前もって、アドレス保持レジス
タ 3で保持しているアドレスと、プロセッサアドレスバ
スより送られてくるアドレスとを比較し、一致した場
合(一致信号が出力されたとき)には、IOバスアド
レスドライバ 6に対してイネーブルを出力し、不一致の
場合(不一致信号が出力されたとき)には、IOバス
アドレスドライバ 7に対してイネーブルを出力する。
The address comparison circuit (COMP) 4, which has received the compare result output instruction, compares the address previously held in the address holding register 3 with the address sent from the processor address bus, and the addresses match. When (match signal is output), enable is output to IO bus address driver 6, and when mismatch (when mismatch signal is output), enable to IO bus address driver 7 Is output.

【0011】該アドレス比較回路(COMP) 4においては、
図6に図示されている如くに、特定のビットに対して論
理積を構成している為、例えば、16ビットからなるアド
レス空間において、上位の8ビットのみの論理積をとっ
ている場合には、256個のアドレス空間に対して一致
出力を出力し、他のアドレス空間に対して不一致出力
を出力する。
In the address comparison circuit (COMP) 4,
As shown in FIG. 6, since the logical product is formed for a specific bit, for example, in the case where the logical product of only the upper 8 bits is taken in the address space consisting of 16 bits, , A match output is output to the 256 address spaces, and a non-match output is output to the other address spaces.

【0012】主プロセッサ 1,及びアドレス判定部 2
は、出力するアドレスイネーブルに対応した各入出力バ
ス{IOバス(1),(2) }へのアクセス制御を行う。上記
の例は、2個のIOバス(1),(2) が持つアドレス空間に
対して、プロセッサアドレスバス信号を出力する例で
説明したが、該IOバスが複数個存在する場合には、図
7に示したように、図5で説明したアドレス保持レジス
タ 3と、アドレス比較回路 4とを複数個設けて、第1の
アドレス比較回路(COMP1) 40での不一致アドレス (不一
致信号が出力されたアドレス) に対して、第2のアド
レス比較回路(COMP2) 41と、第2のアドレス保持レジス
タ 31 とで、同じ比較処理を行うことを繰り返して、複
数個のIOバス(1),(2),〜に対するアドレス変換を行う
ようにしたものであり、このように構成することで、複
数個のアドレス空間へのアクセスができることは明らか
である。
Main processor 1 and address determination unit 2
Controls access to each input / output bus {IO bus (1), (2)} corresponding to the output address enable. In the above example, the processor address bus signal is output to the address space of the two IO buses (1) and (2), but when there are a plurality of IO buses, As shown in FIG. 7, a plurality of the address holding register 3 and the address comparison circuit 4 described in FIG. 5 are provided, and a mismatch address (a mismatch signal is output in the first address comparison circuit (COMP1) 40. Address)), the second address comparison circuit (COMP2) 41 and the second address holding register 31 repeatedly perform the same comparison processing to obtain a plurality of IO buses (1), (2 ), To address translation, and it is obvious that a plurality of address spaces can be accessed by configuring in this way.

【0013】[0013]

【発明が解決しようとする課題】上記の如き、従来のア
ドレス変換制御回路においては、アドレス保持レジスタ
3の内容は、固定的であり、プロセッサアドレスと、保
持アドレスとの比較は、常に、同一となるため、予め、
定められた範囲のアドレス空間でしか、IOバス(1),
(2) に対するアクセスはできなかった。
In the conventional address translation control circuit as described above, the address holding register is used.
The content of 3 is fixed, and the comparison between the processor address and the holding address is always the same, so in advance,
Only in the address space of the defined range, IO bus (1),
Access to (2) was not possible.

【0014】勿論、主プロセッサ 1から、該アドレス保
持レジスタ 3の内容を変更することにより、該アドレス
比較回路(COMP) 4での一致アドレスが変わるので、その
範囲で、該IOバス(1),(2) に対するアクセスの範囲、
即ち、アドレス空間を変更することができるが、アドレ
ス比較回路 4での比較論理は固定されているので、IO
バス(1),(2) に対するアドレス空間を大きく変える、例
えば、一方のアドレス空間を広げ、他方を縮小したい場
合には、該アドレス比較回路 4を作り変えなければなら
ないという問題があった。
Of course, by changing the contents of the address holding register 3 from the main processor 1, the coincident address in the address comparison circuit (COMP) 4 changes, so that the IO bus (1), Range of access to (2),
That is, although the address space can be changed, the comparison logic in the address comparison circuit 4 is fixed, so that the IO
When the address space for the buses (1) and (2) is changed significantly, for example, when it is desired to expand one address space and reduce the other, the address comparison circuit 4 must be recreated.

【0015】本発明は上記従来の欠点に鑑み、主プロセ
ッサの備えている複数個のアドレス空間、例えば、上記
IOバス(1),(2) に対して、少ないハードウェア量によ
って、種々のアドレス空間のアドレスを与え、システム
構成の変更に、柔軟に対処することができるアドレス変
換制御回路を提供することを目的とするものである。
In view of the above-mentioned conventional drawbacks, the present invention provides a plurality of address spaces provided in the main processor, for example, the IO buses (1) and (2) with various hardware addresses with a small amount of hardware. It is an object of the present invention to provide an address conversion control circuit which can give a space address and flexibly cope with a change in system configuration.

【0016】[0016]

【課題を解決するための手段】図1,図2は、本発明の
一実施例を示した図である。上記の問題点は下記の如く
に構成したアドレス変換制御回路によって解決される。
1 and 2 are views showing an embodiment of the present invention. The above problems are solved by the address translation control circuit configured as follows.

【0017】(1) 主プロセッサ 1よりアクセスする複数
個のアドレス空間(A1,A2, 〜) に対して、特定のアドレ
ス空間(A1,A2, 〜) のアドレスを保持する複数個のアド
レス保持レジスタ 30,31, 〜と、該主プロセッサ 1から
のアドレスを、該複数個の第1,第2,〜のアドレス保
持レジスタ 30,31, 〜に対応する複数個の第1,第2,
〜のアドレス比較回路(COMP1,2, 〜) 40,41,〜で比較し
て、該第1のアドレス保持レジスタ 30 と、第1のアド
レス比較回路 40 での比較において、一致出力が得られ
た場合には、上記特定のアドレス空間(A1)へのアクセス
を実行し、不一致の出力が得られた場合には、第2のア
ドレス保持レジスタ31 と, 第2のアドレス比較回路(CO
MP2) 41で比較して、一致出力が得られた場合には、上
記特定のアドレス空間(A2)へのアクセスを実行し、不一
致の出力が得られた場合には、次のアドレス保持レジス
タと、次のアドレス比較回路で比較することを繰り返し
て、プロセッサアドレスを、複数個のアドレス空間(A1,
A2, 〜) に変換するアドレス変換制御回路 2,30,40,31,
41, 〜を備えた装置において、該複数個のアドレス保持
レジスタ 30,31, 〜のそれぞれに、比較ビット指示手段
30a,31a, 〜を備えて、該比較ビット指示手段 30a,31
a, 〜が指示するビットを選択的に比較して、上記複数
個のアドレス比較回路 40,41, 〜の比較演算を制御する
ように構成する。
(1) A plurality of address holding registers for holding addresses of specific address spaces (A1, A2, ...) for a plurality of address spaces (A1, A2, ...) accessed by the main processor 1 , 31, and the addresses from the main processor 1 are stored in the plurality of first, second, ... Address holding registers 30,31 ,.
The address comparison circuits (COMP1,2,-) 40, 41, ... of, compare with each other, and in the comparison between the first address holding register 30 and the first address comparison circuit 40, a coincident output is obtained. In this case, the above-mentioned specific address space (A1) is accessed, and when a mismatch output is obtained, the second address holding register 31 and the second address comparison circuit (CO
MP2) 41, if a match output is obtained, access to the above specific address space (A2) is performed, and if a mismatch output is obtained, the address is stored in the next address holding register. , The next address comparison circuit is repeated to calculate the processor address into a plurality of address spaces (A1,
A2, ...) address translation control circuit 2, 30, 40, 31,
41, ..., In each of the plurality of address holding registers 30, 31 ,.
30a, 31a, ..., Comparing bit indicating means 30a, 31a
Bits designated by a, ... Are selectively compared to control the comparison operation of the plurality of address comparison circuits 40, 41 ,.

【0018】(2) 上記アドレス変換制御回路であって、
上記比較ビット指示手段 30a,31a,〜を、上記アドレス
保持レジスタ 30,31, 〜とは独立したレジスタとして構
成する。
(2) In the above address translation control circuit,
The comparison bit designating means 30a, 31a, ... Are constituted as registers independent of the address holding registers 30, 31 ,.

【0019】[0019]

【作用】本発明においては、主プロセッサの備えている
複数個のアドレス空間に対するアドレスを変換するの
に、主プロセッサがアクセスする、例えば、2つのアド
レス空間{IOバス(1),(2) }の1つのアドレス空間
{IOバス(1) }を保持するアドレス保持レジスタと、
該アドレス保持レジスタのアドレスと, 主プロセッサか
らのアドレスとを比較して、一致した場合に、該1つの
アドレス空間{IOバス(1) }へのアクセスを実行し、
不一致のときには、他のアドレス空間{IOバス(2) }
へのアクセスを実行するアドレス比較回路等を備えた装
置において、該1つのアドレス空間を保持するアドレス
保持レジスタに、比較指示ビットを設けて、該比較指示
ビットが指示するビットのみを選択的に比較して、該主
プロセッサからのアドレスを変換するようにしたもので
ある。
In the present invention, in order to convert addresses for a plurality of address spaces provided in the main processor, the main processor accesses, for example, two address spaces {IO buses (1), (2)}. An address holding register that holds one address space {IO bus (1)} of
The address of the address holding register is compared with the address from the main processor, and when they match, access to the one address space {IO bus (1)} is executed,
If they do not match, another address space {IO bus (2)}
In a device including an address comparison circuit for accessing a memory, a comparison instruction bit is provided in an address holding register that holds the one address space, and only the bit indicated by the comparison instruction bit is selectively compared. Then, the address from the main processor is converted.

【0020】従って、各IOバス(1),(2) に対するアド
レス空間が、上記比較指示ビットが指示する範囲で可変
となるので、比較的に少ないハードウェア量によって、
システム構成等の変更に対して柔軟に対処することがで
きる効果がある。
Therefore, since the address space for each IO bus (1), (2) is variable within the range indicated by the comparison instruction bit, a relatively small amount of hardware can be used.
This has the effect of being able to flexibly deal with changes in the system configuration and the like.

【0021】[0021]

【実施例】以下本発明の実施例を図面によって詳述す
る。前述の図1, 図2は、本発明の一実施例を示した図
であり、図3は、本発明の他の実施例を示した図であ
る。
Embodiments of the present invention will now be described in detail with reference to the drawings. 1 and 2 described above are diagrams showing an embodiment of the present invention, and FIG. 3 is a diagram showing another embodiment of the present invention.

【0022】本発明においては、主プロセッサ 1の備え
ている複数個のアドレス空間に対するアドレスを変換す
るアドレス変換制御回路を、主プロセッサ 1がアクセス
する、例えば、2つのアドレス空間{IOバス(1),(2)
}の1つのアドレス空間{IOバス(1) }を保持する
アドレス保持レジスタ 3と、該アドレス保持レジスタ 3
に保持されているアドレスと主プロセッサからのアドレ
スとを比較するアドレス比較回路 4と、該アドレス比較
回路 4において、一致出力が得られた場合に、該1つ
のアドレス空間{IOバス(1) }へのアクセスを実行
し、不一致出力が得られた場合には、他のアドレス空
間{IOバス(2) }へのアクセスを実行する回路 2,3,4
を備えた装置において、該1つのアドレス空間を保持す
るアドレス保持レジスタ 3に、比較指示ビット 3a を設
けて、該比較指示ビット 3a が指示するビットのみを選
択的に比較して、該主プロセッサからのアドレスを変換
する手段が、本発明を実施するのに必要な手段である。
尚、全図を通して同じ符号は同じ対象物を示している。
In the present invention, the main processor 1 accesses an address conversion control circuit for converting addresses for a plurality of address spaces provided in the main processor 1, for example, two address spaces {IO bus (1) , (2)
}, An address holding register 3 holding one address space {IO bus (1)}, and the address holding register 3
Address comparison circuit 4 for comparing the address held in the memory with the address from the main processor, and when a match output is obtained in the address comparison circuit 4, the one address space {IO bus (1)} To access another address space {IO bus (2)} when a mismatch output is obtained.
In the device including, the address holding register 3 holding the one address space is provided with a comparison instruction bit 3a, and only the bit indicated by the comparison instruction bit 3a is selectively compared, The means for translating the address of is the means necessary to implement the invention.
The same reference numerals denote the same objects throughout the drawings.

【0023】以下、図4〜図7を参照しながら、図1〜
図3によって、本発明のアドレス変換制御回路の構成と
動作を説明する。先ず、図1において、主プロセッサ 1
より出力されるプロセッサアドレスバスの信号と, 空
間アクセス指示は、特に、従来と変わることもなく、
メモリバスへのアクセス制御も同一となる。
1 to 3 with reference to FIGS.
The configuration and operation of the address translation control circuit of the present invention will be described with reference to FIG. First, in FIG. 1, the main processor 1
The signal of the processor address bus and the space access instruction that are output from the
Access control to the memory bus is also the same.

【0024】該空間アクセス指示AがIO空間である
か、或いは、空間アクセス指示Bが“オン”になった
場合、アドレス比較回路(COMP) 4内でのアドレス比較
は、アドレス保持レジスタ 3で保持しているアドレス
と、プロセッサアドレスとを、アドレス保持レジスタ 3
内の比較指示ビット 3a により比較し、その比較結果
が、一致した場合、従来例と同じように、IOバス(1)
アドレスドライバ 6へイネーブルを送出し、不一致の場
合には、IOバス(2) アドレスドライバ 7へイネーブル
を送出する。
When the space access instruction A is the IO space or the space access instruction B is turned "ON", the address comparison in the address comparison circuit (COMP) 4 is held by the address holding register 3. Address holding register 3 and the processor address.
When the comparison result is compared by the comparison instruction bit 3a in the above, and the comparison result is the same, as in the conventional example, the IO bus (1)
The enable is sent to the address driver 6, and if they do not match, the enable is sent to the IO bus (2) address driver 7.

【0025】ここで、本発明を適用したアドレス比較回
路(COMP) 4内でのアドレス比較動作を図2を用いて説明
する。比較アドレスは、図2に示したように、プロセッ
サアドレスの 215〜28 (即ち、27〜20ビットで表現され
る256 語を1ブロックとしたとき、256 ブロックが、比
較対象のアドレス空間の数となる) とし、比較指示ビッ
ト 3a を、例えば、2ビットで構成して、該比較指示ビ
ット 3a の値が "01(=B)" の場合は、215 〜29ビットを
比較対象{この場合には、128 ブロックの何れか一つが
一致アドレスとなり、IOバス(1) に割り当てられる}
とし、該比較指示ビット 3a の値が "10(=C)" の場合
は、215 ビットのみを比較対象{この場合には、該215
ビット=0,又は、1 の場合に一致出力が出力されるの
で、それぞれの128 ブロックが、IOバス(1),(2) に割
り当てられる}とし、該比較指示ビット 3a の値が "00
(=A)" の場合は、比較結果によらず、IOバス(2) のみ
をアクセス対象とする指示、即ち、常に、不一致出力
を出力する指示とし、該比較指示ビット 3a の値が "11
(=D)" の場合は、比較結果によらず、IOバス(1) のみ
をアクセス対象とする指示とする、即ち、常に、一致出
力を出力する指示とする。
The address comparison operation in the address comparison circuit (COMP) 4 to which the present invention is applied will be described with reference to FIG. Comparison address, as shown in FIG. 2, 2 15-2 8 (i.e. the processor address, 2 7-2 0 when the one block 256 word represented by bit, 256 block, the address to be compared and the number of space), the comparison instruction bits 3a, for example, be composed of two bits, the value of the comparison instruction bit 3a is the case of "01 (= B)", the comparison of two 15-2 9 bits Target {In this case, one of 128 blocks becomes the matching address and is assigned to IO bus (1)}
If the value of the comparison instruction bit 3a is "10 (= C)", only 2 15 bits are to be compared {in this case, 2 15
Since a coincidence output is output when bit = 0 or 1, 128 blocks are assigned to IO buses (1) and (2)}, and the value of the comparison instruction bit 3a is "00".
In the case of (= A) ", regardless of the comparison result, it is an instruction to access only the IO bus (2), that is, an instruction to always output a mismatch output, and the value of the comparison instruction bit 3a is" 11 ".
In the case of (= D) ", regardless of the comparison result, the instruction is to make only the IO bus (1) the access target, that is, the instruction to always output the coincidence output.

【0026】具体的には、該比較指示ビット 3a が "0
1" の場合、デコーダ(DEC) 9 のB出力が“1”とな
り、上記 215〜28ビットの内、28ビットは、該デコーダ
(DEC) 9のB出力信号により、常に、一致信号を出力す
ることになり、残りの 215〜29ビットで比較が行われ
る。
Specifically, the comparison instruction bit 3a is "0".
"If the decoder (DEC) 9 B-output is" 1 1 ", the 2 15-2 8 of the bits, 2 8 bits, the decoder
The B output signal (DEC) 9, always will output a coincidence signal, is compared with the remaining 2 15-2 9 bits is performed.

【0027】同様にして、該比較指示ビット 3a が "1
0" の場合、デコーダ(DEC) 9 のC出力が“1”とな
り、上記 215〜29ビットでの比較が、常に、一致信号を
出力することになり、 215ビットのみで比較が行われ
る。
Similarly, the comparison instruction bit 3a is set to "1".
"If the decoder (DEC) 9 C output is" 0 1 ", and the comparison of the above 2 15-2 9 bits, always will output a coincidence signal, the row comparison only two 15-bit Be seen.

【0028】同様にして、該比較指示ビット 3a が "0
0" の場合、デコーダ(DEC) 9 のA出力が“1”とな
り、全ビットの比較結果を、常に、“オフ”とし、不一
致信号を出力する。
Similarly, the comparison instruction bit 3a is "0".
In the case of "0", the A output of the decoder (DEC) 9 becomes "1", the comparison result of all bits is always "off", and the mismatch signal is output.

【0029】同様にして、該比較指示ビット 3a が "1
1" の場合、デコーダ(DEC) 9 のD出力が“1”とな
り、全ビットの比較結果を、常に、“オン”とし、一致
信号を出力する。
Similarly, the comparison instruction bit 3a is set to "1".
In the case of 1 ", the D output of the decoder (DEC) 9 becomes" 1 ", the comparison result of all bits is always" on ", and the coincidence signal is output.

【0030】従って、上記の実施例においては、該アド
レス保持レジスタ 3の、例えば、2ビットからなる比較
指示ビットを所定の値に設定するだけで、ハードウェア
を変更することなく、上記IOバス(1),(2) に対して、
上記4種類のアドレス空間{デコーダ(DEC) 出力=A〜D
に対応}によるアクセスを行うことができる。
Therefore, in the above-mentioned embodiment, by setting the comparison instruction bit consisting of, for example, 2 bits of the address holding register 3 to a predetermined value, without changing the hardware, the IO bus ( For 1) and (2),
4 types of address space above {Decoder (DEC) output = A to D
Can be accessed.

【0031】該比較指示ビットの数を、3ビットとする
と、上記IOバス(1),(2) に対して、合計8種類のアド
レス空間を割り当てることができ、よりきめ細かいアド
レス空間の割り当てを行うことができる。
When the number of comparison instruction bits is 3 bits, a total of 8 types of address spaces can be allocated to the IO buses (1) and (2), and a finer address space is allocated. be able to.

【0032】図3は、本発明の他の実施例であって、I
Oバスが複数個存在する場合、プロセッサアドレスを、
該複数個のIOバスの何れかに振り分ける (変換する)
場合の、アドレス変換制御回路の例を示している。
FIG. 3 shows another embodiment of the present invention, in which I
When there are multiple O-buses, the processor address is
Distribute (convert) to any of the plurality of IO buses
An example of an address conversion control circuit in the case is shown.

【0033】基本的には、図7に示した従来例と同じで
あり、それぞれのアドレス保持レジスタ 30,31, 〜に、
比較指示ビット 30a,31a, 〜を備えているところが異な
る。従って、第1のアドレス比較回路(COMP1) 40での不
一致アドレス{不一致出力}に対して、第2のアドレ
ス比較回路(COMP2) 41と、アドレス保持レジスタ 31 と
で、同じ比較処理を行うことを繰り返して、複数個のI
Oバス(1),(2),〜に対するアドレス変換を行う。
Basically, it is the same as the conventional example shown in FIG. 7, and each of the address holding registers 30, 31, ...
The difference is that the comparison instruction bits 30a, 31a, ... are provided. Therefore, the same comparison processing is performed by the second address comparison circuit (COMP2) 41 and the address holding register 31 with respect to the mismatch address {mismatch output} in the first address comparison circuit (COMP1) 40. Repeat for multiple I
Address conversion is performed for the O buses (1), (2) ,.

【0034】該不一致出力は、図2の点線で示したよ
うに、IOバスアドレスドライバイネーブル信号を生成
するゲート回路に入力することで、該第2のアドレス比
較回路(COMP2) を付勢することができる。
As shown by the dotted line in FIG. 2, the non-coincidence output is input to a gate circuit for generating an IO bus address driver enable signal to activate the second address comparison circuit (COMP2). You can

【0035】このとき、それぞれのアドレス比較回路 4
0,41, 〜において、対応する比較指示ビット 30a,31a,
〜が指示するビットのみの選択的な比較を行うことで、
複数個のIOバス(1),(2),〜に対して、種々のシステム
構成に対して、柔軟なアドレス変換を行うことができ
る。
At this time, each address comparison circuit 4
0,41, ..., Corresponding comparison instruction bits 30a, 31a,
By performing a selective comparison of only the bits pointed to by,
Flexible address translation can be performed for various system configurations for a plurality of IO buses (1), (2) ,.

【0036】尚、上記の実施例で説明した比較指示ビッ
ト 3a,30a,31a,〜は、アドレス比較レジスタ 3,30,31に
設けた例で説明したが、該アドレス比較レジスタ 3,30,
31とは独立した構成としてもよいことはいう迄もないこ
とである。
The comparison instruction bits 3a, 30a, 31a, ... Described in the above embodiment have been described in the example provided in the address comparison registers 3,30,31.
Needless to say, the configuration may be independent of 31.

【0037】このように、本発明は、主プロセッサがア
クセスする、例えば、2つのアドレス空間{IOバス
(1),(2) }の1つのアドレス空間{IOバス(1) }を保
持するアドレス保持レジスタと、該アドレス保持レジス
タに設定されているアドレスと主プロセッサからのアド
レスとを比較して、一致した場合に、該1つのアドレス
空間{IOバス(1) }へのアクセスを実行し、不一致の
ときには、他のアドレス空間{IOバス(2) }へのアク
セスを実行する回路を備えた装置において、該1つのア
ドレス空間を保持するアドレス保持レジスタに、比較指
示ビットを設けて、該比較指示ビットが指示するビット
のみ選択的に比較して、該主プロセッサからのアドレス
を変換するようにしたところに特徴がある。
As described above, according to the present invention, the main processor accesses, for example, two address spaces {IO bus.
(1), (2)} address holding register holding one address space {IO bus (1)} and the address set in the address holding register and the address from the main processor are compared, A device provided with a circuit for executing access to the one address space {IO bus (1)} in the case of a match, and accessing another address space {IO bus (2)} in the case of a mismatch In the above, in the address holding register which holds the one address space, a comparison instruction bit is provided, and only the bit indicated by the comparison instruction bit is selectively compared to convert the address from the main processor. However, there is a feature.

【0038】[0038]

【発明の効果】以上、詳細に説明したように、本発明の
アドレス変換制御回路は、主プロセッサがアクセスす
る、例えば、2つのアドレス空間{IOバス(1),(2) }
の1つのアドレス空間{IOバス(1) }を保持するアド
レス保持レジスタと、該アドレス保持レジスタに設定さ
れているアドレスと主プロセッサからのアドレスとを比
較して、一致した場合に、該1つのアドレス空間{IO
バス(1) }へのアクセスを実行し、不一致のときには、
他のアドレス空間{IOバス(2) }へのアクセスを実行
する回路を備えた装置において、該1つのアドレス空間
を保持するアドレス保持レジスタに、比較指示ビットを
設けるか, 或いは、該アドレス保持レジスタとは独立し
た比較指示用のレジスタを設けて、該比較指示ビットが
指示するビットのみ選択的に比較して、該主プロセッサ
からのアドレスを変換するようにしたものであるので、
該比較指示ビットを変更するだけで、予め、定められて
いるアドレス比較を行うことができ、比較的、少ないハ
ードウェア量で、種々のシステム構成に対応したアドレ
ス空間に対して、プロセッサアドレスの変換を行うこと
ができる効果がある。
As described above in detail, the address translation control circuit of the present invention can access, for example, two address spaces {IO buses (1), (2)} by the main processor.
Address holding register that holds one address space {IO bus (1)} of the above and the address set in the address holding register and the address from the main processor are compared. Address space {IO
Bus (1)} is accessed, and if they do not match,
In a device provided with a circuit for executing access to another address space {IO bus (2)}, a comparison instruction bit is provided in an address holding register holding the one address space, or the address holding register Since a register for comparison instruction independent of and is provided, and only the bit indicated by the comparison instruction bit is selectively compared, the address from the main processor is converted.
A predetermined address comparison can be performed only by changing the comparison instruction bit, and a processor address can be converted into an address space corresponding to various system configurations with a relatively small amount of hardware. There is an effect that can be done.

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

【図1】本発明の一実施例を示した図(その1)FIG. 1 is a diagram showing an embodiment of the present invention (No. 1).

【図2】本発明の一実施例を示した図(その2)FIG. 2 is a diagram showing an embodiment of the present invention (part 2).

【図3】本発明の他の実施例を示した図FIG. 3 is a diagram showing another embodiment of the present invention.

【図4】データ処理装置の構成例を示した図FIG. 4 is a diagram showing a configuration example of a data processing device.

【図5】従来のアドレス変換制御回路を示した図(その
1)
FIG. 5 is a diagram showing a conventional address translation control circuit (No. 1).

【図6】従来のアドレス変換制御回路を示した図(その
2)
FIG. 6 is a diagram showing a conventional address translation control circuit (part 2).

【図7】従来のアドレス変換制御回路を示した図(その
3)
FIG. 7 is a diagram showing a conventional address translation control circuit (part 3).

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

1 主プロセッサ 2 アドレス判
定部 3,30,31,〜 アドレス保持レジスタ 3a,30a,31a, 〜 比較指示ビット 4,40,41 アドレス比較回路(COMP,COMP1,COMP2,〜) 5 デコーダ(DEC) プロセッサアドレスバスの信号 空間アクセス指示A,Bの信号 コンペア結果出力指示の信号 一致信号,又は、一致出力 不一致信号,又は、不一致出力 A,B,C,D デコーダ(DEC) の出力信号
1 Main processor 2 Address judgment unit 3,30,31, ~ Address holding register 3a, 30a, 31a, ~ Comparison instruction bit 4,40,41 Address comparison circuit (COMP, COMP1, COMP2, ~) 5 Decoder (DEC) processor Address bus signal Space access instruction A, B signal Compare result output instruction signal Match signal, Match output mismatch signal, or Mismatch output A, B, C, D Decoder (DEC) output signal

───────────────────────────────────────────────────── フロントページの続き (72)発明者 桜井 康智 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 小田原 孝一 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 野中 巧 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 星 健二 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 金谷 英治 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Yasutoshi Sakurai 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited (72) Inventor, Koichi Odawara, 1015, Kamikodanaka, Nakahara-ku, Kawasaki, Kanagawa Prefecture, Fujitsu Limited ( 72) Inventor Takumi Nonaka 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, within Fujitsu Limited (72) Inventor Kenji Hoshi, 1015 Kamedotachu, Nakahara-ku, Kawasaki City, Kanagawa Prefecture Within Fujitsu Limited (72) Inventor, Eiji Kanaya Kanagawa Prefecture 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Fujitsu Limited

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】主プロセッサ(1) よりアクセスする複数個
のアドレス空間(A1,A2, 〜) に対して、特定のアドレス
空間(A1,A2, 〜) のアドレスを保持する複数個のアドレ
ス保持レジスタ(30,31, 〜) と、該主プロセッサ(1) か
らのアドレスを、該複数個の第1,第2,〜のアドレス
保持レジスタ(30,31, 〜) に対応する複数個の第1,第
2,〜のアドレス比較回路(COMP1,2, 〜)(40,41,〜) で
比較して、 該第1のアドレス保持レジスタ(30)と、第1のアドレス
比較回路(40)での比較において、一致出力 () が得ら
れた場合には、上記特定のアドレス空間(A1)へのアクセ
スを実行し、不一致の出力 () が得られた場合には、
第2のアドレス保持レジスタ(31)と, 第2のアドレス比
較回路(41)で比較することを繰り返して、主プロセッサ
アドレスを、複数個のアドレス空間(A1,A2, 〜) に変換
するアドレス変換制御回路(2,30,40,31,41, 〜) を備え
た装置において、 該複数個のアドレス保持レジスタ(30,31, 〜) のそれぞ
れに、比較ビット指示手段(30a,31a, 〜) を備えて、該
比較ビット指示手段(30a,31a, 〜) が指示するビットを
選択的に比較して、上記複数個のアドレス比較回路(40,
41, 〜) の比較演算を制御することを特徴とするアドレ
ス変換制御回路。
1. A plurality of address holdings for holding an address of a specific address space (A1, A2, ...) for a plurality of address spaces (A1, A2, ...) accessed by a main processor (1). Registers (30, 31, ...) and addresses from the main processor (1) are transferred to a plurality of first, second, ... address holding registers (30, 31, ...) corresponding to the plurality of first The first and second address comparison circuits (COMP1,2, ...) (40,41, ...) are compared to obtain the first address holding register (30) and the first address comparison circuit (40). When a match output () is obtained in the comparison with, the access to the specific address space (A1) is performed, and when a mismatch output () is obtained,
Address conversion for converting the main processor address into a plurality of address spaces (A1, A2, ...) by repeating comparison between the second address holding register (31) and the second address comparison circuit (41) In a device provided with a control circuit (2, 30, 40, 31, 41, ...), in each of the plurality of address holding registers (30, 31, ...), comparison bit instruction means (30a, 31a, ...) Is provided, and the bits designated by the comparison bit designating means (30a, 31a, ...) are selectively compared, and the plurality of address comparison circuits (40,
41, ...) The address conversion control circuit characterized by controlling the comparison operation.
【請求項2】上記アドレス変換制御回路であって、上記
比較ビット指示手段(30a,31a, 〜)を、上記アドレス保
持レジスタ(30,31, 〜) とは独立したレジスタとして構
成したことを特徴とする請求項1に記載のアドレス変換
制御回路。
2. The address conversion control circuit, wherein the comparison bit designating means (30a, 31a, ...) Is constituted as a register independent of the address holding registers (30, 31 ,. The address translation control circuit according to claim 1.
JP2760992A 1992-02-14 1992-02-14 Address conversion control circuit Pending JPH05225042A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2760992A JPH05225042A (en) 1992-02-14 1992-02-14 Address conversion control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2760992A JPH05225042A (en) 1992-02-14 1992-02-14 Address conversion control circuit

Publications (1)

Publication Number Publication Date
JPH05225042A true JPH05225042A (en) 1993-09-03

Family

ID=12225673

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2760992A Pending JPH05225042A (en) 1992-02-14 1992-02-14 Address conversion control circuit

Country Status (1)

Country Link
JP (1) JPH05225042A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59105322A (en) * 1982-12-08 1984-06-18 Hitachi Ltd Forming method of minute pattern
JPS61273656A (en) * 1985-05-30 1986-12-03 Fujitsu Ltd Data transmission and controlling system
JPS6225510A (en) * 1985-07-22 1987-02-03 アメリカン テレフオン アンド テレグラフ カムパニ− Current switching circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59105322A (en) * 1982-12-08 1984-06-18 Hitachi Ltd Forming method of minute pattern
JPS61273656A (en) * 1985-05-30 1986-12-03 Fujitsu Ltd Data transmission and controlling system
JPS6225510A (en) * 1985-07-22 1987-02-03 アメリカン テレフオン アンド テレグラフ カムパニ− Current switching circuit

Similar Documents

Publication Publication Date Title
US4318175A (en) Addressing means for random access memory system
JP3287283B2 (en) PCI bus interrupt steering circuit
JPH05225042A (en) Address conversion control circuit
US5530818A (en) Semiconductor integrated circuit device for optionally selecting the correspondence between a chip-select signal and address space
US6425065B2 (en) Tag RAM with selection module for a variable width address field
KR950009451A (en) Data processing system
JP2891163B2 (en) Address translation device
JPH09305485A (en) Image memory control system
JPS6269321A (en) Process switching system
JPS63244255A (en) Multiprocessor system
JPH10334081A (en) List vector processor
JPH05324464A (en) Memory circuit
JPS59144965A (en) Control device of address
JPS583173A (en) Multiplex operation memory system
JPS60142448A (en) Method for controlling address space in electronic computer system
JPH05151076A (en) Memory address extension control system
JPH09305476A (en) Data processor
JPH0395656A (en) Bit width variable information processor
JPS63142446A (en) Address generating system
JPS61148548A (en) Memory access system
JPH04268659A (en) Option board i/o address setting system
JPH0432949A (en) I/o port address extension system
JPH05173875A (en) Automatic setting system for extended rom area
JPS5965361A (en) Microcomputer circuit device
JPH04225453A (en) Data processor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19970715