JPS6212985A - Fifo memory control device - Google Patents

Fifo memory control device

Info

Publication number
JPS6212985A
JPS6212985A JP60150711A JP15071185A JPS6212985A JP S6212985 A JPS6212985 A JP S6212985A JP 60150711 A JP60150711 A JP 60150711A JP 15071185 A JP15071185 A JP 15071185A JP S6212985 A JPS6212985 A JP S6212985A
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.)
Granted
Application number
JP60150711A
Other languages
Japanese (ja)
Other versions
JPH061632B2 (en
Inventor
Yuji Kamiyama
神山 祐史
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)

Abstract

PURPOSE:To dynamically change the length of a word of an FiFo memory by providing a memory, a memory limit pointer, an FiFo memory writing pointer, an FiFo memory reading pointer, the first, the second, the third comparators, an FiFo memory managing part, and an FiFo memory size changing control circuit. CONSTITUTION:A value of a stack pointer 10 is compared with an FiFo memory limit pointer 12 by a comparator 15. When the value coincides with a value of the FiFo memory limit pointer 12, a stack memory area full information is outputted to an arithmetic processing part 2. The idle information and the full information of the FiFo memory area are managed by an FiFo memory managing part 6, and by using its output, the idle information and the full information of the FiFo memory area generated in a fixed time are counted by an FiFo memory size change control circuit 16. The value of the FiFo memory limit pointer 12 is changed so as to reduce the number of times of generation for a fixed time. Thereby, the size of the FiFo memory area can be dynamically changed.

Description

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

従来の技術 従来の演算処理装置の入力バッファ部にはFiFoメモ
リを用いたものが多く、その例として次の文献を挙げる
ことができる。「製品発表が相次ぐ32ビットマイクロ
プロセサ」1日経エレクトロニクス 1984年4月3
0日号PP6l−69゜第2図は従来の演算処理装置人
力バッフ1部のFiFoメモリ制御装置の構成図である
。1は入力データをバッファリングするFiFoメモリ
、2は演算処理部、3はFiFoメモリへのデータ入力
を制御する入力制御回路、4はFiFoメモリ1への入
力データの書込みアドレスを格納するFiFoメモリ書
込みポインタ、6は演算処理部2によるFiFoメモリ
1内のテ゛−夕の読出しアドレスを格納するFiFoメ
モリ読出しポインタ、6はFiFoメモリ1の空情報と
満杯情報を管理するFiFoメモリ管理部で、7のFi
Foメモリ空フラグと8のFiFoメモリ満杯フラグで
構成される。9は演算処理部2の演算処理動作で用いら
れるスタック領域を構成するスタックメモリ、1oは演
算処理部2がスタックメモリ9をアクセスする場合のア
ドレスを格納するスタックポインタである。
BACKGROUND OF THE INVENTION Many conventional arithmetic processing devices use FiFo memories in their input buffer sections, and the following literature can be cited as an example of this. “32-bit microprocessor with successive product announcements” 1 Nikkei Electronics April 3, 1984
0th issue PP6l-69゜Figure 2 is a block diagram of the FiFo memory control device of the conventional arithmetic processing unit manual buffer 1 section. 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 a FiFo memory write that stores the write address of input data to the FiFo memory 1. 6 is a FiFo memory read pointer that stores the read address of the data in the FiFo memory 1 by the arithmetic processing unit 2; 6 is a FiFo memory management unit that manages the empty information and full information of the FiFo memory 1; Fi
It consists of a Fo memory empty flag and 8 FiFo memory full flags. Reference numeral 9 denotes a stack memory constituting a stack area used in the arithmetic processing operation of the arithmetic processing unit 2, and 1o represents a stack pointer that stores an address when the arithmetic processing unit 2 accesses the stack memory 9.

