JPH096615A - Information processor - Google Patents

Information processor

Info

Publication number
JPH096615A
JPH096615A JP7156485A JP15648595A JPH096615A JP H096615 A JPH096615 A JP H096615A JP 7156485 A JP7156485 A JP 7156485A JP 15648595 A JP15648595 A JP 15648595A JP H096615 A JPH096615 A JP H096615A
Authority
JP
Japan
Prior art keywords
memory
circuit
register
address
data
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.)
Pending
Application number
JP7156485A
Other languages
Japanese (ja)
Inventor
Seiji Yamanaka
誠司 山中
Hideyuki Aota
秀幸 青田
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP7156485A priority Critical patent/JPH096615A/en
Publication of JPH096615A publication Critical patent/JPH096615A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

PURPOSE: To provide an information processor which avoids the increase of power consumption by allowing the serial access of a register bank memory at the time of bank switching. CONSTITUTION: When a general register set 6 is accessed at the time of instruction execution in a CPU main body part 1, data is written in the general register set 6 as well as in a corresponding address of a register bank memory 2 in the register read operation, and data in the register bank memory 2 is read put without saving data in the general register set 6 to an external memory at the time of register bank switching. In this information processor, a memory part 21 is provided with a precharge circuit 30 for each memory cell block 21a. An address pointer circuit 22 is provided with a serial access switching means to perform the serial access at the time of register bank switching.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、レジスタバンク方式を
用いてデータアクセスを行う情報処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus for accessing data by using a register bank method.

【0002】[0002]

【従来の技術】レジスタバンク方式を用いてデータアク
セスを行う情報処理装置は、図5に示すように、CPU
(中央演算処理装置)本体部1とシングルポートのレジ
スタバンクメモリ2とを備え、これらは、周辺機器との
接続のためのデータバスやアドレスバスとは異なる専用
の内部アドレスバス3、内部データバス4、及び制御信
号ライン5にて接続される。
2. Description of the Related Art As shown in FIG. 5, an information processing apparatus for performing data access using a register bank system has a CPU.
(Central processing unit) A main unit 1 and a single-port register bank memory 2 are provided. These are a dedicated internal address bus 3 and an internal data bus different from a data bus and an address bus for connection with peripheral devices. 4 and control signal line 5.

【0003】CPU本体部1は、複数のレジスタで構成
された一組の汎用レジスタセット(レジスタアレイ)6
と、前記レジスタバンクメモリ2のバンク番号を指定す
るための専用レジスタ(CBNR)7と、この専用レジ
スタ7からのカレントバンクナンバー、及びRGSn
(レジスタ選択制御信号)とを合成してレジスタバンク
メモリ2にRA0〜RAmを供給するバンクアドレスバ
ッファ8と、前記カレントバンクナンバー及びRGSn
が入力されるアドレス回路9と、このアドレス回路9か
らの信号を入力するデコード回路10と、RBCK(制
御クロック)やRBCE(メモリイネーブル)及びRB
WEB(リード/ライト制御)などの信号をレジスタバ
ンクメモリ2に供給する命令制御部11と、RB0〜R
Bn(レジスタデータ)をレジスタバンクメモリ2との
間でやり取りするための入出力回路12とを備える。
The CPU body 1 includes a set of general-purpose register sets (register array) 6 composed of a plurality of registers.
A dedicated register (CBNR) 7 for designating a bank number of the register bank memory 2, a current bank number from the dedicated register 7, and RGSn.
(Register selection control signal) and the bank address buffer 8 for supplying RA0 to RAm to the register bank memory 2, the current bank number and RGSn.
Address circuit 9 to which is input, a decode circuit 10 to which a signal from this address circuit 9 is input, RBCK (control clock), RBCE (memory enable), and RB
An instruction control unit 11 for supplying a signal such as WEB (read / write control) to the register bank memory 2, and RB0 to R
An input / output circuit 12 for exchanging Bn (register data) with the register bank memory 2 is provided.

【0004】上記のアドレス回路9は、前記のRGSn
に対応する部分として、図6に示すように、インバータ
ーで構成された回路を有し、前記RGSnを入力してそ
の正・反転信号(図ではIA0B〜IAnB,IA0〜
IAn)を出力する。また、上記のデコード回路10
は、図7に示すように、4入力のNAND回路やインバ
ーターで構成された回路から成り、前記アドレス回路9
の出力(図ではIA0B〜IA3B,IA0〜IA3)
を入力し、デコード信号(図ではRG0〜RG15)を
出力する。
The above address circuit 9 is the same as the above RGSn.
As shown in FIG. 6, as a portion corresponding to FIG. 6, a circuit including an inverter is provided, and the RGSn is input and its positive / inverted signals (IA0B to IAnB, IA0 to IA0B in the figure).
IAn) is output. Also, the above decoding circuit 10
As shown in FIG. 7, the address circuit 9 comprises a 4-input NAND circuit and a circuit composed of an inverter.
Output (IA0B to IA3B, IA0 to IA3 in the figure)
Is input, and decode signals (RG0 to RG15 in the figure) are output.

【0005】レジスタバンクメモリ2は、メモリ部13
と、前記RA0〜RAmを入力するアドレス回路14
と、このアドレス回路14からの正・反転出力を入力す
るデコード回路15と、前記RBCKやRBCE及びR
BWEBなどの信号を受けて前記アドレス回路14等を
制御する制御回路16と、前記RB0〜RBnをレジス
タバンクメモリ2との間でやり取りする入出力回路17
とを備える。
The register bank memory 2 includes a memory section 13
And an address circuit 14 for inputting the RA0 to RAm.
And a decoding circuit 15 for inputting the positive / inverted output from the address circuit 14, and the RBCK, RBCE and R
A control circuit 16 for receiving the signal such as BWEB and controlling the address circuit 14 and the like, and an input / output circuit 17 for exchanging the RB0 to RBn with the register bank memory 2.
With.

【0006】上記のアドレス回路14は、図8に示すよ
うに、NAND回路やインバーターで構成された回路か
ら成り、前記バンクアドレスバッファ8からのRA0〜
RAmを入力してその正・反転信号(図ではIA0B〜
IAmB,IA0〜IAm)を出力する。入力信号RA
0〜RAnは、CPU本体部1における前記RGSnに
対応し、RAn+1〜RAmは、CPU本体部1におけ
るCBNR7からのカレントバンクナンバーに対応す
る。また、信号ICEは、制御回路16から供給される
ものであり、アドレス回路14の駆動を制御する。
As shown in FIG. 8, the address circuit 14 is composed of a circuit composed of a NAND circuit and an inverter, and RA0 to RA0 from the bank address buffer 8 are provided.
RAm is input and its positive / inverted signal (IA0B to
IAmB, IA0 to IAm) are output. Input signal RA
0 to RAn correspond to the RGSn in the CPU body 1, and RAn + 1 to RAm correspond to the current bank number from the CBNR7 in the CPU body 1. The signal ICE is supplied from the control circuit 16 and controls the driving of the address circuit 14.

【0007】また、上記のデコード回路15は、図9に
示すように、アドレス回路14からの信号を入力する5
入力のNAND回路やNOR回路で構成され、前記アド
レス回路14の出力(図ではIA0B〜IA4B,IA
0〜IA4)を入力し、デコード信号(図ではWL0〜
WL31)を出力する。
The decoding circuit 15 receives the signal from the address circuit 14 as shown in FIG.
It is composed of an input NAND circuit and NOR circuit, and outputs the address circuit 14 (IA0B to IA4B, IA in the figure).
0-IA4), and decode signals (WL0-WL0 in the figure)
WL31) is output.

【0008】また、上記のメモリ部13は、図10に示
すように、メモリセルアレイ部13a及びプリチャージ
回路13bから成り、前記の汎用レジスタセット6に対
応するメモリ空間を備える。そして、前記デコード信号
(図ではWL0〜WLn−1)及び入出力回路17との
間で信号(BL0〜BLm−1,BLB0〜BLBm−
1)のやり取りを行う。なお、信号ICKBは、制御回
路16から供給されるものであり、プリチャージを制御
する。
As shown in FIG. 10, the memory section 13 comprises a memory cell array section 13a and a precharge circuit 13b, and has a memory space corresponding to the general-purpose register set 6. Then, signals (BL0 to BLm-1, BLB0 to BLBm-) are provided between the decode signal (WL0 to WLn-1 in the figure) and the input / output circuit 17.
Exchange 1). The signal ICKB is supplied from the control circuit 16 and controls precharge.

【0009】また、入出力回路17は、図11に示すよ
うに、書き込み回路17a等を備えて成り、前記信号
(BL0〜BLm−1,BLB0〜BLBm−1)をメ
モリ部13との間でやり取りするとともに、CPU本体
部1の入出力回路12との間でデータ(RB0〜RB
n)をやり取りする。なお、信号IWEは、制御回路1
6から供給されるものであり、リード/ライトを制御す
る。
As shown in FIG. 11, the input / output circuit 17 is provided with a write circuit 17a and the like, and outputs the signals (BL0 to BLm-1, BLB0 to BLBm-1) to and from the memory section 13. While exchanging data, data (RB0 to RB) is exchanged with the input / output circuit 12 of the CPU body 1.
n) are exchanged. The signal IWE is the control circuit 1
6, which controls the read / write.

【0010】また、制御回路16は、図12に示すよう
に、NAND回路やインバーターで構成され、CPU本
体部1側の命令制御部11から信号RBCK,RBC
E,RBWEBを入力し、前述の制御信号ICE,IC
KB,IWEを出力する。
As shown in FIG. 12, the control circuit 16 is composed of a NAND circuit and an inverter, and the signals RBCK and RBC are output from the instruction control unit 11 on the CPU body 1 side.
E and RBWEB are input, and the control signals ICE and IC described above are input.
Outputs KB and IWE.

【0011】前記メモリ部13のプリチャージ回路13
bのリード/ライト及びプリチャージのタイミングを図
13に示す。CPU本体部1からの信号RBCKがLo
wのとき、信号ICKBがHighとなり、メモリセル
(MC)の全てをプリチャージする。そして、この信号
ICKBがHighのときは、WL(図9参照)は選択
されない。また、RBCKがHighになるとそのとき
のアドレスに従ってWL0〜WLn−1のうち、1本が
選択される。この状態でメモリセルに対してRBWEB
がLowのときは、IWEがHighとなりライト動作
が行われ、一方、RBWEBがHighのときは、IW
EがLowとなりリード動作が行われる。なお、RBC
Eは、レジスタのアクセス時には、Highに固定され
る。
The precharge circuit 13 of the memory unit 13
FIG. 13 shows the timing of read / write and precharge of b. The signal RBCK from the CPU body 1 is Lo
When w, the signal ICKB becomes High, and all the memory cells (MC) are precharged. When this signal ICKB is High, WL (see FIG. 9) is not selected. When RBCK becomes High, one of WL0 to WLn-1 is selected according to the address at that time. RBWEB for the memory cell in this state
When is low, IWE becomes High and the write operation is performed, while when RBWEB is High, IW becomes high.
E becomes Low, and the read operation is performed. In addition, RBC
E is fixed to High when accessing the register.

