JPH06110653A - Memory system and memory control method using the same - Google Patents

Memory system and memory control method using the same

Info

Publication number
JPH06110653A
JPH06110653A JP4280558A JP28055892A JPH06110653A JP H06110653 A JPH06110653 A JP H06110653A JP 4280558 A JP4280558 A JP 4280558A JP 28055892 A JP28055892 A JP 28055892A JP H06110653 A JPH06110653 A JP H06110653A
Authority
JP
Japan
Prior art keywords
memory
data
capacity
threshold value
fifo
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
JP4280558A
Other languages
Japanese (ja)
Inventor
Kouichi Yomiya
孝一 余宮
Masahiro Somezaki
雅裕 染崎
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.)
Tokyo Electron Ltd
Tokyo Electron Kyushu Ltd
Original Assignee
Tokyo Electron Ltd
Tokyo Electron Kyushu 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 Tokyo Electron Ltd, Tokyo Electron Kyushu Ltd filed Critical Tokyo Electron Ltd
Priority to JP4280558A priority Critical patent/JPH06110653A/en
Publication of JPH06110653A publication Critical patent/JPH06110653A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To provide the memory system which can precisely detect the capacity of data stored in a first-in first-out(FIFO) memory or the capacity of an free area. CONSTITUTION:The capacity of data stored in a FIFO memory 26 for reading/ writing data according to the FIFO operation can be calculated by subtracting the respective count values of input and output counters 46 and 48 by using a subtracter 49. A memory capacity judging device 28 to input the output of this subtracter 49 is provided with a comparator 50 and a register 52. A threshold value previously set by a CPU is stored in the register 52, current memory capacity data from the subtracter 49 are compared with the threshold value by the comparator 50 and this compared result is outputted to the CPU so that the CPU can recognize the memory capacity in the FIFO memory 26. The threshold value in the register 52 can be reloaded by the CPU, and the memory capacity can be more precisely judged by setting the threshold value to any desired value.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、先入れ先出し動作ある
いは先入れ後出し動作を行うメモリシステムおよびその
メモリ制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory system which performs a first-in first-out operation or a first-in first-out operation and a memory control method thereof.

【0002】[0002]

【従来の技術】先入れ先出し(ファーストイン・ファー
ストアウト、以下「FIFO」と称する)メモリは、デ
ータを入力順に出力するメモリであり、各種システム間
のデータの転送に用いられる。入出力するデータとして
は、画像データ,音声データ,制御データなどの各種デ
ータが考えられる。プロセッサ間のデータ転送や各種シ
ステム間のデータ通信など、動作速度の異なる非同期シ
ステム間のデータの受け渡しに汎用されている。
2. Description of the Related Art A first-in first-out memory (first-in first-out, hereinafter referred to as "FIFO") is a memory that outputs data in the order of input, and is used to transfer data between various systems. Various data such as image data, audio data, and control data can be considered as the data to be input / output. It is commonly used for data transfer between asynchronous systems with different operation speeds such as data transfer between processors and data communication between various systems.

【0003】例えば受信システム内にFIFOメモリを
用いた場合、送信システム側からの入力データが順次F
IFOメモリに蓄積されることになる。そして、この受
信システム内のCPUがあるタイミングで、FIFOメ
モリに対して読み出し指令を出し、FIFOメモリから
入力順にデータが読出されることになる。ここで、CP
UがFIFOメモリに対して読出し指令を行うタイミン
グとしては、FIFOメモリ内のデータ格納容量がある
値に達したとき、あるいはCPUにてあらかじめ設定さ
れた時間に到達した場合である。また、受信システム内
のCPUは、送信システム側に対して、FIFOメモリ
内の空きエリアが存在すればデータ転送を許可するXO
Nを、空きエリアが存在しなければデータ転送を不許可
とするXOFFを出力するようにしている。
For example, when a FIFO memory is used in the receiving system, the input data from the transmitting system side is sequentially F
It will be stored in the IFO memory. Then, at a certain timing of the CPU in this receiving system, a read command is issued to the FIFO memory, and the data is read from the FIFO memory in the order of input. Where CP
The timing at which the U issues a read command to the FIFO memory is when the data storage capacity in the FIFO memory reaches a certain value or when a time preset by the CPU is reached. Also, the CPU in the receiving system allows the transmitting system to XO that permits data transfer if there is a free area in the FIFO memory.
N is set to output XOFF which prohibits data transfer if there is no free area.

【0004】CPUはFIFOメモリの読み書き制御を
行う上で、FIFOメモリ内のデータ格納容量を知る必
要があり、従来はデータ格納容量がFULL,HAL
F,EMPTYの3つの状態のいずれかであるかを検出
していた。これら3種の状態のいずれかが検出された
ら、CPUに対して例えば割り込み信号が入力され、F
IFOメモリに対するデータの読み書きが制御されるこ
とになる。
The CPU needs to know the data storage capacity in the FIFO memory when performing read / write control of the FIFO memory. Conventionally, the data storage capacity is FULL or HAL.
Any one of the three states of F and EMPTY was detected. If any of these three states is detected, for example, an interrupt signal is input to the CPU, and F
Reading and writing of data with respect to the IFO memory will be controlled.

【0005】[0005]

【発明が解決しようとする課題】ところで、この種のメ
モリは各種の非同期システム間にて汎用的に用いられる
ことが必要である。この場合、FIFOメモリへの書込
み速度は送信側システムに依存し、読み出し速度はFI
FOメモリが配置される側のデータ処理に依存してい
る。このようにFIFOメモリの読み書き速度は、FI
FOメモリが用いられるシステムに依存しており、従来
のように固定のメモリ容量情報しか得られない場合に
は、読み書き速度の差を考慮した緻密なメモリ制御が不
可能である。
By the way, this type of memory needs to be used universally among various asynchronous systems. In this case, the writing speed to the FIFO memory depends on the transmitting system, and the reading speed is FI.
It depends on the data processing on the side where the FO memory is arranged. Thus, the read / write speed of the FIFO memory is FI
Depending on the system in which the FO memory is used, if only fixed memory capacity information can be obtained as in the conventional case, precise memory control in consideration of the difference in read / write speed is impossible.

【0006】また、従来はメモリ容量に関して上述した
3種の状態しか検出できないため、メモリの読み書き制
御上、個別的に関心となるある特定のメモリ容量に達し
ているか否かを検出することは不能であり、このことに
よっても緻密なメモリ制御が不可能であった。
Further, conventionally, since only the above-mentioned three kinds of states concerning the memory capacity can be detected, it is impossible to individually detect whether or not the particular memory capacity which is of interest is reached in the read / write control of the memory. Therefore, this also makes it impossible to perform precise memory control.

