JPS63186358A - Data transfer system - Google Patents

Data transfer system

Info

Publication number
JPS63186358A
JPS63186358A JP1924587A JP1924587A JPS63186358A JP S63186358 A JPS63186358 A JP S63186358A JP 1924587 A JP1924587 A JP 1924587A JP 1924587 A JP1924587 A JP 1924587A JP S63186358 A JPS63186358 A JP S63186358A
Authority
JP
Japan
Prior art keywords
memory
data
system bus
local
width
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
JP1924587A
Other languages
Japanese (ja)
Inventor
Hideki Kobayashi
秀樹 小林
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 JP1924587A priority Critical patent/JPS63186358A/en
Publication of JPS63186358A publication Critical patent/JPS63186358A/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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)

Abstract

PURPOSE:To transfer data while extending an address with and to reduce the transfer loss by providing an address counter to the controller of a local memory to convert the data size of the memory. CONSTITUTION:A main memory 2 having the 32-bit data width, the CPU 4 of the 8-bit data width, and a terminal equipment 3 containing local memories 5A and 5B are connected to a system bus 1 having the 32-bit data width. A memory controller 6 of the equipment 3 contains as address counter which converts the data size and controls the area accesses of both memories 5A and 5B. When data are transferred to the memory 2 from the memories 5A and 5B, the base address of the memory 2 is set at a system bus 7 to carry out an area access. Thus data are transferred to the memory 2 while the 8-bit width is automatically extended to the 32-bit width. Thus the data transfer loss is reduced.

Description

【発明の詳細な説明】 技術分野 本発明はデータ転送方式に関し、特にバス幅の異なるメ
モリ間でデータ転送を行う場合に有効なデータ転送方式
に関する。
TECHNICAL FIELD The present invention relates to a data transfer method, and more particularly to a data transfer method that is effective when transferring data between memories having different bus widths.

従来技術 従来は、バス幅の異なるメモリ間でデータ転送を行う場
合、通常は、バス幅の狭い方に合せて転送を行うように
していたため、バス幅の広い方のバスの効率が悪化する
という問題があった。
Conventional technology In the past, when data was transferred between memories with different bus widths, the transfer was usually performed according to the narrower bus width, which caused the efficiency of the wider bus to deteriorate. There was a problem.

また、上記問題を解消するために、広い方のバス幅に合
せてデータをラッチすることも考えられるが、この場合
には、ラッチするための時間がかかるという別の問題を
生ずるものであった。
Additionally, in order to solve the above problem, it may be possible to latch data according to the wider bus width, but in this case, another problem arises in that it takes time to latch. .

目     的 本発明は上記事情に鑑みてなされたもので、その目的と
するところは、従来のデータ転送方式における上述の如
き問題を解消し、転送時のロスを少なくするようにした
データ転送方式を提供することにある。
Purpose The present invention has been made in view of the above circumstances, and its purpose is to solve the above-mentioned problems in conventional data transfer methods and to provide a data transfer method that reduces loss during transfer. It is about providing.

構   成 本発明の上記目的は、システムバスに接続された、メモ
リを有するコンピュータシステムに、前記メモリとデー
タ幅の異なるローカルメモリを接続したシステムにおい
て、前記ローカルメモリのコントローラに、ローカルメ
モリのデータをシステムバスのデータサイズに変換する
ためのアドレスカウンタを設けて、アドレス幅の拡張を
行いながらデータ転送を行うことを特徴とするデータ転
送方式によって達成される。
Configuration The above object of the present invention is to provide a system in which a local memory having a data width different from that of the memory is connected to a computer system having a memory connected to a system bus. This is achieved by a data transfer method characterized by providing an address counter for converting to the data size of the bus and performing data transfer while expanding the address width.

