Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0774986B2 - Data bus connection system - Google Patents
[go: Go Back, main page]

JPH0774986B2 - Data bus connection system - Google Patents

Data bus connection system

Info

Publication number
JPH0774986B2
JPH0774986B2 JP62233656A JP23365687A JPH0774986B2 JP H0774986 B2 JPH0774986 B2 JP H0774986B2 JP 62233656 A JP62233656 A JP 62233656A JP 23365687 A JP23365687 A JP 23365687A JP H0774986 B2 JPH0774986 B2 JP H0774986B2
Authority
JP
Japan
Prior art keywords
bits
data
bit
data bus
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP62233656A
Other languages
Japanese (ja)
Other versions
JPS6478320A (en
Inventor
純士 初崎
喜之 福原
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 JP62233656A priority Critical patent/JPH0774986B2/en
Publication of JPS6478320A publication Critical patent/JPS6478320A/en
Publication of JPH0774986B2 publication Critical patent/JPH0774986B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔目 次〕 概 要 産業上の利用分野 従来の技術 発明が解決しようとする問題点 問題点を解決するための手段 作 用 実施例 第1実施例の説明(第3図、第4図) 第2実施例の説明(第5図、第6図) 発明の効果 〔概 要〕 同一のデータ入出力端子からビット配列順序の異なる複
数種類のデータを入出力するような装置を有してなるデ
ータ処理システムに関し、 同一の入出力端子よりビット配列の異なる複数種類のデ
ータを入出力する装置を接続する際に、該装置の接続に
よるソフトウェアの負担増やハードウェアの増加を最小
限に抑えることを目的とし、 データ・バスに接続され、所定の複数端子より、データ
の種類に応じて異なるビット配列順序で、データが入力
あるいは出力される第1の装置と、前記第1の装置にお
いて第1のビット配列順序で入力あるいは出力されるデ
ータが、前記データ・バスを介して該第1の装置との間
で転送される第2の装置と、前記データ・バスを介し
て、前記第1の装置との間で、該第1の装置において第
2のビット配列順序で入力あるいは出力されるデータが
転送され、また、前記第2の装置との間で、該第2の装
置において前記第1のビット配列順序で入力あるいは出
力されるデータが転送される第3の装置とを有してなる
データ処理システムにおいて、前記第3の装置と前記デ
ータ・バスとの間にデータ・ビト接続部が設けられ、該
データ・ビット接続部は、該データ・バスの使用権を有
するバス・マスタによって制御されることにより、該第
3の装置において入力あるいは出力されるデータのビッ
ト配列順序が一定になるように、該第3の装置における
データと、該データ・バス上のデータとの間でビット配
列順序の変換を行なうように構成する。
Detailed Description [Table of Contents] Outline Industrial Application Field of the Invention Conventional Technology Problems to be Solved by the Invention Means for Solving Problems Problems Working Example First Example (3rd Example) (FIG. 4, FIG. 4) Description of the second embodiment (FIGS. 5, 6) Effect of the invention [Outline] A plurality of types of data having different bit arrangement orders are input / output from the same data input / output terminal. Regarding a data processing system having a device, when connecting a device for inputting and outputting a plurality of types of data having different bit arrangements from the same input / output terminal, the load of software and the increase of hardware due to the connection of the device are increased. And a first device which is connected to a data bus and receives or outputs data from a plurality of predetermined terminals in a bit arrangement order different depending on the type of data. Device of 1 In the first bit arrangement order, data input or output is transferred to and from the first device via the data bus, and via the data bus to the second device. Data input or output in the second bit arrangement order in the first device is transferred to and from the first device, and in the second device to and from the second device. A data processing system comprising: a third device to which data input or output in the first bit arrangement order is transferred; and a data bit between the third device and the data bus. A connection unit is provided, and the data bit connection unit is controlled by a bus master having the right to use the data bus so that the bit arrangement order of the data input or output in the third device is changed. one So that, the data in the device of the third, configured to perform conversion of the bit arrangement order with the data on the data bus.

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

本発明はデータ処理システムに関し、特に、同一のデー
タ入出力端子からビット配列順序の異なる複数種類のデ
ータを入出力するような装置を有してなるデータ処理シ
ステムに関する。
The present invention relates to a data processing system, and more particularly to a data processing system having a device for inputting and outputting a plurality of types of data having different bit arrangement orders from the same data input / output terminal.

近年、半導体技術が進歩し、各種のマイクロプロセッサ
やそれらの周辺LSIが数多く出回っており、これらを使
用して装置を構成することが多くなっている。しかしな
がら、これらのLSIは同一ファミリー内では相互接続が
容易であるが、異なるファミリー間では、データビット
幅の相違、データビット順序の相違等があり、相互接続
が容易ではない。特に、同一の入出力端子から同一のデ
ータ・バスを用いて、互いにビットの配列順序の異なる
複数種類のデータを入出力するようなプロセッサのLSI
が存在し、このようなLSIを接続するシステムにおいて
は、ソフトウェアの処理によって該LSIとやり取りする
データのビット配列順序を調整する、あるいは、このよ
うなLSIのそれぞれに特別なインターフェイス回路を設
ける等が行なわれていた。このような従来のシステムの
構成は、ソフトウェアの複雑化、あるいは、ハードウェ
アの増大を招くものであり、より簡素な構成からなるシ
ステムの実現が要望されていた。
In recent years, semiconductor technology has advanced, and various types of microprocessors and their peripheral LSIs have appeared on the market, and devices are often configured using these. However, although these LSIs are easily interconnected within the same family, interconnects are not easy due to differences in data bit width, data bit order, etc. between different families. In particular, processor LSIs that use the same data bus from the same input / output terminal to input and output multiple types of data with different bit arrangement orders.
In a system that connects such LSIs, it is necessary to adjust the bit arrangement order of data exchanged with the LSIs by software processing, or to provide a special interface circuit for each such LSI. It was being done. Such a conventional system configuration causes complication of software or increase in hardware, and it has been desired to realize a system having a simpler configuration.

〔従来の技術〕[Conventional technology]

第8図は、同一の入出力端子からビットの配列順の異な
る複数種類のデータを入出力するLSIを接続してなる、
従来のデータ処理システムの第1の例としてイメージ・
データの圧縮/伸張処理を行なうLSI、AMD社製AM7971
(以下ではCEP,Compression Expansion Processorと称
す)を用いるイメージ処理装置の概略構成を示す図であ
る。本図において、4は16ビット・データ・バス、4aは
データ・バスの上位バイト、4bは同下位バイト、10はシ
ステム全体を制御する16ビット・マイクロ・プロセッサ
・ユニット(MPU)、20は上記CEP、21はCEPによる制御
信号線、3は16ビット・データ・メモリ、23は8ビット
・バス・トランシーバ(TRV)である。
FIG. 8 shows a configuration in which LSIs for inputting and outputting a plurality of types of data having different bit arrangement orders are connected from the same input / output terminal.
Image as the first example of the conventional data processing system
LSI that performs data compression / decompression, AM7971 manufactured by AMD
It is a figure which shows schematic structure of the image processing apparatus using (it is hereafter called CEP, Compression Expansion Processor). In this figure, 4 is a 16-bit data bus, 4a is the upper byte of the data bus, 4b is the lower byte, 10 is a 16-bit microprocessor unit (MPU) that controls the entire system, and 20 is the above. CEP, 21 are control signal lines by CEP, 3 is a 16-bit data memory, and 23 is an 8-bit bus transceiver (TRV).

CEP20は8ビットの幅のデータを入出力し、MPU10からデ
ータ・バス4の上位バイト4aを介して8ビットの制御情
報を入力して内部のレジスタに設定し、この制御情報に
基づいて、メモリ3に記憶されたデータを、自らが有す
るDMA機能を用いて読出して、これに圧縮または伸張処
理を施して、処理したデータを、再びDMA機能により該
メモリ3へ書込む。ここでCEP20においては、上記の制
御情報の入力および処理データの入出力は同一の8ビッ
トの端子を介して行なわれるが、両者のビットの配列順
序は逆である。上記制御情報は、上記16ビット・MPU10
と同様の、第7図(2)に示すような、MSBからLSBへ並
ぶ配列であるが、CEP20において入出力される処理デー
タは第7図(1)に示すような1バイト毎にLSBからMSB
への順に配列されている。
The CEP20 inputs / outputs 8-bit width data, inputs 8-bit control information from the MPU10 via the upper byte 4a of the data bus 4 and sets it in the internal register. The data stored in No. 3 is read out using its own DMA function, compressed or expanded, and the processed data is written into the memory 3 again by the DMA function. Here, in the CEP 20, the input of the control information and the input / output of the processed data are performed through the same 8-bit terminal, but the arrangement order of both bits is opposite. The above control information is the above 16-bit MPU10
Similar to the above, the array is arranged from MSB to LSB as shown in FIG. 7 (2), but the processing data input / output in CEP20 is from LSB for each byte as shown in FIG. 7 (1). MSB
Are arranged in order.

第8図の構成においてはCEP20の8ビットのデータ入出
力端子をデータ・バス4の上位バイト4aの各ビットにビ
ット配列順序を逆転して接続し、更にデータ・バス4の
上位バイト4aと下位バイト4bとの間を、該CEP20からの
制御信号線21により導通あるいは、しゃ断されるバス・
トランシーバ23を介して8ビットのパス接続するように
している。すなわち、この構成により、CEP20はメモリ
3の上位バイトにアクセスするときには、データ・バス
4の上位バイト4aを介して行ない、メモリ3の下位バイ
トをアクセスするときには、トランシーバ23を導通させ
て、CEP20からデータ・バス4の上位バイト4aを介して
データ・バス4の下位バイト4bに接続されるようにして
いる。
In the configuration shown in FIG. 8, the 8-bit data input / output terminal of the CEP20 is connected to each bit of the upper byte 4a of the data bus 4 with the bit arrangement reversed, and further connected to the upper byte 4a of the data bus 4 and the lower byte. A bus that is connected to or cut off from the byte 4b by the control signal line 21 from the CEP 20.
An 8-bit path is connected through the transceiver 23. That is, with this configuration, when the CEP 20 accesses the upper byte of the memory 3, it performs it through the upper byte 4a of the data bus 4, and when accessing the lower byte of the memory 3, it makes the transceiver 23 conductive so that the CEP 20 outputs from the CEP 20. The upper byte 4a of the data bus 4 is connected to the lower byte 4b of the data bus 4.

ところが、第8図の構成において、MPU10におけるデー
タ入出力時のビット配列順序とCEP20における制御情報
入力時のビット配列順序は同じであるが、上記のように
データ・バス4の上位ビット4aとCEP20のデータ入出力
端子との間がビット配列順序を逆転して接続されている
ことにより、MPU10がCEP20に前述の制御情報を入力する
際には、MPU10側でソフトウェアによって処理してCEP20
へ送る制御情報のビット配列順序を逆転して出力するよ
うにしている。
However, in the configuration of FIG. 8, the bit arrangement order at the time of data input / output in the MPU10 and the bit arrangement order at the time of control information input in the CEP20 are the same, but as described above, the upper bits 4a and CEP20 of the data bus 4 are the same. When the MPU10 inputs the above control information to the CEP20, it is processed by software on the MPU10 side and processed by the CEP20.
The bit arrangement order of the control information sent to is output in reverse.

第9図は、第8図と同様に上記のCEPを用いるイメージ
処理装置の従来の構成の第2の例を示す図である。本図
のハードウェア構成は前述の第8図の構成と比較して、
CEP20とデータ・バス4の上位バイト4aとの間にのみ相
違点を有している。第9図においてはCEP20とデータ・
バス4の上位バイト4aとの間には、ビットの配列順序を
逆転させずにそのまま接続する8ビットのパス1と、ビ
ットの配列順序を逆転させて接続する、同じく8ビット
のパス2とが設けられており、これらのパスとCEP20と
の間に設けられたマルチプレクサ22が、いずれか1つの
パスを選択してCEP20のデータ入出力端子に接続する。
この選択は、MPU10からの制御信号線11により、該MPU10
がCEP20の内部レジスタに前記制御情報を入力するとき
にのみ上記パス1を選択するように制御するものであ
る。
FIG. 9 is a diagram showing a second example of the conventional configuration of the image processing apparatus using the above CEP as in FIG. The hardware configuration of this figure is different from that of FIG.
There is only a difference between the CEP 20 and the upper byte 4a of the data bus 4. In Figure 9, CEP20 and data
Between the high-order byte 4a of the bus 4, an 8-bit path 1 which is connected as it is without inverting the bit arrangement order and an 8-bit path 2 which is connected by inverting the bit arrangement order are also provided. The multiplexer 22 provided between these paths and the CEP 20 selects one of the paths and connects it to the data input / output terminal of the CEP 20.
This selection is made by the control signal line 11 from the MPU10.
Controls the path 1 only when the control information is input to the internal register of the CEP 20.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

前述の従来のデータ処理システムのうち、第8図に示さ
れた構成においては、同一の入出力端子より入出力され
る、ビットの配列順序が異なる複数種類のデータのう
ち、ある種のデータについては、データ転送相手のプロ
セッサにおいてソフトウェアにより処理して、相手のプ
ロセッサ内部でビットの配列順序を調整しなければなら
ず、ソフトウェアの負担が大きいという問題がある。
Among the above-mentioned conventional data processing systems, in the configuration shown in FIG. 8, regarding a certain kind of data among a plurality of kinds of data which are input / output from the same input / output terminal and have different bit arrangement orders. Must be processed by software in the processor of the data transfer partner to adjust the bit arrangement order inside the processor of the partner, which poses a problem that the software load is heavy.

また、第9図に示された構成においては、データ・バス
に複数個のCEPを接続する場合には、CEPの数に比例して
バス接続のための回路が増大するという問題がある。
Further, in the configuration shown in FIG. 9, when a plurality of CEPs are connected to the data bus, there is a problem that the number of circuits for bus connection increases in proportion to the number of CEPs.

本発明は上記の問題点に鑑み、なされたもので、同一の
入出力端子よりビット配列の異なる複数種類のデータを
入出力する装置を接続する際に、該装置の接続によるソ
フトウェアの負担増やハードウェアの増加を最小限に抑
えるデータ処理システムを提供することを目的とするも
のである。
The present invention has been made in view of the above problems, and when connecting a device that inputs / outputs a plurality of types of data having different bit arrangements from the same input / output terminal, the load of software increases due to the connection of the device. It is an object of the present invention to provide a data processing system that minimizes an increase in hardware.

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

第1図は本発明に到る前の段階の構成の概略を示すもの
である。本図において、1は第1の装置、2は第2の装
置、3は第3の装置、4はデータ・バス、そして5はデ
ータ・ビット接続部である。
FIG. 1 shows the outline of the configuration at the stage before reaching the present invention. In the figure, 1 is a first device, 2 is a second device, 3 is a third device, 4 is a data bus, and 5 is a data bit connection.

第1の装置1は、データ・バス4に接続され、この第1
の装置1においては、所定の複数端子より、データの種
類に応じて異なるビット配列順序で、データが入力ある
いは出力される。
The first device 1 is connected to the data bus 4 and
In the device 1, the data is input or output from a predetermined plurality of terminals in a bit arrangement order different depending on the type of data.

第2の装置2においては、前記第1の装置1において第
1のビット配列順序で入力あるいは出力されるデータ
が、前記データ・バス4を介して該第1の装置1との間
で転送される。
In the second device 2, the data input or output in the first bit arrangement order in the first device 1 is transferred to or from the first device 1 via the data bus 4. It

第3の装置3においては、前記データ・バス4を介し
て、前記第1の装置1との間で、該第1の装置1におい
て第2のビット配列順序で入力あるいは出力されるデー
タが転送され、また、前記第2の装置2との間で、該第
2の装置2において前記第1のビット配列順序で入力あ
るいは出力されるデータが転送される。
In the third device 3, the data input or output in the second bit arrangement order in the first device 1 is transferred to and from the first device 1 via the data bus 4. Further, the data input or output in the first bit arrangement order in the second device 2 is transferred to and from the second device 2.

第1図の構成においては、前記第3の装置3と前記デー
タ・バス4との間にデータ・ビット接続部5が設けら
れ、該データ・ビット接続部5は、該データ・バス4の
使用権を有するバス・マスタによって制御されることに
より、該第3の装置3において入力あるいは出力される
データのビット配列順序が一定になるように、該第3の
装置3におけるデータと、該データ・バス4上のデータ
との間のビット配列順序の変換を行なう。
In the configuration of FIG. 1, a data bit connection 5 is provided between the third device 3 and the data bus 4, and the data bit connection 5 uses the data bus 4. The data in the third device 3 and the data in the third device 3 are controlled so that the bit arrangement order of the data input or output in the third device 3 becomes constant under the control of the bus master having the right. Conversion of the bit arrangement order with the data on the bus 4 is performed.

第2図は本発明の概略構成を示す図である。本図におい
て、第1および第2の装置1,2の役割は、前述の第1図
の構成におけるものと同様であるが、第2図の構成にお
いては、前記第1の形態における第3の装置3は書込
み、および読出し可能なメモリ30に限定され、該第3の
装置3において第2の装置2との間で転送されるデータ
の全ビット幅は、Nを自然数として、前記の第1の装置
1において入力あるいは出力されるデータのビット幅の
N倍である。そして、前記メモリ30は、N個の等しいビ
ット幅を有する区分30a,30bに分けられ、且つ、前記デ
ータ・バス4も該メモリ30の各区分30a,30bに対応し
て、該メモリ30の各区分30a,30bと等しいビット幅を有
する区分4a,4bに分けられる。さらに、該第1の装置1
の前記所定の複数端子は該データ・バス4の前記区分4
a,4bのいずれか1つの各ビットに接続される。
FIG. 2 is a diagram showing a schematic configuration of the present invention. In this figure, the roles of the first and second devices 1 and 2 are the same as those in the above-mentioned configuration of FIG. 1, but in the configuration of FIG. The device 3 is limited to a writable and readable memory 30 and the total bit width of the data transferred with the second device 2 in the third device 3 is such that N is a natural number It is N times the bit width of the data input or output in the device 1. The memory 30 is divided into N sections 30a, 30b having equal bit widths, and the data bus 4 corresponds to each section 30a, 30b of the memory 30. It is divided into sections 4a and 4b having the same bit width as the sections 30a and 30b. Further, the first device 1
The predetermined plurality of terminals of the data bus 4 is the section 4
It is connected to any one bit of a and 4b.

以上の前提の上に、本発明においては、前記メモリ30と
前記データ・バス4との間にデータ・ビット接続部′を
設け、該データ・ビット接続部5′は、該データ・バス
4の使用権を有するバス・マスタによって制御されるこ
とにより、前記第1の装置1が該メモリ30の一区分をア
クセスするときには、前記第1の装置1の複数端子が接
続された前記データ・バス4の区分の各ビットを、前記
第1のビット配列順序と前記第2のビット配列順序との
間の変換が行なわれるようにビット配列順序を並べ換え
た上で、前記メモリ30の一区分の各ビットに接続し、前
記第2の装置2が該メモリ30をアクセスするときには、
該メモリ30の各区分の各ビットに、対応するデータ・バ
ス4の各区分の各ビットにそのままのビット配列順序で
接続する。
Based on the above premise, in the present invention, a data bit connecting portion 'is provided between the memory 30 and the data bus 4, and the data bit connecting portion 5'is connected to the data bus 4'. When the first device 1 accesses one section of the memory 30 under the control of the bus master having the usage right, the data bus 4 to which the plurality of terminals of the first device 1 are connected. The bits of each section of the memory 30 are rearranged so that the conversion between the first bit arrangement order and the second bit arrangement order is performed, and then each bit of the one section of the memory 30. And when the second device 2 accesses the memory 30,
Each bit of each section of the memory 30 is connected to each bit of each section of the corresponding data bus 4 in the same bit arrangement order.

本発明によれば、更に具体的には、Lを自然数として、
各々4Lビットからなる上位および下位の区分からなるデ
ータ・バス4と、各々4Lビットからなる上位および下位
の区分30a,30bからなるメモリ30との間を接続するデー
タ・バス接続システム5′において、前記データ・バス
接続システム5′は、外部からの第1の制御信号に応じ
て、前記データ・バス4の上位および下位の区分を、そ
れぞれ前記メモリ30上位および下位の区分30a,30bに、
或るいは、上位および下位を入れ替えて前記メモリ30の
下位および上位の区分30a,30bにそれぞれ接続し、更
に、外部からの第2の制御信号に応じて、前記データ・
バス4の上位および下位の区分それぞれの区分内のビッ
ト順を正順または逆順にして前記メモリ30に接続し、前
記データ・バス接続システム5′は、前記データ・バス
4の上位および下位の区分4a,4bと前記メモリ30の上位
および下位の2つの区分31a,31bの入力端子との間に第
1および第2の論理回路52,53を有し、且つ、該メモリ3
0の該上位および下位の2つの区分31a,31bの出力端子と
該データ・バス4の上位および下位の区分4a,4bとの間
に第3および第4の論理回路54,55を有し、該第1、第
2、第3および第4の論理回路52,53,54,55は、同一の
構成からなり、前記第1、第2、第3および第4の論理
回路52,53,54,55の各々は、それぞれ、4L+2ビットの
入力端子と4Lビットの出力端子とを有し、該入力端子の
4Lビットからデータを入力し、該入力端子の残り2ビッ
トから第1および第2の制御信号を入力し、前記第1の
制御信号に応じて、前記データを入力する入力端子の4L
ビットのうちの上位および下位の各々2Lビットを、前記
4Lビットの出力端子の上位および下位の各々2Lビットと
して出力するか、或るいは、上位および下位を入れ替え
て前記4Lビットの出力端子の下位および上位の各々2Lビ
ットとして出力し、更に、前記第2の制御信号に応じ
て、前記データを入力する入力端子の4Lビットのうちの
上位および下位の各々2Lビットそれぞれの内のビット順
を正順または逆順にして出力し、前記データ・バス4の
下位の区分4bの下位LビットD0〜D1は前記第1の論理回
路52の入力端子の下位LビットI0〜I1に、該データ・バ
スの下位の区分4bの次の2LビットD2〜D5は前記第2の論
理回路53の入力端子の下位2LビットI0〜I3に、そして、
該データ・バスの下位の区分4bの上位LビットD6〜D7は
前記第1の論理回路52の入力端子の下位から上位の順で
次のLビットI2〜I3に接続され、該データ・バスの上位
の区分4aの下位LビットD8〜D9は該第1の論理回路52の
入力端子の下位から上位の順で次のLビットI4〜I5に、
該データ・バスの上位の区分4aの次の2LビットD10〜D13
は該第2の論理回路53の入力端子の上位2LビットI4〜I7
に、該データー・バスの上位の区分4aの上位LビットD1
4〜D15は該第1の論理回路52の入力端子の上位Lビット
I6〜I7に接続され、前記第1および第2の論理回路52,5
3の出力端子の各々は、該第1および第2の論理回路52,
53の入力端子の各々から見た前記データ・バス4の上位
および下位の区分4a,4bの各ビットとの接続関係に等し
い対応で、前記メモリ30の上位および下位の区分31a,31
bの入力端子の各々と接続され、前記メモリ30の上位お
よび下位の区分31a,31bの出力端子の各々と前記第3お
よび第4の論理回路54,55の入力端子の各々とは、前記
のデータ・バス4上位および下位の区分4a,4bの各ビッ
トと該第1および第2の論理回路52,53の入力端子との
接続関係に等しい対応で接続され、そして、前記第3お
よび第4の論理回路54,55の出力端子の各々と前記デー
タ・バス4の上位および下位の区分4a,4bの各ビットと
は、前記第1および第2の論理回路52,53の出力端子の
各々と前記メモリ30の上位および下位の区分4a,4bの入
力端子との接続関係に等しい対応で接続され、前記第1
および第2の論理回路52,53は常に出力イネーブルであ
るように設定され、前記第3および第4の論理回路54,5
5は、前記バス・マスタにより、該メモリ30からのデー
タ読出し時においてのみ出力イネーブルとなるように制
御されることを特徴とするデータ・バス接続システムが
提供される。
According to the present invention, more specifically, L is a natural number,
In a data bus connection system 5'connecting between a data bus 4 consisting of upper and lower divisions each consisting of 4L bits and a memory 30 consisting of upper and lower divisions 30a and 30b each consisting of 4L bits, The data bus connection system 5 ', according to a first control signal from the outside, divides the upper and lower sections of the data bus 4 into the upper and lower sections 30a, 30b of the memory 30, respectively.
Alternatively, the upper and lower sides are interchanged and connected to the lower and upper sections 30a and 30b of the memory 30, respectively, and further, in accordance with a second control signal from the outside, the data.
The upper and lower divisions of the bus 4 are connected to the memory 30 with the bit order in each division being forward or reverse, and the data bus connection system 5 ′ is the upper or lower division of the data bus 4. 4a and 4b and first and second logic circuits 52 and 53 between the upper and lower two sections 31a and 31b of the memory 30, and the memory 3
Third and fourth logic circuits 54, 55 between the output terminals of the upper and lower two divisions 31a, 31b of 0 and the upper and lower divisions 4a, 4b of the data bus 4, The first, second, third and fourth logic circuits 52, 53, 54 and 55 have the same configuration, and the first, second, third and fourth logic circuits 52, 53, 54 , 55 has an input terminal of 4L + 2 bits and an output terminal of 4L bits, respectively.
Input data from 4L bits, input first and second control signals from the remaining 2 bits of the input terminal, and input 4L of the input terminal according to the first control signal.
The upper and lower 2L bits of each bit are
The 4L-bit output terminal is output as the upper and lower 2L bits respectively, or the upper and lower sides are interchanged to output as the lower and upper 2L bits of the 4L-bit output terminal, respectively. In accordance with a control signal of 2, the upper and lower 2L bits of the 4L bits of the input terminal for inputting the data are output in the normal or reverse order of the respective 2L bits, and the data of the data bus 4 is output. The lower L bits D0 to D1 of the lower section 4b are to the lower L bits I0 to I1 of the input terminal of the first logic circuit 52, and the next 2L bits D2 to D5 of the lower section 4b of the data bus are the above mentioned. To the lower 2L bits I0 to I3 of the input terminal of the second logic circuit 53, and
The upper L bits D6 to D7 of the lower section 4b of the data bus are connected to the next L bits I2 to I3 of the input terminal of the first logic circuit 52 in the order from the lower to the upper, and The lower L bits D8 to D9 of the upper section 4a are transferred to the next L bits I4 to I5 in order from the lower order of the input terminals of the first logic circuit 52 to the higher order,
The next 2L bits D10-D13 of the upper section 4a of the data bus
Is the upper 2L bits I4 to I7 of the input terminal of the second logic circuit 53.
, The upper L bit D1 of the upper section 4a of the data bus
4 to D15 are upper L bits of the input terminal of the first logic circuit 52
I6 to I7 are connected to the first and second logic circuits 52 and 5
Each of the three output terminals is connected to the first and second logic circuits 52,
The upper and lower divisions 31a, 31 of the memory 30 corresponding to the connection relationship with each bit of the upper and lower divisions 4a, 4b of the data bus 4 as seen from each of the 53 input terminals.
Each of the output terminals of the upper and lower divisions 31a and 31b of the memory 30 and the input terminals of the third and fourth logic circuits 54 and 55 are connected to the respective input terminals of the memory b. The data bus 4 is connected in correspondence with each bit of the upper and lower divisions 4a and 4b and the input terminals of the first and second logic circuits 52 and 53, and is connected to the third and fourth portions. Of the output terminals of the logic circuits 54 and 55 and the bits of the upper and lower divisions 4a and 4b of the data bus 4 are connected to the output terminals of the first and second logic circuits 52 and 53, respectively. The memory 30 is connected in a manner corresponding to the connection relationship with the input terminals of the upper and lower sections 4a and 4b.
And the second logic circuits 52, 53 are always set to output enable, and the third and fourth logic circuits 54,5
The data bus connection system 5 is controlled by the bus master so that the output is enabled only when data is read from the memory 30.

〔作 用〕[Work]

第1図に示される構成においては、第1の装置1と第2
の装置との間では第1のビット配列順序でデータのやり
取りが行なわれる。
In the configuration shown in FIG. 1, the first device 1 and the second device 1
Data is exchanged with the device in the first bit arrangement order.

第2の装置2と第3の装置3との間でのデータのやり取
りの際は、このことを認識しているバス・マスタの制御
により、データ・バス4と第3の装置3との間に設けら
れたデータ・ビット接続部5はデータ・バス4上のデー
タ、あるいは、第3の装置において入出力されるデータ
を、変更しないでそのまま相手方に接続する。したがっ
て、第2の装置2と第3の装置3との間では第1のビッ
ト配列順序の形のままのデータがやり取りされる。
When exchanging data between the second device 2 and the third device 3, the bus master, which recognizes this, controls the data bus 4 and the third device 3. The data bit connection unit 5 provided in the above section connects the data on the data bus 4 or the data input / output in the third device to the other party without change. Therefore, the data in the form of the first bit arrangement order is exchanged between the second device 2 and the third device 3.

第1の装置1と第3の装置3との間でのデータのやり取
りの際、データは、第1の装置1からデータ・バス4上
までは第2のビット配列順序の形で存在しているが、第
3の装置3とデータ・バス4との間に設けられているデ
ータ・ビット接続部5において、第1の装置1との間の
データ転送であるときは、そのことを認識しているバス
・マスタの制御に従って、データ・バス上の第2のビッ
ト配列順序のデータは、第1のビット配列順序のデータ
に変換されて第3の装置3上へ出力され、逆に、第3の
装置3から第1のビット配列順序で出力されたデータは
第2のビット配列順序に変換されてデータ・バス4上に
出力される。
When exchanging data between the first device 1 and the third device 3, the data exists in the form of the second bit arrangement order from the first device 1 to the data bus 4. However, if the data bit connection 5 provided between the third device 3 and the data bus 4 is a data transfer with the first device 1, the fact is recognized. Under the control of the bus master, the data of the second bit arrangement order on the data bus is converted into the data of the first bit arrangement order and output to the third device 3, and vice versa. The data output from the device 3 of No. 3 in the first bit arrangement order is converted into the second bit arrangement order and output to the data bus 4.

データ・バス4の使用権を獲得すると、該データ・バス
を介してのデータ転送を行なわしめるバス・マスタは、
通常、データのやり取りを行なう装置の一方であること
が多いが、本発明の構成の上からは、第1図中に示され
ない他の装置であってもよい。
When the right to use the data bus 4 is acquired, the bus master that transfers data via the data bus is
Usually, it is often one of the devices for exchanging data, but in view of the configuration of the present invention, another device not shown in FIG. 1 may be used.

以上のように、第1図の構成においては、ソフトウェア
上の特別な処理も必要とせず、また、第1の装置1が多
数接続される場合においても、接続に必要なハードウェ
アは第3の装置3に付設されたデータ・ビット接続部5
だけであってハードウェアを増設する必要はない。
As described above, the configuration of FIG. 1 does not require special processing in software, and even when a large number of first devices 1 are connected, the hardware required for the connection is the third one. Data bit connection section 5 attached to the device 3
There is no need to add hardware.

第2図に示される本発明の概略構成においては、前述の
第1の構成の状況と異なるのは、第1の装置1において
入出力されるデータのビット幅が、Nを自然数として、
第3の装置3に対応するメモリ30において第2の装置2
との間でのデータ転送が行なわれるときのデータのビッ
ト幅の1/Nであることにある。したがって、本発明の概
略構成においては、メモリ30を上記第1の装置における
データのビット幅に等しいビット幅を有するN個の区分
に分割して、個々の区分毎にアクセスできる。すなわ
ち、データの書込み、あるいは読出しの制御が可能とな
るようにしておく。データ・バス4に関しては、実際に
構成上、手を加えるわけではないが、上記のメモリ30の
各区分30a,30b、あるいは次に述べる第1の装置1との
接続の対応関係を示すために、上記メモリ30の各区分30
a,30bと同じビット幅を有する区分4a,4bに分けて示して
いる。なお、第2図では仮にN=2として示しているの
でメモリ30およびデータ・バス4は2つの区分を有して
いる。
In the schematic configuration of the present invention shown in FIG. 2, the difference from the situation of the above-described first configuration is that the bit width of the data input / output in the first device 1 is such that N is a natural number.
In the memory 30 corresponding to the third device 3, the second device 2
It is 1 / N of the bit width of the data when the data transfer between and is performed. Therefore, in the schematic configuration of the present invention, the memory 30 can be divided into N sections having a bit width equal to the bit width of the data in the first device, and can be accessed for each individual section. That is, writing or reading of data can be controlled. With respect to the data bus 4, this is not actually changed in the structure, but in order to show the correspondence relationship between the respective sections 30a, 30b of the memory 30 or the first device 1 described below. , Each section of the above memory 30
It is shown divided into sections 4a and 4b having the same bit width as a and 30b. Note that in FIG. 2, the memory 30 and the data bus 4 are divided into two sections because they are shown as N = 2.

さて、第1の装置1は上記データ・バス4の1区分、例
えば、4aに接続される。こうして、メモリ30の各区分30
a,30bへのアクセスはデータ・バス4の該区分4aを介し
て行なわれる。
Now, the first device 1 is connected to one section of the data bus 4, for example 4a. Thus, each section 30 of the memory 30
Access to a, 30b is made via the section 4a of the data bus 4.

本発明の概略構成におけるデータ・ビット接続部5′は
前述の第1図の構成におけるビット配列順序の変換動作
に加え、第1の装置1のようにビット幅の狭い装置から
のメモリ30へのアクセスの際には、バス・マスタの制御
により、指定されたメモリ30の区分のみにアクセスし得
るように上記データ・バス4の区分4aと該指定されたメ
モリ30の区分とを接続する。あるいは、メモリ30の全ビ
ット幅に等しい幅でデータ転送を行なう装置からのアク
セスに対しては、メモリ30の全ての区分30a,30bをデー
タ・バス4の対応する区分4a,4bに接続するというよう
に、該メモリ30がどの装置からのアクセスを受けるかに
より、そのビット幅に応じた制御をも行なう。こうし
て、第1の装置1のデータの入出力時のビット幅がメモ
リ30のビット幅の1/Nであるときも、メモリ30とデータ
・バス4の間に設けられたデータ・ビット接続部5′に
よって、ビット配列順序を整合させると共に、メモリ上
の各区分にアクセスできるようにする。
In addition to the conversion operation of the bit arrangement order in the configuration of FIG. 1 described above, the data / bit connection unit 5'in the schematic configuration of the present invention transfers data from a device having a narrow bit width such as the first device 1 to the memory 30. At the time of access, the section 4a of the data bus 4 and the section of the designated memory 30 are connected so that only the section of the designated memory 30 can be accessed under the control of the bus master. Alternatively, it is said that all the sections 30a, 30b of the memory 30 are connected to the corresponding sections 4a, 4b of the data bus 4 for access from a device that transfers data with a width equal to the total bit width of the memory 30. As described above, depending on from which device the memory 30 is accessed, the control corresponding to the bit width is also performed. Thus, even when the bit width at the time of inputting / outputting data of the first device 1 is 1 / N of the bit width of the memory 30, the data bit connecting section 5 provided between the memory 30 and the data bus 4 is provided. By ', the bit arrangement order is matched and each section on the memory can be accessed.

〔実施例〕〔Example〕

〔第1実施例の説明〕(第3図、第4図) 第3図は本発明の第1実施例の全体構成図である。本図
において、4は16ビットのデータ・バス、4a,4bはそれ
ぞれデータ・バス4の上位バイト(8ビット)、および
下位バイト(8ビット)、6a,6bは8ビットのパス、7a,
7bは8ビットのビット配列順序を逆転させるパス、10は
16ビットのマイクロ・プロセッサ・ユニット(MPU)、1
1はMPU10による制御信号線、20は前述のCEP、21はCEPに
よる 制御信号線、50,51はマルチプレクサ、30はメモ
リ、30a,30bはそれぞれ、メモリ30の上位側、および下
位側の8ビット領域である。
[Explanation of First Embodiment] (FIGS. 3 and 4) FIG. 3 is an overall configuration diagram of a first embodiment of the present invention. In this figure, 4 is a 16-bit data bus, 4a and 4b are the upper byte (8 bits) and lower byte (8 bits) of the data bus 4, 6a and 6b are 8-bit paths, and 7a,
7b is a path that reverses the order of 8-bit bit arrangement, 10 is
16-bit microprocessor unit (MPU), 1
1 is a control signal line by the MPU 10, 20 is the above-mentioned CEP, 21 is a control signal line by the CEP, 50 and 51 are multiplexers, 30 is a memory, and 30a and 30b are the upper and lower 8 bits of the memory 30, respectively. Area.

第3図は第2図の本発明の第2の形態に対応するもので
あって破線5′内が第2図のデータ・ビット接続部5′
の構成例を示すものである。MPU10、およびCEP20は各々
がメモリ30をアクセスするときに、バス・マスタとなっ
て、それぞれの制御信号11,21を介してデータ・ビット
接続部5′、具体的にはマルチプレクサ50,51を制御す
る。マルチプレクサ50の一方側には、データ・バス4の
上位バイト4aからのビット配列順序をそのまま保った8
ビットのパス6a、および、同じくデータ・バス4の上位
バイト4aからの第3図のRの位置でビットの配列順序を
逆転した8ビットのパス7aが接続されており、また、メ
モリ30の上位8ビット領域30aに接続される該マルチプ
レクサ50の他方側の8ビットのパスは、上記の制御によ
り、前記の2つの8ビットのパス6a,7aのいずれかと接
続される。マルチプレクサ51の一方側には、同様に、デ
ータ・バス4の上位バイト4aからの図中Rの位置でビッ
ト配列順序を逆転した8ビットのパス7bと、今度はデー
タ・バス4の下位バイト4bからのビット配列順序を変え
ない8ビットのパス6bとが接続されており、メモリ30の
下位8ビット領域30bに接続される該マルチプレクサ51
の他方側の8ビットのパスもまた、前記の制御により、
これらの2つのパス6b,7bのいずれかと接続される。
FIG. 3 corresponds to the second embodiment of the present invention shown in FIG. 2, and the inside of the broken line 5'is the data bit connecting portion 5'of FIG.
FIG. When each of the MPU 10 and the CEP 20 accesses the memory 30, the MPU 10 and the CEP 20 serve as a bus master and control the data bit connection unit 5 ′, specifically, the multiplexers 50 and 51 via the respective control signals 11 and 21. To do. On one side of the multiplexer 50, the bit arrangement order from the upper byte 4a of the data bus 4 is kept unchanged.
A bit path 6a and an 8-bit path 7a in which the bit arrangement order is reversed at the position of R in FIG. 3 from the upper byte 4a of the data bus 4 are connected, and the upper part of the memory 30 is connected. The 8-bit path on the other side of the multiplexer 50 connected to the 8-bit area 30a is connected to either of the two 8-bit paths 6a and 7a by the above control. Similarly, on one side of the multiplexer 51, an 8-bit path 7b in which the bit arrangement order is reversed at the position of R from the upper byte 4a of the data bus 4 and the lower byte 4b of the data bus 4 this time. Is connected to the 8-bit path 6b which does not change the bit arrangement order from the multiplexer 51 connected to the lower 8-bit area 30b of the memory 30.
The 8-bit path on the other side of
It is connected to either of these two paths 6b and 7b.

MPU10がメモリ30をアクセスするときには、MPU10がマル
チプレクサ50および51を、それぞれ、パス6a側およびパ
ス6b側に接続されるように制御して、MPU10からデータ
・バス4、さらに、パス6aおよびパス6bを介してメモリ
30のそれぞれ、上位8ビット領域30aおよび下位8ビッ
ト領域30bに至るデータ転送のルートが確立されるよう
にする。
When the MPU 10 accesses the memory 30, the MPU 10 controls the multiplexers 50 and 51 so that they are connected to the path 6a side and the path 6b side, respectively, so that the MPU 10 can connect the data bus 4 to the path 6a and the path 6b. Memory through
A route for data transfer to each of the upper 8-bit area 30a and the lower 8-bit area 30b is established.

データ・バス4に複雑接続されるCEP20のいずれかがメ
モリ30の上位8ビット領域30aをアクセスするときに
は、CEP20がマルチプレクサ50を制御して、データ・バ
ス4の上位バイト4aから、ビット配列順序を逆転するパ
ス7aを介してメモリ30の上位8ビット領域30aに至るデ
ータ転送のルートが確立されるようにする。
When any of the CEPs 20 that are complicatedly connected to the data bus 4 accesses the upper 8-bit area 30a of the memory 30, the CEP 20 controls the multiplexer 50 to set the bit arrangement order from the upper byte 4a of the data bus 4. A route for data transfer to the upper 8-bit area 30a of the memory 30 is established through the reverse path 7a.

また、CEP20がメモリ30の下位8ビット領域30bをアクセ
スするときには、マルチプレクサ51を制御して、データ
・バス4の上位バイト4aから、ビット配列順序を逆転す
るパス7bを介してメモリ30の下位8ビット領域30bに至
るデータ転送のルートが確立されるようにする。
When the CEP 20 accesses the lower 8-bit area 30b of the memory 30, it controls the multiplexer 51 to start the lower 8 bits of the memory 30 from the upper byte 4a of the data bus 4 through the path 7b which reverses the bit arrangement order. A route for data transfer to the bit area 30b is established.

第4図は第3図のメモリ30およびデータ・ビット接続部
5′のさらに具体的な構成例を示すものである。メモリ
30を実現する上位および下位の8ビットのメモリ・チッ
プ30a,30bは、それぞれ、8ビットのRAMである。そし
て、マルチプレクサ50は、前記の8ビットのパス6aとメ
モリ30の上位8ビット領域30aとの間を接続、あるい
は、非接続とするためのバス・トランシーバ50a、およ
び、前記のビット配列順序を逆転する8ビットのパス7a
とメモリ30の上位8ビット領域30aとの間を接続、ある
いは、非接続とするバス・トランシーバ50bとから構成
されている。バス・トランシーバ50a,50bは例えば市販
の74245型のICのように、双方向のトライステート・バ
ッファを各ビット毎に有してなるものであればよい。図
中のDIR、およびが前記の制御入力端子であって、
が“H"レベルのときには双方向共OFFである(しゃ断さ
れている)が、が“L"レベルのときには、DIRの
“L"、あるいは“H"に応じて、メモリ30aからの読出し
方向、あるいはメモリ30aへの書込み方向へのみONとな
る(導通する)。マルチプレクサ51の構成も、上記のマ
ルチプレクサ50の構成と全く同様に、前記パス6bまたは
パス7bのいずれかとメモリ30の下位8ビット領域30bと
を接続するバス・トランシーバ51aおよび51bからなる。
前述のようにパス6a,6bはデータ・バス4を介して16ビ
ットのマイクロプロセッサ、MPU10に至るものであるの
で、バス・トランシーバ50aおよび51aをイネーブルにす
る端子には、MPU10からメモリ30をアクセスする時に
“L"となるMPUアクセス信号が印加され、バス・トラン
シーバ50bおよび51bの端子には、それぞれ、CEP20が
メモリ30の上位8ビット領域30a、あるいは下位8ビッ
ト領域30bをアクセスするときに“L"となるCEPアクセス
信号が印加される。また、各バス・トランシーバ50a,50
b,51a,51bのDIR端子には、8ビットメモリ・チップ30a,
30bの出力イネーブル信号入力端子▲▼へのメモリ
・リード信号が共通に接続され、いずれかのメモリ8ビ
ット領域30aまたは30bからの読出し時には全てのバス・
トランシーバ50a,50b,51a,51bにおいてメモリからの読
出し方向になるようにしている。各メモリ・チップ30a,
30bへの書込みについてはMPU10あるいはCEP20からのラ
イト信号が各メモリ・チップ30a,30bのライト・イネー
ブル端子▲▼に印加されるようにしている。
FIG. 4 shows a more specific structural example of the memory 30 and the data / bit connecting section 5'of FIG. memory
The upper and lower 8-bit memory chips 30a and 30b for realizing 30 are 8-bit RAMs, respectively. The multiplexer 50 reverses the bus transceiver 50a for connecting or disconnecting the 8-bit path 6a and the upper 8-bit area 30a of the memory 30 and the bit arrangement order. 8-bit path 7a
And the upper 8-bit area 30a of the memory 30 are connected or not connected to each other by a bus transceiver 50b. The bus transceivers 50a and 50b may be those having a bidirectional tristate buffer for each bit, such as a commercially available 74245 type IC. DIR and in the figure are the control input terminals,
When is at "H" level, both directions are OFF (cut off), but when is at "L" level, the reading direction from the memory 30a depends on "L" or "H" of DIR, Alternatively, it is turned on (conducted) only in the writing direction to the memory 30a. The structure of the multiplexer 51 is made up of bus transceivers 51a and 51b which connect either the path 6b or the path 7b to the lower 8-bit area 30b of the memory 30, just like the structure of the multiplexer 50.
As described above, since the paths 6a and 6b are connected to the 16-bit microprocessor, MPU10, via the data bus 4, the MPU10 can access the memory 30 to the terminals that enable the bus transceivers 50a and 51a. When the CEP 20 accesses the upper 8-bit area 30a or the lower 8-bit area 30b of the memory 30, the MPU access signal that becomes "L" is applied to the terminals of the bus transceivers 50b and 51b, respectively. A CEP access signal of L "is applied. In addition, each bus transceiver 50a, 50
The 8-bit memory chips 30a, 30a,
The memory read signal to the output enable signal input terminal ▲ ▼ of 30b is connected in common, and when reading from either memory 8-bit area 30a or 30b, all bus
In the transceivers 50a, 50b, 51a, 51b, the reading direction from the memory is set. Each memory chip 30a,
For writing to 30b, the write signal from the MPU 10 or CEP 20 is applied to the write enable terminal ▲ ▼ of each memory chip 30a, 30b.

