JPH11161594A - Data transfer system - Google Patents

Data transfer system

Info

Publication number
JPH11161594A
JPH11161594A JP32879297A JP32879297A JPH11161594A JP H11161594 A JPH11161594 A JP H11161594A JP 32879297 A JP32879297 A JP 32879297A JP 32879297 A JP32879297 A JP 32879297A JP H11161594 A JPH11161594 A JP H11161594A
Authority
JP
Japan
Prior art keywords
data
command
address
dram
bus
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.)
Withdrawn
Application number
JP32879297A
Other languages
Japanese (ja)
Inventor
Sachihiro Noguchi
祥宏 野口
Nikura Didie
ニクラ ディディエ
Kuniyuki Nakayama
邦幸 中山
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.)
Asahi Chemical Industry Co Ltd
Original Assignee
Asahi Chemical Industry 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 Asahi Chemical Industry Co Ltd filed Critical Asahi Chemical Industry Co Ltd
Priority to JP32879297A priority Critical patent/JPH11161594A/en
Publication of JPH11161594A publication Critical patent/JPH11161594A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To transfer data to a desired module device without using the absolute address. SOLUTION: This system is provided with one or more module devices 200,..., 210, a DRAM controller 300 for controlling the input/output of the data between the respective module devices and a DRAM 400 and an RBUS connected to the respective devices in common for which only the DRAM controller 300 becomes a bus master. Further, the RBUS can transmit at least one command among the command for obtaining relative address information, the command for instructing the set of the absolute address to a marker and the command for turning an address under consideration to the value set by the marker.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、メモリに記憶され
たデータを絶対アドレスを用いずに所望のモジュール装
置に転送するためのシステムに関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a system for transferring data stored in a memory to a desired module device without using an absolute address.

【0002】[0002]

【従来の技術】図2に従来のデータ転送システムの構成
例を示す。このデータ転送システムは、CPU(中央処
理装置)10と、データを記憶するダイナミックランダ
ムアクセスメモリ(DRAM)40と、DRAM40に
アドレス線58およびデータ線59で接続されDRAM
40を制御するDRAMコントローラ30と、2つのモ
ジュール装置21、22とを有していて、モジュール装
置21およびモジュール装置22の夫々は、データ線5
2、アドレス線53、制御線54、および、データ線5
5、アドレス線56、制御線57を介してDRAM30
に接続されていると共に、データバス50およびアドレ
スバス51が各装置10、20、21、30に共通に接
続されている。
2. Description of the Related Art FIG. 2 shows a configuration example of a conventional data transfer system. This data transfer system includes a CPU (Central Processing Unit) 10, a dynamic random access memory (DRAM) 40 for storing data, and a DRAM 40 connected to the DRAM 40 by an address line 58 and a data line 59.
40, and two module devices 21 and 22. Each of the module devices 21 and 22 has a data line 5
2, address line 53, control line 54, and data line 5
5, DRAM 30 via address line 56 and control line 57
And a data bus 50 and an address bus 51 are commonly connected to each of the devices 10, 20, 21, and 30.

【0003】そして、DRAMコントローラ30は、制
御線54を介して送受される制御信号を用いながらデー
タ線52を介して、モジュール装置20に対するデータ
の入出力を行うと共に、制御線57を介して送受される
制御信号を用いながらデータ線55を介して、モジュー
ル装置21に対するデータの入出力を行う。このよう
に、DRAMコントローラとモジュール装置間の夫々に
おいて、制御線、データ線を設けた構成にして、DRA
M40に記憶されているデータをモジュール装置に転送
するようにしていた。
The DRAM controller 30 inputs / outputs data to / from the module device 20 via the data line 52 using a control signal transmitted / received via the control line 54, and transmits / receives data via the control line 57. The data is input / output to / from the module device 21 via the data line 55 using the control signal. As described above, in each of the configuration between the DRAM controller and the module device, the control line and the data line are provided so that the DRA
The data stored in M40 is transferred to the module device.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来の
データ転送システムにおいては、データ転送を行う際に
アドレス線53、アドレス線56を用い、これらのアド
レス線に絶対アドレスを伝送させてデータ転送処理を行
っていた。
However, in the conventional data transfer system, the data transfer process is performed by using the address lines 53 and 56 when transferring data, and by transmitting an absolute address to these address lines. I was going.

【0005】したがって、DRAM40に記憶された大
容量のデータを一度に特定のモジュール装置に転送する
場合等には、転送するアドレス量が多いため迅速なデー
タ転送処理を行うことができなかった。
Therefore, when transferring a large amount of data stored in the DRAM 40 to a specific module device at a time, a large amount of addresses to be transferred makes it impossible to perform a rapid data transfer process.

【0006】本発明は、このような課題を解決するため
になされたもので、その目的は、絶対アドレスを用いず
に所望のモジュール装置にデータを転送するためのシス
テムを提供することにある。
The present invention has been made to solve such a problem, and an object of the present invention is to provide a system for transferring data to a desired module device without using an absolute address.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に、請求項1に係る発明は、メモリに記憶されているデ
ータを転送するためのシステムであって、所定のデータ
処理を行う1以上のモジュール装置と、前記1以上のモ
ジュール装置と前記メモリとの間のデータの入出力を制
御するメモリ制御装置とを有し、前記各装置が共通接続
されると共に、前記メモリ制御装置のみがバスマスタと
なるメモリバスを備え、さらに、前記メモリバスは、あ
るデータのアドレスに対する、注目するデータのアドレ
スの相対値を示す相対アドレス情報を求めるコマンド、
マーカーへの絶対アドレスのセットを指示するコマン
ド、および、注目するアドレスをマーカーで設定された
値とするコマンドのうちの少なくとも1つのコマンドを
伝送可能であることを特徴とするデータ転送システムで
ある。
According to one aspect of the present invention, there is provided a system for transferring data stored in a memory, wherein at least one system performs predetermined data processing. And a memory control device for controlling data input / output between the one or more module devices and the memory, wherein each of the devices is commonly connected and only the memory control device is a bus master. A command for obtaining relative address information indicating a relative value of an address of data of interest with respect to an address of a certain data;
A data transfer system capable of transmitting at least one command of a command for setting an absolute address to a marker and a command for setting a target address to a value set by a marker.

【0008】これによれば、メモリ制御装置がメモリバ
スを使用し、相対アドレス情報やマーカー等を用いてデ
ータ転送処理が行うので、従来のような物理アドレスを
用いることがなくなりアドレスバスが不要になると共
に、転送処理対象となるデータのアドレッシングが自在
になる。
According to this, since the memory control device uses the memory bus and performs the data transfer process using the relative address information, the marker, and the like, the conventional physical address is not used, and the address bus becomes unnecessary. At the same time, addressing of data to be transferred becomes free.

【0009】また、請求項2に係る発明は、請求項1に
おいて、前記アドレスは、多次元で表現されることを特
徴とする。これによれば、アドレスを多次元で表現でき
るため、例えば、2次元で表現されるアドレスを扱うこ
とにより、画像データ、音声データ等のデータ転送処理
が可能となる。
Further, the invention according to claim 2 is characterized in that, in claim 1, the address is expressed in a multidimensional manner. According to this, since the address can be expressed in multi-dimensions, for example, by handling addresses expressed in two dimensions, data transfer processing of image data, audio data, and the like becomes possible.

【0010】[0010]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照しつつ説明する。図1は、本発明の実施の形態に
係るデータ転送システムの構成図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram of a data transfer system according to an embodiment of the present invention.

【0011】このデータ転送システムは、図示しないR
OM等の記憶媒体に予め記述された手順にしたがった動
作を行うCPU(中央処理装置)100と、複数のモジ
ュール装置200、…、210(図1では理解の容易化
のため2台のみ図示)と、画像データ等を記憶するため
のダイナミックランダムアクセスメモリであるDRAM
400と、このDRAM400とアドレス線401、デ
ータ線402を介して接続され、DRAM400と各装
置間との間のデータ転送処理を行うDRAMコントロー
ラ300とを有している。
This data transfer system uses an R (not shown)
A CPU (central processing unit) 100 that performs an operation according to a procedure described in advance in a storage medium such as an OM, and a plurality of module devices 200,..., 210 (only two are shown in FIG. 1 for easy understanding) And a dynamic random access memory for storing image data and the like
And a DRAM controller 300 connected to the DRAM 400 via an address line 401 and a data line 402 and performing a data transfer process between the DRAM 400 and each device.

【0012】さらに、DRAMコントローラ300のみ
がバスマスタとなるメモリバス(RBUS)には、Rバ
スI/F110、RバスI/F201、RバスI/F2
11、および、RバスI/F310の夫々によって、C
PU(中央処理装置)100、モジュール装置200、
モジュール装置210、DRAMコントローラ300が
接続されている。
Further, a memory bus (RBUS) in which only the DRAM controller 300 is a bus master includes an R bus I / F 110, an R bus I / F 201, and an R bus I / F 2
11 and each of the R bus I / F 310
PU (central processing unit) 100, module device 200,
The module device 210 and the DRAM controller 300 are connected.

【0013】また、RBUSは、データ転送用バス(デ
ータバス)であるRDAT、データ転送に関するコマン
ドの転送用バス(コマンドバス)であるRCMD、およ
び、図示しないクロック供給部から供給されるクロック
を伝送するバスであるRCLKを含んでなる。したがっ
て、メモリバスは、コマンドバスとデータバスを含んで
いるので、データ転送と同時にコマンドを送ることがで
き、迅速なデータ転送を実現できる。そして、RBUS
は、このバスに接続される装置間におけるデータの伝送
が専用プロトコルで制御されるように構成されている。
The RBUS transmits RDAT which is a data transfer bus (data bus), RCMD which is a command transfer bus (command bus) for data transfer, and a clock supplied from a clock supply unit (not shown). RCLK, which is a bus to be used. Therefore, since the memory bus includes the command bus and the data bus, a command can be sent at the same time as the data transfer, and a quick data transfer can be realized. And RBUS
Is configured such that data transmission between devices connected to the bus is controlled by a dedicated protocol.

【0014】さらに、RBUS側から見た、モジュール
装置200、…、210の夫々とDRAMコントローラ
300とを接続する各インタフェースの機能が同一にな
るように構成されている。
Further, the function of each interface connecting each of the module devices 200,..., 210 and the DRAM controller 300 as viewed from the RBUS side is configured to be the same.

【0015】図3は、RバスI/Fの構成を示してお
り、この明細書中では特に説明に必要なもののみを記載
して理解の容易化を図る。図3に示すように、RバスI
/Fは、RDATを介して授受するデータを変換するデ
ータ変換部600と、RCMDを介して授受するコマン
ドをデコードし、デコード結果に対応するコントロール
信号を生成するデコード部610と、現在の2次元アド
レスを記憶するXレジスタ611、Yレジスタ612
と、後に説明する2種類のマーカーレジスタMX61
3、MY614とを有していて、RCLKを介して供給
されるクロックを装置内部の必要箇所に供給可能となっ
ている。なお、611〜614からは、2次元のアドレ
ス値(アドレスX、アドレスY)が出力されるようにな
っている。
FIG. 3 shows the structure of the R bus I / F. In this specification, only the elements necessary for the description are described to facilitate the understanding. As shown in FIG.
/ F, a data conversion unit 600 for converting data transmitted and received via RDAT, a decoding unit 610 for decoding commands transmitted and received via RCMD and generating a control signal corresponding to the decoding result, X register 611 and Y register 612 for storing addresses
And two types of marker registers MX61 described later.
3 and MY614, so that a clock supplied via RCLK can be supplied to a necessary portion inside the device. Note that two-dimensional address values (address X, address Y) are output from 611 to 614.

