JPS63244484A - Data transfer system - Google Patents

Data transfer system

Info

Publication number
JPS63244484A
JPS63244484A JP62078541A JP7854187A JPS63244484A JP S63244484 A JPS63244484 A JP S63244484A JP 62078541 A JP62078541 A JP 62078541A JP 7854187 A JP7854187 A JP 7854187A JP S63244484 A JPS63244484 A JP S63244484A
Authority
JP
Japan
Prior art keywords
data
read
dynamic ram
page mode
destination
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
JP62078541A
Other languages
Japanese (ja)
Inventor
Teruhisa Fujimoto
曜久 藤本
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP62078541A priority Critical patent/JPS63244484A/en
Publication of JPS63244484A publication Critical patent/JPS63244484A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain high speed sequential access by using the page mode of a dynamic RAM. CONSTITUTION:A data is read from the dynamic RAM in the page mode and written in a high speed memory 13. Then the data read from the high speed memory 13 is shifted by a shift circuit 16 so as to be coincident with a bit location of a destination side in response to the mask values. Then the data is written continuously in the RAM, and a first and end processing is subjected to read modefy write and the intermediate part is written in the unit of words in the page mode. Thus, high speed transfer is attained without expanding the bus width and since the system is suitable for large scale circuit integration, the hardware is miniaturized.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明はイメージデータの転送に用いて好適なデータ転
送方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a data transfer method suitable for use in transferring image data.

(従来の技術) 高解像度のイメージデータを取扱う場合、そのデータ量
は膨大なものになり高速なデータ転送を可能にするハー
ドウェアが必要となる。データ転送速度は、メモリのア
クセス・タイムとデータのパス幅によりほぼ決まる。イ
メージデータを任意のビット位置に転送する場合の動作
例につき第2図を用いて簡単に説明する。即ち、まず■
に示すデータを読み、データaを書く。次に■のデータ
を読み、■の残シの部分と合成してデータb。
(Prior Art) When handling high-resolution image data, the amount of data becomes enormous, and hardware that enables high-speed data transfer is required. Data transfer speed is largely determined by memory access time and data path width. An example of operation when image data is transferred to an arbitrary bit position will be briefly explained using FIG. 2. That is, first ■
Read the data shown in and write data a. Next, read the data in ■ and combine it with the remaining part of ■ to create data b.

Cを書く、以下同様に■を読みd、aを書く・・・等の
処理を要していた。図中1点線はワード・々ウンダリイ
の位置を示す。
It required processing such as writing C, reading ■ and writing d and a in the same manner. In the figure, a dotted line indicates the position of a word/underly.

(発明が解決しようとする問題点) 上記従来例に従えばソースデータとディスティネーショ
ンデータのWRITE (書込み)を用いた場合、第3
図に示すタイミングチャートのように。
(Problem to be solved by the invention) According to the above conventional example, when WRITE of source data and destination data is used, the third
As shown in the timing chart shown in fig.

毎回アドレスを更新する必要があシ、従がってイメージ
等のシーケンシャルな大容量データを転送するには、速
度面で不都合がるシ、無視しえないものとなっていた。
It is necessary to update the address every time, and therefore, when transferring sequential large-capacity data such as images, there is a speed disadvantage that cannot be ignored.

本発明は上記事情に鑑みてなされたものでありダイナミ
ックRAMの被−ジモードを用いることによりシーケン
シャルアクセスを高速に行なうデータ転送方式を提供す
ることを目的とする。
The present invention has been made in view of the above circumstances, and it is an object of the present invention to provide a data transfer system that performs sequential access at high speed by using the target mode of a dynamic RAM.

[発明の構成] (問題点を解決するための手段) 本発明は、ダイナミックRAM内のシーケンシャルなブ
ロックデータをソースからディスティネーション位置へ
転送するとき、ダイナミックRAMのページモードを使
用して1ブロック分のソースデータを高速メモリに連続
して読込み、後、ディステイネ−シミ/アドレス位置に
データを連続してライトすることによシ高速データ転送
を実現する構成としたものである。又、上記機能を持つ
ことによ91回のブロック転送に要する時間を短縮し、
更にこのブロック転送を繰返し行なうことにより多次元
配列されたデータを転送可能としたものである。
[Structure of the Invention] (Means for Solving the Problems) The present invention uses the page mode of the dynamic RAM to transfer sequential block data in a dynamic RAM from a source to a destination location. The structure is such that high-speed data transfer is achieved by successively reading source data into a high-speed memory and then writing the data successively to a destination stain/address position. In addition, by having the above functions, the time required for 91 block transfers is shortened,
Furthermore, by repeating this block transfer, multidimensionally arranged data can be transferred.

