JPH077342B2 - Microcomputer evaluation device - Google Patents
Microcomputer evaluation deviceInfo
- Publication number
- JPH077342B2 JPH077342B2 JP1095836A JP9583689A JPH077342B2 JP H077342 B2 JPH077342 B2 JP H077342B2 JP 1095836 A JP1095836 A JP 1095836A JP 9583689 A JP9583689 A JP 9583689A JP H077342 B2 JPH077342 B2 JP H077342B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- address
- ram
- data
- evaluation
- 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
Links
- 238000011156 evaluation Methods 0.000 title claims description 40
- 241001504505 Troglodytes troglodytes Species 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Description
【発明の詳細な説明】 (イ) 産業上の利用分野 本発明は、マイクロコンピュータの評価装置に関し、特
に、評価用として使用されるメモリのアクセス状況を確
認するのに好適な、マイクロコンピュータの評価装置に
関するものである。The present invention relates to a microcomputer evaluation device, and particularly to a microcomputer evaluation suitable for confirming the access status of a memory used for evaluation. It relates to the device.
(ロ) 従来の技術 従来、量産用1チップマイクロコンピュータと略同一機
能を有する評価用マイクロコンピュータを用いてプログ
ラム評価を行なっていた場合について説明する。(B) Conventional Technology A case where a program evaluation is conventionally performed using an evaluation microcomputer having substantially the same function as a mass-production 1-chip microcomputer will be described.
まず評価用マイクロコンピュータに内蔵されているプロ
グラムカウンタによって外部のプログラムメモリの所定
アドレスがアクセスされると、該プログラムメモリの所
定アドレスに予め記憶されているプログラムデータが評
価用マイクロコンピュータに読み込まれる。一方、評価
用マイクロコンピュータに内蔵されているデータポイン
タによって外部のデータメモリの所定アドレスがアクセ
スされると、該データメモリの所定アドレスに書き込ま
れていたデータが評価用マイクロコンピュータに読み込
まれる。これにより、評価用マイクロコンピュータの内
部回路は、前記プログラムデータに基づいて動作し、取
り込んだ前記データを処理していた。First, when a predetermined address of an external program memory is accessed by a program counter built in the evaluation microcomputer, the program data stored in advance at the predetermined address of the program memory is read into the evaluation microcomputer. On the other hand, when a predetermined address of the external data memory is accessed by the data pointer built in the evaluation microcomputer, the data written in the predetermined address of the data memory is read by the evaluation microcomputer. As a result, the internal circuit of the evaluation microcomputer operates based on the program data and processes the fetched data.
ここで評価用マイクロコンピュータに対しては、コント
ロール回路が設けられている。即ち該コントロール回路
には、プログラム評価を行ないたいプログラムメモリの
所定アドレスのアドレスデータが予めプリセットされて
おり、且つ該コントロール回路には、評価用マイクロコ
ンピュータ内部のプログラムカウンタによるアドレスデ
ータが、プログラムメモリと共に印加される様になって
いる。従って評価用マイクロコンピュータからのアドレ
スデータがコントロール回路に印加され、該アドレスデ
ータがコントロール回路に予め定められたデータと一致
すると、該コントロール回路から一時停止信号が発生
し、これより該一時停止信号によって評価用マイクロコ
ンピュータの動作が一時停止することになる。この時、
評価用マイクロコンピュータから得られたデータが、正
規のプログラムデータに対応する正常なデータであるか
否かを解析することによって、プログラム評価を行なっ
ていた。Here, a control circuit is provided for the evaluation microcomputer. That is, the control circuit is preset with address data of a predetermined address of a program memory for which program evaluation is desired, and the control circuit stores address data by a program counter in the evaluation microcomputer together with the program memory. It is designed to be applied. Therefore, when the address data from the evaluation microcomputer is applied to the control circuit and the address data matches the predetermined data in the control circuit, a temporary stop signal is generated from the control circuit. The operation of the evaluation microcomputer will be temporarily stopped. At this time,
The program evaluation is performed by analyzing whether or not the data obtained from the evaluation microcomputer is normal data corresponding to the regular program data.
(ハ) 発明が解決しようとする課題 しかしながら前記従来の技術において、プログラム評価
を行なうことを目的とし、評価用マイクロコンピュータ
によって、データメモリの指定アドレスに対してデータ
の書き込み/読み出しを行なった場合、従来の評価装置
には、該データメモリの書き込み/読み出しアドレスを
確認する手段がなく、即ちデータメモリのどのアドレス
をアクセスしてプログラム評価を行なったのかを確認す
る術がなく、データメモリの全アドレスに対するアクセ
ス状況が不明確であった。従って、データメモリの所定
アドレスを誤ったプログラムデータに基づいて誤ってア
クセスし、誤ったプログラム評価を行なってしまった場
合でも、誤り状態を確認できず、これより正確なプログ
ラム評価ができない問題点があった。(C) Problems to be Solved by the Invention However, in the above-mentioned conventional technique, when data is written / read to / from a specified address of a data memory by an evaluation microcomputer for the purpose of program evaluation, The conventional evaluation device has no means for confirming the write / read address of the data memory, that is, there is no method for confirming which address of the data memory has been accessed to perform the program evaluation. The access status to was unclear. Therefore, even if a predetermined address of the data memory is erroneously accessed based on erroneous program data and erroneous program evaluation is performed, the error state cannot be confirmed, and there is a problem that more accurate program evaluation cannot be performed. there were.
更にプログラム評価によって使用されたデータメモリの
アクセス回数を一目で確認する手段がなく、これよりプ
ログラム評価時におけるデータメモリの正しいアクセス
回数に対する実際のアクセス回数を、迅速に確認できな
い問題点があった。Further, there is no means for confirming the access count of the data memory used by the program evaluation at a glance, so that there is a problem that the actual access count against the correct access count of the data memory at the time of the program evaluation cannot be confirmed promptly.
(ニ) 課題を解決するための手段 本発明は前記問題点を解決するために為されたものであ
り、 所定のデータが記憶される第1のメモリと、 該第1のメモリの各アドレスに1対1に対応し、該第1
のメモリのアドレスのアクセスを行なったことを示す処
理コードが書き込まれる対応アドレス、及び該第1のメ
モリの全アクセス回数を示すアクセス回数データが書き
込まれる特定アドレスとを有する第2のメモリと、 前記第1のメモリ及び前記第2のメモリの対応アドレス
を同時にアクセスするためのアドレスカウンタを内蔵
し、前記第1のメモリの指定アドレスにおける所定デー
タを読み込んで動作する評価用マイクロコンピュータ
と、 前記第1のメモリを書き込み又は読み出し動作させるた
めのメモリ駆動信号に基づき、書き込み状態となった前
記第2のメモリの対応アドレスに、前記処理コードを書
き込むための手段と、 前記第1のメモリ及び前記第2のメモリの各アクセス期
間において、前記第2のメモリの特定アドレスからアク
セス回数データを読み出してインクリメントする動作、
及びインクリメントされたアクセス回数データを前記第
2のメモリの特定アドレスに書き込む動作を行なう手段
と、 を備えたことを特徴とするマイクロコンピュータの評価
装置である。(D) Means for Solving the Problems The present invention has been made to solve the above-mentioned problems, and includes a first memory in which predetermined data is stored and an address in the first memory. One-to-one correspondence, the first
A second memory having a corresponding address to which a processing code indicating that the memory address has been accessed is written, and a specific address to which access count data indicating the total access count of the first memory is written, An evaluation microcomputer which incorporates an address counter for simultaneously accessing corresponding addresses of the first memory and the second memory, and operates by reading predetermined data at a specified address of the first memory; Means for writing the processing code to a corresponding address of the second memory in the write state based on a memory drive signal for writing or reading the memory of the first memory, and the second memory In each access period of the second memory, the address from the specific address of the second memory is Operation of incrementing reads Seth count data,
And a means for performing an operation of writing the incremented access count data to a specific address of the second memory, the evaluation device of the microcomputer.
(ホ) 作用 本発明は、マイクロコンピュータの評価装置であり、プ
ログラム評価時におけるメモリ(第1のメモリ)のアク
セス回数を示すアクセス回数データが記憶手段(第2の
メモリの特定アドレス)に記憶され、また第1のメモリ
の所定アドレスのアクセスを行なったことを示す処理コ
ードが、該第1のメモリの指定アドレスに対応する第2
のメモリの対応アドレスに書き込まれる。従って、メモ
リ(第1のメモリ)の正規のアドレスがアクセスされた
か否かをチェックできると共に、メモリ(第1のメモ
リ)のアクセス回数をも確認でき、これより正確なプロ
グラム評価を迅速に行なえることになる。(E) Operation The present invention is a microcomputer evaluation device, wherein access frequency data indicating the access frequency of the memory (first memory) at the time of program evaluation is stored in the storage means (specific address of the second memory). The processing code indicating that the predetermined address of the first memory has been accessed corresponds to the second address corresponding to the designated address of the first memory.
Is written to the corresponding address in the memory. Therefore, it is possible to check whether or not the regular address of the memory (first memory) has been accessed, and also to confirm the number of times the memory (first memory) has been accessed, so that more accurate program evaluation can be performed quickly. It will be.
(ヘ) 実施例 本発明の詳細を図示の実施例により具体的に説明する。(F) Examples The details of the present invention will be specifically described with reference to the illustrated examples.
図面について、符号及び構成を説明すると、(1)はエ
バリュエーションチップ(評価用マイクロコンピュー
タ)であり、該エバリュエーションチップ(1)は、量
産用1チップマイクロコンピュータと略同一機能を有し
ており、アドレスカウンタとしてのデータポインタ(1
a)を内蔵している。(2)はRAM(メモリ、第1のメモ
リ)であり、該RAM(2)は、前記エバリュエーション
チップ(1)から出力される書き込み信号WR1(メモリ
駆動信号)によって書き込み状態となり、また読み出し
信号RD1(メモリ駆動信号)によって読み出し状態とな
る。Referring to the drawings, reference numerals and configurations will be described. (1) is an evaluation chip (evaluation microcomputer), and the evaluation chip (1) has substantially the same function as a mass-production 1-chip microcomputer. , A data pointer (1 as an address counter
a) built-in. Reference numeral (2) is a RAM (memory, first memory), and the RAM (2) is in a write state by a write signal WR1 (memory drive signal) output from the evaluation chip (1) and a read signal. It becomes a read state by RD1 (memory drive signal).
ここで前記エバリュエーションチップ(1)の一般的動
作について説明する。まず前記エバリュエーションチッ
プ(1)に内蔵されているプログラムカウンタ(図示せ
ず)によって、外部プログラムメモリ(図示せず)の所
定アドレスがアクセスされると、該プログラムメモリの
指定アドレスに予め記憶されているプログラムデータが
該エバリュエーションチップ(1)に読み込まれる。そ
してこのプログラムデータに基づき、該エバリュエーシ
ョンチップ(1)内部のデータポインタ(1a)によって
前記RAM(2)の所定アドレスがアクセスされ、前記エ
バリュエーションチップ(1)及び前記RAM(2)の指
定アドレス間で、書き込み信号WR1及び読み出し信号RD1
に基づくデータの書き込み/読み出しが行なわれる。そ
して、前記エバリュエーションチップ(1)内におい
て、前記プログラムメモリから読み込んだプログラムデ
ータに基づき、前記RAM(2)から読み込んだデータの
処理を行ない、処理データが正規のデータであるか否か
を解析することによって、上述した前記RAM(2)のア
ドレスアクセス用のプログラムデータ及びデータ処理用
のプログラムデータ等の良否をチェックし、即ちプログ
ラム評価を行なっている。Here, a general operation of the evaluation chip (1) will be described. First, when a predetermined address of an external program memory (not shown) is accessed by a program counter (not shown) built in the evaluation chip (1), it is stored in advance at a specified address of the program memory. The stored program data is read into the evaluation chip (1). Then, based on this program data, a predetermined address of the RAM (2) is accessed by the data pointer (1a) inside the evaluation chip (1), and the specified address of the evaluation chip (1) and the RAM (2) is accessed. Write signal WR1 and read signal RD1
Writing / reading of data is performed based on. Then, in the evaluation chip (1), the data read from the RAM (2) is processed based on the program data read from the program memory to analyze whether or not the processed data is regular data. By doing so, the quality of the address access program data and the data processing program data of the RAM (2) described above is checked, that is, the program evaluation is performed.
(3)はRAM(記憶手段、第2のメモリ)であり、該RAM
(3)は、前記RAM(2)の各アドレスに1対1に対応
する対応アドレスと1つの特定アドレス(3a)を有して
おり、また前記データポインタ(1a)によって、前記RA
M(2)及び前記RAM(3)の各対応アドレスが同時にア
クセスされる様になっている。(3) is a RAM (storage means, second memory), and the RAM
(3) has a corresponding address corresponding to each address of the RAM (2) on a one-to-one basis and one specific address (3a), and the data pointer (1a) allows the RA
The corresponding addresses of the M (2) and the RAM (3) are simultaneously accessed.
一点鎖線の(4)は書き込み制御回路であり、該書き込
み制御回路(4)はANDゲート(5)(6)及びORゲー
ト(7)を組み合わせて成り、即ちマルチプレクサを構
成する。そして前記ANDゲート(5)には、前記書き込
み信号WR1と、前記RAM(2)が書き込み状態の時に前記
RAM(3)を書き込み状態とするための書き込み許可信
号WRENが印加可能となっている。また前記ANDゲート
(6)には、前記読み出し信号RD1と、前記RAM(2)が
読み出し状態の時に前記RAM(3)を書き込み状態とす
るための書き込み許可信号RDENが印加可能となってい
る。そして、前記ORゲート(7)から出力される書き込
み信号WR3によって、前記RAM(3)は書き込み状態とな
る。即ち、前記RAM(2)が書き込み状態(WR1=
「1」)の時に前記RAM(3)を書き込み状態にするに
は、入力ポート(8)に「1」の書き込み許可信号WREN
を印加すればよく、また前記RAM(2)が読み出し状態
(RD1=「1」)の時に前記RAM(3)を書き込み状態に
するには、入力ポート(9)に「1」の書き込み許可信
号RDENを印加すればよい。言い換えれば、前記RAM
(2)が書き込み/読み出し状態の時に前記RAM(3)
を書き込み状態に設定する動作は任意である為、前記RA
M(2)が書き込み/読み出し状態であっても前記RAM
(3)を動作させないことも勿論可能である。A chain line (4) is a write control circuit, and the write control circuit (4) is formed by combining AND gates (5) and (6) and an OR gate (7), that is, a multiplexer. The AND gate (5) receives the write signal WR1 and the RAM (2) when it is in the write state.
A write enable signal WREN for putting the RAM (3) into a write state can be applied. Further, the AND gate (6) can be applied with the read signal RD1 and a write enable signal RDEN for putting the RAM (3) into a write state when the RAM (2) is in a read state. Then, the write signal WR3 output from the OR gate (7) puts the RAM (3) in a write state. That is, the RAM (2) is in a write state (WR1 =
In order to put the RAM (3) in the write state when "1"), the write enable signal WREN of "1" is input to the input port (8).
Is applied, and in order to put the RAM (3) in the write state when the RAM (2) is in the read state (RD1 = "1"), a write enable signal of "1" is input to the input port (9). RDEN should be applied. In other words, the RAM
The RAM (3) when the (2) is in the write / read state
Since the operation to set the write status is optional, the RA
Even if M (2) is in the write / read state, the RAM
It is of course possible not to operate (3).
(10)はコントロール回路(制御回路)であり、該コン
トロール回路(10)及び電源電圧Vddにプルアップされ
たプルアップ抵抗(11)とによって、処理コードを書き
込むための手段が構成される。そして前記RAM(3)を
書き込み状態に設定する前の状態において、前記RAM
(3)は、前記コントロール回路(10)の制御出力によ
ってイニシャルリセットされる。例えば前記RAM(3)
の各アドレス毎の1ワードが8ビットで構成されている
場合、前記コントロール回路(10)から得られたアドレ
スデータによって前記RAM(3)の各アドレスが順次ア
クセスされる度に、前記RAM(3)の指定アドレスには
「00000000」が書き込まれ、事実上、前記RAM(3)が
イニシャルリセットされたことになる。また前記RAM
(2)の所定アドレスがアクセスされてデータの書き込
み/読み出しが行なわれ、且つ前記RAM(3)が書き込
み状態に設定されている場合において、前記RAM(2)
の所定アドレスに対応する前記RAM(3)の対応アドレ
スには、前記コントロール回路(10)の制御出力にに基
づき電源電圧Vdd(=論理「1」)によって処理コード
「11111111」が書き込まれる様になっている。つまり、
前記RAM(2)において書き込み/読み出しを行なった
アドレスに対応する前記RAM(3)のアドレスには「111
11111」が書き込まれ、そうでない前記RAM(3)の残り
アドレスには「00000000」が書き込まれていることにな
る。従って、前記コントロール回路(10)から前記RAM
(3)に読み出し信号RD2を任意に印加し、前記RAM
(3)の書き込み内容を読み出すことによって、前記RA
M(2)のどのアドレスを使用したのかを容易にチェッ
クでき、特に前記RAM(2)のアドレスアクセス用のプ
ログラムデータの良否をチェックでき、正しいプログラ
ム評価が可能となるのである。Reference numeral (10) is a control circuit (control circuit), and the control circuit (10) and the pull-up resistor (11) pulled up to the power supply voltage Vdd constitute a means for writing a processing code. Then, in the state before setting the RAM (3) to the write state, the RAM
(3) is initially reset by the control output of the control circuit (10). For example, the RAM (3)
When one word for each address of 8 is composed of 8 bits, each time the address of the RAM (3) is sequentially accessed by the address data obtained from the control circuit (10), the RAM (3 "00000000" is written in the designated address of), which means that the RAM (3) is effectively reset. Also the RAM
In the case where the predetermined address in (2) is accessed to write / read data and the RAM (3) is set to the write state, the RAM (2)
The processing code "11111111" is written by the power supply voltage Vdd (= logic "1") based on the control output of the control circuit (10) to the corresponding address of the RAM (3) corresponding to the predetermined address of Has become. That is,
The address of the RAM (3) corresponding to the address written / read in the RAM (2) is “111”.
11111 "is written, and" 00000000 "is written in the remaining address of the RAM (3) which is not the case. Therefore, from the control circuit (10) to the RAM
The read signal RD2 is arbitrarily applied to (3), and the RAM
By reading the contents written in (3), the RA
It is possible to easily check which address of M (2) is used, and in particular, it is possible to check the quality of the program data for address access of the RAM (2), and correct program evaluation can be performed.
(12)はインクリメント回路であり、該インクリメント
回路(12)は、前記コントロール回路(10)が前記書き
込み信号WR3によって動作制御された時、前記コントロ
ール回路(10)から発生する制御信号CTLによって、前
記RAM(3)の特定アドレス(3a)に記憶されたアクセ
ス回数データ(8ビット)のインクリメント動作を行な
う。詳しくは、データポインタ(1a)によってRAM
(2)(3)の対応アドレスをアクセスする各アクセス
期間において、前記RAM(3)への処理コードの書き込
みが終了すると、前記コントロール回路(10)によって
前記RAM(3)の特定アドレス(3a)がアクセスされた
ままとなる。そして前記RAM(3)の特定アドレス(3
a)がアクセスされた状態において、前記コントロール
回路(10)から読み出し信号RD2が出力され、前記RAM
(3)の特定アドレス(3a)のアクセス回数データは読
み出され、該アクセス回数データは前記インクリメント
回路(12)内に読み込まれて+1インクリメントされ
る。その後、前記コントロール回路(10)から書き込み
信号WR2が出力され、+1インクリメント済のアクセス
回数データは、前記インクリメント回路(12)から読み
出されて前記RAM(3)の特定アドレス(3a)に書き込
まれる。つまり、前記RAM(2)(3)の対応アドレス
の各アクセス期間に、アクセス回数データの読み出し動
作、インクリメント動作、及び書き込み動作の一連の動
作を実行することによって、前記RAM(2)のアクセス
回数を示すアクセス回数データが特定アドレス(3a)に
記憶されることになる。従って、前記コントロール回路
(10)から前記RAM(3)に読み出し信号RD2を任意に印
加し、前記特定アドレス(3a)におけるアクセス回数デ
ータを読み出すことによって、前記RAM(2)のアクセ
ス回数を容易にチェックでき、特にプログラム評価時に
おけるRAM(2)の正規のアクセス回数だけ、実際にア
クセスされたか否かを容易にチェックでき、正しいプロ
グラム評価を迅速に行なえることになる。ここで前記コ
ントロール回路(10)及び前記インクリメント回路(1
2)より、前記RAM(3)の特定アドレス(3a)における
アクセス回数データの読み出し、インクリメント、書き
込みを実行するための手段が構成されている。尚、前記
RAM(3)の1ワードが8ビットである為、前記データ
ポインタ(1a)から出力されるアドレスデータが8ビッ
トならば、特定アドレス(3a)は1アドレスでよいが、
前記アドレスデータが16ビットならば、特定アドレス
(3a)は2アドレス必要となる。(12) is an increment circuit, and the increment circuit (12) is controlled by the control signal (CTL) generated from the control circuit (10) when the control circuit (10) is controlled by the write signal WR3. The access number data (8 bits) stored in the specific address (3a) of the RAM (3) is incremented. For details, use the data pointer (1a) to RAM
(2) When the writing of the processing code to the RAM (3) is completed during each access period for accessing the corresponding address of (3), the control circuit (10) causes the specific address (3a) of the RAM (3). Remains accessed. And the specific address (3
In the state where a) is accessed, the read signal RD2 is output from the control circuit (10), and the RAM
The access count data of the specific address (3a) of (3) is read, and the access count data is read into the increment circuit (12) and incremented by +1. Then, the write signal WR2 is output from the control circuit (10), and the +1 incremented access count data is read from the increment circuit (12) and written to the specific address (3a) of the RAM (3). . That is, during each access period of the corresponding address of the RAM (2) (3), by performing a series of operations of reading, incrementing, and writing the access count data, the access count of the RAM (2) Will be stored in the specific address (3a). Therefore, the read signal RD2 is arbitrarily applied from the control circuit (10) to the RAM (3) and the access count data at the specific address (3a) is read, thereby easily accessing the RAM (2). It is possible to check, in particular, it is possible to easily check whether or not the RAM (2) is actually accessed by the regular access number of RAM (2) at the time of program evaluation, and correct program evaluation can be quickly performed. Here, the control circuit (10) and the increment circuit (1
2) constitutes means for executing reading, incrementing, and writing of the access count data at the specific address (3a) of the RAM (3). Incidentally, the above
Since one word of the RAM (3) is 8 bits, if the address data output from the data pointer (1a) is 8 bits, the specific address (3a) may be one address,
If the address data is 16 bits, two specific addresses (3a) are required.
a,cはアドレスバス、b,dはデータバスであり、データバ
スdから前記RAM(3)に書き込まれるデータ「0000000
0」,「11111111」の切換えは、前記コントロール回路
(10)によって制御される。a, c are address buses, b, d are data buses, and data “0000000” written from the data bus d to the RAM (3) is written.
Switching between "0" and "11111111" is controlled by the control circuit (10).
以下に、RAM(2)を読み出し状態にすると共に、RAM
(3)を書き込み状態に設定する一例の動作について説
明する。Below, the RAM (2) is set to the read state and the RAM
An example of the operation of setting (3) to the write state will be described.
まずエバリュエーションチップ(1)から「1」の読み
出し信号RD1を出力させてRAM(2)を読み出し状態と
し、また「1」の書き込み許可信号RDENを入力ポート
(9)に印加し、書き込み制御回路(4)から出力され
る「1」の書き込み信号WR3によって、RAM(3)を書き
込み状態に設定する。尚、該RAM(3)を書き込み状態
に設定する以前に、コントロール回路(10)によってRA
M(3)をイニシャルリセットしておく。First, the evaluation chip (1) outputs the read signal RD1 of "1" to put the RAM (2) into the read state, and also applies the write enable signal RDEN of "1" to the input port (9) to write control circuit. The RAM (3) is set to the write state by the write signal WR3 of "1" output from (4). Before setting the RAM (3) to the write state, RA is set by the control circuit (10).
Initially reset M (3).
この状態で、データポインタ(1a)から所定のアドレス
データがアドレスバスaを介してRAM(2)に印加され
ると、該RAM(2)の所定アドレスがアクセスされ、該R
AM(2)の所定アドレスにおけるデータがエバリュエー
ションチップ(1)内部に読み込まれ、該エバリュエー
ションチップ(1)内部でデータ処理が行なわれる。一
方、アドレスバスaに重畳した前記アドレスデータによ
って、RAM(2)及びRAM(3)の対応アドレスが同時に
アクセスされており、データバスdに接続された電源電
圧Vddによって、RAM(2)において書き込み/読み出し
を行なったアドレスに対応するRAM(3)のアドレスに
は処理データ「11111111」が書き込まれる。In this state, when predetermined address data is applied from the data pointer (1a) to the RAM (2) via the address bus a, the predetermined address of the RAM (2) is accessed and the R
Data at a predetermined address of AM (2) is read into the evaluation chip (1), and data processing is performed inside the evaluation chip (1). On the other hand, the corresponding addresses of the RAM (2) and the RAM (3) are simultaneously accessed by the address data superimposed on the address bus a, and the writing is performed in the RAM (2) by the power supply voltage Vdd connected to the data bus d. / Processed data “11111111” is written to the address of the RAM (3) corresponding to the read address.
ここで書き込み信号WR3はコントロール回路(10)にも
印加されており、RAM(2)(3)の各アクセス期間毎
に、+1づつインクリメントされたアクセス回数データ
が特定アドレス(3a)に書き込まれる。これよりRAM
(2)による読み出し終了後、コントロール回路(10)
からの読み出し信号RD2によって、RAM(3)の書き込み
内容を読み出して解析し、正確なプログラム評価ができ
るようにしている。Here, the write signal WR3 is also applied to the control circuit (10), and the access count data incremented by +1 is written to the specific address (3a) for each access period of the RAMs (2) and (3). RAM than this
After reading by (2), control circuit (10)
With the read signal RD2 from the RAM, the write contents of the RAM (3) are read and analyzed to enable accurate program evaluation.
以上より、エバリュエーションチップ(1)によるプロ
グラム評価を行なうことを目的とし、RAM(2)におい
てデータの書き込み/読み出しを行なった場合、RAM
(3)の書き込み内容を読み出すことによって、RAM
(2)のどのアドレスを使用したのかを容易にチェック
できると共にRAM(2)のアクセス回数も容易にチェッ
クでき、これよりプログラム誤評価に迅速に気づき、正
確なプログラム評価を確実に行なえることになる。From the above, when writing / reading data to / from the RAM (2) for the purpose of program evaluation by the evaluation chip (1),
RAM is read by reading the contents written in (3).
It is possible to easily check which address in (2) is used and also the number of times RAM (2) is accessed, which makes it possible to quickly recognize a program erroneous evaluation and ensure accurate program evaluation. Become.
(ト) 発明の効果 本発明によれば、プログラム評価のために使用したメモ
リのアクセス状況及びアクセス回数を容易且つ迅速に確
認でき、これよりプログラム評価が誤っていても迅速に
気がつき、正確なプログラム評価を確実に行なえる利点
が得られる。(G) Effect of the Invention According to the present invention, the access status and the number of accesses of the memory used for program evaluation can be confirmed easily and quickly, and even if the program evaluation is incorrect, it is possible to quickly notice and obtain an accurate program. There is an advantage that the evaluation can be surely performed.
図面は本発明のマイクロコンピュータの評価装置を示す
ブロック図である。 (1)……エバリュエーションチップ、(2)(3)…
…RAM、(3a)……特定アドレス、(10)……コントロ
ール回路、(11)……プルアップ抵抗、(12)……イン
クリメント回路。The drawing is a block diagram showing an evaluation apparatus for a microcomputer of the present invention. (1) ... Evaluation chip, (2) (3) ...
… RAM, (3a) …… specific address, (10) …… control circuit, (11) …… pull-up resistor, (12) …… increment circuit.
Claims (1)
と、 該第1のメモリの各アドレスに1対1に対応し、該第1
のメモリのアドレスのアクセスを行ったことを示す処理
コードが書き込まれる対応アドレス、及び該第1のメモ
リの全アクセス回数を示すアクセス回数データが書き込
まれる特定アドレスとを有する第2のメモリと、 前記第1のメモリ及び前記第2のメモリの対応アドレス
を同時にアクセスするためのアドレスカウンタを内蔵
し、前記第1のメモリの指定アドレスにおける所定デー
タを読み込んで動作する評価用マイクロコンピュータ
と、 前記第1のメモリを書き込み又は読み出し動作させるた
めのメモリ駆動信号に基づき書き込み状態となった前記
第2のメモリの対応アドレスに、前記処理コードを書き
込むための手段と、 前記第1のメモリ及び前記第2のメモリの各アクセス期
間において、前記第2のメモリの特定アドレスからアク
セス回数データを読み出してインクリメントする動作、
及びインクリメントされたアクセス回数データを前記第
2のメモリの特定アドレスに書き込む動作を行う手段
と、 を備えたことを特徴とするマイクロコンピュータの評価
装置。1. A first memory in which predetermined data is stored, and each address of the first memory has a one-to-one correspondence with the first memory.
A second memory having a corresponding address to which a processing code indicating that the memory address has been accessed is written, and a specific address to which access count data indicating the total access count of the first memory is written, An evaluation microcomputer which incorporates an address counter for simultaneously accessing corresponding addresses of the first memory and the second memory, and operates by reading predetermined data at a specified address of the first memory; Means for writing the processing code to a corresponding address of the second memory which is in a write state based on a memory driving signal for writing or reading the memory of the first memory, the first memory and the second memory. During each access period of the memory, access is made from a specific address of the second memory. Operation of incrementing reads count data,
And a means for performing an operation of writing the incremented access count data to a specific address of the second memory, the evaluation device of the microcomputer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1095836A JPH077342B2 (en) | 1989-04-14 | 1989-04-14 | Microcomputer evaluation device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1095836A JPH077342B2 (en) | 1989-04-14 | 1989-04-14 | Microcomputer evaluation device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH02273839A JPH02273839A (en) | 1990-11-08 |
| JPH077342B2 true JPH077342B2 (en) | 1995-01-30 |
Family
ID=14148469
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1095836A Expired - Lifetime JPH077342B2 (en) | 1989-04-14 | 1989-04-14 | Microcomputer evaluation device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH077342B2 (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5366335A (en) * | 1976-11-26 | 1978-06-13 | Nec Corp | Memory unit |
| JPS6234261A (en) * | 1985-08-08 | 1987-02-14 | Fuji Electric Co Ltd | Supervisory unit for access state of memory |
-
1989
- 1989-04-14 JP JP1095836A patent/JPH077342B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH02273839A (en) | 1990-11-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0287338B1 (en) | Security fuse circuit for programmable logic array | |
| US4617660A (en) | Faulty-memory processing method and apparatus | |
| US4446516A (en) | Data compaction system with contiguous storage of non-redundant information and run length counts | |
| KR100305679B1 (en) | Test method of tester of a semiconductor memory device and apparatus thereof | |
| US5384749A (en) | Circuit for the management of memory words | |
| JPH077342B2 (en) | Microcomputer evaluation device | |
| JPS6146864B2 (en) | ||
| JP2000066949A (en) | Data recording / reproducing apparatus and memory access method of data recording / reproducing apparatus | |
| NL8902076A (en) | METHOD FOR INTERNAL SELF-TESTING AND REDUNDANCE PROGRAMMING FOR MEMORY CIRCUITS AND APPARATUS FOR CARRYING OUT THE METHOD | |
| JPH05342113A (en) | Embedded system RAM failure detection method | |
| JP3303673B2 (en) | Logic circuit test apparatus and logic circuit test method | |
| JP3389317B2 (en) | Integrated circuit test circuit | |
| JP2581057B2 (en) | Evaluation microcomputer | |
| SU1376121A2 (en) | Device for recording and checking programmed read-only memory | |
| JPH0716189Y2 (en) | Break circuit | |
| JPS5939777B2 (en) | control storage | |
| JPH02232741A (en) | Microcomputer evaluating device | |
| JPS626341A (en) | Information processor | |
| JPS63131237A (en) | Microcomputer with test circuit | |
| JPS6279505A (en) | Sequence controller | |
| JPS62168241A (en) | Microprogram controller | |
| JPH0266668A (en) | Data tracing method for multi-processor bus | |
| JPH04372025A (en) | Storage device with access bit | |
| JPH04111631U (en) | Microcomputer program evaluation device | |
| JPS6227421B2 (en) |