JPS63229685A - Method for controlling memory - Google Patents

Method for controlling memory

Info

Publication number
JPS63229685A
JPS63229685A JP62063195A JP6319587A JPS63229685A JP S63229685 A JPS63229685 A JP S63229685A JP 62063195 A JP62063195 A JP 62063195A JP 6319587 A JP6319587 A JP 6319587A JP S63229685 A JPS63229685 A JP S63229685A
Authority
JP
Japan
Prior art keywords
data
serial port
serial
cell array
memory cell
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
JP62063195A
Other languages
Japanese (ja)
Inventor
Hitoshi Mitani
均 三谷
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP62063195A priority Critical patent/JPS63229685A/en
Publication of JPS63229685A publication Critical patent/JPS63229685A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable only a part of the data of a memory cell array to be rewrit ten when the data is inputted through a serial port by previously writing the prescribed lines of the data in the serial port before transferring the serial inputted data to the prescribed line of the memory cell array. CONSTITUTION:Before the data is serially inputted, the prescribed Rn lines of data on the memory cell array MS is transferred to the serial port SP and after the data is serially inputted to the serial part SP where the prescribed lines of data is written, the data of the serial port of which part associating with the serial inputted data is rewritten is transferred to the prescribed line Rn of the memory cell array MS. Thus, even when the one part of the data of which size is smaller than that of the serial port is rewritten by the serial input, the prescribed lines of data are preserved on the rest of it and only the one part of the data on the memory cell array can be rewritten.

Description

【発明の詳細な説明】 A、産業上の利用分野 本発明は、メモリ制御方法に関し、特にシリアルアクセ
スポート付きのRAMに対してデータ入力を行うための
メモリ制御方法に関する。
DETAILED DESCRIPTION OF THE INVENTION A. Field of Industrial Application The present invention relates to a memory control method, and more particularly to a memory control method for inputting data to a RAM with a serial access port.

B0発明の概要 本発明は、シリアルポート付きのRAMに対してデータ
をシリアル入力してメモリセルアレイ上の所定行に該シ
リアル入力データを転送するためのメモリ制御方法にお
いて、シリアル入力の前にメモリセルアレイ上の所定行
のデータをシリアルポートに転送しておくことにより、
書き換え部分以外のデータを元のまま保持した状態でシ
リアル入力を可能とするものである。
B0 Summary of the Invention The present invention provides a memory control method for serially inputting data to a RAM with a serial port and transferring the serial input data to a predetermined row on a memory cell array. By transferring the data in the above specified line to the serial port,
This allows serial input while retaining the original data other than the rewritten portion.

C9従来の技術 近年において、半導体メモリの容量が飛躍的に増大し、
種々の用途に多くの半導体メモリが使用されるようにな
っている。これに呼応して、半導体メモリの品種も増大
しており、例えば画像情報処理用のRAM (ランダム
アクセスメモリ)には、ランダムアクセスポート以外に
シリアルアクセスポートを備えたデュアルポート型のも
のが多く使用されるようになってきている。
C9 Conventional technology In recent years, the capacity of semiconductor memory has increased dramatically.
Many semiconductor memories are being used for various purposes. Correspondingly, the number of types of semiconductor memory is increasing.For example, RAM (random access memory) for image information processing is often dual-port type, which has a serial access port in addition to a random access port. This is becoming more and more common.

このシリアルポート付きのRAMは、通常のRAMと同
様なメモリセルアレイに対するランダムアクセス入出力
(データの書き込み、読み出し)の他に、シリアルアク
セスポートからの入出力が可能となっている。このシリ
アルポートから上記メモリセルアレイへのデータ転送は
、該シリアルポートのサイズ(例えば512ビツト)を
単位として行われる。このようなシリアルポート付きの
RAMは、シリアルポートに対してデータの読み出しあ
るいはデータの書き込みを行っている際でもランダムア
クセスポートへは自由にアクセスできるので、データを
入出力しながら当該データに処理を加えるような用途、
例えば画像用メモリとして有用である。
This RAM with a serial port allows input/output from a serial access port in addition to random access input/output (data writing and reading) to a memory cell array similar to a normal RAM. Data transfer from this serial port to the memory cell array is performed in units of the size of the serial port (for example, 512 bits). In such a RAM with a serial port, the random access port can be freely accessed even when data is being read or written to the serial port, so processing can be performed on the data while inputting and outputting data. Uses such as adding
For example, it is useful as an image memory.

