[go: up one dir, main page]

JPH11212877A - Storage device - Google Patents

Storage device

Info

Publication number
JPH11212877A
JPH11212877A JP10015548A JP1554898A JPH11212877A JP H11212877 A JPH11212877 A JP H11212877A JP 10015548 A JP10015548 A JP 10015548A JP 1554898 A JP1554898 A JP 1554898A JP H11212877 A JPH11212877 A JP H11212877A
Authority
JP
Japan
Prior art keywords
data
ram
circuit
check bit
storage device
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
JP10015548A
Other languages
Japanese (ja)
Inventor
Eiji Suzuki
栄司 鈴木
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 Computertechno Ltd
Original Assignee
NEC Computertechno 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 NEC Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP10015548A priority Critical patent/JPH11212877A/en
Publication of JPH11212877A publication Critical patent/JPH11212877A/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

Landscapes

  • For Increasing The Reliability Of Semiconductor Memories (AREA)
  • Static Random-Access Memory (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Memory System (AREA)

Abstract

PROBLEM TO BE SOLVED: To access only a RAM being the object of partial writing at the time of a partial writing operation and to suppress access to a RAM which is not the object. SOLUTION: A storage device 10 is provided with a RAM control circuit 11 for controlling data writing/reading, a RAM access identification circuit 17 for permitting access to a RAM required at the time of writing data, a RAM 15 constituted of a plurality of storage elements, a check bit generation circuit 14 for generating/adding a check bit guaranteeing data at the time of writing data, a data correction circuit 16 for correcting data which is read or detecting the impossibility of correction, a partial write circuit 12 for generating partially written data for rewriting a part of data in RAM 15 and a selector 13 for selecting partially written data normally rewritten data. Thus, only a RAM being the object of partial writing is accessed and power consumption is reduced.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、上位のプロセッサ
装置からアクセスされるデータを記憶する複数の記憶素
子を備えた記憶装置に関し、特に記憶素子への部分書き
込み動作時に該当の記憶素子に対しデータの書き込みを
行い他の記憶素子への書き込み動作を抑止し消費電力を
減少させる記憶装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage device having a plurality of storage elements for storing data accessed from a higher-order processor device, and more particularly to a storage device for performing a partial write operation on a storage element. The present invention relates to a storage device which performs writing of data, suppresses a writing operation to another storage element, and reduces power consumption.

【0002】[0002]

【従来の技術】従来の部分書き込み回路を備えた記憶装
置20、例えば特開平4−74387「半導体記憶装
置」は、図2に示すようにデータの書き込みまたは読み
出しを制御するRAM制御回路21と、RAM25と、
データの書き込み時に書き込みデータに対しチェックビ
ットを生成するチェックビット生成回路24と、読み出
したデータの訂正または訂正不可の検出を行うデータ訂
正回路26、RAM25内のデータの一部を書き換える
ためのデータを生成する部分書き込み回路22、部分書
き込み回路22から発行された部分書き込みデータまた
は通常の書き込みデータの何れかを選択するセレクタ2
3とから構成される。
2. Description of the Related Art A conventional storage device 20 having a partial write circuit, for example, a "semiconductor storage device" disclosed in JP-A-4-74387, has a RAM control circuit 21 for controlling writing or reading of data as shown in FIG. RAM 25,
A check bit generation circuit 24 that generates a check bit for write data at the time of writing data, a data correction circuit 26 that performs correction or non-correction detection of read data, and data for rewriting a part of data in the RAM 25. A partial write circuit 22 to be generated, and a selector 2 for selecting either partial write data issued from the partial write circuit 22 or normal write data
And 3.

【0003】プロセッサ装置からの部分書き込み命令に
対して、まずRAM制御回路21はRAM25への部分
書き込み命令とアドレスとを受け取り、n個のRAMに
対しチップセレクト信号(以下CS信号)とアドレスと
を出力し読み出し動作をまず行い、次に読み出されたデ
ータはデータ訂正回路26を介して部分書き込み回路2
2に入力され、書き込みデータとnブロック書き換え情
報とから書き換えるデータを発生させ、チェックビット
生成回路24を介してn個のRAM25に書き込まれ
る。この時RAM制御回路21では、n個のRAM25
に書き換えられるデータが入力されるタイミングに合わ
せ、n個のRAMに対しCS信号と読み出した時と同一
のアドレスが出力される。
In response to a partial write command from a processor device, first, a RAM control circuit 21 receives a partial write command to a RAM 25 and an address, and sends a chip select signal (hereinafter, a CS signal) and an address to n RAMs. The read operation is performed first, and then the read data is passed through the data correction circuit 26 to the partial write circuit 2.
2, data to be rewritten is generated from the write data and the n-block rewrite information, and is written to the n RAMs 25 via the check bit generation circuit 24. At this time, in the RAM control circuit 21, n RAMs 25
In accordance with the timing at which the data to be rewritten is input, the same address as when the CS signal was read out is output to n RAMs.

【0004】[0004]

【発明が解決しようとする課題】上述した従来の部分書
き込み動作時には、書き換え対象以外のRAMに対して
も元のデータを書き込む動作をRAMに行っているた
め、必要外の書き込み動作分だけ消費電力が増大すると
いう欠点を有している。
In the above-described conventional partial write operation, the operation of writing the original data to the RAM other than the RAM to be rewritten is performed in the RAM. Has the disadvantage of increasing.

【0005】本発明の目的は、データ幅をn等分できる
n個のRAMで構成し、部分書き込み動作時には部分書
き込み対象のRAMのみをアクセスし、対象外のRAM
へのアクセスを抑止することにより低消費電力化を図る
記憶装置を提供することにある。
It is an object of the present invention to provide a RAM composed of n RAMs whose data width can be divided into n equal parts.
It is an object of the present invention to provide a storage device for reducing power consumption by suppressing access to a storage device.

【0006】[0006]

【課題を解決するための手段】第1の発明の記憶装置
は、n個の記憶素子から構成されるRAMと、通常書き
込み命令または部分書き込み命令と書き込みするアドレ
スとを受け取り前記RAMへの書き込みを制御するRA
M制御回路と、前記RAMから読み出したデータの訂正
または訂正不可の検出を行うデータ訂正回路と、前記R
AMから読み出されたデータの一部を書き換えるための
部分書き込みデータを生成する部分書き込み回路と、生
成された前記部分書き込みデータと通常書き換えデータ
の何れかを選択するセレクタと、選択された書き込みデ
ータの書き込み時に書き込みデータを保証するチェック
ビットを生成付加し前記RAMに出力要求するチェック
ビット生成回路と、データの書き込み時はnブロック書
き換え情報により書き込み対象の前記記憶素子に対して
のみアクセスを許可するRAMアクセス識別回路と、を
備えて構成されている。
A storage device according to a first aspect of the present invention receives a RAM composed of n storage elements, a normal write instruction or a partial write instruction, and an address to be written, and writes the data to the RAM. RA to control
An M control circuit; a data correction circuit that corrects data read from the RAM or detects whether data cannot be corrected;
A partial write circuit for generating partial write data for rewriting a part of data read from the AM, a selector for selecting any of the generated partial write data and normal rewrite data, and a selected write data A check bit generation circuit for generating and adding a check bit for guaranteeing write data at the time of writing, and requesting output to the RAM; and at the time of writing data, permitting access to only the storage element to be written by n-block rewrite information. And a RAM access identification circuit.

【0007】また、第2の発明の記憶装置は、第1の発
明において前記RAMは、上位のプロセッサ装置と1度
に送受するデータのデータ幅をn等分できるn個の記憶
素子を備えて構成されている。
In the storage device according to a second aspect of the present invention, in the first aspect, the RAM includes n storage elements capable of dividing a data width of data transmitted and received at a time with a host processor device by n. It is configured.

【0008】さらに、第3の発明の記憶装置は、第2の
発明において前記RAMは、データを記憶するn個の記
憶素子からなるデータ部とチェックビットを記憶する記
憶素子からなるチェックビット部とを備えて構成されて
いる。
Further, in a storage device according to a third aspect of the present invention, in the second aspect, the RAM includes a data portion including n storage elements for storing data and a check bit portion including storage elements for storing check bits. It is provided with.

【0009】さらに、第4の発明の記憶装置は、第1、
2または3の発明において前記RAM制御回路は、前記
セレクタに対し通常の書き換えデータか部分書き込みデ
ータかをセレクトするセレクト信号と、前記RAMアク
セス識別回路に対し前記データ部の記憶素子をアクセス
する第1のチップセレクト信号と、前記チェックビット
部の記憶素子をアクセスする第2のチップセレクト信号
と、前記データ部および前記チェックビット部の記憶素
子をアクセスするアドレスとを発行することにより構成
されている。
Further, a storage device according to a fourth aspect of the present invention comprises:
In the invention according to the second or third aspect, the RAM control circuit includes a select signal for selecting the normal rewrite data or the partial write data for the selector, and a first signal for accessing the storage element of the data unit to the RAM access identification circuit. , A second chip select signal for accessing the storage element of the check bit section, and an address for accessing the storage element of the data section and the check bit section.

【0010】さらに、第5の発明の記憶装置は、第1、
2または3の発明において前記RAM制御回路は、前記
部分書き込み命令を受け取ったとき部分書き込みデータ
をセレクトするセレクト信号の発行と前記データ部の全
記憶素子の読み込み動作を指示する第1のチップセレク
ト信号の発行とを行うことにより構成されている。
Further, a storage device according to a fifth aspect of the present invention comprises:
In the invention according to the second or third aspect, when the RAM control circuit receives the partial write command, the RAM control circuit issues a select signal for selecting partial write data and a first chip select signal for instructing a read operation of all storage elements in the data section. And issuance.

【0011】さらに、第6の発明の記憶装置は、第1ま
たは3の発明において前記nブロック書き換え情報は、
通常書き込み命令または部分書き込み命令がアクセスす
る前記データ部の記憶素子を示すことにより構成されて
いる。
Further, in the storage device according to a sixth aspect, in the first or third aspect, the n-block rewrite information is:
It is constituted by indicating the storage element of the data section accessed by the normal write command or the partial write command.

【0012】さらに、第7の発明の記憶装置は、第1ま
たは4の発明において前記RAMアクセス識別回路は、
通知された前記第1のチップセレクト信号を前記nブロ
ック書き換え情報の示す記憶素子のみをアクセスする第
3のチップセレクト信号を作成し書き込み動作の出力要
求が通知されたとき前記第3のチップセレクト信号を前
記データ部の記憶素子に発行することにより構成されて
いる。
Further, according to a seventh aspect of the present invention, in the storage device according to the first or fourth aspect, the RAM access identification circuit comprises:
The notified first chip select signal is used to create a third chip select signal for accessing only the storage element indicated by the n-block rewrite information, and when a write operation output request is notified, the third chip select signal is output. Is issued to the storage element of the data section.

【0013】さらに、第8の発明の記憶装置は、第1の
発明において前記データ訂正回路は、前記RAMから読
み出されたデータをチェックビット部のチェックビット
によりエラーを訂正出来るときは前記データを訂正し訂
正不可のときはエラー通知を行い、前記部分書き込み命
令のときは読み出された前記データを前記部分書き込み
回路に通知することにより構成されている。
Further, in the storage device according to an eighth aspect of the present invention, in the first aspect, the data correction circuit reads the data read from the RAM when an error can be corrected by a check bit of a check bit portion. When the data is corrected and cannot be corrected, an error notification is performed, and when the data is the partial write command, the read data is notified to the partial write circuit.

【0014】さらに、第9の発明の記憶装置は、第1ま
たは7の発明において前記部分書き込み回路は、前記デ
ータ訂正回路より通知された前記データと前記部分書き
換えデータと前記nブロック書き換え情報とから部分書
き込みデータを生成することにより構成されている。
Further, in the storage device according to a ninth aspect of the present invention, in the first or seventh aspect, the partial write circuit is configured to read the data, the partial rewrite data, and the n-block rewrite information notified from the data correction circuit. It is configured by generating partial write data.

【0015】さらに、第10の発明の記憶装置は、第1
または8の発明において前記セレクタは、通知された前
記セレクト信号により前記部分書き込みデータまたは通
常書き換えデータをセレクトし前記チェックビット生成
回路に通知することにより構成されている。
Further, a storage device according to a tenth aspect of the present invention is the storage device according to the first aspect.
Alternatively, in the invention according to the eighth aspect, the selector is configured to select the partial write data or the normal rewrite data based on the notified select signal, and notify the check bit generation circuit.

【0016】さらに、第11の発明の記憶装置は、第1
の発明において前記チェックビット生成回路は、前記セ
レクタにより選択された書き込みするデータを保証する
チェックビットを生成しチェックビットを付加した書き
込みデータを前記RAMに発行するとともに出力要求を
前記RAMアクセス識別回路に通知することにより構成
されている。
Further, the storage device according to the eleventh aspect of the present invention,
In the invention, the check bit generation circuit generates a check bit that guarantees data to be written selected by the selector, issues write data with the check bit added to the RAM, and sends an output request to the RAM access identification circuit. It is configured by notifying.

【0017】[0017]

【発明の実施の形態】次に、本発明の一つの実施の形態
について図面を参照して説明する。
Next, an embodiment of the present invention will be described with reference to the drawings.

【0018】図1は本発明の実施の形態の構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing the configuration of the embodiment of the present invention.

【0019】図1を参照すると、本実施の形態の記憶装
置10は、データの書き込み読み出しを制御するRAM
制御回路11と、データ書き込み時に必要なRAMに対
してのみアクセスを許可するRAMアクセス識別回路1
7と、複数の記憶素子(RAM)から構成されるRAM
15と、データ書き込み時に書き込みデータに対しデー
タを保証するチェックビットを生成し付加するチェック
ビット生成回路14と、読み出したデータを訂正または
訂正不可を検出するデータ訂正回路16と、RAM15
内のデータの一部を書き換えるためのデータを生成する
部分書き込み回路12と、部分書き込み回路12から発
行された部分書き込みデータまたは通常書き換えデータ
のどちらかを選択するセレクタ13とから構成される。
Referring to FIG. 1, a storage device 10 according to the present embodiment has a RAM for controlling writing and reading of data.
A control circuit 11 and a RAM access identification circuit 1 for permitting access only to a RAM required for writing data
7 and a RAM composed of a plurality of storage elements (RAM)
A check bit generation circuit 14 for generating and adding a check bit for guaranteeing data to the write data at the time of data writing; a data correction circuit 16 for correcting the read data to determine whether or not the data can be corrected;
A partial write circuit 12 for generating data for rewriting a part of the data in the memory, and a selector 13 for selecting either the partial write data issued from the partial write circuit 12 or the normal rewrite data.

【0020】記憶装置10は、上位のプロセッサ装置
(図示せず)から通常書き込み命令または部分書き込み
命令と、アドレスと、通常書き換えデータまたは部分書
き換えデータと、アクセスするRAMを示すnブロック
書き換え情報が通知される。
The storage device 10 receives a normal write command or a partial write command, an address, normal rewrite data or partial rewrite data, and n-block rewrite information indicating the RAM to be accessed from a higher-level processor device (not shown). Is done.

【0021】RAM15は、データを記憶するn個のR
AMを備えたデータ部151とデータを保証するチェッ
クビットを記憶するRAMを備えたチェックビット部1
52とから構成される。データ部151のRAM数はデ
ータ幅をn等分出来るn個で構成される。
The RAM 15 has n pieces of R for storing data.
Check bit unit 1 including a data unit 151 having an AM and a RAM storing a check bit for guaranteeing data.
52. The number of RAMs in the data section 151 is n which can divide the data width into n equal parts.

【0022】本実施の形態ではデータ幅を32ビット、
チェックビットを12ビット、1個のRAMビット幅を
4ビットとした場合で、使用するRAM数はデータ部が
8個、チェックビット部が3個の計11個のRAMで説
明する。
In this embodiment, the data width is 32 bits,
The case where the number of RAMs to be used is 12 when the check bits are 12 bits and the RAM bit width is 4 bits, and the number of RAMs to be used is 8 for the data portion and 3 for the check bit portion will be described in total 11 RAMs.

【0023】nブロック書き換え情報は、プロセッサ装
置より通常書き込み命令または部分書き込み命令があっ
た場合、データ部151のどのRAMに対し書き換えを
行うかとうい情報で、8個のRAMに対応し8ビットか
ら構成され、”1”の場合はアクセスし、”0”の場合
はアクセスを抑止とすることを示す。
The n-block rewrite information is information indicating which RAM of the data section 151 is to be rewritten when a normal write instruction or a partial write instruction is issued from the processor device. When "1", it indicates that access is to be performed, and when "0", access is to be suppressed.

【0024】RAM制御回路11は、セレクタ13に通
常の書き込みデータか部分書き込みデータかをセレクト
するセレクト信号と、RAMアクセス識別回路17に対
しデータ部151のRAMのアクセスに必要なチップセ
レクト信号(8ビット)と、チェックビット部のRAM
のアクセスに必要なチップセレクト信号(3ビット)
と、RAM11個に対しアドレスを発行する。
The RAM control circuit 11 supplies the selector 13 with a select signal for selecting normal write data or partial write data, and a chip select signal (8) required for the RAM access identification circuit 17 to access the RAM of the data section 151. Bit) and the RAM of the check bit part
Chip select signal (3 bits) required for access
Then, an address is issued to 11 RAMs.

