JPH02140853A - Bus width converting circuit - Google Patents

Bus width converting circuit

Info

Publication number
JPH02140853A
JPH02140853A JP29426988A JP29426988A JPH02140853A JP H02140853 A JPH02140853 A JP H02140853A JP 29426988 A JP29426988 A JP 29426988A JP 29426988 A JP29426988 A JP 29426988A JP H02140853 A JPH02140853 A JP H02140853A
Authority
JP
Japan
Prior art keywords
bus
data
bits
output
cpu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP29426988A
Other languages
Japanese (ja)
Inventor
Hitoshi Koseki
古関 斉
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.)
Yamaha Corp
Original Assignee
Yamaha 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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP29426988A priority Critical patent/JPH02140853A/en
Publication of JPH02140853A publication Critical patent/JPH02140853A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To effectively utilize a CPU bus, to shorten its occupation time, and to speed up transfer of data on an I/O bus by providing an output data dividing means and an input data merging means. CONSTITUTION:Out of the output data at 16 bits outputted through a CPU bus 2, the higher-order eight bits are held by a D latch 10, the lower-order eight bits are held by a D latch 12, and successively sent through buffers 11 and 13 to an I/O bus 3. On the other hand, the input data at 16 bits successively inputted through the I/O bus 3 in units of eight bits are successively held by D latches 14 and 16, and sent through buffers 15 and 17 to the CPU bus 2. Thus, the whole bus width of the CPU bus is effectively utilized, the bus occupation time at the time of input/output the data with respect to I/O equipment is shortened, and the transfer of the data on the I/O bus can be speeded up while the data transfer speed on the CPU bus is being suppressed to a low value according to a DMA (Direct Memory Access) controller, etc.

Description

【発明の詳細な説明】 「産業上の利用分野」 この発明は、例えばコンピュータ・システム内部のCP
Uバスと外部の周辺機器に接続される■10(入出力)
バスとのバス幅が異なる場合に、これらのバス幅の整合
を行うバス幅変換回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION "Field of Industrial Application" This invention is applicable to, for example,
■10 (input/output) connected to the U bus and external peripheral devices
The present invention relates to a bus width conversion circuit that matches bus widths when the bus widths are different.

「従来の技術」 周知のように、コンピュータ・システムの中枢を担うC
I’Uは、その処理能力の向上を図るために、処理ビッ
ト数が、従来の8ビツトから、16ビツトもしくは32
ビツトに移行しつつある。このような情況下において、
コンピュータ・システム外部の周辺機器として位置付け
られるハードディスク装置等の各種入出力機器は、今だ
8ビット単位でデータの授受を行うものが主流であり、
このような8ビツト仕様の入出力機器は、多種多様で安
価なものが市場に数多く出回っている。
"Conventional technology" As is well known, C plays a central role in computer systems.
In order to improve its processing performance, I'U has increased the number of processing bits from the conventional 8 bits to 16 bits or 32 bits.
It is moving to bits. Under such circumstances,
Various input/output devices such as hard disk drives, which are positioned as peripheral devices outside the computer system, still mainly exchange data in 8-bit units.
Many types of input/output devices with 8-bit specifications are available on the market in a wide variety of types and at low prices.

「発明が解決しようとする課題」 ところで、16ビツトもしくは32ビツト仕様のCPU
と、゛8ビット仕様の入出力機器との間で、互いに8ビ
ット単位でデータの授受を行う場合、次のような問題点
が生じる。
``Problem to be solved by the invention'' By the way, the CPU with 16-bit or 32-bit specifications
When data is exchanged in 8-bit units between a computer and an 8-bit specification input/output device, the following problems occur.

■例えば、16ビツト仕様のCPUと8ビツト仕様の入
出力機器とを接続する場合、16ビツトのCPUバスに
8ビツトのI10バスを接続することになるが、この場
合、CPUバスの全バス幅の内の°半分のみしか使用さ
れず、CPUバスを有効に利用してデータの授受を行う
ことができない。
■For example, when connecting a 16-bit specification CPU to an 8-bit specification input/output device, an 8-bit I10 bus will be connected to the 16-bit CPU bus, but in this case, the total bus width of the CPU bus Only half of the CPU bus is used, making it impossible to effectively utilize the CPU bus to exchange data.

これにより、CPUバスの専有時間が必要以上に大とな
ってしまい、CPUの処理能力が十分に発揮できなくな
る。
As a result, the exclusive time of the CPU bus becomes longer than necessary, and the processing capacity of the CPU cannot be fully utilized.