D1発明が解決しようとする問題点 ところで、上述のようなデュアルポートRAMにおいて
、シリアルポートの内容の一部のみを書き換えたい場合
には、次のような不都合が生じてしまう。
D1 Problems to be Solved by the Invention By the way, in the dual port RAM as described above, when it is desired to rewrite only part of the contents of the serial port, the following inconvenience occurs.

すなわち、第6図に示すシリアルポートSPに対してデ
ータをシリアル入力し、ポート内の一部S、Iwのみに
データを書き込んだ後に、第7図に示すように該シリア
ルポートSPのデータをメモリセルアレイMSの所定行
Rnに転送(所謂ライト転送)すると、メモリセルアレ
イ上S上の書き換えたくない部分のデータが消失してし
まう、これは、上記シリアル入力によってシリアルポー
トサイズの一部S工の内容が書き換えられても、残りの
部分S0の内容についてはデータ入力前の何が記憶され
ているか不明のままの状態(図中斜線部参照)である点
と、シリアルポートSPとメモリセルアレイMSとの間
でのデータ転送は、シリアルポートサイズを単位として
行われる点とにより、上記内容不明部分SR6を含むシ
リアルポートサイズの全ての記録内容がそのままメモリ
セルアレイMSの該当行Rnに転送されて書き込まれて
しまうからである。
That is, after serially inputting data to the serial port SP shown in FIG. 6 and writing the data only to a portion of the port S and Iw, the data of the serial port SP is transferred to the memory as shown in FIG. When data is transferred to a predetermined row Rn of the cell array MS (so-called write transfer), the data in the part of the memory cell array S that you do not want to rewrite will be lost. Even if S0 is rewritten, the contents of the remaining part S0 before data input remain unknown (see the shaded area in the figure), and the difference between serial port SP and memory cell array MS The data transfer between the memory cells is performed in units of serial port size, so all the recorded contents of the serial port size, including the content unknown portion SR6, are transferred and written as they are to the corresponding row Rn of the memory cell array MS. This is because it will be put away.

このように、データ書き換え部分以外の領域のデータの
保存が保証されないため、所謂マルチ画面やピクチャー
インピクチャー等の画像処理が有効に行えなくなり、画
面の一部のみを書き換えようとすると、・この書換部分
と同じ水平位置(同じ行)の残りの部分が元の画像と異
なるものとなってしまう虞れがある。
In this way, the preservation of data in areas other than the data rewritten area is not guaranteed, so image processing such as so-called multi-screen or picture-in-picture cannot be performed effectively, and if you try to rewrite only part of the screen, this rewriting There is a risk that the remaining part at the same horizontal position (same row) as the original image will be different from the original image.

本発明は、このような実情に鑑みてなされたものであり
、シリアルポート付きRAMのシリアルポートを介して
データ入力を行う際に、シリアルポートのサイズより小
さい一部データのみを書き換えても残りを元のデータの
まま保存できるようなメモリ制御方法の提供を目的とす
る。
The present invention was made in view of the above circumstances, and it is possible to input data through the serial port of a RAM with a serial port, even if only a part of the data smaller than the size of the serial port is rewritten, the remaining data cannot be written. The purpose is to provide a memory control method that allows the original data to be saved as is.

E0問題点を解決するための手段 本発明に係るメモリ制御方法は、上述の問題点を解決す
るために、シリアルポート付きのRAMのシリアルポー
トを介してデータを入力し、メモリセルアレイ上の所定
の行に該入力データを転送するようなメモリ制御方法に
おいて、上記シリアル入力データの入力に先立ち上記メ
モリセルアレイ上の上記所定行のデータを上記シリアル
ポートに転送し、この上記所定行データが書き込まれた
シリアルポートに上記シリアル入力データを入力した後
、このシリアル入力データに対応する部分のみが書き換
えられたシリアルポートのデータを上記メモリセルアレ
イ上の上記所定行に転送することを特徴としている。
Means for Solving the E0 Problem In order to solve the above-mentioned problem, the memory control method according to the present invention inputs data through a serial port of a RAM equipped with a serial port, and inputs data to a predetermined point on a memory cell array. In the memory control method of transferring the input data to a row, prior to inputting the serial input data, the data of the predetermined row on the memory cell array is transferred to the serial port, and the data of the predetermined row is written. After inputting the serial input data to the serial port, the serial port data, in which only the portion corresponding to the serial input data has been rewritten, is transferred to the predetermined row on the memory cell array.