ところで、第3図の構成において、MPU10が8ビットの
マイクロ・プロセッサ・ユニットであって、メモリ30も
8ビットであるときには、MPU10からデータ・バス4の
下位バイト4bへのパスは存在せず、したがってデータ・
バス4の下位バイト4bは不要となり、また、マルチプレ
クサ51および、パス6b,7bも不要となる。このとき、マ
ルチプレクサ50は、8ビットのメモリ30aへアクセスす
るのがMPU10であるか、CEP20であるかに応じてパス6aま
たはパス7aをメモリ30aに接続する。この機能が、第4
図において、メモリ・チップ30a、バス・トランシーバ5
0a,50b、そして、パス6a,7aのみからなる構成により実
現されることは明らかである。このときの構成が、本発
明の第1の形態に対応する。
By the way, in the configuration of FIG. 3, when the MPU 10 is an 8-bit microprocessor unit and the memory 30 is also 8-bit, there is no path from the MPU 10 to the lower byte 4b of the data bus 4, Therefore the data
The lower byte 4b of the bus 4 is unnecessary, and the multiplexer 51 and the paths 6b and 7b are also unnecessary. At this time, the multiplexer 50 connects the path 6a or the path 7a to the memory 30a depending on whether the MPU 10 or the CEP 20 accesses the 8-bit memory 30a. This function is the fourth
In the figure, memory chip 30a, bus transceiver 5
It is obvious that this can be realized by the configuration including only 0a, 50b and paths 6a, 7a. The configuration at this time corresponds to the first aspect of the present invention.