【0016】データ変換部600が行うデータ変換とし
ては、例えば16ビットデータを8ビットデータにする
ビット長変換やデータのアクセス方向を双方向(読み込
みおよび書込)から単方向(読み込みのみ)にするデー
タアクセス方向の変換等が挙げられる。また、デコード
部610によって生成されるコントロール信号は、装置
内部の所定箇所に送られ、装置がコントロール信号に応
じた動作を行うようになっている。コントロール信号に
は、自身のモジュールに対するRBUSの有効期間を示
す信号、リード/ライト信号、モジュール内部のバッフ
ァ、レジスタのアドレス信号等が含まれる。このよう
に、RバスI/Fがデコード処理を行ってモジュール装
置内部に、動作制御を行うためのコントロール信号を生
成させる機能を有するので、インタフェース部自体をモ
ジュール毎に適合させて製造するだけで、各種のモジュ
ール装置をメモリバスに接続することが容易となる。
The data conversion performed by the data conversion unit 600 is, for example, a bit length conversion for converting 16-bit data to 8-bit data, or changing the data access direction from bidirectional (reading and writing) to unidirectional (reading only). Conversion of data access direction and the like can be mentioned. The control signal generated by the decoding unit 610 is sent to a predetermined location inside the device, and the device performs an operation according to the control signal. The control signal includes a signal indicating the valid period of the RBUS for the own module, a read / write signal, a buffer inside the module, an address signal of a register, and the like. As described above, since the R bus I / F has a function of performing a decoding process and generating a control signal for performing operation control inside the module device, it is only necessary to adapt and manufacture the interface unit itself for each module. In addition, it becomes easy to connect various module devices to the memory bus.

【0017】また、このシステムではRCMDを介して
コマンドが授受されそのフォーマットは、図4に示すよ
うに、4ビットのオペコードとRDAT上のデータがバ
イト(「0」)であるかワード(「1」)であるかを示
す1ビットのバイトビットと6ビットのオペランドとか
らなっていて、図5、図6に示すような各種のコマンド
が伝送可能になっている。
In this system, a command is transmitted and received via the RCMD, and the format is, as shown in FIG. 4, a 4-bit operation code and data on the RDAT is a byte ("0") or a word ("1"). 5) and a 6-bit operand, and various commands as shown in FIGS. 5 and 6 can be transmitted.

【0018】次に、モジュール装置200がDRAM4
00内に記憶されているデータの読み出しを要求し、そ
のデータをDRAMコントローラ300がモジュール装
置200に転送する場合の動作について説明する。
Next, the module device 200 is
The operation in the case where a request to read data stored in 00 and the DRAM controller 300 transfers the data to the module device 200 will be described.

【0019】まず、DRAMコントローラ300は、一
度サービスを開始したDRAMのデータ転送が終了する
毎に、RCMD上にAREQ(Ask for REQuest:DRA
Mサービス・リクエスト要求)コマンドを発行し、夫々
のモジュール装置からのDRAMデータ転送サービスの
要求を受け付ける(DRAMサービス・リクエスト要
求)。
First, the DRAM controller 300 stores an AREQ (Ask for REQuest: DRA) on the RCMD every time the data transfer of the DRAM which has once started the service is completed.
M service request request) command, and receives a request for a DRAM data transfer service from each module device (DRAM service request request).

【0020】次に、DRAMデータの読み出し要求のあ
るモジュール装置200は、RCMD上のAREQコマ
ンドを受信すると、即座に、AREQコマンドと同じク
ロック・サイクル内にRDAT上の予め割り当てられた
1ビットをアサートする(DRAMサービス・リクエス
ト)。
Next, upon receiving the AREQ command on the RCMD, the module device 200 that has issued the DRAM data read request immediately asserts a pre-allocated 1 bit on the RDAT in the same clock cycle as the AREQ command. (DRAM service request).

【0021】次に、DRAMコントローラ300は、R
DATの状態をモニターし、夫々のモジュール装置から
のDRAMデータ転送サービス要求状態を把握する。そ
して、DRAMデータ転送サービス要求のあったモジュ
ール装置のうちで最もサービス・プライオリティの高い
モジュール装置200へのDRAMデータ転送サービス
を次のDRAMデータ転送サービスとして選択すること
を決定する。なお、サービス・プライオリティは予め設
定しておけばよく、この実施の形態ではモジュール装置
200のサービス・プライオリティが最も高い場合を想
定している。
Next, the DRAM controller 300
The status of the DAT is monitored, and the status of the DRAM data transfer service request from each module device is grasped. Then, it is determined that the DRAM data transfer service to the module device 200 having the highest service priority among the module devices that have requested the DRAM data transfer service is selected as the next DRAM data transfer service. Note that the service priority may be set in advance, and in this embodiment, it is assumed that the service priority of the module device 200 is the highest.