【0012】このような構成のレジスタバンク方式を採
る従来の情報処理装置では、以下のように動作する。
The conventional information processing apparatus adopting the register bank system having the above configuration operates as follows.

【0013】CPU本体部1が命令を実行する場合でレ
ジスタ内のデータを読み出すときは、汎用レジスタセッ
ト6内のデータを読み出す。このとき、レジスタバンク
メモリ2は、バンクアドレスバッファ8から前記の信号
RA0〜RAmが供給され、リード状態となる。しか
し、CPU本体部1は、レジスタバンクメモリ2からの
リードデータではなく、前記の汎用レジスタセット6の
リードデータを優先して取り込む。
When the CPU body 1 executes an instruction, when reading the data in the register, the data in the general-purpose register set 6 is read. At this time, the register bank memory 2 is supplied with the signals RA0 to RAm from the bank address buffer 8 and is in a read state. However, the CPU main body 1 preferentially takes in the read data of the general-purpose register set 6 instead of the read data from the register bank memory 2.

【0014】CPU本体部1が命令を実行する場合でレ
ジスタ内へデータを書き込むときは、汎用レジスタセッ
ト6内へデータを書き込むと同時に、バンク番号に相当
するレジスタバンクメモリ2のメモリ領域にも同じデー
タを書き込む。例えば、加算命令(R2+R15→R1
5、add:g.1 r2,R15)を実行する場合、
R2+R15の演算の後、R15に結果を書き込むと同
時に、R15に対応するレジスタバンクメモリ2の領域
にも上記結果を書き込む。
When the CPU main body 1 executes an instruction and writes data in the register, the data is written in the general-purpose register set 6 and at the same time, the same is applied to the memory area of the register bank memory 2 corresponding to the bank number. Write the data. For example, an addition instruction (R2 + R15 → R1
5, add: g. 1 r2, R15),
After the calculation of R2 + R15, at the same time as writing the result to R15, the above result is also written to the area of the register bank memory 2 corresponding to R15.

【0015】つまり、レジスタバンクメモリ2は、汎用
レジスタセット6内のデータと同一のデータをその対応
する領域に持つことになる。
That is, the register bank memory 2 has the same data as the data in the general-purpose register set 6 in its corresponding area.

【0016】ここで、レジスタバンク方式を持たない場
合には、バンク切り換えにおいて、レジスタ・ストア
(汎用レジスタセット6のデータをレジスタバンクメモ
リ2へ退避させる)に続いてレジスタ・ロード(レジス
タバンクメモリ2から、新バンクのレジスタ・セットの
データを汎用レジスタセット6に格納)が必要となる。
しかし、レジスタバンク方式では、更新される前のバン
クのデータは、汎用レジスタとの間で、データの同一性
が保たれているので、レジスタ・ストアの必要はなく、
レジスタ・ロードのみでバンク切り換えが完了できる利
点がある。
Here, in the case of not having the register bank system, in the bank switching, register store (data of the general-purpose register set 6 is saved to the register bank memory 2) is followed by register load (register bank memory 2). Therefore, it is necessary to store the data of the register set of the new bank in the general-purpose register set 6).
However, in the register bank method, the data in the bank before being updated retains the data identity with the general-purpose registers, so there is no need for register store.
There is an advantage that bank switching can be completed only by register loading.

【0017】[0017]

【発明が解決しようとする課題】しかしながら、上記従
来のレジスタバンク方式を用いてデータアクセスを行う
情報処理装置では、バンク切換の際のアクセスはランダ
ムアクセスしか行うことができず、前述の図13のタイ
ミングチャートに示したように、CPU本体部1からの
信号RBCKがLowのとき、信号ICKBがHigh
となり、メモリセル(MC)の全てをプリチャージする
ため、消費電力が大きいという欠点を有している。
However, in the information processing apparatus which performs data access using the conventional register bank method, only random access can be performed at the time of bank switching. As shown in the timing chart, when the signal RBCK from the CPU body 1 is Low, the signal ICKB is High.
Since all the memory cells (MC) are precharged, there is a drawback that the power consumption is large.

【0018】なお、消費電力の増大を防止するために、
ビット線やワード線を分割する構成が知られている(特
公平3−4995号公報、特公平3−11035号公
報、及び特公平3−77399号公報参照)。しかし、
これらの従来技術は、ビット線やワード線を分割しない
場合に比べチップ面積が増大するという欠点がある。
In order to prevent an increase in power consumption,
A configuration is known in which bit lines and word lines are divided (see Japanese Patent Publication No. 3-4995, Japanese Patent Publication No. 3-11035, and Japanese Patent Publication No. 3-77399). But,
These conventional techniques have a drawback that the chip area is increased as compared with the case where the bit line or the word line is not divided.