【0025】RAMアクセス識別回路17は、RAM制
御回路11から受け取った信号と、nブロック書き換え
情報8ビットとからデータ部151のRAMに対しアク
セス要求されているRAMに対してのみアクセスを許可
するチップセレクト信号を発行する。
The RAM access identification circuit 17 is a chip that permits access only to the RAM requested to access the RAM of the data section 151 based on the signal received from the RAM control circuit 11 and the 8 bits of the n-block rewrite information. Issues a select signal.

【0026】データ訂正回路16は、RAM15から読
み出されたデータをチェックビット部152のチェック
ビットによりエラーを訂正出来るときはデータを訂正
し、訂正不可のときはエラー通知を行う。部分書き込み
命令のときは読み出されたデータを部分書き込み回路1
2に通知する。
The data correction circuit 16 corrects the data read from the RAM 15 when the error can be corrected by the check bit of the check bit section 152, and notifies the error when the error cannot be corrected. In the case of a partial write command, the read data is transferred to the partial write circuit 1.
Notify 2.

【0027】部分書き込み回路12は、プロセッサ装置
より受け取った部分書き換えデータとnブロック書き換
え情報とから部分書き込みデータを生成する。
The partial write circuit 12 generates partial write data from the partial rewrite data and n-block rewrite information received from the processor device.

