JPS62226360A - Data converting circuit - Google Patents

Data converting circuit

Info

Publication number
JPS62226360A
JPS62226360A JP7008986A JP7008986A JPS62226360A JP S62226360 A JPS62226360 A JP S62226360A JP 7008986 A JP7008986 A JP 7008986A JP 7008986 A JP7008986 A JP 7008986A JP S62226360 A JPS62226360 A JP S62226360A
Authority
JP
Japan
Prior art keywords
data
inverse
signal
bit
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
JP7008986A
Other languages
Japanese (ja)
Inventor
Noriyuki Aoyama
青山 徳行
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 JP7008986A priority Critical patent/JPS62226360A/en
Publication of JPS62226360A publication Critical patent/JPS62226360A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To enhance the throughput of a system by halving the time of possession of a system bus at the time of data transfer. CONSTITUTION:At the time of outputting odd number-th data, clock is inputted to a latch 4 by gating the output of AD0 and the inverse of WRITE signal with an AND circuit 10 and data are held. At the time of outputting even number-th data, the output of AD0 inverted by an NOT circuit 9 and the inverse of WRITE signals are gated with an AND circuit 12 to make it the inverse of WRITE signal to a memory, and held temporarily in a control buffer 13. The inverse of HOLDREQ signal is sent to a CPU15, and after the inverse of HOLDACK signal which is an answer signal, becomes low level, the inverse of WRITE signal to a memory held by the control buffer 13 and 16-bit data held by a bus buffer 7 are outputted on a system but 3.

Description

【発明の詳細な説明】 屡JB匝 本発明はデジタル情報処理装置間のデータ転送に関し、
より詳細には互いに接続される装置の処理ビット数がそ
れぞれ異なる場合のデータ転送に関するものである。
[Detailed Description of the Invention] The present invention relates to data transfer between digital information processing devices,
More specifically, the present invention relates to data transfer when devices connected to each other have different numbers of processing bits.

丈米孜生 処理ピッ1〜数の異なる情報処理装置間のデータ転送1
例えば8ビツトLSIを使用し、た処理回路から16ビ
ツト幅のシステムバスを介し、て、メモリ等にデータを
転送する場合、従来は処理回路に合わせて8ビットの転
送を行っていた。この場合システムバスは16ビツトの
転送が可能にもかかわらず、8ビツトで転送を行ってい
るため、システムバスの利用効率が悪く、また5データ
量が大量になる場合にはシステムバスを長時間に渡って
占有してしまい、この間システムバスを使った他の処理
が何もできなかった。
Processing pin 1 - Data transfer between different numbers of information processing devices 1
For example, when using an 8-bit LSI and transferring data from a processing circuit to a memory or the like via a 16-bit wide system bus, conventionally 8-bit transfer was performed depending on the processing circuit. In this case, even though the system bus is capable of 16-bit transfers, 8-bit transfers are performed, resulting in poor utilization of the system bus, and if the amount of data is large, the system bus may be used for a long time. During this time, no other processing using the system bus could be performed.

そこで、転送されてくる8ビツトのデータを一時的に保
持し、ていき、バス幅に見合う16ビツトの転送データ
にまとめられた時点で出力するというデータ転送方式が
知られている。
Therefore, a data transfer method is known in which the transferred 8-bit data is temporarily held, and then output when it is compiled into 16-bit transfer data that matches the bus width.

しかし、この方式ではシステムバスの占有時間は1/2
にすることができるが、2単位分、すなわち16ビツト
の転送データが保持されたことを確認した後に処理回路
よりWRITE信号を出力するという制御をとっている
ため、1回データ変換を行うごとに8ビツト転送時より
も処理回路のWRITE信号が1回増すことになり、デ
ータ転送に要する時間が長くなってし、まう欠点を有す
る。
However, with this method, the system bus occupation time is halved.
However, since the control is such that the processing circuit outputs the WRITE signal after confirming that two units of transfer data, that is, 16 bits, have been retained, each time data conversion is performed, This has the drawback that the number of WRITE signals of the processing circuit increases by one compared to the case of 8-bit transfer, and the time required for data transfer becomes longer.