以下、実施例に基づいて、本発明の構成をより詳細に説
明する。以下の説明では、ローカルメモリを有する8ビ
ツトCPUが、32ビツトのデータ幅のバス上のメモリ
との間で、データ転送を行う場合を例に挙げる。
Hereinafter, the configuration of the present invention will be explained in more detail based on examples. In the following explanation, an example will be exemplified in which an 8-bit CPU having a local memory transfers data to and from a memory on a 32-bit data width bus.

第1図は本発明の一実施例を示すシステム構成例のブロ
ック図である。図において、1は32ピノ1へのデータ
幅を有するシステムバス、2は同じく32ビツトのデー
タ幅を有するメインメモリ、3は8ビツトのデータ幅を
有するCPU4.同じく8ビツトのデータ幅を有する複
数のローカルメモリ5A、5B、・・・・を有する端末
装置を示している。
FIG. 1 is a block diagram of an example of a system configuration showing an embodiment of the present invention. In the figure, 1 is a system bus having a data width of 32 pins, 2 is a main memory which also has a data width of 32 bits, and 3 is a CPU 4 . It also shows a terminal device having a plurality of local memories 5A, 5B, . . . having a data width of 8 bits.

なお、上記端末装置3内の6は後述するメモリコントロ
ール、7はシステムバス1との間のインタフェース(以
下、「システムバスI/FJという)を示している。
Note that 6 in the terminal device 3 represents a memory control, which will be described later, and 7 represents an interface with the system bus 1 (hereinafter referred to as "system bus I/FJ").

上記システムにおいては1.32ビツトのデータ幅を有
するメインメモリ2がシステムバス1に接続されており
、8ビツトのデータ幅を有するCPU4、メモリコント
ロール6を介して、同じく8ビツトのデータ幅を有する
複数のローカルメモリ5A、5B、・・・・が、システ
ムバスI/F7を通してシステムバス1に接続されてい
る。
In the above system, the main memory 2 having a data width of 1.32 bits is connected to the system bus 1, and the main memory 2, which also has a data width of 8 bits, is connected to the system bus 1 via the CPU 4 and the memory control 6, which have a data width of 8 bits. A plurality of local memories 5A, 5B, . . . are connected to the system bus 1 through a system bus I/F 7.

上記ローカルメモリ5A、5B、・・・・の各々は、次
の二通りのデータ幅でアクセスできる。すなわち、CP
U4とは8ビツトのデータ幅で、また、システムバス1
とは32ビツトのデータ幅でアクセスできる。
Each of the local memories 5A, 5B, . . . can be accessed with the following two data widths. That is, C.P.
U4 has a data width of 8 bits, and also has a data width of 8 bits.
can be accessed with a data width of 32 bits.

ここで、上記各ローカルメモリ5A、5B、・・・・を
第2図に示す如く、CPU4にマツピングしておき、上
記メモリコントロール6から領域8,9゜10アクセス
のコントロールを行う。
Here, the local memories 5A, 5B, . . . are mapped to the CPU 4 as shown in FIG. 2, and access to the areas 8, 9, 10 is controlled from the memory controller 6.

第2図は上記ローカルメモリ5A、5B、・・・・の各
々の実アドレス(物理アドレス)と、システムバス1へ
のアドレスを取出すために設定する論理アドレスとの関
係を示すものである。メモリコントロール6は、アドレ
スカウンタを有しており、各ローカルメモリ5A、5B
、・・・・の領域8,9.10アクセスのコントロール
を行う。
FIG. 2 shows the relationship between the real addresses (physical addresses) of each of the local memories 5A, 5B, . The memory control 6 has an address counter, and each local memory 5A, 5B
, . . . Controls access to areas 8, 9, and 10.

C,PO2から出力されるアドレスは、上記メモリコン
トロール6内のアドレスカウンタにより、アクセスする
領域により、次の如くカウントアツプするものとする。
The address output from C and PO2 is counted up by the address counter in the memory control 6 as follows depending on the area to be accessed.

すなわち。Namely.

