JPH0334043A - Information processor including master and slave devices connected to each other via system bus - Google Patents

Information processor including master and slave devices connected to each other via system bus

Info

Publication number
JPH0334043A
JPH0334043A JP16867989A JP16867989A JPH0334043A JP H0334043 A JPH0334043 A JP H0334043A JP 16867989 A JP16867989 A JP 16867989A JP 16867989 A JP16867989 A JP 16867989A JP H0334043 A JPH0334043 A JP H0334043A
Authority
JP
Japan
Prior art keywords
data
system bus
bus
ascending
descending order
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
JP16867989A
Other languages
Japanese (ja)
Other versions
JP2976443B2 (en
Inventor
Isamu Nakayama
勇 中山
Noriyuki Oura
大浦 範之
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 JP16867989A priority Critical patent/JP2976443B2/en
Publication of JPH0334043A publication Critical patent/JPH0334043A/en
Application granted granted Critical
Publication of JP2976443B2 publication Critical patent/JP2976443B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To ensure the free transfer of data between a device which handles data in the ascending order and a device which handles data in the descending order with the effective use of the width of a system bus by adding a circuit to a master device to output the ascending/descending order signal and adding an ascending/descending order signal line to the system bus. CONSTITUTION:A CPU 600 contains a bus control unit which drives an ascending/descending order signal line 40 at a high level during the use of a system bus 500 and then gives an access to the data in the ascending order. A CPU 700 contains a bus control unit which drives the line 40 at a low level during the use of the bus 500 and then gives an access to the data in the descending order. The bus 500 contains the line 40, and a memory device 800 contains a conversion circuit for arrangement of data as well as a bus control unit. In such a constitution, the mutual accesses of data are always secured between a device which handles data in the ascending order and a device which handles data in the descending order with the effective use of the width of the system bus.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は情報処理装置の構成に関し、特に昇順でデータ
を扱う装置と降順でデータを扱う装置とが混在してイン
ターフェイスすることができる手段を持つシステムバス
によって、前記装置間のデータ転送を行うマスタ装置お
よびスレーブ装置とシステムバスからなる情報処理装置
の新規な構成に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to the configuration of an information processing device, and particularly to a system having a means for interfacing a device that handles data in ascending order and a device that handles data in descending order in a mixed manner. The present invention relates to a new configuration of an information processing device that includes a master device, a slave device, and a system bus that transfer data between the devices via a bus.

従来の技術 まず、データの並び方の“昇順′″および′″降順″′
の意味を、それぞれ16ビツトの内部データバスお上位
8ビツトを偶数メモリ410に書き込む。
Conventional technology First, data is arranged in "ascending order" and "descending order"
The meaning of each of the upper 8 bits of the 16-bit internal data bus is written into the even memory 410.

以上説明したように、昇順でデータを扱う装置と降順で
データを扱う装置とでは、第5図(a)に示すような同
じ内部データを16ビツトアクセスで書き込んだ場合に
、内部データの下位8ビツトを偶数メモリに書くか奇数
メモリに書くか、また、内部データの上位8ビツトを奇
数メモリに書くか偶数メモリに書くかの違いが生じる。
As explained above, when a device that handles data in ascending order and a device that handles data in descending order write the same internal data using 16-bit access as shown in FIG. There are differences in whether bits are written to even memory or odd memory, and whether the upper 8 bits of internal data are written to odd memory or even memory.

従って、例えばCP U200がワードアクセスでメモ
リ装置400に書き込んだデータをCP U300がワ
ードアクセスで読み込むと、データの上位8ビツトと下
位8ビツトとが入れ替わってしまう。
Therefore, for example, when the CPU 300 reads data written into the memory device 400 by word access by the CPU 200 by word access, the upper 8 bits and lower 8 bits of the data are swapped.

尚、CP U200および300がバイトアクセスをし
た場合は、必ず内部データの下位8ビツトのみが指定の
アドレスのメモリとデータのやり取りをする。従って、
例えば、第5図(d)に示すような内部データをCP 
U200がバイトアクセスで偶数番地に書き込んだ場合
は、第5図(e)に示すように格納され、また、CP 
U300が同様に書き込んだ内部データは、第5図(f
)に示すように格納され、両者はいずれも偶数メモリ4
10に格納される。
Note that when the CPUs 200 and 300 perform byte access, only the lower 8 bits of the internal data are always exchanged with the memory at the specified address. Therefore,
For example, if internal data as shown in FIG. 5(d) is
When U200 writes to an even address using byte access, it is stored as shown in FIG. 5(e), and the CP
The internal data similarly written by U300 is shown in Figure 5 (f
), and both are stored in even number memory 4.
10.

同様に、第5図(d)に示すような内部データを、CP
 U200がバイトアクセスで偶数番地に書き込んだ場
合は、第5図(勃に示すように格納され、また、CP 
U300が同様に書き込んだ内部データは第5図(h)
に示すように格納され、両者はいずれも奇数メモリ42
0に格納される。
Similarly, the internal data as shown in FIG. 5(d) is
If U200 writes to an even address using byte access, it will be stored as shown in Figure 5.
The internal data similarly written by U300 is shown in Figure 5 (h).
Both are stored in the odd memory 42 as shown in FIG.
Stored at 0.

即ち、バイトアクセスでは、昇順でデータを扱う装置と
降順でデータを扱う装置との違いがなくなる。
That is, in byte access, there is no difference between a device that handles data in ascending order and a device that handles data in descending order.

発明が解決しようとする課題 上述したように、従来の情報処理装置では、昇順でデー
タを扱うCPU装置と降順でデータを扱うCPU装置と
が共有メモリを持つ場合には、昇順データと降順データ
とでデータの意味が違うためにデータの長さが昇順デー
タか降順データかの違いの影響を受けない短い単位で共
有メモリをアクセスする必要がある。従って、共有メモ
リをアクセスするプログラムを設計する場合は、昇順/
降順の影響を受けないデータ幅の単位で共有メモリをア
クセスするように注意しながらプログラムを作らなけれ
ばならない。また、このようなアクセス方法は、データ
バスの一部しか使用しないので、データバスを全て使っ
てデータを転送する場合に比べてデータ転送効率が著し
く低下する。
Problems to be Solved by the Invention As described above, in conventional information processing devices, when a CPU device that handles data in ascending order and a CPU device that handles data in descending order have a shared memory, ascending order data and descending order data are Because the meaning of the data is different, it is necessary to access the shared memory in short units that are not affected by the difference in the length of the data, whether it is ascending or descending data. Therefore, when designing a program that accesses shared memory, ascending/
Programs must be created taking care to access shared memory in units of data width that are not affected by descending order. Furthermore, since such an access method uses only a portion of the data bus, data transfer efficiency is significantly lower than when data is transferred using the entire data bus.

そこで、本発明は、上記従来技術の問題点を解決し、昇
順でデータを取り扱う装置と、降順でデータを取り扱う
装置とが混在し、且つ、互いに効率良くデータの転送が
可能な新規な情報処理装置の構成を提供することをその
目的としている。
Therefore, the present invention solves the above-mentioned problems of the prior art, and provides a novel information processing system in which a device that handles data in ascending order and a device that handles data in descending order coexist and can efficiently transfer data to each other. Its purpose is to provide the configuration of the device.

課題を解決するための手段 即ち、本発明に従うと、システムバスを介したデータ処
理に際して、該処理に係るデータの並びが昇順であるか
降順であるかを区別するための昇順/降順信号をシステ
ムバスに出力する回路を備え、システムバスの使用権を
有するマスタ装置と、該マスタ装置からデータの引渡し
を要求された際に、マスタ装置が出力した昇順/降順信
号が示すデータの並びにしてデータを出力する昇順/降
順データ変換回路を備え、システムバスの使用権を持た
ないスレーブ装置と、該昇順/降順信号を伝送するため
の昇順/降順信号線を含むシステムバスとを備え、昇順
でデータを扱う装置と、降順でデータを扱う装置とを含
む前記マスタ装置およびスレーブ装置を任意に前記シス
テムバスに接続して、相互にデータを転送することがで
きるように構成されたことを特徴とするシステムバスに
より接続されたマスタ装置およびスレーブ装置を含む情
報処理装置が提供される。
Means for Solving the Problem, that is, according to the present invention, when processing data via a system bus, the system uses an ascending order/descending order signal to distinguish whether the data related to the processing is arranged in ascending order or descending order. A master device that is equipped with a circuit that outputs to the bus and has the right to use the system bus, and a data sequence that is the sequence of data indicated by the ascending/descending signals output by the master device when the master device requests data transfer. A slave device is provided with an ascending order/descending order data conversion circuit that outputs data in ascending order and does not have the right to use the system bus, and a system bus that includes an ascending order/descending order signal line for transmitting the ascending order/descending order signal. and a device that handles data in descending order, the master device and the slave device are optionally connected to the system bus to mutually transfer data. An information processing device is provided that includes a master device and a slave device connected by a system bus.

韮J 本発明に係る情報処理装置は、マスタ装置が扱うデータ
が昇順または降順であることを示す信号を出力する回路
を備え、一方、スレーブ装置は、システムバスを介して
指示された昇順または降順に、出力データを変換する回
路を備えることをその主、要な特徴としている。
Nira J The information processing device according to the present invention includes a circuit that outputs a signal indicating that the data handled by the master device is in ascending order or descending order, while the slave device handles the data in ascending order or descending order as instructed via the system bus. Its main feature is that it is equipped with a circuit for converting output data.

即ち、本発明に係る情報処理では、データを昇順で扱う
装置とデータを降順で扱う装置とが、常にシステムバス
のバス幅を有効に使って相互にデータアクセスすること
が可能となっている。
That is, in the information processing according to the present invention, a device that handles data in ascending order and a device that handles data in descending order are always able to mutually access data by effectively using the bus width of the system bus.

以下、図面を参照して本発明に係る情報処理装置につい
てより具体的に説明するが、以下の開示は本発明の一実
施例に過ぎず、本発明の技術的範囲を何ら限定するもの
ではない。
Hereinafter, the information processing device according to the present invention will be explained in more detail with reference to the drawings, but the disclosure below is only one embodiment of the present invention and does not limit the technical scope of the present invention in any way. .

実施例1 第1図(a)は、本発明に従う情報処理装置の構成例を
示すブロック図である。
Embodiment 1 FIG. 1(a) is a block diagram showing a configuration example of an information processing apparatus according to the present invention.

同図に示すように、この情報処理装置は、CPU装置6
00および700 と、メモリ装置800 と、これら
を相互に接続するシステムバス500 とから構成され
ている。
As shown in the figure, this information processing device includes a CPU device 6
00 and 700, a memory device 800, and a system bus 500 that interconnects them.

ここで、CPU600は、システムバスを使用中に、昇
順/降順信号線40をhighにドライブするバス・コ
ントロール・ユニッ) D610(jR1図(b)に示
す〉を備え、データを昇順でアクセスするように構成さ
れている。一方、CPU700は、システムバスを使用
中に昇順/降順信号線40をlowにドライブスルバス
・コントロール・ユニッ) E710(11図(C)に
示す)を備え、データを降順でアクセスする。また、シ
ステムバス500は、データバス10ニアドレスバス2
0、制御/応答信号バス30およびバスアクセス調停線
50の他に、昇順/降順信号線40を備えている。更に
、メモリ装置800は、ハス・コントロール・ユニット
F810  (第1 図(d)ニ示t)とデータの並び
を変換する回路とを備えている。
Here, the CPU 600 is equipped with a bus control unit D610 (shown in FIG. On the other hand, the CPU 700 is equipped with a drive-through bus control unit (E710) (shown in Figure 11 (C)) which keeps the ascending/descending signal line 40 low while the system bus is in use, and outputs data in descending order. Access with . Further, the system bus 500 includes a data bus 10 and a near address bus 2.
0, a control/response signal bus 30, a bus access arbitration line 50, and an ascending/descending signal line 40. Furthermore, the memory device 800 includes a hash control unit F810 (see t in FIG. 1(d)) and a circuit for converting the data arrangement.

第1図(ロ)は、第1図(a)に示した情報処理装置に
おけるCPU装W600の構成例を示すブロック図であ
る。同図に示すように、このCPU装置においても、従
来の情報処理装置におけるCPU装置210(第4図(
b)参照)と同様に、バスコントロールユニッ) D6
10が、第6図(a)に示す論理表の論理に従ってバッ
ファ/ドライバ61〜63を制御し、更に、CPU装置
600がマスタ装置となりシステムバスを介してデータ
アクセスする場合に昇順でデータをアクセスすることを
示す信号を昇順/降順信号線40に出力する。
FIG. 1(b) is a block diagram showing an example of the configuration of the CPU unit W600 in the information processing apparatus shown in FIG. 1(a). As shown in FIG. 4, this CPU device also has a CPU device 210 (FIG.
b) Similarly, the bus control unit) D6
10 controls the buffers/drivers 61 to 63 according to the logic of the logic table shown in FIG. A signal indicating this is output to the ascending/descending signal line 40.