1煎 本発明は上記従来の欠点に鑑みてなされたもので、デー
タ転送時間を延長させろ、二となく、し、かもデータ転
送時のシステムバスの占有時間を減少させたデータ変換
回路を提供することを目的とする。
The present invention has been made in view of the above-mentioned drawbacks of the conventional art, and provides a data conversion circuit that can extend the data transfer time, and also reduce the system bus occupation time during data transfer. The purpose is to

復氏 本発明は上記の目的を達成させるため、従来の処理回路
の入出力信号をそのまま利用したことを特徴とするもの
である。
In order to achieve the above object, the present invention is characterized in that the input/output signals of the conventional processing circuit are utilized as they are.

以下本発明の実施例に基いて具体的に説明する。The present invention will be specifically explained below based on Examples.

図は8ビツト処理回路より16ビツトシステムバスを介
し、てメモリへデータを入出力する際に、処理回路とシ
ステムバスの間に本発明のデータ変換回路を適用したも
のである。
The figure shows the data conversion circuit of the present invention applied between the processing circuit and the system bus when inputting and outputting data from the 8-bit processing circuit to the memory via the 16-bit system bus.

図を参照して、実施例の構成を説明する。The configuration of the embodiment will be described with reference to the drawings.

バスマスタと成り得る処理回路(2)とシステムバス(
3)の間のデータバス上には、処理回路からデータを出
力する際に奇数時のデータ出力を一時保持するラッチ(
4)と偶数時のデータ出力を通す内部バス(6)が設け
られており、処理回路(2)より出力される連続し、た
8ビツト11位のデータ群の、奇数番口のものをラッチ
(4)に保持し1.偶数番口のものは内部バス(6)を
通すことで、パスバッファ(7)に16ビツトデータと
して朶め、システムバス(3)上へ出力する。
A processing circuit (2) that can become a bus master and a system bus (
On the data bus between 3), there is a latch (
4) and an internal bus (6) for passing the data output for even numbers, which latches the odd numbers of the continuous 8-bit 11th data group output from the processing circuit (2). (4) Hold 1. By passing the even numbered data through the internal bus (6), it is combined into a path buffer (7) as 16-bit data and output onto the system bus (3).

また、システムバス(3)から処理回路(2)にデータ
を入力する際に16ビツトデータのうち上位8ビツトデ
ータを通す内部バス(6)(前記偶数時のデータ出力を
通す内部バスと兼用)と下位8ビツトデータを一時保持
するラッチ(5)が設けられており、16ビツトとし、
てシステムバス(3)から取込まれたデータはバスバッ
ファ(8)により上位8ビツトと下位8ビツトに分離さ
れ、上位8ビツトは内部バス(6)を通してそのまま処
理回路(2)に入力、下位8ビツトはラッチ(5)に一
時保持さkた後、処理回路(2)kニー人力される。
Also, an internal bus (6) that passes the upper 8 bits of the 16-bit data when inputting data from the system bus (3) to the processing circuit (2) (also serves as the internal bus that passes the data output in the case of an even number). A latch (5) is provided to temporarily hold the lower 8-bit data, which is 16 bits.
The data fetched from the system bus (3) is separated into upper 8 bits and lower 8 bits by the bus buffer (8), and the upper 8 bits are input directly to the processing circuit (2) via the internal bus (6), and the lower After the 8 bits are temporarily held in the latch (5), they are input to the processing circuit (2).

この構成において、まず処理回路よりデータを出力し・
メモリ(14)に書込む際の動作を説明する。
In this configuration, data is first output from the processing circuit.
The operation when writing to the memory (14) will be explained.