【0007】このように、従来装置ではメモリ容量に関
するデータ不足に起因して、CPUの関与を最少限に止
どめながらFIFOメモリ内のメモリエリアを有効に利
用するためのより緻密なデータ処理制御ができず、この
種の問題は、先入れ後出し(ファーストイン・ラストア
ウト、以下、「FILO」と称する)メモリの場合も同
様に生じていた。
As described above, in the conventional device, due to the lack of data relating to the memory capacity, more precise data processing control for effectively utilizing the memory area in the FIFO memory while minimizing the involvement of the CPU. However, this kind of problem also occurs in the case of the first-in / last-out (first-in-last-out, hereinafter referred to as "FILO") memory.

【0008】そこで、本発明の目的とするころは上述し
た従来の課題を解決し、先入れ先出し動作あるいは先入
れ後出し動作に従ってデータの読み書きを行うメモリの
データ格納容量あるいは空きエリアの残容量をシステム
の用途などに応じて認識でき、さらには個別的に関心と
なるメモリ容量との比較を可能とすることで、より緻密
なデータ読み書き制御が可能なメモリシステム及びそれ
を用いたメモリ制御方法を提供することにある。
In view of the above, the object of the present invention is to solve the above-mentioned conventional problems and to determine the data storage capacity of the memory or the remaining capacity of the empty area of the system for reading and writing data according to the first-in first-out operation or the first-in first-out operation. (EN) A memory system capable of recognizing according to the purpose of use and further enabling comparison with a memory capacity of interest individually, thereby providing a memory system capable of more precise data read / write control, and a memory control method using the same. Especially.

【0009】[0009]

【課題を解決するための手段】本発明に係るメモリシス
テムは、先入れ先出し動作あるいは先入れ後出し動作に
従ってデータの書込み及び読み出しを行うメモリと、前
記メモリ内のデータが格納された容量あるいは空きエリ
アの残容量をメモリ容量として検出するメモリ容量検出
手段と、前記メモリ容量と比較すべき任意のしきい値を
書き替え可能に格納する格納手段と、前記メモリ容量と
しきい値とを比較し、その比較結果を出力する比較手段
と、を有することを特徴とする。
A memory system according to the present invention comprises a memory for writing and reading data according to a first-in first-out operation or a first-in first-out operation, and a capacity or an empty area in which the data is stored in the memory. Memory capacity detection means for detecting the remaining capacity as memory capacity, storage means for rewritably storing an arbitrary threshold value to be compared with the memory capacity, and the memory capacity and the threshold value are compared, and the comparison is made. And a comparison means for outputting a result.

【0010】本発明に係るメモリ制御方法は、上記メモ
リシステムのメモリに対するデータの読み書きを制御す
る制御手段を有し、前記制御手段は、予め前記格納手段
に前記しきい値を格納しておき、その後の前記メモリに
対するデータの読み書きと並行して前記比較手段にて比
較を行い、前記比較手段より通知を受けることで前記メ
モリのデータ格納容量あるいは空きエリア容量を判定す
ることを特徴とする。
A memory control method according to the present invention has a control means for controlling the reading and writing of data from and to the memory of the memory system, and the control means stores the threshold value in the storage means in advance, In parallel with the subsequent reading and writing of data from and to the memory, the comparison means makes a comparison, and the data storage capacity or the free area capacity of the memory is determined by receiving a notification from the comparison means.

【0011】本発明に係る他のメモリ制御方法は、上記
メモリシステムのメモリに対するデータの読み書きを制
御する制御手段を有し、前記制御手段は、データの読み
書きが行われた前記メモリ容量を監視すべきタイミング
で、前記格納手段に関心となるメモリ容量に相当するし
きい値を格納し、その後の前記比較手段からの比較結果
に基づいて、前記メモリに対する読み書きが可能か否か
を判断することを特徴とする。
Another memory control method according to the present invention has control means for controlling the reading and writing of data from and to the memory of the memory system, and the control means monitors the memory capacity at which the reading and writing of data is performed. A threshold value corresponding to the memory capacity of interest is stored in the storage means at an appropriate timing, and it is determined whether or not the memory can be read and written based on the comparison result from the comparison means thereafter. Characterize.

【0012】[0012]

【作用】本発明に係るメモリシステムでは、FIFO動
作あるいはFILO動作に従ってデータの書込み及び読
み出しを行うメモリのメモリ容量検出手段より、データ
が格納された容量あるいは空きエリアの残容量がメモリ
容量として検出され出力される。一方、この検出された
メモリ容量と比較すべき任意のしきい値が格納手段され
ており、このメモリ容量としきい値とは比較手段にて比
較され、所望のしきい値と比較された結果から、従来の
固定のメモリ容量情報よりも、適用されるシステムに応
じた幅の広いメモリ容量の判定が可能となる。
In the memory system according to the present invention, the capacity in which data is stored or the remaining capacity of the empty area is detected as the memory capacity by the memory capacity detecting means of the memory that writes and reads data according to the FIFO operation or the FILO operation. Is output. On the other hand, an arbitrary threshold value to be compared with the detected memory capacity is stored, and the memory capacity and the threshold value are compared with each other by the comparison means, and the result is compared with the desired threshold value. Therefore, it is possible to determine a wider memory capacity according to the applied system than the conventional fixed memory capacity information.

【0013】このメモリシステムを用いたメモリ制御方
法では、制御手段が予め前記格納手段にしきい値を格納
しておき、その後メモリに対するデータの読み書きと並
行して比較手段にて比較を行う。制御手段は、比較手段
からの通知を受けるまでは他の処理に着手することも可
能となる。そして、比較手段からの通知を受けること
で、前記メモリのデータ格納容量あるいは空きエリア容
量をしきい値との関係で認識でき、メモリに対する処理
を決定できる。
In the memory control method using this memory system, the control means stores the threshold value in the storage means in advance, and thereafter, the comparison means performs the comparison in parallel with the reading and writing of data from and to the memory. The control means can also start another process until receiving the notification from the comparison means. Then, by receiving the notification from the comparison means, the data storage capacity or the free area capacity of the memory can be recognized in relation to the threshold value, and the processing for the memory can be determined.

【0014】本発明に係る他のメモリ制御方法よにれ
ば、制御手段はデータの読み書きが行われたメモリのメ
モリ容量を監視すべきタイミングで、格納手段に関心と
なるメモリ容量に相当するしきい値を格納する。そし
て、その直後の比較手段からの比較結果に基づいて、メ
モリをに対する読み書きが可能か否かを判断し、例えば
データ読み出しを開始するか、あるいはデータ転送先に
XON,XOFFを出力できる。
According to another memory control method of the present invention, the control means corresponds to the memory capacity of interest to the storage means at the timing at which the memory capacity of the memory where the data is read and written is to be monitored. Stores the threshold value. Then, based on the comparison result from the comparing means immediately after that, it is judged whether or not reading / writing from / to the memory is possible, and for example, data reading is started, or XON, XOFF can be output to the data transfer destination.

