JPH08202646A - Input and output controller - Google Patents

Input and output controller

Info

Publication number
JPH08202646A
JPH08202646A JP937495A JP937495A JPH08202646A JP H08202646 A JPH08202646 A JP H08202646A JP 937495 A JP937495 A JP 937495A JP 937495 A JP937495 A JP 937495A JP H08202646 A JPH08202646 A JP H08202646A
Authority
JP
Japan
Prior art keywords
endian
data
address
bus
controller
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
JP937495A
Other languages
Japanese (ja)
Inventor
Satoshi Nishikawa
聡 西川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP937495A priority Critical patent/JPH08202646A/en
Publication of JPH08202646A publication Critical patent/JPH08202646A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4009Coupling between buses with data restructuring
    • G06F13/4013Coupling between buses with data restructuring with data re-ordering, e.g. Endian conversion

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)

Abstract

PURPOSE: To attain the software designing with giving no consideration to the Endian system of every input/output(I/O) device by easily connecting the I/O devices of different Endian systems to the same system. CONSTITUTION: A comparator 12 of an I/O controller 1 retrieves an I/O address to be hit based on the I/O address latched by an address latch circuit 10 and also by referring to the address field of an Endian conversion table 13. The table 13 sends the Endian attribute corresponding to the retrieved I/O address to an Endian converter 14. The converter 14 applies the Endian conversion to the data latched by a data latch circuit 11 in response to the Endian attribute sent from the table 13. The data subjected to the data swap or data through are inputted to the I/O devices 2 and 3 via an I/O bus 110.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はI/Oコントローラに関
し、特にメインプロセッサとI/O(入出力)装置との
間のデータ変換を行うI/Oコントローラのエンディア
ン変換方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an I / O controller, and more particularly to an endian conversion system of an I / O controller for converting data between a main processor and an I / O (input / output) device.

【0002】[0002]

【従来の技術】従来、I/Oコントローラにおいては、
メインプロセッサが接続された上位バスと、複数のI/
O(入出力)装置が接続されたI/Oバスとを接続し、
メインプロセッサと複数のI/O装置との間のデータ変
換を行っている。
2. Description of the Related Art Conventionally, in an I / O controller,
A high-order bus to which the main processor is connected and a plurality of I / Os
Connects to the I / O bus to which the O (input / output) device is connected,
Data conversion is performed between the main processor and a plurality of I / O devices.

【0003】この場合、I/Oバスに接続された複数の
I/O装置のエンディアン方式が異なっていれば、つま
りワードサイズのデータの上位バイト及び下位バイトの
並べ方を示すエンディアンが異なるI/O装置が同一シ
ステム上に混在していれば、そのエンディアンの違いを
吸収するためにI/O装置各々へのアドレス信号線を反
転させて接続したり、特定のI/O装置へのデータのみ
をスワップさせたりしている。
In this case, if a plurality of I / O devices connected to the I / O bus have different endian systems, that is, I / Os having different endian indicating the arrangement of the upper byte and the lower byte of word size data. If devices are mixed in the same system, in order to absorb the difference in endian, the address signal lines to each I / O device are inverted and connected, or only the data to a specific I / O device is connected. I'm swapping.

【0004】ここで、エンディアン方式としてはワード
サイズのデータをメモリに書込む際に上位バイトをアド
レスの若い方に書込み、下位バイトをアドレスの高い方
に書込むビッグエンディアン方式と、ワードサイズのデ
ータをメモリに書込む際に下位バイトをアドレスの若い
方に書込み、上位バイトをアドレスの高い方に書込むリ
トルエンディアン方式とがある。このエンディアン方式
については、特開平3−160550号公報に詳述され
ている。
Here, as the endian method, when writing word-sized data to a memory, the upper byte is written to the younger one of the addresses, and the lower byte is written to the higher one of the addresses, and the word-sized data. When writing to the memory, there is a little endian method in which the lower byte is written to the younger address and the upper byte is written to the higher address. This endian method is described in detail in Japanese Patent Laid-Open No. 3-160550.

