JPH0231418B2 - DEETACHUSHUTSUSHORISOCHI - Google Patents

DEETACHUSHUTSUSHORISOCHI

Info

Publication number
JPH0231418B2
JPH0231418B2 JP11016984A JP11016984A JPH0231418B2 JP H0231418 B2 JPH0231418 B2 JP H0231418B2 JP 11016984 A JP11016984 A JP 11016984A JP 11016984 A JP11016984 A JP 11016984A JP H0231418 B2 JPH0231418 B2 JP H0231418B2
Authority
JP
Japan
Prior art keywords
data
bytes
storage means
address
ram
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
JP11016984A
Other languages
Japanese (ja)
Other versions
JPS60254238A (en
Inventor
Hiroshi Oota
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 JP11016984A priority Critical patent/JPH0231418B2/en
Publication of JPS60254238A publication Critical patent/JPS60254238A/en
Publication of JPH0231418B2 publication Critical patent/JPH0231418B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)

Description

【発明の詳細な説明】 (技術分野) 本発明は命令語処理等に用いるデータ抽出処理
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to a data extraction processing device used for command word processing and the like.

(従来技術) 従来の命令語処理等に用いるデータ抽出処理装
置は、最小必要とするp(正整数)バイトの命令
語に対して少くとも3pバイト以上の命令語バツ
フアを持ち、記憶装置から読み出されてくる2p
バイトのデータをこのバツフアに格納し、pバイ
ト以上の空きが生じている場合には、後続の2p
バイトのデータを読み出すとともに命令語バツフ
アを遂時左詰めにして行き、新しい2pバイトの
データを格納するようにしている。3pバイト以
上の命令語バツフアにおいて、pバイトや2pバ
イト分の左シフトは膨大な接続配線と選択回路と
選択制御回路とを必要とする。
(Prior art) A data extraction processing device used for conventional instruction word processing has an instruction word buffer of at least 3p bytes for the minimum required instruction word of p (positive integer) bytes, and has an instruction word buffer of at least 3p bytes. 2p served
Bytes of data are stored in this buffer, and if there is more than p bytes of free space, the subsequent 2p
As the byte of data is read out, the instruction word buffer is left-justified, and a new 2p byte of data is stored. In an instruction word buffer of 3p bytes or more, shifting to the left by p or 2p bytes requires an enormous amount of connection wiring, selection circuits, and selection control circuits.

また、他の従来のデータ抽出処理装置は、最小
必要とするpバイトの命令語に対して2pバイト
の命令語バツフアとm(正整数)語×2pバイトの
レジスタフアイルとを持ち、2pバイトの命令語
バツフアには、前記レジスタフアイルの所望の位
置から連続する2pバイトを読み出して格納し、
前記レジスタフアイルを使い切つてpバイト以下
のデータが残されるときは、このpバイト分のみ
2pバイトの命令語バツフアの前半pバイトに格
納し、前記レジスタフアイルが空になつた時点
で、次のメモリアクセスを行い、連続するm語×
2pバイトのデータを記憶装置に要求し、レジス
タフアイルに格納が始つた段階かまたは格納が終
了した段階で、先頭のpバイトのデータをレジス
タフアイルから取り出し、命令語バツフアの後半
pバイトに格納して、2pバイトの命令語を得て
いる。この装置では、レジスタフアイル内のデー
タが使い尽されないと次のメモリアクセスができ
ないという欠点と、命令語バツフアが前半のpバ
イトが格納された時点から後半のpバイトが格納
されて有効な2pバイトのデータが揃うまで、ハ
ードウエアが専有された状態となり、高速な転送
処理ができないという欠点がある。
In addition, other conventional data extraction processing devices have a 2p byte instruction buffer and a register file of m (positive integer) words x 2p bytes for the minimum required p byte instruction words. Read and store consecutive 2p bytes from a desired position in the register file in the instruction word buffer;
When the register file is used up and less than p bytes of data remain, only the p bytes of data are left.
It is stored in the first half p bytes of a 2p byte instruction word buffer, and when the register file is empty, the next memory access is performed and consecutive m words x
Requests 2p bytes of data from the storage device, and when storage begins or ends in the register file, takes out the first p bytes of data from the register file and stores it in the latter p bytes of the instruction word buffer. As a result, a 2p byte instruction word is obtained. This device has the disadvantage that the next memory access cannot be performed until the data in the register file is used up, and the instruction word buffer is 2p bytes valid from the time when the first half p bytes are stored until the second half p bytes are stored. The disadvantage is that the hardware is occupied until all data is available, making it impossible to perform high-speed transfer processing.

(発明の目的) 本発明の目的は上述の欠点を除去したデータ抽
出処理装置を提供することにある。
(Object of the Invention) An object of the present invention is to provide a data extraction processing device that eliminates the above-mentioned drawbacks.

(発明の構成) 本発明の装置は、それぞれ2p(pは正整数)バ
イトの容量を有する第1および第2の格納手段
と、m(正整数)個の記憶領域を有し各該記憶領
域がそれぞれ2pバイトの容量を持つ第1の記憶
手段と、予め定めた周期で前記第1の記憶手段に
対する読出し動作と書込み動作とを交互に切り換
える切換え手段と、前記書込み動作期間中は書込
みアドレスを前記第1の記憶手段に供給して第2
の記憶手段からの2pバイトの書込みデータを格
納させ前記読出し動作期間中は読み出しアドレス
を前記第1の記憶手段に供給して前記第1の格納
手段にpバイトまたは2pバイトの読出しデータ
を格納させるアクセス手段と、前記第2の記憶手
段内の(2p×m)バイトのデータを2pバイトづ
つm回転送して前記第1の記憶手段に格納させる
メモリアクセス手段と、前記第1の格納手段内の
2pバイトのデータを直接または上位pバイトと
下位pバイトとを交換して前記第2の格納手段に
格納するアライメント手段と、現在前記第1の格
納手段に格納されている2pバイトのデータのう
ちの所望のpバイトと次に前記メモリアクセス手
段により前記第2の記憶手段から前記第1の記憶
手段に格納される新たな(2p×m)バイトのデ
ータのうちの所望のpバイトとを前記アライメン
ト手段に転送するために現在前記第1の格納手段
に格納されているデータが有効であることを表示
する表示手段とから構成される。
(Structure of the Invention) The device of the present invention includes first and second storage means each having a capacity of 2p (p is a positive integer) bytes, and m (positive integer) storage areas, each of which has a capacity of 2p (p is a positive integer) bytes. a first storage means each having a capacity of 2p bytes, a switching means for alternately switching between a read operation and a write operation for the first storage means at a predetermined period, and a write address during the write operation period. the first storage means and the second storage means;
During the read operation period, a read address is supplied to the first storage means to store p bytes or 2p bytes of read data in the first storage means. an access means, a memory access means for transferring (2p×m) bytes of data in the second storage means m times in units of 2p bytes and storing it in the first storage means; of
alignment means for storing 2p bytes of data directly or by exchanging upper p bytes and lower p bytes in the second storage means; and desired p bytes of new (2p×m) bytes of data to be stored from the second storage means to the first storage means by the memory access means. and display means for displaying that the data currently stored in the first storage means is valid for transfer to the alignment means.

(実施例) 次に本発明について図面を参照して詳細に説明
する。
(Example) Next, the present invention will be described in detail with reference to the drawings.