F0作用 シリアル入力前のシリアルポート内には、メモリセルア
レイの所定行、すなわち該シリアルポート内データの転
送先の行のデータが予め書き込まれているため、シリア
ル入力によって、シリアルポートサイズよりも小さいサ
イズの一部データの書き換えを行っても、残りの部分に
は上記所定行のデータが元のまま保存されている。従っ
て、シリアルポートを介してのデータ入力によっても、
メモリセルアレイの・一部のみのデータ書き換えが実現
できる。
In the serial port before the F0 action serial input, the data of a predetermined row of the memory cell array, that is, the row to which the data in the serial port is transferred, is written in advance, so the serial input allows the data to be transferred to a size smaller than the serial port size. Even if a part of the data is rewritten, the data in the predetermined row is preserved as it was in the remaining part. Therefore, even by inputting data through the serial port,
Data rewriting of only a part of the memory cell array can be realized.

G、実施例 本発明に係るメモリ制御方法に用いられるメモリは、通
常のランダムアクセス可能なメモリセルアレイの他に該
メモリセルアレイの1行分の容量のシリアルアクセスポ
ートを有する所謂シリアルポート付きのRAMである。
G. Embodiment The memory used in the memory control method according to the present invention is a so-called RAM with a serial port, which has a serial access port with a capacity of one row of the memory cell array in addition to a normal randomly accessible memory cell array. be.

ここでこのシリアルポートは、メモリセルアレイの任意
の1行との間で記憶内容の転送が可能であるとともに、
データの入出力をシリアルに行い得るものである。本発
明に係るメモリ制御方法は、このようなシリアルポート
を介してデータを入力し、メモリセルアレイ上の所定の
行に該入力データを転送するためのメモリ制御方法であ
る。以下、本発明に係るメモリ制御方法の一実施例を、
第1図A−Cを参照しながら説明する。
Here, this serial port is capable of transferring memory contents to and from any one row of the memory cell array, and
Data can be input and output serially. A memory control method according to the present invention is a memory control method for inputting data through such a serial port and transferring the input data to a predetermined row on a memory cell array. An embodiment of the memory control method according to the present invention will be described below.
This will be explained with reference to FIGS. 1A to 1C.

先ず、第1図Aにおいて、上記データのシリアル入力動
作に先立ち、メモリセルアレイMS上の上記所定行Rn
のデータをシリアルボー)SPに転送する。この所定行
Rnは、次にシリアル入力されたデータが転送される相
手先の行である。
First, in FIG. 1A, prior to the serial input operation of the data, the predetermined row Rn on the memory cell array MS is
data is transferred to the serial baud) SP. This predetermined row Rn is the row of the destination to which the next serially input data is transferred.

次に、上記所定行Rnのデータが書き込まれたシリアル
ポートSPに所望のデータをシリアル入力し、第1図已
に示すように一部領域S、のみを書き換える。残りの領
域5ll11には上記所定行Rnのデータがそのまま保
存されている。
Next, desired data is serially input to the serial port SP into which the data of the predetermined row Rn has been written, and only a partial area S is rewritten as shown in FIG. In the remaining area 5ll11, the data of the predetermined row Rn is stored as is.

最後に、第1図Cに示すように、このシリアル入力デー
タに対応する部分S、wのみが書き換えられたシリアル
ポートSPのデータを、上記メモリセルアレイMS上の
上記所定行Rnに転送する。
Finally, as shown in FIG. 1C, the data of the serial port SP, in which only the portions S and w corresponding to this serial input data have been rewritten, is transferred to the predetermined row Rn on the memory cell array MS.