【0005】上記のエンディアン方式が異なるシステム
とは、例えばビッグエンディアン方式のI/O装置とリ
トルエンディアン方式のI/O装置とが同一システム上
に混在しているシステムを指している。
The above-mentioned system having a different endian system means, for example, a system in which a big endian system I / O device and a little endian system I / O device are mixed on the same system.

【0006】また、ソフトウェア設計を行う場合には、
I/O装置が本来持つ固有なアドレスではなく、I/O
装置毎にアクセスするアドレスをエンディアン変換して
からアクセスを行わなければならないという問題ととも
に、さらにアクセス長の制限等の問題が生じている。
[0006] When designing software,
I / O, not the unique address that the I / O device originally has
Along with the problem that the address to be accessed for each device has to be endian-converted before the access, there are problems such as the limitation of the access length.

【0007】[0007]

【発明が解決しようとする課題】上述したように、ビッ
グエンディアン方式のI/O装置とリトルエンディアン
方式のI/O装置とが同一システム上に混在しているシ
ステムを設計する場合にはエンディアンの違いから同一
バスに接続されるI/O装置であるにもかかわらず、I
/O装置毎にアドレス信号線の接続やデータバスの制御
等を行わなければならない。
As described above, when designing a system in which big endian I / O devices and little endian I / O devices are mixed on the same system, I / O devices connected to the same bus due to differences
It is necessary to connect the address signal lines and control the data bus for each I / O device.

【0008】また、上記のようなシステムで動作するソ
フトウェアではI/O装置へのアクセスのアドレスをエ
ンディアン変換したアドレスでアクセスする等の制御が
必要となる。
Further, the software operating in the system as described above requires control such as access using an endian-converted address for accessing the I / O device.

【0009】そこで、本発明の目的は上記の問題点を解
消し、エンディアン方式の異なるI/O装置を同一シス
テム上に容易に接続することができ、I/O装置毎のエ
ンディアン方式を考慮することなくソフトウェア設計を
行うことができるI/Oコントローラを提供することに
ある。
Therefore, an object of the present invention is to solve the above problems and to allow I / O devices having different endian systems to be easily connected to the same system, and to consider the endian system for each I / O device. An object of the present invention is to provide an I / O controller that can perform software design without any need.

【0010】[0010]

【課題を解決するための手段】本発明によるI/Oコン
トローラは、中央処理装置が接続された上位バスと、ビ
ックエンディアン方式の入出力装置及びリトルエンディ
アン方式の入出力装置が接続された入出力バスとを接続
するI/Oコントローラであって、前記入出力装置各々
を特定するアドレス情報に対応付けて前記入出力装置各
々のエンディアン方式に応じて設定されかつデータのビ
ット単位の入替えを行うか否かを示すエンディアン属性
を格納する格納手段と、前記上位バス上のアドレス情報
を基に前記格納手段の前記エンディアン属性を参照する
参照手段と、前記参照手段の参照結果を基に前記上位バ
ス上のデータのビット単位の入替えを行う入替え手段と
を備えている。
The I / O controller according to the present invention is an input / output device in which a high-order bus to which a central processing unit is connected, a big endian type input / output device and a little endian type input / output device are connected. An I / O controller for connecting to a bus, which is set according to the endian system of each of the input / output devices in association with the address information for specifying each of the input / output devices, and is used for exchanging data in bit units Storage means for storing an endian attribute indicating whether or not, reference means for referring to the endian attribute of the storage means on the basis of address information on the upper bus; and on the upper bus for the reference result of the reference means. And a replacement means for replacing the data in bit units.

【0011】本発明による他のI/Oコントローラは、
上記の構成のほかに、前記上位バス上のアドレス情報を
保持するアドレス情報保持手段と、前記上位バス上のデ
ータを保持するデータ保持手段とを具備している。
Another I / O controller according to the present invention is
In addition to the above configuration, it is provided with address information holding means for holding address information on the upper bus and data holding means for holding data on the upper bus.

【0012】[0012]