最初のデータを出力するときのアドレスは00・・・・
・・・・・・・・00″であり、2番目は00・・・・
・・・・・・・・01・’、:l目は00・・・・・・
・・・・・・10”(以下略)であるからアドレス信号
出力線ADOの出力は0゜L、O,t・・・(以下1+
13)の繰返しとなる。これを利用し7、奇数番目のデ
ータ出力時には前記ADOの出力とWRITE信号をA
ND回路(10)でゲートさせることにより、ラッチ(
4)にクロックを入力し、データを保持する。また、偶
数番口のデータ出力時には、上記ADOの出力をNOT
回路(9)でインバートしたものとWRI置!号をAN
D回路(12)でゲートさせることによりメモリへのW
RITE信号とし、コントロールバッファ(13)に−
艮保持する。システムバスを使用する場合には処理回路
(2)がバスマスタとなる必要がある。この要求がHO
LDREQ信号であり、これをCPTJ(15)に送り
、応答信号であるHOLDACK信号が低レベルになっ
た後、前記コントロールバッファ(13)に保持された
メモリへのWRITE信号と前記パスバッファ(7)に
保持された16ビツトデータをシステムバス(3)上に
出力する。
The address when outputting the first data is 00...
......00'', and the second is 00...
・・・・・・・・・01・', :lth is 00...
...10" (hereinafter omitted), the output of the address signal output line ADO is 0°L, O, t... (hereinafter 1+)
13) is repeated. Using this, when outputting odd-numbered data, the output of the ADO and the WRITE signal are
By gated with the ND circuit (10), the latch (
4) Input the clock and hold the data. Also, when outputting data for even numbered slots, the output of the above ADO is NOT
Invert with circuit (9) and place WRI! The number is AN
W to the memory is gated by the D circuit (12).
RITE signal and send it to the control buffer (13).
Hold the barb. When using the system bus, the processing circuit (2) needs to become the bus master. This request is HO
The LDREQ signal is sent to the CPTJ (15), and after the response signal HOLDACK signal becomes low level, the WRITE signal to the memory held in the control buffer (13) and the path buffer (7) are sent. The 16-bit data held in the system bus (3) is outputted to the system bus (3).

ところで、上記のデータ変換において、処理回路より出
力されろ8ビツトデータ群が偶数の場合には2111位
ずつ16ビツトとして転送すればよいが、奇数の場合に
は最後の8ビツトデータがラッチ(4)に残ってし、ま
うことになる。この処理について述べる。
By the way, in the above data conversion, if the 8-bit data group output from the processing circuit is an even number, it is sufficient to transfer it as 16 bits for each 2111th place, but if it is an odd number, the last 8-bit data is latched (4 ) and end up leaving. This process will be described below.

処理回路(2)はデータ転送がすべて終了した時点でC
PU(15)に対し、て割込みをかけ、転送し、た8ビ
ツトデータ群の数を知らせる。Cp TJ(15)は転
送し、た8ビツトデータ群の数が奇数であればラッチ(
4)にデータが残っていると判断し1、データ変換回路
(1)に対してREAD信号を出力し1.ラッチ(4)
とパスバッファ(7)を代1ノベルにすることで、残さ
れた8ビツトのデータを読出してメモリの所定の位置に
格納する。
The processing circuit (2) switches to C when all data transfer is completed.
It interrupts the PU (15), transfers it, and informs it of the number of 8-bit data groups. Cp TJ (15) transfers, and if the number of 8-bit data groups is odd, latches (
4) determines that data remains in 1, outputs a READ signal to the data conversion circuit (1), and 1. Latch (4)
By setting the path buffer (7) to one novel, the remaining 8 bits of data are read out and stored in a predetermined location in the memory.

次にシステムバス(3)から処理回路(2)にデータを
入力する際の動作を説明する。
Next, the operation when inputting data from the system bus (3) to the processing circuit (2) will be explained.

データ出力の時と同様に考えればよい。処理回路(2)
のREAD信号のうち、奇数番目のものだけをシステム
バス(3)を介してメモリへ出力し、データ変換回路(
1)内にデータを呼込む。奇数?h目のREAD信号に
よって転送されてきた1〔3ビツトデータはバスバッフ
ァ(8)により上位8ピッl−、下位8ビツトに分離さ
れ、上位8ビツトは内部バス(6)を通してそのまま処
理回路(2)内に取込まれる。下位8ビツトはラッチ(
5)に一時保持され、次のREAD信号、すなわち偶数
番口のREAD信号の出力を用いて処理回路(2)内に
取込まれる。
You can think of this in the same way as when outputting data. Processing circuit (2)
Of the READ signals, only the odd-numbered one is output to the memory via the system bus (3), and the data conversion circuit (
1) Load data into. Odd number? The 1[3-bit data transferred by the h-th READ signal is separated into upper 8 bits and lower 8 bits by the bus buffer (8), and the upper 8 bits are directly sent to the processing circuit (2) through the internal bus (6). ). The lower 8 bits are latched (
5), and is taken into the processing circuit (2) using the next READ signal, that is, the output of the even-numbered READ signal.