【0015】[0015]

【実施例】以下、本発明を適用した一実施例について、
図面を参照して具体的に説明する。
EXAMPLE An example to which the present invention is applied will be described below.
A specific description will be given with reference to the drawings.

【0016】本実施例装置は、図2に示すように、送信
システム10と受信システム20とからなり、受信シス
テム20内に、FIFOメモリに対するデータの読み書
きと並行して、そのFIFOメモリのメモリ容量(デー
タが格納された容量あるいは空きエリアの残容量)を認
識できるメモリシステムが設けられている。
As shown in FIG. 2, the apparatus of this embodiment comprises a transmission system 10 and a reception system 20, and in the reception system 20, the memory capacity of the FIFO memory is parallel to the reading and writing of data from and into the FIFO memory. A memory system capable of recognizing (a capacity in which data is stored or a remaining capacity in an empty area) is provided.

【0017】図2において、送信システム10は、デー
タ送信部12を介してデータを受信システム20側に送
信するものである。受信システム20には、このシステ
ム20の制御を司どるCPU22と、前記データ送信部
12からのデータを受信するデータ受信部24とが設け
られ、さらに、CPU22のバスラインには、FIFO
メモリ26,メモリ容量判定装置28,メモリ30,入
出力装置(I/O)32,データ送信部34が接続され
ている。
In FIG. 2, the transmission system 10 transmits data to the reception system 20 side via the data transmission unit 12. The receiving system 20 is provided with a CPU 22 that controls the system 20 and a data receiving unit 24 that receives data from the data transmitting unit 12. Further, a FIFO line is provided in a bus line of the CPU 22.
The memory 26, the memory capacity determination device 28, the memory 30, the input / output device (I / O) 32, and the data transmission unit 34 are connected.

【0018】FIFOメモリ26は、FIFO専用メモ
リで構成するか、あるいは、SRAMまたはDRAMと
FIFOコントローラとの組み合わせで構成することが
できる。FIFOメモリ26をソフトウェアで構成して
も良い。いずれの場合も、FIFOメモリ26は、デー
タ受信部24からのデータを書込み信号に従ってメモリ
領域に書込む。また、CPU22からの読み出し指令に
基づき、FIFOメモリ26内のデータは、読み出し信
号に従って入力順に読出し可能である。なお、FIFO
メモリ26の詳細については後述する。
The FIFO memory 26 can be constituted by a FIFO dedicated memory or a combination of SRAM or DRAM and a FIFO controller. The FIFO memory 26 may be configured by software. In any case, the FIFO memory 26 writes the data from the data receiving unit 24 in the memory area according to the write signal. Further, based on the read command from the CPU 22, the data in the FIFO memory 26 can be read in the input order according to the read signal. In addition, FIFO
Details of the memory 26 will be described later.

【0019】メモリ容量判定装置28は、FIFOメモ
リ26から出力される現在のメモリ容量を入力し、CP
U22によって予め設定されたしきい値と比較してメモ
リ容量の判定を行うものである。メモリ容量判定装置2
8での比較結果をCPU22に割り込み信号として出力
できる。このメモリ容量判定装置28の詳細についても
後述する。
The memory capacity determination device 28 inputs the current memory capacity output from the FIFO memory 26,
The memory capacity is determined by comparing with a threshold value preset by U22. Memory capacity determination device 2
The comparison result in 8 can be output to the CPU 22 as an interrupt signal. The details of the memory capacity determination device 28 will also be described later.

【0020】メモリ30は、例えばCPU22の動作プ
ログラムを記憶した記憶エリアと、CPU22の各種処
理を実行するためのワーキングエリアを有している。入
出力装置32は、例えばプリンタなどであり、FIFO
メモリ26からの読出しデータを出力可能である。
The memory 30 has, for example, a storage area in which an operation program of the CPU 22 is stored and a working area for executing various processes of the CPU 22. The input / output device 32 is, for example, a printer, and has a FIFO.
The read data from the memory 26 can be output.

【0021】データ送信部34は、CPU22から出力
されるコードデータ等を、送信システム10側に送信す
るものである。このコードデータとしては、「データの
送信を禁止する」を意味するXOFFと、「データの送
信を許可する」を意味するXONとがある。CPU22
は、メモリ容量判定装置28からの判定結果に基づき、
上記XOFFおよびXONを出力している。
The data transmission section 34 transmits the code data and the like output from the CPU 22 to the transmission system 10 side. The code data includes XOFF which means “prohibit data transmission” and XON which means “permit data transmission”. CPU22
Is based on the determination result from the memory capacity determination device 28,
The above XOFF and XON are output.

【0022】次に、FIFOメモリ26と、メモリ容量
判定装置28との詳細について、図1を参照して説明す
る。FIFOメモリ26は、本実施例では、デュアルポ
ートRAM40と、FIFOコントロール部とから構成
されている。このFIFOコントロール部としては、R
AM42に対するデータの読出しおよび書込みを制御す
る入力制御ロジック42及び出力制御ロジック44を有
する。また、FIFOコントロール部内には入力カウン
タ46,出力カウンタ48および減算器49が設けら
れ、これらでメモリ容量検出手段を構成している。入力
制御ロジック42は、FIFOメモリ26内のメモリ容
量がFULLに達した時と、CPU22からのリセット
信号が入力された時に書込みが禁止される。出力制御ロ
ジック44は、FIFOメモリ26内のメモリ容量がE
MPTYに達した時と、リセット信号が入力された時に
データ読出しが禁止される。
Next, details of the FIFO memory 26 and the memory capacity determination device 28 will be described with reference to FIG. The FIFO memory 26 is composed of a dual port RAM 40 and a FIFO control section in this embodiment. As this FIFO control unit, R
It has an input control logic 42 and an output control logic 44 that control the reading and writing of data to and from the AM 42. Further, an input counter 46, an output counter 48 and a subtractor 49 are provided in the FIFO control section, and these constitute memory capacity detecting means. The input control logic 42 is prohibited from writing when the memory capacity in the FIFO memory 26 reaches FULL and when a reset signal from the CPU 22 is input. The output control logic 44 has a memory capacity of E in the FIFO memory 26.
Data reading is prohibited when MPTY is reached and when a reset signal is input.

