JPH04372025A - Storage device with access bit - Google Patents

Storage device with access bit

Info

Publication number
JPH04372025A
JPH04372025A JP3174671A JP17467191A JPH04372025A JP H04372025 A JPH04372025 A JP H04372025A JP 3174671 A JP3174671 A JP 3174671A JP 17467191 A JP17467191 A JP 17467191A JP H04372025 A JPH04372025 A JP H04372025A
Authority
JP
Japan
Prior art keywords
data
access bit
access
memory cell
memory
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.)
Withdrawn
Application number
JP3174671A
Other languages
Japanese (ja)
Inventor
Keijiro Shudo
首藤 恵二郎
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.)
Nippon Steel Corp
Original Assignee
Nippon Steel Corp
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 Steel Corp filed Critical Nippon Steel Corp
Priority to JP3174671A priority Critical patent/JPH04372025A/en
Publication of JPH04372025A publication Critical patent/JPH04372025A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To enable the decision of the presence or absence of an access to the specific address by providing a memory cell for access bit equipped with the access bit storing the presence of the reading and writing. CONSTITUTION:A storage device 1 capable of reading and writing data by an address decoder 5 and a data 10 part 6 is provided with a control means composing its memory of a memory cell 2 for data performing the reading and writing of the data, a memory cell 3 for access bit equipped with the access bit to be allocated corresponding to the address of the memory 2, an access bit control part 8 turning On the access bit corresponding to the address receiving the read/write access, and a multiplexer 7 to be used at the time of the reference of the access bit.

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 with an access bit that can record in hardware whether or not a specific address has been accessed during software development and debugging.

【0002】0002

【従来の技術】ソフトウエアの開発及びそのデバッグに
際しては、何らかのチェック手段が必要であるが、従来
、このような目的に対しては、メモリ素子にパリティビ
ットなどを組み込んでおき、そのビット変化からエラ−
を検出してデバッグを行っている。
[Prior Art] When developing and debugging software, some kind of checking means is necessary. Conventionally, for this purpose, a parity bit or the like is built into a memory element, and a parity bit or the like is built into the memory element to detect changes in the bit. error
is detected and debugged.

【0003】例えば、特開平2−195457号公報に
おいては、メモリへのアクセスの過程で記憶デ−タに基
づいてパリティデ−タを生成し、このパリティデ−タの
チェックを行うパリティデ−タ部を設ける構成が提案さ
れている。
For example, in Japanese Unexamined Patent Publication No. 2-195457, a parity data section is provided which generates parity data based on stored data during the process of accessing the memory and checks this parity data. A configuration is proposed.

【0004】しかし、パリティーデータを用いるチェッ
クでは、エラー検出は可能であるものの、プログラムの
特定の番地に対してアクセスが行われたか否かを確認す
るようなテストはできない。プログラムの特定の番地に
対してのアクセスの有無を知ることができれば、どうい
う状態でプログラムが実行されたか、エラー時にランし
たルートの特定などが可能になり、ソフトウェアの開発
及びそのデバッグが極めて容易に行えるようになる。従
来においては、デバッグ用のソフトウエアなどを用いて
メモリの内容を把握し、何をしようとしていたのかを解
析することによりデバッグを行っている。
However, although it is possible to detect errors with the check using parity data, it is not possible to perform a test to confirm whether or not a specific address in a program has been accessed. If it is possible to know whether or not a specific address in a program has been accessed, it becomes possible to identify the state in which the program was executed, the route taken in the event of an error, etc., which greatly facilitates software development and debugging. Be able to do it. Conventionally, debugging is performed by using debugging software to understand the contents of memory and analyze what the user is trying to do.

【0005】[0005]

【発明が解決しようとする課題】しかし、上記した従来
技術にあっては、デバッグ用のソフトウエアなどを用意
しなければならない不便さがある。
However, the above-mentioned prior art has the inconvenience of having to prepare debugging software.

