KR100315754B1 - Expandable Logic Analyser and Controlling Method for the same - Google Patents

Expandable Logic Analyser and Controlling Method for the same Download PDF

Info

Publication number
KR100315754B1
KR100315754B1 KR1019990050582A KR19990050582A KR100315754B1 KR 100315754 B1 KR100315754 B1 KR 100315754B1 KR 1019990050582 A KR1019990050582 A KR 1019990050582A KR 19990050582 A KR19990050582 A KR 19990050582A KR 100315754 B1 KR100315754 B1 KR 100315754B1
Authority
KR
South Korea
Prior art keywords
memory
control unit
logic analyzer
computer
logic
Prior art date
Application number
KR1019990050582A
Other languages
Korean (ko)
Other versions
KR20010046703A (en
Inventor
신영건
정정화
전성찬
손윤식
배종렬
장현만
Original Assignee
신영건
주홍정보통신주식회사
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 신영건, 주홍정보통신주식회사 filed Critical 신영건
Priority to KR1019990050582A priority Critical patent/KR100315754B1/en
Publication of KR20010046703A publication Critical patent/KR20010046703A/en
Application granted granted Critical
Publication of KR100315754B1 publication Critical patent/KR100315754B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/32Circuit design at the digital level
    • G06F30/33Design verification, e.g. functional simulation or model checking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/263Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers

Abstract

본 발명은 논리회로의 신호단들을 정확하게 관측하기 위한 논리 분석기에 관한 것으로, 특히 부제어부(Slave Controller, SC)와 주제어부(Master Controller, MC)를 별개로 구성하여 확장을 용이하게 하고, 트리거 조건을 메모리에 구현하여 원하는 조건에서 신호선들의 관측이 시작되도록 하는 논리 분석기 및 그 제어 방법에 관한 것이다.The present invention relates to a logic analyzer for accurately observing signal stages of a logic circuit. In particular, the sub-controller (Slave Controller, SC) and the main controller (Master Controller, MC) are separately configured to facilitate expansion and trigger conditions. The present invention relates to a logic analyzer and a control method for implementing the same in a memory to start the observation of signal lines under a desired condition.

본 발명의 논리 분석기는 컴퓨터(40)와 대상회로(30)의 중간에 논리 분석기(20)를 설치하여, 상기 컴퓨터(40)의 제어 소프트웨어에 따라 대상회로(30)를 구동하여 결과 신호를 저장하도록 구성되며, 상기 논리 분석기(20)의 구성은 크게 본 발명의 논리 분석기(20)는 하나의 주제어부(70)(Master Controller, MC)와 다수개의 메모리부(50)(Memory Block, MB)로 구성되는데, 상기 주제어부(70)는 컴퓨터(40)와 병렬포트를 통하여 데이터 송수신을 할 수 있는 수단을 구비하고, 또한 상기 각 메모리부(50)의 부제어부(60)와 제어신호 및 데이터를 송수신할 수 있는 수단을 구비하도록 구성된다.The logic analyzer of the present invention installs the logic analyzer 20 between the computer 40 and the target circuit 30, drives the target circuit 30 according to the control software of the computer 40, and stores the result signal. The logic analyzer 20 is largely composed of one main controller 70 (Master Controller, MC) and a plurality of memory units 50 (Memory Block, MB). The main controller 70 has a means for transmitting and receiving data to and from the computer 40 through a parallel port, and the control unit 60 and control signals and data of the respective memory units 50. It is configured to have a means for transmitting and receiving.

상기와 같은 본 발명의 논리 분석기 및 그 제어방법에 의하면 하드웨어의 구조상 필요하다면 메모리부(50)를 추가로 장착할 수 있으므로 확장이 용이하고, 컴퓨터(40)의 프로그램에 의하여 입력과 진행을 제어하고 그 결과를 다시 컴퓨터(40)로 전송하여 분석하게 되므로 논리 분석의 유연성이 크게 보장되며, 이에 따라 새로운 하드웨어 또는 프로토타입을 이용한 에뮬레이션이 필요한 경우에도 용이하게변형할 수 있어서 장비 개발에 따른 인력과 비용의 절감은 물론 신속한 제품 개발로 인하여 경쟁 우위 확보에 획기적인 효과가 있다.According to the logic analyzer and the control method of the present invention as described above, the memory unit 50 can be additionally installed if necessary due to the structure of the hardware, and the expansion is easy, and the input and the process are controlled by the program of the computer 40. As the result is transmitted to the computer 40 for analysis, the flexibility of logic analysis is greatly ensured. Therefore, even when emulation using new hardware or prototype is required, it can be easily transformed. In addition to saving money, the company has a dramatic effect on securing competitive advantage through rapid product development.

Description

확장 가능한 논리 분석기 및 그 제어방법 {Expandable Logic Analyser and Controlling Method for the same}Expandable Logic Analyzer and Control Method {Expandable Logic Analyser and Controlling Method for the same}

본 발명은 논리회로의 신호단들을 정확하게 관측하기 위한 논리 분석기에 관한 것으로, 특히 부제어부(Slave Controller, SC)와 주제어부(Master Controller, MC)를 별개로 구성하여 확장을 용이하게 하고, 트리거 조건을 메모리에 구현하여 원하는 조건에서 신호선들의 관측이 시작되도록 하는 논리 분석기 및 그 제어 방법에 관한 것이다.The present invention relates to a logic analyzer for accurately observing signal stages of a logic circuit. In particular, the sub-controller (Slave Controller, SC) and the main controller (Master Controller, MC) are separately configured to facilitate expansion and trigger conditions. The present invention relates to a logic analyzer and a control method for implementing the same in a memory to start the observation of signal lines under a desired condition.

최근에 집적회로의 설계 및 반도체 공정기술이 급격하게 발달함에 따라 디지털 회로 설계의 규모가 커짐은 물론 그 구성도 복잡해지고 있는 추세이다. 이와 더불어, 시장에서의 경쟁도 더욱 더 치열해지고 있으므로 빠른 시간 내에 우수한 제품을 개발하여야만 하는 실무적 과제가 대두되고 있다. 따라서 설계된 회로를 빠른 시간 내에 효율적이고 신속하게 구현하고 이를 검증하는 기술의 필요성은 매우 높다고 하겠다.Recently, with the rapid development of integrated circuit design and semiconductor process technology, the scale of digital circuit design is increasing and its configuration is also becoming complicated. In addition, competition in the market is becoming more and more fierce, and the practical task of developing a superior product in a short time is emerging. Therefore, the necessity of a technique for quickly and efficiently implementing and verifying a designed circuit is very high.

과거에는 상기와 같이 설계된 회로를 검증하기 위하여 소프트웨어적인 시뮬레이션에 주로 의존해왔으나, 시뮬레이션은 회로가 구동되는 실제 상황이 아닌 모델링에 의한 동작을 테스트하는 것이고, 또한 입력 벡터에 의존하는 것이므로 신뢰성과 정확성에 한계가 있었다. 뿐만 아니라 시뮬레이션 소프트웨어와 컴퓨터의 성능은 급격히 증가하는 회로의 복잡도를 따라가지 못하는 것이 보통이어서 적절한 시기에 적당한 소프트웨어나 컴퓨터를 구할 수 없는 경우가 많았고, 따라서 이러한 검증 도구가 개발되기까지 테스트가 연기되므로 검증에 많은 시간이 소요되고 제품화의 시기를 실기하게 된다는 단점이 있었다.In the past, we have relied mainly on software simulation to verify the circuits designed as above, but simulation is a test of the behavior by modeling, not the actual situation in which the circuit is driven, and also depends on the input vector, which limits the reliability and accuracy. There was. In addition, the performance of simulation software and computers is often unable to keep up with the rapidly increasing circuit complexity, which often results in the inability to obtain the right software or computer at the right time, so testing is postponed until such verification tools are developed. It takes a lot of time and has the disadvantage of realizing the timing of commercialization.

따라서 회로의 검증에 있어서 시뮬레이션의 단점을 극복하고 정확한 검증을 하기 위하여 보다 실제적인 동작 환경에서 검증을 수행할 수 있는 새로운 방법으로서 도 1의 개략도에 도시된 바와 같이 하드웨어적인 프로토타입 제작 및 하드웨어 에뮬레이션이 제시되어 각광을 받고 있다. 즉 이에 의하면 실험이 필요한 대상회로(30)의 신호선에 논리 분석기(20)의 대응되는 신호선을 각각 연결하고, 컴퓨터(40)의 제어 프로그램에 따라 상기 대상회로(30)를 구동시켜 그 결과의 신호를 논리 분석기(20)의 메모리에 저장할 수 있도록 구성된다.Therefore, in order to overcome the shortcomings of the simulation and to verify the accuracy of the circuit, a new prototyping method can be performed in a more practical operating environment, as shown in the schematic diagram of FIG. Presented and spotlighted. That is, according to this, the corresponding signal lines of the logic analyzer 20 are connected to the signal lines of the target circuit 30, which requires experiments, and the target circuit 30 is driven according to the control program of the computer 40, and the resulting signal is obtained. It is configured to be able to store in the memory of the logic analyzer 20.

이와 같이 프로토타입이나 에뮬레이터 상에 구현된 대상 회로를 시험동작시킬 때 각 신호의 파형을 관찰하여 정상 동작의 유무를 판단하는 것은 반드시 필요한 과정이다. 하지만 사용자가 자신이 관찰하고 싶은 신호선이 물리적으로 어떻게 구현되었는지 일일이 알아내어서 해당 신호선에 관측용 신호선(probe)을 연결하고 관찰한다는 것은 매우 번거롭고 복잡한 일이고, 회로를 검증하고 다시 수정하는 과정 또한 매우 번거롭게 된다.As described above, when testing the target circuit implemented on the prototype or the emulator, it is necessary to observe the waveform of each signal to determine the normal operation. However, it is very cumbersome and complex to find out how the user physically implements the signal lines he wants to observe, and to connect and observe the observation signals to the signal lines. It is cumbersome.

또한 최근 들어 시스템이 복잡해지고 다양해지는 동시에 ASIC 제작 기술이 눈부신 향상을 보이고 있으며, 따라서 하나의 시스템을 하나의 칩 상에 ASIC으로 구현하는 경향도 두드러지고 있다. 이와 같은 경향에 따라 논리 회로에서 관측되어야 할 신호선의 수가 회로의 크기에 비례하는 점에 비추어볼 때 복잡한 시스템의 관측을 위해서는 논리 분석기의 확장이 용이하도록 설계되어야 한다. 그러나 종래의 논리 분석기에 있어서는 하나의 보드 상에 메모리 장치와 제어장치를 함께 일체적으로 구성하고 있기 때문에 신호선의 증가로 인하여 확장의 필요성이 대두된 경우에도 용이하게 확장할 수 없다는 문제점이 있었다.In addition, as the system becomes more complex and diverse, ASIC fabrication technology is remarkably improved, and accordingly, the trend of implementing one system as an ASIC on a single chip is prominent. According to this tendency, in view of the fact that the number of signal lines to be observed in the logic circuit is proportional to the size of the circuit, the logic analyzer should be designed to be easily extended for the observation of complex systems. However, in the conventional logic analyzer, since the memory device and the control device are integrally configured together on one board, there is a problem in that the expansion cannot be easily performed even when the necessity of expansion occurs due to the increase in signal lines.

또한 다양한 기능을 갖춘 고성능 에뮬레이터 장비 개발이 활발한 시점에 비추어 볼 때 논리 분석 기능의 첨가는 필수적이라 할 수 있다. 그러나 종래의 논리 분석기는 그 자체가 필요한 모든 기능을 갖춘 하나의 시스템으로 제작되고 있기 때문에 다른 장비에 실장되기가 거의 불가능하다는 심각한 문제점이 있었다.In addition, in the face of active development of high performance emulator equipment with various functions, the addition of logic analysis function is essential. However, the conventional logic analyzer has a serious problem that it is almost impossible to be mounted on other equipment because it is manufactured in one system having all the necessary functions.

본 발명은 상기와 같은 문제점을 해소하기 위한 것으로서, 에뮬레이터 등에 쉽게 실장할 수 있으며, 확장하기에 용이한 구조를 갖는 논리 분석기 및 그 제어 방법을 제공하고자 하는 것이다.The present invention is to solve the above problems, and to provide a logic analyzer and a control method thereof that can be easily mounted on an emulator or the like and have a structure that is easy to expand.

도 1은 컴퓨터를 이용한 논리 분석기의 일반적인 개략도,1 is a general schematic diagram of a logic analyzer using a computer,

도 2는 본 발명의 논리 분석기의 내부구조의 개략적 블럭도,2 is a schematic block diagram of an internal structure of a logic analyzer of the present invention;

도 3은 본 발명의 논리 분석기의 부제어부(SC)의 개략도,3 is a schematic diagram of a sub-control unit SC of the logic analyzer of the present invention;

도 4는 본 발명의 논리 분석기의 주제어부(MC)의 개략도,4 is a schematic diagram of a main control unit MC of the logic analyzer of the present invention;

도 5는 본 발명의 논리 분석기의 확장성을 설명하는 도면,5 is a diagram illustrating the scalability of the logic analyzer of the present invention;

도 6은 본 발명의 논리 분석기에 있어서 트리거 조건을 검사하기 위한 메모리 구조도,6 is a memory structure diagram for checking a trigger condition in the logic analyzer of the present invention;

도 7은 본 발명의 논리 분석기의 상태 검출기의 구성도,7 is a configuration diagram of a state detector of a logic analyzer of the present invention;

도 8은 본 발명의 논리 분석기의 상태천이도,8 is a state transition diagram of a logic analyzer of the present invention;

도 9는 본 발명의 논리 분석기의 상태 검출기가 도 8과 같은 상태천이를 갖기 위하여 메모리에 저장되어야 하는 데이터를 나타낸 표,9 is a table showing data that must be stored in a memory in order for the state detector of the logic analyzer of the present invention to have a state transition as shown in FIG. 8;

도 10은 본 발명의 논리 분석기의 제어 프로그램의 흐름도.10 is a flowchart of a control program of the logic analyzer of the present invention.

< 도면의 주요부분에 대한 부호의 설명 ><Description of Symbols for Major Parts of Drawings>

20: 논리 분석기 30: 대상회로20: logic analyzer 30: target circuit

40: 컴퓨터 50: 메모리부40: computer 50: memory section

60: 부제어부(Slave Controller : SC)60: slave controller (SC)

70: 주제어부(Master Controller : MC)70: master controller (MC)

상기 과제를 달성하기 위하여 본 발명의 논리 분석기는 도 1에 도시된 바와 같이 컴퓨터(40)와 대상회로(30)의 중간에 논리 분석기(20)를 설치하여, 상기 컴퓨터(40)의 제어 소프트웨어에 따라 대상회로(30)를 구동하여 결과 신호를 저장하도록 구성된다.In order to achieve the above object, the logic analyzer of the present invention is provided with a logic analyzer 20 between the computer 40 and the target circuit 30, as shown in FIG. Accordingly, the target circuit 30 is driven to store the resultant signal.

상기 논리 분석기(20)의 상세한 구성은 도 2의 개략적 블럭도에 도시된 바와 같이 크게 본 발명의 논리 분석기(20)는 하나의 주제어부(70)(Master Controller,MC)와 다수개의 메모리부(50)(Memory Block, MB)로 구성되는데, 상기 주제어부(70)는 컴퓨터(40)와 병렬포트를 통하여 데이터 송수신을 할 수 있는 수단을 구비하고, 또한 상기 각 메모리부(50)의 부제어부(60)와 제어신호 및 데이터를 송수신할 수 있는 수단을 구비하도록 구성된다.The detailed configuration of the logic analyzer 20 is largely shown in the schematic block diagram of FIG. 2. The logic analyzer 20 of the present invention includes a main controller 70 (Master Controller, MC) and a plurality of memory units ( 50) (Memory Block, MB), wherein the main control unit 70 has means for transmitting and receiving data through the parallel port with the computer 40, and also the sub-control unit of each memory unit 50 60 and means for transmitting and receiving control signals and data.

한편 상기 각 메모리부(50)는 크게 부제어부(60), SRAM 및 신호선으로 구성되는데, 상기 부제어부(60)는 상기 주제어부(70)와 제어신호 및 데이터를 송수신할 수 있는 수단을 구비하고, 상기 SRAM은 상기 부제어부(60)의 제어신호에 따라 상기 신호선에 데이터를 출력하거나 신호선으로부터 데이터를 입력받도록 구성된다.On the other hand, each of the memory unit 50 is largely composed of a sub-control unit 60, SRAM and signal lines, the sub-control unit 60 is provided with a means for transmitting and receiving control signals and data with the main control unit 70 The SRAM is configured to output data to or receive data from the signal line according to a control signal of the sub-control unit 60.

상기 부제어부(60)는 도 3에 도시된 바와 같이 샘플링된 신호값들을 저장하기 위한 SRAM의 주소를 지정하는 주소발생기, SRAM의 읽기/쓰기 동작을 제어하기 위한 읽기/쓰기 제어기, 관측된 데이터를 주제어부(70)로 전송하기 위한 전송모듈 등으로 구성된다.As shown in FIG. 3, the sub-controller 60 may include an address generator for designating an address of an SRAM for storing sampled signal values, a read / write controller for controlling a read / write operation of the SRAM, and observed data. It is composed of a transmission module for transmitting to the main controller 70.

상기 SRAM의 데이터 I/O 핀은 버퍼를 통해 관측용 신호선 또는 전송 모듈로 연결된다.The data I / O pins of the SRAM are connected to the observation signal line or the transmission module through a buffer.

즉 종래에는 컴퓨터(40)와 연결되는 제어부는 하나로 구성되어 있었으나, 본 발명에서는 이를 하나의 주제어부(70)와 각 메모리부(50)에 종속되어 있는 다수개의 부제어부(60)로 분리하여 구성한 것이다.That is, in the related art, the control unit connected to the computer 40 was configured as one, but in the present invention, it is divided into one main controller 70 and a plurality of sub-control units 60 subordinate to each memory unit 50. will be.

이하 상기와 같은 본 발명의 논리 분석기의 동작을 상세히 설명한다.The operation of the logic analyzer of the present invention as described above will be described in detail.

상기 메모리부(50)는 부제어부(60)(Slave Controller, SC)에 의해 제어되며, 일정한 샘플링 주기(sampling period)마다 관측 대상 신호선의 관측된 값을 SRAM에저장한다. 샘플링 시작 시점은 주제어부(70)에 의해 동기되며, 메모리가 다 차게되면 호스트 컴퓨터에 하드웨어 인터럽트를 발생시키고 샘플링 동작을 중단하게 된다. 그리고 각 메모리부(50)에서의 샘플링 동작은 해당 메모리부(50)의 부제어부(60)에 의해 제어되고, 각 부제어부(60)의 동작을 하나의 주제어부(70)가 제어하므로 확장하기가 매우 용이한 구조를 갖는다.The memory unit 50 is controlled by the sub-control unit 60 (Slave Controller, SC), and stores the observed value of the signal line to be observed in the SRAM every predetermined sampling period. The sampling start time is synchronized by the main controller 70, and when the memory becomes full, a hardware interrupt is generated to the host computer and the sampling operation is stopped. In addition, the sampling operation in each memory unit 50 is controlled by the sub-control unit 60 of the corresponding memory unit 50, and the operation of each sub-control unit 60 is controlled by one main controller 70. Has a very easy structure.

그리고 상기 주제어부(70)는 이에 종속된 다수개의 메모리부(50)들 중에서 하나를 선택하여 SRAM에 저장된 관측 데이터를 병렬포트를 통해서 컴퓨터(40)에 전송한다. 즉 관측된 데이터는 호스트 컴퓨터에서 처리하므로 사용자가 회로의 동작을 관찰하는데 호스트 컴퓨터를 응용하도록 하고 있다.The main controller 70 selects one of a plurality of memory units 50 subordinate to the main controller 70 and transmits observation data stored in the SRAM to the computer 40 through the parallel port. In other words, the observed data is processed by the host computer, which allows the user to apply the host computer to observe the operation of the circuit.

상기 주제어부(70)는 컴퓨터(40)상의 프로그램을 이용하여 사용자가 지정한 트리거 조건을 SRAM에 저장한다. 상기 트리거 조건과 이를 저장할 SRAM 메모리 영역의 주소는 병렬포트를 통해서 컴퓨터(40)로부터 주제어부(70)로 전달된다. 그리고 샘플링 시작과 함께 트리거 조건 검사 입력을 통해 샘플링된 신호값들을 트리거 조건과 비교하여 모든 조건이 만족되면 부제어부(60)를 동기시키게 된다.The main controller 70 stores a trigger condition specified by the user in the SRAM using a program on the computer 40. The trigger condition and the address of the SRAM memory area to store it are transmitted from the computer 40 to the main controller 70 through the parallel port. The control unit 60 is synchronized when all the conditions are satisfied by comparing the signal values sampled through the trigger condition check input with the start of sampling.

관측대상 신호선들의 관측을 수행시킨 후에 주제어부(70)는 다수개의 메모리부(50)들 중에서 하나를 지정하여 SRAM에 저장된 관측된 데이터를 전송받아 병렬포트를 통해서 컴퓨터(40)로 전송한다. 이때 도 4의 개략도에 도시된 바와 같이 컴퓨터(40) 상의 프로그램에서 주제어부(70)의 동작을 지정하기 위한 명령어가 병렬포트를 통해 전달되면, 해당 명령어가 주제어부(70) 내의 명령어 디코더에 의해 번역되어 주제어부(70)가 수행해야 할 작업의 종류가 결정된다. 각 작업의 종류에 따라서 병렬포트를 통해서 전달되는 다음 데이터의 의미가 결정된다.After performing the observation of the signal lines to be observed, the main controller 70 designates one of the plurality of memory units 50 and receives the observed data stored in the SRAM and transmits the observed data to the computer 40 through the parallel port. In this case, as shown in the schematic diagram of FIG. 4, when a command for designating the operation of the main control unit 70 in the program on the computer 40 is transmitted through the parallel port, the command is transmitted by the command decoder in the main control unit 70. The type of work to be translated and determined by the main control unit 70 is determined. The type of job determines the meaning of the next data transferred through the parallel port.

도 5의 설명도에 도시된 바와 같이 상기 주제어부(70)에는 다수의 메모리부(50)가 쉽게 장착될 수 있다. 각 메모리부(50)에서의 샘플링 동작은 해당 메모리부(50)의 부제어부(60)에 의해 제어되고, 상기 각 부제어부(60)의 동작을 하나의 주제어부(70)가 제어한다. 그리고 상기 각 메모리부(50)마다 고유의 메모리부(50) 식별자가 부여되어, 주제어부(70)는 메모리부(50) 식별자를 출력하여 특정한 메모리부(50)를 지정한다. 선택되지 않은 메모리부(50)는 버스 상의 모든 데이터를 무시한다.As illustrated in FIG. 5, a plurality of memory units 50 may be easily mounted on the main control unit 70. The sampling operation in each memory unit 50 is controlled by the sub-control unit 60 of the memory unit 50, and one main control unit 70 controls the operation of each sub-control unit 60. Each memory unit 50 is assigned with a unique memory unit 50 identifier, and the main control unit 70 outputs the memory unit 50 identifier to designate a specific memory unit 50. The non-selected memory section 50 ignores all data on the bus.

한편 도 6의 메모리 구조도에 도시된 바와 같이 트리거 조건 검출기는 SRAM의 데이터 출력을 다음 트리거 조건을 가지는 메모리 주소로 사용한다. 메모리의 데이터 출력 8비트는 16비트의 주소 중에서 상위 8비트가 되고, 트리거 조건 검사 대상이 되는 8개의 신호선의 값이 하위 8비트 주소가 된다.Meanwhile, as shown in the memory structure diagram of FIG. 6, the trigger condition detector uses the data output of the SRAM as a memory address having the next trigger condition. The 8-bit data output of the memory is the upper 8 bits of the 16-bit address, and the values of the eight signal lines that are the trigger condition check targets are the lower 8-bit addresses.

한편 각 부제어부(60)에서 트리거 조건을 검사하는 상태 검출기는 SRAM을 사용하여 메모리부(50) 내에 구성된다. 각 트리거 조건은 최대 8비트로 구성되고, 255개의 연속된 트리거 조건까지 검사할 수 있다. 트리거 조건이 3비트인 경우의 상태 검출기는 한 워드가 3비트인 64워드 메모리를 도 7의 구성도에 도시된 바와 같이 구성하여 트리거 조건을 검사할 수 있다. 여기서 현재 주소에 의해 출력되는 한 워드는 다음 주소의 상위 3비트로 매핑되고 있다.On the other hand, the state detector for checking the trigger condition in each sub-control unit 60 is configured in the memory unit 50 using the SRAM. Each trigger condition consists of up to 8 bits and can check up to 255 consecutive trigger conditions. When the trigger condition is 3 bits, the state detector may check a trigger condition by configuring a 64 word memory having one word of 3 bits as shown in the configuration diagram of FIG. 7. Here, one word output by the current address is mapped to the upper 3 bits of the next address.

트리거 조건이 S2(010), S5(101), S3(011), S6(110)의 순서로 주어지면, 메모리는 도 8의 상태천이도에 도시된 바와 같은 유한상태회로로 구성되게 된다.Given a trigger condition in the order of S2 (010), S5 (101), S3 (011), and S6 (110), the memory is composed of a finite state circuit as shown in the state transition diagram of FIG.

여기서 연속적으로 010, 101, 011, 110이 입력될 때만 샘플링 시작을 알리는 제어신호를 발생해야 하므로, 도 9의 도표에 도시된 바와 같은 형태로 데이터가 메모리에 저장된다. 여기서 CL(Current Level)은 현재 상태의 깊이를 나타내고, INP는 트리거 조건을 검사하기 위한 3비트 데이터 입력을 나타내며, NL(Next Level)은 다음 상태의 깊이를 나타낸다. 도 9에서 표시되지 않은 나머지 주소 공간에는 모두 000값이 저장된다.In this case, only when 010, 101, 011, and 110 are continuously input, the control signal indicating the start of sampling should be generated. Thus, data is stored in the memory in the form shown in the diagram of FIG. Here, CL (Current Level) represents the depth of the current state, INP represents the 3-bit data input for checking the trigger condition, and NL (Next Level) represents the depth of the next state. In the remaining address spaces not shown in FIG. 9, all 000 values are stored.

여기서 CL과 INP가 한 워드를 지정하는 메모리 주소를 구성하며, NL은 출력되는 워드이다. 차례대로 010, 101, 011, 110의 데이터가 입력될 때에만 Start상태로 빠지게 되고, 한 번이라도 트리거 조건에 맞지 않은 입력이 들어오면 다음 주소의 상위 3비트는 000이 되어서 최초의 S2상태로 되돌아가게 된다.Here CL and INP constitute a memory address that designates one word, and NL is the word that is output. Only when data of 010, 101, 011, and 110 are input in sequence, it goes into Start state, and if an input that does not meet the trigger condition is entered once, the upper 3 bits of the next address become 000 and return to the initial S2 state. I will go.

도 10은 상기와 같은 구성과 동작을 하는 본 발명의 논리 분석기의 제어 방법을 나타낸 흐름도이다.10 is a flowchart illustrating a control method of a logic analyzer of the present invention having the configuration and operation described above.

이를 상세히 설명하면 먼저 검증의 대상이 되는 회로(30)를 지정하고 이에 인가될 테스트용 입력을 생성하는 단계를 가진다.In detail, first, a circuit 30 to be verified is designated and a test input to be applied thereto is generated.

그 후 상기 논리분석 대상이 되는 회로에 해당 신호선이 존재하는지를 검사하여, 만일 신호선이 없다면 종료하고, 있다면 상기 신호선들을 결정한 후 논리 분석기의 대응되는 신호선들과 연결상태를 만드는 단계를 거친다.After that, it is checked whether a corresponding signal line exists in the circuit to be subjected to the logic analysis, and if there is no signal line, the signal line ends. If so, the signal lines are determined, and then a connection state is established with corresponding signal lines of the logic analyzer.

그리고 트리거 조건을 사용할 것인지를 판단하는데, 이를 사용하지 않는다면 곧바로 컴퓨터(40)가 주제어부(70)에 논리분석 동작을 지시한다.Then, it is determined whether to use a trigger condition. If not, the computer 40 immediately instructs the main controller 70 to perform a logic analysis operation.

그러나 트리거 조건을 사용한다면 검증 대상회로로부터 트리거 조건 검사에사용될 신호선들을 결정하고, 논리 분석기의 관측용 신호선과 연결을 설정한 후, 컴퓨터(40)가 주제어부(70)에게 트리거 조건 데이터를 입력하고, 상기 주제어부(70)는 메모리를 이용하여 트리거 조건 검사회로를 구성한다. 그리고 컴퓨터(40)가 주제어부(70)에 논리 분석 시작을 명령하고, 상기 주제어부(70)는 트리거 조건 검사를 시작한다. 이때 사용자의 인터럽트가 발생한 경우에는 초기단계로 복귀하고, 모든 트리거 조건을 만족할 때까지 상기 트리거 조건 검사를 반복한다.However, if the trigger condition is used, the signal lines to be used for the trigger condition check are determined from the circuit to be verified, the connection with the observation signal line of the logic analyzer is established, and then the computer 40 inputs the trigger condition data to the main controller 70. The main controller 70 configures a trigger condition check circuit using a memory. Then, the computer 40 instructs the main controller 70 to start the logic analysis, and the main controller 70 starts the trigger condition check. At this time, if the user interrupt occurs, the process returns to the initial stage and repeats the trigger condition check until all trigger conditions are satisfied.

상기와 같이 트리거 조건 검사 유무에 따른 조치를 취한 후, 주제어부(70)에 의해 각 메모리부(50)상의 부제어부(60)가 관측용 신호선의 논리값 샘플링을 시작하여 인터럽트가 발생할 때까지 반복하며, 인터럽트가 발생하면 어드레스 변수(ADD)와 카운터 변수(i)를 초기화한 후 상기 메모리 변수(ADD)가 메모리의 마지막 주소가 될 때까지 1씩 증가시키면서, 또한 상기 하나의 메모리 주소에 대하여 카운터 변수(i)가 마지막 메모리부(50)가 될 때까지 1씩 증가시키면서 상기 i번째 메모리부(50)의 SRAM 모듈로부터 메모리 주소(ADD)에 저장된 샘플링 데이터를 컴퓨터(40)로 읽어온 후, 다시 최초의 시작단계로 되돌아간다.After taking measures according to the trigger condition check as described above, the sub-control unit 60 on each memory unit 50 starts sampling the logic value of the observation signal line by the main controller 70 and repeats until an interrupt occurs. If an interrupt occurs, the address variable ADD and the counter variable i are initialized, and then incremented by 1 until the memory variable ADD becomes the last address of the memory. After reading the sampling data stored at the memory address ADD from the SRAM module of the i-th memory unit 50 to the computer 40 while increasing by one until the variable i becomes the last memory unit 50, Go back to the beginning.

따라서 상기와 같은 본 발명의 논리 분석기 및 그 제어방법에 의하면 하드웨어의 구조상 필요하다면 메모리부(50)를 추가로 장착할 수 있으므로 확장이 용이하고, 컴퓨터(40)의 프로그램에 의하여 입력과 진행을 제어하고 그 결과를 다시 컴퓨터(40)로 전송하여 분석하게 되므로 논리 분석의 유연성이 크게 보장되며, 이에 따라 새로운 하드웨어 또는 프로토타입을 이용한 에뮬레이션이 필요한 경우에도 용이하게 변형할 수 있어서 장비 개발에 따른 인력과 비용의 절감은 물론 신속한 제품 개발로 인하여 경쟁 우위 확보에 획기적인 효과가 있다.Therefore, according to the logic analyzer and the control method of the present invention as described above, the memory unit 50 can be additionally installed if necessary in the structure of the hardware, so that the expansion is easy, and the input and the progress are controlled by the program of the computer 40. And the results are transmitted back to the computer 40 for analysis, which greatly guarantees the flexibility of logic analysis. Accordingly, even when emulation using new hardware or a prototype is required, it can be easily transformed. The cost savings and rapid product development have a dramatic effect on securing a competitive advantage.

Claims (2)

하나의 주제어부(70)와 다수개의 메모리부(50)로 구성되는 논리 분석기(20)에 있어서,In the logic analyzer 20 composed of one main control unit 70 and a plurality of memory units 50, 상기 주제어부(70)는 컴퓨터(40)와 병렬포트를 통하여 데이터 송수신을 할 수 있는 수단을 구비하고, 또한 상기 각 메모리부(50)의 부제어부(60)과 제어신호 및 데이터를 송수신할 수 있는 수단을 구비하도록 구성되고,The main control unit 70 has a means for transmitting and receiving data to and from the computer 40 through a parallel port, and can also transmit and receive control signals and data to and from the sub-control unit 60 of each of the memory units 50. Configured to have a means of 상기 각 메모리부(50)는 다시 부제어부(60), SRAM 및 신호선으로 구성되는데,Each of the memory unit 50 is composed of a sub-control unit 60, SRAM and signal lines. 상기 부제어부(60)는 상기 주제어부(70)와 제어신호 및 데이터를 송수신할 수 있는 수단을 구비하고, 또한 샘플링된 신호값들을 저장하기 위한 SRAM의 주소를 지정하는 주소발생기, SRAM의 읽기/쓰기 동작을 제어하기 위한 읽기/쓰기 제어기, 관측된 데이터를 주제어부(70)로 전송하기 위한 전송모듈로 구성되며,The sub-control unit 60 includes means for transmitting and receiving control signals and data to and from the main controller 70, and an address generator for designating an address of the SRAM for storing sampled signal values, and reading / reading of the SRAM. Read / write controller for controlling the write operation, and a transmission module for transmitting the observed data to the main control unit 70, 상기 SRAM은 상기 부제어부(60)의 제어신호에 따라 상기 신호선에 데이터를 출력하거나 신호선으로부터 데이터를 입력받도록 구성되고, 그 데이터 I/O 핀은 버퍼를 통해 관측용 신호선 또는 전송 모듈로 연결되도록 구성됨을 특징으로 하는 확장 가능한 논리 분석기.The SRAM is configured to output data to the signal line or receive data from the signal line according to the control signal of the sub-control unit 60, and the data I / O pin is configured to be connected to the observation signal line or the transmission module through a buffer. Scalable logic analyzer, characterized in that. 제1항과 같은 구성을 가지는 논리 분석기를 제어하는 방법에 있어서,In the method for controlling a logic analyzer having the configuration as claimed in claim 1, 검증의 대상이 되는 회로(30)를 지정하고 이에 인가될 테스트용 입력을 생성하는 단계와,Designating a circuit 30 to be verified and generating a test input to be applied thereto; 그 후 상기 논리분석 대상이 되는 회로에 해당 신호선이 존재하는지를 검사하여, 만일 신호선이 없다면 종료하고, 신호선이 있다면 상기 신호선들을 결정한 후 논리 분석기의 대응되는 신호선들과 연결상태를 만드는 단계와,Thereafter checking whether a corresponding signal line exists in the circuit to be subjected to the logic analysis, if there is no signal line, terminating; if there is a signal line, determining the signal lines and making a connection state with corresponding signal lines of a logic analyzer; 트리거 조건을 사용할 것인지를 판단하여, 트리거 조건을 사용하지 않는다면 곧바로 컴퓨터(40)가 주제어부(70)에 논리분석 동작을 지시하고, 트리거 조건을 사용한다면 검증 대상회로로부터 트리거 조건 검사에 사용될 신호선들을 결정하고, 논리 분석기의 관측용 신호선과 연결을 설정한 후, 컴퓨터(40)가 주제어부(70)에 트리거 조건 데이터를 입력하고, 상기 주제어부(70)는 메모리를 이용하여 트리거 조건 검사회로를 구성한 후, 컴퓨터(40)가 주제어부(70)에 논리 분석 시작을 명령하고, 상기 주제어부(70)는 트리거 조건 검사를 시작하여 사용자의 인터럽트가 발생한 경우에는 초기단계로 복귀하고, 모든 트리거 조건을 만족할 때까지 상기 트리거 조건 검사를 반복하는 단계와,It is determined whether to use the trigger condition, and if the trigger condition is not used, the computer 40 immediately instructs the main controller 70 to perform a logic analysis operation. After determining and establishing a connection with the observation signal line of the logic analyzer, the computer 40 inputs trigger condition data to the main control unit 70, and the main control unit 70 uses a memory to execute the trigger condition check circuit. After the configuration, the computer 40 instructs the main controller 70 to start the logic analysis, and the main controller 70 starts the trigger condition check and returns to the initial stage when an interruption of the user occurs, and all trigger conditions Repeating the trigger condition check until a is satisfied; 상기와 같이 트리거 조건 검사 유무에 따른 조치를 취한 후, 주제어부(70)에 의해 각 메모리부(50)상의 부제어부(60)가 관측용 신호선의 논리값 샘플링을 시작하여 인터럽트가 발생할 때까지 반복하며, 인터럽트가 발생하면 어드레스 변수(ADD)와 카운터 변수(i)를 초기화한 후 상기 메모리 변수(ADD)가 메모리의 마지막 주소가 될 때까지 1씩 증가시키면서, 또한 상기 하나의 메모리 주소에 대하여 카운터 변수(i)가 마지막 메모리부(50)가 될 때까지 1씩 증가시키면서 상기 i번째 메모리부(50)의 SRAM 모듈로부터 메모리 주소(ADD)에 저장된 샘플링 데이터를 컴퓨터(40)로 읽어온 후, 다시 최초의 시작단계로 되돌아가는 단계로 구성됨을 특징으로 하는 확장 가능한 논리 분석기 제어방법.After taking measures according to the trigger condition check as described above, the sub-control unit 60 on each memory unit 50 starts sampling the logic value of the observation signal line by the main controller 70 and repeats until an interrupt occurs. If an interrupt occurs, the address variable ADD and the counter variable i are initialized, and then incremented by 1 until the memory variable ADD becomes the last address of the memory. After reading the sampling data stored at the memory address ADD from the SRAM module of the i-th memory unit 50 to the computer 40 while increasing by one until the variable i becomes the last memory unit 50, Scalable logic analyzer control method comprising the step of returning to the initial start again.
KR1019990050582A 1999-11-15 1999-11-15 Expandable Logic Analyser and Controlling Method for the same KR100315754B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990050582A KR100315754B1 (en) 1999-11-15 1999-11-15 Expandable Logic Analyser and Controlling Method for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990050582A KR100315754B1 (en) 1999-11-15 1999-11-15 Expandable Logic Analyser and Controlling Method for the same

Publications (2)

Publication Number Publication Date
KR20010046703A KR20010046703A (en) 2001-06-15
KR100315754B1 true KR100315754B1 (en) 2001-12-12

Family

ID=19620101

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990050582A KR100315754B1 (en) 1999-11-15 1999-11-15 Expandable Logic Analyser and Controlling Method for the same

Country Status (1)

Country Link
KR (1) KR100315754B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR200488975Y1 (en) 2018-10-31 2019-04-12 리 준혁 조나단 Protector suit for sports player

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR200488975Y1 (en) 2018-10-31 2019-04-12 리 준혁 조나단 Protector suit for sports player

Also Published As

Publication number Publication date
KR20010046703A (en) 2001-06-15

Similar Documents

Publication Publication Date Title
US4517661A (en) Programmable chip tester having plural pin unit buffers which each store sufficient test data for independent operations by each pin unit
EP0388001B1 (en) Testing method and apparatus for an integrated circuit
US4460997A (en) Memory tester having memory repair analysis capability
US6668339B1 (en) Microprocessor having a debug interruption function
US20030110430A1 (en) Method and system for use of a field programmable gate array (FPGA) function within an application specific integrated circuit (ASIC) to enable creation of a debugger client within the ASIC
EP0491290A2 (en) IC Tester
JPS6063644A (en) Method and apparatus for modeling operation of digital device
CA1246743A (en) Array for simulating computer functions for large computer systems
KR20010082313A (en) System for testing real and simulated versions of an integrated circuit
US5408637A (en) Emulation techniques giving necessary information to a microcomputer to perform software debug and system debug even for incomplete target system
TWI783590B (en) Chip verification system and verification method thereof
US6578180B2 (en) Method and system for testing interconnected integrated circuits
US7139673B1 (en) Method of and circuit for verifying a data transfer protocol
KR100315754B1 (en) Expandable Logic Analyser and Controlling Method for the same
US6681357B2 (en) MISR simulation tool for memory BIST application
CN111008102B (en) FPGA accelerator card high-speed interface SI test control device, system and method
WO2020000949A1 (en) Driving system for pcie link and driving debugging system
KR100315753B1 (en) Expandable Test Input Generator and Controlling Method for the same
KR100511893B1 (en) Chip test circuit
JPH05151017A (en) Microcomputer
JP3210236B2 (en) Pattern generator for IC test equipment
US5748909A (en) Interface board and instruction processing device without a local CPU
KR100234699B1 (en) Design device
KR200280380Y1 (en) Memory test device
JP2837615B2 (en) Microcomputer with test facilitation circuit

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20061113

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee