JPS59226954A - Type-based recorder of memory access - Google Patents
Type-based recorder of memory accessInfo
- Publication number
- JPS59226954A JPS59226954A JP58103154A JP10315483A JPS59226954A JP S59226954 A JPS59226954 A JP S59226954A JP 58103154 A JP58103154 A JP 58103154A JP 10315483 A JP10315483 A JP 10315483A JP S59226954 A JPS59226954 A JP S59226954A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- mem
- data
- access
- address
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
(a)1発明の技術分野
本発明はメモリ・アクセス種別記録装置に係り、特にプ
ログラム・デパック及び評価に有効な効果を発揮するメ
モリ・アクセス種別記録装置に関するものである。Detailed Description of the Invention (a) 1 Technical Field of the Invention The present invention relates to a memory access type recording device, and particularly to a memory access type recording device that is effective for program depacking and evaluation. .
山)、従来技術と問題点
ディジタル形時分割電子交換機を駆動させるプログラム
を作成し実際に走らせた場合、メモリを破壊する等の種
々のプログラム・ミスを生じ、此れをデパックする必要
が生ずる。又メモリを破壊する処迄は行がない迄もメモ
リの利用に不十分な点等を調査し、作成したプログラム
の修正改善の必要なことはよく有ることである。Prior Art and Problems When a program to drive a digital time-division electronic exchange is created and actually run, various program errors such as memory corruption occur, and it becomes necessary to depack the program. Even if there is no line that destroys memory, it is often necessary to investigate insufficiencies in memory usage and modify and improve the created program.
此の様に従来技術に依るとプログラム作成の改善は大変
手間の掛がる仕事であると云う欠点があった。As described above, the conventional technology has the disadvantage that improving program creation is a very time-consuming task.
(C)9発明の目的
本発明の目的は従来のプログラム作成・修正の方法を改
善する為プログラム・デパック及び評価に有効な効果を
発揮するメモリ・アクセス種別記録装置を提供すること
である。(C)9 OBJECTS OF THE INVENTION An object of the present invention is to provide a memory access type recording device that is effective in program depacking and evaluation in order to improve conventional program creation and modification methods.
(d〕0発明の構成
上記の目的は本発明によれば、プロセッサとメモリを有
するシステムに於いて、前記プロセッサから前記メモリ
をアクセスする際のアドレス情報及び命令の読み出しが
データの読み出しがデータの書込みかを識別するアクセ
ス種別情報を受信し、前記メモリのアドレス単位にアク
セスの有無及び前記アクセス種別情報を記録することを
特徴とするメモリ・アクセス種別記録装置を提供するこ
とにより達成される。(d) 0 Structure of the Invention According to the present invention, in a system having a processor and a memory, reading of address information and instructions when accessing the memory from the processor is difficult. This is achieved by providing a memory access type recording device characterized in that it receives access type information identifying whether it is a write, and records whether or not there is an access and the access type information in units of addresses of the memory.
(e)8発明の実施例
第1図は本発明の一実施例を示すブロック図である。図
中CPUはプロセッサ、MEMはメモリ、10Cは入出
力装置、5BUSはシステム・バス、PDBGは本発明
によるメモリ・アクセス種別記録装置を示す。(e) 8 Embodiments of the Invention FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, CPU is a processor, MEM is a memory, 10C is an input/output device, 5BUS is a system bus, and PDBG is a memory access type recording device according to the present invention.
第2図は本発明に依るシステム・バスの一実施例を示す
図である。図中REQはバス・アクセス信号、ACKは
バス・アクセス信号REQに対する応答信号、MEM/
IOはメモリMEMへのアクセス又は入出力装置IOC
へのアクセスを識別する信号、W/Rは書込み/読み出
しの識別信号、1/PはメモリMEMへアクセスする時
インストラクションIかオペランド(データ)Pかを識
別する信号、A ddressはアドレス、Dataは
データを夫々示す。FIG. 2 is a diagram illustrating one embodiment of a system bus according to the present invention. In the figure, REQ is a bus access signal, ACK is a response signal to the bus access signal REQ, and MEM/
IO is access to memory MEM or input/output device IOC
W/R is a write/read identification signal, 1/P is a signal that identifies whether to access the memory MEM, instruction I or operand (data) P, Address is the address, and Data is the The data are shown respectively.
第3図の(a)はプロセッサCPUがメモリMEMにデ
ータを書き込む時のシーケンスを示す図であり、第3図
の(b)はプロセッサCPUがメモリMEMからデータ
を読み出す時のシーケンスを産す図である。FIG. 3(a) is a diagram showing the sequence when the processor CPU writes data to the memory MEM, and FIG. 3(b) is a diagram showing the sequence when the processor CPU reads data from the memory MEM. It is.
以下図に従って本発明の詳細な説明する。The present invention will be described in detail below with reference to the drawings.
試験しようとするプログラムを本発明に依るメモリ・ア
クセス種別記録装置を使用してデパック又は評価しよう
とする時は、第1図に示す様にメモリ・アクセス種別記
録装置PDBGをシステム・バス5BUSに接続する。When attempting to depack or evaluate a program to be tested using the memory access type recording device according to the present invention, connect the memory access type recording device PDBG to the system bus 5BUS as shown in FIG. do.
システム・バス5BUSは第2図に示す様に構成されて
いる。The system bus 5BUS is configured as shown in FIG.
試験しようとするプログラムが走行すると、プロセッサ
CPUとメモリMEM間で授受するデータData 、
アドレスAddress、識別信号1 /P、識別信号
W/R,iii別信号MEM/IO、ハス・アクセス信
号REQ、及び応答信号ACKは夫々対応するバスに出
力される。When the program to be tested runs, data exchanged between the processor CPU and the memory MEM,
Address Address, identification signal 1/P, identification signal W/R, iii separate signal MEM/IO, hash access signal REQ, and response signal ACK are output to corresponding buses, respectively.
例えばプロセッサCPUがらメモリMEMにデータを書
き込む時は、第3図のCalに示す様に最初メモリME
Mへのアクセス又は入出力装置10Cへのアクセスを識
別する信号MEM/10、書込み/読み出しの識別信号
W/R、メモリMEMへアクセスする時インストラクシ
ョン■かオペランド(データ)Pかを識別する信号1/
P、メモリMEMの何処の番地に書き込むかを示すアド
レスAddressの4種類の情報が印加され、次にバ
ス・アクセス信号REQが印加される。For example, when writing data to the memory MEM from the processor CPU, first write the data to the memory MEM as shown in Cal in Figure 3.
Signal MEM/10 for identifying access to M or input/output device 10C, write/read identification signal W/R, signal 1 for identifying whether instruction ■ or operand (data) P when accessing memory MEM /
Four types of information are applied: P and Address indicating which address in the memory MEM is to be written, and then a bus access signal REQ is applied.
尚データDataはメモリ・アクセス種別記録装置PD
BGに入力されない。Note that the data Data is the memory access type recording device PD.
Not input to BG.
此のバス・アクセス信号REQの印加により前記4種類
の情報は総て本発明によるメモリ・アクセス種別記録装
置PDBGに入力され、此れ等の情報はメモリ・アクセ
ス種別記録装置PDBG内のトレース・メモリ (例え
ば64に程度一対象となるプログラムの大きさにより任
意に選定する)に番地対応に記録される。By applying this bus access signal REQ, all of the above four types of information are input to the memory access type recording device PDBG according to the present invention, and this information is stored in the trace memory in the memory access type recording device PDBG. (for example, approximately 64, which is arbitrarily selected depending on the size of the target program).
プロセッサCPUがメモリMEMからデータを読み出す
時も、第3図の[b)に示す様に総ての情報は同じくメ
モリ・アクセス種別記録装置PDBG内のトレース・メ
モリに番地対応に記録される。When the processor CPU reads data from the memory MEM, all information is similarly recorded in the trace memory in the memory access type recording device PDBG in correspondence with the address, as shown in [b] of FIG.
此の様に本発明に依るメモリ・アクセス種別記録装置P
DBG内のトレース・メモリに番地対応の形式で総ての
情報が記録されるので、何処の番地のメモリが如何なる
経過で変化したかが一目瞭然となり、プログラム・デパ
ック及び評価に有効な資料となる。As described above, the memory access type recording device P according to the present invention
Since all information is recorded in the trace memory in the DBG in an address-corresponding format, it becomes obvious at a glance which address's memory changed over what process, and becomes effective data for program depacking and evaluation.
第4図は本発明に依るメモリ・アクセス種別記録装置の
構成を示す図である。図中、CTLは制御回路、RAM
はランダム・アクセス・メモリでトレース・メモリとし
て使用され、DISPはディスプレイ、ACはアドレス
・カウンタ、SELは選択回路、AMPI、AMP2、
AMP3は夫々アンプ、INVI、I#V2は夫々イン
ハーク、G1、G2はアンド・ゲート、G3−G5はオ
ア・ゲートである。FIG. 4 is a diagram showing the configuration of a memory access type recording device according to the present invention. In the figure, CTL is a control circuit, RAM
is a random access memory used as a trace memory, DISP is a display, AC is an address counter, SEL is a selection circuit, AMPI, AMP2,
AMP3 is an amplifier, INVI and I#V2 are in-hook, G1 and G2 are AND gates, and G3-G5 are OR gates.
前述した様にメモリMEMへのアクセス又は入出力装置
IOCへのアクセスを識別する信号MEM/10、書込
み/読み出しの識別信号W/R、メモリMEMへアクセ
スする時インストラクションIかオペランド(データ)
Pかを識別する信号I/P、メモリMEMの何処の番地
に書き込むかを示すアドレスAddressの4種類の
情報が印加され、次にバス・アクセス信号REQが印加
される。此のバス・アクセス信号REQの印加により、
制御回路CTLは動作し、適当なタイミングを取り、ト
レース・メモリRAMに対し書込み信号を出し、命令が
データの書込み(Dll)か、データの読み出しくDI
2)か、インストラクション(DIO)かを識別して、
トレース・メモリRAMの指定された番地に記入する。As mentioned above, the signal MEM/10 identifies access to the memory MEM or the input/output device IOC, the write/read identification signal W/R, and the instruction I or operand (data) when accessing the memory MEM.
Four types of information are applied: a signal I/P that identifies whether the data is written in the memory MEM, and an address Address that indicates which address in the memory MEM is to be written, and then a bus access signal REQ is applied. By applying this bus access signal REQ,
The control circuit CTL operates, takes appropriate timing, issues a write signal to the trace memory RAM, and determines whether the command is to write data (Dll) or read data (DI).
2) or instruction (DIO),
Write to the specified address in the trace memory RAM.
アンプAMP2、AMP3、イ7バ−タINV1、IN
V2、アンド・ゲートG1、G2は上記識別回路を構成
する。Amplifier AMP2, AMP3, i7verter INV1, IN
V2, AND gates G1 and G2 constitute the above-mentioned identification circuit.
尚オア・ゲート03〜G5は、任意のアドレスを利用す
るインストラクションが既に在り、其の(DIO)が“
1”の時、其のアドレスにデータを書き込む(又はデー
タを読み取る)命令が来た時、前の(DIO)の“1″
信号が一度消されて“0論理和を取る回路である。Note that OR gates 03 to G5 already have instructions that use arbitrary addresses, and those (DIO) are “
1", when a command to write data (or read data) to that address comes, the previous (DIO)'s "1"
This is a circuit that takes a "0 OR" after the signal is turned off once.
又アドレス・カウンタACを外部から設定し、選択回路
SELに選択信号を与えるとトレース・メモリRAMの
希望のアドレスの内容をディスプレイDISPに表示す
ることが出来る。Further, by setting the address counter AC from the outside and applying a selection signal to the selection circuit SEL, the contents of a desired address in the trace memory RAM can be displayed on the display DISP.
(f)1発明の効果
以上詳細に説明した様に本発明によれば、メモリの使用
状況を一目瞭然とすることが可能となるのでプログラム
・デパック及び評価に有効なメモリ・アクセス種別記録
装置を実現出来ると云う大きい効果がある。(f) 1. Effects of the Invention As explained in detail above, according to the present invention, it is possible to see the memory usage status at a glance, thereby realizing a memory access type recording device that is effective for program depacking and evaluation. There are great effects that can be achieved.
第1図は本発明の一実施例を示すブロック図である。
第2図は本発明に依るシステム・バスの一実施例を示す
図である。
第3図の(a)はプロセッサCPUがメモリMEMにデ
ータを書き込む時のシーケンスを示す図であり、第3図
の(b)はプロセッサCPUがメモリMEMからデータ
を読み出す時のシーケンスを示す図である。
第4図は本発明に依るメモリ・アクセス種別記録装置の
構成を示す図である。
3Pt町
第 2 図FIG. 1 is a block diagram showing one embodiment of the present invention. FIG. 2 is a diagram illustrating one embodiment of a system bus according to the present invention. FIG. 3(a) is a diagram showing the sequence when the processor CPU writes data to the memory MEM, and FIG. 3(b) is a diagram showing the sequence when the processor CPU reads data from the memory MEM. be. FIG. 4 is a diagram showing the configuration of a memory access type recording device according to the present invention. 3Pt Town Figure 2
Claims (1)
ロセッサから前記メモリをアクセスする際のアドレス情
報及び命令の読み出しかデータの読み出しかデータの書
込みかを識別するアクセス種別情報を受信し、前記メモ
リのアドレス単位にアクセスの有無及び前記アクセス種
別情報を記録することを特徴とするメモリ・アクセス種
別記録装置。In a system having a processor and a memory, address information when accessing the memory from the processor and access type information identifying whether to read an instruction, read data, or write data are received, and an address unit of the memory is received. A memory access type recording device, characterized in that it records whether or not there is an access and the access type information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58103154A JPS59226954A (en) | 1983-06-09 | 1983-06-09 | Type-based recorder of memory access |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58103154A JPS59226954A (en) | 1983-06-09 | 1983-06-09 | Type-based recorder of memory access |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS59226954A true JPS59226954A (en) | 1984-12-20 |
Family
ID=14346582
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP58103154A Pending JPS59226954A (en) | 1983-06-09 | 1983-06-09 | Type-based recorder of memory access |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS59226954A (en) |
-
1983
- 1983-06-09 JP JP58103154A patent/JPS59226954A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS59226954A (en) | Type-based recorder of memory access | |
JP2614866B2 (en) | Self-diagnosis method | |
JPH0793101A (en) | Data backup device | |
JPH0335477A (en) | Peripheral memory controller | |
JPH0194455A (en) | System for accessing storage device | |
JPS619684A (en) | Default screen display system | |
JPH0553929A (en) | Central processing unit with fault information preserving function | |
JP2876488B2 (en) | Semiconductor file memory device | |
KR890008681A (en) | Processor control unit | |
JPH0322041A (en) | Real-time tracer | |
JPS6381547A (en) | Cache memory access system | |
JPS5918749B2 (en) | Pseudo error sending method | |
JPH04365142A (en) | Development backup system | |
JPH02266450A (en) | Test system for main storage device | |
JPS6037062A (en) | Memory reading-out method | |
JPS61204685A (en) | Accessing for video ram | |
JPS6180337A (en) | Electronic computer | |
JPH01163860A (en) | Input/output controller | |
JPH04130917A (en) | Electronic disk device | |
JPH0389482U (en) | ||
JPS6050585A (en) | Screen split display controller | |
JPH04245076A (en) | System for copying magnetic disk | |
JPS6274290U (en) | ||
JPS63298452A (en) | Tracer circuit | |
JPS63244250A (en) | Operation supervising system for computer system |