【0006】本発明の目的は、上記した従来技術の実情
に鑑みてなされたもので、デバッグ用のソフトウエアな
どを用いることなく、特定の番地に対するアクセスの有
無の判断を可能にした記憶装置を提供することにある。
An object of the present invention has been made in view of the above-described actual state of the prior art, and provides a storage device that makes it possible to determine whether or not a specific address is being accessed without using debugging software or the like. It is about providing.

【0007】[0007]

【課題を解決するための手段】上記目手を達成するため
に、本発明は、デ−タのリ−ド/ライトが可能なメモリ
を備えた記憶装置において、前記メモリは、デ−タのリ
−ド/ライトを行うデ−タ用メモリセルとこのメモリセ
ルのアドレスに対応して割当てられるアクセスビットを
有するアクセスビット用メモリセルと、リ−ド/ライト
のアクセスが有ったアドレスに対応するアクセスビット
をオン状態にする制御手段とから成る構成にしている。
[Means for Solving the Problems] In order to achieve the above object, the present invention provides a storage device equipped with a memory capable of reading/writing data, wherein the memory is capable of storing data. A memory cell for data that is read/written, a memory cell for access bits that has an access bit assigned corresponding to the address of this memory cell, and a memory cell for the access bit that corresponds to the address that has been accessed for read/write. control means for turning on the access bit to be accessed.

【0008】[0008]

【作用】上記した手段によれば、過去にアクセスの有っ
たアドレスに対してはアクセスビットが立てられ  、
後からの確認が可能になる。したがって、ソフトウエア
の開発及びそのデバッグを効率的に行うことが出来る。 例えば、エラ−時に通ったル−トの確定、実行時の状態
の確認、全スラップを網羅するプログラムテストなどを
行うことが可能になる。
[Operation] According to the above-mentioned means, an access bit is set for an address that has been accessed in the past.
This allows for later confirmation. Therefore, software development and debugging can be carried out efficiently. For example, it becomes possible to determine the route taken at the time of an error, check the status during execution, and perform program tests covering all slaps.

【0009】[0009]

【実施例】以下、本発明の実施例について図面を参照し
ながら説明する。
Embodiments Hereinafter, embodiments of the present invention will be described with reference to the drawings.

【0010】図1は本発明による記憶装置の一実施例を
示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a storage device according to the present invention.

【0011】記憶装置1は、デ−タが格納されるデ−タ
用メモリセル2及びアクセスビット用メモリセル3から
メモリ4、メモリ4に対してアドレスを指定するアドレ
スコ−ダ5、メモリ4から読み出したデ−タの入出力を
制御するデ−タIO部6、デ−タとアクセスビットを混
合出力するマルチプレクサ(MPX)7、及びアクセス
ビット用メモリセル3におけるアクセスビットのオン/
オフを制御するアクセスビット制御部8の各々を備えて
構成される。
The memory device 1 includes a memory 4 from a data memory cell 2 in which data is stored and an access bit memory cell 3, an address coder 5 for specifying an address to the memory 4, and a memory 4. A data IO unit 6 controls the input/output of data read from the memory, a multiplexer (MPX) 7 mixes and outputs data and access bits, and turns on/off access bits in the access bit memory cell 3.
The access bit control unit 8 is configured to include access bit control units 8 that control off.

【0012】アクセスビット用メモリセル3は、過去に
デ−タのアクセスが行われたアドレスに対しては“1”
を立て、アクセス(リ−ド/ライトの要求)が無かった
場合には“0”を保持する。このアクセスビット用メモ
リセル3は、メモリの全バイトの各々にハ−ド的に付与
される。以上の構成において、通常のリ−ド/ライト(
デ−タ用メモリセル2へのリ−ド/ライト)は、AS(
アクセスビットセレクト信号)が非入力状態時に、CS
(チップセレクト信号)、RD(読みだし信号)、WR
(書き込み信号)に基づいてデ−タIO制御部6を制御
して行われる。このとき、マルチプレクサ7は、DOと
do間につなぐようにセットされている。
The access bit memory cell 3 is set to "1" for addresses to which data has been accessed in the past.
is set and held at "0" if there is no access (read/write request). This access bit memory cell 3 is provided in hardware to each byte of the memory. In the above configuration, normal read/write (
Read/write to data memory cell 2) is performed by AS(
When the access bit select signal) is not input, CS
(chip select signal), RD (read signal), WR
This is performed by controlling the data IO control section 6 based on the write signal. At this time, the multiplexer 7 is set to connect between DO and DO.

