JPH0315772B2 - - Google Patents

Info

Publication number
JPH0315772B2
JPH0315772B2 JP16535081A JP16535081A JPH0315772B2 JP H0315772 B2 JPH0315772 B2 JP H0315772B2 JP 16535081 A JP16535081 A JP 16535081A JP 16535081 A JP16535081 A JP 16535081A JP H0315772 B2 JPH0315772 B2 JP H0315772B2
Authority
JP
Japan
Prior art keywords
address
memory cell
word
chain
memory cells
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
Application number
JP16535081A
Other languages
Japanese (ja)
Other versions
JPS5866157A (en
Inventor
Masahiro Yamamoto
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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP16535081A priority Critical patent/JPS5866157A/en
Publication of JPS5866157A publication Critical patent/JPS5866157A/en
Publication of JPH0315772B2 publication Critical patent/JPH0315772B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0253Garbage collection, i.e. reclamation of unreferenced memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Devices For Executing Special Programs (AREA)

Description

【発明の詳細な説明】 本発明はリスト構造データを記憶する記憶セル
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a memory cell for storing list structured data.

記号処理や人工知能に関するプログラム作成の
ための言語として、LISPに代表されるリスト処
理言語が広く用いられている。
List processing languages such as LISP are widely used as languages for creating programs related to symbol processing and artificial intelligence.

LISPなどのリスト処理言語では、制御部、デ
ータ部、ポインタ部から成るリストセルを基本に
してプログラムやリスト構造データを記憶装置内
で実現している。
In list processing languages such as LISP, programs and list structure data are realized in a storage device based on list cells consisting of a control section, a data section, and a pointer section.

第1図は記憶装置内の1語を制御部、データ
部、ポインタ部として使用し、100から102番地の
3語を用いてリストデータ(ABC)を表現した
ものである。そして、データ部は実際のデータ
A、B、Cが蓄積されている場所を指しており、
102番地のポインタ部の“NIL”はリストデータ
の最後であることを示している。
In FIG. 1, one word in the storage device is used as a control section, a data section, and a pointer section, and list data (ABC) is expressed using three words from addresses 100 to 102. The data section indicates the location where the actual data A, B, and C are stored.
“NIL” in the pointer section at address 102 indicates the end of the list data.

このようなリストセルを用いてリスト処理が進
むと、一時的に使用されたワーキング用のリスト
セルが記憶装置に使用されないまま散在する結果
になる。処理中において、リストセルが必要にな
ると、使用可能セルのリストから取られ、使われ
て行く。しかし、この使用可能セルが全て使いは
たされると、記憶装置内の必要のないリストセル
を回収することが必要になる。この動作をガーベ
ツジ コレクシヨン(GC:くず集め)と呼ばれ
る。
When list processing proceeds using such list cells, temporarily used working list cells end up being scattered unused in the storage device. During processing, as list cells are needed, they are taken from the list of available cells and used. However, once all of the available cells are used up, it becomes necessary to retrieve the unnecessary list cells in the storage device. This operation is called garbage collection (GC).

このGC動作は一般に次の2つのステツプで行
われる。
This GC operation is generally performed in the following two steps.

(1) 計算機内の制御用レジスタや演算処理用のス
タツク中のポインタデータ、など、リスト処理
に関連する全てのレジスタを基に、これらのレ
ジスタから連結されたリストセルを探索し、制
御部を有効状態(“1”)にする。
(1) Based on all registers related to list processing, such as control registers in the computer and pointer data in the stack for arithmetic processing, search for list cells connected from these registers and execute the control unit. Set to valid state (“1”).

(2) 記憶装置内の全リストセルを順次走査し、制
御部が無効状態(“0”)の語を選び出し、チエ
ーンづけを行つて、使用可能セルのリストへ登
録する。
(2) All list cells in the storage device are sequentially scanned, and the control unit selects words in an invalid state (“0”), performs chaining, and registers them in the list of available cells.

上記2つのステツプは、従来、1語づつ、直列
に探索することによつて達成されている。特に、
第2ステツプは、記憶装置の全ての語を1語づつ
読み出し、制御部が無効状態の語を判定し、使用
可能セルのリストへ接続することによつて実現さ
れていた。従つて、記憶装置の語容量が大きくな
ると非常に多くの時間を必要とし、リスト処理性
能の低下の最大の原因であつた。
The above two steps are conventionally accomplished by serially searching one word at a time. especially,
The second step was accomplished by reading all the words in the memory one by one, and the controller determining which words were in an invalid state and connecting them to the list of available cells. Therefore, when the word capacity of a storage device becomes large, a very large amount of time is required, which is the biggest cause of deterioration in list processing performance.

本発明の目的は、上記第2ステツプの動作を従
来の方式で実現した場合の欠点を解決し、高速に
GC動作を行う機構を内蔵する記憶セルを提供す
ることである。
It is an object of the present invention to solve the drawbacks of the above-mentioned second step when realized by the conventional method, and to achieve high-speed operation.
An object of the present invention is to provide a memory cell having a built-in mechanism for performing a GC operation.

更に、本発明の目的は、本記憶セルを複数個接
続し、大容量の語を備え、且つ、GC処理を高速
に行える記憶装置を提供することである。
A further object of the present invention is to provide a memory device that connects a plurality of memory cells, has a large capacity of words, and can perform GC processing at high speed.

即ち、本発明によれば、 1 順次アドレスづけされた番地によつてデータ
の書き込みおよび読み出しを行える複数語のメ
モリセルと、該メモリセルのブロツクアドレス
を貯えるブロツクアドレス蓄積手段と、該メモ
リセルの1語を分割して制御部、データ部、ポ
インタ部として使用し、制御部が無効状態を示
す語をチエーンづけする制御を行う制御手段
と、チエーンづけされたメモリセルの最初と最
後の語アドレスを貯えるチエーンアドレス蓄積
手段と、チエーンづけを完了したことを示す指
示手段とを具備し、外部から起動信号が与えら
れると、該メモリセルの全ての語をアドレス順
に探索し、制御部や無効状態の語をチエーンで
接続し、且つ該チエーンアドレス蓄積手段と指
示手段をセツトすることを可能にした記憶セ
ル。
That is, according to the present invention, 1. a plurality of word memory cells in which data can be written and read by sequentially addressed addresses, block address storage means for storing block addresses of the memory cells, and memory cells for storing block addresses of the memory cells; A control means that divides one word and uses it as a control section, a data section, and a pointer section, and controls the control section to chain words indicating an invalid state, and the first and last word addresses of the chained memory cells. The device is equipped with a chain address storage means for storing a chain address, and an instruction means for indicating that chaining is completed, and when an activation signal is given from the outside, all words of the memory cell are searched in the order of addresses, and the control unit and invalid state are searched. A memory cell which connects words in a chain and makes it possible to set the chain address storage means and instruction means.

2 請求範囲1の記憶セルを複数個カスケードに
接続し、外部からのセツト信号が起動される
と、チエーンアドレス蓄積手段が示すメモリセ
ルの語のポインタ部に、他の記憶セルのチエー
ンアドレス蓄積手段が示すアドレスデータをセ
ツトする制御機能を請求範囲1の制御手段に付
加し、全ての記憶セルを同時にチエーンづけ可
能にした記憶装置が得られる。
2. When a plurality of memory cells according to claim 1 are connected in cascade, and a set signal from the outside is activated, the word pointer section of the memory cell indicated by the chain address storage means is set to the chain address storage means of other memory cells. By adding a control function for setting the address data indicated by to the control means of claim 1, a memory device is obtained in which all memory cells can be chained simultaneously.

次に、実施例を用いて詳細に説明する。 Next, a detailed explanation will be given using examples.

第2図は本発明を用いた記憶セルの実施例のブ
ロツク図を示し、メモリセル1、ブロツクアドレ
ス蓄積手段2、制御手段3、チエーンアドレス蓄
積手段4と5、指示手段6から成つている。
FIG. 2 shows a block diagram of an embodiment of a memory cell using the present invention, which comprises a memory cell 1, block address storage means 2, control means 3, chain address storage means 4 and 5, and instruction means 6.

メモリセル1は1語33ビツト、8語から成り、
上位1ビツトは制御部、次の16ビツトはデータ
部、次の16ビツトはポインタ部として使用され
る。このメモリセルは市販のICメモリと同様に
実現されるもので、3ビツトのアドレス信号線7
に従つて、リードライト信号線8の指示に基づく
書き込みと読み出しの動作が行われる。この時、
書き込まれるデータは信号線9を介して入力さ
れ、また読み出されたデータは信号線10を介し
て取り出される。
Memory cell 1 consists of 8 words with 33 bits per word.
The upper 1 bit is used as a control section, the next 16 bits are used as a data section, and the next 16 bits are used as a pointer section. This memory cell is realized in the same way as a commercially available IC memory, and has a 3-bit address signal line 7.
Accordingly, write and read operations are performed based on instructions from the read/write signal line 8. At this time,
Data to be written is input via signal line 9, and data to be read is taken out via signal line 10.

ブロツクアドレス蓄積手段2は16ビツトのレジ
スタで、市販のD型フリツプフロツプ用ICを用
いて実現される。そして、ブロツクアドレス蓄積
手段2は入力データ信号線9を介して、16ビツト
のブロツクアドレスがセツトされる。
The block address storage means 2 is a 16-bit register and is realized using a commercially available D-type flip-flop IC. A 16-bit block address is set in the block address storage means 2 via the input data signal line 9.

制御手段3は、二進カウンタ31、二進加算器
32、セレクタ33と34、制御回路35から成
つている。二進カウンタ31は3ビツトの長さ
で、市販のバイナリカウンタ用IC(例えば、
SN74191)を用いて実現される。この二進カウン
タ31は、制御回路35からの制御信号101に
より、7に初期化されると共に、遂次、6,5,
……0まで減カウントされる。
The control means 3 comprises a binary counter 31, a binary adder 32, selectors 33 and 34, and a control circuit 35. The binary counter 31 has a length of 3 bits and is a commercially available binary counter IC (for example,
SN74191). This binary counter 31 is initialized to 7 by the control signal 101 from the control circuit 35, and is sequentially initialized to 6, 5,
...The count is decremented to 0.

二進加算器32は16ビツト長で、市販の論理演
算ユニツト(例えば、SN74181)を用いることに
より実現される。そして、下位ビツトからのキヤ
リ入力を“0”とすることにより、ブロツクアド
レス蓄積手段2のデータ(“BA”)と二進カウン
タ31のデータ(“1”)を入力し、二進加算器3
2はアドレス値“BA+i”を出力する。二進加
算器32の出力は信号線202を介して、チエー
ンアドレス蓄積手段5と制御回路35の中の一時
アドレスレジスタ36へ導かれる。
The binary adder 32 is 16 bits long and is implemented using a commercially available logic unit (eg, SN74181). Then, by setting the carry input from the lower bit to "0", the data ("BA") of the block address storage means 2 and the data ("1") of the binary counter 31 are input, and the data ("1") of the binary counter 31 is inputted.
2 outputs the address value "BA+i". The output of the binary adder 32 is led via the signal line 202 to the chain address storage means 5 and to the temporary address register 36 in the control circuit 35.

セレクタ33と34は市販のセレクタ用IC(例
えば、SN74158)で実現され、それぞれ、3ビツ
トおよび16ビツト分備えている。
Selectors 33 and 34 are realized by commercially available selector ICs (for example, SN74158), and have 3 bits and 16 bits, respectively.

制御回路35は市販のアンドゲート、ナンドゲ
ート、D型フリツプフロツプなどで構成され、特
に、16ビツト長の一時アドレスレジスタ36と制
御部判定ゲート37を含んでいる。一時アドレス
レジスタ36は16ビツトのD型フリツプフロツプ
で構成される。又、制御部判定ゲート37は2入
力アンドゲートを組み合せることにより構成され
る。
The control circuit 35 is constructed of a commercially available AND gate, NAND gate, D-type flip-flop, etc., and includes, in particular, a 16-bit temporary address register 36 and a control section determination gate 37. Temporary address register 36 is comprised of a 16-bit D-type flip-flop. Further, the control section determination gate 37 is constructed by combining two-input AND gates.

チエーンアドレス蓄積手段4と5は共に、16ビ
ツトのレジスタで、市販のD型フリツプフロツプ
で、又、指示手段6は1ビツトのフリツプフロツ
プで、同時に市販のD型フリツプフロツプで構成
される。そして、これらは、それぞれ信号線1
2,13,14を介して、記憶セルの外部へ取り
出すことが可能である。
The chain address storage means 4 and 5 are both 16-bit registers, which are commercially available D-type flip-flops, and the indicating means 6 is a 1-bit flip-flop, which is also a commercially available D-type flip-flop. And these are each signal line 1
2, 13, and 14, it is possible to take out the data to the outside of the memory cell.

次に、制御回路35の動作について詳細に述べ
る。
Next, the operation of the control circuit 35 will be described in detail.

第1図のメモリセル1において、現在、上記
GC動作の第1ステツプが完了し、BA+0、BA
+3、BA+5番地の語が有効状態、即ち、制御
部が“1”にされているとする。
In memory cell 1 in FIG. 1, currently the above
The first step of GC operation is completed, BA+0, BA
Assume that the word at address +3, BA+5 is in a valid state, that is, the control unit is set to "1".

この動作は、図示されない外部の制御回路によ
つて、次のようにして行われる。
This operation is performed by an external control circuit (not shown) as follows.

リスト処理に関与する制御レジスタを1つ選
び、これが示す値をアドレスとして、記憶セルに
与えて該当する語を読み出す。そして、その制御
部を“1”にセツトする。次に、この語のポイン
タ部をアドレスとして用いて、それが指す語を取
り出す。そして、その制御部“1”にセツトす
る。この動作を、ポインタ部がリストの終りを示
す語まで続け、その後に出合うと終了する。
One of the control registers involved in list processing is selected, and the value indicated by this register is applied to the memory cell as an address to read out the corresponding word. Then, the control section is set to "1". Next, the pointer part of this word is used as an address to retrieve the word it points to. Then, the control section is set to "1". This operation continues until the pointer section indicates the end of the list, and then ends.

以上の動作を、リスト処理に関連する全てのレ
ジスタを基に行うことにより、達成される。
The above operations are achieved by performing them based on all registers related to list processing.

外部から起動信号が信号線11に引加される
と、信号線101により、二進カウンタ31が
“7”にセツトされる。次に、信号線102が
“1”となり、GC動作の第2ステツプの状態にな
る。
When a starting signal is applied to the signal line 11 from the outside, the binary counter 31 is set to "7" by the signal line 101. Next, the signal line 102 becomes "1", and the second step of the GC operation is entered.

二進カウンタ31のデータ(“7”)がセレクタ
33を通り、信号線203を介して、BA+7番
地のアドレスである記憶セル内アドレス値“7”
がメモリセル1に与えられ、信号線8により、読
み出し動作が指示される。読み出されたデータは
信号線10を介して、制御回路35に与えられ、
制御回路35はBA+7番地の語の制御部を判定
する。この判定は、制御部判定ゲート37を用い
て、信号線10の制御部(ビツト32)ビツトが
“1”か“0”かをしらべることにより行う。
BA+7番地の語の制御部は“1”のため、有効
状態にある語であることが判定されるため、この
語に対しては何ら処理しない。次に二進カウンタ
31を“6”にし、BA+6番地の語を取り出す
と制御部が“0”のため、無効状態であることが
判る。この時、二進加算器32からアドレス
“BA+6”が出力されており、信号線202を
通じて、このアドレス値をチエーンアドレス蓄積
手段5と一時アドレスレジスタ36にセツトす
る。この結果、チエーンアドレス蓄積手段5は本
記憶セルの最大アドレスを持つ無効状態語のアド
レスを保持することになる。
The data (“7”) of the binary counter 31 passes through the selector 33 and is transferred via the signal line 203 to the address value “7” in the memory cell, which is the address at address BA+7.
is applied to the memory cell 1, and a read operation is instructed by the signal line 8. The read data is given to the control circuit 35 via the signal line 10,
The control circuit 35 determines the control section of the word at address BA+7. This determination is made by checking whether the control unit (bit 32) bit of the signal line 10 is "1" or "0" using the control unit determination gate 37.
Since the control unit for the word at address BA+7 is "1", it is determined that the word is in a valid state, so no processing is performed on this word. Next, when the binary counter 31 is set to "6" and the word at address BA+6 is taken out, the control section is "0", indicating that it is in an invalid state. At this time, the address "BA+6" is output from the binary adder 32, and this address value is set in the chain address storage means 5 and the temporary address register 36 through the signal line 202. As a result, the chain address storage means 5 holds the address of the invalid state word having the maximum address of this memory cell.

次に、二進カウンタ31を“5”にし、メモリ
セルのBA+5番地の語を取り出すと、有効状態
を示しているので何ら処理せず、二進カウンタ3
1を“4”にする。そしてメモリセルのBA+4
番地の語を取り出すと無効状態であることが判
る。このため、信号線103を“1”にして一時
アドレスレジスタ36のデータを信号線205,
201を介してメモリセル1に送り、さらに、二
進カウンタ31が示すメモリセル内アドレス
“4”を信号線203に与え、BA+4番地の語
のポインタ部(ビツト15から0)にアドレス値
“BA+6”を書き込む。その後、二進加算器3
2の出力データであるアドレス値“BA+4”を
一時アドレスレジスタ36にセツトする。この時
BA+4の語は最初の無効状態でないため、チエ
ーンアドレス蓄積手段5にはセツトしない。
Next, when the binary counter 31 is set to "5" and the word at address BA+5 of the memory cell is taken out, it shows a valid state, so no processing is done and the binary counter 31 is read out.
Change 1 to “4”. And memory cell BA+4
When the address word is retrieved, it is found that it is in an invalid state. Therefore, the signal line 103 is set to "1" and the data in the temporary address register 36 is transferred to the signal line 205,
Furthermore, the memory cell address "4" indicated by the binary counter 31 is given to the signal line 203, and the address value "BA+6" is sent to the pointer part (bits 15 to 0) of the word at address BA+4. ”. Then, binary adder 3
The address value "BA+4", which is the output data of step 2, is set in the temporary address register 36. At this time
Since the word BA+4 is not in the first invalid state, it is not set in the chain address storage means 5.

上記と同様な処理がBA+3、BA+2、BA+
1番地の語に対して行われると、第2図に示され
るように、BA+2番地の語のポインタ部は
“BA+4”、BA+1番地の語のポインタ部は
“BA+2”にセツトされ、且つ、一時アドレス
レジスタ36は“BA+1”にセツトされる。
The same processing as above is BA+3, BA+2, BA+
When this is performed on the word at address 1, as shown in Figure 2, the pointer field of the word at address BA+2 is set to "BA+4", the pointer field of the word at address BA+1 is set to "BA+2", and the pointer field of the word at address BA+1 is set to "BA+2", and Address register 36 is set to "BA+1".

次に二進カウンタが“1”から“0”になり、
BA+0番地の語の制御部から、BA+0番地の
語は有効状態であることが判る。又、二進カウン
タ31が“0”となつたことから、メモリセル1
の全ての語の処理が終了したことが判る。
Next, the binary counter changes from “1” to “0”,
From the control unit for the word at address BA+0, it can be seen that the word at address BA+0 is in a valid state. Also, since the binary counter 31 becomes "0", the memory cell 1
It can be seen that the processing of all words has been completed.

この時、一時アドレスレジスタ36に蓄積され
ているアドレス“BA+1”が信号線204を介
してチエーンアドレス蓄積手段4にセツトされ
る。このため、チエーンアドレス蓄積手段4は本
記憶セルの中の最小アドレスを持つ無効状態語の
アドレスを保持することになる。さらに、指示手
段6にチエーンづけの完了を示すように“1”に
セツトする。
At this time, the address "BA+1" stored in the temporary address register 36 is set in the chain address storage means 4 via the signal line 204. Therefore, the chain address storage means 4 holds the address of the invalid state word having the smallest address in this memory cell. Furthermore, it is set to "1" so that the instruction means 6 indicates the completion of chaining.

以上の動作の結果、第2図に示されるように、
記憶セル1のBA+1、BA+2、BA+4、BA
+6番地の語がこの順にチエーンづけされ、且
つ、チエーンアドレス蓄積手段4と5はそれぞ
れ、最小の語アドレス“BA+1”と最大の語ア
ドレス“BA+6”を保存する。
As a result of the above operations, as shown in Figure 2,
BA+1, BA+2, BA+4, BA of memory cell 1
The words at address +6 are chained in this order, and the chain address storage means 4 and 5 respectively store the minimum word address "BA+1" and the maximum word address "BA+6".

制御回路35は以上の動作を制御するものであ
る。以上、記憶セルの構成と動作について詳細に
述べた。
The control circuit 35 controls the above operations. The configuration and operation of the memory cell have been described above in detail.

次に、この記憶セルを複数個接続し、大容量の
記憶装置を構成し、高速にGC処理を行う場合に
ついて述べる。
Next, a case will be described in which a plurality of these memory cells are connected to form a large-capacity memory device and GC processing is performed at high speed.

第3図は上記記憶セルを3個用いた記憶装置の
ブロツクを示す。又、これらの全体を制御する制
御回路が備えられているものとする。先ず最初に
本制御回路により、各記憶セルA,B,Cのブロ
ツクアドレスとして、それぞれ、100、200、300
番地が設定される。次に、INIT信号11を全記憶
セルA,B,Cに与え、記憶セル内のチエーンづ
けを行う。その結果が第3図に示される。そし
て、各記憶セルA,B,Cからのチエーンづけ完
了信号である指示手段6の出力STAT−OUT信
号14をもとに、全セルでチエーンづけが完了する
のを待つ。チエーンづけが完了すると、この状態
で、全ての記憶セルA,B,Cに対して、SET
信号線15を動作状態にして、記憶セル間のチエ
ーンづけを行わせる。
FIG. 3 shows a block of a memory device using three of the above memory cells. It is also assumed that a control circuit is provided to control all of these. First, this control circuit sets the block addresses of each memory cell A, B, and C to 100, 200, and 300, respectively.
The street address is set. Next, the INIT signal 11 is applied to all memory cells A, B, and C to perform chaining within the memory cells. The results are shown in FIG. Then, based on the output STAT-OUT signal 14 of the instruction means 6, which is a chaining completion signal from each memory cell A, B, and C, it waits until chaining is completed in all cells. When chaining is completed, all memory cells A, B, and C are set in this state.
The signal line 15 is activated to perform chaining between memory cells.

次に、この動作を詳細に説明する。 Next, this operation will be explained in detail.

記憶セルAのデータ入力信号線9は記憶セルB
のチエーンアドレス蓄積手段4の出力線12と接
続され、記憶セルBのリストセルチエーンの最小
の語アドレス(“200”番地)が供給されている。
この時、第2図の記憶セルにおいて、信号線15
を介してセツト信号が与えられると、制御信号1
04が有効状態となり、信号線9,201を介し
て、アドレスデータ“200”がメモリセル1に導
かれる。又、セレクタ33によつて、チエーンア
ドレス蓄積手段5のデータが選択されて、メモリ
セル1にアドレス“106”が導かれる。そして、
信号線8を書き込み状態にすることにより、記憶
セルAの106番地の語のポインタ部は“200”番地
にセツトされ、記憶セルAは記憶セルBにチエー
ンづけされたことになる。同時に、記憶セルBと
Cのチエーンづけも行われる。又、記憶セルAの
チエーンアドレス蓄積手段4のデータにより、リ
ストセルチエーンの最初を知ることができる。さ
らに、記憶セルCのデータ入力信号線9にNILを
示す値を供給して、チエーンアドレス蓄積手段5
が保持している記憶セルCの306番地の語のポイ
ンタ部には“NIL”がセツトされ、リストセルチ
エーンの最後を示すことができる。
Data input signal line 9 of memory cell A is connected to memory cell B
The memory cell B is connected to the output line 12 of the chain address storage means 4, and is supplied with the minimum word address (address "200") of the list cell chain of the memory cell B.
At this time, in the memory cell shown in FIG.
When the set signal is applied via the control signal 1
04 becomes valid, and address data "200" is guided to the memory cell 1 via the signal lines 9 and 201. Further, the data in the chain address storage means 5 is selected by the selector 33, and the address "106" is led to the memory cell 1. and,
By putting the signal line 8 into the write state, the pointer section of the word at address 106 of memory cell A is set to address "200", and memory cell A is chained to memory cell B. At the same time, storage cells B and C are also chained. Furthermore, the beginning of the list cell chain can be known from the data in the chain address storage means 4 of the memory cell A. Further, a value indicating NIL is supplied to the data input signal line 9 of the memory cell C, and the chain address storage means 5
"NIL" is set in the pointer field of the word at address 306 of the memory cell C held by the memory cell C, which can indicate the end of the list cell chain.

以上、1つの記憶セルと、複数個の記憶セルか
ら成る記憶装置の構成と動作について説明した。
以上の説明から明らかなように、本発明を用いた
記憶セルを使用することにより、高速にGC動作
を行える。
The configuration and operation of a memory device including one memory cell and a plurality of memory cells have been described above.
As is clear from the above description, by using the memory cell according to the present invention, GC operation can be performed at high speed.

以上、本発明を用いた一実施例について述べ
た。
An embodiment using the present invention has been described above.

従つて、本記憶セルのメモリセルのビツト長、
語長は単に一例であり、どのような構成であつて
も良い。
Therefore, the bit length of the memory cell of this memory cell,
The word length is just an example and may have any structure.

又、ブロツクアドレス蓄積手段2は動的に可能
な形式(レジスタ形式)をとつているが、ROM
形式のものであつても良い。
In addition, the block address storage means 2 has a dynamically possible format (register format), but the ROM
It may be of any format.

又、本実施例でのチエーンづけ処理は、記憶セ
ル内では一語づつ直列に行われているが、複数個
のブロツクに分け、並列に行つても良い。
Furthermore, although the chaining process in this embodiment is carried out serially one word at a time within the memory cell, it may be divided into a plurality of blocks and carried out in parallel.

又、本実施例の記憶装置を構成するための記憶
セルの結合は一例であり、物理的に順番でない結
合であつても良い。
Further, the combination of memory cells for configuring the storage device of this embodiment is merely an example, and the combination may be performed out of physical order.

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

第1図はリストデータの構造を示すブロツク
図、第2図は本発明の記憶セルの実施例を示すブ
ロツク図、第3図は本発明の記憶セルを用いた記
憶装置の実施例を示すブロツク図である。 第2図において、参照数字1はメモリセル、2
はブロツクアドレス蓄積手段、3は制御手段、4
と5はチエーンアドレス蓄積手段、6は指示手段
をそれぞれ示す。
FIG. 1 is a block diagram showing the structure of list data, FIG. 2 is a block diagram showing an embodiment of the memory cell of the present invention, and FIG. 3 is a block diagram showing an embodiment of a storage device using the memory cell of the present invention. It is a diagram. In FIG. 2, reference numeral 1 is a memory cell, 2
3 is a block address storage means, 3 is a control means, and 4 is a block address storage means.
and 5 indicate chain address storage means, and 6 indicates instruction means, respectively.

Claims (1)

【特許請求の範囲】 1 順次アドレスづけされた番地によつてデータ
の書き込みおよび読み出しを行える複数語のメモ
リセルと、該メモリセルのブロツクアドレスを貯
えるブロツクアドレス蓄積手段と、該メモリセル
の1語を分割して制御部、データ部、ポインタ部
として使用し、制御部が無効状態を示す語をチエ
ーンづけする制御を行う制御手段と、チエーンづ
けされたメモリセルの最初と最後の語アドレスを
貯えるチエーンアドレス蓄積手段と、チエーンづ
けを完了したことを示す指示手段とを具備し、外
部から起動信号が与えられると、該メモリセルの
全ての語をアドレス順に探索し、制御部が無効状
態の語をチエーンで接続し、且つ該チエーンアド
レス蓄積手段と指示手段をセツトすることを特徴
とする記憶セル。 2 順次アドレスづけされた番地によつてデータ
の書き込みおよび読み出しを行える複数語のメモ
リセルと、該メモリセルのブロツクアドレスを貯
えるブロツクアドレス蓄積手段と、該メモリセル
の1語を分割して制御部、データ部、ポインタ部
として使用し、制御部が無効状態を示す語をチエ
ーンづけする制御を行う第1の制御手段と、チエ
ーンづけされたメモリセルの最初と最後の語アド
レスを貯えるチエーンアドレス蓄積手段と、チエ
ーンづけを完了したことを示す指示手段と、該チ
エーンアドレス蓄積手段が示すメモリセルの語の
ポインタ部に入力された他の記憶セルのチエーン
アドレス蓄積手段が示すアドレスデータをセツト
する第2の制御手段とを具備し、外部から起動信
号が与えられると、該メモリセルの全ての語をア
ドレス順に探索し、制御部が無効状態の語をチエ
ーンで接続し、且つ該チエーンアドレス蓄積手段
と指示手段をセツトするとともに、該チエーンア
ドレス蓄積手段が示すメモリセルの語のポインタ
部へ入力された他の記憶セルのチエーンアドレス
蓄積手段が示すアドレスデータをセツトすること
を特徴とする記憶セル。
[Scope of Claims] 1. A plurality of word memory cells in which data can be written and read by sequentially addressed addresses, block address storage means for storing block addresses of the memory cells, and one word memory cell of the memory cells. is divided and used as a control section, a data section, and a pointer section, and the control section stores the first and last word addresses of the chained memory cells. It is equipped with a chain address storage means and an instruction means for indicating that chaining is completed, and when an activation signal is given from the outside, all the words of the memory cell are searched in address order, and the control section searches for words in an invalid state. 1. A memory cell characterized in that the memory cells are connected in a chain, and the chain address storage means and instruction means are set. 2. A plurality of word memory cells in which data can be written and read by sequentially addressed addresses, block address storage means for storing block addresses of the memory cells, and a control unit that divides one word of the memory cells. , a first control means which is used as a data part and a pointer part, and which controls the control part to chain words indicating an invalid state; and a chain address storage which stores the first and last word addresses of the chained memory cells. means for indicating that chaining has been completed; and a step for setting address data indicated by the chain address accumulation means of another memory cell input to the word pointer portion of the memory cell indicated by the chain address accumulation means. 2 control means, when an activation signal is applied from the outside, all the words of the memory cells are searched in address order, the control section connects the words in the invalid state in a chain, and the chain address storage means 1. A memory cell characterized in that the instruction means sets the address data indicated by the chain address accumulation means of another memory cell input to the pointer section of the word of the memory cell indicated by the chain address accumulation means.
JP16535081A 1981-10-16 1981-10-16 Storage cell Granted JPS5866157A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16535081A JPS5866157A (en) 1981-10-16 1981-10-16 Storage cell

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16535081A JPS5866157A (en) 1981-10-16 1981-10-16 Storage cell

Publications (2)

Publication Number Publication Date
JPS5866157A JPS5866157A (en) 1983-04-20
JPH0315772B2 true JPH0315772B2 (en) 1991-03-01

Family

ID=15810683

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16535081A Granted JPS5866157A (en) 1981-10-16 1981-10-16 Storage cell

Country Status (1)

Country Link
JP (1) JPS5866157A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60150145A (en) * 1984-01-13 1985-08-07 Nippon Telegr & Teleph Corp <Ntt> Memory space control system
US4616315A (en) * 1985-01-11 1986-10-07 Burroughs Corporation System memory for a reduction processor evaluating programs stored as binary directed graphs employing variable-free applicative language codes
US4598361A (en) * 1985-01-11 1986-07-01 Burroughs Corporation Allocator for a reduction processor evaluating programs stored as binary directed graphs employing variable-free applicative language codes

Also Published As

Publication number Publication date
JPS5866157A (en) 1983-04-20

Similar Documents

Publication Publication Date Title
EP0218523B1 (en) programmable access memory
EP0117344B1 (en) Memory system
JPH0248931B2 (en)
US4975872A (en) Dual port memory device with tag bit marking
JPH01500377A (en) Apparatus and method for providing a cache memory unit with write operations that utilize two system clock cycles
US5081608A (en) Apparatus for processing record-structured data by inserting replacement data of arbitrary length into selected data fields
US3771142A (en) Digital data storage system
JPH0414385B2 (en)
JPH0315772B2 (en)
CN1004306B (en) Information processing unit
JPS6142031A (en) Sorting processor
JPS6137654B2 (en)
Hollaar Specialized merge processor networks for combining sorted lists
US6243800B1 (en) Computer
JPH0363094B2 (en)
JPS60134937A (en) Address extension device
JPS6331809B2 (en)
JP2576589B2 (en) Virtual storage access control method
JP2590866B2 (en) Data retrieval device
SU491952A1 (en) Device for exchanging information between RAM and processor
JPH01106138A (en) Associative memory
JPS5972545A (en) Microprogram control system
JPS6180331A (en) Variable length data processor
JPS60122443A (en) Information processing unit
JPH02136946A (en) Cache memory control circuit