【0028】生成された部分書き込みデータは、セレク
タ13でRAM制御回路11より発行されたセレクト信
号により選択されチェックビット生成回路14に通知さ
れる。
The generated partial write data is selected by the selector 13 by a select signal issued from the RAM control circuit 11, and is notified to the check bit generation circuit 14.

【0029】チェックビット生成回路14は、書き込み
するデータを保証するチェックビット(12ビット)を
生成しチェックビットを付加したデータをRAM15に
発行するとともにRAMアクセス識別回路17に出力要
求する。発行されたデータは、RAMアクセス識別回路
17から発行されたチップセレクト信号によりRAM1
5に書き込まれる。
The check bit generation circuit 14 generates a check bit (12 bits) for guaranteeing the data to be written, issues the data with the check bit added to the RAM 15, and requests the RAM access identification circuit 17 to output the data. The issued data is stored in the RAM 1 by the chip select signal issued from the RAM access identification circuit 17.
5 is written.

【0030】次に、記憶装置10の低消費電力化が図れ
る部分書き込み動作について説明する。
Next, a description will be given of a partial write operation for reducing the power consumption of the storage device 10.

【0031】RAM制御回路11は部分書き込み命令信
号とアドレスとをプロセッサ装置から受け取ると、セレ
クタ13に部分書き込みデータをセレクトするセレクト
信号を発行後、まず読み出し動作を行うためにデータ部
151のRAM8個にアクセスするチップセレクト信号
8ビットをRAMアクセス識別回路17に発行し、チェ
ックビット部152のRAM3個にアクセス可能なチッ
プセレクト信号3ビットとRAM15のRAM11個に
対しアドレスを発行する。
When the RAM control circuit 11 receives the partial write command signal and the address from the processor unit, it issues a select signal for selecting the partial write data to the selector 13 and then firstly executes the eight RAMs of the data section 151 to perform the read operation. Issue a 8 bit chip select signal to the RAM access identification circuit 17, and issue an address to the 3 bit chip select signal accessible to the 3 RAMs in the check bit section 152 and the 11 RAMs in the RAM 15.

【0032】RAMアクセス識別回路17は受け取った
チップセレクト信号8ビット信号をRAM15に対しチ
ップセレクト信号を発行する。部分書き込みの対象RA
Mを示すnブロック書き換え情報8ビットは保持してお
く。RAM15はデータ部151の読み出しを行い、読
み出されたデータはデータ訂正回路16を介して部分書
き込み回路12に通知される。
The RAM access identification circuit 17 issues the received chip select signal 8-bit signal to the RAM 15 as a chip select signal. Target RA for partial write
8 bits of n-block rewrite information indicating M are held. The RAM 15 reads the data section 151, and the read data is notified to the partial write circuit 12 via the data correction circuit 16.

【0033】部分書き込み回路12は、プロセッサ装置
より通知される部分書き換えデータとデータ訂正回路1
6〜通知されたデータとnブロック書き換え情報とから
部分書き込みデータを生成する。生成された部分書き込
みデータは、セレクタ13でRAM制御回路11から通
知されたセレクト信号により選択され、チェックビット
生成回路14に入力される。チェックビット生成回路1
4はデータを保証するチェックビット12ビットを生成
し生成された部分書き込みデータに付加されRAM15
に出力するとともに出力要求をRAMアクセス識別回路
17に通知する。
The partial write circuit 12 is provided with the partial rewrite data notified from the processor device and the data correction circuit 1.
6- Generate partial write data from the notified data and the n-block rewrite information. The generated partial write data is selected by the selector 13 based on the select signal notified from the RAM control circuit 11, and is input to the check bit generation circuit 14. Check bit generation circuit 1
Reference numeral 4 denotes a RAM 15 which generates 12 bits of check bits for guaranteeing data and is added to the generated partial write data and
And an output request is notified to the RAM access identification circuit 17.