以上の構成において、入力制御回路3は演算処理部2の
実行動作とは無関係にFiFoメモリ1へのデータ入力
を行う。そのデータ入力動作を停止するのはFiFoメ
モリ満杯フラグ8がオンの状態となってFiFoメモリ
が満杯である場合だけである。一方、演算処理部2はF
iFoメモリ空フラタフラグの状態である限シ入力端子
からのデータ入力とは無関係に演算実行を行う。FiF
oメモリ書込みポインタ4は入力制御回路3によりFi
Foメモリ1にデータ入力される毎にインクリメントさ
れ、FiFoメモリ読出しポインタ6は演算処理部2に
よりFiFoメモリ1からデータ出力される毎にインク
リメントされることにより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 section 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
Calculation is executed regardless of data input from the input terminal as long as the iFo memory empty flutter flag is in the state. FiF
oMemory write pointer 4 is set to Fi by input control circuit 3.
The FiFo memory read pointer 6 is incremented every time data is input to the Fo memory 1, and the FiFo memory read pointer 6 is incremented every time data is output from the FiFo memory 1 by the arithmetic processing unit 2, so that the FiFo memory 1 is a memory with a first-in, first-out function. Constructed as.

FiFoメモリ管理部6はFiFoメモリ書込みポイン
タ4とFiFoメモリ読出しポインタ6の一致状況を検
出することKよりFiFoメモリ1の空情報と満杯情報
を管理する。
The FiFo memory management unit 6 manages the empty information and full information of the FiFo memory 1 by detecting the coincidence status between the FiFo memory write pointer 4 and the FiFo memory read pointer 6.

発明が解決しようとする問題点 しかしながらこのような構成では、FiFoメモリ1へ
の入力データの供給と演算処理部2による入力データの
消費が待ち動作なく行われるためにはFiFoメモリ1
の語長をうまく設定する必要がある。FiFoメモリ1
の語長が小さすぎると演算処理部2による入力データの
消費が高速で行われるときには入力データがFiFoメ
モリ1からなくなり演算処理部20入カデータ待ち動作
が多発する。またFiFoメモリ1の語長が大きすぎる
とデータ入力のためのバス転送が繁発し、データ出力や
演算処理によるパス転送が阻害されることが発生する。
Problems to be Solved by the Invention 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 operations, the FiFo memory 1 must be
It is necessary to set the word length appropriately. FiFo memory 1
If the word length of is too small, when the input data is consumed by the arithmetic processing section 2 at a high speed, the input data will disappear from the FiFo memory 1, and the arithmetic processing section 20 will frequently have to wait for input data. Furthermore, if the word length of the FiFo memory 1 is too large, bus transfers for data input will occur frequently, and path transfers for data output and arithmetic processing will be obstructed.

即ち、FiFoメモリ1の語長設定の良否が装置全体の
処理効率に大きく影響するにもかかわらず、一度設定し
たFiFoメモリ1の語長を変更することができないと
いう問題点を有していた。
That is, although the quality of the word length setting of the FiFo memory 1 greatly affects the processing efficiency of the entire apparatus, there was a problem in that the word length of the FiFo memory 1 once set cannot be changed.

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

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

作用 本発明はこのような構成によシ、FiFoメモリ管理部
の出力するFiFoメモリの空情報と満杯情報をFiF
oメモリサイズ変更制御回路が計数する。
Operation The present invention has such a configuration, and uses the FiFo memory empty information and full information outputted by the FiFo memory management unit to the FiFo memory management unit.
o The memory size change control circuit counts.

そして、一定時間内に発生するFiFoメモリの過不足
状態数によりFiFoメモリ限界ポインタを変更してF
iFoメモリサイズを変更する。これにょることかでき
る。また、不要となったFiFoメモリ領域をスタック
メモリ領域として扱うことによりメモリの有効利用を図
ることができる。
Then, the FiFo memory limit pointer is changed depending on the number of FiFo memory excess/deficiency states that occur within a certain period of time.
Change iFo memory size. I can do this. Furthermore, by treating the FiFo memory area that is no longer needed as a stack memory area, it is possible to effectively utilize memory.

実施例 第1図は本発明の一実施例におけるFiFoメモリ制御
装置の構成図である。第1図において、2は演算処理部
、3は入力制御回路、4はFiFoメモリ書込みポイン
タ、6はFiFoメモリ読出しポインタ、6はFiFo
メモリ管理部、7はFiFoメモリ空フラグ、8はFi
Foメモリ満杯フラグ、10はスタックポインタで、以
上は第2図の構成と同じものである。11はメモリ、1
2はメモリ11のうち入力データに対するFiFoメモ
リ領域とする最終アドレスを格納するFiFoメモリ限
界ポインタ、13はFiFoメモリ書込みポインタ4と
FiFoメモリ限界ポインタ12の値を比較しFiFo
メモリ書込みポインタ4の値がFiFoメモリ限界ポイ
ンタ12の値以上になるとリセットする第1の比較器、
14はFiFoメモリ読出しポインタ6の値とFiFo
メモリ限界ポインタ12の値を比較しFiFoメモリ読
出しポインタ5の値がFiFoメモリ限界ポインタ12
の値以上になるとリセットする第2の比較器、15はス
タックポインタ10の値とFiFoメモリ限界ポインタ
12の値を比較しスタックポインタ1oの値が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, 6 is a FiFo memory read pointer, and 6 is a FiFo memory read pointer.
Memory management section, 7 is FiFo memory empty flag, 8 is Fi
Fo memory full flag, 10 is a stack pointer, and the above is the same as the configuration shown in FIG. 11 is memory, 1
2 is a FiFo memory limit pointer that stores the final address of the FiFo memory area for input data in the memory 11; 13 is a FiFo memory limit pointer that compares the values of the FiFo memory write pointer 4 and the FiFo memory limit pointer 12;
a first comparator that resets when the value of the memory write pointer 4 becomes greater than or equal to the value of the FiFo memory limit pointer 12;
14 is the value of FiFo memory read pointer 6 and FiFo
The value of the memory limit pointer 12 is compared and the value of the FiFo memory read pointer 5 is the value of the FiFo memory limit pointer 12.
A second comparator 15, which is reset when the value exceeds the value of
a third comparator that outputs stack area fullness information to the arithmetic processing unit 2 when the value matches the value of the memory limit pointer 12;
16 inputs the output of the empty flag 7 and the output of the full flag 8 of the FiFo memory, and the system clock, and counts the empty information and full information axis of the FiFo memory area that occur in a certain period of time,
This is a FiFo memory size change control circuit that changes the FiFo memory limit pointer 12.

本実施例の動作を以下に説明する。入力制御回路3はF
iFoメモリ満杯フラグ8がオフである限り、メモリ1
1のFiFoメモリ領域に空領域があるとして入力デー
タを読込み、FiFoメモリ書込みポインタ4をインク
リメントする。順次インクリメントされるFiFoメモ
リ書込みポインタ4の値は比較器13でFiFoメモリ
限界ポインタ12と比較され、FiFoメモリ限界ポイ
ンタ12の値以上になるとリセットされる。従って、F
iFoメモリ書込みポインタ4は0番地からFiFoメ
モリ限界ポインタ12の値までのアドレスを繰返す。
The operation of this embodiment will be explained below. Input control circuit 3 is F
As long as iFo memory full flag 8 is off, memory 1
Assuming that there is an empty area in the FiFo memory area No. 1, input data is read 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 a comparator 13, and when it exceeds the value of the FiFo memory limit pointer 12, it is reset. Therefore, F
The iFo memory write pointer 4 repeats addresses from address 0 to the value of the FiFo memory limit pointer 12.