(1)領域8をアクセスする場合 +1カウントアツプする。(1) When accessing area 8 +1 count up.

CPU4がローカルメモリ5A、5B、・・・・を普通
にアクセスする場合に相当する。
This corresponds to the case where the CPU 4 normally accesses the local memories 5A, 5B, .

(2)領域9,10をアクセスする場合+4カウントア
ツプする。
(2) When accessing areas 9 and 10, the count increases by +4.

システムバス1とローカルメモリ5A、5B。System bus 1 and local memories 5A and 5B.

・・・・どのデータ転送を行う場合に相当する。...corresponds to which data transfer is to be performed.

前記システムバスI/F7は、CPU4から出力される
アドレス信号(ADRO)、コントロール信号(CNT
LO)によって、システムバスのアドレス信号(ADR
)とコントロール信号(CNTL)を生成する。また、
システムバスI/F7は、システムバス1への転送用ベ
ースアドレスを記憶するための図示されていないレジス
タを内蔵しており、上記領域9,10のアクセス時には
、上記ベースアドレス記憶レジスタの内容とCPU4か
ら出力されるアドレス値とが加算されてシステムバス1
に出力される。
The system bus I/F 7 receives an address signal (ADRO) and a control signal (CNT) output from the CPU 4.
LO), the system bus address signal (ADR
) and a control signal (CNTL). Also,
The system bus I/F 7 has a built-in register (not shown) for storing a base address for transfer to the system bus 1, and when accessing the areas 9 and 10, the contents of the base address storage register and the CPU 4 The address value output from system bus 1 is added to
is output to.

なお、上記システムバス1のコントロール信号(CNT
L)は1次のようにする。
In addition, the control signal of the system bus 1 (CNT
L) is of first order.

(1)領域9へのREAD、領域10へのWRITEメ
モリ2へのWRITE (2)領域9へのWRITE、領域10へのREADメ
モリ2からREAD 従って、上記ローカルメモリ5A、5B、・・・・から
メモリ2へデータ転送するときは、システムバスI/F
7の前記ベースアドレス記憶レジスタにメモリ2のベー
スアドレスをセットし、領域9から領域工0へのブロッ
ク転送命令あるいはDMAを実行すると、自動的に、8
ビット幅を32ビット幅に拡張しながら、順次メモリ2
へのブロック転送が行われる。また、メモリ2からロー
カルメモリ5A、5B、・・・・ヘデータ転送するとき
は、領域9か領域10へ同様に転送すれば良い。
(1) READ to area 9, WRITE to area 10, WRITE to memory 2 (2) WRITE to area 9, READ to area 10, READ from memory 2 Therefore, the local memories 5A, 5B, etc. When transferring data from to memory 2, use the system bus I/F
When the base address of memory 2 is set in the base address storage register of area 7 and a block transfer instruction or DMA from area 9 to area 0 is executed, automatically
Sequential memory 2 while expanding the bit width to 32 bits
A block transfer is performed. Furthermore, when data is transferred from the memory 2 to the local memories 5A, 5B, . . . , data may be transferred to the area 9 or 10 in the same manner.

すなわち、上記領域9.lOとの転送においては、実際
にはこの間では転送は行われず、CPU4が出力するタ
イミングのみを利用して、システムバス1に出力するタ
イミングを作り出している。
That is, the above region 9. In the transfer with IO, no transfer is actually performed during this time, and the timing for outputting to the system bus 1 is created using only the timing of the output from the CPU 4.

第3図は前記端末装置3の具体的構成例を示す図である
。図中、TRはトランシーバ、LMは8にバイトのロー
カルメモリ、また、ACはローカルメモリ・アドレスカ
ウンタ、CTLRはチップセレクト、R/W信号、バス
の方向制御生成回路を示しており、ACとCTLRとに
より、前記コントローラ6を構成している。
FIG. 3 is a diagram showing a specific example of the configuration of the terminal device 3. As shown in FIG. In the figure, TR is a transceiver, LM is an 8-byte local memory, AC is a local memory address counter, and CTLR is a chip select, R/W signal, and bus direction control generation circuit. These constitute the controller 6.

