JPH061632B2 - FiFo memory controller - Google Patents

FiFo memory controller

Info

Publication number
JPH061632B2
JPH061632B2 JP60150711A JP15071185A JPH061632B2 JP H061632 B2 JPH061632 B2 JP H061632B2 JP 60150711 A JP60150711 A JP 60150711A JP 15071185 A JP15071185 A JP 15071185A JP H061632 B2 JPH061632 B2 JP H061632B2
Authority
JP
Japan
Prior art keywords
fifo memory
memory
pointer
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.)
Expired - Lifetime
Application number
JP60150711A
Other languages
Japanese (ja)
Other versions
JPS6212985A (en
Inventor
祐史 神山
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP60150711A priority Critical patent/JPH061632B2/en
Publication of JPS6212985A publication Critical patent/JPS6212985A/en
Publication of JPH061632B2 publication Critical patent/JPH061632B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は演算処理装置入力バッファ部のFiFoメモリ制御
装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a FiFo memory control device for an arithmetic processing device input buffer section.

従来の技術 従来の演算処理装置の入力バッファ部にはFiFoメモリを
用いたものが多く、その例として次の文献を挙げること
ができる。「製品発表が相次ぐ32ビットマイクロプロ
セサ」,日経エレクトロニクス 1984年4月30日
号PP61−69。
2. Description of the Related Art Many input buffer units of conventional arithmetic processing devices use a FiFo memory, and examples thereof include the following documents. "32-bit Microprocessors with Successive Product Announcements", Nikkei Electronics April 30, 1984, PP 61-69.

第2図は従来の演算処理装置入力バッファ部のFiFoメモ
リ制御装置の構成図である。1は入力データをバッファ
リングするFiFoメモリ、2は演算処理部、3はFiFoメモ
リへのデータ入力を制御する入力制御回路、4はFiFoメ
モリ1への入力データの書込みアドレスを格納するFiFo
メモリ書込みポインタ、5は演算処理部2によるFiFoメ
モリ1内のデータの読出しアドレスを格納するFiFoメモ
リ読出しポインタ、6はFiFoメモリ1の空情報と満杯情
報を管理するFiFoメモリ管理部で、7のFiFoメモリ空フ
ラグと8のFiFoメモリ満杯フラグで構成される。9は演
算処理部2の演算処理動作で用いられるスタック領域を
構成するスタックメモリ、10は演算処理部2がスタッ
クメモリ9をアクセスする場合のアドレスを格納するス
タックポインタである。
FIG. 2 is a block diagram of a FiFo memory control device of a conventional arithmetic processing device input buffer unit. 1 is a FiFo memory that buffers input data, 2 is an arithmetic processing unit, 3 is an input control circuit that controls data input to the FiFo memory, and 4 is FiFo that stores a write address of the input data to the FiFo memory 1.
A memory write pointer, 5 is a FiFo memory read pointer that stores a read address of data in the FiFo memory 1 by the arithmetic processing unit 2, and 6 is a FiFo memory management unit that manages empty information and full information of the FiFo memory 1, It consists of the FiFo memory empty flag and the 8 FiFo memory full flag. Reference numeral 9 is a stack memory forming a stack area used in the arithmetic processing operation of the arithmetic processing unit 2, and 10 is a stack pointer for storing an address when the arithmetic processing unit 2 accesses the stack memory 9.

以上の構成において、入力制御回路3は演算処理部2の
実行動作とは無関係にFiFoメモリ1へのデータ入力を行
う。そのデータ入力動作を停止するのはFiFoメモリ満杯
フラグ8がオンの状態となってFiFoメモリが満杯である
場合だけである。一方、演算処理部2はFiFoメモリ空フ
ラグがオフの状態である限り入力端子からのデータ入力
とは無関係に演算実行を行う。FiFoメモリ書込みポイン
タ4は入力制御回路3によりFiFoメモリ1にデータ入力
される毎にインクリメントされ、FiFoメモリ読出しポイ
ンタ5は演算処理部2によりFiFoメモリ1からデータ出
力される毎にインクリメントされることによりFiFoメモ
リ1が先入先出機能をもつメモリとして構成される。Fi
Foメモリ管理部6はFiFoメモリ書込みポインタ4とFiFo
メモリ読出しポインタ5の一致状況を検出することによ
りFiFoメモリ1の空情報と満杯情報を管理する。
In the above configuration, the input control circuit 3 inputs data to the FiFo memory 1 regardless of the execution operation of the arithmetic processing unit 2. The data input operation is stopped only when the FiFo memory full flag 8 is on and the FiFo memory is full. On the other hand, the arithmetic processing unit 2 executes the arithmetic operation regardless of data input from the input terminal as long as the FiFo memory empty flag is in the off state. The FiFo memory write pointer 4 is incremented each time data is input to the FiFo memory 1 by the input control circuit 3, and the FiFo memory read pointer 5 is incremented each time data is output from the FiFo memory 1 by the arithmetic processing unit 2. FiFo memory 1 is configured as a memory having a first-in first-out function. Fi
The Fo memory management unit 6 uses the FiFo memory write pointer 4 and the FiFo
The empty information and the full information of the FiFo memory 1 are managed by detecting the coincidence status of the memory read pointer 5.

発明が解決しようとする問題点 しかしながこのような構成では、FiFoメモリ1への入力
データの供給と演算処理部2による入力データの消費が
待ち動作なく行われるためにはFiFoメモリ1の語長をう
まく設定する必要がある。FiFoメモリ1の語長が小さす
ぎると演算処理部2による入力データの消費が高速で行
われるときには入力データがFiFoメモリ1からなくなり
演算処理部2の入力データ待ち動作を多発する。またFi
Foメモリ1の語長が大きすぎるとデータ入力のためのバ
ス転送が繁発し、データ出力や演算処理によるバス転送
が阻害されることが発生する。即ち、FiFoメモリ1の語
長設定の良否が装置全体の処理効率に大きく影響するに
もかかわらず、一度設定したFiFoメモリ1の語長を変更
することができないという問題点を有していた。
However, in such a configuration, in order for the input data to be supplied to the FiFo memory 1 and the input data to be consumed by the arithmetic processing unit 2 to be performed without waiting operation, the word of the FiFo memory 1 cannot be used. It is necessary to set the length well. If the word length of the FiFo memory 1 is too small, the input data is lost from the FiFo memory 1 and the input data waiting operation of the arithmetic processing unit 2 frequently occurs when the input data is consumed at high speed by the arithmetic processing unit 2. Also Fi
If the word length of the Fo memory 1 is too large, bus transfer for data input frequently occurs, and bus transfer due to data output and arithmetic processing may be hindered. That is, there is a problem in that the word length of the FiFo memory 1 that has been set once cannot be changed, although the quality of the word length setting of the FiFo memory 1 greatly affects the processing efficiency of the entire apparatus.

本発明は前記問題点に鑑み、装置全体の処理効率が最高
となるようにFiFoメモリの語長を動的に変更することが
できるFiFoメモリ制御装置を提供することを目的とす
る。
In view of the above problems, it is an object of the present invention to provide a FiFo memory control device capable of dynamically changing the word length of the FiFo memory so that the processing efficiency of the entire device is maximized.

問題点を解決するための手段 本発明はメモリと、メモリのうち入力データに対するFi
Foメモリ領域とする最終アドレスを格納するFiFoメモリ
限界ポインタと、メモリへの入力データ書込みアドレス
を格納するFiFoメモリ書込みポインタと、メモリからの
データ読出しアドレスを格納するFiFoメモリ読出しポイ
ンタと、FiFoメモリ書込みポインタの値とFiFoメモリ限
界ポインタの値とを比較する第1の比較器と、FiFoメモ
リ読出しポインタの値とFiFoメモリ限界ポインタの値と
を比較する第2の比較器と、メモリのうち演算処理に用
いるスタックメモリ領域へのアクセスアドレスを格納す
るスタックポインタと、スタックポインタの値とFiF
oメモリ限界ポインタの値とを比較する第3の比較器
と、メモリのうちFiFoメモリ領域を管理するFiFoメモリ
管理部と、FiFoメモリ管理部出力とシステムロックとを
入力してFiFoメモリ限界ポインタの値を変更するFiFoメ
モリサイズ変更制御回路とを具備するFiFoメモリ制御装
置である。
Means for Solving the Problems The present invention relates to a memory and a Fi for input data in the memory.
FiFo memory limit pointer that stores the final address of the Fo memory area, FiFo memory write pointer that stores the input data write address to the memory, FiFo memory read pointer that stores the data read address from memory, and FiFo memory write A first comparator that compares the value of the pointer and the value of the FiFo memory limit pointer, a second comparator that compares the value of the FiFo memory read pointer and the value of the FiFo memory limit pointer, and the arithmetic processing of the memory Stack pointer for storing the access address to the stack memory area used for
o A third comparator that compares the value of the memory limit pointer, a FiFo memory management unit that manages the FiFo memory area in the memory, and an input of the FiFo memory management unit output and system lock A FiFo memory control device comprising a FiFo memory size change control circuit for changing a value.

作 用 本発明はこのような構成により、FiFoメモリ管理部の出
力するFiFoメモリの空情報と満杯情報をFiFoメモリサイ
ズ変更制御回路が計数する。そして、一定時間内に発生
するFiFoメモリの過不足状態によりFiFoメモリ限界ポイ
ンタを変更してFiFoメモリサイズを変更する。これによ
り、FiFoメモリ語長を動的に変更することができ対象と
する処理データに最適な処理系を構成することができ
る。また、不要となったFiFoメモリ領域をスタックメモ
リ領域として扱うことによりメモリの有効利用を図るこ
とができる。
Operation According to the present invention having such a configuration, the FiFo memory size change control circuit counts the empty information and the full information of the FiFo memory output by the FiFo memory management unit. Then, the FiFo memory limit pointer is changed to change the FiFo memory size according to the excess / deficiency state of the FiFo memory that occurs within a fixed time. As a result, the FiFo memory word length can be dynamically changed, and an optimal processing system for the target processing data can be configured. Further, by treating the unnecessary FiFo memory area as a stack memory area, it is possible to effectively use the memory.

実施例 第1図は本発明の一実施例におけるFiFoメモリ制御装置
の構成図である。第1図において、2は演算処理部、3
は入力制御回路、4はFiFoメモリ書込みポインタ、
5はFiFoメモリ読出しポインタ、6はFiFoメモリ管理
部、7はFiFoメモリ空フラグ、8はFiFoメモリ満杯フラ
グ、10はスタックポインタで、以上は第2図の構成と
同じものである。11はメモリ、12はメモリ11のう
ち入力データに対するFiFoメモリ領域とする最終アドレ
スを格納するFiFoメモリ限界ポインタ、13はFiFoメモ
リ書込みポインタ4とFiFoメモリ限界ポインタ12の値
を比較しFiFoメモリ書込みポインタ4の値がFiFoメモリ
限界ポインタ12の値以上になるとリセットする第1の
比較器、14はFiFoメモリ読出しポインタ5の値とFiFo
メモリ限界ポインタ12の値を比較しFiFoメモリ読出し
ポインタ5の値がFiFoメモリ限界ポインタ12の値以上
になるとリセットする第2の比較器、15はスタックポ
インタ10の値とFiFoメモリ限界ポインタ12の値を比
較しスタックポインタ10の値がFiFoメモリ限界ポイン
タ12の値と一致した時、演算処理部2にスタック領域
の満杯情報を出力する第3の比較器、16はFiFoメモリ
の空フラグ7の出力と満杯フラグ8の出力とシステムロ
ックを入力し、一定時間に発生するFiFoメモリ領域の空
情報と満杯情報を計数し、FiFoメモリ限界ポインタ12
を変更するFiFoメモリサイズ変更制御回路である。
Embodiment FIG. 1 is a block diagram of a FiFo memory control device in an embodiment of the present invention. In FIG. 1, 2 is an arithmetic processing unit, 3
Is an input control circuit, 4 is a FiFo memory write pointer,
5 is a FiFo memory read pointer, 6 is a FiFo memory management unit, 7 is a FiFo memory empty flag, 8 is a FiFo memory full flag, 10 is a stack pointer, and the above is the same as the configuration of FIG. 11 is a memory, 12 is a FiFo memory limit pointer that stores the final address of the memory 11 for the FiFo memory area for input data, 13 is a FiFo memory write pointer 4 and the value of the FiFo memory limit pointer 12 is compared, and a FiFo memory write pointer A first comparator that resets when the value of 4 becomes equal to or greater than the value of the FiFo memory limit pointer 12, 14 is the value of the FiFo memory read pointer 5 and FiFo
A second comparator that compares the values of the memory limit pointer 12 and resets when the value of the FiFo memory read pointer 5 becomes equal to or greater than the value of the FiFo memory limit pointer 12, 15 is the value of the stack pointer 10 and the value of the FiFo memory limit pointer 12 When the value of the stack pointer 10 matches the value of the FiFo memory limit pointer 12, the third comparator which outputs the stack area full information to the arithmetic processing unit 2, 16 outputs the empty flag 7 of the FiFo memory And the output of the full flag 8 and the system lock are input, the empty information and the full information of the FiFo memory area that occur at a fixed time are counted, and the FiFo memory limit pointer 12
It is a FiFo memory size change control circuit for changing.

本実施例の動作を以下に説明する。入力制御回路3はFi
Foメモリ満杯フラグ8がオフである限り、メモリ11の
FiFoメモリ領域に空領域があるとして入力データを読込
み、FiFoメモリ書込みポインタ4をインクリメントす
る。順次インクリメントされるFiFoメモリ書込みポイン
タ4の値は比較器13でFiFoメモリ限界ポインタ12と
比較され、FiFoメモリ限界ポインタ12の値以上になる
とリセットされる。従って、FiFoメモリ書込みポイ
ンタ4は0番地からFiFoメモリ限界ポインタ12の値ま
でのアドレスを繰返す。また、演算処理部2はFiFoメモ
リ空フラグ7がオフである限り、メモリ11のFiFoメモ
リ領域に有効な入力データがあるとしてデータを読出
し、FiFoメモリ読出しポインタ5をインクリメントす
る。順次インクリメントされるFiFoメモリ読出しポイン
タ5の値は比較器14でFiFoメモリ限界ポインタ12と
比較され、FiFoメモリ限界ポインタ12の値以上になる
とリセットされる。従って、FiFoメモリ読出しポインタ
5はFiFoメモリ書込みポインタ4と同様に、0番地から
FiFoメモリ限界ポインタ12の値までのアドレスを繰返
す。一方、メモリ11のFiFoメモリ限界ポインタ12の
値以降の領域はスタックメモリ領域としてスタックポイ
ンタ10を用いて演算処理部2の演算実行時に使用され
る。スタックポインタ10の値は比較器15でFiFoメモ
リ限界ポインタ12と比較され、FiFoメモリ限界ポイン
タ12の値に一致すると演算処理部2にスタックメモリ
領域満杯情報を出力する。FiFoメモリ領域の空情報と満
杯情報は、FiFoメモリ管理部6で管理され、その出力を
用いてFiFoメモリサイズ変更制御回路16で一定時間に
発生するFiFoメモリ領域の空情報と満杯情報を計数す
る。計数結果において、空情報発生回数が予め設定した
値より大きい場合にはFiFoメモリ限界ポインタ12の値
を減少させ、満杯情報発生回数が予め設定した値より大
きい場合にはFiFoメモリ限界ポインタ12の値を増大さ
せるようにFiFoメモリサイズ変更制御回路16が制御す
る。但し、FiFoメモリサイズ変更制御回路16にはスタ
ックポインタ10の値も入力され、変更によりFiFoメモ
リ限界ポインタ12の値がスタックポインタ10の値よ
り大きくなる場合には、スタックポインタ10の値が大
きくなり、変更しようとするFiFoメモリ限界ポインタ1
2の値以上になるのを待って変更する。これによりスタ
ックメモリ領域のデータが破壊されるのを防ぐことがで
きる。
The operation of this embodiment will be described below. Input control circuit 3 is Fi
As long as the Fo memory full flag 8 is off,
The input data is read assuming that there is an empty area in the FiFo memory area, and the FiFo memory write pointer 4 is incremented. The value of the FiFo memory write pointer 4 which is sequentially incremented is compared with the FiFo memory limit pointer 12 by the comparator 13, and is reset when the value of the FiFo memory limit pointer 12 or more is reached. Therefore, the FiFo memory write pointer 4 repeats the address from address 0 to the value of the FiFo memory limit pointer 12. Further, as long as the FiFo memory empty flag 7 is off, the arithmetic processing unit 2 reads the data as valid input data in the FiFo memory area of the memory 11 and increments the FiFo memory read pointer 5. The value of the FiFo memory read pointer 5 which is sequentially incremented is compared with the FiFo memory limit pointer 12 by the comparator 14, and is reset when the value of the FiFo memory limit pointer 12 or more is reached. Therefore, like the FiFo memory write pointer 4, the FiFo memory read pointer 5 starts from address 0.
The address up to the value of the FiFo memory limit pointer 12 is repeated. On the other hand, the area after the value of the FiFo memory limit pointer 12 of the memory 11 is used when the arithmetic processing unit 2 executes the arithmetic operation by using the stack pointer 10 as the stack memory area. The value of the stack pointer 10 is compared with the FiFo memory limit pointer 12 by the comparator 15, and if it matches the value of the FiFo memory limit pointer 12, the stack memory area full information is output to the arithmetic processing unit 2. The empty information and the full information of the FiFo memory area are managed by the FiFo memory management unit 6, and the output thereof is used to count the empty information and the full information of the FiFo memory area which are generated in a fixed time in the FiFo memory size change control circuit 16. . In the counting result, the value of the FiFo memory limit pointer 12 is decreased if the number of empty information occurrences is greater than a preset value, and the value of the FiFo memory limit pointer 12 is decreased if the number of full information occurrences is greater than a preset value. Is controlled by the FiFo memory size change control circuit 16. However, if the value of the stack pointer 10 is also input to the FiFo memory size change control circuit 16 and the value of the FiFo memory limit pointer 12 becomes larger than the value of the stack pointer 10 due to the change, the value of the stack pointer 10 becomes large. , FiFo memory limit pointer to change 1
Wait until the value becomes 2 or more and change. This can prevent the data in the stack memory area from being destroyed.

以上のように、本実施例によればFiFoメモリ管理部6の
FiFoメモリ領域の空情報発生回数と満杯情報発生回数を
FiFoメモリサイズ変更制御回路16で計数し、一定時間
に対する発生回数を減少させるようにFiFoメモリ限界ポ
インタ12の値を変更することにより、FiFoメモリ領域
のサイズを動的に変更することができる。
As described above, according to the present embodiment, the FiFo memory management unit 6
The number of empty information occurrences and the number of full information occurrences in the FiFo memory area
The size of the FiFo memory area can be dynamically changed by counting by the FiFo memory size change control circuit 16 and changing the value of the FiFo memory limit pointer 12 so as to reduce the number of occurrences for a certain period of time.

発明の効果 以上説明したように、本発明によればFiFoメモリ領
域のサイズを動的に変更することができ、対象とする処
理データに最適なFiFoメモリサイズを設定することがで
きる。さらに、不要なFiFoメモリ領域をスタックメモリ
領域として使用でき、メモリの有効利用を図れる。特
に、FiFoメモリサイズの動的な変更ができる効果につい
ては、LSi回路等、一度作成した回路の変更が不可能
あるいは非常に困難な場合に有効であり、システムのL
Si化が進む今後、本発明の実用的効果は大きい。
EFFECTS OF THE INVENTION As described above, according to the present invention, the size of the FiFo memory area can be dynamically changed, and the optimum FiFo memory size can be set for the target processing data. Furthermore, an unnecessary FiFo memory area can be used as a stack memory area, and effective use of the memory can be achieved. Especially, the effect that the FiFo memory size can be dynamically changed is effective when it is impossible or extremely difficult to change the circuit once created, such as the LSi circuit.
The practical effect of the present invention will be great in the future when Si is promoted.

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

第1図は本発明の一実施例におけるFiFoメモリ制御装置
の構成図、第2図は従来のFiFoメモリ制御装置の構成図
である。 2……演算処理部、3……入力制御回路、4……FiFoメ
モリ書込みポインタ、5……FiFoメモリ読出しポイ
ンタ、6……FiFoメモリ管理部、10……スタックポイ
ンタ、11……メモリ、12……FiFoメモリ限界ポイン
タ、13……第1の比較器、14……第2の比較器、1
5……第3の比較器、16……FiFoメモリサイズ変更制
御回路。
FIG. 1 is a block diagram of a FiFo memory controller according to an embodiment of the present invention, and FIG. 2 is a block diagram of a conventional FiFo memory controller. 2 ... Arithmetic processing unit, 3 ... Input control circuit, 4 ... FiFo memory write pointer, 5 ... FiFo memory read pointer, 6 ... FiFo memory management unit, 10 ... Stack pointer, 11 ... Memory, 12 ... FiFo memory limit pointer, 13 ... first comparator, 14 ... second comparator, 1
5 ... Third comparator, 16 ... FiFo memory size change control circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】メモリと、前記メモリへの入力データを順
次読出し演算する演算処理部と、前記メモリへのデータ
入力を制御する入力制御回路と、前記メモリのうち入力
データに対するFiFo(先入先出)メモリとして扱う最終
アドレスを格納するFiFoメモリ限界ポインタと、FiFoメ
モリ領域へデータ入力される毎にインクリメントされ前
記メモリへのデータ書込みアドレスを格納するFiFoメモ
リ書込みポインタと、前記演算処理部がFiFoメモリ領域
の入力データを読出す毎にインクリメントされ前記メモ
リへのデータ読出しアドレスを格納するFiFoメモリ読出
しポインタと、前記FiFoメモリ書込みポインタの値と前
記FiFoメモリ限界ポインタの値を比較し、順次インクリ
メントされる前記FiFoメモリ書込みポインタの値が前記
FiFoメモリ限界ポインタの値以上の時、前記FiFoメモリ
書込みポインタをリセットする第1の比較器と、前記Fi
Foメモリ読出しポインタの値と前記FiFoメモリ限界ポイ
ンタの値を比較し、順次インクリメントされる前記FiFo
メモリ読出しポインタの値が前記FiFoメモリ限界ポイン
タの値以上の時、前記FiFoメモリ読出しポインタをリセ
ットする第2の比較器と、前記メモリのうち前記FiFoメ
モリ限界ポインタが示すアドレス以降をスタックメモリ
領域として扱い、前記演算処理部がスタックメモリ領域
を前記メモリ最終アドレスから順次デクリメントしてア
クセスするアドレスを格納するスタックポインタと、前
記スタックポインタの値と前記FiFoメモリ限界ポインタ
の値を比較し、前記スタックポインタの値が前記FiFoメ
モリ限界ポインタの値と一致した時、前記演算処理部に
スタックメモリ領域の満杯情報を出力する第3の比較器
と、前記FiFoメモリ書込みポインタの値と前記FiFoメモ
リ読出しポインタの値を入力して前記メモリのFiFoメモ
リ領域の空情報,満杯情報を管理するFiFoメモリ管理部
と、前記FiFoメモリ管理部の空情報、満杯情報とシステ
ムクロックを入力し一定時間に発生するFiFoメモリ領域
の空情報,満杯情報を計数し前記FiFoメモリ限界ポイン
タの値を変更するFiFoメモリサイズ変更制御回路とを具
備することを特徴とするFiFoメモリ制御装置。
1. A memory, an arithmetic processing unit for sequentially reading and arithmetically operating input data to the memory, an input control circuit for controlling data input to the memory, and a FiFo (first in, first out) for the input data in the memory. ) A FiFo memory limit pointer that stores the final address handled as a memory, a FiFo memory write pointer that stores the data write address to the memory that is incremented each time data is input to the FiFo memory area, and the arithmetic processing unit is a FiFo memory. FiFo memory read pointer that stores the data read address to the memory and is incremented each time the input data of the area is read, compares the value of the FiFo memory write pointer with the value of the FiFo memory limit pointer, and increments sequentially The value of the FiFo memory write pointer is
A first comparator for resetting the FiFo memory write pointer when the FiFo memory limit pointer value is greater than or equal to the value;
The value of the Fo memory read pointer is compared with the value of the FiFo memory limit pointer, and the value of the FiFo is sequentially incremented.
A second comparator that resets the FiFo memory read pointer when the value of the memory read pointer is greater than or equal to the value of the FiFo memory limit pointer, and a portion of the memory after the address indicated by the FiFo memory limit pointer as a stack memory area. The stack pointer that stores the address to be accessed by sequentially decrementing the stack memory area from the memory last address by the arithmetic processing unit, compares the stack pointer value and the FiFo memory limit pointer value, and compares the stack pointer. When the value of the FiFo memory limit pointer matches the value of the FiFo memory limit pointer, a third comparator that outputs stack memory area full information to the arithmetic processing unit, the value of the FiFo memory write pointer and the FiFo memory read pointer Enter a value to display the empty and full information in the FiFo memory area of the above memory. FiFo memory management section that manages, and the empty information, full information and system clock of the FiFo memory management section are input, and the empty information and the full information of the FiFo memory area that occur at a certain time are counted, and the value of the FiFo memory limit pointer is calculated. A FiFo memory control device, comprising: a FiFo memory size change control circuit for changing.
JP60150711A 1985-07-09 1985-07-09 FiFo memory controller Expired - Lifetime JPH061632B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60150711A JPH061632B2 (en) 1985-07-09 1985-07-09 FiFo memory controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60150711A JPH061632B2 (en) 1985-07-09 1985-07-09 FiFo memory controller