【0023】減算器49は、入力カウンタ46及び出力
カウンタ58の出力を入力することで、(入力カウント
値−出力カウント値)の減算を行い、FIFOメモリ2
6内の現在のデータ格納容量を演算している。ここで、
本実施例ではFIFOメモリ26の全メモリ容量を1K
バイトとし、アドレスに10ビットが割り当てられるも
のとする。そして、入力カウンタ46および出力カウン
タ48は、例えば10ビットのバイナリカウンタにて構
成され、CPU22からのリセット信号によりオール
“0”にリセットされる。10ビットの入力,出力カウ
ント値を入力する減算器49の出力も10ビットであ
り、符号および11ビット目の値は出力されない。
The subtractor 49 subtracts (input count value-output count value) by inputting the outputs of the input counter 46 and the output counter 58, and the FIFO memory 2
The current data storage capacity in 6 is calculated. here,
In this embodiment, the total memory capacity of the FIFO memory 26 is 1K.
It shall be a byte, and 10 bits shall be assigned to the address. The input counter 46 and the output counter 48 are configured by, for example, 10-bit binary counters and are reset to all "0" by a reset signal from the CPU 22. The output of the subtracter 49 which inputs the 10-bit input and output count value is also 10 bits, and the sign and the value of the 11th bit are not output.

【0024】メモリ判定装置28は、比較手段である比
較器50と格納手段であるレジスタ52とを有する。比
較器50の一方の入力端には減算器49の出力が入力さ
れ、他方の入力端にはレジスタ52の出力が入力され
る。レジスタ52に格納されるデータは、メモリ容量と
比較するためにCPU22にて設定された10ビットの
任意のしきい値である。本実施例では、レジスタ52内
のしきい値をCPU22によって書換え可能である。比
較器50は、減算器49の出力とレジスタ52内とのし
きい値の比較演算として、例えば両者が一致するかある
いは両者の大小関係を判定しており、比較器50の出力
はCPU22への割り込み信号として用いることもでき
る。
The memory judging device 28 has a comparator 50 as a comparing means and a register 52 as a storing means. The output of the subtractor 49 is input to one input end of the comparator 50, and the output of the register 52 is input to the other input end. The data stored in the register 52 is an arbitrary threshold value of 10 bits set by the CPU 22 for comparison with the memory capacity. In this embodiment, the threshold value in the register 52 can be rewritten by the CPU 22. The comparator 50 determines, for example, whether or not the outputs of the subtractor 49 and the register 52 are the same as each other as a threshold value comparison operation. The output of the comparator 50 is sent to the CPU 22. It can also be used as an interrupt signal.

【0025】次に、メモリ容量判定装置28の具体的な
動作内容と、その出力に基づくCPU22の動作内容に
ついて図3以降を参照して説明する。
Next, specific operation contents of the memory capacity determination device 28 and operation contents of the CPU 22 based on the output will be described with reference to FIG.

【0026】図3は、レジスタ52に書き込まれるしき
い値の各種設定態様について示している。同図(A)の
場合には、FIFOメモリ26内のデータがほぼEMP
TYになったことをCPUが認識するための下限のしき
い値(例えば格納データ容量が3バイト)と、FIFO
メモリ26内のデータがほぼFULLになったことをC
PU22が認識するための上限のしきい値(例えば格納
データ容量が1021バイト)と、その中間のしきい値
Mを設定可能としている。同図(A)に示す上限のおよ
び下限のしきい値は固定としてもよく、この点について
は従来装置と同様になるが、本実施例の特徴的なこと
は、その中間のしきい値Mを任意に設定可能したことで
ある。この中間しきい値Mは、送信システム10,受信
システム20のデータ処理を考慮して決定できる。例え
ば、CPU22が書込み速度と読出し速度との大小関係
に基づいて任意に設定できる。
FIG. 3 shows various setting modes of the threshold value written in the register 52. In the case of FIG. 9A, the data in the FIFO memory 26 is almost EMP.
The lower limit threshold (for example, the storage data capacity is 3 bytes) for the CPU to recognize that it has become TY, and the FIFO
C that the data in the memory 26 has become almost FULL
It is possible to set an upper limit threshold (for example, the storage data capacity is 1021 bytes) for the PU 22 to recognize, and an intermediate threshold M. The upper and lower thresholds shown in FIG. 9A may be fixed, and this point is the same as that of the conventional apparatus, but the characteristic of this embodiment is that the intermediate threshold value M Is that it can be set arbitrarily. The intermediate threshold value M can be determined in consideration of the data processing of the transmission system 10 and the reception system 20. For example, the CPU 22 can arbitrarily set based on the magnitude relationship between the writing speed and the reading speed.

【0027】図3(A)の動作を実現するためのメモリ
容量判定装置28の構成は、図4に示す通りとなる。こ
の場合には、3種類のしきい値が必要となるため、第1
〜第3の比較器50a〜50cと、これに対応する第1
〜第3のレジスタ52a〜52cを設けている。減算器
49からの現容量データをAとし、各レジスタ52a〜
52cに格納されるしきい値をBとした場合には、比較
器50a〜50cはA=Bの比較を行う比較器として構
成できる。この場合の比較器50a〜50cの構成を図
5に示している。
The configuration of the memory capacity determination device 28 for realizing the operation of FIG. 3A is as shown in FIG. In this case, since three types of threshold values are required, the first
-Third comparators 50a-50c and corresponding first
~ Third registers 52a to 52c are provided. The current capacity data from the subtractor 49 is set to A, and each register 52a ...
When the threshold value stored in 52c is B, the comparators 50a to 50c can be configured as comparators that perform A = B comparison. The structure of the comparators 50a to 50c in this case is shown in FIG.

【0028】同図において、現容量データAおよびしき
い値Bは共に例えば10ビットデータであり、現容量デ
ータAは加算器60の一方の入力端子に、しきい値Bは
インバータ62を介して加算器60の他方の入力端子に
入力される。この加算器60およびインバータ62によ
って、(A−B)の減算を実現している。すなわち、加
算器60は、しきい値Bの各ビットを反転した信号と現
容量データAとを加算し、かつ、加算器60の有する桁
上げ機能により、最下位ビット(LSB)に“1”を加
算することで、しきい値Bの補数と現容量データAとを
加算して、(A−B)の減算を実現するものである。こ
の加算器60の出力としては、最下位ビット(LSB)
となるD0 出力から、最上位ビット(MSB)となるD
9 までの10 ビットの出力が得られ、この各ビット出力
D0 〜D9 はオア論理ゲート64に入力し、そのオア論
理結果はインバータ66を介してCPU22に入力され
るようになっている。
In the figure, both the current capacity data A and the threshold value B are, for example, 10-bit data, the current capacity data A is input to one input terminal of the adder 60, and the threshold value B is passed through the inverter 62. It is input to the other input terminal of the adder 60. The adder 60 and the inverter 62 realize the subtraction of (AB). That is, the adder 60 adds the signal obtained by inverting each bit of the threshold value B and the current capacity data A, and the carry function of the adder 60 adds "1" to the least significant bit (LSB). Is added, the complement of the threshold value B and the current capacity data A are added, and the subtraction of (AB) is realized. The output of the adder 60 is the least significant bit (LSB)
From the D0 output that becomes, the D that becomes the most significant bit (MSB)
Outputs of 10 bits up to 9 are obtained. The respective bit outputs D0 to D9 are input to the OR logic gate 64, and the OR logic result is input to the CPU 22 via the inverter 66.