第1図(C)は、第1図(a)に示した情報処理装置に
おけるCPU装置700の構成例を示すブロック図であ
る。このCPU装置700においても、CPU600と
同じく、従来の情報処理装置におけるCPU装置310
(第4図(C)参照)と同様に、バスコントロールユニ
ッ) E710は、第6図ら)に示す論理表の論理に従
って、バッファ/ドライバ64〜66を制御し、更に、
CPU装置700がマスタ装置となりシステムバスを介
してデータアクセスする場合には降順でデータをアクセ
スすることを示す信号を昇順/降順信号線40に出力す
る。
FIG. 1(C) is a block diagram showing a configuration example of the CPU device 700 in the information processing apparatus shown in FIG. 1(a). Similarly to the CPU 600, this CPU device 700 also uses the CPU device 310 in the conventional information processing device.
(See FIG. 4(C)), the bus control unit E710 controls the buffers/drivers 64 to 66 according to the logic of the logic table shown in FIG.
When the CPU device 700 becomes a master device and accesses data via the system bus, it outputs a signal indicating that data will be accessed in descending order to the ascending order/descending order signal line 40.

第1図(d)は、第1図(a)に示した情報処理装置に
おけるメモリ装置800の構成例を示すブロック図であ
る。
FIG. 1(d) is a block diagram showing a configuration example of the memory device 800 in the information processing apparatus shown in FIG. 1(a).