〔第2実施例の説明〕(第5図、第6図) 第5図は本発明の第2実施例におけるデータ・ビット接
続部5′およびメモリ30の構成図である。本図におい
て、4aおよび4bは、それぞれ、16ビットのデータ・バス
4の上位8ビットおよび下位8ビット、31aおよび31b
は、それぞれ8ビットのRAM、52,53,54,55は8ビット×
1KのROMである。
[Explanation of the Second Embodiment] (FIGS. 5 and 6) FIG. 5 is a block diagram of the data / bit connection section 5'and the memory 30 in the second embodiment of the present invention. In the figure, 4a and 4b are the upper 8 bits and the lower 8 bits of the 16-bit data bus 4, 31a and 31b, respectively.
Is 8-bit RAM, 52,53,54,55 is 8-bit ×
It is a 1K ROM.

8ビットのRAM31aおよび31bは、それぞれ8ビットのデ
ータ入力端子およびデータ出力端子を有しており、チッ
プ・イネーブル端子CEに、それぞれ上位バイト・アクセ
ス信号、あるいは、下位バイト・アクセス信号が印加さ
れることにより書込み、あるいは読出しが行なわれる。
また、それぞれのWE端子に印加される信号が“H"か“L"
かに応じてデータ書込み、あるいはデータ読出し状態と
なる。
The 8-bit RAMs 31a and 31b each have an 8-bit data input terminal and a data output terminal, and a high-order byte access signal or a low-order byte access signal is applied to the chip enable terminal CE, respectively. As a result, writing or reading is performed.
Also, the signal applied to each WE pin is "H" or "L".
Data is written or data is read depending on whether or not.