【0022】そこで、DRAMコントローラ300は、
モジュール装置200に対して、DRAMデータ転送サ
ービス要求が受理されたことを通知するために、次のク
ロックサイクルで、モジュール装置200からのDRA
Mデータ転送サービス要求IDをオペランドとしたTX
ID(Transmitt ID: サービス開始ID送信)コマンド
を発行する。なお、DRAMデータ転送サービス要求I
Dは、各モジュール装置に対して予め設定しておく(D
RAMサービスID通知)。なお、(DRAMサービス
・リクエスト要求)、(DRAMサービス・リクエス
ト)、(DRAMサービスID通知)がデータ転送要求
処理に対応する。
Therefore, the DRAM controller 300
In order to notify the module device 200 that the DRAM data transfer service request has been accepted, the DRA from the module device 200 is requested in the next clock cycle.
TX using M data transfer service request ID as operand
An ID (Transmitt ID: service start ID transmission) command is issued. The DRAM data transfer service request I
D is set in advance for each module device (D
RAM service ID notification). Note that (DRAM service request request), (DRAM service request), and (DRAM service ID notification) correspond to data transfer request processing.

【0023】次のDRAMデータ転送サービスを選択し
たDRAMコントローラ300は、DRAM400内の
所望のデータをリードするためにメモリアクセス動作を
開始する。DRAMコントローラ300は、DRAMか
らのリード・データが読み出されるまでのアクセスタイ
ムを使用して、モジュール装置200の入力バッファ
(図示せず)に対する初期アドレス設定等をSETX
(Xアドレス設定)コマンド、SETY(Yアドレス設
定)コマンド等を用いて実行する。
The DRAM controller 300 that has selected the next DRAM data transfer service starts a memory access operation to read desired data in the DRAM 400. The DRAM controller 300 uses the access time until read data is read from the DRAM to set an initial address and the like for an input buffer (not shown) of the module device 200 using the SETX.
This is executed using an (X address setting) command, a SETY (Y address setting) command, or the like.

【0024】DRAM400からデータリードが開始さ
れると、DRAMデータはRDAT上で転送される。こ
のDRAMデータ転送に同期して、RCMDを用いDR
AMアクセスのアドレッシング・シーケンス・コマンド
(図6中のINCXからSETMYまでのコマンドを指
す)を転送する。
When data reading from the DRAM 400 is started, the DRAM data is transferred on the RDAT. In synchronization with this DRAM data transfer, DR
The AM access addressing sequence command (which indicates commands from INCX to SETMY in FIG. 6) is transferred.

【0025】具体的には、INCX(Xアドレス・イン
クリメント)コマンド、INCY(Yアドレス・インク
リメント)コマンド、SETX(マーカーXアドレス設
定)コマンド、SETY(マーカーYアドレス設定)コ
マンド、GMX(マーカーXアドレス・ジャンプ)コマ
ンド、GMY(マーカーYアドレス・ジャンプ)コマン
ド等をデータ転送と同期して使用することにより、DR
AMのページ単位のあらゆるアクセスアドレスシーケン
スを表現できる(DRAMデータ転送)。なお、この
(DRAMデータ転送)がデータ転送処理に対応し、そ
のうち特に、前記初期アドレス設定が初期化処理に対応
する。
More specifically, INCX (X address increment) command, INCY (Y address increment) command, SETX (marker X address setting) command, SETY (marker Y address setting) command, GMX (marker X address Jump) command, GMY (marker Y address jump) command, etc. are used in synchronization with data transfer,
Any access address sequence in AM page units can be expressed (DRAM data transfer). Note that this (DRAM data transfer) corresponds to the data transfer process, and in particular, the initial address setting corresponds to the initialization process.

【0026】ここで、具体的なコマンドを用いたアドレ
ス・シーケンス動作について特定のシーンを想定してさ
らに詳細に説明する。DRAM400には、画像データ
等が記憶されている場合には、ページ、バンク等のデー
タ記憶上の仮想的な境界が存在し、これらの境界をまた
いだデータのリード/ライトアクセスを行う場合には、
DRAMコントローラ300は通常のサイクル以外の付
加サイクルが必要となる。そのため、ページ境界をまた
いだアクセスであるバーストアクセスを行う場合には、
データ転送速度を高速化するため、データアクセス順序
を最適化して、ページ境界をまたぐページブレークの発
生回数を減少させる必要がある。
Here, the address sequence operation using a specific command will be described in further detail assuming a specific scene. In the case where image data and the like are stored in the DRAM 400, there are virtual boundaries in data storage such as pages and banks, and when performing read / write access of data across these boundaries. ,
The DRAM controller 300 requires additional cycles other than the normal cycle. Therefore, when performing burst access, which is access across page boundaries,
In order to increase the data transfer speed, it is necessary to optimize the data access order and reduce the number of page breaks that occur across page boundaries.

【0027】例えば、縦3画素、横3画素(1画素は1
つのアドレスを占める)の3×3ブロック内にページ境
界が存在しない場合には、図7(ページブレイクの無い
場合のアクセス順序)に示すようなデータアクセス順序
になるが、ページ境界が存在する場合には、ページブレ
ーク回数を減らす目的で、例えば図8に示すような順序
でデータアクセスを行う必要がある。バーストアクセス
毎にページ境界の位置は任意であるため、アドレッシン
グデータコマンドはあらゆるデータアクセス順序に対応
できる必要がある。
For example, three pixels vertically and three pixels horizontally (one pixel is one pixel)
If there is no page boundary in the 3 × 3 block (occupying one address), the data access order is as shown in FIG. 7 (access order when there is no page break). In order to reduce the number of page breaks, it is necessary to perform data access in the order shown in FIG. 8, for example. Since the position of the page boundary is arbitrary for each burst access, the addressing data command needs to be able to correspond to any data access order.

【0028】図8のアクセス順序をアドレッシングシー
ケンスの例として、アドレッシングシーケンスコマンド
を用いた、DRAM400からの、DRAMコントロー
ラ300によるモジュール装置200へのデータアクセ
スについて説明する。
Using the access sequence shown in FIG. 8 as an example of an addressing sequence, data access from the DRAM 400 to the module device 200 by the DRAM controller 300 using the addressing sequence command will be described.

【0029】前述のデータ転送処理後、DRAMコント
ローラ300は、DRAM400内の3×3ブロックの
データを読み出すためのメモリアクセス動作を開始す
る。DRAMコントローラ300は、DRAM400へ
のリードコマンド発行後、データがリードされるまでの
アクセスサイクルの間に、モジュール装置200内のバ
ッファのうちの、アクセスポインタ(X,Y)とマーカ
ー(MX,MY)を0として初期化する。
After the above-described data transfer processing, the DRAM controller 300 starts a memory access operation for reading data of a 3 × 3 block in the DRAM 400. The DRAM controller 300 issues an access pointer (X, Y) and a marker (MX, MY) in a buffer in the module device 200 during an access cycle from the issuance of a read command to the DRAM 400 until data is read. Is initialized to 0.

【0030】具体的には、「Opcode;SETX,
Operand;x=0」なるコマンドによって、オペ
ランドの値x=0が、RバスI/F201内のXレジス
タ、MXレジスタにセットされる。また、「Opcod
e;SETY,Operand;y=0」なるコマンド
によって、オペランドの値y=0が、RバスI/F20
1内のYレジスタ、MYレジスタにセットされる。
Specifically, “Opcode; SETX,
Operand; x = 0 ”, the operand value x = 0 is set in the X register and the MX register in the R bus I / F 201. Also, "Opcod
e; SETY, Operand; y = 0 ", the operand value y = 0 is changed to the R bus I / F 20
1 are set in the Y register and MY register.

【0031】次に、DRAM400からの読み出しデー
タ(図8「0」で図示)に同期して、DRAMコントロ
ーラ300は、次の読み出しデータ(図8「1」で図
示)のアドレッシングを示すINCXコマンドをRCM
D上に発行する。
Next, in synchronization with the read data (shown by "0" in FIG. 8) from the DRAM 400, the DRAM controller 300 issues an INCX command indicating the addressing of the next read data (shown by "1" in FIG. 8). RCM
Issue on D.

【0032】具体的には、「Opcode;INCX,
Operand;dx=1」なるコマンドによって、次
の読み出しデータ(図8「1」で図示)を格納するアド
レッシング情報として、RバスI/F201内のXレジ
スタには1インクリメントされた値、Yレジスタにはそ
のままの値がセットされる。
Specifically, "Opcode; INCX,
Operand; dx = 1 ”, as addressing information for storing the next read data (illustrated by“ 1 ”in FIG. 8), the X register in the R bus I / F 201 has a value incremented by 1 and the Y register has Is set as is.

【0033】次に、DRAM400からの読み出しデー
タ(図8「1」で図示)に同期して、DRAMコントロ
ーラ300は、次の読み出しデータ(図8「2」で図
示)のアドレッシングを示すINCYコマンドをRCM
D上に発行する。
Next, in synchronization with the read data from the DRAM 400 (illustrated by "1" in FIG. 8), the DRAM controller 300 issues an INCY command indicating the addressing of the next read data (illustrated by "2" in FIG. 8). RCM
Issue on D.

【0034】具体的には、「Opcode;INCY,
Operand;dy=1」なるコマンドによって、次
の読み出しデータ(図8「2」で図示)を格納するアド
レッシング情報として、RバスI/F201内のXレジ
スタにはマーカーMX=0の値、Yレジスタには1イン
クリメントされた値がセットされる。
More specifically, “Opcode; INCY,
In response to the command of “Operand; dy = 1”, the X register in the R bus I / F 201 stores the value of the marker MX = 0 and the Y register as addressing information for storing the next read data (shown by “2” in FIG. 8). Is set to a value incremented by one.

【0035】次に、DRAM400からの読み出しデー
タ(図8「2」で図示)に同期して、DRAMコントロ
ーラ300は、次の読み出しデータ(図8「3」で図
示)のアドレッシングを示すINCXコマンドをRCM
D上に発行する。
Next, in synchronization with the read data from the DRAM 400 (illustrated by "2" in FIG. 8), the DRAM controller 300 issues an INCX command indicating the addressing of the next read data (illustrated by "3" in FIG. 8). RCM
Issue on D.

【0036】具体的には、「Opcode;INCX,
Operand;dx=1」なるコマンドによって、次
の読み出しデータ(図8「2」で図示)を格納するアド
レッシング情報として、RバスI/F201内のXレジ
スタには1インクリメントした値、Yレジスタにはその
ままの値がセットされる。
Specifically, "Opcode; INCX,
In response to a command of “Operand; dx = 1”, as an addressing information for storing the next read data (shown by “2” in FIG. 8), the X register in the R bus I / F 201 is incremented by 1 and the Y register is The value is set as is.

【0037】次に、DRAM400からの読み出しデー
タ(図8「3」で図示)に同期して、DRAMコントロ
ーラ300は、次の読み出しデータ(図8「4」で図
示)のアドレッシングを示すGMYコマンドをRCMD
上に発行する。
Next, in synchronization with the read data (illustrated by “3” in FIG. 8) from the DRAM 400, the DRAM controller 300 issues a GMY command indicating the addressing of the next read data (illustrated by “4” in FIG. 8). RCMD
Issue above.