【作用】ビッグエンディアン方式のI/O装置とリトル
エンディアン方式のI/O装置とが混在するシステムに
おいて、プロセッサとI/O装置との間でデータ授受を
行う場合、プロセッサからI/O装置へのI/Oアドレ
ス及びデータはI/Oコントローラでラッチされる。
In a system in which a big endian type I / O device and a little endian type I / O device coexist, when data is transferred between the processor and the I / O device, the processor transfers the data to the I / O device. The I / O address and data of the above are latched by the I / O controller.

【0013】このラッチされたI/Oアドレスは比較器
によってI/Oコントローラ内のエンディアン変換テー
ブルのアドレスフィールドと比較され、一致するI/O
アドレスの検索が行われる。この場合、エンディアン変
換テーブルの内容はシステムに実装されているI/O装
置に適合するようシステムセットアップ時に設定されて
いる。
The latched I / O address is compared with the address field of the endian conversion table in the I / O controller by the comparator, and the matching I / O address is obtained.
The address is searched. In this case, the contents of the endian conversion table are set at system setup so as to be compatible with the I / O device installed in the system.

【0014】エンディアン変換器は比較器でヒットした
エンディアン変換テーブルのエントリのエンディアン属
性のビットがセットされていなければラッチされたデー
タのスワップを行い、エンディアン属性のビットがセッ
トされていればラッチされたデータをスルーしてI/O
バスに出力する。
The endian converter swaps the latched data if the endian attribute bit of the entry of the endian conversion table hit by the comparator is not set, and if the endian attribute bit is set, it is latched. I / O through data
Output to the bus.

【0015】これによって、エンディアンを意識するこ
となくI/O装置をアクセスすることが可能となる。よ
って、エンディアン方式の異なるI/O装置を同一シス
テム上に容易に接続することが可能となり、I/O装置
毎のエンディアン方式を考慮することなくソフトウェア
設計が可能となる。
With this, it becomes possible to access the I / O device without being aware of the endian. Therefore, it becomes possible to easily connect I / O devices of different endian systems on the same system, and software design is possible without considering the endian system of each I / O device.

【0016】[0016]

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

【0017】図1は本発明の一実施例の構成を示すブロ
ック図であり、図2は本発明の一実施例のシステム構成
を示すブロック図である。これらの図において、I/O
コントローラ1はメインプロセッサ4が接続された上位
バス100と、リトルエンディアン方式のI/O装置2
及びビッグエンディアン方式のI/O装置3が夫々接続
されたI/Oバス110とを接続している。
FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention, and FIG. 2 is a block diagram showing a system configuration of an embodiment of the present invention. In these figures, I / O
The controller 1 includes a host bus 100 to which the main processor 4 is connected and a little endian I / O device 2
And an I / O bus 110 to which the big-endian I / O device 3 is connected.

【0018】また、I/Oコントローラ1はアドレスラ
ッチ回路10と、データラッチ回路11と、比較器12
と、エンディアン変換テーブル13と、エンディアン変
換器14とから構成されている。
The I / O controller 1 includes an address latch circuit 10, a data latch circuit 11, and a comparator 12.
And an endian conversion table 13 and an endian converter 14.

【0019】アドレスラッチ回路10は上位バス100
に接続されたメインプロセッサ4からのI/Oアドレス
をラッチし、データラッチ回路11はメインプロセッサ
4からのデータをラッチする。
The address latch circuit 10 is an upper bus 100.
The data latch circuit 11 latches the I / O address from the main processor 4 connected to the main processor 4 and the data latch circuit 11 latches the data from the main processor 4.

【0020】比較器12はアドレスラッチ回路10にラ
ッチされたI/Oアドレスを基にエンディアン変換テー
ブル13のアドレスフィールドを参照し、ヒットするI
/Oアドレスを検索する。
The comparator 12 refers to the address field of the endian conversion table 13 on the basis of the I / O address latched by the address latch circuit 10 to find a hit I.
Search for / O address.