ROM52,53,54,55はRAM31a,31bのデータ書込み用およびデ
ータ読出し用に、そして、それぞれにおいて上位バイト
側および下位バイト側に1つずつ設けられている。これ
らは、10ビットのデータの入力に応じて8ビットのデー
タを出力するものであれば、PROMであってもPAL等の論
理回路であってもよい。第5図の例では、I0〜I7および
X,Yの10ビットのデータの入力に応じて、0〜7の
8ビットのデータを出力する8ビット×1KのPROM(プロ
グラマブルROM)が用いられており、52,53,54,55の4つ
共全く同一内容が書込まれたものである。これらのPROM
における入力データと出力データの関係は、X端子およ
びY端子を制御入力端子と考えて、下表のとおりとなっ
ている。下表において、ENは出力イネーブル端子、any
は1でも0でもよいことを、Zはハイ・インピーダンス
状態を表わす。
The ROMs 52, 53, 54, 55 are provided for writing data to and reading data from the RAMs 31a, 31b, and one for each of the upper byte side and the lower byte side in each. These may be PROMs or logic circuits such as PALs as long as they output 8-bit data in response to input of 10-bit data. In the example of FIG. 5, I0 to I7 and
An 8-bit × 1K PROM (programmable ROM) that outputs 8-bit data of 0 to 7 in response to the input of 10-bit data of X and Y is used, and 4 of 52, 53, 54, 55 are used. Both are exactly the same. These proms
The relationship between the input data and the output data in is as shown in the table below, considering the X terminal and the Y terminal as control input terminals. In the table below, EN is the output enable pin, any
Can be 1 or 0, and Z represents a high impedance state.