(作用) 上記構成において、まず、ダイナミックRAMよυペー
ジモードにてデータをリードし、高速メモリに書込む。
(Operation) In the above configuration, data is first read from the dynamic RAM in the υ page mode and written to the high speed memory.

そしてこの高速メモリを介して読出されたデータをマス
ク値に応じて選択しシフト回路によってテスティネーシ
ョン側のビット位置と一致する様にシフトする。そして
このデー・夕を連続的にダイナミックRAMに書込む訳
であるが。
Then, the data read out through this high-speed memory is selected according to the mask value and shifted by a shift circuit so that it matches the bit position on the testing side. The data is then continuously written into the dynamic RAM.

始めと終りの1回はリードモデファイライトを行ない、
中間部分k ページモードにてワード単位でライトする
Perform read modify write once at the beginning and once at the end,
Middle part k Write in word units in page mode.

このことによシバス幅を拡張せずに高速転送が可能とな
り、LSI化に適するため、コスト低減のための一助と
なる。
This enables high-speed transfer without expanding the bus width, making it suitable for LSI implementation and helping to reduce costs.

(実施例) 以下、本発明実施例について詳細に説明する。(Example) Examples of the present invention will be described in detail below.

第1図は本発明の実施例を示すブロック図である。図に
おいて、11.12はバッファ(入出力セル)である。
FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, 11 and 12 are buffers (input/output cells).

バッファ11.12は外部データバスと内部デルタバス
を分離する機能を持つ。
Buffers 11.12 have the function of separating the external data bus and internal delta bus.

13はソースデータを保持するレジスタファイルである
。14はレジスタである。レジスタ14には、後述する
様に、リード・モデファイ・ライトを行なう際、ディス
テイネ−シコンアドレス位tにデータライトを行なう以
前に、ディスティネーションデータをリードしたデータ
が格納される。
13 is a register file that holds source data. 14 is a register. As will be described later, the data read from the destination data is stored in the register 14 before data is written to the destination address position t when a read/modify/write is performed.

15はセレクタである。セレクタ15はレジスタファイ
ル13出力を入力として得、後述するマスクデータ生成
回路18出力に従かいバレルシフタ16に入力するデー
タを選択する。バレルシフタ16はデータを任意長だけ
ローテートできる。
15 is a selector. The selector 15 receives the output of the register file 13 as an input, and selects data to be input to the barrel shifter 16 according to the output of a mask data generation circuit 18, which will be described later. The barrel shifter 16 can rotate data by an arbitrary length.

17はセレクタである。セレクタ17には上記バレルシ
フタ16出力及びレジスタ14出力が入力として供給さ
れており、マスクデータ生成回路18が出力するマスク
値に応じ、bずれか一方を選択出力する。即ち、リード
・モデ7アイ・ライトを行なうためソースとディスティ
ネーションのデータを選択する。マスクデータ生成回路
18は有効データのビット位置を指定する。19はダイ
ナミックRAMの転送データのアドレスt 指定するア
ドレス生成回路である。
17 is a selector. The output of the barrel shifter 16 and the output of the register 14 are supplied to the selector 17 as inputs, and depending on the mask value output from the mask data generation circuit 18, it selects and outputs one of the two. That is, source and destination data are selected for read mode 7 eye write. The mask data generation circuit 18 specifies the bit position of valid data. Reference numeral 19 denotes an address generation circuit that specifies the address t of transfer data in the dynamic RAM.

以下、本発明実施例の動作について詳細に説明する。イ
メージのような2次元データを転送する場合1通常横方
向に走査(スキャン)シ、縦方向は、横方向の繰返しで
転送される。この場合、横方向に対しては連続アドレス
となるため、第4図6一 に示すようなダイナミックRAMのページ・モードが利
用できる。ページ・モードでは、 RAS側アドアドレ
ス回入力すればよいのでサイクル・タイムを短くするこ
とができる。第1図に示した回路の動作ヲページ・モー
ドで、且つ、第2図に示すデータを転送する場合を例示
して説明する。
Hereinafter, the operation of the embodiment of the present invention will be explained in detail. When transferring two-dimensional data such as an image, the data is usually scanned in the horizontal direction, and transferred in the vertical direction repeatedly in the horizontal direction. In this case, since the addresses are continuous in the horizontal direction, the page mode of the dynamic RAM as shown in FIG. 46-1 can be used. In page mode, the cycle time can be shortened because it is only necessary to input the address on the RAS side once. The operation of the circuit shown in FIG. 1 will be explained by exemplifying the case where the data shown in FIG. 2 is transferred in page mode.

まず、ダイナミックRAM K接続されているデータバ
スよυページ・モードでデータをリードする。
First, data is read from the data bus connected to dynamic RAM K in υ page mode.

第2図に示す■、■、■・・・のデータは、データバッ
ファ12 ’に通り、−レジスタ・ファイル13に次次
と蓄えられていく。ソース側の1スキャン分のデータの
リードが終了すると、ディスティネーション側のメモリ
にページ・モードでデータを書込む。これは、レジスタ
ファイル13よシ読出したデータからセレクタ15よシ
マスフ値に応じてライトするデータを選択しく第1図に
おいては、■と■のデータからbとCを選択する)、こ
れをバレルシフタ16によってディスティネーション側
のビット位置と一致するようにシフトする。セレクタ1
7をスルーしたデータは、アウトプットバッファ11を
通して出力され、ダイナミックRAMに書込まれる。
The data shown in FIG. 2 pass through the data buffer 12' and are stored in the -register file 13 one after another. When reading data for one scan on the source side is completed, the data is written in the memory on the destination side in page mode. This means that the selector 15 selects the data to be written from the data read out from the register file 13 according to the simulator value. In FIG. Shift the bit position to match the destination bit position. Selector 1
The data passed through 7 is outputted through the output buffer 11 and written to the dynamic RAM.

但し、aのデータをライトするときは、aより左側のデ
ータも一緒にライトしてしまうのでリード・モディファ
イ・ライトを行う必要がある。従って、データを連続し
てライトする場合、始めと終シの1回はリード・モディ
ファイ・ライトを行い、中間の部分をページ・モードで
ワード単位にライトする必要がある。リード・モディフ
ァイ・ライトを行う場合は、ディスティネーションアド
レス位置にライトする前にディスティネーションデータ
をリードしてレジスタ14に保持しておく。
However, when writing the data of a, the data on the left side of a is also written, so it is necessary to perform read-modify-write. Therefore, when writing data continuously, it is necessary to perform read-modify-write once at the beginning and once at the end, and write the intermediate portion in word units in page mode. When performing read-modify-write, the destination data is read and held in the register 14 before writing to the destination address location.

そして、ディスティネーションアドレス位置にデータを
ライトするときには、書込むビット位置を示すパターン
をマスク発生回路18から作成し、そのマスクパターン
に応じてライトするビットは。
When writing data to the destination address position, a pattern indicating the bit position to be written is created from the mask generation circuit 18, and the bit to be written is determined according to the mask pattern.

バレルシフタ16の出力を、ライトしないビットはレジ
スタ14の出力をセレクタ17により選択する。また、
これらの動作を行うためにレジスタファイル13は、1
スキャン分のデータより容量が大きく、アクセスタイム
が十分速い必要がある。
The output of the register 14 is selected by the selector 17 for bits that do not write the output of the barrel shifter 16 . Also,
In order to perform these operations, the register file 13 has 1
It needs to have a larger capacity than the scanned data and have a sufficiently fast access time.

[発明の効果] 以上説明の様に、従来の様にリードとライトを交互に行
なう方式では、ダイナミックRAMのアクセスタイムが
ネックになシパス幅を広げる以外に運送速度を上げる方
法がなかったものが、イメージデータ等矩形領域のデー
タを転送する際1本発明方式を用いることによシ、約2
倍の転送速度が得られる。また本発明方式は、LSI化
に適していてバス幅を従来の半分にすることができるた
め、ハードウェアを小形化することができ、又、コスト
低減に一役かう。
[Effects of the Invention] As explained above, in the conventional method of performing read and write operations alternately, the access time of the dynamic RAM was a bottleneck, and there was no way to increase the transportation speed other than by widening the path width. When transferring data in a rectangular area such as image data, 1. By using the method of the present invention, approximately 2.
You can get double the transfer speed. Furthermore, the method of the present invention is suitable for LSI integration and can reduce the bus width to half that of the conventional method, thereby making it possible to downsize the hardware and helping to reduce costs.

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

第1図は本発明の実施例を示すブロック図、第2図〜第
4図は本発明実施例の動作を説明するために引用した図
であシ、イメージデータの転送例、毎回アドレス更新を
行なう際のタイミング例、被−ジモードのタイミング例
のそれぞれを示す。 11.12・・・バッファ、13・・・レジスタファイ
ル、14・・・レジスタ% 15.17・・・セレクタ
、16・・・パ:レルシフタ、18・・・マスクデータ
生成回−1〇−
Figure 1 is a block diagram showing an embodiment of the present invention, and Figures 2 to 4 are diagrams cited to explain the operation of the embodiment of the present invention. An example of the timing when performing the operation and an example of the timing of the target mode are shown. 11.12... Buffer, 13... Register file, 14... Register % 15.17... Selector, 16... Para shifter, 18... Mask data generation time -10-

Claims (4)

【特許請求の範囲】[Claims] (1)ダイナミックRAMに記憶されたシーケンシャル
なブロックデータを転送するに際し、ソースデータをペ
ージモードを使用することにより連続読出しを行ない、
後、ディスティネーション位置にそのデータを連続書込
みすることを特徴とするデータ転送方式。
(1) When transferring sequential block data stored in the dynamic RAM, the source data is read out continuously by using page mode,
This data transfer method is characterized by continuously writing the data to the destination location.
(2)ページモードにてダイナミックRAMに記憶され
たソースデータを連続して読出し、これが記憶されるレ
ジスタファイルと、このレジスタファイルを介して読出
されたデータをマスク値に応じて選択し、ディスティネ
ーション側のビット位置と一致させるシフト回路と、こ
のシフト回路出力をダイナミックRAMに連続書込みを
行なう書込み制御回路とを具備することを特徴とする特
許請求の範囲第1項記載のデータ転送方式。
(2) Continuously read the source data stored in the dynamic RAM in page mode, select the register file in which it is stored and the data read through this register file according to the mask value, and select the destination 2. The data transfer method according to claim 1, further comprising a shift circuit for matching the bit position on the side, and a write control circuit for continuously writing the output of the shift circuit into a dynamic RAM.
(3)上記書込み制御回路は、ディスティネーションア
ドレス位置にデータを書込む前にディスティネーション
データを読出し、得られるデータが格納されるレジスタ
と、マスクパターンに応じ上記レジスタ出力及びシフト
回路出力のいずれか一方を選択出力するセレクタとを具
備することを特徴とする特許請求の範囲第2項記載のデ
ータ転送方式。
(3) The write control circuit reads the destination data before writing data to the destination address position, and selects a register in which the obtained data is stored and either the register output or the shift circuit output according to the mask pattern. 3. The data transfer method according to claim 2, further comprising a selector for selectively outputting one of the data.
(4)上記ブロック転送を繰返し行なうことにより多次
元配列データの転送を行うことを特徴とする特許請求の
範囲第1項記載のデータ転送方式。
(4) The data transfer method according to claim 1, wherein multidimensional array data is transferred by repeatedly performing the block transfer.
JP62078541A 1987-03-31 1987-03-31 Data transfer system Pending JPS63244484A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62078541A JPS63244484A (en) 1987-03-31 1987-03-31 Data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62078541A JPS63244484A (en) 1987-03-31 1987-03-31 Data transfer system

Publications (1)

Publication Number Publication Date
JPS63244484A true JPS63244484A (en) 1988-10-11

Family

ID=13664771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62078541A Pending JPS63244484A (en) 1987-03-31 1987-03-31 Data transfer system

Country Status (1)

Country Link
JP (1) JPS63244484A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58224497A (en) * 1982-06-22 1983-12-26 Nec Corp Storage device
JPS6214194A (en) * 1985-07-11 1987-01-22 日本電気株式会社 Bit map mover

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58224497A (en) * 1982-06-22 1983-12-26 Nec Corp Storage device
JPS6214194A (en) * 1985-07-11 1987-01-22 日本電気株式会社 Bit map mover

Similar Documents

Publication Publication Date Title
JPH035991A (en) Double port-memory
JPH09198862A (en) Semiconductor memory
JPS63244484A (en) Data transfer system
JPH10177647A (en) Picture processor
JP3596644B2 (en) Image processing apparatus and processing method thereof
JP3002951B2 (en) Image data storage controller
JPH028335B2 (en)
JP2000232623A (en) Video memory circuit
JPH01134544A (en) Memory access system
JPH01119823A (en) First-in first-out storage device
JPS62151987A (en) Multi port memory processing picture
JPH02125769A (en) Drawing control circuit
JPH03137722A (en) Two-dimensional memory device
JP2547256B2 (en) DMA device
JPH02108169A (en) Frame memory device
JPH05144259A (en) Memory device
JPH04278652A (en) Graphic drawing device and its memory access system
JPS63269393A (en) Semiconductor storage cell with multiple port
JPH02250183A (en) Method and device for interface between graphic drawing device and memory
JPH02108171A (en) Frame memory device
JPH04195440A (en) Semiconductor memory suitable for frame buffer and graphic processor using the same
JPH02108174A (en) Frame memory device
JPH11212860A (en) Picture storage device
JPH0677262B2 (en) Image storage device access method
JPS636644A (en) Frame buffer memory