■コンピュータ・システムの高性能化を実現するために
、CPUと入出力機器との間のデータ転送速度の高速化
が要求されているが、バス幅を8ビツトとしたままで、
データ転送速度を高めると、一般に市場に出回っている
DMA(ダイレクト・メモリ・アクセス)コントローラ
等では追従して動作しなくなり、これに対応すべく、専
用のデータ転送機能を有するハードウェア等を新たに設
計、開発しなければならない。ここで、8ビツトのデー
タを500+msの転送速度で転送した場合と、16ビ
ツトのデータを100(1+sで転送した場合とは、実
質的に等価であり、したがって、バス幅を広くとれば動
作速度の比較的遅い市販のDMAコントローラ等でも対
応が可能で、安価にシステムを構成することができる。
■In order to achieve higher performance in computer systems, faster data transfer speeds between the CPU and input/output devices are required, but the bus width remains at 8 bits.
When data transfer speeds are increased, DMA (direct memory access) controllers on the market generally no longer work properly, and in order to cope with this, new hardware with dedicated data transfer functions is needed. must be designed and developed. Here, the case where 8-bit data is transferred at a transfer rate of 500+ms and the case where 16-bit data is transferred at 100 (1+s) are substantially equivalent, so if the bus width is widened, the operating speed will be increased. It is also possible to use a relatively slow commercially available DMA controller, and the system can be configured at low cost.

■上述した■、■の問題点を解決するためには、CPU
の仕様に合わせて、16ビツトもしくは32ビツト仕様
の入出力!a器と、インターフェイス回路を採用すれば
よいが、これらのデータ伝送系を16ビツトや32ビツ
トのLSIで構成すると、コンピュータ・システム全体
の価格が高価となるため好ましくなく、種類が多く安価
な、8ビツトの仕様のLSI″?!購成すること−が望
ましい。
■In order to solve the problems of ■ and ■ mentioned above, the CPU
16-bit or 32-bit input/output according to the specifications! It is possible to use a 16-bit or 32-bit LSI for data transmission systems, but this is not preferable because the price of the entire computer system will be high. It is desirable to purchase an LSI with 8-bit specifications.

この発明は上述した事情に鑑みてなされたもので、CP
Uバスを有効利用して、その専有時間の短縮化を図ると
共jこ、CPLJバス上のデータ転送速度をDMAコン
トローラ等に合わせて低く抑えつつ、■10バス上のデ
ータ転送速度の高速化を図り、かつシステム全体を安価
に構成するこトカできるバス幅変換回路を提供すること
を目的としている。
This invention was made in view of the above-mentioned circumstances, and the CP
In addition to effectively utilizing the U bus and shortening its dedicated time, the data transfer speed on the CPLJ bus is kept low to match the DMA controller, etc., and the data transfer speed on the 10 bus is increased. It is an object of the present invention to provide a bus width conversion circuit that allows the entire system to be configured at low cost.

「課題を解決するための手段」 この発明は、Mビットのバス幅を有するCPUバスと、
N(≦M/2n(nは正の整数))ビットのバス幅を有
するI10バスとの間でバス幅の整合を行うバス幅変換
回路において、前記CPUバスを介してNビット単位で
出力される出力データを、Nビット単位に分割して、前
記I10バスへ順次送出する出力データ分割手段と、前
記I10バスを介してNビット単位で順次入力される入
力データを、Nビット単位に併合して、前記CPUバス
へ送出する入力データ併合手段とを具備することを特徴
としている。
"Means for Solving the Problem" This invention provides a CPU bus having a bus width of M bits,
In a bus width conversion circuit that performs bus width matching with an I10 bus having a bus width of N (≦M/2n (n is a positive integer)) bits, a signal is output in units of N bits via the CPU bus. output data dividing means for dividing the output data into N bit units and sequentially sending them to the I10 bus, and merging input data sequentially input in N bit units via the I10 bus in N bit units. and input data merging means for sending to the CPU bus.

「作用」 上記の構成によれば、コンピュータ・システム内部のC
PUバスを介して出力されるMビットの出力データが、
出力データ分割手段でNビット単位に分割された後1.
外部の周辺機器に接続されたI10バスへ順次送出され
る一方、!10バスを介してNビット単位で順次入力さ
れる入力データが、入力データ併合手段でNビット単位
に併合された後、CPUバスへ送出されるので、CPU
バスとI10バスとのバス幅が異なる場合において、こ
れらバス幅の整合が行われ、これにより、CPUバスの
全バス幅が有効に利用され、その110機器との大出力
時におけるバス専有時間が短縮化されると共に、CPU
バス上のデータ転送速度をDMAコントローラ等に合わ
せて低く抑えつつ、I10バス上のデータ転送速度を高
速化することが可能となる。
"Operation" According to the above configuration, the C inside the computer system
The M-bit output data output via the PU bus is
After the output data is divided into N bits by the output data division means: 1.
While being sequentially sent out to the I10 bus connected to external peripherals,! Input data sequentially input in N bit units via the 10 bus is merged in N bit units by the input data merging means and then sent to the CPU bus.
When the bus widths of the bus and the I10 bus are different, these bus widths are matched, and as a result, the entire bus width of the CPU bus is effectively used, and the bus exclusive time when the 110 device is at high output is In addition to being shortened, the CPU
It is possible to increase the data transfer speed on the I10 bus while keeping the data transfer speed on the bus low in accordance with the DMA controller and the like.

「実施例j 以下、図面を参照し、この発明の実施例について説明す
る。
Embodiment j Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

第1図はこの発明の一実施例によるバス幅変換回路の構
成を示す図である。この図において、!はバス幅変換回
路であり、!6ビツトのバス幅を有するCPUバス2と
、8ビツトのバス幅を有するI10バス3との間に設け
られている。CPUバス2には、CPU4と、DMAコ
ントローラ5と、データメモリ(RAM)6が接続され
ており、I10バス3には、周辺f10コントローラ(
例えば、ハードディスク・コントローラ、通信制御用コ
ントローラ等)7を介して各種入出力機器8が接続され
ている。
FIG. 1 is a diagram showing the configuration of a bus width conversion circuit according to an embodiment of the present invention. In this figure,! is a bus width conversion circuit, and ! It is provided between a CPU bus 2 having a bus width of 6 bits and an I10 bus 3 having a bus width of 8 bits. A CPU 4, a DMA controller 5, and a data memory (RAM) 6 are connected to the CPU bus 2, and a peripheral f10 controller (
For example, various input/output devices 8 are connected via a hard disk controller, a communication controller, etc.) 7.

バス幅変換回路1において、IOは!6ビツトのCPU
バス2の上位8ビツト(f−1)分のデータを保持する
8ビツトDラツチであり、このDラッチ10の出力は8
ビツト3ステートバツフア11を介して8ビツトのI1
0バス3へ出力される。同様に、12は16ビツトのC
PUバス2の下位8ビツト(L)分のデータを保持する
8ビツトDラツチであり、このDラッチ12の出力は8
ビツト3ステートバツフy13を介して!10バス3へ
出力される。
In the bus width conversion circuit 1, IO! 6 bit CPU
This is an 8-bit D latch that holds data for the upper 8 bits (f-1) of bus 2, and the output of this D latch 10 is 8 bits.
8-bit I1 via 3-bit state buffer 11
Output to 0 bus 3. Similarly, 12 is a 16-bit C
This is an 8-bit D latch that holds data for the lower 8 bits (L) of the PU bus 2, and the output of this D latch 12 is 8 bits.
Via the bit 3 state buffer y13! 10 bus 3.

14はI10バス3の8ビツトのデータを保持する8ビ
ツトDラツチであり、このDラッチ14の出力は8ビツ
ト3ステートバツフアI5を介してCPUバス2の上位
8ビツト(ト■)の側へ出力される。同様に、16はI
10バス3の8ビツトのデータを保持する8ビツトDラ
ツチであり、このDラッチI6の出力は8ビツト3ステ
ートバツフアI7を介してCPUバス2の下位8ビツト
(L)の側へ出力される。
14 is an 8-bit D latch that holds the 8-bit data of the I10 bus 3, and the output of this D latch 14 is sent to the upper 8 bits (g) of the CPU bus 2 via the 8-bit 3-state buffer I5. Output to. Similarly, 16 is I
The output of this D latch I6 is output to the lower 8 bits (L) of the CPU bus 2 via an 8-bit 3-state buffer I7. Ru.

20はDMAコントローラ5および周辺110コント【
l−ラフから供給される各種制御信号に基づいて、Dラ
ッチ10および!2のデータ取り込みタイミングと、バ
ッファ11および13のデータ出力タイミングを指示す
る書き込み制御回路であり、また30はDMAコントロ
ーラ5および周辺I10コントローラ7から供給される
各種制御信号に基づいて、Dラッチ14および16のデ
ータ取り込みタイミングと、バッファ15および17の
データ出力タイミングを指示する読み出し制御回路であ
る。
20 is the DMA controller 5 and peripheral 110 control [
Based on various control signals supplied from l-rough, D latch 10 and ! A write control circuit 30 instructs the data acquisition timing of 2 and the data output timing of the buffers 11 and 13, and 30 is a write control circuit that instructs the D latch 14 and the data output timing of the buffers 11 and 13 based on various control signals supplied from the DMA controller 5 and the peripheral I10 controller 7. This is a read control circuit that instructs data acquisition timing of buffers 15 and 17 and data output timing of buffers 15 and 17.

上記吉き込み制御回路20は、第2図に示すように、D
MAタイミング発生器2Iと、ライトストローブ発生器
22と、2ビツトダウンカウンタ23とから構成されて
おり、第3図に示すように現在の動作状態に応じてダウ
ンカウンタ23のカウント値が変化する。また、上記読
み出し制御回路30は、第4図に示すようにDMAタイ
ミング発生器31と、リードストローブ発生器32と、
2ビツトアツプカウンタ33とから構成されており、第
5図に示すように現在の動作状態に応じて変化する。
As shown in FIG.
It is composed of an MA timing generator 2I, a write strobe generator 22, and a 2-bit down counter 23, and as shown in FIG. 3, the count value of the down counter 23 changes depending on the current operating state. The read control circuit 30 also includes a DMA timing generator 31, a read strobe generator 32, as shown in FIG.
It consists of a 2-bit up counter 33, and changes depending on the current operating state as shown in FIG.

以上の構成において、CPUバス2を介して出力される
16ビツトの出力データの内、上位8ビツトがDラッチ
IOに、下位8ビツトがDラッチI2によって保持され
、これら8ビット単位に分割されたデータが、バッファ
l!および!3を介してI10バス3へ順次送出される
。一方、[10バス3を介して8ビット単位で順次入力
される16ビツトの入力データが、Dラッチ14と16
によって順次保持され、これにより!6ビツト単位に併
合されたデータが、バッファ15および17を介してC
PUバス2へ送出される。
In the above configuration, of the 16-bit output data output via CPU bus 2, the upper 8 bits are held in the D latch IO and the lower 8 bits are held in the D latch I2, and the data is divided into 8 bit units. The data is in the buffer l! and! 3 to the I10 bus 3. On the other hand, 16-bit input data sequentially input in 8-bit units via the [10 bus 3] is input to the D latches 14 and 16.
is held sequentially by this! The data merged into 6-bit units is sent to C through buffers 15 and 17.
It is sent to PU bus 2.

次に、上述した各部の動作について、さらに詳細に説明
する。
Next, the operation of each part mentioned above will be explained in more detail.

まず最初に、CPU4はDMA転送する場合、「データ
メモリ6の何番地から、何ワード転送するか」をDMA
コントローラ5に書き込む。すると、DMAコントロー
ラ5はCPU4に対し、BUSRQ信号を出力して、バ
スの明は渡しを要求する。この要求に応じてCPU4が
DMAコントローラ5に!3 U S A K信号を出
力し、バスをDMAコントローラ5に明は渡す。これに
より、データメモリ6とバス幅変換回路1は、DMAコ
ントローラ5の制御下に入り、周辺I10コントローラ
7はバス幅変換回路1の書き込み制御回路20および続
み出し制御回路30によって制御されるようになり、こ
の周辺I10コントローラ7は、バス幅変換回路lを介
してデータメモリ6と直接データを授受する状態となる
First, when performing a DMA transfer, the CPU 4 selects "from which address in the data memory 6 and how many words should be transferred".
Write to controller 5. Then, the DMA controller 5 outputs a BUSRQ signal to the CPU 4, requesting that the bus be transferred. In response to this request, the CPU 4 becomes the DMA controller 5! 3 outputs the US A K signal and passes the bus to the DMA controller 5. As a result, the data memory 6 and the bus width conversion circuit 1 come under the control of the DMA controller 5, and the peripheral I10 controller 7 is controlled by the write control circuit 20 and the continuation control circuit 30 of the bus width conversion circuit 1. Then, this peripheral I10 controller 7 is in a state of directly exchanging data with the data memory 6 via the bus width conversion circuit l.

以降の動作を、CPU4側から外部の入出力機器8ヘデ
ータを書き込む場合の動作と、入出力機器8から出力さ
れたデータを読み出す場合の動作とに分けて説明する。
The subsequent operations will be explained separately into operations for writing data from the CPU 4 side to the external input/output device 8 and operations for reading data output from the input/output device 8.

なお、初期状態において、ダウンカウンタ23およびア
ップカウンタ33は、共に、カウント値=“00”に設
定されているものとする。
It is assumed that in the initial state, both the down counter 23 and the up counter 33 are set to a count value of "00".

〔データ吉き込み時の動作〕[Operation when data is input]

■CPU4が周辺I10コントローラ7に対してデータ
書き込みに対応するコマンドを発行する。
(2) The CPU 4 issues a command corresponding to data writing to the peripheral I10 controller 7.

■周辺I10コントローラ7はDrtQをイネーブルに
してデータの転送(CP U→周辺l10)を要求する
。このとき、初期状態において、書き込み制御回路20
のダウンカウンタ23は“00”の状態にあり、DMA
タイミング発生器21はPDRQの要求を、CDrtQ
信号としてCPU4へ伝える。
(2) The peripheral I10 controller 7 enables DrtQ and requests data transfer (CPU→peripheral I10). At this time, in the initial state, the write control circuit 20
The down counter 23 is in the state of “00”, and the DMA
The timing generator 21 converts the PDRQ request into CDrtQ
It is transmitted to the CPU 4 as a signal.

■このCDRQ信号を受けたDMAコントローラ5は、
データメモリ6から読み出した16ビツトの書込データ
をCPUバス2を介してバス幅変換回路!へ送出すると
共に、転送要求に対する応答を示すCDAK信号を書込
制御回路20のDMAタイミング発生器21とライトス
トローブ発生器22へ供給する。
■The DMA controller 5 that received this CDRQ signal,
The 16-bit write data read from the data memory 6 is sent to the bus width conversion circuit via the CPU bus 2! At the same time, a CDAK signal indicating a response to the transfer request is supplied to the DMA timing generator 21 and write strobe generator 22 of the write control circuit 20.

■ライトストロゴブ発生器22は、データの取り込みを
指示するWR倍信号Dラッチ10および12のクロック
端子CKへ供給する。これにより、CPUバス2を介し
て供給された16ビツトの書込データの上位8ビツトが
Dラッチェロに取り込まれ、下位8ビツトがDラッチ1
2に取り込まれる。これと同時に、ライトストローブ発
生器22からW I?倍信号ダウンカウンタ23のロー
ド端子LOADへ供給され、カウント値=“IO”か゛
プリセットされる。
(2) The write strobe generator 22 supplies a WR multiplied signal to the clock terminals CK of the D latches 10 and 12, which instructs data capture. As a result, the upper 8 bits of the 16-bit write data supplied via the CPU bus 2 are taken into the D latchero, and the lower 8 bits are taken into the D latch 1.
Incorporated into 2. At the same time, the write strobe generator 22 outputs W I? The double signal is supplied to the load terminal LOAD of the down counter 23, and the count value is preset to "IO".

■ライトストローブ発生器22は、ダウンカウンタ23
のカウント値=“!0”となった時点で、上位側データ
の出力を指示するW r(H信号をバッファ11のゲー
ト入力端Gへ供給すると同時に、DMAタイミング発生
器2Kに対してPDAK信号の出力を指示し、これによ
り、Dラッチ10に取り込まれている上位8ビツトの書
込データが、バッファl!を介してI10バス3上に送
出され、周辺110コントローラ7内に取り込まれる。
■The light strobe generator 22 is a down counter 23
At the point when the count value = "!0", the W r (H signal that instructs the output of the upper side data is supplied to the gate input terminal G of the buffer 11, and at the same time, the PDAK signal is sent to the DMA timing generator 2K. As a result, the upper 8 bits of write data captured in the D latch 10 are sent out onto the I10 bus 3 via the buffer l!, and captured into the peripheral 110 controller 7.

その後、ライトストローブ発生器22は、ダウンカウン
タ23のカウント値=“OI″とする。
Thereafter, the write strobe generator 22 sets the count value of the down counter 23 to "OI".

■DMAり゛イミング発生器2目よ、次のデータを要求
するPDRQ信号が周辺E10コントローラ7から供給
されると、この時点で、カウント値“Ol”であること
から、DMAコントローラ5に対してCDRQ信号を出
力仕ず、また、ライトストローブ発生器22は、下位側
データの出力を指示するWRL信号をバッファ!3のゲ
ート入力端Gへ供給すると同時に、DMAタイミング発
生器21に対してPDAK信号の出力を指示し、これに
より、Dラッチ12に取り込まれている下位8ビツトの
書込データが、バッファI3を介して■10バス3上に
送出され、周辺I10コントローラ7内に取り込まれる
。その後、ライトストローブ発生器22は、ダウンカウ
ンタ23のカウント値=“00°とする。
■DMA retiming generator 2, when the PDRQ signal requesting the next data is supplied from the peripheral E10 controller 7, the count value is "Ol" at this point, so the DMA controller 5 In addition to outputting the CDRQ signal, the write strobe generator 22 buffers the WRL signal that instructs the output of lower-order data! At the same time, it instructs the DMA timing generator 21 to output the PDAK signal, so that the lower 8 bits of write data captured in the D latch 12 are transferred to the buffer I3. The signal is sent out onto the ■10 bus 3 via the I10 bus 3 and taken into the peripheral I10 controller 7. Thereafter, the write strobe generator 22 sets the count value of the down counter 23 to "00°."

上述した■〜■の動作を、転送すべきワード数に応じた
回数繰り返すことによって、必要な書込データの転送が
完了する。
By repeating the operations ① to ① described above a number of times according to the number of words to be transferred, the transfer of the necessary write data is completed.

〔データ読み出し時の動作〕[Operation when reading data]

■CPU4が周辺I10コントローラ7に対してデータ
読み込みに対応するコマンドを発行する。
(2) The CPU 4 issues a command corresponding to data reading to the peripheral I10 controller 7.

■周辺I10コントローラ7は、DRQをイネーブルに
してデータ転送(CP U←周辺l10)を要求する。
(2) The peripheral I10 controller 7 enables DRQ and requests data transfer (CPU←peripheral I10).

このとき、初期状態においては、読み出し制御回路30
のアップカウンタ33は“00”の状態にある。
At this time, in the initial state, the read control circuit 30
The up counter 33 is in the state of "00".

■PDRQ信号を受けたDMAタイミング発生器31は
、転送要求に対する応答を示すPDAK信号を周辺I1
0コントローラ7へ供給する一方、このPDAK信号を
受けたI、10コントローラ7が、入出力機器8から供
給された上位側8ビツトの続出データをI10バス3を
介してバス幅変換回路!へ送出する。
■The DMA timing generator 31 that receives the PDRQ signal transmits the PDAK signal indicating a response to the transfer request to the peripheral I1.
On the other hand, the I, 10 controller 7, which received this PDAK signal, sends the upper 8-bit successive data supplied from the input/output device 8 to the bus width conversion circuit via the I10 bus 3. Send to.

■リードストローブ発生器32は、上位側のデータの取
り込みを指示するR D H信号をDラッチ14のクロ
ック端子OKへ供給する。これにより、I10バス3を
介して供給された上位8ビツトの読出データがDラッチ
14に取り込まれる。その直後、リードストローブ発生
器32はアップカウンタ33のカウント値=“0!°と
する。
(2) The read strobe generator 32 supplies an RDH signal to the clock terminal OK of the D latch 14, which instructs the fetching of upper-order data. As a result, the upper 8 bits of read data supplied via the I10 bus 3 are taken into the D latch 14. Immediately after that, the read strobe generator 32 sets the count value of the up counter 33 to "0!°."

■周辺I/゛0コントローラ7から、次の続出データ(
下位8ビツト)の転送要求を示すPDrlQ信号が供給
された時点で、上記■〜■と同様の動作を繰り返して、
I10バス3を介して供給された下位8ビツトの読出デ
ータがDラッチ16に取り込まれる。この場合、リード
ストローブ発生器32は、下位側のデータの取り込みを
指示するRDL信号をDラッチ16のクロック端子CK
へ供給する。その後、リードストローブ発生器32はア
ップカウンタ33のカウント値=“lO”とする。
■The following successive data (
When the PDrlQ signal indicating a transfer request for the lower 8 bits is supplied, repeat the same operations as above (■ to ■),
The lower 8 bits of read data supplied via the I10 bus 3 are taken into the D latch 16. In this case, the read strobe generator 32 sends the RDL signal instructing to take in the lower data to the clock terminal CK of the D latch 16.
supply to Thereafter, the read strobe generator 32 sets the count value of the up counter 33 to "lO".

■アップカウンタ33のカウント値;“lO”となった
時点で、DMAタイミング発生器3Iは、続出データの
転送要求を示すCDRQ信号をDMAコントローラ5へ
供給する。その後、CDAK信号がイネーブルになると
同時に、データの出力を指示するRD倍信号バッファ1
5と17のゲート入力端Gへ供給する。これにより、D
ラッチ14に取り込まれている上位8ビツトの続出デー
タと、Dラッチ16に取り込まれている下位8ビツトの
続出データと力j1バッファI5と17を介してCPU
バス2上に同時に送出され、この結果、16ビツトの続
出データがDMAコントローラ5によってデータメモリ
6内に書き込まれる。その後、DMAコントローラ5か
ら供給されるCDAK信号がディスイネーブルとなるこ
とによって、アップカウンタ33がクリアされ、そのカ
ウント値二″00″となる。
(2) When the count value of the up counter 33 reaches "lO", the DMA timing generator 3I supplies the DMA controller 5 with a CDRQ signal indicating a request to transfer successive data. After that, at the same time as the CDAK signal is enabled, the RD double signal buffer 1 instructs to output data.
5 and 17 to the gate input terminals G. As a result, D
The successive data of the upper 8 bits taken in the latch 14 and the successive data of the lower 8 bits taken in the D latch 16 are sent to the CPU via the output j1 buffers I5 and 17.
simultaneously on bus 2, resulting in 16 bits of successive data being written into data memory 6 by DMA controller 5. Thereafter, the CDAK signal supplied from the DMA controller 5 is disabled, so that the up counter 33 is cleared and its count value becomes 2"00".

上述した■〜■の動作を、転送すべきワード数に応じた
回数繰り返すことによって、必要な続出データの転送が
完了する。
By repeating the operations ① to ① described above a number of times according to the number of words to be transferred, the necessary successive data transfer is completed.

以上により、CPUバス2を介して出力される16ビツ
トの出力データがバス幅変換回路lによって8ビット単
位に分割されて夏10バス3へ順次送出される一方、[
10バス3を介して8ビット単位で順次人力される入力
データが、バス幅変換回路Iによって!6ビツト単位に
併合されてCPUバス2へ送出される。
As described above, the 16-bit output data outputted via the CPU bus 2 is divided into 8-bit units by the bus width conversion circuit l and sequentially sent to the Summer 10 bus 3, while [
Input data that is input sequentially in 8-bit units via the 10 bus 3 is processed by the bus width conversion circuit I! The data are merged into 6-bit units and sent to the CPU bus 2.

「発明の効果」 以上説明したように、この発明によれば、Mビットのバ
ス幅を有するCPUバスを介して出力される出ツノデー
タがデータ分割手段でN(≦M/2n(nは正の整数)
)ビット単位に分割された後、I10バスへ順次送出さ
れる一方、I10パスを介してNビット単位で順次入力
される入力データが、入力データ併合手段でMビット単
位に併合された後、CPUバスへ送出されるようにした
ので、CPUバスの全バス幅が有効に利用されてデータ
の授受が行われ、この結果、CPUバスの110機器と
の入出力時におけるバス専有時間の短縮化が図られ、C
PUの処理能力を十分に発揮することできるという効果
が得られ、さらに、CPUバス上のデータ転送速度をD
MAコントローラ等に合わせて低く抑えつつ、I10バ
ス上のデータ転送速度の高速化を図ることができるので
、一般に市場に出回っている動作速度の遅いDMAコン
トローラ等でも十分に対応が可能であり、また、種類が
多く安価な、8ビツトの仕様のLSIで構成することが
できるので、コンピュータ・システム全体を安価に構成
することができるという効果も得られる。
"Effects of the Invention" As explained above, according to the present invention, output data output via a CPU bus having a bus width of M bits is processed by the data dividing means to N (≦M/2n (n is positive). integer)
) After being divided into bit units, the input data is sequentially sent to the I10 bus, while the input data sequentially input in N bit units via the I10 path is merged into M bit units by the input data merging means, and then sent to the CPU. Since data is sent to the bus, the entire bus width of the CPU bus is effectively used to exchange data, and as a result, the bus exclusive time during input/output with 110 devices on the CPU bus is reduced. planned, C
This has the effect of making full use of the processing power of the PU, and also reduces the data transfer speed on the CPU bus.
It is possible to increase the data transfer speed on the I10 bus while keeping it low enough to match the MA controller, etc., so it is fully compatible with slow operating speed DMA controllers etc. that are generally on the market. Since the computer system can be constructed using LSIs with a wide variety of inexpensive 8-bit specifications, it is also possible to construct the entire computer system at low cost.

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

第1図はこの発明の一実施例の全体構成を示すブロック
図、第2図は同実施例の書き込み制御回路の構成を示゛
4゛ブロック図、第3図は同書き込み制御回路の動作を
説明するための図、第4図は同実施例の読み出し制御回
路の構成を示すブロック図、第5図は同読み出し制御回
路の動作を説明するための図である。 l・・・・・・バス幅変換回路、 2・・・・・・CPUバス、 3・・・・・・I10バス、 +0.12,14.16・・・・・・8ビツトDラツヂ
、11.13,15.I 7・・・・・・8ビツトバツ
フア、20・・・・・・書き込み制御回路、 2I・・・・・・DMAタイミング発生器、22・・・
・・・ライトストローブ発生器、23・・・・・・ダウ
ンカウンタ、 30・・・・・・読み出し制御回路、 31・・・・・・DMAタイミング発生器、32・・・
・・・リードストローブ発生器、33・・・・・・アッ
プカウンタ。 出願人  ヤ マ ハ 株式会社 第2図 第4図 第3図 第5図
FIG. 1 is a block diagram showing the overall configuration of an embodiment of the present invention, FIG. 2 is a block diagram showing the configuration of a write control circuit of the same embodiment, and FIG. 3 is a block diagram showing the operation of the write control circuit. FIG. 4 is a block diagram showing the configuration of the read control circuit of the same embodiment, and FIG. 5 is a diagram for explaining the operation of the read control circuit. l...Bus width conversion circuit, 2...CPU bus, 3...I10 bus, +0.12, 14.16...8 bit D Radzi, 11.13,15. I7...8 bit buffer, 20...Write control circuit, 2I...DMA timing generator, 22...
... Write strobe generator, 23 ... Down counter, 30 ... Read control circuit, 31 ... DMA timing generator, 32 ...
...Read strobe generator, 33...Up counter. Applicant Yamaha Co., Ltd. Figure 2 Figure 4 Figure 3 Figure 5

Claims (1)

【特許請求の範囲】 Mビットのバス幅を有するCPUバスと、N(≦M/2
^n(nは正の整数))ビットのバス幅を有する入出力
バスとの間でバス幅の整合を行うバス幅変換回路におい
て、 前記CPUバスを介してMビット単位で出力される出力
データを、Nビット単位に分割して、前記入出力バスへ
順次送出する出力データ分割手段と、 前記入出力バスを介してNビット単位で順次入力される
入力データを、Mビット単位に併合して、前記CPUバ
スへ送出する入力データ併合手段と、を具備することを
特徴とするバス幅変換回路。
[Claims] A CPU bus having a bus width of M bits, and a bus width of N (≦M/2
In a bus width conversion circuit that performs bus width matching with an input/output bus having a bus width of ^n (n is a positive integer) bits, output data is output in M bit units via the CPU bus. output data dividing means that divides the data into N bit units and sequentially sends the divided data to the input/output bus, and merges the input data sequentially input in N bit units via the input/output bus into M bit units , and input data merging means for sending to the CPU bus.
JP29426988A 1988-11-21 1988-11-21 Bus width converting circuit Pending JPH02140853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29426988A JPH02140853A (en) 1988-11-21 1988-11-21 Bus width converting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29426988A JPH02140853A (en) 1988-11-21 1988-11-21 Bus width converting circuit

Publications (1)

Publication Number Publication Date
JPH02140853A true JPH02140853A (en) 1990-05-30

Family

ID=17805529

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29426988A Pending JPH02140853A (en) 1988-11-21 1988-11-21 Bus width converting circuit

Country Status (1)

Country Link
JP (1) JPH02140853A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05242015A (en) * 1992-01-02 1993-09-21 Internatl Business Mach Corp <Ibm> Computer system and method for storing transfer data between its system memory and input/output device
JPH09171471A (en) * 1995-12-21 1997-06-30 Kofu Nippon Denki Kk Inter-lsi asynchronous data transfer circuit
USRE36052E (en) * 1991-11-05 1999-01-19 Mitsubishi Benki Kabushiki Kaisha Data processor with bus-sizing function
US6413841B1 (en) 1998-10-22 2002-07-02 Nec Corporation MOS type semiconductor device and manufacturing method thereof
US6611462B2 (en) 2000-01-19 2003-08-26 Nec Electronics Corporation Semiconductor integrated circuit
JP2010287150A (en) * 2009-06-15 2010-12-24 Sanyo Electric Co Ltd Data transfer circuit

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE36052E (en) * 1991-11-05 1999-01-19 Mitsubishi Benki Kabushiki Kaisha Data processor with bus-sizing function
JPH05242015A (en) * 1992-01-02 1993-09-21 Internatl Business Mach Corp <Ibm> Computer system and method for storing transfer data between its system memory and input/output device
JPH09171471A (en) * 1995-12-21 1997-06-30 Kofu Nippon Denki Kk Inter-lsi asynchronous data transfer circuit
US6413841B1 (en) 1998-10-22 2002-07-02 Nec Corporation MOS type semiconductor device and manufacturing method thereof
US6611462B2 (en) 2000-01-19 2003-08-26 Nec Electronics Corporation Semiconductor integrated circuit
JP2010287150A (en) * 2009-06-15 2010-12-24 Sanyo Electric Co Ltd Data transfer circuit

Similar Documents

Publication Publication Date Title
EP1336972B1 (en) Method and apparatus for data inversion in a memory device
JP2001014269A (en) Computer system
JPS6054063A (en) Data transfer system
JPH02140853A (en) Bus width converting circuit
JP2000066994A (en) Lpc/isa bridge and its bridge method
US20030217218A1 (en) Interface for devices having different data bus widths and data transfer method using the interface
JP3667556B2 (en) DMA transfer control device and DMA transfer control method
JPH07327116A (en) Image input output controller
JPS59146266A (en) Coding and decoding device
JPH1063617A (en) Serial communication device
JPS6116357A (en) Data transfer device
JP2001014270A (en) Data transfer method and device and their application system
JPS61150055A (en) Dma data transfer system
JP3304107B2 (en) Data bus control method
JPS6318452A (en) Dma controller
JPH056335A (en) Inter-device interface system
TW202236832A (en) Adaptive serial general purpose input output interface and siganl receiver thereof
JPS6022797A (en) Magnetic bubble memory device
JPH0594404A (en) Direct memory access controller
JPH07281997A (en) Data transfer system
JPH0756758A (en) Data processor
JPH05181795A (en) Counter and information reproducing device using the same
JPS62226252A (en) Serial input and output circuit
JPS63142446A (en) Address generating system
JPH0635841A (en) Bus controller