第5図において各チップ間の接続は以下のとおりであ
る。まず、データ・バス4の下位バイト4bの下位2ビッ
トD0〜D1は書込み用上位バイト側ROM52の入力端子の下
位2ビットI0〜I1に、データ・バス4の下位バイト4bの
次の4ビットD2〜D5は書込み用下位バイト側ROM53の入
力端子の下位4ビットI0〜I3に、そして、データ・バス
4の下位バイト4bの上位2ビットD6〜D7は該ROM52の入
力端子の次の2ビットI2〜I3に接続される。さらに、デ
ータ・バス4の上位バイト4aの下位2ビットD8〜D9は該
ROM52の入力端子の次の2ビットI4〜I5に、データ・バ
ス4の上位バイト4aの次の4ビットD10〜D13は前記ROM5
3の入力端子の次のビットI4〜I7に、そして、データ・
バス4の上位バイト4aの上位2ビットD14〜D15は該ROM5
2の入力端子の上位2ビットI6〜I7に接続される。
The connections between the chips in FIG. 5 are as follows. First, the lower 2 bits D0 to D1 of the lower byte 4b of the data bus 4 are set to the lower 2 bits I0 to I1 of the input terminal of the writing upper byte ROM 52, and the next 4 bits D2 of the lower byte 4b of the data bus 4 are set. .About.D5 are in the lower 4 bits I0 to I3 of the input terminal of the write lower byte side ROM 53, and the upper 2 bits D6 to D7 of the lower byte 4b of the data bus 4 are the next 2 bits I2 of the input terminal of the ROM 52. ~ Connected to I3. Further, the lower 2 bits D8 to D9 of the upper byte 4a of the data bus 4 are
In the next two bits I4 to I5 of the input terminal of the ROM52, the next four bits D10 to D13 of the upper byte 4a of the data bus 4 are the ROM5.
To the next bit I4 to I7 of the input terminal of 3, and the data
The upper two bits D14 to D15 of the upper byte 4a of the bus 4 are the ROM5
It is connected to the upper 2 bits I6 to I7 of the 2nd input terminal.