【0019】また、メモリセルを複数のブロックに分割
し、ブロックごとに順にプリチャージを行うようにした
技術が知られている(特開平5−298876号公報参
照)。しかし、かかる従来技術は、レジスタバンク方式
に用いるものではない。
There is also known a technique in which a memory cell is divided into a plurality of blocks and precharging is sequentially performed for each block (see Japanese Patent Laid-Open No. 5-298876). However, such a conventional technique is not used for the register bank method.

【0020】本発明は、上記の事情に鑑み、レジスタバ
ンク方式による情報処理装置において、バンク切換の際
にレジスタバンクメモリがシリアルアクセスを行えるよ
うにし、消費電力の増大回避や動作速度向上を図ること
を目的とする。
In view of the above circumstances, the present invention enables a register bank memory to perform serial access at the time of bank switching in an information processing apparatus of the register bank system, thereby avoiding an increase in power consumption and improving an operating speed. With the goal.

【0021】[0021]

【課題を解決するための手段】本発明の情報処理装置
は、複数のレジスタから成る1組の汎用レジスタセット
を中央演算処理装置本体部に備え、複数の前記汎用レジ
スタセットに相当するメモリ領域を有するレジスタバン
クメモリが専用の内部バス及び内部制御信号ラインによ
り前記中央演算処理装置本体部に接続され、前記汎用レ
ジスタセットを中央演算処理装置本体部による命令実行
時にアクセスする際に、レジスタ読出動作では汎用レジ
スタセットへデータを書き込むとともにレジスタバンク
メモリの対応アドレスにも同一データを書き込む一方、
レジスタバンクを切り換える際には汎用レジスタセット
のデータを外部メモリに退避させずにレジスタバンクメ
モリのデータを読み出すようにした情報処理装置におい
て、前記レジスタバンクメモリには、複数個のメモリセ
ルから成るメモリセルブロックを複数個備え各メモリセ
ルブロックにプリチャージ回路を有したメモリ部と、レ
ジスタバンクを切り換える際にシリアルアクセスを行う
ためのシリアルアクセス切換手段とが備えられているこ
とを特徴とする。
An information processing apparatus according to the present invention is provided with a set of general-purpose register sets composed of a plurality of registers in a central processing unit main body, and has a memory area corresponding to the plurality of general-purpose register sets. A register bank memory is connected to the central processing unit main unit by a dedicated internal bus and an internal control signal line, and a register read operation is performed when the general-purpose register set is accessed when the central processing unit main unit executes instructions. While writing the data to the general-purpose register set and the same data to the corresponding address of the register bank memory,
In an information processing device that reads data in a register bank memory without saving data in a general-purpose register set to an external memory when switching register banks, the register bank memory has a memory composed of a plurality of memory cells. It is characterized in that a plurality of cell blocks are provided and each memory cell block is provided with a memory section having a precharge circuit, and a serial access switching means for performing serial access when switching register banks.

【0022】また、上記の構成において、カウンタ値を
前記シリアルアクセス切換手段に供給するカウンタ回路
と、中央演算処理装置本体部からの信号に基づいてアド
レスを生成し、このアドレスを前記シリアルアクセス切
換手段に供給するアドレス回路とを備えると共に、前記
アドレス回路のアドレス値が前記カウンタ回路に入力さ
れるように構成されていてもよい。
Further, in the above structure, an address is generated based on a signal from the counter circuit for supplying a counter value to the serial access switching means and the central processing unit body, and this address is generated by the serial access switching means. The address value of the address circuit may be input to the counter circuit.

【0023】また、上記の構成において、シリアルアク
セスによるデータ読出の各サイクル中に、次のサイクル
で読み出すメモリセルが存在するメモリブロックのプリ
チャージ回路がプリチャージを行うように構成されてい
てもよい。
Further, in the above structure, during each cycle of data reading by serial access, the precharge circuit of the memory block in which the memory cell to be read in the next cycle exists may be precharged. .

【0024】[0024]

【作用】上記の構成によれば、レジスタバンク方式を用
いる情報処理装置において、シリアルアクセス切換手段
により、前記レジスタバンクを切り換える際にレジスタ
バンクメモリに対してシリアルアクセスでデータ読み出
しが行えるようになり、このシリアルアクセスによって
メモリブロックごとに順々にプリチャージを行うので、
全てのメモリセルに対して同時にプリチャージを行う場
合に比べて消費電力の低減が図れる。また、前記カウン
タ回路にアドレス回路のアドレス値を入力するので、シ
リアルアクセスモードの設定が容易に行える。また、前
記シリアルアクセスによるデータ読出の各サイクル中
に、次のサイクルで読み出すブロックのメモリセルのプ
リチャージが行われるので、動作の高速化が図れる。
According to the above structure, in the information processing apparatus using the register bank system, the serial access switching means can read data by serial access to the register bank memory when switching the register bank. By this serial access, precharging is performed sequentially for each memory block.
The power consumption can be reduced as compared with the case where the precharge is simultaneously performed on all the memory cells. Further, since the address value of the address circuit is inputted to the counter circuit, the serial access mode can be easily set. Further, during each cycle of data reading by the serial access, the memory cell of the block to be read in the next cycle is precharged, so that the operation speed can be increased.

【0025】[0025]

【実施例】以下、本発明をその実施例を示す図に基づい
て説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings showing the embodiments.

【0026】図1は、本実施例の情報処理装置を示すブ
ロック図である。この情報処理装置の基本的構成は、従
来例で説明した図5の構成と共通であるので、従来例で
用いた図を適宜用いて説明する。
FIG. 1 is a block diagram showing the information processing apparatus of this embodiment. The basic configuration of this information processing apparatus is the same as the configuration of FIG. 5 described in the conventional example, and thus the description will be made by appropriately using the diagram used in the conventional example.

【0027】情報処理装置は、CPU(中央演算処理装
置)本体部1とシングルポートのレジスタバンクメモリ
20とを備え、これらは、周辺機器との接続のためのデ
ータバスやアドレスバスとは異なる専用の内部アドレス
バス3、内部データバス4、及び制御信号ライン5にて
接続される。CPU本体部1は、図5の構成と同一であ
るので、説明を省略する。
The information processing apparatus includes a CPU (central processing unit) main body 1 and a single-port register bank memory 20, which are dedicated and different from a data bus and an address bus for connecting to peripheral devices. Are connected by an internal address bus 3, an internal data bus 4, and a control signal line 5. The CPU body 1 has the same configuration as that of FIG.

【0028】レジスタバンクメモリ20は、メモリ部2
1と、RA0〜RAmを入力するアドレスポインタ回路
22と、RBCK,RBCE,及びRBWEBなどの信
号を受けて前記アドレスポインタ回路22等を制御する
制御回路23と、RB0〜RBnをレジスタバンクメモ
リ20との間でやり取りする入出力回路24とを備え
る。
The register bank memory 20 includes the memory unit 2
1, an address pointer circuit 22 for inputting RA0 to RAm, a control circuit 23 for receiving signals such as RBCK, RBCE, and RBWEB to control the address pointer circuit 22 and the like, and RB0 to RBn for register bank memory 20. And an input / output circuit 24 for exchanging data between them.

【0029】メモリ部21は、複数個のメモリセル(M
C)が複数本の読出用ビットラインにそれぞれ対応する
複数の列を有するマトリックス状に配置され、上記複数
個のメモリセル(MC)が上記複数本の読出用ビットラ
インにそれぞれ対応する複数個のメモリブロック21a
…に分割されている。そして、各メモリブロック21a
には、プリチャージ回路(PRC)30が設けられてい
る。
The memory section 21 includes a plurality of memory cells (M
C) are arranged in a matrix having a plurality of columns respectively corresponding to the plurality of read bit lines, and the plurality of memory cells (MC) correspond to the plurality of read bit lines. Memory block 21a
It is divided into ... Then, each memory block 21a
Is provided with a precharge circuit (PRC) 30.

【0030】アドレスポインタ回路22は、図2に示す
ように、アドレス回路22aと、カウンタ回路22b
と、マルチプレクサ22cと、デコード回路22dとを
備えて成る。
As shown in FIG. 2, the address pointer circuit 22 includes an address circuit 22a and a counter circuit 22b.
, A multiplexer 22c, and a decoding circuit 22d.

【0031】アドレス回路22aは、従来例で示した図
8と同様、NAND回路やインバーターで構成された回
路から成り、前記バンクアドレスバッファ8からのRA
0〜RAmを入力してその正・反転信号を出力する。
The address circuit 22a is composed of a circuit composed of a NAND circuit and an inverter as in FIG. 8 shown in the conventional example, and RA from the bank address buffer 8 is used.
Input 0 to RAm and output the positive / inverted signal.

【0032】カウンタ回路22bは、制御回路23から
のRBCKを入力し、カウント動作を行う。また、前記
アドレス回路22aからアドレス値を入力し、このアド
レス値をカウンタ初期値とするようになっている。ま
た、制御回路23aから信号RBSA′を入力し、この
信号RBSA′がHighとなったときからカウント動
作を実行するようになっている。なお、前記の信号RB
SA′は信号RBSAの立ち上がりに同期してHigh
となる信号である(図4参照)。また、信号RBSA
は、モード選択にかかる信号であり、CPU本体部1の
命令制御において、レジスタバンク切り換え時に発生す
るものであり、RAM(ランダムアクセス)モードのと
きには、Lowとなり、SAM(シリアルアクセス)モ
ードのときには、Highとなる。
The counter circuit 22b receives the RBCK from the control circuit 23 and performs a counting operation. Further, an address value is input from the address circuit 22a, and this address value is used as a counter initial value. Further, a signal RBSA 'is input from the control circuit 23a, and the counting operation is executed when the signal RBSA' becomes High. The signal RB
SA 'is High in synchronization with the rising edge of the signal RBSA.
Signal (see FIG. 4). Also, the signal RBSA
Is a signal related to mode selection, and is generated at the time of register bank switching in the instruction control of the CPU main body unit 1. It is Low in the RAM (random access) mode and is low in the SAM (serial access) mode. It becomes High.

【0033】マルチプレクサ22cは、前記アドレス回
路22aからの出力と前記カウンタ回路22bの出力の
いずれかを選択して出力する。この選択動作は、前記R
BSA信号によって行われる。即ち、RBSA信号がH
ighのときに、カウンタ回路22bの出力を選択し、
RBSA信号がLowのときに、アドレス回路22aの
出力を選択するようになっている。
The multiplexer 22c selects and outputs either the output from the address circuit 22a or the output from the counter circuit 22b. This selection operation is the same as R
This is done by the BSA signal. That is, the RBSA signal is H
When the output is high, the output of the counter circuit 22b is selected,
When the RBSA signal is low, the output of the address circuit 22a is selected.

【0034】デコード回路22dは、従来例で示した図
9と同様、例えば5入力のNAND回路やNOR回路な
どを備えて構成され、前記アドレス回路22aの出力、
或いはカウンタ回路22bの出力を入力し、デコード信
号(図ではBSn ,WLn と表記している)を出力す
る。なお、上記の信号BSn は、デコード回路22dが
前記RBSA信号等を入力して生成するメモリブロック
選択のための信号であり、RAMモードのときには、B
S(BS0 〜BSn )の全てがHighとなり、SAM
モードのときには、選択されたメモリブロックに対応す
るBS以外はLowとなる。
The decode circuit 22d is configured to include, for example, a 5-input NAND circuit or NOR circuit as in FIG. 9 shown in the conventional example, and the output of the address circuit 22a,
Alternatively, the output of the counter circuit 22b is input and the decoded signals (denoted by BS n and WL n in the figure) are output. The signal BS n is a signal for selecting a memory block generated by the decoding circuit 22d by inputting the RBSA signal or the like, and is B in the RAM mode.
All of S (BS 0 to BS n ) become High, and SAM
In the mode, all except the BS corresponding to the selected memory block are Low.

【0035】図3は、第n番目のプリチャージ回路30
(PRCn )および第n+1番目のプリチャージ回路3
0(PRCn+1)を示した回路図である。各プリチャー
ジ回路30において、2入力の第1NAND回路30a
には、モード選択に関する前記信号RBSAとその反転
信号であるRBSABとが入力される。従って、第1N
AND回路30aの出力は、常にHighである。
FIG. 3 shows the nth precharge circuit 30.
(PRC n ) and the (n + 1) th precharge circuit 3
It is a circuit diagram showing 0 (PRC n + 1 ). In each precharge circuit 30, a 2-input first NAND circuit 30a
The signal RBSA relating to the mode selection and RBSAB which is the inverted signal thereof are input to. Therefore, the first N
The output of the AND circuit 30a is always High.

【0036】第1NAND回路30aの出力は、2入力
の第2NAND回路30bの一方の入力端子に入力され
る。第2NAND回路30bの他方の入力端子には、前
記デコード回路22dからの前記ブロック選択信号BS
が入力される。ここで、第n番目のプリチャージ回路3
0(PRCn )の第2NAND30bには、ブロック選
択信号BSとして第n−1番目のビットライン選択信号
BSn-1が入力され、第n+1番目のプリチャージ回路
30(PRCn+1)の第2NAND30bには、ブロッ
ク選択信号BSとして第n番目のビットライン選択信号
BSnが入力される。
The output of the first NAND circuit 30a is input to one input terminal of a 2-input second NAND circuit 30b. The block input signal BS from the decode circuit 22d is applied to the other input terminal of the second NAND circuit 30b.
Is entered. Here, the nth precharge circuit 3
The (N−1) th bit line selection signal BS n−1 is input as the block selection signal BS to the second NAND 30 b of 0 (PRC n ), and the ( n + 1 ) th precharge circuit 30 (PRC n + 1 ) is input. The n-th bit line selection signal BS n is input to the 2NAND 30b as a block selection signal BS.

【0037】第2NAND回路30bの出力は、インバ
ータ30cにて反転されて2入力の第3NAND回路3
0dの一方の入力端子に入力される。また、この第3N
AND回路30dの他方の入力端子には、信号ICKB
が入力される。信号ICKBは、従来例で述べたよう
に、制御回路16から供給されるプリチャージ制御信号
であり、CPU本体部1からの信号RBCKがLowの
とき、Highとなる。そして、第3NAND回路30
dの出力は、インバータ30eにより反転され、プリチ
ャージ信号となる。
The output of the second NAND circuit 30b is inverted by the inverter 30c, and the third NAND circuit 3 having two inputs is inverted.
It is input to one input terminal of 0d. Also, this 3N
The other input terminal of the AND circuit 30d receives the signal ICKB
Is entered. As described in the conventional example, the signal ICKB is a precharge control signal supplied from the control circuit 16, and becomes High when the signal RBCK from the CPU body 1 is Low. Then, the third NAND circuit 30
The output of d is inverted by the inverter 30e and becomes a precharge signal.

【0038】これにより、SAMモード(RBSA=H
igh)において、第n番目のブロック21aに属する
メモリセル(MC)の読出動作がなされるサイクル(ビ
ットライン選択信号BSn=High)のとき、このビ
ットライン選択信号BSnを入力する第n+1番目のプ
リチャージ回路30(PRCn+1)、即ち、次のサイク
ルでリード動作となるブロックのプリチャージ回路30
だけが第3NAND回路30dにおいてインバータ30
cからHighを入力し、これによりプリチャージ制御
信号であるICKBが選択され、プリチャージ動作を行
う。
As a result, the SAM mode (RBSA = H
In the cycle (bit line selection signal BS n = High) in which the read operation of the memory cell (MC) belonging to the nth block 21a is performed in (high), the (n + 1) th bit line selection signal BS n is input. Precharge circuit 30 (PRC n + 1 ) of the block, that is, the precharge circuit 30 of the block that is read in the next cycle.
Only the inverter 30 in the third NAND circuit 30d
High is input from c, whereby ICKB which is the precharge control signal is selected, and the precharge operation is performed.

【0039】なお、RAMモード(RBSA=Low)
においては、前述したように、ブロック選択信号BS
(BS0 〜BSn )の全てがHighとなるので、IC
KBにがHighになるときには、全てのメモリブロッ
クがプリチャージされる。
RAM mode (RBSA = Low)
In the above, as described above, the block selection signal BS
Since all of (BS 0 to BS n ) are High, IC
When KB goes high, all memory blocks are precharged.

【0040】図4は、レジスタバンクメモリ20の動作
タイミングを示すタイミングチャートであり、シリアル
モード時を示している。モード設定期間および各サイク
ルにおいて、クロックであるRBCKは、High状態
とLow状態を交互に繰り返す。また、シリアルモード
時であるので、RBSAはモード設定以降、High状
態となる。PRC0 〜PRC2 は、メモリブロック0〜
メモリブロック2のプリチャージ動作を示している。プ
リチャージは、サイクルに従って順々に、各サイクルに
おけるRBCKのLow期間においてHigh状態をな
す。
FIG. 4 is a timing chart showing the operation timing of the register bank memory 20, showing the serial mode. In the mode setting period and each cycle, the clock RBCK alternately repeats the High state and the Low state. Further, since it is in the serial mode, the RBSA is in the High state after the mode setting. PRC 0 to PRC 2 are memory blocks 0 to
The precharge operation of the memory block 2 is shown. The precharge sequentially goes high according to the cycle, and becomes high during the Low period of RBCK in each cycle.

【0041】上記の構成によれば、レジスタバンク方式
を用いる情報処理装置において、シリアルアクセス切換
手段であるマルチプレクサ22cにより、前記レジスタ
バンクを切り換える際にレジスタバンクメモリ20に対
してシリアルアクセスでデータ読み出しが行えるように
なり、このシリアルアクセスによりブロックごとに順々
にプリチャージが行われるので、全てのメモリセルに対
して同時にプリチャージを行う場合に比べて消費電力の
低減が図れる。
According to the above configuration, in the information processing apparatus using the register bank method, the multiplexer 22c as the serial access switching means can read data by serial access to the register bank memory 20 when switching the register bank. This can be performed, and since the precharge is sequentially performed for each block by this serial access, the power consumption can be reduced as compared with the case where the precharge is simultaneously performed for all the memory cells.

【0042】また、前記カウンタ回路22bにアドレス
回路22aのアドレス値を入力するので、シリアルアク
セスモードの設定が容易に行える。また、前記シリアル
アクセスによるデータ読出の各サイクル中に、次のサイ
クルで読み出すブロックのメモリセル(MC)のプリチ
ャージが行われるので、動作の高速化が図れる。
Since the address value of the address circuit 22a is input to the counter circuit 22b, the serial access mode can be set easily. Further, during each cycle of data reading by the serial access, the memory cell (MC) of the block to be read in the next cycle is precharged, so that the operation speed can be increased.

【0043】[0043]

【発明の効果】以上のように、本発明によれば、レジス
タバンク方式を用いる情報処理装置において、消費電力
の低減、シリアルアクセスモードの設定容易化、及び動
作の高速化が図れるという効果を奏する。
As described above, according to the present invention, it is possible to reduce the power consumption, facilitate the setting of the serial access mode, and speed up the operation in the information processing apparatus using the register bank method. .

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

【図1】本発明の情報処理装置を示すブロック図であ
る。
FIG. 1 is a block diagram showing an information processing apparatus of the present invention.

【図2】本発明の情報処理装置のレジスタバンクメモリ
のアドレスポインタ回路を示すブロック図である。
FIG. 2 is a block diagram showing an address pointer circuit of a register bank memory of the information processing apparatus of the present invention.

【図3】プリチャージ回路の回路図である。FIG. 3 is a circuit diagram of a precharge circuit.

【図4】本発明の情報処理装置の動作を示すタイミング
チャートである。
FIG. 4 is a timing chart showing the operation of the information processing apparatus of the present invention.

【図5】従来の情報処理装置を示すブロック図である。FIG. 5 is a block diagram showing a conventional information processing apparatus.

【図6】CPU本体部側のアドレス回路を示す回路図で
ある。
FIG. 6 is a circuit diagram showing an address circuit on the CPU body side.

【図7】CPU本体部側のデコード回路を示す回路図で
ある。
FIG. 7 is a circuit diagram showing a decoding circuit on the CPU body side.

【図8】レジスタバンクメモリ側のアドレス回路を示す
回路図である。
FIG. 8 is a circuit diagram showing an address circuit on a register bank memory side.

【図9】レジスタバンクメモリ側のデコード回路を示す
回路図である。
FIG. 9 is a circuit diagram showing a decode circuit on the register bank memory side.

【図10】従来のメモリ部の回路図である。FIG. 10 is a circuit diagram of a conventional memory unit.

【図11】レジスタバンクメモリ側の入出力回路を示す
回路図である。
FIG. 11 is a circuit diagram showing an input / output circuit on the register bank memory side.

【図12】制御部の回路図である。FIG. 12 is a circuit diagram of a control unit.

【図13】従来のリード/ライト及びプリチャージのタ
イミングチャートである。
FIG. 13 is a timing chart of conventional read / write and precharge.

【符号の説明】 1 CPU本体部 20 レジスタバンクメモリ 21 メモリ部 21aメモリブロック 22 アドレスポインタ回路 22aアドレス回路 22bカウンタ回路 22cマルチプレクサ(シリアルアクセス切換手段) 22dデコーダ回路 23 制御回路 30 プリチャージ回路[Description of Reference Signs] 1 CPU main unit 20 Register bank memory 21 Memory unit 21a Memory block 22 Address pointer circuit 22a Address circuit 22b Counter circuit 22c Multiplexer (serial access switching means) 22d Decoder circuit 23 Control circuit 30 Precharge circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数のレジスタから成る1組の汎用レジ
スタセットを中央演算処理装置本体部に備え、複数の前
記汎用レジスタセットに相当するメモリ領域を有するレ
ジスタバンクメモリが専用の内部バス及び内部制御信号
ラインにより前記中央演算処理装置本体部に接続され、
前記汎用レジスタセットを中央演算処理装置本体部によ
る命令実行時にアクセスする際に、レジスタ読出動作で
は汎用レジスタセットへデータを書き込むとともにレジ
スタバンクメモリの対応アドレスにも同一データを書き
込む一方、レジスタバンクを切り換える際には汎用レジ
スタセットのデータを外部メモリに退避させずにレジス
タバンクメモリのデータを読み出すようにした情報処理
装置において、前記レジスタバンクメモリには、複数個
のメモリセルから成るメモリセルブロックを複数個備え
各メモリセルブロックにプリチャージ回路を有したメモ
リ部と、レジスタバンクを切り換える際にシリアルアク
セスを行うためのシリアルアクセス切換手段とが備えら
れていることを特徴とする情報処理装置。
1. A central processing unit main body unit is provided with one set of general-purpose register sets consisting of a plurality of registers, and a register bank memory having a memory area corresponding to the plurality of general-purpose register sets is dedicated to an internal bus and internal control. Connected to the main body of the central processing unit by a signal line,
When accessing the general-purpose register set at the time of executing an instruction by the central processing unit main unit, in the register read operation, data is written to the general-purpose register set and the same data is written to the corresponding address of the register bank memory, and the register bank is switched. In this case, in the information processing device in which the data in the register bank memory is read out without saving the data in the general-purpose register set in the external memory, the register bank memory includes a plurality of memory cell blocks each including a plurality of memory cells. An information processing apparatus, comprising: a memory unit having a precharge circuit in each memory cell block and serial access switching means for performing serial access when switching register banks.
【請求項2】 カウンタ値を前記シリアルアクセス切換
手段に供給するカウンタ回路と、中央演算処理装置本体
部からの信号に基づいてアドレスを生成し、このアドレ
スを前記シリアルアクセス切換手段に供給するアドレス
回路とを備えると共に、前記アドレス回路のアドレス値
が前記カウンタ回路に入力されるように構成されたこと
を特徴とする請求項1に記載の情報処理装置。
2. A counter circuit for supplying a counter value to the serial access switching means, and an address circuit for generating an address based on a signal from the central processing unit main body and supplying the address to the serial access switching means. 2. The information processing apparatus according to claim 1, further comprising: and an address value of the address circuit being input to the counter circuit.
【請求項3】 シリアルアクセスによるデータ読出の各
サイクル中に、次のサイクルで読み出すメモリセルが存
在するメモリブロックのプリチャージ回路がプリチャー
ジを行うように構成されたことを特徴とする請求項1又
は請求項2に記載の情報処理装置。
3. The precharge circuit of a memory block in which a memory cell to be read in the next cycle exists is precharged during each cycle of data read by serial access. Alternatively, the information processing apparatus according to claim 2.
JP7156485A 1995-06-22 1995-06-22 Information processor Pending JPH096615A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7156485A JPH096615A (en) 1995-06-22 1995-06-22 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7156485A JPH096615A (en) 1995-06-22 1995-06-22 Information processor

Publications (1)

Publication Number Publication Date
JPH096615A true JPH096615A (en) 1997-01-10

Family

ID=15628797

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7156485A Pending JPH096615A (en) 1995-06-22 1995-06-22 Information processor

Country Status (1)

Country Link
JP (1) JPH096615A (en)

Similar Documents

Publication Publication Date Title
KR100627986B1 (en) Synchronous pipelined burst memory and method for operating same
EP0978842A1 (en) Synchronous burst semiconductor memory device
US6339539B1 (en) Content addressable memory having read/write capabilities that do not interrupt continuous search cycles
JPH06101225B2 (en) Computer system, memory reading method and transfer method in computer system, memory control method and memory controller
US5893135A (en) Flash memory array with two interfaces for responding to RAS and CAS signals
JPH0676566A (en) Semiconductor memory device
JPH01267893A (en) Semiconductor storage device
US7120765B2 (en) Memory transaction ordering
US6385691B2 (en) Memory device with command buffer that allows internal command buffer jumps
TWI622992B (en) Memory access control in a memory device
JPH1166839A (en) Semiconductor memory, method of reading data from the semiconductor memory and writing it therein
KR100317542B1 (en) Semiconductor memory device
US6888777B2 (en) Address decode
US6205514B1 (en) Synchronous SRAM having global write enable
JP3872922B2 (en) Semiconductor memory device and memory embedded logic LSI
KR100334574B1 (en) Burst-type semiconductor memory device having full-page mode
JPH096615A (en) Information processor
JPH08190481A (en) Information processor
JPH10302475A (en) Memory control device
JPH0745068A (en) Synchronizing type semiconductor storage device
JP4116801B2 (en) Semiconductor memory device
JP2950427B2 (en) Register bank circuit
US20230178138A1 (en) Read clock start and stop for synchronous memories
JP2005149547A (en) Memory control system and integrated circuit
JPH1074392A (en) Semiconductor storage device and data processing device