【0038】具体的には、「Opcode;GMY,O
perand;dx=1」なるコマンドによって、次の
読み出しデータ(図8「4」で図示)を格納するアドレ
ッシング情報として、RバスI/F201内のXレジス
タには1インクリメントした値、Yレジスタにはマーカ
ーMY=0の値がセットされる。
Specifically, "Opcode; GMY, O
In response to a command of “perand; dx = 1”, as an addressing information for storing the next read data (illustrated by “4” in FIG. 8), the X register in the R bus I / F 201 is incremented by 1 and the Y register is The value of the marker MY = 0 is set.

【0039】次に、DRAMコントローラ300は、読
み出しデータ(図8「4」で図示)をアクセスするが、
ここでページ境界をまたぐため、データが読み出される
までにアクセスサイクルが発生する。このアクセスサイ
クルの間にマーカーMXをセットする。
Next, the DRAM controller 300 accesses the read data (illustrated by "4" in FIG. 8).
Here, an access cycle occurs before the data is read to cross the page boundary. The marker MX is set during this access cycle.

【0040】具体的には、「Opcode;SETM
X,GMY,Operand;「─」」なるコマンドに
よって、次のページ境界をアクセスするための準備とし
て、マーカーMXに、新しいページ領域のアクセスアド
レスの開始値をセットする。
More specifically, "Opcode; SETM
The start value of the access address of the new page area is set to the marker MX in preparation for accessing the next page boundary by the command of X, GMY, Operand;

【0041】次に、DRAM400からの読み出しデー
タ(図8「4」で図示)に同期して、DRAMコントロ
ーラ300は、次の読み出しデータ(図8「5」で図
示)のアドレッシングを示すINCYコマンドをRCM
D上に発行する。
Next, in synchronization with the read data from the DRAM 400 (illustrated by "4" in FIG. 8), the DRAM controller 300 issues an INCY command indicating the addressing of the next read data (illustrated by "5" in FIG. 8). RCM
Issue on D.