同図に示すように、このメモリ装置800においては、
バスコントロールユニットF810は、メモリ装置80
0がアクセスされた時に、第6図(d)の論理表に示す
ような論理に従ってバッファ/ドライバ67〜70を操
作する。即ち、メモリ装置800のメ% ’J R分4
10 オヨヒ420 は、バスコントロールユニッ)F
810の働きによって常にデータを昇順で書き込み、読
み出される時にはバスコントロールユニットF810に
よって昇順/降順信号線40が示すデータの並び方にし
て出力することにより、CPU装置600および700
のいずれからも15ビツトでアクセスできる共有メモリ
となっている。
As shown in the figure, in this memory device 800,
The bus control unit F810 includes the memory device 80
When 0 is accessed, the buffers/drivers 67-70 are operated according to the logic as shown in the logic table of FIG. 6(d). That is, memory device 800 memory % 'J R min 4
10 Oyohi 420 is a bus control unit)F
810, the data is always written in ascending order, and when read, the bus control unit F810 outputs the data in the order indicated by the ascending/descending signal line 40.
It is a shared memory that can be accessed in 15 bits from any of the following.

第2図は、上述のように構成された情報処理装置におい
て、CPU装置がシステムバス500を介してメモリを
アクセスする時の動作を説明するためのタイミングチャ
ートである。
FIG. 2 is a timing chart for explaining the operation when the CPU device accesses the memory via the system bus 500 in the information processing device configured as described above.

