JPS59100931A - Data transferring circuit - Google Patents

Data transferring circuit

Info

Publication number
JPS59100931A
JPS59100931A JP21164782A JP21164782A JPS59100931A JP S59100931 A JPS59100931 A JP S59100931A JP 21164782 A JP21164782 A JP 21164782A JP 21164782 A JP21164782 A JP 21164782A JP S59100931 A JPS59100931 A JP S59100931A
Authority
JP
Japan
Prior art keywords
data
bit
data bus
buffer
switching circuit
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
JP21164782A
Other languages
Japanese (ja)
Inventor
Akira Nishimura
彰 西村
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP21164782A priority Critical patent/JPS59100931A/en
Publication of JPS59100931A publication Critical patent/JPS59100931A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4009Coupling between buses with data restructuring
    • G06F13/4018Coupling between buses with data restructuring with data-width conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

Abstract

PURPOSE:To execute a data transfer by a DMA between systems whose bit width is different from each other, and to raise interchangeability and extensibility of the system by executing directly the data transfer between two kinds of data buses whose bit width is different from each other. CONSTITUTION:In case when a data is transferred to an eight bit system I/OS 2 from a 16 bit CPU S1, a 16 bit data is written in buffer blocks 101, 102 by a data direction signal 2, a switching circuit 109 and AND gates 105, 106. At that time point, a switching circuit 110 is set, and the CPU S1 becomes an idle state. The I/OS 2 reads the buffer clock 101 by outputting an eight bit read signal 11, the switching circuit 110 is reset, and an operation for setting the following 16 bit data is started. On the other hand, the I/OS 2 reads the residual eight bit data from the buffer block 102. These series of operations are repeated, and the data transfer is ended.

Description

【発明の詳細な説明】 技術分野 この発明はビット幅の異なる2撞傾のデータバス間にて
データの転送を行なう回路に関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a circuit for transferring data between two data buses having different bit widths.

従来技術 例えば、16ビツト系のCPU (中央処理装置)を使
用するシステムにおけるデータバスと8ビツト系のCP
Uを使用するシステムのデータバスは、そのビット幅が
異なるために、相互にデータの転送を行なうことはでき
ない。しかし、例えば16ビツト系のCPUと8ビツト
系のシステム間にてデータの転送を相互に行なうことが
できれば、システム間の互換性あるいはシステムの拡張
性は大幅に高められるという利点が生じる。また、同一
の電子機器内にても、16ビツト系のCPUと8ビツト
系のCPUをそれぞれの特長を活かして使い分けること
ができれは、その機器の構成を大幅に合理化することが
oJ fi’r4になる。もちろん、モデム等を用いた
111キ手段を用いれば、ビット幅の異なるシステム間
にてもデータの転送は一応可能である。
Prior Art For example, a data bus and an 8-bit CPU in a system using a 16-bit CPU (Central Processing Unit)
Data buses in systems using U have different bit widths, so data cannot be transferred to each other. However, if data can be transferred between, for example, a 16-bit CPU and an 8-bit system, there will be an advantage that the compatibility between the systems or the expandability of the system will be greatly improved. Furthermore, if it is possible to use a 16-bit CPU and an 8-bit CPU in the same electronic device by taking advantage of their respective features, the configuration of that device can be greatly streamlined. It becomes r4. Of course, data can be transferred even between systems with different bit widths by using 111 key means such as a modem.

しかし、このようなモデム等を用いた通(i手段は、そ
の構成が複雑であるばかりか、データの転送手段として
2の効率も非常に悪く、少なくとも同一の電子機器内に
おけるデータの転送手段として使用されるものではない
。ビット1唱の異なるシステム間においてデータの転送
を行なう利点は、例えばDMA  (ダイレクト・メモ
リ・アクセス)のようにデータを直接転送することによ
りはじめて得られるのである。しかしながら、従来にお
いては、そのDMAのようにデータを直接転送すること
を、ビット幅の異なる2錘類のデータバス間にて行なう
ことはできなかった。
However, such communication means using modems etc. not only have a complicated structure, but also have very low efficiency as a data transfer means, and are at least difficult to use as a data transfer means within the same electronic device. The benefits of transferring data between different bit-by-bit systems can only be obtained by transferring data directly, for example with DMA (Direct Memory Access). However, Conventionally, it has not been possible to directly transfer data as in DMA between two spindle-type data buses having different bit widths.

目的 この発明は以上のような従来の課題に鑑みてなされたも
ので、その目的とするところは、例えば16ビツト幅の
データバスと8ビツト幅のデータバス間のように、ビッ
ト幅の異なる2′+1J類のデータバス間にてデータの
転送を直接に行なうことができるようにし、これにより
ビット幅の異なるシステム間にてDMAによるデータ転
送を可能にし、システムの互換性あるいは拡張性を大幅
に高めることや、電子機器の構成を大幅に合理化するこ
となどを可能にしたデータ転送回路k 提供することに
ある。
Purpose This invention was made in view of the above-mentioned conventional problems, and its purpose is to connect two data buses with different bit widths, for example between a 16-bit wide data bus and an 8-bit wide data bus. '+1J type data buses can be directly transferred, which enables data transfer using DMA between systems with different bit widths, greatly increasing system compatibility and expandability. An object of the present invention is to provide a data transfer circuit that makes it possible to improve the performance of electronic equipment and greatly streamline the configuration of electronic equipment.

構成 以下、この発明の好適な実施例全図面に基づいて説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below with reference to all the drawings.

図はこの発明によるデータ転送回路を用いたシステムの
一部を示す。同図に示すシステムは、16ビツト系CP
U  81  と8ビツト系■10(入出力回路) 8
2  との間に、2組のデータバスバッファ(IQI、
 102の組と103,104の組)が設けられている
。この2組のデータノ(スバツファは、それぞれ8ビツ
ト幅のバッファブロック101.102 ト103゜1
04によって編成されている。また、データの転送動作
を制御するために、ANDゲート105〜108と切換
回路109〜111などが設けられている。データバス
バッファ(101〜104)と16ビツト系CPU 8
1との間には16ビツト幅のデータバス3が接続され、
マタデータバスバツファと8ビツト系l10S2との間
には8ビツト幅のデータバスバッファ8が接続されてい
る。データの抗取りあるいは書込みの制(至)は、デー
タ方向信号2.ビジー信号4.ビジークリア!Q5.t
6ビツトリード11号6,16ビツトライト信号7.チ
ップセレクト信号9. 8/16ビツト・リードライト
信号10,8ピツトリートイぎ−qll、  8ビツト
ライト信5yx2などを用いて行なう。
The figure shows part of a system using a data transfer circuit according to the present invention. The system shown in the figure is a 16-bit CP
U 81 and 8-bit system ■ 10 (input/output circuit) 8
2, two sets of data bus buffers (IQI,
A set of 102 and a set of 103 and 104) are provided. These two sets of data buffers each have 8-bit width buffer blocks 101, 102 and 103°1.
Organized by 04. Furthermore, AND gates 105 to 108, switching circuits 109 to 111, and the like are provided to control data transfer operations. Data bus buffer (101 to 104) and 16-bit CPU 8
A 16-bit wide data bus 3 is connected between
An 8-bit wide data bus buffer 8 is connected between the master data bus buffer and the 8-bit system l10S2. The data direction signal 2. Busy signal 4. Busy clear! Q5. t
6-bit read No. 11 6, 16-bit write signal 7. Chip select signal9. This is done using an 8/16-bit read/write signal 10, an 8-bit read/write signal 1-qll, an 8-bit write signal 5yx2, etc.

こCで、16ビツトCPU5lから8ビツト系l10S
2へデータを転送する場合、データ方向信号2と切換回
路109とANDゲー) 105.106によってバッ
ファブロックIQI、 102に16ビツトデータヲ書
込む。そして、その時点で切換回路110をセットし、
ビジー4m94を作る。これにより、16ビツト系CP
U5Iはそのビジー信号4の間だけアイドル状態となる
。8ビツト系I1082&j−、データをもらう用意が
できると、8ビツトリ一ド信号11す出してバッファグ
ロック101を読取る。この時点で、切換回路110が
リセットされ、これとともにビジー信号4もリセットさ
れて、16ビツト系CPU S 1はアイドル状態から
解放され、次の16ビツトデータのセットのための動作
を開始する。他方、8ビツト系I10 S 2は、残り
の8ビツトデータをバッファグロック102から読取る
。これらの一連の動作が繰返えされ、予め決められたバ
イト数だけの転送動作が行なわれてデータの転送が終了
する。
In this C, from 16-bit CPU5l to 8-bit system l10S
When transferring data to the buffer block IQI, 102, 16-bit data is written to the buffer block IQI, 102 using the data direction signal 2, the switching circuit 109, and the AND gate (105, 106). Then, at that point, the switching circuit 110 is set,
Make busy 4m94. As a result, 16-bit CP
U5I is idle only during its busy signal 4. When the 8-bit system I1082&j- is ready to receive data, it issues an 8-bit read signal 11 and reads the buffer clock 101. At this point, the switching circuit 110 is reset, and the busy signal 4 is also reset, and the 16-bit CPU S1 is released from the idle state and starts operation for setting the next 16-bit data. On the other hand, the 8-bit system I10S2 reads the remaining 8-bit data from the buffer clock 102. These series of operations are repeated, and the data transfer is completed after a predetermined number of bytes have been transferred.

また、8ビツト系l1082から16ビツト系CPU5
I ヘデータを転送する場合、16ビツト系CPU5I
はバッファブロック103,104を読む動作に入るス
15、その瞬間に切換回路Illがセットされてビジー
信号4が働き、これにより16ビツト系CPU5Iはア
イドル状態となる。他方、8ビツト系l1082は、デ
ータを渡す用意ができると、8ビットライト4W−Qi
zを出し、バッファブロック104へ下位8ビツトデー
タを書込む。このあと、次の8ビツトライト信JFj1
2を出し、バツファズロツク103へ上位8ビツトを書
込む・この瞬間に上記切換回路111がリセットされ、
これによりビジー信号4がリセットされて、16ビツト
系CPU S lがバッファブロック104,103を
抗取る。これら一連の動作が繰返えされ、予め決められ
たバイト数だけのデータの転送動作が行なわれると、デ
ータの転送が終了する・ 以上のようにして、8ビツト系データバス8と16ビツ
ト系データバス3との間の直接的なデータ転送、例えば
DMAによるデータ転送が町Ti′目になる。また、8
ビツト系データバス8と16ビツト系データバス3の間
に上述のようにDMA等によるデータ転送を行なうとぎ
、8ビツト系データバス81+11が2回の読取りある
いは香込みの動作を行な5i1JJK、t6ビツト系デ
ータバス3 Illは1回の書込みあるいは抗取りの動
作を行なえばよいため、16ビツト系データバス3側の
書込みあるいは鑞取りのための動作回数は8ビツト系の
それに比べて1/2となる。この結果、16ビツト系デ
ータバス3側におけるデータの転送速度を高めることが
で】gL 以上のように、この発明によるデータ転送回路は、例え
ば8ビツトと16ビツトのように、ビット幅の異なるデ
ータバス間にてデータの転送を行なうことができるとと
もに、そのデータの転送を例えばDMAにより直接的に
行なうことができ、従ってその転送は高速化することが
できる。そしてこれにより、ビット幅の異なるシステム
間におけるデータの高速転送を可能にして、それらのシ
ステムの互換性あるいは拡張性を高め、あるいはビット
幅の異なるシステムの長所を使い分けて電子機器を構成
することにより、該機器の構成を大幅に合理化すること
ができる。
In addition, from 8-bit system l1082 to 16-bit system CPU5
When transferring data to I, 16-bit CPU5I
At step 15, the operation of reading the buffer blocks 103 and 104 begins; at that moment, the switching circuit Ill is set, the busy signal 4 is activated, and the 16-bit CPU 5I becomes idle. On the other hand, when the 8-bit system l1082 is ready to pass data, it performs an 8-bit write 4W-Qi.
z and writes the lower 8 bit data to the buffer block 104. After this, the next 8-bit write signal JFj1
2 and write the upper 8 bits to the buffer lock 103. At this moment, the switching circuit 111 is reset,
As a result, the busy signal 4 is reset, and the 16-bit CPU S1 takes over the buffer blocks 104 and 103. When these series of operations are repeated and a predetermined number of bytes of data have been transferred, the data transfer ends. Direct data transfer with the data bus 3, for example data transfer by DMA, is the Ti'th data transfer. Also, 8
When data is transferred between the bit-based data bus 8 and the 16-bit data bus 3 by DMA or the like as described above, the 8-bit data bus 81+11 performs two read or write operations, 5i1JJK, t6. Since the bit data bus 3 Ill only needs to perform one writing or brazing operation, the number of writing or brazing operations on the 16-bit data bus 3 side is 1/2 that of the 8-bit data bus. becomes. As a result, the data transfer speed on the 16-bit data bus 3 side can be increased]gL As described above, the data transfer circuit according to the present invention can transfer data with different bit widths, such as 8 bits and 16 bits. Data can be transferred between the buses, and the data can be transferred directly, for example, by DMA, so that the transfer can be performed at high speed. This will enable high-speed data transfer between systems with different bit widths, increasing the compatibility or expandability of those systems, or configuring electronic equipment by properly utilizing the advantages of systems with different bit widths. , the configuration of the device can be significantly streamlined.

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