なむ1本実施例では8ビツト処理回路と16ビツトシス
テムバス間のデータ転送について説明し、だが、処理回
路が16ビツトシステムバスが32ビツト構成の場合に
も当然適用し得る。
In this embodiment, data transfer between an 8-bit processing circuit and a 16-bit system bus will be described, but the invention can of course also be applied to a case where the processing circuit is a 16-bit system bus and the system bus is of a 32-bit configuration.

!琢 以上の説明で明らかなように9本発明によればデータ転
送時のシステムバスの占有時間を172にすることがで
き、システムのスループットが向上する。
! As is clear from the above description, according to the present invention, the system bus occupation time during data transfer can be reduced to 172 seconds, improving system throughput.

また、従来の処理回路から出力される(8号をそのまま
利用し、ているため、従来システムへ本発明のデータ変
換回路を適用することが容易である。
Furthermore, since the data (No. 8) output from the conventional processing circuit is used as is, it is easy to apply the data conversion circuit of the present invention to the conventional system.

4、図面の1Ilili旧な説明 図は本発明を実施するシステムの構成を示すブロック図
である。
4. The first explanatory diagram of the drawings is a block diagram showing the configuration of a system implementing the present invention.

Claims (1)

【特許請求の範囲】 処理ビット数の異なる機器間でデータ転送を行うために
設かるデータ変換回路において; 1単位の転送データを保持する記憶手段; 1単位の転送データに前記記憶手段を回避させる転送手
段;および、 連続して転送されてくるデータを前記記憶手段、転送手
段に振分ける制御手段; を備えるデータ変換回路
[Claims] In a data conversion circuit provided for transferring data between devices having different processing bit numbers; Storage means for holding one unit of transfer data; Allowing one unit of transfer data to bypass the storage means A data conversion circuit comprising: a transfer means; and a control means for distributing continuously transferred data to the storage means and the transfer means.
JP7008986A 1986-03-28 1986-03-28 Data converting circuit Pending JPS62226360A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7008986A JPS62226360A (en) 1986-03-28 1986-03-28 Data converting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7008986A JPS62226360A (en) 1986-03-28 1986-03-28 Data converting circuit

Publications (1)

Publication Number Publication Date
JPS62226360A true JPS62226360A (en) 1987-10-05

Family

ID=13421464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7008986A Pending JPS62226360A (en) 1986-03-28 1986-03-28 Data converting circuit

Country Status (1)

Country Link
JP (1) JPS62226360A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02254557A (en) * 1989-03-29 1990-10-15 Hitachi Ltd Communication control processing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02254557A (en) * 1989-03-29 1990-10-15 Hitachi Ltd Communication control processing device

Similar Documents

Publication Publication Date Title
GB2060961A (en) Data processing system having memory modules with distributed address information
JPH01224857A (en) Data transfer control system
JPS62226360A (en) Data converting circuit
JPS6136854A (en) Memory switching device
JPS59178667A (en) Memory device
JPS6048828B2 (en) Memory addressing method
JP2724797B2 (en) Direct memory access system
JPS5830610B2 (en) interface system
JPH04360425A (en) Semiconductor storage device
JPS6271084A (en) Semiconductor integrated circuit
JPH047730A (en) Magnetic disk control system
JP2550964B2 (en) Memory access control method
JPH0330899B2 (en)
JPS58101358A (en) Memory controlling system
JPS6369326A (en) Data converter
JPH04176089A (en) Memory apparatus
JPH0544755B2 (en)
JPH04350742A (en) Picture data write method and picture memory device
JPH0446229B2 (en)
JPS616757A (en) Data transfer device
JPS61235968A (en) Data bus control system
JPH0139137B2 (en)
JPH0579800U (en) Semiconductor memory device
JPS6087491A (en) Memory device control system
JPH01109460A (en) Data transfer equipment