【0029】現容量データAとしきい値Bとが一致した
場合には、加算器40の各ビット出力は全て“0”とな
るため、オア論理ゲート46の出力が“0”となり、そ
の信号がインバータ46にて反転されて“1”となり、
これによりCPU22に割り込みがかけられることにな
る。一方、現容量データAとしきい値Bとが不一致の場
合は、加算器60の各ビット出力D0 〜D9 のいずれか
1つが必ず“1”となるため、オア論理ゲート64の出
力も“1”となり、インバータ66の出力が“0”とな
ってCPU22に割り込みがかからない。
When the current capacity data A and the threshold value B match, all the bit outputs of the adder 40 become "0", so the output of the OR logic gate 46 becomes "0", and the signal is It is inverted by the inverter 46 and becomes "1",
As a result, the CPU 22 is interrupted. On the other hand, when the current capacity data A and the threshold value B do not match, any one of the bit outputs D0 to D9 of the adder 60 is always "1", so the output of the OR logic gate 64 is also "1". Therefore, the output of the inverter 66 becomes "0" and the CPU 22 is not interrupted.

【0030】図3(A)に示す動作の場合には、FIF
Oメモリ26に対するデータ読み書きが行われる前に、
CPU22が各レジスタ52a〜52cにしきい値を設
定した後、FIFOメモリ26に対する動作以外の動作
に着手し、その後のFIFOメモリ26に対するデータ
読み書きと並行して比較器50a〜50cにて比較を行
い、比較器50a〜50cからの信号を割り込み信号と
して入力する場合に有効である。特に、従来はメモリ容
量が全メモリ容量の二分の一になった際にCPU22に
割り込みがかけられ、CPU22はFIFOメモリ26
からの読出し処理に着手しなければならなかったが、図
3(A)の中間のしきい値Mを例えばそれよりも高い値
に設定しておくことで、CPU22の稼動効率を向上さ
せ、システム全体の処理効率の向上を図ることができ
る。
In the case of the operation shown in FIG.
Before data is read from or written to the O memory 26,
After the CPU 22 sets the threshold values in the registers 52a to 52c, the operation other than the operation to the FIFO memory 26 is started, and the comparison is performed by the comparators 50a to 50c in parallel with the subsequent data reading and writing to the FIFO memory 26, This is effective when the signals from the comparators 50a to 50c are input as interrupt signals. In particular, conventionally, when the memory capacity becomes half of the total memory capacity, the CPU 22 is interrupted and the CPU 22 causes the FIFO memory 26 to
It was necessary to start the reading process from the CPU, but by setting the intermediate threshold value M in FIG. 3A to a value higher than that, for example, the operating efficiency of the CPU 22 is improved, The overall processing efficiency can be improved.

【0031】次に、CPU22が、データの読み書きが
行われた(読み書き中を含む)FIFOメモリ26のメ
モリ容量を監視したい任意の時に、レジスタ52に関心
となるメモリ容量に相当するしきい値を格納しておき、
比較器50からの比較結果を待ってFIFOメモリ26
に対するデータ処理、例えばデータ読み出し指令をする
か否かの決定、あるいはXONまたはXOFFのデータ
コード出力をするか否かの決定を行う場合の好適な実施
例について、図3(B)〜(E)および図6以降を参照
して説明する。
Next, when the CPU 22 wants to monitor the memory capacity of the FIFO memory 26 in which data is read / written (including during reading / writing), the threshold value corresponding to the memory capacity of interest in the register 52 is set at any time. Store it,
Waiting for the comparison result from the comparator 50, the FIFO memory 26
3 (B) to 3 (E), regarding a preferred embodiment in the case of performing data processing for, for example, deciding whether to issue a data read command or deciding whether to output an XON or XOFF data code. And it demonstrates with reference to FIG. 6 and subsequent figures.

【0032】図3(B)の場合は、関心となるメモリ容
量に相当するしきい値が、比較的メモリ容量の少ない値
Lの場合であり、同図(C)の場合は、そのしきい値が
比較的メモリ容量の大きい値Hの場合である。
In the case of FIG. 3B, the threshold value corresponding to the memory capacity of interest is a value L having a relatively small memory capacity, and in the case of FIG. 3C, the threshold value is set. This is the case where the value is the value H, which has a relatively large memory capacity.

【0033】図3(B)に示す場合は、例えば送信シス
テム10側から転送される予定のデータ量が比較的多い
場合であり、その要求があった際に、CPU22は比較
的少ないメモリ容量Lをレジスタ52に個別的に設定し
て、メモリ容量がしきい値Lよりも大きいか否かを即座
に判定したい時に有効である。図3(C)の場合は、メ
モリエリアを有効に使いながら、かつ、メモリ容量がF
ULLに達しない状態になって初めて、FIFOメモリ
26からのデータ読み出しを行いたい場合である。同図
(B),(C)のいずれの場合も、比較器50は減算器
49からの現容量データが、しきい値LまたはHよりも
大きいか小さいかのいずれか一方の状態を検出しなけれ
ばならない。図6および図7は、図3(B),(C)の
場合の比較器50の構成例を示している。
In the case shown in FIG. 3B, for example, the amount of data to be transferred from the transmission system 10 side is relatively large, and when there is a request, the CPU 22 has a relatively small memory capacity L. Is individually set in the register 52, and it is effective when it is desired to immediately determine whether or not the memory capacity is larger than the threshold value L. In the case of FIG. 3C, the memory area is effectively used and the memory capacity is F.
This is a case where it is desired to read data from the FIFO memory 26 only after the state where the data does not reach the ULL. In either case of (B) and (C) in the figure, the comparator 50 detects whether the current capacity data from the subtractor 49 is larger or smaller than the threshold L or H. There must be. FIGS. 6 and 7 show a configuration example of the comparator 50 in the case of FIGS. 3B and 3C.