【0034】RAMアクセス識別回路17はこの出力要
求が通知されたとき保持しておいたnブロック書き換え
情報からデータ部151のRAMをアクセスするチップ
セレクト信号8ビットを発行し部分書き込みデータをR
AM15に出力する。
The RAM access identification circuit 17 issues an 8-bit chip select signal for accessing the RAM of the data section 151 from the n-block rewrite information held when the output request is notified, and stores the partial write data in R.
Output to AM15.

【0035】また通常書き込み命令のときは、RAM1
5のデータ部151の全RAMへの書き込みを示すnブ
ロック書き換え情報がプロセッサ装置より通知されるの
で通常書き換えデータがRAM15の全RAMに書き込
みされる。
In the case of a normal write command, the RAM 1
Since the n-block rewriting information indicating the writing of the data portion 151 of No. 5 to all the RAMs is notified from the processor device, the normal rewriting data is written to all the RAMs of the RAM 15.

【0036】以上説明したように本発明により、データ
書き換え対象のRAMのRAMに対してのみ書き込み動
作を行うので低消費電力化を図れる。
As described above, according to the present invention, since the write operation is performed only on the RAM of the RAM to be rewritten, the power consumption can be reduced.

【0037】[0037]

【発明の効果】以上説明したように、本発明の記憶装置
は、部分書き込み動作時には部分書き込み対象のRAM
のみをアクセスし、対象以外のRAMのアクセスを抑止
することにより低消費電力化を図れるという効果を有し
ている。
As described above, the storage device according to the present invention can be used in a partial write operation in a RAM to be partially written.
This has the effect of reducing power consumption by accessing only the RAM and suppressing access to RAMs other than the target.

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