なお、前記領域9を、更に9A、9Bの二つの領域に分
け、CPU4のアクセスによって次のようにデータの流
れを制御すると、より効率的なデータ転送を行うことが
できる。
Furthermore, if the area 9 is further divided into two areas 9A and 9B and the data flow is controlled as follows by access by the CPU 4, more efficient data transfer can be performed.

(1)領域9AをCPU4がREADしたときデータの
方向をシステムバス1から ローカルメモリへ (2)領域9BをCPU4がWRI置、たときデータの
方向をシステムバス1から ローカルメモリへ (3)領域9AをCPU4がWRI TE したときデ
ータの方向をローカルメモリから ジ−ステムバス1へ (4)領域9BをCPU4がREADしたときデータの
方向をローカルメモリから システムバス1へ 上記実施例は、本発明の一実施例として示したものであ
り、本発明はこれに限定されるべきものではないことは
言うまでもない。
(1) When CPU 4 reads area 9A, the direction of data is from system bus 1 to local memory. (2) When CPU 4 places area 9B in WRI, the direction of data is from system bus 1 to local memory. (3) Area When the CPU 4 writes the area 9A, the data direction is from the local memory to the system bus 1. (4) When the CPU 4 reads the area 9B, the data direction is from the local memory to the system bus 1. This is shown as one example, and it goes without saying that the present invention should not be limited to this.

効   果 以上述べた如く、本発明によれば、システムバスに接続
された。メモリを有するコンピュータシステムに、前記
メモリとデータ幅の異なるローカルメモリを接続したシ
ステムにおいて、前記ローカルメモリのコントローラに
、ローカルメモリのデータをシステムバスのデータサイ
ズに変換するためのアドレスカウンタを設けて、アドレ
ス幅の拡張を行いながらデータ転送を行うようにしたの
で、転送時のロスを少なくするようにしたデータ転送方
式を実現できるという顕著な効果を奏するものである。
Effects As described above, according to the present invention, the device is connected to the system bus. In a system in which a local memory having a data width different from the memory is connected to a computer system having a memory, the controller of the local memory is provided with an address counter for converting data in the local memory to a data size of a system bus, Since data transfer is performed while expanding the address width, it is possible to realize a data transfer method that reduces loss during transfer, which is a remarkable effect.

また、システムバスに接続された、メモリを有するコン
ピュータシステムに、前記メモリとデータ幅の異なるロ
ーカルメモリとローカルCPUを接続したシステムにお
いて、バスコントロール信号変換回路を有するメモリ制
御手段を設けて、前記ローカルCPU側の1回の転送命
令で、READを2回、またはWRITEを2回行う如
く制御することにより、転送効率を大幅に向上させるこ
とができる効果もある。
Further, in a system in which a local memory having a data width different from that of the memory and a local CPU are connected to a computer system having a memory connected to a system bus, a memory control means having a bus control signal conversion circuit is provided to By controlling the CPU to perform two READ or two WRITE operations with one transfer command, the transfer efficiency can be significantly improved.

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

第1図は本発明の一実施例を示すシステム構成例のブロ
ック図、第2図はローカルメモリのローカルCPUに対
するマツピング状況を示す図、第3図は前記端末装置i
!t3の具体的構成例を示す図である。 1ニジステムバス、2:メインメモリ、3:ローカルC
PU、5A、5B、・・・・およびLM:ローカルメモ
リ、6:メモリコントロール、7:システムバスI/F
、TR: トランシーバ、AC:ローカルメモリ・アド
レスカウンタ。
FIG. 1 is a block diagram of a system configuration example showing an embodiment of the present invention, FIG. 2 is a diagram showing a mapping situation of a local memory to a local CPU, and FIG. 3 is a block diagram of a system configuration example showing an embodiment of the present invention.
! It is a figure which shows the specific example of a structure of t3. 1 system bus, 2: main memory, 3: local C
PU, 5A, 5B, ... and LM: Local memory, 6: Memory control, 7: System bus I/F
, TR: Transceiver, AC: Local memory address counter.