【0013】アクセスビットに対するリ−ド/ライトは
、AS(アクセスビットセレクト信号)が入力状態時に
、CS(チップセレクト信号)、RD(読み出し信号)
、WR(書き込み信号)に基づいてデ−タIO制御部6
を制御して行われる。AS(アクセスビットセレクト信
号)が入力されると、アクセスビット制御部8とデ−タ
IO制御部6の働きによって、デ−タ用メモリセル2(
dn〜do)に対しては、読み書きが行われないように
制御され、またマルチプレクサ7は、DOとCSbit
間をつなぐようにセットされている。
Read/write to access bits is performed using CS (chip select signal) and RD (read signal) when AS (access bit select signal) is in the input state.
, the data IO control unit 6 based on WR (write signal).
This is done under the control of When AS (access bit select signal) is input, the access bit control unit 8 and data IO control unit 6 operate to select the data memory cell 2 (
dn to do) are controlled so that no reading or writing is performed, and the multiplexer 7
It is set to connect the two.

【0014】また、通常のリ−ド/ライト(デ−タ用メ
モリセル2へのリ−ド/ライト)時には、アクセスされ
たデ−タ用メモリセルに付属するアクセスビットが1に
セットされる。
Furthermore, during normal read/write (read/write to data memory cell 2), an access bit attached to the accessed data memory cell is set to 1. .

【0015】次に  、アクセスビットの利用方法につ
いて説明する。
Next, a method of using access bits will be explained.

【0016】ASを入力して、アクセスビットをすべて
Oクリアした後、ASを非入力とする。この状態で、デ
バッグしたいソフトウェアCを動作させる。ソフトウェ
アCの中で、デ−タ用メモリセル2のa番地へのリ−ド
/ライトアクセスが行われると、a番地のデ−タ用メモ
リセル2に付属するアクセスビットが1にセットされる
。ソフトウェアCの中で、b番地へのアクセスが行われ
ないとするとb番地のデ−タ用メモリセル2に付属する
アクセスビットはOのままに保持される。ソフトウェア
Cを動作させた後に、ASを入力して、アクセスビット
の状態を読み出せば、実際にソフトウェアCがどこをア
クセスしたかという履歴がわかる。
After inputting AS and clearing all access bits to O, AS is made non-input. In this state, run the software C you want to debug. When a read/write access is made to address a of data memory cell 2 in software C, the access bit attached to data memory cell 2 at address a is set to 1. . If address b is not accessed in software C, the access bit attached to the data memory cell 2 at address b remains at O. After operating software C, by inputting AS and reading the state of the access bit, the history of where software C actually accessed can be found.

【0017】以上示したように、この発明の実施例によ
れば、ソフトウェアの開発及びそのデバッグを効率的に
行うことが可能になり、具体的には、エラ−時に通った
プログラムル−トの確定、どういう状態で実行されたか
の確認、プログラムテストの実行などが可能になる。
As shown above, according to the embodiments of the present invention, it is possible to efficiently develop and debug software, and specifically, it is possible to efficiently develop and debug software. It becomes possible to confirm, confirm the state in which the program was executed, and execute program tests.

【0018】[0018]

【発明の効果】以上説明した通り、この発明は、デ−タ
のリ−ド/ライトが可能なメモリを備えた記憶装置にお
いて、前記メモリは、デ−タのリ−ド/ライトを行うデ
−タ用メモリセルと、このメモリセルのアドレスに対応
して割当てられるアクセスビットを有するアクセスビッ
ト用メモリセルとリ−ド/ライトのアクセスが有ったア
ドレスに対応するアクセスビットをオン状態にする制御
手段とから成る構成にしたので、エラ−時に通ったル−
トの確定、実行時の状態の確認、プログラムテストなど
が可能になり、ソフトウェアの開発及びデバッグを効率
的に行うことができるようになる。
As explained above, the present invention provides a storage device equipped with a memory capable of reading/writing data, in which the memory is equipped with a memory capable of reading/writing data. - Turn on the memory cell for data, the memory cell for access bit that has an access bit assigned corresponding to the address of this memory cell, and the access bit corresponding to the address to which read/write access was performed. Since the configuration consists of a control means, the rules passed in the event of an error are
This makes it possible to confirm the execution status, check the execution state, and test the program, making it possible to develop and debug software efficiently.

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

【図1】本発明による記憶装置の一実施例を示すブロッ
ク図である。
FIG. 1 is a block diagram showing one embodiment of a storage device according to the present invention.

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

1  記憶装置 2  デ−タ用メモリセル 3  アクセスビット用メモリセル 4  メモリ 5  アドレスレコ−ダ 6  デ−タIO部 7  マルチプレクサ 8  アクセスビット制御部 1. Storage device 2. Data memory cell 3 Memory cell for access bit 4 Memory 5 Address recorder 6 Data IO section 7 Multiplexer 8 Access bit control section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  デ−タのリ−ド/ライトが可能なメモ
リを備えた記憶装置において、前記メモリは、デ−タの
リ−ド/ライトを行うデ−タ用メモリセルと、このメモ
リセルのアドレスに対応して割当てられるアクセスビッ
トを有するアクセスビット用メモリセルと、リ−ド/ラ
イトのアクセスが有ったアドレスに対応するアクセスビ
ットをオン状態にする制御手段とから成ることを特徴と
するアクセスビットつき記憶装置。
1. A storage device comprising a memory capable of reading/writing data, wherein the memory comprises a data memory cell for reading/writing data, and a memory cell for data reading/writing. It is characterized by comprising an access bit memory cell having an access bit assigned corresponding to the address of the cell, and a control means for turning on the access bit corresponding to the address accessed for read/write. A storage device with access bits.
JP3174671A 1991-06-20 1991-06-20 Storage device with access bit Withdrawn JPH04372025A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3174671A JPH04372025A (en) 1991-06-20 1991-06-20 Storage device with access bit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3174671A JPH04372025A (en) 1991-06-20 1991-06-20 Storage device with access bit

Publications (1)

Publication Number Publication Date
JPH04372025A true JPH04372025A (en) 1992-12-25

Family

ID=15982663

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3174671A Withdrawn JPH04372025A (en) 1991-06-20 1991-06-20 Storage device with access bit

Country Status (1)

Country Link
JP (1) JPH04372025A (en)

Similar Documents

Publication Publication Date Title
JPS6222199B2 (en)
JPH04372025A (en) Storage device with access bit
JP2642975B2 (en) One-chip microcomputer with built-in EEPROM
JPH01118933A (en) Single-chip microcomputer
JPS5856159A (en) Firmware tester
JPS6236269B2 (en)
JPH02123631U (en)
JPS6261974B2 (en)
JPS6223336B2 (en)
JPH0296257A (en) Diagnostic system for main storage
JPH0217555A (en) Memory diagnosing system
JPS63753A (en) Test system for memory error checking and correcting circuit
JPH04242455A (en) Inter-processor communication trace circuit
JPH096685A (en) Memory device and its error test method
JPH02216565A (en) Memory testing device
JPS63136238A (en) Microprogram control device
JPS63288345A (en) Numerical controller
JPH0315948A (en) Address bus test system
JP2002132590A (en) Memory fault isolation method
JPH04236644A (en) Cache memory diagnostic system
JPH064333A (en) Break point setting device
JPH01274252A (en) Activity history memory
JPH02105230A (en) Semiconductor integrated circuit
JPH0368048A (en) Memory test system
JPH03126147A (en) Test system for external storage device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980903