また、演算処理部2はFiFoメモリ空フラグ7がオフ
である限υ、メモリ11のFiFoメモリ領域に有効な
入力データがあるとしてデータを読出し、FiFoメモ
リ読出しポインタ6をインクリメントする。順次インク
リメントされるFiFoメモリ読出しポインタ6の値は
比較器14でFiFoメモリ限界ポインタ12と比較さ
れ、FiFoメモリ限界ポインタ12の値以上になると
リセットされる。
Further, as long as the FiFo memory empty flag 7 is off, the arithmetic processing unit 2 assumes that there is valid input data in the FiFo memory area of the memory 11, reads the data, and increments the FiFo memory read pointer 6. The value of the FiFo memory read pointer 6, which is sequentially incremented, is compared with the FiFo memory limit pointer 12 by a comparator 14, and when it exceeds the value of the FiFo memory limit pointer 12, it is reset.

従って、FiFoメモリ読出しポインタ5ハFiFoメ
モリ書込みポインタ4と同様に、0番地からFiFoメ
モリ限界ポインタ12の値までのアドレスを繰返す。一
方、メモリ11のFiFoメモリ限界ポインタ12の値
以降の領域はスタックメモリ領域としてスタックポイン
タ10を用いて演算処理部2の演算実行時に使用される
。スタックポインタ10の値は比較器16でFiFoメ
モリ限界ポインタ12と比較され、FiFoメモリ限界
ポインタ12の値に一致すると演算処理部2にスタック
メモリ領域満杯情報を出力する。FiFoメモリ領域の
空情報と満杯情報は、yi、yoメモリ管理部6で管理
され、その出力を用いてFiFoメモリサイズ変更制御
回路16で一定時間に発生するFiFoメモリ領域の空
情報と満杯情報を計数する。計数結果において、空情報
発生回数が予め設定した値より大きい場合にはFiFo
メモリ限界ポインタ12の値を減少させ、満杯情報発生
回数が予め設定した値より大きい場合にはFiFoメモ
リ限界ポインタ12の値を増大させるようにFiFoメ
モリサイズ変更制御回路16が制御する。但し、 Fi
Foメモリサイズ変更制御回路16にはスタックポイン
タ1oの値も入力され、変更によりFiFoメモリ限界
ホインタ12の値がスタックポインタ10の値よシ大き
くなる場合には、スタックポインタ10の値が大きくな
り、変更しようとするFiFoメモリ限界ポインタ12
の値以上になるのを待って変更する。これによりスタッ
クメモリ領域のデーりが破壊されるのを防ぐことができ
る。
Therefore, like the FiFo memory write pointer 4, the FiFo memory read pointer 5 repeats the addresses from address 0 to the value of the FiFo memory limit pointer 12. On the other hand, the area after the value of the FiFo memory limit pointer 12 in the memory 11 is used as a stack memory area when the arithmetic processing section 2 executes calculations using the stack pointer 10. The value of the stack pointer 10 is compared with the FiFo memory limit pointer 12 by the comparator 16, and if it matches the value of the FiFo memory limit pointer 12, stack memory area full information is output to the arithmetic processing unit 2. Empty information and full information of the FiFo memory area are managed by the yi and yo memory management unit 6, and using the output thereof, the FiFo memory size change control circuit 16 calculates the empty information and full information of the FiFo memory area that occur at a certain time. Count. In the counting results, if the number of occurrences of sky information is greater than the preset value, FiFo
The FiFo memory size change control circuit 16 controls to decrease the value of the memory limit pointer 12, and to increase the value of the FiFo memory limit pointer 12 when the number of occurrences of full information is greater than a preset value. However, Fi
The value of the stack pointer 1o is also input to the Fo memory size change control circuit 16, and if 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 increases, FiFo memory limit pointer 12 to be changed
Wait until the value is greater than or equal to , then change it. This can prevent data in the stack memory area from being destroyed.

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

発明の詳細 な説明したように、本発明によればFiFoメモリ領域
のサイズを動的に変更することができ。
DETAILED DESCRIPTION OF THE INVENTION According to the present invention, the size of the FiFo memory area can be dynamically changed.