Publications (2)

Publication Number Publication Date
JPS6212985A JPS6212985A (en) 1987-01-21
JPH061632B2 true JPH061632B2 (en) 1994-01-05

Family

ID=15502734

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60150711A Expired - Lifetime JPH061632B2 (en) 1985-07-09 1985-07-09 FiFo memory controller

Country Status (1)

Country Link
JP (1) JPH061632B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0547169A (en) * 1991-08-19 1993-02-26 Fujitsu Ltd Memory control system
US6920584B2 (en) * 2001-11-02 2005-07-19 Sun Microsystems, Inc. System design verification using selected states of a processor-based system to reveal deficiencies

Also Published As

Publication number Publication date
JPS6212985A (en) 1987-01-21

Similar Documents

Publication Publication Date Title
EP0489504B1 (en) Bidirectional FIFO buffer for interfacing between two buses
US6493773B1 (en) Data validity measure for efficient implementation of first-in-first-out memories for multi-processor systems
US5797033A (en) Direct memory access for storing and retrieving data based on packet size
US5155830A (en) Data processing system capable of performing a direct memory access transfer of data stored in a physical area in a memory
US5287486A (en) DMA controller using a programmable timer, a transfer counter and an or logic gate to control data transfer interrupts
US4719563A (en) Data transmission control device for controlling transfer of large amounts of data between two memory units
US20010047439A1 (en) Efficient implementation of first-in-first-out memories for multi-processor systems
JPH061632B2 (en) FiFo memory controller
CN1258362A (en) Communication DMA Device
US5889948A (en) Apparatus and method for inserting an address in a data stream through a FIFO buffer
JP2688245B2 (en) DMA controller
JPH03147157A (en) Information processor
JP2574345B2 (en) Bus arbitration equipment
EP0410382A2 (en) Data transfer controller using direct memory access method
JPS59136833A (en) Data transfer controller
JP3307325B2 (en) Data buffer circuit
JP3270149B2 (en) Data transfer device
JP2734581B2 (en) Control method of input / output control unit
JP2000215154A (en) DMA controller
JPH02201678A (en) Channel device
JPH02310649A (en) Received frame transfer method and communication control device
JPS6370361A (en) File controller
JP2604051B2 (en) Data transfer method
JPS61156454A (en) Data transfer control device
JPH0410051A (en) Shared memory control method for multiprocessor system