Claims (3)

【特許請求の範囲】[Claims] (1)システムバスに接続されたメモリを有するコンピ
ュータシステムに、前記メモリとデータ幅の異なるロー
カルメモリを接続したシステムにおいて、前記ローカル
メモリのコントローラに、ローカルメモリのデータをシ
ステムバスのデータサイズに変換するためのアドレスカ
ウンタを設け、アドレス幅の拡張を行いながらデータ転
送を行うことを特徴とするデータ転送方式。
(1) In a system in which a local memory having a data width different from that of the memory is connected to a computer system having a memory connected to a system bus, the controller of the local memory converts the data of the local memory to the data size of the system bus. A data transfer method that is characterized by providing an address counter for data transfer and performing data transfer while expanding the address width.
(2)システムバスに接続されたメモリを有するコンピ
ュータシステムに、前記メモリとデータ幅の異なるロー
カルメモリとローカルCPUを接続したシステムにおい
て、バスコントロール信号変換回路を有するメモリ制御
手段を設けて、前記ローカルCPU側の1回の転送命令
で、READを2回、またはWRITEを2回行う如く
制御することを特徴とするデータ転送方式。
(2) In a computer system having a memory connected to a system bus, in which a local memory having a data width different from that of the memory and a local CPU are connected, a memory control means having a bus control signal conversion circuit is provided to A data transfer method characterized by controlling such that READ is performed twice or WRITE is performed twice with one transfer command from the CPU side.
(3)システムバスのアドレスを生成するのに、前記ロ
ーカルCPUが出力するアドレスを利用することを特徴
とする、特許請求の範囲第2項記載のデータ転送方式。
(3) The data transfer method according to claim 2, wherein an address output by the local CPU is used to generate a system bus address.
JP1924587A 1987-01-29 1987-01-29 Data transfer system Pending JPS63186358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1924587A JPS63186358A (en) 1987-01-29 1987-01-29 Data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1924587A JPS63186358A (en) 1987-01-29 1987-01-29 Data transfer system

Publications (1)

Publication Number Publication Date
JPS63186358A true JPS63186358A (en) 1988-08-01

Family

ID=11994024

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1924587A Pending JPS63186358A (en) 1987-01-29 1987-01-29 Data transfer system

Country Status (1)

Country Link
JP (1) JPS63186358A (en)

Similar Documents

Publication Publication Date Title
JP2774862B2 (en) DMA control device and information processing device
JPS63186358A (en) Data transfer system
US5566350A (en) Information device for providing fast data transfer with minimum overhead
JPS60173655A (en) Memory system of multiprocessor
JPH0238968B2 (en)
JPH0754544B2 (en) Image memory access circuit
JPS586172B2 (en) Interface method
JPH0322073A (en) Data transfer controller
JP3323430B2 (en) Communication control device
JPH0537312Y2 (en)
JPS6269347A (en) Direct memory access controller
JPH04337851A (en) Memory access system
JPS6345669A (en) Multi-processor system
JPH0756860A (en) Multi-cpu system
JPH04361349A (en) Input/output controller
JPH04120648A (en) Common bus connecting device
JPH039453A (en) Data transfer controller
JPS61251943A (en) Data processor
JPH05120210A (en) Microcomputer
JPS6235956A (en) Multibus converter
JPH01240960A (en) Dma transfer control circuit
JPH03167648A (en) Direct memory access controller
JPH02244350A (en) Main storage device access system
JPH04112222A (en) Semiconductor file memory device
JPS61133465A (en) Switching method of cpu