前記下位バイト側RAM31bの入力端子の下位2ビットI0〜
I1には前記ROM52の出力端子の下位2ビット0〜1
が、該RAM31bの入力端子の次の4ビットI2〜I5には、前
記ROM53の出力端子の下位4ビット0〜3が、そし
て、該RAM31bの入力端子の上位2ビットI6〜I7には前記
ROM52の出力端子の次の2ビット2〜3が接続され
る。さらに、前記上位バイト側RAM31aの入力端子の下位
2ビットI0〜I1には前記ROM52の出力端子の次の2ビッ
トO4〜O5が、該RAM31aの入力端子の次の4ビットI2〜I5
には前記ROM53の出力端子の上位4ビット4〜7
が、そして、該RAM31aの入力端子の上位2ビットI6〜I7
には前記ROM52の出力端子の上位2ビット6〜7が
接続される。
Lower two bits I0 to I0 of the input terminal of the lower byte side RAM31b
The lower 2 bits 0 to 1 of the output terminal of the ROM 52 are included in I1.
However, the lower 4 bits 0 to 3 of the output terminal of the ROM 53 are in the next 4 bits I2 to I5 of the input terminal of the RAM 31b, and the upper 2 bits I6 to I7 of the input terminal of the RAM 31b are
The next 2 bits 2 to 3 of the output terminal of the ROM 52 are connected. Further, in the lower 2 bits I0 to I1 of the input terminal of the upper byte side RAM31a, the next 2 bits O4 to O5 of the output terminal of the ROM 52 are set, and in the lower 4 bits I2 to I5 of the input terminal of the RAM 31a.
Are the upper 4 bits 4 to 7 of the output terminal of the ROM 53.
, And the upper 2 bits I6 to I7 of the input terminal of the RAM 31a
The upper 2 bits 6 to 7 of the output terminal of the ROM 52 are connected to.

次に、RAM31a,31bの出力側の接続に関しては、RAM31aお
よび31bの各出力端子と、読出し用上位バイト側ROM54お
よび読出し用下位バイト側ROM55の各入力端子との対応
が、前記データ・バス4の上位バイト4aおよび下位バイ
ト4bの各ビットと、前記ROM52および53の各入力端子と
の対応に等しくなるように接続され、さらに、該ROM54
および55の各出力端子と、データ・バス4の上位バイト
4aおよび下位バイト4bの各ビットとの対応が、前記ROM5
2および53の各出力端子と、前記RAM31aおよび31bの各入
力端子との対応に等しくなるように接続される。
Next, regarding the connection on the output side of the RAMs 31a and 31b, the correspondence between the output terminals of the RAMs 31a and 31b and the input terminals of the read upper byte side ROM 54 and the read lower byte side ROM 55 corresponds to the data bus 4. Of the upper byte 4a and the lower byte 4b, and the input terminals of the ROMs 52 and 53 are connected so as to have the same correspondence.
And 55 output terminals and upper byte of data bus 4
4a and lower bits 4b correspond to the ROM5
The output terminals of 2 and 53 and the input terminals of the RAMs 31a and 31b are connected so as to have the same correspondence.

なお、第5図と上記の説明からわかるように、RAM31a,3
1bの入力側においても出力側においても、ROM52,53の入
力端子、あるいはROM54,55の出力端子から見た、データ
・バス4の各端子との接続と、該ROM52,53の出力端子、
あるいはROM54,55の入力端子から見た、RAM31a,31bの入
力端子あるいは出力端子との接続とは対称になってい
る。すなわち、例えば、データ・バス4の上位および下
位バイト4a,4bの各ビットとROM52,53の入力端子の各々
との接続(対応)関係は、RAM31a,31bの入力端子の各々
と該ROM52,53の出力端子の各々との接続(対応)関係に
等しい。
As can be seen from FIG. 5 and the above description, the RAM 31a, 3
On both the input side and the output side of 1b, the connection with each terminal of the data bus 4 as seen from the input terminals of the ROM52, 53 or the output terminals of the ROM54, 55, and the output terminals of the ROM52, 53,
Alternatively, the connection with the input terminals or output terminals of the RAMs 31a and 31b viewed from the input terminals of the ROMs 54 and 55 is symmetrical. That is, for example, the connection (correspondence) relationship between each bit of the upper and lower bytes 4a, 4b of the data bus 4 and each of the input terminals of the ROMs 52, 53 is as follows. Is equivalent to the connection (correspondence) relationship with each of the output terminals.

以上の構成において、さらに、書込み用ROM52,53は常時
イネーブルとし、読出し側ROM54,55は、データ読出し時
のみバス・マスタ(MPU10またはCEP20)からの読出し
(リード)信号を“0"とすることにより出力イネーブル
とされる。
In the above configuration, the write ROMs 52 and 53 are always enabled, and the read ROMs 54 and 55 set the read (read) signal from the bus master (MPU10 or CEP20) to "0" only when reading data. The output is enabled by.

前記X端子には、4つのROM52,53,54,55共通に、メモリ
をアクセスする装置における入出力の際のデータのビッ
ト配列順序に応じて、“0"または“1"のビット逆転制御
信号が印加され、同じく4つのROMに共通のY端子につ
いては、8ビットのバス・マスタ、すなわち、第3図の
CEP20がメモリの下位バイト側31bをアクセスするときに
は、このY端子に“1"を印加する。このY端子に印加す
る信号としては、例えば、通常16ビットのマイクロプロ
セッサでは用いない、アドレスの最下位ビットを用い
る。
The X terminal has a bit inversion control signal of "0" or "1" common to the four ROMs 52, 53, 54, 55 depending on the bit arrangement sequence of data at the time of input / output in the device that accesses the memory. Is applied, and the Y terminal, which is also common to the four ROMs, has an 8-bit bus master, that is, as shown in FIG.
When the CEP 20 accesses the lower byte side 31b of the memory, "1" is applied to this Y terminal. As the signal applied to the Y terminal, for example, the least significant bit of the address, which is not normally used in a 16-bit microprocessor, is used.

16ビットのMPU10がメモリをアクセスするときは、(X,
Y)=(0,0)とする。このときはデータ・バス4の16ビ
ットD0〜D15の各々はそのままRAM31a,31b上の入力端子I
0〜I15上に印加される。そして、MPU10よりRAM31a,31b
の両者に対し、アクセス信号をCE端子に、アドレス信号
をアドレス端子に、そして書込み信号をWE端子に印加す
ることにより、データ・バス4上の16ビットのデータ
は、そのままのビット配列順序でメモリに書込まれる。
また、読出し時においても、MPU10よりROM54,55のEN端
子に読出し信号を印加することにより、RAM31a,31bの出
力端子0〜15からのデータはそのままデータ・バス
4上に取り出される。すなわち、この場合、第5図の構
成は等価的に第6図(1)のようになる。
When the 16-bit MPU10 accesses the memory, (X,
Y) = (0,0). At this time, each of the 16 bits D0 to D15 of the data bus 4 is directly input terminal I on the RAM 31a, 31b.
Applied on 0 to I15. And RAM31a, 31b from MPU10
By applying the access signal to the CE terminal, the address signal to the address terminal, and the write signal to the WE terminal, the 16-bit data on the data bus 4 is stored in the memory in the same bit arrangement order. Written in.
Also, at the time of reading, by applying a read signal from the MPU 10 to the EN terminals of the ROMs 54 and 55, the data from the output terminals 0 to 15 of the RAMs 31a and 31b are taken out to the data bus 4 as they are. That is, in this case, the configuration of FIG. 5 is equivalently as shown in FIG. 6 (1).

次に,CEP20がメモリの上位バイト側31aをアクセスする
ときには、(X,Y)=(1,0)とする。このとき、データ
・バス4の上位バイト4a上のデータD8〜D15のビット配
列順序が逆転されてD15〜D8となってRAM31aの入力端子I
0〜I7に印加される。そして、CEP20よりRAM31aのみのCE
端子に上位バイト・アクセス信号を印加し、さらにアド
レス信号および書込み信号を印加することにより、メモ
リ・チップ31aに上記のD15〜D8が書込まれる。ここで、
CEP20よりデータ・バス4の上位バイト4a上へ送られて
来たデータD8〜D15は、元々、メモリに記録すべきビッ
ト配列順序を逆転したものであったので、上記のように
D15〜D8の順となったことにより、正しいビット配列順
序でメモリに書込まれたことになる。読出し時において
も、RAM31aの出力端子0〜7から出力されたデータ
は、ビット配列順序を逆転されてデータ・バス4の上位
バイト4aに出力される。すなわち、この場合、第5図の
構成は等価的に第6図(4)のようになる。
Next, when the CEP 20 accesses the upper byte side 31a of the memory, (X, Y) = (1,0). At this time, the bit arrangement order of the data D8 to D15 on the upper byte 4a of the data bus 4 is reversed and becomes D15 to D8, which is the input terminal I of the RAM 31a.
Applied to 0 to I7. And from CE P20, CE with RAM 31a only
By applying the upper byte access signal to the terminal and further applying the address signal and the write signal, the above-mentioned D15 to D8 are written in the memory chip 31a. here,
The data D8 to D15 sent from the CEP20 onto the upper byte 4a of the data bus 4 originally had the bit arrangement order to be recorded in the memory reversed, so as described above.
Since the order is D15 to D8, it is written in the memory in the correct bit arrangement order. Even at the time of reading, the data outputted from the output terminals 0 to 7 of the RAM 31a are reversed in the bit arrangement order and outputted to the upper byte 4a of the data bus 4. That is, in this case, the configuration of FIG. 5 is equivalently as shown in FIG. 6 (4).