図はこの発明の実施例によるデータ転送1oJ略を用い
たシステムの一部を示す。 Sl・・・16ビツト系CPU   82 ・・・8ビ
ツト系I10  101〜104・・・データバスバッ
ファを自戒するバッファブロック105〜108・・・
ANDゲ−)109〜111・・・切換回路 2・・・
データ方向信号 3・・・16ビツトデータバス 4・
・・ビジー信号 5・・・ビジ−クリア1d号 6・・
・16ビツトリ一ドイgサ 7・・・16ビツトライト
倍号 8・・・8ビツトデータバス 9・・・チップセ
レクXM”5 10・・・8/16ビツト・リートライ
トイMW  11・・・gビットリード信号 12・・
・8ビットライト信号出願人代理人 鳥 井   清
The figure shows part of a system using a data transfer system according to an embodiment of the present invention. Sl...16-bit system CPU 82...8-bit system I10 101-104...Buffer blocks 105-108 for controlling data bus buffers...
AND game) 109-111...Switching circuit 2...
Data direction signal 3...16-bit data bus 4.
... Busy signal 5 ... Busy clear No. 1d 6...
・16-bit write data bus 7...16-bit write multiple number 8...8-bit data bus 9...Chip select XM"5 10...8/16-bit read write IMW 11...g Bit read signal 12...
・8-bit light signal applicant Kiyoshi Torii