本発明の一実施例を示す第1図において、本実
施例は、主記憶装置1と、4バイト分のラツチ部
を内蔵し4語×4バイトの容量を持つ読出しおよ
び書込み可能メモリ(以下、RAMと称す)2と
データレジスタ3と、1マシンサイクルの半分の
周期でRAM3の読出し(リード)動作と書込み
(ライト)動作とを交互に切り換える切換え器4
と、前記ライト動作期間中はライト(書込み)ア
ドレスをRAM2に供給しライト(書込み)クロ
ツクにより4バイトの書込みデータを格納させ前
記リード動作期間中はリード(読出し)アドレス
をRAM2に供給し4バイトの前記ラツチ部を介
してRAM2の外部に読み出させるRAMアクセ
ス機構6と、主記憶アクセス制御機構7と、アラ
イメント器8と、残余インジケータ5と、RAM
2の左側2バイト分をアクセスするリード/ライ
トアドレス線100と、RAMの右側2バイト分
をアクセスするリード/ライトアドレス線101
と、アライメント選択線102と、インジケータ
線103と、主記憶データ読出し線104と、
RAMデータ読出し線105および106と、ア
ライメント線107および108とから構成され
る。
In FIG. 1 showing one embodiment of the present invention, this embodiment has a main memory 1 and a readable and writable memory (hereinafter referred to as (referred to as RAM) 2, a data register 3, and a switch 4 that alternately switches between read operation and write operation of the RAM 3 at a half cycle of one machine cycle.
During the write operation period, a write address is supplied to RAM2 to store 4 bytes of write data using the write clock, and during the read operation period, a read address is supplied to RAM2 to store 4 bytes of write data. A RAM access mechanism 6 for reading data out of the RAM 2 through the latch section of the RAM 2, a main memory access control mechanism 7, an alignment device 8, a remaining indicator 5, and a RAM
A read/write address line 100 accesses 2 bytes on the left side of RAM 2, and a read/write address line 101 accesses 2 bytes on the right side of RAM.
, an alignment selection line 102 , an indicator line 103 , a main memory data read line 104 ,
It is composed of RAM data read lines 105 and 106 and alignment lines 107 and 108.

第2図は第1図に示したRAM2、RAMアク
セス機構6、アライメント器8及びデータレジス
タ3の詳細図であり、それぞれ4語×2バイトか
らなるRAM本体部21および22と、それぞれ
2バイトからなるラツチ部23および24と、
RAM書込みアドレスポインタ(以下WPと略す)
格納部61と、RAM読出しアドレスポインタ
(以下RPと略す)格納部62と、WP入力データ
切換え器63と、RP入力データ切換え器64と、
上位2バイト読出しポインタ加算回路65と、上
位2バイトRAMアドレス切換え回路66と、下
位2バイトRAMアドレス切換え回路67と、書
込みポインタ更新回路68と、読出しポインタ更
新回路69と、上位2バイトRAMデータアライ
メント器81と、下位2バイトRAMデータアラ
イメント器82と、上位データレジスト31と、
下位データレジスタ32とを含む。本実施例につ
いて、以下、RAM2を命令バツフアとして使用
する例につき説明する。
FIG. 2 is a detailed diagram of the RAM 2, RAM access mechanism 6, alignment device 8, and data register 3 shown in FIG. latch parts 23 and 24,
RAM write address pointer (hereinafter abbreviated as WP)
A storage section 61, a RAM read address pointer (hereinafter abbreviated as RP) storage section 62, a WP input data switch 63, an RP input data switch 64,
Upper 2-byte read pointer addition circuit 65, upper 2-byte RAM address switching circuit 66, lower 2-byte RAM address switching circuit 67, write pointer update circuit 68, read pointer update circuit 69, and upper 2-byte RAM data alignment 81, a lower 2-byte RAM data alignment unit 82, an upper data register 31,
and a lower data register 32. Regarding this embodiment, an example in which RAM 2 is used as an instruction buffer will be described below.

今、命令アドレスが(4n+2)番地(nは0
以上の整数)であるとき、4n番地から始まる16
バイトのデータの命令語を主記憶手段1から取り
出し、命令バツフア2を介して、先頭から3バイ
ト目の4バイトデータをデータレジスタ3に格納
するための動作は以下のとおりである。メモリア
クセス制御機構7は4n番地から始まる16バイト
データの命令語を得るために主記憶装置1をアク
セスするとともに、格納部61に“00”なるWR
を設定し、格納部62に“001”なるRPを設定す
る。“00”のデータはWP入力データ切換え器6
3を介して、“001”のデータはRP入力データ切
換え器64を介してそれぞれ与えられる。主記憶
装置1はメモリアクセスに応答して、まず、4n
番地の4バイトのデータを転送してくる。リー
ド/ライト切換え器4は書込みサイクル時は1/2
マシンサイクルでWP格納部61の内容を選択す
るよう回路66を制御する。この結果、最初の書
込みサイクルで4バイトのデータは命令バツフア
21および22の“00”なるアドレスに2バイト
づつ格納される。次に主記憶装置1は(4n+4)
番地の4バイトのデータを転送してくる。リー
ド/ライト切換え器4は次の書込みサイクル時に
上述と同様にWP格納部61の内容を選択する。
このとき、WP格納部61の内容は前の書込みサ
イクル終了後の1/2マシンサイクルで書込みポイ
ンタ更新回路68により+1だけ加算されてい
る。これにより、2回目の書込みサイクルでは、
主記憶装置1から取り出された4バイトのデータ
は命令バツフア21および22の“01”なるアド
レスに2バイトづつ格納される。以下、同様に、
主記憶装置1の(4n+8)番地および(4n+12)
番地からの各4バイトのデータは命令バツフア2
1および22の“10”、“11”なるアドレスに2バ
イトづつ格納される。リード/ライト切換え器4
は、読出しサイクル時には、書込みサイクルとは
別の1/2マシンサイクルでRF格納部62の内容を
選択するよう回路66を制御する。命令バツフア
21および22を2バイトづつ上位と下位とに分
けて考える。RPは3ビツトで構成され、上位2
ビツトはRAMアドレスを示し、下位1ビツトは
上位命令バツフア21と下位命令バツフア22と
の選択に用いる。ここでは、RPは“001”である
ため、RAMアドレス“00”、下位命令バツフア
22を指定している。このRPの上位2ビツトは
回路67に与えられる。同時に、回路66には、
上位2バイト読出しポインタ加算回路65でRP
の上位2ビツトを+1加算した“01”が与えられ
る。主記憶装置1から4n番地及び(4n+4)番
地の内容が命令バツフア21および22に抽出さ
れた段階で、有効な読出しサイクルが開始され
る。読出しサイクルにおいて、ラツチ部23およ
び24へはそれぞれ切換え回路66および67か
らのアドレス“01”および“00”に応答して命令
バツフア21のアドレス“01”のデータおよび命
令バツフア22のアドレス“00”のデータが取り
出され、続いてRAMデータ読出線105および
106を介して上位2バイトRAMデータアライ
メント器81および下位2バイトRAMデータア
ライメント器82に転送される。RPの下位1ビ
ツトが“1”のときには、RAMデータアライメ
ント器81および82はそれぞれ下位RAMデー
タ読出し線106および上位RAMデータ読出し
線105が選択される。これにより、上位データ
レジスタ31および下位データレジスタ32には
アライメント線107および108を介してそれ
ぞれラツチ部24および23のデータが転送され
る。命令バツフア21の各2バイトデータを格納
アドレスの低い順にIB00,IB10,IB20およびIB30
とし、命令バツフア22の各2バイトデータを格
納アドレスの低い順にIB01,IB11,IB21および
IB31とすると、データレジスタ31および32に
格納されるデータはIB01およびIB10である。IB01
およびIB10は主記憶装置1の(4n+2)番地から
始まる4バイトのデータである。データレジスタ
31および32の内容が処理されたあとはRPは
読出しポインタ更新回路69により+2の加算が
行われ、更新されたRP“011”がRAM読出しア
ドレスポインタ入力データ切換え器64を介して
格納部62に設定される。上述と同様の動作で、
データレジスタ31および32にはそれぞれ主記
憶装置1の(4n+6)番地に対応する命令バツ
フア22および21のデータIB11およびIB20のデ
ータが、さらに、更新されるRP“101”により主
記憶装置1の(4n+10)番地に対応する命令バ
ツフア22および21のデータIB21およびIB30
格納される。さらに、更新されるRP“111”によ
り、記憶装置1の(4n+14番地)に対応する命
令バツフア22のデータIB31がラツチ部24に転
送された時点で、命令バツフア21および22は
空の状態となる。このとき、ラツチ部23には、
IB00の内容が格納される。この状態で、主記憶装
置1に次の16バイトのリードアクセスを行い、
(4n+16)番地から始まる16バイトのデータすな
わちIB00′,IB01′,IB10′,IB11′,IB21′,IB30

よびIB31′を上述と同様に命令バツフア21およ
び22に抽出する。ラツチ部24には有効な2バ
イトの残余バイトが格納されていることを示す残
余インジケータ5がオン状態に設定される。残余
インジケータ5がオンのときにはラツチ部24へ
のデータの格納が抑止される。この結果、主記憶
装置1の(4n+16)番地から始まる2バイトの
データIB00′のみがラツチ部23に格納され、こ
のあと、ラツチ部23および24の内容が、アラ
イメント器81および82でアライメントされ、、
レジスタ31および32に主記憶装置1の(4n
+14)番地に続く4バイトのデータIB31および
IB00′が格納されることになる。データレジスタ
31および32の内容が処理されたあと、RPは
+2加算され“111”の状態から“001”となる。
キヤリービツトは捨てられる。以下、同様に、
IB01′およびIB10′,IB11′およびIB20′の順でデータ
レジスタ31および32に取出される。
Now, the instruction address is (4n+2) (n is 0
(integer greater than or equal to), 16 starting from address 4n
The operation for retrieving a command word of byte data from the main storage means 1 and storing the third byte of 4-byte data from the head into the data register 3 via the command buffer 2 is as follows. The memory access control mechanism 7 accesses the main storage device 1 in order to obtain a command word of 16-byte data starting from address 4n, and also stores a WR of "00" in the storage section 61.
is set, and an RP of “001” is set in the storage unit 62. “00” data is WP input data switch 6
3, the data of "001" is applied via the RP input data switch 64, respectively. In response to the memory access, the main memory device 1 first responds to the 4n
Transfers 4 bytes of address data. Read/write switch 4 is 1/2 during write cycle
The circuit 66 is controlled to select the contents of the WP storage 61 in machine cycles. As a result, in the first write cycle, 4 bytes of data are stored in the instruction buffers 21 and 22 at addresses "00", 2 bytes each. Next, main memory 1 is (4n+4)
Transfers 4 bytes of address data. The read/write switch 4 selects the contents of the WP storage section 61 in the same manner as described above during the next write cycle.
At this time, the contents of the WP storage unit 61 are incremented by +1 by the write pointer update circuit 68 in 1/2 machine cycle after the end of the previous write cycle. As a result, in the second write cycle,
The 4-byte data taken out from the main memory 1 is stored in 2-byte units at addresses "01" in the instruction buffers 21 and 22. Similarly, below,
Addresses (4n+8) and (4n+12) of main storage device 1
Each 4-byte data from the address is stored in the instruction buffer 2.
Two bytes each are stored at addresses "10" and "11" of numbers 1 and 22. Read/write switch 4
controls the circuit 66 to select the contents of the RF storage section 62 during a read cycle in a 1/2 machine cycle different from the write cycle. Consider the instruction buffers 21 and 22 divided into upper and lower parts of 2 bytes each. RP consists of 3 bits, the upper 2
The bit indicates a RAM address, and the lower one bit is used to select between the upper instruction buffer 21 and the lower instruction buffer 22. Here, since RP is "001", RAM address "00" and lower instruction buffer 22 are specified. The upper two bits of this RP are applied to circuit 67. At the same time, circuit 66 has
RP with upper 2 byte read pointer addition circuit 65
``01'' is given by adding +1 to the upper two bits of . At the stage when the contents of addresses 4n and (4n+4) from the main memory 1 have been extracted to the instruction buffers 21 and 22, a valid read cycle is started. In the read cycle, data at address "01" of instruction buffer 21 and address "00" of instruction buffer 22 are sent to latch units 23 and 24 in response to addresses "01" and "00" from switching circuits 66 and 67, respectively. The data is then taken out and subsequently transferred to the upper 2-byte RAM data aligner 81 and the lower 2-byte RAM data aligner 82 via the RAM data read lines 105 and 106. When the lower one bit of RP is "1", RAM data aligners 81 and 82 select lower RAM data read line 106 and upper RAM data read line 105, respectively. As a result, data from latch sections 24 and 23 is transferred to upper data register 31 and lower data register 32 via alignment lines 107 and 108, respectively. Each 2-byte data of the instruction buffer 21 is stored in IB 00 , IB 10 , IB 20 and IB 30 in descending order of address.
Then, each 2-byte data of the instruction buffer 22 is stored in IB 01 , IB 11 , IB 21 and
Assuming IB 31 , the data stored in data registers 31 and 32 are IB 01 and IB 10 . IB01
and IB 10 is 4-byte data starting from address (4n+2) in main storage device 1. After the contents of the data registers 31 and 32 are processed, +2 is added to the RP by the read pointer update circuit 69, and the updated RP “011” is sent to the storage unit via the RAM read address pointer input data switch 64. It is set to 62. With the same operation as above,
The data registers 31 and 32 contain the data IB 11 and IB 20 of the instruction buffers 22 and 21 corresponding to address (4n+6) of the main memory 1, respectively. Data IB 21 and IB 30 of instruction buffers 22 and 21 corresponding to address (4n+10) are stored. Furthermore, when the data IB 31 of the instruction buffer 22 corresponding to address (4n+14) of the storage device 1 is transferred to the latch unit 24 due to the updated RP “111”, the instruction buffers 21 and 22 become empty. Become. At this time, the latch portion 23 has
The contents of IB 00 are stored. In this state, read access to the next 16 bytes to main memory device 1,
16 bytes of data starting from address (4n+16), i.e. IB 00 ′, IB 01 ′, IB 10 ′, IB 11 ′, IB 21 ′, IB 30
and IB 31 ' are extracted to instruction buffers 21 and 22 in the same manner as described above. The remaining indicator 5 indicating that two valid remaining bytes are stored in the latch unit 24 is set to the on state. When the remaining indicator 5 is on, storage of data into the latch section 24 is inhibited. As a result, only the 2-byte data IB 00 ' starting from address (4n+16) of the main memory device 1 is stored in the latch section 23, and after this, the contents of the latch sections 23 and 24 are aligned by the aligners 81 and 82. ,,
Registers 31 and 32 contain (4n
+14) 4-byte data following the address IB 31 and
IB 00 ′ will be stored. After the contents of data registers 31 and 32 are processed, RP is added by +2 and changes from "111" to "001".
Carry bits are discarded. Similarly, below,
IB 01 ′, IB 10 ′, IB 11 ′, and IB 20 ′ are taken out to data registers 31 and 32 in this order.

第3図はデータ抽出の他の例を示す図である。
今、主記憶装置1の4070番地から始まる16バイト
のデータ領域301の内容が命令バツフア2に抽
出される。このとき、4090番地から始まる4バイ
トのデータI0およびI1を取り出す場合には、ま
ず、バツフア2のデータI0が下位ラツチ部24に
取り出される。次に、4092番地から始まる16バイ
トのデータ領域304の内容が命令バツフア2に
抽出される。さらに、4092番地からの2バイトの
データI1は下位ラツチ部24のデータI0とともに
アライメントされ、データレジスタ3に取り出さ
れる。さらに、4094番地にある2バイトのデータ
I2と8194番地にある2バイトのデータI3との連続
4バイトの抽出をする場合には、バツフア2から
下位ラツチ部24にデータI2を取り出したあと、
記憶装置1から命令バツフア2に8194番地からの
16バイトのデータ領域305が後続のデータとし
て抽出される。次に、RAMラツチ部24データ
I2と命令バツフア2内のデータI3とはともにアラ
イメントされデータレジスタ3に抽出される。
FIG. 3 is a diagram showing another example of data extraction.
Now, the contents of the 16-byte data area 301 starting from address 4070 of the main memory device 1 are extracted to the instruction buffer 2. At this time, when taking out 4-byte data I 0 and I 1 starting from address 4090, data I 0 of buffer 2 is first taken out to lower latch section 24 . Next, the contents of the 16-byte data area 304 starting from address 4092 are extracted to the instruction buffer 2. Further, the 2-byte data I 1 from address 4092 is aligned with the data I 0 of the lower latch section 24 and taken out to the data register 3. Additionally, 2 bytes of data at address 4094
When extracting 4 consecutive bytes of data I 2 and 2 bytes of data I 3 at address 8194, after extracting data I 2 from buffer 2 to lower latch section 24,
From storage device 1 to instruction buffer 2 from address 8194
A 16-byte data area 305 is extracted as subsequent data. Next, the RAM latch section 24 data
I 2 and data I 3 in the instruction buffer 2 are aligned and extracted to the data register 3.

(発明の効果) 以上、本発明には、RAM本体部と2pバイト分
のラツチ部と2pバイトのデータレジスタとのそ
れぞれの内容を互いに異なるメモリアクセスによ
つてメモリから抽出されたデータとすることがで
き、かつ書込み動作中の読出し動作といつたよう
に、レジスタフアイルと同等の機能をRAMの機
能として付加せしめ、ハードウエアの軽減化を計
りながら命令処理速度の向上を達成できる等の効
果がある。
(Effects of the Invention) As described above, the present invention has a feature that the contents of the RAM main body, the 2p byte latch part, and the 2p byte data register are data extracted from the memory by mutually different memory accesses. In addition, it is possible to add a function equivalent to that of a register file as a RAM function, such as a read operation during a write operation, and it has the effect of improving instruction processing speed while reducing hardware requirements. be.

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

第1図は本発明の一実施例を概略的に示すブロ
ツク図、第2図は本実施例の詳細回路図および第
3図はデータ抽出の例を示す図である。 図において、1……主記憶装置、2……
RAM、3……データレジスタ、4……切換え
器、5……残余インジケータ、6……RAMアク
セス機構、7……メモリアクセス制御機構、8,
81,82……アライメント器、21,22……
RAM本体部、23,24……RAMラツチ部、
61……RAM書込みアドレスポインタ格納部、
62……RAM読出しアドレスポインタ格納部、
63,64,66,67……切換え器、100〜
108……信号線。
FIG. 1 is a block diagram schematically showing an embodiment of the present invention, FIG. 2 is a detailed circuit diagram of the embodiment, and FIG. 3 is a diagram showing an example of data extraction. In the figure, 1...main storage device, 2...
RAM, 3...Data register, 4...Switcher, 5...Remaining indicator, 6...RAM access mechanism, 7...Memory access control mechanism, 8,
81, 82... Alignment device, 21, 22...
RAM main body, 23, 24...RAM latch section,
61...RAM write address pointer storage section,
62...RAM read address pointer storage section,
63, 64, 66, 67...Switcher, 100~
108...Signal line.

Claims (1)

【特許請求の範囲】[Claims] 1 それぞれ2p(pは正整数)バイトの容量を有
する第1および第2の格納手段と、m(正整数)
個の記憶領域を有し各該記憶領域がそれぞれ2p
バイトの容量を持つ第1の記憶手段と、予め定め
た周期で前記第1の記憶手段に対する読出し動作
と書込み動作とを交互に切り換える切換え手段
と、前記書込み動作期間中は書込みアドレスを前
記第1の記憶手段に供給して第2の記憶手段から
の2pバイトの書込みデータを格納させ前記読出
し動作期間中は読出しアドレスを前記第1の記憶
手段に供給して前記第1の格納手段にpバイトま
たは2pバイトの読出しデータを格納させるアク
セス手段と、前記第2の記憶手段内の(2p×m)
バイトのデータを2pバイトづつm回転送して前
記第1の記憶手段に格納させるメモリアクセス手
段と、前記第1の格納手段内の2pバイトのデー
タを直接または上位pバイトと下位pバイトとを
交換して前記第2の格納手段に格納するアライメ
ント手段と、現在前記第1の格納手段に格納され
ている2pバイトのデータのうちの所望のpバイ
トと次に前記メモリアクセス手段により前記第2
の記憶手段から前記第1の記憶手段に格納される
新たな(2p×m)バイトのデータのうちの所望
のpバイトとを前記アライメント手段に転送する
ために現在前記第1の格納手段に格納されている
データが有効であることを表示する表示手段とか
ら構成したことを特徴とするデータ抽出処理装
置。
1. First and second storage means each having a capacity of 2p (p is a positive integer) bytes, and m (positive integer)
Each storage area has 2p storage area.
a first storage means having a capacity of one byte; a switching means for alternately switching between a read operation and a write operation for the first storage means at a predetermined period; During the read operation period, a read address is supplied to the first storage means to store 2p bytes of write data from the second storage means, and p bytes are stored in the first storage means. or an access means for storing read data of 2p bytes, and (2p×m) in the second storage means.
a memory access means for transferring 2p bytes of data m times each and storing it in the first storage means; alignment means for exchanging and storing the data in the second storage means; and a desired p bytes of the 2p bytes of data currently stored in the first storage means and then the memory access means to store the data in the second storage means.
desired p bytes of the new (2p×m) bytes of data to be stored in the first storage means from the storage means in the storage means are currently stored in the first storage means in order to transfer them to the alignment means. 1. A data extraction processing device comprising: display means for displaying that the data being processed is valid.
JP11016984A 1984-05-30 1984-05-30 DEETACHUSHUTSUSHORISOCHI Expired - Lifetime JPH0231418B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11016984A JPH0231418B2 (en) 1984-05-30 1984-05-30 DEETACHUSHUTSUSHORISOCHI

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11016984A JPH0231418B2 (en) 1984-05-30 1984-05-30 DEETACHUSHUTSUSHORISOCHI

Publications (2)

Publication Number Publication Date
JPS60254238A JPS60254238A (en) 1985-12-14
JPH0231418B2 true JPH0231418B2 (en) 1990-07-13

Family

ID=14528795

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11016984A Expired - Lifetime JPH0231418B2 (en) 1984-05-30 1984-05-30 DEETACHUSHUTSUSHORISOCHI

Country Status (1)

Country Link
JP (1) JPH0231418B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0769798B2 (en) * 1987-07-15 1995-07-31 日本電気株式会社 Cue device

Also Published As

Publication number Publication date
JPS60254238A (en) 1985-12-14

Similar Documents

Publication Publication Date Title
JPS6240740B2 (en)
US4354232A (en) Cache memory command buffer circuit
JP2646854B2 (en) Microprocessor
JPH0619752B2 (en) Data transfer method and device
JPH0814801B2 (en) Programmable access memory
US4631668A (en) Storage system using comparison and merger of encached data and update data at buffer to cache to maintain data integrity
JPS6142303B2 (en)
EP0057096B1 (en) Information processing unit
EP0367995A2 (en) Vector data transfer controller
JPH01224857A (en) Data transfer control system
JPH0231418B2 (en) DEETACHUSHUTSUSHORISOCHI
JPS6137654B2 (en)
US4737908A (en) Buffer memory control system
JPS6211736B2 (en)
JPS6148745B2 (en)
JP3132566B2 (en) Instruction precedence controller
JPH06301600A (en) Storage device
JPH0496172A (en) Data storing system, vector data buffer device, and vector data processor
JP2514473B2 (en) Parallel processor
JPS6367702B2 (en)
JPH01119823A (en) First-in first-out storage device
JP2699482B2 (en) Data transfer control device
JPH01169645A (en) Memory
JP3000977U (en) I / O interface device
JPH01114952A (en) Inter-memory transfer system for information processor