対象とする処理データに最適なFiFoメモリサイズを
設定することができる。さらに、不要なFiFoメモリ
領域をスタックメモリ領域として庚用でき、メモリの有
効利用を図れる。特に、FiFoメモリサイズの動的な
変更ができる効果については、LSi回路等、一度作成
した回路の変更が不可能あるいは非常に困難な場合に有
効であシ、システムのL31化が進む今後、本発明の実
用的効果は大きい。
It is possible to set the optimal FiFo memory size for the target processing data. Furthermore, an unnecessary FiFo memory area can be used as a stack memory area, and memory can be used effectively. In particular, the ability to dynamically change the FiFo memory size is effective in cases where it is impossible or extremely difficult to change a circuit once created, such as an LSi circuit. The practical effects of the invention are significant.

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

第1図は本発明の一実施例におけるFiFoメモリ制御
装置の構成図、第2図は従来のFiFoメモリ制御装置
の構成図である。 2・・・・・・演算処理部、3・・・・・・入力制御回
路、4・・・・・・FiFoメモリ書込みポインタ、6
・・・・・・FiFoメモリ読出しポインタ、6・・・
・・・FiFoメモリ管理部、1o・・・・・・スタッ
クポインタ、11・・・・・・メモリ、12・・・・・
・FiFoメモリ限界ポインタ、13・・・・・・第1
の比較器、14・・・・・・第2の比較器、15・・・
・・・第3の比較器、16・・・・・・FiFoメモリ
サイズ変更制御回路。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名第1
FIG. 1 is a block diagram of a FiFo memory control device according to an embodiment of the present invention, and FIG. 2 is a block diagram of a conventional FiFo memory control device. 2... Arithmetic processing unit, 3... Input control circuit, 4... FiFo memory write pointer, 6
...FiFo memory read pointer, 6...
...FiFo memory management unit, 1o...Stack pointer, 11...Memory, 12...
・FiFo memory limit pointer, 13...1st
Comparator, 14...Second comparator, 15...
...Third comparator, 16...FiFo memory size change control circuit. Name of agent: Patent attorney Toshio Nakao and 1 other person No. 1
figure

Claims (1)