Claims (1)

【特許請求の範囲】[Claims] ビット幅の異なる2棟類のデータノくス間にてデータの
転送を行なう回路において、ビット幅の長い第1のデー
タバスとビット幅の短い第2のデータバスとの間に、第
1のデータノくスと第2のデータバスの両側から互いに
時分割でアクセスされるデータバスバッファが設けられ
、このデータノくスバツファは、上記第1のデータノ(
スと同じビット幅を有するとともに、それぞれが上記第
2のデータバスと同じビット隔r有する2つ以上の/く
ラフアブロックに分割され、第1のデータ/くス側から
は上記データバスバッファを単位としてデータの書込み
あるいは銃取り動作を行なう一万、第2のデータバス側
からは上記データノ(スノくツファ内の各ブロックを単
位としてデータの抗取りあるl/)&工書込み動作を行
建い、第2のデータ〉くス側力・らの読取りあるいは書
込みの動作が上記バッフアブ9ツクの数だけ行なわれる
毎に第1のデータバス側から1回の書込みあるいは読取
りの動作が行久われるようにしたことを特徴とするデー
タ転送回路。
In a circuit that transfers data between two data busses with different bit widths, a first data bus is connected between a first data bus with a long bit width and a second data bus with a short bit width. A data bus buffer is provided which is accessed in a time-sharing manner from both sides of the first data bus and the second data bus.
The data bus buffer is divided into two or more blocks, each having the same bit width as the second data bus and the same bit spacing r as the second data bus. From the second data bus side, the data write operation is performed in units of 1,000 and 10,000, and the data write operation is performed from the second data bus side. In addition, one write or read operation from the first data bus side is performed every time a read or write operation from the second data bus side is performed for the number of buffers. A data transfer circuit characterized in that:
JP21164782A 1982-12-02 1982-12-02 Data transferring circuit Pending JPS59100931A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21164782A JPS59100931A (en) 1982-12-02 1982-12-02 Data transferring circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21164782A JPS59100931A (en) 1982-12-02 1982-12-02 Data transferring circuit

Publications (1)

Publication Number Publication Date
JPS59100931A true JPS59100931A (en) 1984-06-11

Family

ID=16609245

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21164782A Pending JPS59100931A (en) 1982-12-02 1982-12-02 Data transferring circuit

Country Status (1)

Country Link
JP (1) JPS59100931A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0228745A (en) * 1988-07-18 1990-01-30 Yaskawa Electric Mfg Co Ltd Bus width alteration circuit
JPH0261745A (en) * 1988-08-29 1990-03-01 Fujitsu Ltd Read transfer control system for dmac

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0228745A (en) * 1988-07-18 1990-01-30 Yaskawa Electric Mfg Co Ltd Bus width alteration circuit
JPH0261745A (en) * 1988-08-29 1990-03-01 Fujitsu Ltd Read transfer control system for dmac

Similar Documents

Publication Publication Date Title
JPS6118059A (en) Memory circuit
JPS59100931A (en) Data transferring circuit
JP2692469B2 (en) Data controller
JP2521535B2 (en) Data transfer circuit
JPS61223964A (en) Data transfer device
JPS6383844A (en) Microprocessor system
JP2536912B2 (en) Bus control method
JPS58107936A (en) Composite bus circuit
JP3304107B2 (en) Data bus control method
JPS6362064A (en) Bus converter
JPH0330899B2 (en)
JP2953169B2 (en) Data processing device
JP2609685B2 (en) Reset circuit
JPH0736566B2 (en) Serial data transmitter
JPH0567035A (en) Data alignment system for dma transfer
JPS6136854A (en) Memory switching device
JPS6369326A (en) Data converter
JPH1131121A (en) Bus width conversion circuit
JPH03144840A (en) Chip selection system
JPH04160458A (en) Dma controller peripheral circuit
JPH02201569A (en) Inter-microprocessor communication system
JPH01191966A (en) Data processing system
JPH04326445A (en) Control register write device
JPH05257882A (en) Data processor
JPH0659968A (en) Bit/byte conversion circuit