【0034】図6は、比較器50がA>Bの判定をする
場合の構成例を示している。この場合には、図5に示す
加算器60の出力を11ビットとし、その最下位ビット
に“1”を加算しないように構成している。しきい値B
をインバータ42にて反転させたデータと入力データA
とを加算すると、A>Bの場合に加算器40の最上位ビ
ットD10が必ず“1”となる。従って、この最上位ビッ
トの出力D10自体をCPU22への信号として利用でき
る。なお、一般に加算器を用いて減算を実現する場合は
補数を求めて最下位ビットを桁上げしているが、桁上げ
をしないで最上位ビットの出力D10によってA>Bの判
定が可能となり、回路が簡略化できる。
FIG. 6 shows an example of the configuration when the comparator 50 makes the determination of A> B. In this case, the output of the adder 60 shown in FIG. 5 is 11 bits, and "1" is not added to the least significant bit. Threshold B
Data inverted by the inverter 42 and the input data A
When A and B are added, the most significant bit D10 of the adder 40 is always "1" when A> B. Therefore, the output D10 of the most significant bit itself can be used as a signal to the CPU 22. In general, when the subtraction is realized by using the adder, the complement is calculated and the least significant bit is carried. However, the output D10 of the most significant bit can determine A> B without carrying the carry. The circuit can be simplified.

【0035】図7は、比較器50がA<Bの場合を判定
する構成例を示している。この場合には、図5に示す加
算器60およびインバータ62を用い、加算器60の出
力を11ビットとしてその最上位ビットの出力D10をイ
ンバータ70で反転させてCPU22へ入力させれば良
い。すなわち、A<Bの場合とは、A−Bの減算結果が
マイナスの場合であり、この場合には加算器60の最上
位ビットD10の出力が必ず“0”となる。従って、この
最上位ビットD10の出力を反転させてCPU22への信
号として利用すれば良い。
FIG. 7 shows a configuration example in which the comparator 50 determines the case of A <B. In this case, the adder 60 and the inverter 62 shown in FIG. 5 may be used, the output of the adder 60 may be 11 bits, and the output D10 of the most significant bit may be inverted by the inverter 70 and input to the CPU 22. That is, the case of A <B means that the subtraction result of AB is negative, and in this case, the output of the most significant bit D10 of the adder 60 is always "0". Therefore, the output of the most significant bit D10 may be inverted and used as a signal to the CPU 22.

【0036】比較器50を図6または図7のいずれかタ
イプにて構成した場合にも、CPU22はレジスタ52
に関心となるメモリ容量に相当するしきい値を設定した
後、比較器50からの出力を待機している。そして、C
PU22が比較器50からの比較結果を入力した後、直
ちに、FIFOメモリ26に対するデータ処理、例えば
読み出し指令、XONまたはXOFFの出力をするか否
かを決定を行うことができる。
Even when the comparator 50 is constructed by either the type shown in FIG. 6 or the type shown in FIG.
After setting the threshold value corresponding to the memory capacity of interest, the output from the comparator 50 is awaited. And C
Immediately after the PU 22 inputs the comparison result from the comparator 50, it is possible to immediately determine whether or not to perform data processing on the FIFO memory 26, for example, a read command, XON or XOFF output.

【0037】図3(D)は、関心となるメモリ容量が上
限側のしきい値Hと下限側のしきい値Lとの間にあるか
否かを判別する例を示している。上限および下限のしき
い値H,Lの値を所望に設定することで、関心となるメ
モリ容量の範囲を狭くすることも広くすることも可能で
あるが、CPU22はこの関心範囲に現在のメモリ容量
が入っている場合に、FIFOメモリ26に対するデー
タの書込みまたはデータの読出しを行うように制御でき
る。
FIG. 3D shows an example of determining whether the memory capacity of interest is between the upper limit threshold value H and the lower limit threshold value L. The range of the memory capacity of interest can be narrowed or widened by setting the upper and lower threshold values H and L to desired values. When the capacity is included, it is possible to control to write data to or read data from the FIFO memory 26.

【0038】この場合のメモリ容量判定装置28は、図
8に示す通りである。すなわち、2つの比較器50a,
50bが設けられ、それぞれに対応して上限のしきい値
Hを格納する第1のレジスタ52aと、下限のしきい値
Lを格納する第2のレジスタ52bが設けられている。
さらに、2つの比較器50a,50bの出力を2入力す
るアンド論理ゲート80が設けられ、このゲート80の
出力がCPU22に入力される。減算器49より出力さ
れる現容量データをAとした場合、比較器50aはA<
Hの判定を行うことになり、比較器50bはA>Lを判
定することになる。従って、比較器50aは図7に示す
構成を有し、一方、比較器50bは図6に示す構成を有
する。
The memory capacity determination device 28 in this case is as shown in FIG. That is, the two comparators 50a,
50b is provided, and a first register 52a for storing the upper limit threshold value H and a second register 52b for storing the lower limit threshold value L are provided correspondingly.
Further, an AND logic gate 80 for inputting two outputs of the two comparators 50a and 50b is provided, and an output of this gate 80 is inputted to the CPU 22. When the current capacity data output from the subtractor 49 is A, the comparator 50a outputs A <
The judgment of H is made, and the comparator 50b judges A> L. Therefore, the comparator 50a has the configuration shown in FIG. 7, while the comparator 50b has the configuration shown in FIG.

【0039】このように構成すれば、一方の比較器50
aではA<Hの場合にのみ“1”が出力され、他方の比
較器50bではA>Lの場合にのみ“1”が出力され
る。従って、各比較器50a,50bの出力を2入力す
るアンド論理ゲート80は、両比較器50a,50bの
出力が共に“1”の場合、すなわちL<A<Hの場合に
のみ成立する。CPU22は、アンド論理ゲート80の
出力が“1”の場合に、図3(D)に示す関心範囲内に
データ容量が存在することを認識でき、それに基づいて
FIFOメモリ26に対するデータ処理の決定を行うこ
とができる。
With this configuration, one comparator 50
In a, "1" is output only when A <H, and in the other comparator 50b, "1" is output only when A> L. Therefore, the AND logic gate 80 which inputs the outputs of the comparators 50a and 50b into two is established only when the outputs of the comparators 50a and 50b are both "1", that is, when L <A <H. When the output of the AND logic gate 80 is "1", the CPU 22 can recognize that the data capacity exists within the range of interest shown in FIG. It can be carried out.

【0040】なお、図7において、第1のレジスタ50
aにしきい値Lを、第2のレジスタ50bにしきい値H
を格納し、アンド論理ゲート80に代えてオア論理ゲー
トを接続すれば、図3(D)の関心範囲の外側、すなわ
ちA<L、又はA>Hを判定することができる。
In FIG. 7, the first register 50
the threshold L to a and the threshold H to the second register 50b.
Is stored and an OR logic gate is connected instead of the AND logic gate 80, it is possible to determine outside the range of interest in FIG. 3D, that is, A <L or A> H.