【図1】本発明の実施の形態の構成を示すブロック図で
ある。
FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention.

【図2】従来例の実施の形態の構成を示すブロック図で
ある。
FIG. 2 is a block diagram showing a configuration of an embodiment of a conventional example.

【符号の説明】[Explanation of symbols]

10、20 記憶装置 11、21 RAM制御回路 12、22 部分書き込み回路 13、23 セレクタ 14、24 チェックビット生成回路 15、25 RAM 16、26 データ訂正回路 17 RAMアクセス識別回路 10, 20 Storage device 11, 21 RAM control circuit 12, 22 Partial write circuit 13, 23 Selector 14, 24 Check bit generation circuit 15, 25 RAM 16, 26 Data correction circuit 17 RAM access identification circuit

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 上位のプロセッサ装置から通常書き込み
命令または部分書き込み命令と書き込みするアドレスと
通常書き換えデータまたは部分書き込みデータと書き込
みする記憶素子を示すnブロック書き換え情報とを受け
取り書き込み対象の記憶素子をアクセスする記憶装置で
あって、 n個の記憶素子から構成されるRAMと、通常書き込み
命令または部分書き込み命令と書き込みするアドレスと
を受け取り前記RAMへの書き込みを制御するRAM制
御回路と、 前記RAMから読み出したデータの訂正または訂正不可
の検出を行うデータ訂正回路と、 前記RAMから読み出されたデータの一部を書き換える
ための部分書き込みデータを生成する部分書き込み回路
と、 生成された前記部分書き込みデータと通常書き換えデー
タの何れかを選択するセレクタと、 選択された書き込みデータの書き込み時に書き込みデー
タを保証するチェックビットを生成付加し前記RAMに
出力要求するチェックビット生成回路と、 データの書き込み時はnブロック書き換え情報により書
き込み対象の前記記憶素子に対してのみアクセスを許可
するRAMアクセス識別回路と、を備えることを特徴と
する記憶装置。
A host device receives a normal write command or a partial write command, an address to be written, and normal rewrite data or n-block rewrite information indicating a storage element to be written and accesses a storage element to be written. A RAM composed of n storage elements, a RAM control circuit that receives an address for writing a normal write command or a partial write command and a write address, and controls writing to the RAM; A data correction circuit that corrects the corrected data or detects that the data cannot be corrected, a partial write circuit that generates partial write data for rewriting a part of the data read from the RAM, and the generated partial write data. Normally one of the rewrite data A selector for selecting the selected write data, a check bit generation circuit for generating and adding a check bit for guaranteeing the write data when writing the selected write data, and requesting the output to the RAM; A storage device comprising: a RAM access identification circuit that permits access only to a storage element.
【請求項2】 前記RAMは、上位のプロセッサ装置と
1度に送受するデータのデータ幅をn等分できるn個の
記憶素子を備えることを特徴とする請求項1記載の記憶
装置。
2. The storage device according to claim 1, wherein the RAM includes n storage elements that can divide the data width of data transmitted and received at a time with a host processor device by n.
【請求項3】 前記RAMは、データを記憶するn個の
記憶素子からなるデータ部とチェックビットを記憶する
記憶素子からなるチェックビット部とを備えることを特
徴とする請求項2記載の記憶装置。
3. The storage device according to claim 2, wherein the RAM includes a data section including n storage elements for storing data and a check bit section including storage elements for storing check bits. .
【請求項4】 前記RAM制御回路は、前記セレクタに
対し通常の書き換えデータか部分書き込みデータかをセ
レクトするセレクト信号と、前記RAMアクセス識別回
路に対し前記データ部の記憶素子をアクセスする第1の
チップセレクト信号と、前記チェックビット部の記憶素
子をアクセスする第2のチップセレクト信号と、前記デ
ータ部および前記チェックビット部の記憶素子をアクセ
スするアドレスとを発行することを特徴とする請求項
1、2または3記載の記憶装置。
4. The RAM control circuit includes: a select signal for selecting normal rewrite data or partial write data for the selector; and a first signal for accessing a storage element of the data unit for the RAM access identification circuit. 2. The semiconductor device according to claim 1, wherein a chip select signal, a second chip select signal for accessing a storage element of the check bit section, and an address for accessing the storage element of the data section and the check bit section are issued. 4. The storage device according to 2, 3 or 4.
【請求項5】 前記RAM制御回路は、前記部分書き込
み命令を受け取ったとき部分書き込みデータをセレクト
するセレクト信号の発行と前記データ部の全記憶素子の
読み込み動作を指示する第1のチップセレクト信号の発
行とを行うことを特徴とする請求項1、2または3記載
の記憶装置。
5. The RAM control circuit, when receiving the partial write command, issues a select signal for selecting partial write data and issues a first chip select signal for instructing a read operation of all storage elements of the data section. The storage device according to claim 1, 2 or 3, wherein the storage device performs issuance.
【請求項6】 前記nブロック書き換え情報は、通常書
き込み命令または部分書き込み命令がアクセスする前記
データ部の記憶素子を示すことを特徴とする請求項1ま
たは3記載の記憶装置。
6. The storage device according to claim 1, wherein the n-block rewrite information indicates a storage element of the data section accessed by a normal write instruction or a partial write instruction.
【請求項7】 前記RAMアクセス識別回路は、通知さ
れた前記第1のチップセレクト信号を前記nブロック書
き換え情報の示す記憶素子のみをアクセスする第3のチ
ップセレクト信号を作成し書き込み動作の出力要求が通
知されたとき前記第3のチップセレクト信号を前記デー
タ部の記憶素子に発行することを特徴とする請求項1ま
たは4記載の記憶装置。
7. The RAM access identification circuit creates a third chip select signal for accessing only the storage element indicated by the n-block rewrite information based on the notified first chip select signal, and outputs a write operation output request. 5. The storage device according to claim 1, wherein the third chip select signal is issued to the storage element of the data section when the notification is sent.
【請求項8】 前記データ訂正回路は、前記RAMから
読み出されたデータをチェックビット部のチェックビッ
トによりエラーを訂正出来るときは前記データを訂正し
訂正不可のときはエラー通知を行い、前記部分書き込み
命令のときは読み出された前記データを前記部分書き込
み回路に通知することを特徴とする請求項1記載の記憶
装置。
8. The data correction circuit corrects the data read from the RAM when an error can be corrected by a check bit in a check bit portion, and issues an error notification when the data cannot be corrected. 2. The storage device according to claim 1, wherein when the write command is issued, the read data is notified to the partial write circuit.
【請求項9】 前記部分書き込み回路は、前記データ訂
正回路より通知された前記データと前記部分書き換えデ
ータと前記nブロック書き換え情報とから部分書き込み
データを生成することを特徴とする請求項1または7記
載の記憶装置。
9. The partial write circuit according to claim 1, wherein the partial write circuit generates partial write data from the data notified from the data correction circuit, the partial rewrite data, and the n-block rewrite information. A storage device as described.
【請求項10】 前記セレクタは、通知された前記セレ
クト信号により前記部分書き込みデータまたは通常書き
換えデータをセレクトし前記チェックビット生成回路に
通知することを特徴とする請求項1または8記載の記憶
装置。
10. The storage device according to claim 1, wherein the selector selects the partial write data or normal rewrite data based on the notified select signal and notifies the check bit generation circuit.
【請求項11】 前記チェックビット生成回路は、前記
セレクタにより選択された書き込みするデータを保証す
るチェックビットを生成しチェックビットを付加した書
き込みデータを前記RAMに発行するとともに出力要求
を前記RAMアクセス識別回路に通知することを特徴と
する請求項1記載の記憶装置。
11. The check bit generation circuit generates a check bit for guaranteeing data to be written selected by the selector, issues write data with the check bit added to the RAM, and identifies an output request to the RAM access identification. 2. The storage device according to claim 1, wherein the notification is sent to a circuit.
JP10015548A 1998-01-28 1998-01-28 Storage device Pending JPH11212877A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10015548A JPH11212877A (en) 1998-01-28 1998-01-28 Storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10015548A JPH11212877A (en) 1998-01-28 1998-01-28 Storage device