第2図において、ADO〜23および両耳ては、マスタ
装置がメモリ装置に出力するアドレスと上位8ビツトと
が有効であることを示す信号である。
In FIG. 2, ADO~23 and both ears are signals indicating that the address and upper 8 bits output by the master device to the memory device are valid.

AEは、ADO〜23と百HEが有効であることを示す
信号である。○RDERは、データの並びが昇順である
か降順であるかを示す信号である。瓦D (W″D)は
、リードアクセスかライトアクセスかを示す信号であり
、DO〜7とD8〜15はデータの下位8ビツトと上位
8ビツトとをそれぞれ示す。Xてπはメモリ装置からの
応答信号である。
AE is a signal indicating that ADO~23 and 100HE are valid. ○RDER is a signal indicating whether the data is arranged in ascending order or descending order. The tile D (W″D) is a signal indicating read access or write access, and DO~7 and D8~15 indicate the lower 8 bits and upper 8 bits of data, respectively.X and π are signals from the memory device. This is the response signal.

以下、上記の信号の遷移を追いながら、CPU装置70
0が、16ビツトアクセスでメモリ800にデータを書
き込み、更に、そのデータをCPU装置600がワード
アクセスで読み込む場合の動作について説明する。
Hereinafter, while following the transition of the above-mentioned signals, the CPU device 70
0 writes data to the memory 800 using 16-bit access, and further, the operation when the CPU device 600 reads the data using word access will be described.