【0041】図3(E)は、FIFOメモリ26の空き
エリアのデータ容量が関心となるメモリ容量に相当する
しきい値Sよりも大きいか否かを判定する場合を示して
いる。この場合には、比較器50に入力される一方のデ
ータを、減算器49の出力である現メモリ容量データで
なく、FIFOメモリ26の全メモリ容量から現メモリ
容量を減じた値としなければならない。そこで、図3
(E)に示す動作を実現するために、図9に示すような
減算器90およびレジスタ92を追加している。レジス
タ92にはFIFOメモリ26の全メモリエリアのトー
タル容量が10ビットのデータとして記憶される。そし
て、減算器90は、減算器49からの現メモリ容量デー
タと、レジスタ92からの全容量データとを減算し、そ
の出力を比較器50の一方の入力端子に出力している。
FIG. 3E shows a case where it is judged whether or not the data capacity of the empty area of the FIFO memory 26 is larger than the threshold value S corresponding to the memory capacity of interest. In this case, one of the data input to the comparator 50 must be a value obtained by subtracting the current memory capacity from the total memory capacity of the FIFO memory 26, not the current memory capacity data output from the subtractor 49. . Therefore, FIG.
In order to realize the operation shown in (E), a subtractor 90 and a register 92 as shown in FIG. 9 are added. The register 92 stores the total capacity of all memory areas of the FIFO memory 26 as 10-bit data. Then, the subtractor 90 subtracts the current memory capacity data from the subtractor 49 and the total capacity data from the register 92, and outputs the output to one input terminal of the comparator 50.

【0042】図3(E)に示す実施例においては、送信
システム10から転送されてくるデータ量がCPU22
にてあらかじめわかっている場合には、レジスタ52に
格納されるしきい値としてそのデータ量に相当する10
ビットのデータを格納しておき、このデータと空きエリ
アのメモリ容量とを比較器50にて比較することで、X
ONを送信システム10側に送信できるか否かの決定を
即座に行うことができる。
In the embodiment shown in FIG. 3E, the amount of data transferred from the transmission system 10 is the CPU 22.
If it is known in advance, the threshold value stored in the register 52 corresponds to the amount of data 10
By storing the bit data and comparing the data with the memory capacity of the empty area by the comparator 50, X
It is possible to immediately determine whether ON can be transmitted to the transmission system 10 side.

【0043】なお、本発明ではメモリ容量判定装置28
をFIFOメモリに26に付加することで緻密なメモリ
容量の判定を可能としているが、配線を少なくして回路
基板への実装を容易とするために、メモリ容量判定装置
28及びFIFOメモリ26とを1チップで作製する
か、あるいはFIFOメモリ26のうちのFIFOコン
トロール部のみとメモリ容量判定装置28とを1チップ
化すると好ましい。また、比較器50にてメモリ容量の
1バイト単位の細かい比較が不要な場合には、レジスタ
50の下位数ビットを“0”固定しておけば良い。
In the present invention, the memory capacity determination device 28
Although the memory capacity determination device 28 and the FIFO memory 26 are combined with each other in order to facilitate the mounting on the circuit board by reducing the wiring, it is possible to precisely determine the memory capacity by adding to the FIFO memory 26. It is preferable to fabricate them in one chip, or to combine only the FIFO control section of the FIFO memory 26 and the memory capacity determination device 28 into one chip. If the comparator 50 does not require minute comparison of the memory capacity in units of 1 byte, the lower several bits of the register 50 may be fixed to "0".

【0044】また、本発明は上記実施例に限定されるも
のではなく、本発明の要旨の範囲内で種々の変形実施が
可能である。上記実施例では、メモリ容量判定装置28
と組み合わされるメモリをFIFOメモリ26とした
が、これに限らず、読み出し順序が定められた先入れ後
出し(FILO)メモリにも適用することが可能であ
る。
The present invention is not limited to the above-mentioned embodiments, but various modifications can be made within the scope of the gist of the present invention. In the above embodiment, the memory capacity determination device 28
Although the memory combined with is the FIFO memory 26, the present invention is not limited to this and can be applied to a first-in first-out (FILO) memory in which the reading order is determined.

【0045】[0045]

【発明の効果】以上説明したように本発明によれば、先
入れ先出し動作あるいは先入れ後出し動作を行うメモリ
のデータが格納された容量あるいは空きエリアの残容量
を緻密に判定することができる。従って、このメモリの
制御を司どる制御手段の割り込みを少なくすることでシ
ステムの稼動効率を向上させることができ、かつ、メモ
リエリアの有効活用を実現することができる。
As described above, according to the present invention, it is possible to precisely determine the capacity in which the data of the memory for performing the first-in first-out operation or the first-in first-out operation or the remaining capacity of the empty area is stored. Therefore, the operating efficiency of the system can be improved and the effective use of the memory area can be realized by reducing the interruption of the control means that controls the memory.

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

【図1】本発明を適用した実施例装置の要部を示すブロ
ック図である。
FIG. 1 is a block diagram showing a main part of an embodiment apparatus to which the present invention is applied.

【図2】実施例装置の全体構成を示すブロック図であ
る。
FIG. 2 is a block diagram showing an overall configuration of a device according to an embodiment.

【図3】(A)〜(E)は、それぞれ図2に示すレジス
タに格納されるしきい値の設定を説明するための概略説
明図である。
3A to 3E are schematic explanatory diagrams for explaining setting of threshold values stored in the register shown in FIG.

【図4】図3(A)に示すしきい値を設定してメモリ容
量の判定を行うメモリ容量判定装置の構成図である。
FIG. 4 is a configuration diagram of a memory capacity determination device that determines a memory capacity by setting a threshold value shown in FIG.

【図5】FIFOメモリからのメモリ容量データとしき
い値とが一致するか否かを判定するメモリ容量判定装置
の構成例を示すブロック図である。
FIG. 5 is a block diagram showing a configuration example of a memory capacity determination device that determines whether or not the memory capacity data from the FIFO memory and a threshold value match.

【図6】FIFOメモリから出力されるメモリ容量デー
タがしきい値よりも大きいことを判定するメモリ容量判
定装置の構成例を示すブロック図である。
FIG. 6 is a block diagram showing a configuration example of a memory capacity determination device that determines that the memory capacity data output from the FIFO memory is larger than a threshold value.

【図7】FIFOメモリから出力されるメモリ容量デー
タがしきい値よりも小さいことを判定するメモリ容量判
定装置の構成例を示すブロック図である。
FIG. 7 is a block diagram showing a configuration example of a memory capacity determination device that determines that the memory capacity data output from the FIFO memory is smaller than a threshold value.

【図8】FIFOメモリより出力されるメモリ容量デー
タが上限および下限のしきい値の間にあることを判定す
るメモリ容量判定装置の構成例を示すブロック図であ
る。
FIG. 8 is a block diagram showing a configuration example of a memory capacity determination device that determines that the memory capacity data output from the FIFO memory is between an upper limit threshold and a lower limit threshold.

【図9】FIFOメモリの空きエリアのメモリ容量がし
きい値よりも大きいか否かを判定するメモリ容量判定装
置の構成例を示すブロック図である。
FIG. 9 is a block diagram showing a configuration example of a memory capacity determination device that determines whether or not the memory capacity of an empty area of the FIFO memory is larger than a threshold value.

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