【特許請求の範囲】[Claims]  メモリと、前記メモリへの入力データを順次読出し演
算する演算処理部と、前記メモリへのデータ入力を制御
する入力制御回路と、前記メモリのうち入力データに対
するFiFo(先入先出)メモリとして扱う最終アドレ
スを格納するFiFoメモリ限界ポインタと、FiFo
メモリ領域へデータ入力される毎にインクリメントされ
前記メモリへのデータ書込みアドレスを格納するFiF
oメモリ書込みポインタと、前記演算処理部がFiFo
メモリ領域の入力データを読出す毎にインクリメントさ
れ前記メモリへのデータ読出しアドレスを格納するFi
Foメモリ読出しポインタと、前記FiFoメモリ書込
みポインタの値と前記FiFoメモリ限界ポインタの値
を比較し、順次インクリメントされる前記FiFoメモ
リ書込みポインタの値が前記FiFoメモリ限界ポイン
タの値以上の時、前記FiFoメモリ書込みポインタを
リセットする第1の比較器と、前記FiFoメモリ読出
しポインタの値と前記FiFoメモリ限界ポインタの値
を比較し、順次インクリメントされる前記FiFoメモ
リ読出しポインタの値が前記FiFoメモリ限界ポイン
タの値以上の時、前記FiFoメモリ読出しポインタを
リセットする第2の比較器と、前記メモリのうち前記F
iFoメモリ限界ポインタが示すアドレス以降をスタッ
クメモリ領域として扱い、前記演算処理部がスタックメ
モリ領域を前記メモリ最終アドレスから順次デクリメン
トしてアクセスするアドレスを格納するスタックポイン
タと、前記スタックポインタの値と前記FiFoメモリ
限界ポインタの値を比較し、前記スタックポインタの値
が前記FiFoメモリ限界ポインタの値と一致した時、
前記演算処理部にスタックメモリ領域の満杯情報を出力
する第3の比較器と、前記FiFoメモリ書込みポイン
タの値と前記FiFoメモリ読出しポインタの値を入力
して前記メモリのFiFoメモリ領域の空情報、満杯情
報を管理するFiFoメモリ管理部と、前記FiFoメ
モリ管理部の空情報、満杯情報とシステムクロックを入
力し一定時間に発生するFiFoメモリ領域の空情報、
満杯情報を計数し前記FiFoメモリ限界ポインタの値
を変更するFiFoメモリサイズ変更制御回路とを具備
することを特徴とするFiFoメモリ制御装置。
a memory, an arithmetic processing unit that sequentially reads and performs calculations on input data to the memory, an input control circuit that controls data input to the memory, and a final section of the memory that handles input data as a FiFo (first-in-first-out) memory; A FiFo memory limit pointer that stores the address, and a FiFo memory limit pointer that stores the address.
A FiF that is incremented every time data is input to the memory area and stores a data write address to the memory.
o The memory write pointer and the arithmetic processing section are FiFo
Fi that is incremented every time input data in a memory area is read and stores a data read address to the memory;
The value of the FiFo memory read pointer, the value of the FiFo memory write pointer, and the value of the FiFo memory limit pointer are compared, and when the value of the FiFo memory write pointer, which is sequentially incremented, is greater than or equal to the value of the FiFo memory limit pointer, the value of the FiFo memory limit pointer is a first comparator that resets a memory write pointer; and a first comparator that compares the value of the FiFo memory read pointer with the value of the FiFo memory limit pointer, such that the value of the sequentially incremented FiFo memory read pointer is equal to the value of the FiFo memory limit pointer. a second comparator that resets the FiFo memory read pointer when the FiFo memory read pointer is greater than or equal to the FiFo memory;
The area after the address indicated by the iFo memory limit pointer is treated as a stack memory area, and a stack pointer stores an address to be accessed by sequentially decrementing the stack memory area from the memory final address by the arithmetic processing unit, the value of the stack pointer, and the stack memory area. comparing the values of the FiFo memory limit pointers, and when the value of the stack pointer matches the value of the FiFo memory limit pointer;
a third comparator that outputs fullness information of the stack memory area to the arithmetic processing unit; and empty information of the FiFo memory area of the memory by inputting the value of the FiFo memory write pointer and the value of the FiFo memory read pointer; a FiFo memory management unit that manages full information; empty information of the FiFo memory management unit; empty information of the FiFo memory area that occurs at a certain time by inputting full information and a system clock;
A FiFo memory control device comprising: a FiFo memory size change control circuit that counts fullness information and changes the value of the FiFo memory limit pointer.
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 true JPS6212985A (en) 1987-01-21
JPH061632B2 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)

Cited By (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

Cited By (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
JPH061632B2 (en) 1994-01-05

Similar Documents

Publication Publication Date Title
JPH01237864A (en) Dma transfer controller
US5287471A (en) Data transfer controller using direct memory access method
US5287486A (en) DMA controller using a programmable timer, a transfer counter and an or logic gate to control data transfer interrupts
JPS6212985A (en) Fifo memory control device
US5889948A (en) Apparatus and method for inserting an address in a data stream through a FIFO buffer
US20020032846A1 (en) Memory management apparatus and method
EP0410382A2 (en) Data transfer controller using direct memory access method
JPS63118949A (en) Information processor
JP2734581B2 (en) Control method of input / output control unit
JPS5999552A (en) Microcomputer
JP2000215154A (en) Dma controller
JPH01271861A (en) Direct memory access controller
JPS6218940B2 (en)
JPH01109837A (en) Fifo device for frame reception
JPH02236764A (en) Dma controller
JPH0876875A (en) Microcomputer application system
JPH02173828A (en) Interruption process system
JPH03152651A (en) Information transmission system
JP2707256B2 (en) Micro computer
KR920010971B1 (en) Input and output processor using data buffer ram
JPH02118892A (en) Processor
JPH03142774A (en) Memory applying circuit
JPS6438837A (en) Controller for priority level of data
JPS62293451A (en) Operating system for queue file
EP0278263A3 (en) Multiple bus dma controller