【0021】つまり、比較器12はアドレスラッチ回路
10にラッチされたI/Oアドレスとエンディアン変換
テーブル13のアドレスフィールドとを順次比較してい
く。この比較で一致するI/Oアドレスがあれば、その
I/Oアドレスに対応するエンディアン変換テーブル1
3のエントリのエンディアン属性がエンディアン変換器
14に送られる。
That is, the comparator 12 sequentially compares the I / O address latched by the address latch circuit 10 and the address field of the endian conversion table 13. If there is a matching I / O address in this comparison, the endian conversion table 1 corresponding to that I / O address
The endian attribute of the entry of No. 3 is sent to the endian converter 14.

【0022】エンディアン変換テーブル13はI/Oバ
ス110に接続されたI/O装置2,3各々のI/Oア
ドレスと、I/O装置2,3各々のエンディアン方式に
したがって設定されたエンディアン属性、すなわちエン
ディアン変換を行うか否かを示す情報をI/Oアドレス
に対応付けて格納する。尚、エンディアン変換テーブル
13の内容はシステムに実装されているI/O装置2,
3に適合するようシステムセットアップ時に設定されて
いる。
The endian conversion table 13 is an endian attribute set according to the I / O address of each of the I / O devices 2 and 3 connected to the I / O bus 110 and the endian system of each of the I / O devices 2 and 3. That is, information indicating whether or not to perform endian conversion is stored in association with the I / O address. The contents of the endian conversion table 13 are the contents of the I / O device 2 installed in the system.
It was set during system setup to comply with 3.

【0023】エンディアン変換器14は比較器12の比
較結果に応じてエンディアン変換テーブル13から送ら
れてくるエンディアン属性に応じて、データラッチ回路
11にラッチされたデータ対してエンディアン変換、つ
まりデータスワップあるいはデータスルーの制御を行
う。
The endian converter 14 performs endian conversion on the data latched by the data latch circuit 11 according to the endian attribute sent from the endian conversion table 13 according to the comparison result of the comparator 12, that is, data swap or Controls data through.

【0024】I/O装置2,3にはI/Oコントローラ
1のエンディアン変換器14でエンディアン変換された
データ、つまりデータスワップあるいはデータスルーさ
れたデータがI/Oバス110を介して出力される。
Data that has been endian-converted by the endian converter 14 of the I / O controller 1, that is, data swapped or data-through data is output to the I / O devices 2 and 3 via the I / O bus 110. .

【0025】図3は図1のエンディアン変換テーブル1
3の構成を示す図である。図において、エンディアン変
換テーブル13はI/Oアドレスのアドレスフィールド
13aと、エンディアン属性のフィールド13bとを1
組とするエントリをnエントリ有している。エンディア
ン変換テーブル13の内容はシステムに実装されている
I/O装置2,3に適合するようI/Oアドレス及びエ
ンディアン属性がシステムセットアップ動作時に設定さ
れている。
FIG. 3 shows the endian conversion table 1 of FIG.
It is a figure which shows the structure of 3. In the figure, the endian conversion table 13 has an I / O address field 13a and an endian attribute field 13b.
It has n entries as a set. The contents of the endian conversion table 13 have I / O addresses and endian attributes set at the time of system setup operation so as to be compatible with the I / O devices 2 and 3 installed in the system.

【0026】図4は図1のエンディアン変換器14によ
るエンディアン変換を示す図である。図において、aは
メインプロセッサ4から上位バス100に出力されたデ
ータであり、bはエンディアン変換器14でエンディア
ン変換されてI/Oバス110に出力されたデータであ
る。
FIG. 4 is a diagram showing the endian conversion by the endian converter 14 of FIG. In the figure, a is data output from the main processor 4 to the upper bus 100, and b is data endian-converted by the endian converter 14 and output to the I / O bus 110.

【0027】この場合、「ABCD」の順に並んだデー
タaがエンディアン変換器14でエンディアン変換さ
れ、「DCBA」の順に並べ替えられてデータbとなる
様子を示している。
In this case, the data a arranged in the order of "ABCD" is endian-converted by the endian converter 14 and rearranged in the order of "DCBA" to be the data b.