CEP20がメモリの下位バイト側31bをアクセスするときに
は、(X,Y)=(1,1)とする。このとき、データ・バス
4の上位バイト4a上のデータD8〜D15のビット配列順序
が逆転されてD15〜D8となったものが下位バイト側のRAM
31bの入力端子I0〜I7に印加される。今回はRAM31bのみ
がイネーブルとなるように制御され、上記データD15〜D
8は前記同様、アドレス信号および書込み信号によってR
AM31bに書込まれる。読出し時には、該RAM31bよりビッ
ト配列順序が逆転されたデータがデータ・バス4の上位
バイト4a上に読出される。すなわち、この場合、第5図
の構成は等価的に第6図(5)のようになる。
When the CEP 20 accesses the lower byte side 31b of the memory, (X, Y) = (1,1). At this time, the bit arrangement order of the data D8 to D15 on the upper byte 4a of the data bus 4 is reversed to become D15 to D8.
Applied to the input terminals I0 to I7 of 31b. This time, it is controlled so that only RAM31b is enabled.
8 is R by the address signal and the write signal as above.
Written to AM31b. At the time of reading, the data whose bit arrangement order is reversed is read from the RAM 31b onto the upper byte 4a of the data bus 4. That is, in this case, the configuration of FIG. 5 is equivalently as shown in FIG. 6 (5).

さらに、第2図には示されていないが、第2図のシステ
ムに、さらに、メモリ30をアクセスする8ビットの第4
の装置を接続するときには、第2図の第1の装置(1)
と同様にデータ・バス4の上位バイト4aにそのまま接続
する。この場合、もし該第4の装置がメモリの上位バイ
ト側のRAM31aをアクセスするときには、第5図の構成に
おいて(X,Y)=(0,0)とすれば、データ・バス4の上
位バイト4a上のデータは、そのままビット配列順序を変
えずに、RAM31aの入力端子に印加され、さらに、前記と
同様に、上位バイト・アクセス信号、アドレス信号およ
び書込み信号を印加することにより該RAM31aに書込まれ
る。読出しの時も同様である。すなわち、この場合の構
成は等価的に第6図(2)のようになる。
Further, although not shown in FIG. 2, the system of FIG.
When connecting the device shown in FIG. 1, the first device (1) shown in FIG.
Connect to upper byte 4a of data bus 4 as is. In this case, when the fourth device accesses the RAM 31a on the upper byte side of the memory, if (X, Y) = (0,0) in the configuration of FIG. 5, the upper byte of the data bus 4 is The data on 4a is applied to the input terminal of the RAM 31a without changing the bit arrangement order as it is, and is written to the RAM 31a by applying the upper byte access signal, the address signal and the write signal as described above. Get caught. The same applies when reading. That is, the configuration in this case is equivalently as shown in FIG. 6 (2).

また、該第4の装置がメモリの下位バイト側のRAM31bを
アクセスするときには、(X,Y)=(0,1)とすることに
より、データ・バス4の上位バイト4a上のデータはその
まま、RAM31bの入力端子に印加され、前記と同様にして
該RAM31bに書込まれる。読出しのときも同様である。
When the fourth device accesses the RAM 31b on the lower byte side of the memory, the data on the upper byte 4a of the data bus 4 remains unchanged by setting (X, Y) = (0,1). It is applied to the input terminal of the RAM 31b and written in the RAM 31b in the same manner as above. The same applies when reading.

尚、第5図の構成における配線が、RAM31a,31bに対して
左右対称であり、且つ、上下にも対称であることに明ら
かなように、CEP20は、データ・バスの下位バイト4bに
接続された場合においても、(X,Y)=(0,1)とするこ
とにより、メモリの上位バイト側31aにアクセスするこ
とができる。
It should be noted that the CEP 20 is connected to the lower byte 4b of the data bus, as is apparent from the fact that the wiring in the configuration of FIG. 5 is symmetrical with respect to the RAMs 31a and 31b, and is also symmetrical with respect to the upper and lower sides. Even in such a case, the upper byte side 31a of the memory can be accessed by setting (X, Y) = (0,1).

すなわち、第5図の構成においては、一般に、Y=1と
することにより、データ・バス4の上位バイト4aはメモ
リの下位バイト側31bに、データ・バス4の下位バイト4
bはメモリの上位バイト側31aに接続される。Y=0とす
れば、データ・バス4の上位バイト4aはメモリの上位バ
イト側31aに、データ・バス4の下位バイト4bはメモリ
の下位バイト側31bに接続される。
That is, in the configuration of FIG. 5, generally, by setting Y = 1, the upper byte 4a of the data bus 4 is placed on the lower byte side 31b of the memory and the lower byte 4 of the data bus 4 is set.
b is connected to the upper byte side 31a of the memory. If Y = 0, the upper byte 4a of the data bus 4 is connected to the upper byte side 31a of the memory and the lower byte 4b of the data bus 4 is connected to the lower byte side 31b of the memory.

また、前述のように、X=1とすることにより、データ
・バス4の上位バイト4aおよび下位バイト4bの各々は、
メモリの上位バイト側31aおよび下位バイト側31bのうち
(上記のYで指定された方の)一方に、ビットの順を逆
順にして接続される。ビットの順は、X=0とすれば、
正順となる。この場合は等価的に第6図(3)のように
なる。
Further, as described above, by setting X = 1, each of the upper byte 4a and the lower byte 4b of the data bus 4 becomes
One of the high-order byte side 31a and the low-order byte side 31b of the memory (the one designated by Y above) is connected in reverse bit order. If the bit order is X = 0,
It will be in a normal order. In this case, it is equivalently as shown in FIG.

以上のように、第5図の構成によれば、同一のPROMに同
じ内容を書込んだものを4つ使用するのみの簡易な構成
により、ビット配列順序の逆転、およびメモリの上位バ
イト、あるいは下位バイトへのアクセスが容易に行ない
得る。
As described above, according to the configuration of FIG. 5, the bit arrangement order is reversed and the upper byte of the memory, or The lower byte can be easily accessed.

なお、上記の実施例の説明においてメモリ30の区分31a,
31bおよび、論理回路52,53,54,55の幅を8ビットとした
が、第5図のビットの接続関係は、第5図においてLを
自然数として、8ビット→4Lビットとしても一般に成立
する。
It should be noted that in the description of the above embodiment, the section 31a of the memory 30,
The width of 31b and the logic circuits 52, 53, 54, 55 is set to 8 bits, but the connection relation of bits in FIG. 5 is generally established even if 8 bits → 4L bits, where L is a natural number in FIG. .

〔発明の効果〕〔The invention's effect〕

本発明によれば、同一入出力端子よりビット配列の異な
る複数種類のデータを入出力する装置を接続する際に、
該装置の接続によるソフトウェアの負担増やハードウェ
アの増加を最小限に抑えるデータ処理システムが実現さ
れる。
According to the present invention, when connecting a device for inputting and outputting a plurality of types of data having different bit arrays from the same input / output terminal,
A data processing system that minimizes an increase in software load and an increase in hardware due to the connection of the devices is realized.

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