10 送信システム 20 受信システム 22 CPU 26 FIFOメモリ 28 メモリ容量判定装置 34 データ送信部 40 デュアルポートRAM 46 入力カウンタ 48 出力カウンタ 49 減算器 50 比較器 52 レジスタ 10 transmission system 20 reception system 22 CPU 26 FIFO memory 28 memory capacity determination device 34 data transmission unit 40 dual port RAM 46 input counter 48 output counter 49 subtractor 50 comparator 52 register

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 先入れ先出し動作あるいは先入れ後出し
動作に従ってデータの書込み及び読み出しを行うメモリ
と、 前記メモリ内のデータが格納された容量あるいは空きエ
リアの残容量をメモリ容量として検出するメモリ容量検
出手段と、 前記メモリ容量と比較すべき任意のしきい値を書き替え
可能に格納する格納手段と、 前記メモリ容量としきい値とを比較し、その比較結果を
出力する比較手段と、を有することを特徴とするメモリ
システム。
1. A memory for writing and reading data according to a first-in first-out operation or a first-in first-out operation, and a memory capacity detecting means for detecting a capacity in which the data in the memory is stored or a remaining capacity of an empty area as a memory capacity. And a storage unit that rewritably stores an arbitrary threshold value to be compared with the memory capacity, and a comparison unit that compares the memory capacity and the threshold value and outputs the comparison result. Characteristic memory system.
【請求項2】 請求項1記載のメモリシステムを用いた
メモリ制御方法であって、 前記メモリに対するデータの読み書きを制御する制御手
段を有し、 前記制御手段は、予め前記格納手段に前記しきい値を格
納しておき、その後の前記メモリに対するデータの読み
書きと並行して前記比較手段にて比較を行い、前記比較
手段より通知を受けることで前記メモリのデータ格納容
量あるいは空きエリア容量を判定することを特徴とする
請求項1記載のメモリシステムを用いたメモリ制御方
法。
2. The memory control method using the memory system according to claim 1, further comprising a control unit that controls reading and writing of data from and to the memory, the control unit preliminarily storing the threshold value in the storage unit. A value is stored, the reading and writing of data to and from the memory thereafter is performed in parallel with the comparison means, and the data storage capacity or free area capacity of the memory is determined by receiving a notification from the comparison means. A memory control method using the memory system according to claim 1.
【請求項3】 請求項1記載のメモリシステムを用いた
メモリ制御方法であって、 前記メモリに対するデータの読み書きを制御する制御手
段を有し、 前記制御手段は、データの読み書きが行われた前記メモ
リ容量を監視すべきタイミングで、前記格納手段に関心
となるメモリ容量に相当するしきい値を格納し、その後
の前記比較手段からの比較結果に基づいて、前記メモリ
に対する読み書きが可能か否かを判断することを特徴と
する請求項1記載のメモリシステムを用いたメモリ制御
方法。
3. The memory control method using the memory system according to claim 1, further comprising a control unit that controls reading and writing of data from and to the memory, wherein the control unit is configured to read and write data. Whether a threshold value corresponding to the memory capacity of interest is stored in the storage means at a timing at which the memory capacity should be monitored, and whether the memory can be read or written based on the comparison result from the comparison means thereafter. 2. The memory control method using the memory system according to claim 1, wherein
JP4280558A 1992-09-25 1992-09-25 Memory system and memory control method using the same Withdrawn JPH06110653A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4280558A JPH06110653A (en) 1992-09-25 1992-09-25 Memory system and memory control method using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4280558A JPH06110653A (en) 1992-09-25 1992-09-25 Memory system and memory control method using the same

Publications (1)

Publication Number Publication Date
JPH06110653A true JPH06110653A (en) 1994-04-22

Family

ID=17626715

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4280558A Withdrawn JPH06110653A (en) 1992-09-25 1992-09-25 Memory system and memory control method using the same

Country Status (1)

Country Link
JP (1) JPH06110653A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008013209A1 (en) * 2006-07-28 2008-01-31 Nec Corporation Cpu connection circuit, data processing device, operation device, and mobile communication terminal and data transfer method using them
JP4481458B2 (en) * 2000-08-25 2010-06-16 キヤノン株式会社 Data processing circuit of imaging device
JP2012190415A (en) * 2011-03-14 2012-10-04 Toshiba Corp Buffer management device, buffer management method and storage

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4481458B2 (en) * 2000-08-25 2010-06-16 キヤノン株式会社 Data processing circuit of imaging device
WO2008013209A1 (en) * 2006-07-28 2008-01-31 Nec Corporation Cpu connection circuit, data processing device, operation device, and mobile communication terminal and data transfer method using them
JPWO2008013209A1 (en) * 2006-07-28 2009-12-17 日本電気株式会社 CPU connection circuit, data processing device, arithmetic device, portable communication terminal using these, and data transfer method
US8355326B2 (en) 2006-07-28 2013-01-15 Nec Corporation CPU connection circuit, data processing apparatus, arithmetic processing device, portable communication terminal using these modules and data transfer method
JP5168144B2 (en) * 2006-07-28 2013-03-21 日本電気株式会社 CPU connection circuit, data processing device, arithmetic device, portable communication terminal using these, and data transfer method
JP2012190415A (en) * 2011-03-14 2012-10-04 Toshiba Corp Buffer management device, buffer management method and storage

Similar Documents

Publication Publication Date Title
US5497501A (en) DMA controller using a predetermined number of transfers per request
US4062059A (en) Information processing system
JPH06110653A (en) Memory system and memory control method using the same
US7603489B2 (en) Direct memory access controller including first and second transfer setting registers
JP3446653B2 (en) Data transfer device
JPH0315941A (en) Semiconductor integrated circuit
JPS6054042A (en) Method and device for data transfer
JPH1063617A (en) Serial communication device
JPH06274462A (en) Asynchronous writing system for shared memory
JP3206542B2 (en) Bus connection device
JP3531394B2 (en) Peripherals in half-duplex data transfer systems
JP3145765B2 (en) Information processing device
JP2776785B2 (en) Serial data transfer device
KR100239738B1 (en) Method and apparatus of processing packet data of lan
JPH04123160A (en) Receiving data processing system
JPS59103155A (en) Data processing module
JPH04361336A (en) Damp control system
JPS6180350A (en) Reception processor
JP2980163B2 (en) Data transfer method
JPH08153038A (en) Method and device for data storage control
JP2531207B2 (en) Channel device
JPH05224881A (en) Fifo buffer circuit
JPH07319841A (en) Serial control device
JPH10293718A (en) Buffer controller
JPH10214237A (en) Bus controller

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: 19991130