【0028】エンディアン変換器14は比較器12とエ
ンディアン変換テーブル13とによってデータスワップ
制御が指示された場合、上記の如く、上位バス100か
らのデータaの位置をデータbの位置に入れ替えてI/
Oバス110へと伝達する。
When the data swap control is instructed by the comparator 12 and the endian conversion table 13, the endian converter 14 replaces the position of the data a from the higher-order bus 100 with the position of the data b, as described above.
It is transmitted to the O-bus 110.

【0029】本発明の一実施例では上位バス100にメ
インプロセッサ4からI/Oアドレス及びデータが出力
されると、それらI/Oアドレス及びデータはI/Oコ
ントローラ1のアドレスラッチ回路10及びデータラッ
チ回路11に夫々ラッチされる。
In one embodiment of the present invention, when the main processor 4 outputs I / O addresses and data to the upper bus 100, the I / O addresses and data are output to the address latch circuit 10 and the data of the I / O controller 1. It is latched by the latch circuit 11, respectively.

【0030】比較器12はアドレスラッチ回路10にラ
ッチされたI/Oアドレスとエンディアン変換テーブル
13のアドレスフィールド13aとを比較し、ラッチさ
れたI/Oアドレスにヒットするアドレスフィールド1
3aのI/Oアドレスを検索する。このとき、ラッチさ
れたI/Oアドレスにヒットするアドレスフィールド1
3aに対応するフィールド13bのエンディアン属性が
制御信号としてエンディアン変化器14に伝達される。
The comparator 12 compares the I / O address latched by the address latch circuit 10 with the address field 13a of the endian conversion table 13, and the address field 1 that hits the latched I / O address.
Search the I / O address of 3a. At this time, the address field 1 that hits the latched I / O address
The endian attribute of the field 13b corresponding to 3a is transmitted to the endian changer 14 as a control signal.

【0031】例えば、ラッチされたI/Oアドレスがビ
ッグエンディアン方式のI/O装置3のI/Oアドレス
で、そのI/Oアドレスに対応するフィールド13bの
エンディアン属性がセットされていれば、エンディアン
変化器14ではデータスルーの制御が行われ、データラ
ッチ回路11にラッチされたデータがそのままI/Oバ
ス110に出力され、I/O装置3に送出される。
For example, if the latched I / O address is the I / O address of the big endian I / O device 3 and the endian attribute of the field 13b corresponding to the I / O address is set, the endian is set. In the changer 14, data through control is performed, and the data latched by the data latch circuit 11 is directly output to the I / O bus 110 and sent to the I / O device 3.

【0032】一方、ラッチされたI/Oアドレスがリト
ルエンディアン方式のI/O装置2のI/Oアドレス
で、そのI/Oアドレスに対応するフィールド13bの
エンディアン属性がセットされていなければ、エンディ
アン変化器14ではデータスワップの制御が行われ、デ
ータラッチ回路11にラッチされたデータがエンディア
ン変換されてからI/Oバス110に出力され、I/O
装置2に送出される。
On the other hand, if the latched I / O address is the I / O address of the little endian I / O device 2 and the endian attribute of the field 13b corresponding to the I / O address is not set, the endian is set. In the changer 14, data swap is controlled, and the data latched by the data latch circuit 11 is endian-converted before being output to the I / O bus 110, and I / O
It is sent to the device 2.

【0033】このように、I/O装置2,3各々を特定
するI/Oアドレスに対応付けてI/O装置2,3各々
のエンディアン方式に応じて設定されたエンディアン属
性をエンディアン変換テーブル13に格納しておき、上
位バス100上のI/OアドレスにヒットするI/Oエ
ンディアン変換テーブル13のエンディアン属性に応じ
て上位バス100上のデータをエンディアン変換器14
でエンディアン変換することによって、エンディアン方
式の異なるI/O装置2,3を同一システム上に容易に
接続することができ、I/O装置2,3毎のエンディア
ン方式を考慮することなくソフトウェア設計を行うこと
ができる。
In this way, the endian attribute set in accordance with the endian system of each I / O device 2, 3 is associated with the I / O address for specifying each I / O device 2, 3 and the endian conversion table 13 is set. In the endian converter 14 according to the endian attribute of the I / O endian conversion table 13 that hits the I / O address on the upper bus 100.
I / O devices 2 and 3 with different endian systems can be easily connected to the same system by performing endian conversion with, and software design can be performed without considering the endian system of each I / O device 2 and 3. It can be carried out.

【0034】[0034]

【発明の効果】以上説明したように本発明によれば、入
出力装置各々を特定するアドレス情報に対応付けて入出
力装置各々のエンディアン方式に応じて設定されかつデ
ータのビット単位の入替えを行うか否かを示すエンディ
アン属性を格納しておき、上位バス上のアドレス情報を
基に参照したエンディアン属性に応じて上位バス上のデ
ータのビット単位の入替えを行うことによって、エンデ
ィアン方式の異なるI/O装置を同一システム上に容易
に接続することができ、I/O装置毎のエンディアン方
式を考慮することなくソフトウェア設計を行うことがで
きるという効果がある。
As described above, according to the present invention, the bit units of data which are set in accordance with the endian system of each input / output device and associated with the address information for specifying each input / output device are exchanged. The endian attribute indicating whether or not is stored, and the data on the upper bus is exchanged in bit units according to the endian attribute referred to on the basis of the address information on the upper bus. The O device can be easily connected to the same system, and the software can be designed without considering the endian method of each I / O device.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】本発明の一実施例のシステム構成を示すブロッ
ク図である。
FIG. 2 is a block diagram showing a system configuration of an embodiment of the present invention.

【図3】図1のエンディアン変換テーブルの構成を示す
図である。
FIG. 3 is a diagram showing a configuration of an endian conversion table of FIG.

【図4】図1のエンディアン変換器によるエンディアン
変換を示す図である。
FIG. 4 is a diagram showing endian conversion by the endian converter of FIG. 1.

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

1 I/Oコントローラ 2 リトルエンディアン方式のI/O装置 3 ビッグエンディアン方式のI/O装置 4 メインプロセッサ 10 アドレスラッチ回路 11 データラッチ回路 12 比較器 13 エンディアン変換テーブル 14 エンディアン変換器 1 I / O Controller 2 Little Endian I / O Device 3 Big Endian I / O Device 4 Main Processor 10 Address Latch Circuit 11 Data Latch Circuit 12 Comparator 13 Endian Conversion Table 14 Endian Converter

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 中央処理装置が接続された上位バスと、
ビックエンディアン方式の入出力装置及びリトルエンデ
ィアン方式の入出力装置が接続された入出力バスとを接
続するI/Oコントローラであって、前記入出力装置各
々を特定するアドレス情報に対応付けて前記入出力装置
各々のエンディアン方式に応じて設定されかつデータの
ビット単位の入替えを行うか否かを示すエンディアン属
性を格納する格納手段と、前記上位バス上のアドレス情
報を基に前記格納手段の前記エンディアン属性を参照す
る参照手段と、前記参照手段の参照結果を基に前記上位
バス上のデータのビット単位の入替えを行う入替え手段
とを有することを特徴とするI/Oコントローラ。
1. A host bus to which a central processing unit is connected,
An I / O controller for connecting an input / output bus to which a big endian type input / output device and a little endian type input / output device are connected, the input / output controller being associated with address information specifying each of the input / output devices. A storage unit that stores an endian attribute that is set according to the endian system of each output device and that indicates whether or not to replace data in bit units; and the endian of the storage unit based on address information on the upper bus. An I / O controller comprising: a referencing unit that refers to an attribute and a transposing unit that transposes data on the upper bus in bit units based on a reference result of the referencing unit.
【請求項2】 前記上位バス上のアドレス情報を保持す
るアドレス情報保持手段と、前記上位バス上のデータを
保持するデータ保持手段とを含むことを特徴とする請求
項1記載のI/Oコントローラ。
2. The I / O controller according to claim 1, further comprising address information holding means for holding address information on the upper bus and data holding means for holding data on the upper bus. .
【請求項3】 前記入替え手段は、前記エンディアン属
性が前記ビット単位の入替えを指示する時に前記上位バ
ス上のデータのビット単位の入替えを行うよう構成され
たことを特徴とする請求項1または請求項2記載のI/
Oコントローラ。
3. The swapping means is configured to swap the data on the higher-order bus in bit units when the endian attribute instructs the swap in bit units. I / according to claim 2
O controller.
JP937495A 1995-01-25 1995-01-25 Input and output controller Pending JPH08202646A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP937495A JPH08202646A (en) 1995-01-25 1995-01-25 Input and output controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP937495A JPH08202646A (en) 1995-01-25 1995-01-25 Input and output controller

Publications (1)

Publication Number Publication Date
JPH08202646A true JPH08202646A (en) 1996-08-09

Family

ID=11718692

Family Applications (1)

Application Number Title Priority Date Filing Date
JP937495A Pending JPH08202646A (en) 1995-01-25 1995-01-25 Input and output controller

Country Status (1)

Country Link
JP (1) JPH08202646A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100445637B1 (en) * 2002-07-03 2004-08-25 삼성전자주식회사 Computer system providing endian information and method of data transmition thereof
JP2011129132A (en) * 2009-12-21 2011-06-30 Intel Corp Endian conversion tool
JP2017151599A (en) * 2016-02-23 2017-08-31 アズビル株式会社 Controller, and control method for the same
WO2023047762A1 (en) * 2021-09-21 2023-03-30 株式会社日立製作所 Processor and endian conversion method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63250757A (en) * 1987-04-06 1988-10-18 Nec Ic Microcomput Syst Ltd Input/output interface device
JPH03160550A (en) * 1989-11-17 1991-07-10 Hitachi Ltd Endian converting system
JPH0454551A (en) * 1990-06-21 1992-02-21 Mitsubishi Electric Corp Input/output controller
JPH04143846A (en) * 1990-10-04 1992-05-18 Fanuc Ltd Interface converter circuit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63250757A (en) * 1987-04-06 1988-10-18 Nec Ic Microcomput Syst Ltd Input/output interface device
JPH03160550A (en) * 1989-11-17 1991-07-10 Hitachi Ltd Endian converting system
JPH0454551A (en) * 1990-06-21 1992-02-21 Mitsubishi Electric Corp Input/output controller
JPH04143846A (en) * 1990-10-04 1992-05-18 Fanuc Ltd Interface converter circuit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100445637B1 (en) * 2002-07-03 2004-08-25 삼성전자주식회사 Computer system providing endian information and method of data transmition thereof
JP2011129132A (en) * 2009-12-21 2011-06-30 Intel Corp Endian conversion tool
JP2017151599A (en) * 2016-02-23 2017-08-31 アズビル株式会社 Controller, and control method for the same
WO2023047762A1 (en) * 2021-09-21 2023-03-30 株式会社日立製作所 Processor and endian conversion method

Similar Documents

Publication Publication Date Title
JP2774862B2 (en) DMA control device and information processing device
US4513369A (en) Information processing system
JPS61199155A (en) Data processor
EP0212152A2 (en) Microprocessor assisted memory to memory move apparatus
JPH04308953A (en) Virtual address computer system
JPH08202646A (en) Input and output controller
US6138188A (en) Buffer management device and method for improving buffer usage and access performance in data processing system
GB2221066A (en) Address translation for I/O controller
JP2010244165A (en) Semiconductor integrated circuit and method for controlling the same
JPS63245743A (en) Memory access system
JPH01226056A (en) Address converter
JPH08328994A (en) Information processor
JPS584464A (en) Memory addressing system
JPH04195234A (en) Data transfer system
JPH04372039A (en) Dma transfer system
JPH05197620A (en) Address space extending system
JPH0546482A (en) Address conversion system
JPS646492B2 (en)
JPH03269650A (en) Buffer storage
JPH06131254A (en) Address converting device
JPH05274214A (en) Information storage device
JPS63186347A (en) Memory device
JPH04112251A (en) Microcomputer
JPH04256056A (en) Computer system
JPH03192444A (en) Address conversion circuit