第1図は本発明に到る前の段階の構成を示す図、 第2図は本発明の概略構成図、 第3図は本発明の第1実施例の全体構成図、 第4図は第3図のデータ・ビット接続部5′およびメモ
リ30の構成例を示す図、 第5図は本発明の第2実施例におけるデータ・ビット接
続部5′およびメモリ30の構成図、 第6図は第5図の構成の説明図、 第7図はCEPおよびMPUにおける入出力データのビット配
列順序の違いを示す図、 第8図は従来のデータ処理システムの第1の例の構成
図、そして、 第9図は従来のデータ処理システムの第2の例の構成図
である。 (符号の説明) 1……第1の装置、2……第2の装置、 3……第3の装置、4……データ・バス、 4a……データ・バスの上位バイト、 4b……データ・バスの下位バイト、 5,5′……データ・ビット接続部、 6a,6b,7a,7b……8ビット・パス、 10……MPU、 11……MPUによる制御信号線、 20……CEP、 21……CEPによる制御信号線、 22……マルチプレクサ、 23……バス・トランシーバ、 30……メモリ、 30a……メモリの上位バイト領域、 30b……メモリの下位バイト領域、 31a,31b……RAM、 50,51……マルチプレクサ、 50a,50b,51a,51b……バス・トランシーバ、 52,53,54,55……ROM。
FIG. 1 is a diagram showing a configuration at a stage before reaching the present invention, FIG. 2 is a schematic configuration diagram of the present invention, FIG. 3 is an overall configuration diagram of a first embodiment of the present invention, and FIG. FIG. 3 is a diagram showing a configuration example of the data / bit connection unit 5'and the memory 30, FIG. 5 is a configuration diagram of the data / bit connection unit 5'and the memory 30 in the second embodiment of the present invention, and FIG. 5 is an explanatory view of the configuration of FIG. 5, FIG. 7 is a diagram showing the difference in the bit arrangement order of input / output data in CEP and MPU, and FIG. 8 is a configuration diagram of the first example of the conventional data processing system, and FIG. 9 is a block diagram of a second example of the conventional data processing system. (Explanation of symbols) 1 ... First device, 2 ... Second device, 3 ... Third device, 4 ... Data bus, 4a ... High byte of data bus, 4b ... Data・ Lower byte of bus, 5,5 '... Data bit connection, 6a, 6b, 7a, 7b ... 8 bit path, 10 ... MPU, 11 ... MPU control signal line, 20 ... CEP , 21 …… CEP control signal line, 22 …… multiplexer, 23 …… bus transceiver, 30 …… memory, 30a …… higher byte area of memory, 30b …… lower byte area of memory, 31a, 31b …… RAM, 50,51 …… Multiplexer, 50a, 50b, 51a, 51b …… Bus transceiver, 52,53,54,55 …… ROM.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】Lを自然数として、各々4Lビットからなる
上位および下位の区分からなるデータ・バス(4)と、
各々4Lビットからなる上位および下位の区分(30a,30
b)からなるメモリ(30)との間を接続するデータ・バ
ス接続システム(5′)において、 前記データ・バス接続システム(5′)は、外部からの
第1の制御信号に応じて、前記データ・バス(4)の上
位および下位の区分を、それぞれ前記メモリ(30)の上
位および下位の区分(30a,30b)に、或るいは、上位お
よび下位を入れ替えて前記メモリ(30)の下位および上
位の区分(30a,30b)にそれぞれ接続し、更に、外部か
らの第2の制御信号に応じて、前記データ・バス(4)
の上位および下位の区分それぞれの区分内のビット順を
正順または逆順にして前記メモリ(30)に接続し、 前記データ・バス接続システム(5′)は、 前記データ・バス(4)の上位および下位の区分(4a,4
b)と前記メモリ(30)の上位および下位の2つの区分
(31a,31b)の入力端子との間に第1および第2の論理
回路(52,53)を有し、且つ、該メモリ(30)の該上位
および下位の2つの区分(31a,31b)の出力端子と該デ
ータ・バス(4)の上位および下位の区分(4a,4b)と
の間に第3および第4の論理回路(54,55)を有し、該
第1、第2、第3および第4の論理回路(52,53,54,5
5)は、同一の構成からなり、 前記第1、第2、第3および第4の論理回路(52,53,5
4,55)の各々は、それぞれ、4L+2ビットの入力端子と
4Lビットの出力端子とを有し、該入力端子の4Lビットか
らデータを入力し、該入力端子の残り2ビットから第1
および第2の制御信号を入力し、前記第1の制御信号に
応じて、前記データを入力する入力端子の4Lビットのう
ちの上位および下位の各々2Lビットを、前記4Lビットの
出力端子の上位および下位の各々2Lビットとして出力す
るか、或るいは、上位および下位を入れ替えて前記4Lビ
ットの出力端子の下位および上位の各々2Lビットとして
出力し、更に、前記第2の制御信号に応じて、前記デー
タを入力する入力端子の4Lビットのうちの上位および下
位の各々2Lビットそれぞれの内のビット順を正順または
逆順にして出力し、 前記データ・バス(4)の下位の区分(4b)の下位Lビ
ット(D0〜D1)は前記第1の論理回路(52)の入力端子
の下位Lビット(I0〜I1)に、該データ・バスの下位の
区分(4b)の次の2Lビット(D2〜D5)は前記第2の論理
回路(53)の入力端子の下位2Lビット(I0〜I3)に、そ
して、該データ・バスの下位の区分(4b)の上位Lビッ
ト(D6〜D7)は前記第1の論理回路(52)の入力端子の
下位から上位の順で次のLビット(I2〜I3)に接続さ
れ、該データ・バスの上位の区分(4a)の下位Lビット
(D8〜D9)は該第1の論理回路(52)の入力端子の下位
から上位の順で次のLビット(I4〜I5)に、該データ・
バスの上位の区分(4a)の次の2Lビット(D10〜D13)は
該第2の論理回路(53)の入力端子の上位2Lビット(I4
〜I7)に、該データー・バスの上位の区分(4a)の上位
Lビット(D14〜D15)は該第1の論理回路(52)の入力
端子の上位Lビット(I6〜I7)に接続され、 前記第1および第2の論理回路(52,53)の出力端子の
各々は、該第1および第2の論理回路(52,53)の入力
端子の各々から見た前記データ・バス(4)の上位およ
び下位の区分(4a,4b)の各ビットとの接続関係に等し
い対応で、前記メモリ(30)の上位および下位の区分
(31a,31b)の入力端子の各々と接続され、 前記メモリ(30)の上位および下位の区分(31a,31b)
の出力端子の各々と前記第3および第4の論理回路(5
4,55)の入力端子の各々とは、前記のデータ・バス
(4)上位および下位の区分(4a,4b)の各ビットと該
第1および第2の論理回路(52,53)の入力端子との接
続関係に等しい対応で接続され、そして、 前記第3および第4の論理回路(54,55)の出力端子の
各々と前記データ・バス(4)の上位および下位の区分
(4a,4b)の各ビットとは、前記第1および第2の論理
回路(52,53)の出力端子の各々と前記メモリ(30)の
上位および下位の区分(4a,4b)の入力端子との接続関
係に等しい対応で接続され、 前記第1および第2の論理回路(52,53)は常に出力イ
ネーブルであるように設定され、前記第3および第4の
論理回路(54,55)は、前記バス・マスタにより、該メ
モリ(30)からのデータ読出し時においてのみ出力イネ
ーブルとなるように制御されることを特徴とするデータ
・バス接続システム。
1. A data bus (4) consisting of upper and lower divisions, each consisting of 4L bits, where L is a natural number.
Upper and lower divisions (30a, 30
In a data bus connection system (5 ') for connecting to a memory (30) consisting of b), the data bus connection system (5') is responsive to a first control signal from the outside, The upper and lower divisions of the data bus (4) are respectively replaced by the upper and lower divisions (30a, 30b) of the memory (30), or the upper and lower divisions of the memory (30) are interchanged. And the data bus (4) according to a second control signal from the outside.
The data bus connection system (5 ') is connected to the memory (30) by setting the bit order in each of the upper and lower partitions of the data bus (4) to the normal or reverse order. And subdivisions (4a, 4
b) and first and second logic circuits (52, 53) between the upper and lower two (31a, 31b) input terminals of the memory (30), and the memory (30 Third and fourth logic circuits between the output terminals of the upper and lower two sections (31a, 31b) of 30) and the upper and lower sections (4a, 4b) of the data bus (4). (54, 55), and the first, second, third and fourth logic circuits (52, 53, 54,5
5) has the same configuration, and the first, second, third and fourth logic circuits (52, 53, 5)
4,55) and 4L + 2 bit input terminals respectively
It has a 4L bit output terminal, inputs data from the 4L bit of the input terminal, and outputs the first from the remaining 2 bits of the input terminal.
And a second control signal, and in accordance with the first control signal, the upper and lower 2L bits of the 4L bits of the input terminal for inputting the data are respectively set to the upper of the 4L bit output terminal. And output as lower 2L bits respectively, or by switching the upper and lower sides and outputting as the lower and upper 2L bits of the 4L-bit output terminal respectively, and further according to the second control signal. , The upper and lower 2L bits of the 4L bits of the input terminal for inputting the data are output in the normal order or the reverse order of the respective 2L bits, and the lower order (4b) of the data bus (4) is output. ) Lower L bits (D0 to D1) of the first logical circuit (52) are input to the lower L bits (I0 to I1) of the second 2L bits of the lower section (4b) of the data bus. (D2 to D5) are the second logic circuits (53) The lower 2L bits (I0 to I3) of the input terminal and the upper L bits (D6 to D7) of the lower section (4b) of the data bus are lower than the input terminal of the first logic circuit (52). Are connected to the next L bits (I2 to I3) in the order from the upper to lower, and the lower L bits (D8 to D9) of the upper section (4a) of the data bus are input to the first logic circuit (52). The data is transferred to the next L bits (I4 to I5) in order from the lower order of the terminal to the higher order.
The next 2L bits (D10 to D13) of the upper section (4a) of the bus are the upper 2L bits (I4) of the input terminal of the second logic circuit (53).
To I7), the upper L bits (D14 to D15) of the upper section (4a) of the data bus are connected to the upper L bits (I6 to I7) of the input terminal of the first logic circuit (52). , Each of the output terminals of the first and second logic circuits (52, 53) has the data bus (4) seen from each of the input terminals of the first and second logic circuits (52, 53). ) Is connected to each of the input terminals of the upper and lower divisions (31a, 31b) of the memory (30) in a correspondence equal to the connection relationship with each bit of the upper and lower divisions (4a, 4b), Upper and lower division of memory (30) (31a, 31b)
Of the output terminals of each of the third and fourth logic circuits (5
4, 55) each of the input terminals means the respective bits of the upper and lower divisions (4a, 4b) of the data bus (4) and the inputs of the first and second logic circuits (52, 53). Are connected in a manner equivalent to the connection relationship with the terminals, and each of the output terminals of the third and fourth logic circuits (54, 55) and the upper and lower sections (4a, 4a) of the data bus (4). Each bit of 4b) is a connection between each of the output terminals of the first and second logic circuits (52, 53) and the input terminals of the upper and lower sections (4a, 4b) of the memory (30). The first and second logic circuits (52, 53) are set to always enable output, and the third and fourth logic circuits (54, 55) are Controlled by the bus master so that output is enabled only when data is read from the memory (30) Data bus connection system, wherein the door.
JP62233656A 1987-09-19 1987-09-19 Data bus connection system Expired - Lifetime JPH0774986B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62233656A JPH0774986B2 (en) 1987-09-19 1987-09-19 Data bus connection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62233656A JPH0774986B2 (en) 1987-09-19 1987-09-19 Data bus connection system

Publications (2)

Publication Number Publication Date
JPS6478320A JPS6478320A (en) 1989-03-23
JPH0774986B2 true JPH0774986B2 (en) 1995-08-09

Family

ID=16958465

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62233656A Expired - Lifetime JPH0774986B2 (en) 1987-09-19 1987-09-19 Data bus connection system

Country Status (1)

Country Link
JP (1) JPH0774986B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5261264A (en) * 1991-06-11 1993-11-16 The Boeing Company Automated forming station
JP4514173B2 (en) * 2000-10-13 2010-07-28 キヤノン株式会社 Data processing method and image processing apparatus
JP4890681B2 (en) * 2001-03-08 2012-03-07 キヤノン株式会社 Image processing device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5561866A (en) * 1978-11-02 1980-05-09 Casio Comput Co Ltd Memory designation system
JPS6017547A (en) * 1983-07-08 1985-01-29 Nec Corp Action history memory device
JPS61114350A (en) * 1984-11-07 1986-06-02 Toshiba Corp Memory device
JPS61292739A (en) * 1985-06-20 1986-12-23 Ricoh Co Ltd Memory device

Also Published As

Publication number Publication date
JPS6478320A (en) 1989-03-23

Similar Documents

Publication Publication Date Title
US4447878A (en) Apparatus and method for providing byte and word compatible information transfers
JPS6126103B2 (en)
US5740385A (en) Low load host/PCI bus bridge
US7043592B2 (en) External bus controller
JP2549601B2 (en) Register control circuit
JPH02292647A (en) Semiconductor memory
JPH0774986B2 (en) Data bus connection system
US6725369B1 (en) Circuit for allowing data return in dual-data formats
US20010039608A1 (en) Architecture and configuring method for a computer expansion board
JP3216931B2 (en) Microprocessor with bus sizing
EP0687981A1 (en) Circuit for interfacing data busses
JP2967825B2 (en) Microcomputer
JP3480963B2 (en) DMA transfer system
KR0154618B1 (en) Dual port ram interfacing circuit of vme bus
JP2975638B2 (en) Semiconductor integrated circuit
US4841298A (en) Bit pattern conversion system
JP2751878B2 (en) Multiprocessor device
JPH01126756A (en) Bus interface circuit
JPS58107936A (en) Composite bus circuit
JPH06348378A (en) Register unused bit processing circuit
JPH01125646A (en) information processing equipment
JPH03208154A (en) Global transfer system in cpu system
JPH01142849A (en) Subscriber's line signal device
JPH05313990A (en) Memory access device
JPH0575147B2 (en)