KR940001558B1 - Processor board state checking apparatus - Google Patents
Processor board state checking apparatus Download PDFInfo
- Publication number
- KR940001558B1 KR940001558B1 KR1019880014299A KR880014299A KR940001558B1 KR 940001558 B1 KR940001558 B1 KR 940001558B1 KR 1019880014299 A KR1019880014299 A KR 1019880014299A KR 880014299 A KR880014299 A KR 880014299A KR 940001558 B1 KR940001558 B1 KR 940001558B1
- Authority
- KR
- South Korea
- Prior art keywords
- address
- signal
- latch
- data
- input
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
Abstract
Description
제1도는 보오드 상태 추적장치의 인터페이스 블록 다이어그램.1 is an interface block diagram of a board state tracking device.
제2도는 보오드 상태 추적장치의 상세 회로도.2 is a detailed circuit diagram of the board state tracking device.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
1 : 중앙처리장치 2 : 어드레스디코더1: central processing unit 2: address decoder
6 : 멀티플렉서 10 : 래치부6: multiplexer 10: latch portion
11 : 버퍼 12 : 래치부11 buffer 12 latch portion
13 : 비교기 14 : 프로그래머블 어레이 로직(PAI)13: Comparator 14: Programmable Array Logic (PAI)
본 발명은 프로세서를 가진 보오드의 동작상태를 체크하기 위하여 프로그램의 진행중 일정한 지점, 또는 제어신호의 일정 조건에서 동작을 정지시켜 그때의 상황을 점거함으로써 프로그램이나 하드웨어를 디버깅(debugging)할 수 있도록 한 보오드 상태 추적장치에 관한 것이다.The present invention can be used to debug a program or hardware by taking over the situation by stopping the operation at a certain point in the program or at a certain condition of the control signal to check the operating state of the board with the processor. A state tracking device.
종래, 프로세서를 가진 보오드의 상태를 체크하기 위한 장치로는 프로세서에 해당하는 에뮬레이터가 있고, 또한 하드웨어 신호를 추적하기 위한 장비로서 논리 분석장치가 있다. 에뮬레이터는 프로그램 진행중의 플로우(flow)나 레지스터의 값등을 추적할 수 있지만 외부 제어신호를 체크할 수가 없고, 논리 분석장치는 그 반대로 외부 신호는 추적할 수 있지만 프로그램 진행중의 레지스터 값 등을 추적할 수 없었다.Conventionally, an apparatus for checking the state of a board having a processor includes an emulator corresponding to the processor, and a logic analyzer as an apparatus for tracking hardware signals. The emulator can track the flow in the program or the value of the register, but cannot check the external control signal, and the logic analyzer can track the external signal, but the register value in the program, etc. There was no.
따라서 본 발명에서는 프로그램 진행중의 레지스터 값 뿐만 아니라 외부제어 신호를 동시에 추적할 수 있어 하드웨어나 소프트웨어의 디버깅을 용이하게 할 수 있는 상태 추적장치를 제공하고자 한 것이다.Accordingly, an object of the present invention is to provide a state tracking device that can easily track an external control signal as well as a register value in progress of a program to facilitate debugging of hardware or software.
본 발명은 제1도와 같이 에뮬레이터와 논리분석 장치의 기본적인 기능인 프로그램 추적과 외부신호의 추적을 동시에 추적할 수 있도록 프로세서의 어드레스 라인과 데이타라인 및 제어신호의 조합으로 브레익포인트(breakpoint)를 설정할 수 있게 한다. 이때에 브레익포인트에 대한 서비스 루틴이 필요하며, 따라서 룸(ROM)내에 레지스터 덤프등의 기능을 설정해 두어야 한다.According to the first embodiment of the present invention, a breakpoint can be set by using a combination of an address line, a data line, and a control signal of a processor to simultaneously track a program trace and an external signal trace, which are basic functions of an emulator and a logic analyzer. To be. At this time, a service routine for the breakpoint is necessary, so a function such as register dump should be set in the room (ROM).
제2도는 제1도에 있어서 보오드 상태 추적장치의 상세회로를 나타낸다. 도면에서 알 수 있는 바와 같이 본 발명은 크게 어드레스 추적부(A)와, 데이타 추적부(B) 및 외부제어신호 추적부(C)로 구성되며 상기 각부의 구성은 동일하므로 여기에서는 어드레스추적부(A)에 대하여만 설명하기로 한다.2 shows a detailed circuit of the board state tracking apparatus in FIG. As can be seen from the figure, the present invention is largely composed of an address tracking unit A, a data tracking unit B, and an external control signal tracking unit C. Since the configuration of each unit is the same, the address tracking unit ( Only A) will be described.
어드레스 추적부(A)는 브레익포인트 값이 설정되는 래치부(10)와, 쓰기신호(WR)에 따라서 어드레스 또는 데이타신호를 상기 래치부에 공급하는 멀티플렉서(6), 읽기신호(RD)에 의하여 상기 래치부에 세이브된 내용을 CPU에 전달하여 그 내용을 확인할 수 있게 하는 버퍼(11), 래치부에 설정된 어드레스와 어드레스라인을 통과하는 어드레스가 동일한지를 비교하는 비교기(13)로 구성되며, 상기 비교기의 출력은 프로그래머블 어레이 로직(PAL)(14)에 입력되고, PAL(14)은 후술하는 자체논리식에 의하여 어드레스 라인과 래치부의 어드레스가 동일할때에 시스템의 동작을 중단시켜 CPU(1)에서 그 어드레스 값을 확인하도록 한다.The address tracking section A is provided with a latch section 10 for setting a breakpoint value, a multiplexer 6 for supplying an address or data signal to the latch section according to a write signal WR, and a read signal RD. And a buffer 11 for transmitting the contents stored in the latch unit to the CPU so that the contents can be checked, and a
이하 그 동작을 상세히 설명한다.The operation will be described in detail below.
사용자가 필요한 조건에 따라, 예를들면, 'AA'라는 임의의 어드레스 값에서 브레익 포인트를 설정하고자 한다면 'AA' 값을 래치부(10)에 래치시켜야 하는데 그 순서는 다음과 같다. 우선 중앙처리장치(1)에서 'AA' 값을 래치부(10)에 기록하기 위하여 어드레스 디코더(2)에 의하여 어드레스 신호(DA)가 발생되고, 이때의 쓰기신호(WR)가 하이이므로 AND 게이트(8)의 출력이 하이로 되고 래치부(10)에 'AA'가 래치된다. 이때 쓰기신호(WR)와 어드레스 신호(DA)가 하이이므로 AND 게이트(5)의 출력은 하이로 되며 이때에 멀티플렉서(6)의 출력(Y)이 데이타 라인(B)에 연결된다.According to the user's requirements, for example, if the user wants to set the break point at any address value 'AA', the 'AA' value should be latched to the latch unit 10. The order is as follows. First, in the CPU 1, an address signal DA is generated by the address decoder 2 in order to write an 'AA' value to the latch unit 10, and the write signal WR is high. The output of (8) goes high and 'AA' is latched in the latch section 10. At this time, since the write signal WR and the address signal DA are high, the output of the AND gate 5 becomes high, and at this time, the output Y of the multiplexer 6 is connected to the data line B.
이와 동시에 래치부(12)에 클릭이 발생하여 그 출력(EA)이 하이가 되어 'AA' 값이 사용자가 브레익 포인트를 설정했다는 것을 알려준다.At the same time, a click occurs in the latch unit 12 and its output EA becomes high so that the value 'AA' indicates that the user has set a break point.
'AA' 값으로 프레익 포인트를 설정하고 나면 어드레스 스트로브(As)가 액티브인 동안 비교기(13)가 동작하는데 어드레스 라인에 'AA'가 발생하면 그 출력(CA)이 하이로 되어 PAL의 입력으로 공급된다.After setting the freck point to 'AA', the
PAL(14)에서는 래치의 출력신호(EA)와 비교기 출력신호(CA)이 하이이고 외부제어 신호라인으로부터 데이타 인식신호(DTACKI)를 받아서 입력되면 버스에러신호(BERR)를 발생하고 외부에서 버스에러 입력신호(BERRI)가 들어오면 버스에러 신호(BERR)를 발생하여 시스템의 동작을 중단시킨다. EA와 CA가 동시에 하이가 아니면 사용자가 설정한 브레익 포인트가 아니므로 에러신호를 발생하지 않고 데이타 인식신호(DTACKI)를 받아서 그 응답신호(DTACK)를 발생시켜 CPU로 하여금 정상동작을 하게 한다.In the
PAL(14)에서 버스에러신호(BERR)가 발생하면 중앙처리장치(1)로 버스에러 신호를 보내는 동시에 그때의 어드레스라인에 실린 값을 래치부(10)에 래치한다. 이 정보는 브레익 포인트에서의 어드레스 값이되어 사용자가 프로그램이나 보오드의 상황을 분석할 수 있게 한다.When the bus error signal BERR occurs in the
이 정보를 읽기 위하여 중앙처리장치에서 래치부(10)의 내용을 판독하면 멀티플레서는 A에서 B로 전환되어 래치된 값이 데이타 라인에 실린다. 이와 동시에 버스 에러신호(BERR)는 NOT 게이트(16)를 통하여 래치부(10)에 인가되어 다음 브레익 포인트를 설정할 수 있도록 래치된 내용을 클리어시킨다.When the central processing unit reads the contents of the latch unit 10 to read this information, the multiplexer switches from A to B so that the latched value is loaded on the data line. At the same time, the bus error signal BERR is applied to the latch unit 10 through the NOT gate 16 to clear the latched contents so that the next break point can be set.
PAL(14)에서는 다음과 같은 논리식에 의하여 동작한다.The PAL 14 operates by the following logical expression.
BERR=(CA EA+CD ED+CC EC)·DTACKI·AS+BERRI·AsBERR = (CA EA + CD ED + CC EC), DTACKI, AS + BERRI, As
여기에서 CD와 ED는 각각 데이타 체크회로(B)에서의 비교기의 출력 및 래치부의 출력이고, CC와 EC는 각각 제어신호 체크회로(C)의 비교기 및 래치부의 출력을 나타낸다. 이 식에서 알 수 있는 바와 같이 PAL(14)은 비교기 및 래치부의 출력이 동시에 하이이고 어드레스 스트로브신호(As)가 입력되는 동안 데이타 인식입력신호(DTACKI)가 입력될 때, 또는 외부로부터의 에러신호(BERRI)가 입력될 때 에러신호(BERR)를 발생하고, 비교기 및 래치부의 출력신호가 동시에 하이가 되지 않고 어드레스 스트로브가 있는 동안 데이타 인식 입력신호가 들어오면 데이타 인식신호를 출력하여 CPU는 정상적인 동작을 행한다.Here, CD and ED are the outputs of the comparator and the latch section in the data check circuit B, respectively, and CC and EC are the outputs of the comparator and latch section of the control signal check circuit C, respectively. As can be seen from this equation, the
상기 설명한 바와 같이 본 발명을 이용하면 내부 레지스터와 외부 제어신호를 동시에 추적하여 프로세서를 가진 보오드의 동작상태를 볼수 있으므로 하드웨어나 소프트웨어의 디버깅을 용이하게 시행할 수가 있다.As described above, the present invention enables tracking of internal registers and external control signals at the same time so that the operating state of the board with the processor can be viewed, so that hardware or software debugging can be easily performed.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019880014299A KR940001558B1 (en) | 1988-10-31 | 1988-10-31 | Processor board state checking apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019880014299A KR940001558B1 (en) | 1988-10-31 | 1988-10-31 | Processor board state checking apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
KR900006855A KR900006855A (en) | 1990-05-09 |
KR940001558B1 true KR940001558B1 (en) | 1994-02-24 |
Family
ID=19278936
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019880014299A KR940001558B1 (en) | 1988-10-31 | 1988-10-31 | Processor board state checking apparatus |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR940001558B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100487407B1 (en) * | 1998-02-26 | 2005-06-16 | 엘에스산전 주식회사 | Digital output failsafe circuit |
-
1988
- 1988-10-31 KR KR1019880014299A patent/KR940001558B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR900006855A (en) | 1990-05-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4849979A (en) | Fault tolerant computer architecture | |
KR890002330B1 (en) | Multi processor sytem | |
US5056013A (en) | In-circuit emulator | |
JPH06100976B2 (en) | Break point recognition device | |
US4670876A (en) | Parity integrity check logic | |
JPH02224140A (en) | Interruption testing device | |
JP2007522554A (en) | Embedded system analysis apparatus and method for in-vehicle security problematic computer systems | |
KR940001558B1 (en) | Processor board state checking apparatus | |
US5673419A (en) | Parity bit emulator with write parity bit checking | |
JPH11282709A (en) | In-circuit emulator | |
KR100223096B1 (en) | Method and apparatus for observing internal memory-mapped registers | |
JPH0581087A (en) | Processor monitoring system | |
JP2902861B2 (en) | Buffer device with trace function | |
EP0556138A1 (en) | A bus for connecting extension cards to a data processing system and test method | |
JP2502185B2 (en) | Processor | |
JPS6118056A (en) | Abnormality detecting system for access to out-area memory | |
JPH0652013A (en) | Tracing circuit | |
JPS59133654A (en) | Program debugging device | |
JPH02281341A (en) | Write data confirming method for debugging | |
JPS5991558A (en) | Method for testing program | |
JP3019336B2 (en) | Microprocessor development support equipment | |
JPH0266668A (en) | Data tracing method for multi-processor bus | |
JPH0736735A (en) | Debugging device | |
JPH11149421A (en) | Pci bus trace circuit | |
JPS61188637A (en) | In-circuit emulator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
G160 | Decision to publish patent application | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 19971229 Year of fee payment: 5 |
|
LAPS | Lapse due to unpaid annual fee |