まず、CPU装置700がシステムバス500のバスア
クセス調停線50がlowであることを確認した後、バ
スアクセス調停線50をhighにドライブしてバスマ
スタとなる。次に、CPU装置700は、システムバス
500のアドレスバス20、制御/応答信号線30およ
び昇順/降順信号線40に対して、バスコントロールユ
ニット710から、アドレスとワードのライトアクセス
を示す信号と降順データであることを示す信号とを出力
する。次に、CPU装置700内の信号線81上の信号
をを上位8ビツトのデータバス12に、信号線82上の
信号を下位8ビツトのデータバス11にそれぞれ出力す
る。
First, after confirming that the bus access arbitration line 50 of the system bus 500 is low, the CPU device 700 drives the bus access arbitration line 50 to high and becomes the bus master. Next, the CPU device 700 sends a signal indicating address and word write access from the bus control unit 710 to the address bus 20, control/response signal line 30, and ascending/descending signal line 40 of the system bus 500. A signal indicating that it is data is output. Next, the signal on the signal line 81 in the CPU device 700 is outputted to the data bus 12 of the upper 8 bits, and the signal on the signal line 82 is outputted to the data bus 11 of the lower 8 bits.

アクセスされたメモリ装置800は、アドレスバス20
、制御/応答信号線30および昇順/降順信号線40の
示す内容に従って、16ビツトの降順データが書き込ま
れようとすることを認識し、データバス10上のデータ
を、アドレスバス20が示すアドレスのメモリに書き込
む。ここで、メモリ装置800のバスコントロールユニ
ツト710カ、バッファ/ドライバ69および70を開
くので、偶数メモU410には信号線81上にあったデ
ータが、奇数メモリ420には信号線82上にあったデ
ータが、それぞれ書き込まれる。即ち、偶数メモ!J4
10および奇数メモリ420には昇順データの形で書き
込まれる。
The accessed memory device 800 is connected to the address bus 20
, recognizes that 16-bit descending data is to be written according to the contents indicated by the control/response signal line 30 and the ascending order/descending order signal line 40, and transfers the data on the data bus 10 to the address indicated by the address bus 20. write to memory. Here, since the bus control unit 710 and buffer/drivers 69 and 70 of the memory device 800 are opened, the data that was on the signal line 81 was stored in the even numbered memory U 410, and the data was stored on the signal line 82 of the odd numbered memory 420. Data is written respectively. In other words, even number notes! J4
10 and odd number memory 420 are written in the form of ascending order data.

次にCPU装置600が、メモリ装置800の同じアド
レス上のデータを読んだ場合の動作を説明する。
Next, the operation when the CPU device 600 reads data at the same address in the memory device 800 will be described.

ここでは、メモリ装置800のバスコントロールユニツ
ト710が、バッファ/ドライバ67および68を開く
ので、偶数メモリ410および奇数メモリ420のデー
タを、昇順データの形で読み出すことができる。従って
、偶数メモリ410の内容がCPU装置600内の81
に、奇数メモリ420の内容が、CPU装置600内の
82にそれぞれ読み込まれて、CPtJ装置700がメ
モリ装置800にワードアクセスで書き込んだデータを
、CPU装置600が正常に読み込んだことになる。
Here, bus control unit 710 of memory device 800 opens buffer/drivers 67 and 68 so that data in even memory 410 and odd memory 420 can be read in ascending order data. Therefore, the contents of the even memory 410 are 81 in the CPU device 600.
Then, the contents of the odd memory 420 are respectively read into 82 in the CPU device 600, and the CPU device 600 successfully reads the data that the CPtJ device 700 wrote to the memory device 800 by word access.

次に、この情報処理装置の他の動作例として、CPU装
置600が、ワードアクセスでメモリ装置800にデー
タを書き込み、それをCPU装置700がワードアクセ
スで読み込む場合の動作について説明する。
Next, as another example of the operation of this information processing device, an operation will be described in which the CPU device 600 writes data to the memory device 800 using word access, and the CPU device 700 reads the data using word access.

CPU装置600が出力したアドレスの偶数メモリ41
0および奇数メモリ420にデータを書き込む場合は、
バッファ/ドライバ67および68を開くので、CPU
装置600内の81のデータが偶数メモリ410に、8
2のデータが奇数メモリ420に、それぞれ昇順データ
の形で書き込まれる。
Even number memory 41 of the address output by the CPU device 600
When writing data to the 0 and odd memory 420,
It opens buffers/drivers 67 and 68, so the CPU
81 data in the device 600 are stored in the even memory 410, 8
2 data are respectively written into the odd number memory 420 in the form of ascending order data.