【0042】具体的には、「Opcode;INCY,
Operand;「─」」なるコマンドによって、次の
読み出しデータ(図8「5」で図示)を格納するアドレ
ッシング情報として、RバスI/F201内のXレジス
タにはマーカーMXの値、Yレジスタには1インクリメ
ントした値がセットされる。
More specifically, "Opcode; INCY,
In response to a command of “Operand;“ @ ””, the X register in the R bus I / F 201 stores the value of the marker MX as addressing information for storing the next read data (illustrated by “5” in FIG. The value incremented by one is set.

【0043】次に、DRAM400からの読み出しデー
タ(図8「5」で図示)に同期して、DRAMコントロ
ーラ300は、次の読み出しデータ(図8「6」で図
示)のアドレッシングを示すINCYコマンドをRCM
D上に発行する。
Next, in synchronization with the read data from the DRAM 400 (illustrated by "5" in FIG. 8), the DRAM controller 300 issues an INCY command indicating the addressing of the next read data (illustrated by "6" in FIG. 8). RCM
Issue on D.

【0044】具体的には、「Opcode;INCY,
Operand;dy=1」なるコマンドによって、次
の読み出しデータ(図8「6」で図示)を格納するアド
レッシング情報として、RバスI/F201内のXレジ
スタにはマーカーMXの値、Yレジスタには1インクリ
メントした値がセットされる。
Specifically, "Opcode; INCY,
In response to the command of “Operand; dy = 1”, the X register in the R bus I / F 201 stores the value of the marker MX as addressing information for storing the next read data (shown in FIG. The value incremented by one is set.

【0045】次に、DRAMコントローラ300は、読
み出しデータ(図8「6」で図示)をアクセスするが、
ここでページ境界をまたぐため、データが読み出される
までにアクセスサイクルが発生する。このアクセスサイ
クルの間にアクセスポインタとして機能するXとマーカ
ーMXをセットする。
Next, the DRAM controller 300 accesses the read data (shown by "6" in FIG. 8).
Here, an access cycle occurs before the data is read to cross the page boundary. During this access cycle, an X functioning as an access pointer and a marker MX are set.

【0046】具体的には、「Opcode;SETX,
Operand;x=0」なるコマンドによって、次の
ページ領域のアクセスするための準備として、RバスI
/F201内のXレジスタとマーカーMXの値を、新た
なページ領域のアクセスアドレスの開始値にセットす
る。
Specifically, "Opcode; SETX,
In response to a command of “Operand; x = 0”, the R bus I
The value of the X register and the marker MX in / F201 is set to the start value of the access address of the new page area.

【0047】次に、DRAM400からの読み出しデー
タ(図8「6」で図示)に同期して、DRAMコントロ
ーラ300は、次の読み出しデータ(図8「7」で図
示)のアドレッシングを示すINCXコマンドをRCM
D上に発行する。
Next, in synchronization with the read data from the DRAM 400 (illustrated by “6” in FIG. 8), the DRAM controller 300 issues an INCX command indicating the addressing of the next read data (illustrated by “7” in FIG. 8). RCM
Issue on D.

【0048】具体的には、「Opcode;INCX,
Operand;dx=1」なるコマンドによって、次
の読み出しデータ(図8「7」で図示)を格納するアド
レッシング情報として、RバスI/F201内のXレジ
スタには1インクリメントした値、Yレジスタにはその
ままの値がセットされる。
Specifically, "Opcode; INCX,
In response to a command of “Operand; dx = 1”, as an addressing information for storing the next read data (shown by “7” in FIG. 8), the X register in the R bus I / F 201 is incremented by 1 and the Y register is The value is set as is.

【0049】次に、DRAM400からの読み出しデー
タ(図8「7」で図示)に同期して、DRAMコントロ
ーラ300は、次の読み出しデータ(図8「8」で図
示)のアドレッシングを示すINCXコマンドをRCM
D上に発行する。
Next, in synchronization with the read data from the DRAM 400 (illustrated by “7” in FIG. 8), the DRAM controller 300 issues an INCX command indicating the addressing of the next read data (illustrated by “8” in FIG. 8). RCM
Issue on D.

【0050】具体的には、「Opcode;INCX,
Operand;dx=1」なるコマンドによって、次
の読み出しデータ(図8「8」で図示)を格納するアド
レッシング情報として、RバスI/F201内のXレジ
スタには1インクリメントした値、Yレジスタにはその
ままの値がセットされる。
Specifically, "Opcode; INCX,
Operand; dx = 1 ”, addressing information for storing the next read data (shown by“ 8 ”in FIG. 8) is stored in the X register in the R bus I / F 201 as a value incremented by 1, and in the Y register. The value is set as is.

【0051】次に、DRAMコントローラ300は、読
み出しデータ(図8「8」で図示)をアクセスするが、
ここでページ境界をまたいだアクセスが行われるので、
データが読み出されるまでにアクセスサイクルが発生す
る。このアクセスサイクルの間にマーカーMXをセット
する。
Next, the DRAM controller 300 accesses the read data (shown by "8" in FIG. 8).
Here access is made across page boundaries,
An access cycle occurs until data is read. The marker MX is set during this access cycle.

【0052】具体的には、「Opcode;SETM
X,Operand;「−」」なるコマンドによって、
次のページ領域をアクセスするための準備として、Rバ
スI/F201内のマーカーMXの値を、新たなページ
領域のアクセスアドレスの開始値にセットする。
More specifically, “Opcode; SETM
X, Operand; By the command "-",
As a preparation for accessing the next page area, the value of the marker MX in the R bus I / F 201 is set to the start value of the access address of the new page area.

【0053】次に、DRAM400からの読み出しデー
タ(図8「8」で図示)に同期して、DRAMコントロ
ーラ300は、リードデータの終了を示すTXDONE
コマンドをRCMD上に発行する。
Next, in synchronization with the read data from the DRAM 400 (illustrated by "8" in FIG. 8), the DRAM controller 300 sends a TXDONE signal indicating the end of the read data.
Issue a command on the RCMD.

【0054】具体的には、「Opcode;TXDON
E,Operand;dx=1」」なるコマンドによっ
て、データ転送終了が示される。このように、最後に、
DRAMコントローラ300は、DRAMデータ転送サ
ービスの終了に同期して、TXDONE(転送終了)コ
マンドを発行し、1つのDRAM転送サービスが終了す
る(DRAMデータ転送終了)。
Specifically, "Opcode; TXDON
A command “E, Operand; dx = 1” ”indicates the end of data transfer. Thus, finally,
The DRAM controller 300 issues a TXDONE (transfer end) command in synchronization with the end of the DRAM data transfer service, and one DRAM transfer service ends (DRAM data transfer end).

【0055】なお、あるデータのアドレスに対する、注
目するデータのアドレスの相対値を示す相対アドレス情
報を求めるコマンドとしては、例えばINCX、INC
Yが、マーカーへの絶対アドレスのセットを指示するコ
マンドとしては、例えばSETMX、SETMYが、さ
らに、注目するアドレスをマーカーで設定された値とす
るコマンドとしては、例えばGMX、GMYが挙げられ
る。
As a command for obtaining relative address information indicating the relative value of the address of the data of interest with respect to the address of a certain data, for example, INCX, INC
Commands where Y instructs the setting of the absolute address to the marker include, for example, SETMX and SETMY, and commands for setting the target address to a value set by the marker include, for example, GMX and GMY.

【0056】以上説明してきたように、この実施の形態
によれば、相対アドレスのみでデータ転送が可能となる
ためアドレスバスが不要となり、また、少ないコマンド
で必要な全てのアドレスを表現できる。例えば、あるア
ドレスとそこから所定のアドレス範囲、あるアドレスB
を含む所定のアドレス範囲、さらには、あるデータから
所定アドレス分移動したデータのアドレス等を容易に表
現可能となる。従って、データ転送の際のコマンドの転
送を簡易なものとすることができる。
As described above, according to this embodiment, data transfer can be performed only with relative addresses, so that an address bus is not required, and all necessary addresses can be expressed with a small number of commands. For example, a certain address and a predetermined address range therefrom, a certain address B
, And the address of data shifted by a predetermined address from certain data can be easily expressed. Therefore, the command transfer at the time of data transfer can be simplified.

【0057】また、アドレスを絶対アドレスで表現しな
いので、メモリの実アドレスを気にせずにデータ転送を
行うことが可能となる。そして、絶対アドレスを用いな
いので、メモリ構成と独立したアドレッシンッグを行え
るようになりメモリ構成の変更が容易となる。
Further, since the address is not represented by an absolute address, data can be transferred without concern for the real address of the memory. Since no absolute address is used, addressing independent of the memory configuration can be performed, and the memory configuration can be easily changed.

【0058】さらに、この実施の形態ではアドレスを2
次元で表現した場合について説明したが、一般には、ア
ドレスを多次元で表現可能となるので、画像データや多
層化された音声データ構造のデータの転送が容易とな
る。
In this embodiment, the address is 2
Although the description has been given of the case where the address is expressed in a dimension, generally, since the address can be expressed in a multi-dimensional manner, transfer of image data and data having a multi-layered audio data structure is facilitated.

【0059】[0059]

【発明の効果】以上説明したように、請求項1に係る発
明によれば、アドレスバスが不要になると共に、転送処
理対象となるデータのアドレッシングが自在になる。
As described above, according to the first aspect of the present invention, an address bus becomes unnecessary, and the addressing of data to be transferred becomes free.

【0060】また、請求項2に係る発明によれば、例え
ば、2次元で表現されるアドレスを扱うことにより、画
像データ、音声データ等のデータ転送処理が可能とな
る。
According to the second aspect of the invention, for example, data transfer processing of image data, audio data, and the like can be performed by handling addresses expressed in two dimensions.

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

【図1】本発明の実施の形態に係るデータ転送システム
の構成図である。
FIG. 1 is a configuration diagram of a data transfer system according to an embodiment of the present invention.

【図2】従来のデータ転送システムの構成図である。FIG. 2 is a configuration diagram of a conventional data transfer system.

【図3】RバスI/Fの構成図である。FIG. 3 is a configuration diagram of an R bus I / F.

【図4】コマンドのフォーマットの説明図である。FIG. 4 is an explanatory diagram of a command format.

【図5】コマンドの説明図である。FIG. 5 is an explanatory diagram of a command.

【図6】コマンドの説明図である。FIG. 6 is an explanatory diagram of a command.

【図7】本発明の実施の形態の説明図である。FIG. 7 is an explanatory diagram of an embodiment of the present invention.

【図8】本発明の実施の形態の説明図である。FIG. 8 is an explanatory diagram of an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

100 CPU(中央処理装置) 110 RバスI/F 120 GバスI/F 200 モジュール装置 201 RバスI/F 202 GバスI/F 210 モジュール装置 211 RバスI/F 212 GバスI/F 300 DRAMコントローラ 310 RバスI/F 320 GバスI/F 400 DRAM 401 アドレス線 402 データ線 600 データ変換部 610 デコード部 611 Xレジスタ 612 Yレジスタ 613 MX(マーカー) 614 MY(マーカー) REFERENCE SIGNS LIST 100 CPU (central processing unit) 110 R bus I / F 120 G bus I / F 200 module device 201 R bus I / F 202 G bus I / F 210 module device 211 R bus I / F 212 G bus I / F 300 DRAM controller 310 R bus I / F 320 G bus I / F 400 DRAM 401 address line 402 data line 600 data conversion unit 610 decoding unit 611 X register 612 Y register 613 MX (marker) 614 MY (marker)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 メモリに記憶されているデータを転送す
るためのシステムであって、 所定のデータ処理を行う1以上のモジュール装置と、前
記1以上のモジュール装置と前記メモリとの間のデータ
の入出力を制御するメモリ制御装置とを有し、 前記各装置が共通接続されると共に、前記メモリ制御装
置のみがバスマスタとなるメモリバスを備え、さらに、 前記メモリバスは、 あるデータのアドレスに対する、注目するデータのアド
レスの相対値を示す相対アドレス情報を求めるコマン
ド、マーカーへの絶対アドレスのセットを指示するコマ
ンド、および、注目するアドレスをマーカーで設定され
た値とするコマンドのうちの少なくとも1つのコマンド
を伝送可能であることを特徴とするデータ転送システ
ム。
1. A system for transferring data stored in a memory, comprising: at least one module device for performing predetermined data processing; and data transfer between the at least one module device and the memory. A memory control device for controlling input and output, wherein each of the devices is connected in common, and a memory bus is provided in which only the memory control device serves as a bus master.The memory bus further comprises: At least one of a command for obtaining relative address information indicating a relative value of an address of data of interest, a command for setting an absolute address to a marker, and a command for setting the address of interest to a value set by a marker A data transfer system capable of transmitting a command.
【請求項2】 請求項1において、 前記アドレスは、多次元で表現されることを特徴とする
データ転送システム。
2. The data transfer system according to claim 1, wherein the address is expressed in a multi-dimensional manner.
JP32879297A 1997-11-28 1997-11-28 Data transfer system Withdrawn JPH11161594A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32879297A JPH11161594A (en) 1997-11-28 1997-11-28 Data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32879297A JPH11161594A (en) 1997-11-28 1997-11-28 Data transfer system

Publications (1)

Publication Number Publication Date
JPH11161594A true JPH11161594A (en) 1999-06-18

Family

ID=18214169

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32879297A Withdrawn JPH11161594A (en) 1997-11-28 1997-11-28 Data transfer system

Country Status (1)

Country Link
JP (1) JPH11161594A (en)

Similar Documents

Publication Publication Date Title
US6636927B1 (en) Bridge device for transferring data using master-specific prefetch sizes
JP2574955B2 (en) Data transfer device
JPS63106060A (en) Fast mutual connector for digital data processing system
US7000045B2 (en) Byte-enabled transfer for a data bus having fixed-byte data transfer
JPH0440734B2 (en)
US6567908B1 (en) Method of and apparatus for processing information, and providing medium
US6141741A (en) Computer system with a shared address bus and pipelined write operations
US20030067456A1 (en) Indirect interface
JPH11161594A (en) Data transfer system
JPS6111873A (en) Accessing method to 8-bit and 16-bit peripheral devices by 16-bit microprocessor
JP4017050B2 (en) Data transfer system
JPH06301644A (en) Data transfer method
JP3768561B2 (en) Multiprocessor system
JP2546574B2 (en) Graphic information processing system
JP3196661B2 (en) Data transmission device
AU613115B2 (en) Secure commodity bus
US6785795B1 (en) Data processing device for use in cooperation with a memory
JPH11161597A (en) Data transfer system and testing method for data transfer system
US6047335A (en) Video display device applied for a graphics accelerator
JPH11161593A (en) Data transfer system and testing method for data transfer system
JPS6367702B2 (en)
JPH05224843A (en) Control method for printer
JP3207329B2 (en) Bus controller and bus transfer method
JP2576236B2 (en) Communication method of programmable controller
JPH06274450A (en) Data transfer system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050201