Publications (1)

Publication Number Publication Date
JPH11212877A true JPH11212877A (en) 1999-08-06

Family

ID=11891842

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10015548A Pending JPH11212877A (en) 1998-01-28 1998-01-28 Storage device

Country Status (1)

Country Link
JP (1) JPH11212877A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007066423A (en) * 2005-08-31 2007-03-15 Toshiba Corp Semiconductor integrated circuit device
US7219272B2 (en) 2001-07-04 2007-05-15 Renesas Technology Corp. Semiconductor integrated circuit with memory redundancy circuit
KR101120585B1 (en) 2002-12-27 2012-03-09 가부시기가이샤 히다치초엘에스아이시스템즈 Semiconductor device
US9311181B2 (en) 2012-11-15 2016-04-12 Samsung Electronics Co., Ltd. Memory controller changing partial data in memory device and method for changing partial data thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7219272B2 (en) 2001-07-04 2007-05-15 Renesas Technology Corp. Semiconductor integrated circuit with memory redundancy circuit
KR100941565B1 (en) * 2001-07-04 2010-02-10 가부시키가이샤 히타치세이사쿠쇼 Semiconductor devices
US7710764B2 (en) 2001-07-04 2010-05-04 Renesas Technology Corp. Semiconductor memory cells with shared p-type well
KR101120585B1 (en) 2002-12-27 2012-03-09 가부시기가이샤 히다치초엘에스아이시스템즈 Semiconductor device
JP2007066423A (en) * 2005-08-31 2007-03-15 Toshiba Corp Semiconductor integrated circuit device
US9311181B2 (en) 2012-11-15 2016-04-12 Samsung Electronics Co., Ltd. Memory controller changing partial data in memory device and method for changing partial data thereof