CPU装置700が、同じアドレス上のデータを読み込
む場合は、メモリ装置800のバスコントロールユニッ
)F810が、バッファ/ドライバ69および70を開
くので、昇順データは降順データとなってシステムバス
500のデータバス10に出力される。従って、偶数メ
モリ410上のデータが、CPU装置700内の81に
、奇数メモリ420上のデータが、CPU装置700内
の82にそれぞれ書き込まれ、CPU装置600がメモ
リ装置800にワードアクセスで書き込んだ16ビツト
のデータを、CPU装置700が正常に読み込むことが
できる。
When the CPU device 700 reads data on the same address, the bus control unit (F810) of the memory device 800 opens the buffer/drivers 69 and 70, so that the ascending order data becomes descending order data and is transferred to the data bus of the system bus 500. 10 is output. Therefore, the data on the even memory 410 is written to 81 in the CPU device 700, the data on the odd memory 420 is written to 82 in the CPU device 700, and the CPU device 600 writes to the memory device 800 by word access. The CPU device 700 can normally read 16-bit data.

実施例2 第3図は、本発明に係る情報処理装置の他の構成例を示
すブロック図である。
Embodiment 2 FIG. 3 is a block diagram showing another configuration example of the information processing apparatus according to the present invention.

同図に示すように、この情報処理装置は、システムバス
900を介して相互に接続された1対のCPU装置10
00および1100と、メモリ装置1200とから構成
されている。
As shown in the figure, this information processing device includes a pair of CPU devices 10 connected to each other via a system bus 900.
00 and 1100, and a memory device 1200.

ここで、この情報処理装置のシステムバス900は、実
施例1の情報処理装置におけるシステムバス500の○
RDER信号線40を、昇順信号線41と降順信号線4
2との1対の信号線により構成されている。また、これ
に対応して、データを昇順で扱うCPU装置toooは
、システムバス使用中に昇順信号線41をlowにドラ
イブする回路を備えている。
Here, the system bus 900 of this information processing device is the system bus 500 of the information processing device of the first embodiment.
The RDER signal line 40 is connected to the ascending signal line 41 and the descending signal line 4.
2 and a pair of signal lines. Correspondingly, the CPU device tooo that handles data in ascending order is equipped with a circuit that drives the ascending order signal line 41 low while the system bus is in use.

また、データを降順で扱うCPU装置1100は、シス
テムバス使用中に、降順信号線42をlowにドライブ
する回路を備えている。また、メモリ装置1200は、
アクセスされた時に昇順信号線41と降順信号線42と
の両方がlowあるいはhighの場合に、マスタ装置
にエラーを返す回路を備えている。
Further, the CPU device 1100 that handles data in descending order includes a circuit that drives the descending order signal line 42 to low while the system bus is in use. Furthermore, the memory device 1200 is
A circuit is provided that returns an error to the master device if both the ascending signal line 41 and the descending signal line 42 are low or high when accessed.

以上のように構成された情報処理装置では、昇順信号と
降順信号とにそれぞれ専用の信号線を割り当てることに
よって、マスタ装置からスレーブ装置がアクセスされた
時に、昇順信号線41と降順信号線42の両方がlow
あるいは旧ghである場合に、このアクセスが正常なも
のではないことをスレーブ装置側が認識することが可能
になる。
In the information processing device configured as described above, by assigning dedicated signal lines to the ascending order signal and the descending order signal, respectively, when the slave device is accessed from the master device, the ascending order signal line 41 and the descending order signal line 42 are both low
Alternatively, in the case of the old gh, the slave device side can recognize that this access is not normal.

発明の詳細 な説明したように、本発明に係る情報処理装置において
は、マスタ装置に昇順/降順信号を出力する回路を持た
せ、システムバスには昇順/降順信号線を持たせること
によって、データを昇順で扱う装置とデータを降順で扱
う装置とが共有メモリのアクセス方法や、データを昇順
で扱う装置とデータを降順で扱う装置とがデータのやり
取りをそれぞれの装置が扱うデータの並び方が昇順であ
るか降順であるかの違いによる制約を受けることなくシ
ステムバスのバス幅を有効に利用して行うことが可能で
ある。
As described in detail about the invention, in the information processing device according to the present invention, the master device is provided with a circuit for outputting ascending order/descending order signals, and the system bus is provided with ascending order/descending signal lines. A device that handles data in ascending order and a device that handles data in descending order differ in the shared memory access method, and a device that handles data in ascending order and a device that handles data in descending order exchange data.The arrangement of data handled by each device is ascending order. This can be done by effectively utilizing the bus width of the system bus without being restricted by the difference in whether the order is in descending order or in descending order.

従って、従来のように共有メモリをアクセスするプログ
ラムを設計する時に共有メモリをアクセスするデータ幅
の単位を注意することなくプログラムを設計することが
できる。
Therefore, when designing a program that accesses a shared memory, it is possible to design a program without paying attention to the unit of data width for accessing the shared memory, as in the past.