このときのデータ転送は、シリアルポートサイズを単位
として行われ、シリアルボー)SP内の全データがメモ
リセルアレイMSの上記所定行Rnに転送されるが、シ
リアルボー)SP内の上記書き換えがなされない部分5
II6には元の上記行Rnのデータが保存されているた
め、実質的にメモリセルアレイMSの行Rn内の一部(
上記書き換え部分SNwに対応)のみ書き換えられ、他
の部分は元のデータがそのまま保存されることになる。
Data transfer at this time is performed in units of serial port size, and all data in the serial baud) SP is transferred to the above-mentioned predetermined row Rn of the memory cell array MS, but the above rewriting in the serial baud) SP is not performed. part 5
Since the data of the original row Rn is stored in II6, substantially a part of the row Rn of the memory cell array MS (
Only the rewritten portion (corresponding to the rewritten portion SNw) is rewritten, and the original data of the other portions is preserved as is.

ここで、通常のラスクスキャン型ディスプレイの映像信
号に対応する画像データを取り扱う場合において、上記
メモリセルアレイを所謂フレームメモリとするとき、8
亥メモリセルアレイの1行は画面のIHあるいは1ライ
ン(水平走査線)に対応する。いま、上記映像信号の画
像データをIH(1ライン)毎に上記シリアルポートか
ら入出力し、1フレームを静止画像として記憶し表示さ
せるとともに、画面上の所望の部分に新たな画像を表示
させる所謂ピクチャーインピクチャーや画面分割表示あ
るいはマルチ画面表示等を実現する場合に、上述のよう
な手順でシリアルポート付きメモリを制御するためのタ
イムチャートを第2図に示している。
Here, when handling image data corresponding to a video signal of a normal rusk scan type display, when the above memory cell array is used as a so-called frame memory, 8
One row of the memory cell array corresponds to IH or one line (horizontal scanning line) of the screen. Now, the image data of the video signal is input/output from the serial port for each IH (one line), one frame is stored and displayed as a still image, and a new image is displayed at a desired part on the screen. FIG. 2 shows a time chart for controlling the memory with a serial port according to the procedure described above when realizing picture-in-picture, split-screen display, multi-screen display, etc.

この第2図の時刻り、において、上記シリアルボー)S
Pに対する所定のラインの画像データのシリアル入力が
終了し、時刻1.からt3までの間に、上記シリアルポ
ートSPから上記メモリセルアレイMSの上記所定ライ
ンに対応する行へのデータ転送(所謂ライト転送、第1
図Cに対応)が行われ、上記所定ラインのデータについ
ての一連の入力動作が終了する0次に、時刻Laから次
のラインのデータについての一連の入力動作が開始され
、時刻t4からt、までの間に上記メモリセルアレイM
Sの上記次のラインの行のデータが上記シリアルポート
SPに転送(所謂リード転送、第1図Aに対応)され、
その後、時刻t、から上記シリアルポートSPに対する
上記次のラインの行の画像データの入力(シリアル入力
、第1図Bに対応)が開始される。以下同様に、シリア
ル入力が終了した後に上記ライト転送を実行し、さらに
次のラインについての上記リード転送から上記第1図の
A−Cの動作を必要に応じた回数だけ繰り返せばよい、
ここで、通常のシリアルポート付きRAMにおいて、上
記リード転送直後のシリアルポートSPは出力モード(
入出力共用端子が出力端子として機能するモード)とな
っているため、上記リード転送サイクル終了時からシリ
アル入力が開始されるまでの例えば時刻1.からt、ま
での間に、実質的なデータ転送を伴わないライト転送(
所謂疑似ライト転送)を実行させて、シリアルポートを
入力モードに切り換えておくことが必要とされる。
At the time shown in Fig. 2, the serial baud) S
The serial input of image data of a predetermined line to P is completed, and time 1. to t3, data transfer (so-called write transfer, first
(corresponding to Figure C) is performed, and the series of input operations for the data of the predetermined line is completed.Next, a series of input operations for the data of the next line starts from time La, and from time t4 to t, Until then, the memory cell array M
The data of the next line of S is transferred to the serial port SP (so-called read transfer, corresponding to FIG. 1A),
Thereafter, from time t, input of the image data of the next line to the serial port SP (serial input, corresponding to FIG. 1B) is started. Similarly, after the serial input is completed, the above write transfer is executed, and the operations from A to C in FIG. 1 above are repeated as many times as necessary, starting with the above read transfer for the next line.
Here, in a normal RAM with a serial port, the serial port SP immediately after the above read transfer is in output mode (
Since the input/output common terminal is in a mode (in which it functions as an output terminal), for example, at time 1. from the end of the read transfer cycle to the start of serial input. Between t and t, there is a write transfer (
It is necessary to execute a so-called pseudo write transfer and switch the serial port to input mode.

以上のように、時刻も、からのシリアル入力に先立つ時
刻t4からt、までの間に上記リード転送を行って、こ
れからデータ入力しようとするラインに相当する行のデ
ータを上記シリアルポートSPに転送しておき、このデ
ータ転送されたシリアルポートSPに対してシリアル入
力を行って一部データのみを書き換え、その後、シリア
ルポートSPのデータをメモリセルアレイに転送するこ
とにより、書き換え部分以外の領域については元のデー
タを保存するようにして、所謂ピクチャーインピクチャ
ーやマルチ画面等を容易に実現可能としている。
As described above, the read transfer is performed between time t4 and time t prior to the serial input from , and the data of the line corresponding to the line to which data is to be input is transferred to the serial port SP. Then, perform serial input to the serial port SP to which this data has been transferred to rewrite only a portion of the data, and then transfer the data from the serial port SP to the memory cell array to rewrite the area other than the rewritten portion. By preserving the original data, so-called picture-in-picture, multi-screen, etc. can be easily realized.

ところで、上述のようなシリアルポート付きのRAMは
、具体的には例えば第3図に示すような構成を有してい
る。この第3図において、メモリセルアレイMSとして
は、256行×256列のものが4個(64Kx4ビツ
ト)設けられ、これらの各メモリセルアレイMSO−M
S3に対応して、シリアルポートとしてのデータレジス
タ10〜13及びシリアル入出カバソファ20〜23が
それぞれ設けられている。各シリアル入出カバソファ2
0〜23に対するデータの入出力は、それぞれ端子5D
O−3D3を介して行われる。またメモリセルアレイM
SO−MS3は、行デコーダ30及び各列デコーダ40
〜43によりランダムアクセスが可能となっており、各
列デコーダ40〜43に対しそれぞれ設けられた入出力
バッファ50〜53の各端子DDO〜DD3を介してデ
ータの入出力が行われる。次に、例えば8ビ、トのアド
レス入力A0〜A、については、行アドレスと列アドレ
スとが時分割的に表れ、アドレスバッファ31によりこ
れらの行アドレスと列アドレスとが分離されるようにな
っており、アドレスバッファ31からの行アトーレスが
行デコーダ30に送られるのに対し、列アドレスが各列
デコーダ40〜43及び各データレジスタ10〜13に
それぞれ送られる。
By the way, the above-mentioned RAM with a serial port specifically has a configuration as shown in FIG. 3, for example. In FIG. 3, four memory cell arrays MS (64K x 4 bits) of 256 rows x 256 columns are provided, and each of these memory cell arrays MSO-M
Corresponding to S3, data registers 10 to 13 and serial input/output cover sofas 20 to 23 as serial ports are provided, respectively. Each serial input/output hippo sofa 2
Data input/output for 0 to 23 is via terminal 5D, respectively.
This is done via O-3D3. Also, memory cell array M
The SO-MS 3 includes a row decoder 30 and each column decoder 40.
43 enable random access, and data is input and output via terminals DDO to DD3 of input/output buffers 50 to 53 provided for each column decoder 40 to 43, respectively. Next, for example, for 8-bit address inputs A0 to A, row addresses and column addresses appear in a time-division manner, and these row addresses and column addresses are separated by the address buffer 31. The row address from address buffer 31 is sent to row decoder 30, while the column address is sent to each column decoder 40-43 and each data register 10-13, respectively.

さらに、所謂RAS (行アドレスストローブ)信号及
びCAS (列アドレスストローブ)信号がクロックジ
ェネレータ32に供給され、クロックジェネレータ32
から発生されたーのクロックがリフレッシュアドレスカ
ウンタ33に送られ、そのカウント出力が上記アドレス
バッファ31に送られており、また所謂SAS (シリ
アルアドレスストローブ)信号が上記各データレジスタ
10〜13に送られている。また、ME/WE (メモ
リイネーブル/ライトイネーブル)信号がライトクロッ
クジェネレータ34及び転送コントロール回路35に送
られ、TR10B (転送イネーブル/出力イネーブル
)信号が上記各バッファ50〜53及び転送コントロー
ル回路35に送られ、■(シリアルポートイネーブル)
信号が転送コントロール回路35及び上記各バッファ2
0〜23に送られている。
Furthermore, so-called RAS (row address strobe) and CAS (column address strobe) signals are supplied to the clock generator 32 .
A clock generated from - is sent to the refresh address counter 33, and its count output is sent to the address buffer 31, and a so-called SAS (serial address strobe) signal is sent to each of the data registers 10 to 13. ing. Further, a ME/WE (memory enable/write enable) signal is sent to the write clock generator 34 and the transfer control circuit 35, and a TR10B (transfer enable/output enable) signal is sent to each of the buffers 50 to 53 and the transfer control circuit 35. ■ (serial port enable)
The signal is transferred to the transfer control circuit 35 and each of the buffers 2 mentioned above.
It is sent to 0-23.

このようなシリアルポート付きRAMに対して、上述し
たような本発明実施例の動作を行わせるための各種信号
のタイミング生成回路部及びタイムチャートの具体例を
、第4図及び第5図を参照しながら説明する。
Refer to FIGS. 4 and 5 for specific examples of timing generation circuits and time charts for various signals for causing such a RAM with a serial port to perform the operations of the embodiments of the present invention as described above. I will explain while doing so.

第4図において、タイミング生成回路部に供給される水
平パルスHPは画面の1ライン走査に対応して周期的に
出力されるものであり、同様に垂直パルスVPは1面(
1フイールド)の走査に対応している。カウンタ61に
は、クロック信号CLKがカウント入力として、また上
記水平パルスHPがクリアパルスとしてそれぞれ供給さ
れており、カウンタ61のカウント出力はタイミングパ
ターンROM62に送られている。リード/ライト制御
信号R/Wはフリップフロップ63に送られており、上
記垂直パルスVPをクロックとしてフリップフロップ6
3に供給することにより、■周期でメモリに対するリー
ド/ライトを切り換えるようにしている0行アドレスカ
ウンタ64は、上記水平パルスHPをクロックとし、上
記垂直パルスvPによりリセットされるものであり、二
〇カウンタ64より例えば8ビツトのアドレスA0〜A
7が行アドレスとして取り出される0次に、タイミング
パターンROM62からは、上記信号RAS、CAS、
TR10E、ME/WE、SE等がそれぞれ所定のタイ
ミングの下に出力されており、その−例を第5図に示す
。この第5図中の各時刻1++、Llffisulff
等は、クロック周期を単位として示されており、RAM
のアクセス速度、画面の1ラインの走査時間、時分割使
用されるRAMの個数等を考慮して、1クロック周期は
例えば数百ns(ナノ秒)程度となっている。
In FIG. 4, the horizontal pulse HP supplied to the timing generation circuit section is output periodically corresponding to one line scanning of the screen, and the vertical pulse VP is similarly outputted corresponding to one line scanning of the screen (
1 field). The counter 61 is supplied with the clock signal CLK as a count input and the horizontal pulse HP as a clear pulse, and the count output of the counter 61 is sent to the timing pattern ROM 62. The read/write control signal R/W is sent to the flip-flop 63, and the flip-flop 6 is clocked by the vertical pulse VP.
The 0-row address counter 64, which is configured to switch read/write to the memory at the cycle 3 by supplying the voltage to the clock 3, uses the horizontal pulse HP as a clock and is reset by the vertical pulse vP, and is reset by the vertical pulse vP. From the counter 64, for example, 8-bit addresses A0 to A
7 is taken out as the row address. Next, from the timing pattern ROM 62, the signals RAS, CAS,
TR10E, ME/WE, SE, etc. are output at predetermined timings, an example of which is shown in FIG. Each time 1++, Llffisulff in this FIG.
etc. are shown in units of clock periods, and RAM
Taking into account the access speed of , the scanning time of one line of the screen, the number of RAMs used in time division, etc., one clock period is, for example, about several hundred ns (nanoseconds).

第5図において、時刻tl+””t12、時刻LIz〜
t13及び時刻t+i〜t14は、それぞれ上記第2図
の時刻L2〜L3、時刻t4〜t、及び時刻t。
In FIG. 5, time tl+""t12, time LIz~
t13 and time t+i to t14 are time L2 to L3, time t4 to t, and time t in FIG. 2, respectively.

〜t6の各転送サイクルに対応している。すなわち、時
刻tl+””tl!においては、時刻し、よりも前の間
にシリアル入力等がなされた上記シリアルポート内のデ
ータを上記メモリセルアレイの所定の行に転送(所謂ラ
イト転送)しており、RAS信号の立ち下がりのタイミ
ングで行アドレスを取り込み、CAS信号の立ち下がり
のタイミングで列アドレスを取り込んでいる。上記水平
パルスHPは、このライト転送サイクルの終了近傍に生
ずるものとしており、このパルスHPによって上記行ア
ドレスカウンタ64がカウントアツプされて、次の行が
指示されるようになる0時刻t1□〜ム、。
This corresponds to each transfer cycle from t6 to t6. That is, time tl+””tl! In this case, the data in the serial port to which serial input was performed before the time is transferred to a predetermined row of the memory cell array (so-called write transfer), and the timing of the falling edge of the RAS signal is The row address is taken in at the timing of the fall of the CAS signal, and the column address is taken in at the falling edge of the CAS signal. The horizontal pulse HP is assumed to occur near the end of this write transfer cycle, and the row address counter 64 is counted up by this pulse HP, and the next row is designated from time t1□ to time t1. ,.

においては、上記メモリセルアレイの上記次の行のデー
タが上記シリアルポートに転送(リード転送)される。
In the above, the data of the next row of the memory cell array is transferred (read transfer) to the serial port.

ここで、RAS信号の立ち下がりのタイミングで取り込
まれる行アドレスは、上記水平パルスHPによる行アド
レスのカウントアツプにより、上記時刻tll〜t1.
のライト転送サイクルでの行アドレスの次の行の値とな
っている0次に、時刻t13からt14までの間におい
ては、実質的なデータ転送を伴わないライト転送(所謂
疑似ライト転送)を実行させて、シリアルポートを入力
モードに切り換えている。その後、時刻t14からSA
S (シリアルアドレスストローブ)信号の出力が開始
され、上記シリアルポートに対する上記次の行に関する
書き換え部分の画像データの入力(シリアル入力)が開
始される。
Here, the row address taken in at the timing of the falling edge of the RAS signal is determined by counting up the row address by the horizontal pulse HP, from time tll to t1.
Next, from time t13 to t14, a write transfer (so-called pseudo write transfer) that does not involve actual data transfer is executed. to switch the serial port to input mode. After that, from time t14, SA
Output of the S (serial address strobe) signal is started, and input (serial input) of image data of the rewritten portion regarding the next row to the serial port is started.

次に、上記シリアル入力が終了した後に、メモリセルア
レイの所定行(上記次の行)へデータ転送すれば、メモ
リセルアレイの上記所定行において、上記書き換え部分
に対応する部分以外には元の所定行データが再び書き込
まれ、実質的に上記書き換え部分に対応するメモリセル
アレイの一部のみが書き換えられることになる。従って
、シリアルポートを介してのデータ入力を行ってメモリ
セルアレイの一部のデータのみを書き換えても、残りの
部分のデータを保存できるため、所謂ピクチャーインピ
クチャーやマルチ画面等を容易に実現できる。
Next, after the above serial input is completed, if data is transferred to the predetermined row of the memory cell array (the next row above), in the predetermined row of the memory cell array, the part other than the part corresponding to the rewritten part is the original predetermined row. Data is written again, and only a portion of the memory cell array corresponding to the rewritten portion is rewritten. Therefore, even if only a part of the data in the memory cell array is rewritten by inputting data through the serial port, the remaining data can be saved, so that so-called picture-in-picture, multi-screen, etc. can be easily realized.

なお、本発明は、上記実施例のみに限定されるものでは
なく、例えば上記メモリセルアレイの容量等は任意に設
定でき、また、シリアルポート付きRAMの用途も画像
処理分野のフレームメモリ等に限定されず、計測やその
他一般のディジタル信号処理用メモリとして使用する場
合にも容易に適用できる。この他、本発明の要旨を逸脱
しない範囲において種々の変更が可能である。
Note that the present invention is not limited to the above-mentioned embodiments; for example, the capacity of the memory cell array can be set arbitrarily, and the application of the RAM with a serial port is also limited to frame memories in the image processing field. Moreover, it can be easily applied to use as a memory for measurement and other general digital signal processing. In addition, various modifications can be made without departing from the gist of the present invention.

H0発明の効果 本発明のメモリ制御方法によれば、シリアル入力された
データをメモリセルアレイの所定行に転送する場合のシ
リアル入力前に、メモリセルアレイの上記所定行のデー
タをシリアルポート内に予め書き込んでおくことにより
、シリアルポート内の一部を書き換えた場合でも残りの
部分には上記所定行のデータが元のまま保存されること
になり、シリアルポートを介してデータ入力を行う場合
にもメモリセルアレイの一部データのみを書き換えるこ
とができる。従って、例えば画像用メモリとして使用す
る場合には、所謂ピクチャーインピクチャーやマルチ画
面表示等の機能を容易に実現できる。
H0 Effects of the Invention According to the memory control method of the present invention, before serial input when serially input data is transferred to a predetermined row of the memory cell array, the data of the predetermined row of the memory cell array is written in advance into the serial port. By storing the data in the serial port, even if a part of the serial port is rewritten, the data in the above specified line will be saved in the remaining part as it was, and even when inputting data via the serial port, the memory Only part of the data in the cell array can be rewritten. Therefore, when used as an image memory, for example, functions such as so-called picture-in-picture and multi-screen display can be easily realized.

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

第1図A−Cは本発明に係るメモリ制御方法の一実施例
を説明するための模式図、第2図は概略動作説明のため
のタイムチャート、第3図はシリアルポート付きRAM
の概略構成を示すブロック図、第4図は第3図の各制御
信号のタイミングを生成するための構成を示すブロック
図、第5図は第4図に構成により生成される各制御II
信号のタイミンブチャート、第6図及び第7図は従来例
を説明するための模式図である。 MS・・・メモリセルアレイ SP・・・シリアルポート 10〜13・・・データレジスタ 20〜23.50〜53・・・バッファ30・・・行デ
コーダ 31・・・アドレスバッファ 40〜43・・・列デコーダ
1A to 1C are schematic diagrams for explaining one embodiment of the memory control method according to the present invention, FIG. 2 is a time chart for explaining the general operation, and FIG. 3 is a RAM with a serial port.
FIG. 4 is a block diagram showing the configuration for generating the timing of each control signal in FIG. 3. FIG. 5 is a block diagram showing the configuration for generating the timing of each control signal in FIG.
Signal timing charts, FIGS. 6 and 7, are schematic diagrams for explaining the conventional example. MS...Memory cell array SP...Serial ports 10-13...Data registers 20-23.50-53...Buffer 30...Row decoder 31...Address buffer 40-43...Column decoder

Claims (1)

【特許請求の範囲】  シリアルポート付きのRAMのシリアルポートを介し
てデータを入力し、メモリセルアレイ上の所定の行に該
入力データを転送するためのメモリ制御方法において、 上記シリアル入力データの入力に先立ち、上記メモリセ
ルアレイ上の上記所定行のデータを上記シリアルポート
に転送し、 次に上記所定行データが書き込まれたシリアルポートに
上記シリアル入力データを入力し、最後にこのシリアル
入力データに対応する部分のみが書き換えられたシリア
ルポートのデータを上記メモリセルアレイ上の上記所定
行に転送することを特徴とするメモリ制御方法。
[Scope of Claim] A memory control method for inputting data through a serial port of a RAM equipped with a serial port and transferring the input data to a predetermined row on a memory cell array, First, the data of the predetermined row on the memory cell array is transferred to the serial port, then the serial input data is input to the serial port to which the data of the predetermined row has been written, and finally the data corresponding to this serial input data is transferred. A memory control method characterized in that data of a serial port whose only part has been rewritten is transferred to the predetermined row on the memory cell array.
JP62063195A 1987-03-18 1987-03-18 Method for controlling memory Pending JPS63229685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62063195A JPS63229685A (en) 1987-03-18 1987-03-18 Method for controlling memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62063195A JPS63229685A (en) 1987-03-18 1987-03-18 Method for controlling memory

Publications (1)

Publication Number Publication Date
JPS63229685A true JPS63229685A (en) 1988-09-26

Family

ID=13222195

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62063195A Pending JPS63229685A (en) 1987-03-18 1987-03-18 Method for controlling memory

Country Status (1)

Country Link
JP (1) JPS63229685A (en)

Similar Documents

Publication Publication Date Title
US4644502A (en) Semiconductor memory device typically used as a video ram
US4541075A (en) Random access memory having a second input/output port
US4633441A (en) Dual port memory circuit
US4991110A (en) Graphics processor with staggered memory timing
US4412313A (en) Random access memory system having high-speed serial data paths
EP0208325A2 (en) Image memory
JPH0636311B2 (en) Dual port VRAM memory
US4870621A (en) Dual port memory device with improved serial access scheme
US4972376A (en) Self-refresh system for use in a field memory device operating without reliance upon external control
JPH01125795A (en) Virtual type static semiconductor memory device
US4811305A (en) Semiconductor memory having high-speed serial access scheme
JPH07287978A (en) Dynamic random access memory, method and system for accessing dynamic random access memory
JPS61288240A (en) Semiconductor storage device
US4837746A (en) Method and apparatus for resetting a video SRAM
JPS5823373A (en) Picture memory device
JPS5926031B2 (en) memory element
JPS63229685A (en) Method for controlling memory
JP3021810B2 (en) Multi-port memory
JPS63123142A (en) Semiconductor memory device
KR950009076B1 (en) Dual port memory and control method
JPS61289596A (en) Semiconductor memory device
JPH0361199B2 (en)
JP2605058B2 (en) Video processing system
KR100243177B1 (en) Apparatus and method for graphic data processing
JPS635758B2 (en)