Similar Documents

Publication Publication Date Title
JP2009211153A (en) Memory device, information processing apparatus, and electric power controlling method
JPH11212877A (en) Storage device
US8312216B2 (en) Data processing apparatus and data processing method
JP2005182538A (en) Data transfer device
US10297304B1 (en) Memory device and operating method thereof
US6813647B2 (en) Microcomputer system reading data from secondary storage medium when receiving upper address from outside and writing data to primary storage medium
US20070047308A1 (en) Memory controller, flash memory system and control method for flash memory
US8812767B2 (en) Method of controlling memory, memory control circuit, storage device and electronic device
JP3821911B2 (en) Memory initialization control method
JP3625060B2 (en) Instruction execution apparatus and instruction execution method
JPH11184761A (en) Read modify write control system
JP3789248B2 (en) Program loading method, program loading apparatus and recording medium therefor
JP3070454B2 (en) Memory access control circuit
JPH04237351A (en) Memory rewriting system
JPH0675864A (en) Memory error recovery system
JPS63271555A (en) Storage control system
JPH0689237A (en) Memory control system
JP3001464B2 (en) Microprocessor device
JPH07248976A (en) Storage controller
JPH0427571B2 (en)
JPH0562456A (en) Memory card exchange system
JPH02285421A (en) Execution time control circuit
JPH04256121A (en) Disk device
JPH11316731A (en) Data input/output processor
JPH11176155A (en) Dram-refreshing circuit

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20001010