また、システムバスのバス幅を有効に利用してデータ転
送を行うことが可能であるために従来技術のようにデー
タバス幅の一部しか使えないためにデータ転送時間が長
くなってしまうということがないという効果もある。
In addition, since it is possible to transfer data by effectively utilizing the bus width of the system bus, unlike conventional technology, which can only use a portion of the data bus width, the data transfer time becomes longer. There is also the effect that there is no

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

第1図(a)は、本発明に係る情報処理装置の構成例を
示すブロック図であり、 第1図(ロ)は、第1図(a)に示す情報処理装置にお
いて使用される、データを昇順でアクセスする装置の構
成を示すブロック図であり、 第1図(C)は、第1図(a)に示す情報処理装置にお
いて使用される、データを降順でアクセスする装置のm
戊を示すブロック図であり、 第1図(d)は、第1図(a)に示す情報処理装置にお
いて使用できる共通メモリ装置の構成例を示すブロック
図であり、 第2図は、第1図に示した情報処理装置の動作を説明す
るためのタイミングチャートであり、第3図は、本発明
に係る情報処理装置の他の構成例を示すブロック図であ
り、 第4図(a)は、従来の情報処理装置において、システ
ムバスに接続された昇順でデータを扱う装置の例を示す
ブロック図であり、 第4図(8)は、従来の情報処理装置において、システ
ムバスに接続された降順でデータを扱う装置の例を示す
ブロック図であり、 第4図(C)は、従来の情報処理装置において、システ
ムバスに接続されたメモリ装置の例を示すブロック図で
あり、 第4図(d)は、第4図(a)〜(C)までの各装置を
使用して構成した従来の情報処理装置の構成例を示すブ
ロック図であり、 第5図(a)〜0−1)は、第4図(a) 〜(d)に
示した従来の情報処理装置において昇順または降順で扱
われるデータを示す図であり、 第6図(a)、(′b)、(C)および(d)は、各パ
ス・コントロール・ユニットの動作を規定する論理を示
す論理表である。 〔主な参照番号および参照符号〕 10・・データバス、 11・・DO〜D7のデータバス、 12・・D8〜D15のデータバス、 20・・アドレスバス、 30・・制御信号バス、40・ 41・・昇順信号線、 42・ 50・・バスアクセス調停線、 61〜72・・ドライバ/バッファ、 81・・内部データバスの下位8ビツト、82・・内部
データバスの上位8ビツト、・昇順/降順信号線、 ・降順信号線、 91・・アドレス生成部、92・・実行部、93・・命
令デコーダ部、94・・レジスタ部、100・・システ
ムバス、 400.800.1200・・メモリ装置、410・・
偶数メモ’J、420・・奇数メモリ、430・・アド
レスデコーダ、 500・・昇順/降順信号線を持つシステムバス、90
0・・システムバス、
FIG. 1(a) is a block diagram showing a configuration example of an information processing apparatus according to the present invention, and FIG. 1(b) is a block diagram showing a data processing apparatus used in the information processing apparatus shown in FIG. FIG. 1C is a block diagram showing the configuration of a device that accesses data in ascending order, and FIG.
FIG. 1(d) is a block diagram showing a configuration example of a common memory device that can be used in the information processing device shown in FIG. 1(a); FIG. FIG. 3 is a timing chart for explaining the operation of the information processing device shown in the figure; FIG. 3 is a block diagram showing another configuration example of the information processing device according to the present invention; FIG. , is a block diagram showing an example of a device connected to a system bus that handles data in ascending order in a conventional information processing device. FIG. 4C is a block diagram showing an example of a device that handles data in descending order; FIG. 4C is a block diagram showing an example of a memory device connected to a system bus in a conventional information processing device; FIG. (d) is a block diagram showing a configuration example of a conventional information processing device configured using each of the devices shown in FIGS. 4(a) to (C), and FIGS. 5(a) to 0-1. ) is a diagram showing data handled in ascending order or descending order in the conventional information processing apparatus shown in FIGS. 4(a) to (d); FIGS. 6(a), ('b), and (C) and (d) is a logic table showing the logic that defines the operation of each path control unit. [Main reference numbers and reference symbols] 10...Data bus, 11...Data bus from DO to D7, 12...Data bus from D8 to D15, 20...Address bus, 30...Control signal bus, 40... 41... Ascending signal line, 42, 50... Bus access arbitration line, 61-72... Driver/buffer, 81... Lower 8 bits of internal data bus, 82... Upper 8 bits of internal data bus, - Ascending order /Descending signal line, - Descending signal line, 91...Address generation unit, 92...Execution unit, 93...Instruction decoder unit, 94...Register unit, 100...System bus, 400.800.1200...Memory Device, 410...
Even number memo 'J, 420...odd number memory, 430...address decoder, 500...system bus with ascending/descending signal lines, 90
0...system bus,

Claims (1)

【特許請求の範囲】 システムバスを介したデータ処理に際して、該処理に係
るデータの並びが昇順であるか降順であるかを区別する
ための昇順/降順信号をシステムバスに出力する回路を
備え、システムバスの使用権を有するマスタ装置と、 該マスタ装置からデータの引渡しを要求された際に、マ
スタ装置が出力した昇順/降順信号が示すデータの並び
にしてデータを出力する昇順/降順データ変換回路を備
え、システムバスの使用権を持たないスレーブ装置と、 該昇順/降順信号を伝送するための昇順/降順信号線を
含むシステムバスとを備え、 昇順でデータを扱う装置と、降順でデータを扱う装置と
を含む前記マスタ装置およびスレーブ装置を任意に前記
システムバスに接続して、相互にデータを転送すること
ができるように構成されたことを特徴とするシステムバ
スにより接続されたマスタ装置およびスレーブ装置を含
む情報処理装置。
[Scope of Claims] A circuit that outputs an ascending order/descending order signal to the system bus to distinguish whether the data related to the processing is arranged in ascending order or descending order when processing data via the system bus, A master device that has the right to use the system bus, and an ascending/descending data conversion that outputs data in the order of data indicated by the ascending/descending signals output by the master device when the master device requests data transfer. A slave device that is equipped with a circuit and does not have the right to use the system bus, and a system bus that includes an ascending order/descending order signal line for transmitting the ascending order/descending order signal, and a device that handles data in ascending order and a device that handles data in descending order. A master device connected by a system bus, characterized in that the master device and the slave device, including a device that handles and information processing equipment including slave devices.
JP16867989A 1989-06-30 1989-06-30 Information processing device that exchanges data via system bus Expired - Fee Related JP2976443B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16867989A JP2976443B2 (en) 1989-06-30 1989-06-30 Information processing device that exchanges data via system bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16867989A JP2976443B2 (en) 1989-06-30 1989-06-30 Information processing device that exchanges data via system bus

Publications (2)

Publication Number Publication Date
JPH0334043A true JPH0334043A (en) 1991-02-14
JP2976443B2 JP2976443B2 (en) 1999-11-10

Family

ID=15872472

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16867989A Expired - Fee Related JP2976443B2 (en) 1989-06-30 1989-06-30 Information processing device that exchanges data via system bus

Country Status (1)

Country Link
JP (1) JP2976443B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05736U (en) * 1991-06-27 1993-01-08 住友金属工業株式会社 Coke oven lid

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05736U (en) * 1991-06-27 1993-01-08 住友金属工業株式会社 Coke oven lid

Also Published As

Publication number Publication date
JP2976443B2 (en) 1999-11-10

Similar Documents

Publication Publication Date Title
TW379294B (en) Interfacing direct memory access devices to a non-isa bus
US5594882A (en) PCI split transactions utilizing dual address cycle
TW479174B (en) Interrupt controller
US20040068602A1 (en) Apparatus, method and system for accelerated graphics port bus bridges
US20040107265A1 (en) Shared memory data transfer apparatus
JPH09146878A (en) System and method for data processing
JPH10149335A (en) Pci interface synchronizing circuit
JPS6282449A (en) Interface unit for computer
US20040221075A1 (en) Method and interface for improved efficiency in performing bus-to-bus read data transfers
US5708815A (en) DMA emulation via interrupt muxing
JPH0334043A (en) Information processor including master and slave devices connected to each other via system bus
JPS6111873A (en) Accessing method to 8-bit and 16-bit peripheral devices by 16-bit microprocessor
KR960001023B1 (en) Bus sharing method and the apparatus between different bus
JP2001051748A (en) Information processor
KR100606698B1 (en) Interfacing apparatus
JP2574821B2 (en) Direct memory access controller
JPH03152651A (en) Information transmission system
JPS63292356A (en) Dma controller
JPH01240960A (en) Dma transfer control circuit
JPS60123946A (en) Address translating mechanism
JPH04337851A (en) Memory access system
Geber et al. Peripheral component interconnect (PCI) interface with the QuickLogic QL16/spl times/24B FPGA
JPS581256A (en) Memroy access control system
JPH04120648A (en) Common bus connecting device
JPS61267852A (en) Data bus conversion system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees