KR20060126149A - Apparatus for sensing bus traffic and method for sensing a amount of bus traffic - Google Patents
Apparatus for sensing bus traffic and method for sensing a amount of bus traffic Download PDFInfo
- Publication number
- KR20060126149A KR20060126149A KR1020050047848A KR20050047848A KR20060126149A KR 20060126149 A KR20060126149 A KR 20060126149A KR 1020050047848 A KR1020050047848 A KR 1020050047848A KR 20050047848 A KR20050047848 A KR 20050047848A KR 20060126149 A KR20060126149 A KR 20060126149A
- Authority
- KR
- South Korea
- Prior art keywords
- bus
- bus traffic
- count
- counter
- traffic
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40052—High-speed IEEE 1394 serial bus
- H04L12/40084—Bus arbitration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/4013—Management of data rate on the bus
Abstract
Description
도 1은 본 발명에 따른 버스 트래픽 감지장치의 구조의 일 실시예를 나타낸 구성도1 is a block diagram showing an embodiment of the structure of a bus traffic detection apparatus according to the present invention
도 2는 본 발명에 따른 버스 트래픽 감지방법의 일 실시예를 포함하는 흐름도2 is a flow chart including one embodiment of a bus traffic detection method in accordance with the present invention
도 3은 본 발명에 따른 버스 트래픽 감지장치 및 감지방법에 따라 칩의 성능을 개선시킬 수 있는 방법을 나타낸 개념도3 is a conceptual diagram showing a method of improving the performance of the chip according to the bus traffic detection apparatus and the detection method according to the present invention
<도면의 주요부분에 대한 부호의 설명><Description of the symbols for the main parts of the drawings>
100, 101, 102 : 버스 트래픽 모니터100, 101, 102: bus traffic monitor
200, 201, 202 : 버스 트래픽 카운터200, 201, 202: Bus Traffic Counters
300 : 다중화기 400 : 메모리장치300: multiplexer 400: memory device
본 발명은 버스 트래픽 감지장치 및 감지방법에 관한 것으로서, 보다 상세하게는 버스에 대한 접근 회수에 대한 카운트로 버스 트래픽량을 조사하여 버스의 트 래픽량을 감지할 수 있는 버스 트래픽 감지장치 및 감지방법에 관한 것이다.The present invention relates to a bus traffic detection device and a detection method, and more particularly, a bus traffic detection device and a detection method capable of detecting a traffic amount of a bus by examining a bus traffic amount as a count of the number of accesses to a bus. It is about.
전자 제품들의 소형화, 경량화의 추세에 따라 ASIC(Application Specific Integrated Circuit)의 활용 분야는 빠른 속도로 확장하고 있다. ASIC의 기능 또한 점점 더 다양해지면서 ASIC의 구조는 더 복잡해지고, 이에 따라 ASIC에 대한 컨트롤도 더 정교해져야 한다. 특히, ASIC가 범용 CPU를 내장하는 SoC(System on Chip)의 형태로 발전해 나아감에 따라 ASIC에 대한 다양한 문제점이 발생하게 되었다. With the trend toward smaller and lighter electronic products, the field of application specific integrated circuit (ASIC) is rapidly expanding. As the functions of ASICs become more and more diverse, the structure of ASICs becomes more complex, and as a result, the control of ASICs becomes more sophisticated. In particular, as the ASIC evolved into a system on chip (SoC) incorporating a general-purpose CPU, various problems with the ASIC occurred.
본래 ASIC는 특정한 용도에 사용되도록 최적화되어 개발되었다. 따라서, ASIC의 내부의 모든 자원에 대한 활용 방법 역시 ASIC의 용도에 따라 특화되었는데, 이 과정에서 ASIC 디자인에 대한 연구 경험이 많은 개발자의 노하우가 요구되었다. ASIC의 각 개발주체는 ASIC의 특정한 활용 용도에 따라 그 디자인 등을 연구하였고, 그 연구에 따른 결과물도 각 개발주체 사이에서 배타적이고 폐쇄적으로 축적되었다.Originally, ASICs were developed to be optimized for specific applications. Therefore, how to utilize all the resources inside the ASIC was also specialized according to the purpose of the ASIC. In this process, the know-how of the developers with much research experience on ASIC design was required. Each development body of the ASIC studied the design and the like according to the specific application of the ASIC, and the results of the research were also accumulated exclusively and closed between each development body.
그러나, ASIC에 대한 기술이 급격하게 발달되고 범용화되어 SoC와 같은 범용 CPU를 사용하게 되었고, 이에 따라 몇몇 개발자의 노하우에만 의존하여 ASIC의 내부 자원의 효율성을 높이는 방법 역시 한계에 다다르게 되었다. 또한, CPU가 만들어내는 복잡한 버스 트래픽(bus traffic)과 특정 ASIC에 의해 일어나는 고유의 버스 트래픽이 혼재된 상황에서는 ASIC의 내부자원을 효율적으로 활용할 수 없는 문제점이 있었다. However, the technology for ASICs has been rapidly developed and generalized to use general purpose CPUs such as SoCs. Thus, the method of increasing the efficiency of ASIC's internal resources is limited by relying on some developer's know-how. In addition, there is a problem in that the internal resources of the ASIC cannot be efficiently utilized in a situation where the complex bus traffic generated by the CPU and the unique bus traffic generated by the specific ASIC are mixed.
본 발명은 상기와 같은 문제점을 해결하기 위한 것으로서, 본 발명의 목적은 ASIC의 내부자원을 효율적이고 체계적으로 활용할 수 있도록 ASIC와 관련된 런타임(run time) 버스 트래픽량을 구체적으로 감지할 수 있는 버스 트래픽량 감지장치와 버스 트래픽량의 감지방법을 제공하는 것이다. The present invention is to solve the above problems, an object of the present invention is to provide a bus traffic that can specifically detect the amount of run-time bus traffic associated with the ASIC to efficiently and systematically utilize the internal resources of the ASIC It provides a traffic detection device and a bus traffic detection method.
상기의 목적을 달성하기 위하여, 본 발명은 버스에 접근 회수를 측정할 수 있는 버스 트래픽 카운터를 이용하여 버스 트래픽(bus traffic) 량을 감지하는 방법에 있어서, (a) 버스에 대한 접근이 있을 경우 접근 회수의 카운트를 증가시키는 단계; (b) 상기 카운트 수가 오버플로우되었는지 여부를 판단하고, 상기 판단결과오버플로우되지 않은 경우 (a) 단계로 되돌아가고, 오버플로우인 경우 (c) 단계를 수행하는 단계; 및 (c) 버스 접근 회수의 카운트 누산과정 중지신호를 다른 버스 트래픽 카운터에 전송하고 오버플로우 되기 전의 카운트값을 얻는 단계를 포함하는 것을 특징으로 하는 버스 트래픽량 감지방법을 제공한다. In order to achieve the above object, the present invention is a method for detecting the amount of bus traffic (bus traffic) using a bus traffic counter that can measure the number of access to the bus, (a) when there is access to the bus Increasing the count of access times; (b) determining whether the count number has overflowed, returning to step (a) if the count result does not overflow, and performing step (c) if it overflows; And (c) transmitting a count accumulation process stop signal of the number of bus accesses to another bus traffic counter and obtaining a count value before overflowing.
본 발명은, 상기 (a) 단계 또는 상기 (b) 단계 중 어는 하나의 단계를 수행하는 동안에 상기 버스 트래픽 카운터가 다른 버스 트래픽 카운터가 오버플로우되어 발생되는 카운트 누산중지신호를 수신받은 경우, 상기 (a) 단계에서 증가된 카운트 수를 저장하는 단계를 더 포함할 수 있다. 이는 다수의 버스 트래픽 카운터를 사용하여 버스 트래픽량을 측정하는 경우에 사용될 수 있는 버스 트래픽량 감지 방법이다. When the bus traffic counter receives a count accumulation stop signal generated by the overflow of another bus traffic counter during the step (a) or (b), The method may further include storing the count number increased in step a). This is a bus traffic amount detection method that can be used when the bus traffic amount is measured using a plurality of bus traffic counters.
또한 본 발명은 버스에 접근하는 회수로 버스 트래픽 양을 감지하는 버스 트래픽 모니터; 상기 버스 트래픽 모니터가 감지하는 버스 접근 회수를 누산하는 버 스 트래픽 카운터; 및 상기 버스 트래픽 카운터가 측정하는 버스 접근 회수를 저장하는 메모리장치를 포함하는 것을 특징으로 하는 버스 트래픽 감지장치를 제공한다.In addition, the present invention provides a bus traffic monitor for detecting the amount of bus traffic in the number of times to access the bus; A bus traffic counter that accumulates the number of bus accesses detected by the bus traffic monitor; And a memory device for storing the number of bus accesses measured by the bus traffic counter.
상기 버스 트래픽 카운터는 누산된 버스 접근 회수가 오버플로우된 경우 카운트 누산중지신호를 출력할 수 있다. 이는 다수 버스 트래픽 카운터가 있는 경우 어느 하나의 버스 트래픽 카운터의 누산된 카운터수가 오버플로우가 될 때까지 각 버스에 발생하는 버스 트래픽량을 감지하기 위함이다. 따라서, 상기 버스 트래픽 카운터가 오버플로우되어 카운트 누산중지신호를 출력할 경우 상기 오버플로우된 버스 트래픽 카운터는 오버플로우 이전의 카운트 값을 상기 메모리장치에 저장한다. 그리고 다른 버스 트래픽 카운터가 오버플로우되어 카운트 누산중지신호를 입력받는 버스 트래픽 카운터는 상기 신호 입력시 카운트 값을 상기 메모리장치에 저장하는 것이 바람직하다. 상기 카운트 값을 저장하는 과정을 카운터가 직접 메모리장치에 저장하도록 할 수 있으며, 또는 소프트웨어를 구동하여 중앙처리장치가 모든 버스 트래픽 카운터의 카운트 값을 입력받아 메모리장치에 저장할 수도 있다. The bus traffic counter may output a count accumulation stop signal when the accumulated bus access count has overflowed. This is to detect the amount of bus traffic occurring on each bus until the accumulated counter count of any one bus traffic counter overflows when there are multiple bus traffic counters. Therefore, when the bus traffic counter overflows and outputs a count accumulation stop signal, the overflowed bus traffic counter stores the count value before the overflow in the memory device. In addition, the bus traffic counter, which receives a count accumulation stop signal because another bus traffic counter overflows, may store a count value in the memory device when the signal is input. The counter may store the count value directly in the memory device, or the central processing unit may receive the count values of all the bus traffic counters in the memory device by running software.
따라서, 상기 버스 트래픽 감지장치는, 다수의 버스 트래픽 카운터 장치가 메모리장치에 각각의 버스 접근 회수를 저장하는 경우 상기 저장신호를 분리하여 메모리 장치에 저장하도록 하는 다중화기를 더 포함하는 것이 더욱 바람직하다. Accordingly, the bus traffic sensing device may further include a multiplexer which separates the storage signals and stores them in the memory device when the plurality of bus traffic counter devices store the number of bus accesses in the memory device.
이하 상기 목적을 구체적으로 실현할 수 있는 본 발명의 바람직한 실시예를 첨부한 도면을 참조하여 설명한다.Hereinafter, with reference to the accompanying drawings, preferred embodiments of the present invention that can specifically realize the above object will be described.
도 1을 참조하여 본 발명에 따른 버스 트래픽 감지장치의 일 실시예를 설명 하면 다음과 같다. 본 발명에 따른 버스 트래픽 감지장치의 일 실시예는 다수의 버스 트래픽 모니터(100,101,102), 다수의 버스 트래픽 카운터(200,201,202), 다중화기(300), 메모리장치(400)를 포함한다. 본 일 실시예에서는 설명의 편의상 3개의 버스 트래픽 모니터와 이에 따른 버스 트래픽 카운터를 포함하는 경우에 대해 설명한다. Referring to FIG. 1, an embodiment of a bus traffic detection apparatus according to the present invention will be described. One embodiment of a bus traffic detection apparatus according to the present invention includes a plurality of
상기 각각의 버스 트래픽 모니터(100,101,102)는 버스에 대한 모든 접근 중 미리 지정된 버스 트래픽이 발생하는지를 모니터한다. 만약, 해당 버스 트래픽이 발생하면 상기 트래픽 발생 감지신호를 각 버스 트래픽 모니터와 연결된 각각의 버스 트래픽 카운터(200,201,202)에 인가한다. 본 명세서에서 버스에 대한 접근이라 함은 버스를 매개로 발생하는 모든 트래픽을 지칭하는 것으로 어떤 리소스(resource)에 대한 접근이나 어떤 버스 마스터(bus master)가 발생시키는 트래픽을 모두 포함하는 개념이다. Each of the
예를 들어, 리소스 A에 대한 접근(access)을 감시하기 위해서는 상기 버스 트래픽 모니터(101)는 버스에 대한 접근 중에서 리소스 A로 가는 접근을 모니터하고 해당 이벤트가 발생하는 경우 상기 이벤트의 회수를 감지하여 감지신호를 출력한다. 상기 감지신호를 입력받은 버스 트래픽 카운터(201)는 상기 입력된 감지신호에 대한 접근 회수를 카운트하여 누산한다. For example, in order to monitor access to resource A, the
버스 트래픽 카운터(200,201,202)중 어느 하나의 버스 트래픽 카운터(201)가 오버플로우(overflow)된 경우, 상기 카운터(201)는 다른 버스 트래픽 카운터(200,202)들에게 오버플로우가 발생하였음을 알리는 신호를 출력한다. 상기 신호는 각 카운터에게 누산과정 중지신호가 된다. 따라서, 상기 신호를 입력받은 버스 트래픽 카운터(200,202)들은 입력시의 카운트값을 메모리장치(400)에 저장한다. 그리고, 오버플로우된 버스 트래픽 카운터(201)은 오버플로우 이전의 카운트 값을 메모리장치(400)에 저장한다. When any one of the
본 발명의 바람직한 일 실시예는 상기 메모리장치(400)에 각 버스 트래픽 카운터(200,201,202)에 누산된 카운트 값이 저장될 경우 상기 저장신호를 분리하여 메모리장치(400)에 저장하도록 하는 다중화기(300)를 더 포함하는 것이 바람직하다.According to an exemplary embodiment of the present invention, when the count value accumulated in each
버스 트래픽 모니터(100,101,102)의 기능은 아비터(arbiter)가 대신할 수도 있다. 감지하고자 하는 데이터가 특정 버스 마스터가 트래픽을 발생시키는 횟수인 경우, 상기 아비터가 특정 버스 마스터에게 접근 권한을 주기 위한 신호를 직접 카운터에 연결할 수도 있다. The function of the
도 2를 참조하여 본 발명에 따른 버스 트래픽 감지방법의 일 실시예을 설명하면 다음과 같다. 버스에 대한 접근이 있는 여부를 감시하고(S500), 버스 관련된 접근이 있는지 여부를 판단한다(S510). 그리고, 버스 관련된 접근이 있는 경우에만 해당 버스의 접근 회수에 대한 카운트를 증가시킨다(S520). 상기 누적된 버스 카운트의 수가 오버플로우인 경우는 다른 버스 트래픽 카운터에 오버플로우에 대한 신호를 전송한다(S530). 그리고, 해당 버스의 접근 회수를 카운트하는 카운터는 오버플로우된 카운트값의 이전 카운트 값을 저장한다(S550). 상기 저장과정이 종료된 후에 카운터에 누산된 값은 리셋시켜(S560) 상기 카운터를 이후의 버스 트래픽량을 조사하기 위해 사용한다. 만약 해당 버스와 다른 버스의 트래픽량을 감지하는 버스 트래픽 카운터가 오버플로우되었음을 알리는 신호를 수신한 경우에는 수신시의 카운터 값을 저장한다(S570).Referring to Figure 2 describes an embodiment of a bus traffic detection method according to the present invention. It monitors whether there is an access to the bus (S500), and determines whether there is an access related to the bus (S510). In addition, if there is a bus-related access, the count for the number of accesses of the corresponding bus is increased (S520). If the accumulated number of bus counts is overflowed, a signal for overflow is transmitted to another bus traffic counter (S530). The counter for counting the number of times of access of the bus stores the previous count value of the overflowed count value (S550). After the storing process is completed, the value accumulated in the counter is reset (S560), and the counter is used to examine the subsequent bus traffic. If a signal indicating that the bus traffic counter for detecting the traffic volume of the corresponding bus and another bus has overflowed is received, the counter value at the time of reception is stored (S570).
도 3을 참조하여, 본 발명에 따른 버스 트래픽 감지장치 및 버스 트래픽 감지방법의 활용예를 설명하면 다음과 같다. 칩1과 관련된 버스 트래픽 데이터를 상기 버스 카운터 알고리즘을 이용하여 시뮬레이트(모의실험)한다. 상기 실험 결과에 대한 버스 트래픽의 문제를 해소한 알고리즘을 칩2에 적용한다. 그리고 칩2와 관련된 버스 트래픽 데이터를 상기 버스 카운터 알고리즘을 이용하여 모의실험를 행한다. 이와 같은 수행을 반복하여 버스 트래픽에 관련된 칩의 문제를 해결하여 칩 성능을 개선시킬 수 있다. 도 3의 예는 특정 알고리즘 개발을 위해서 소프트웨어를 이용하여 중앙처리장치를 상기 알고리즘을 시뮬레이션에 사용하는 경우, 상기 알고리즘 수행에 대한 버스 관련 문제를 개선할 수 있음을 보이는 예이다. 또한, 아비터를 사용하여 버스 접근 회수를 감지할 경우에는 상기 아비터가 각 버스 마스터에 대한 버스 접근 프라이어티(bus access priority)를 바꾸도록 하여 ASIC의 성능을 개선시킬 수 있다. Referring to Figure 3, the use of the bus traffic detection apparatus and bus traffic detection method according to the present invention will be described. Bus traffic data related to chip 1 are simulated using the bus counter algorithm. The algorithm that solves the problem of bus traffic on the experimental results is applied to Chip 2. Then, bus traffic data related to chip 2 is simulated using the bus counter algorithm. This performance may be repeated to improve chip performance by solving a chip problem related to bus traffic. The example of FIG. 3 is an example showing that when the central processing unit is used to simulate the algorithm using software for developing a specific algorithm, a bus related problem for performing the algorithm can be improved. In addition, when the number of bus accesses is detected using an arbiter, the arbiter may change bus access priority for each bus master to improve the performance of the ASIC.
상기에서 설명한 본 발명에 따른 버스 트래픽 감지장치 및 버스 트래픽 감지방법에 대한 효과를 설명하면 다음과 같다.The effects of the apparatus for detecting bus traffic and the method for detecting bus traffic according to the present invention described above are as follows.
본 발명에 따른 버스 트래픽 감지장치 및 버스 트래픽 감지방법에 의하면 ASIC와 관련된 런타임(run time) 버스 트래픽량을 구체적으로 감지할 수 있어 ASIC 의 성능을 개선시켜 최적화된 ASIC를 개발할 수 있다.According to the bus traffic detection apparatus and the bus traffic detection method according to the present invention, it is possible to specifically detect the amount of run-time bus traffic related to the ASIC, thereby improving the performance of the ASIC and developing an optimized ASIC.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050047848A KR20060126149A (en) | 2005-06-03 | 2005-06-03 | Apparatus for sensing bus traffic and method for sensing a amount of bus traffic |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050047848A KR20060126149A (en) | 2005-06-03 | 2005-06-03 | Apparatus for sensing bus traffic and method for sensing a amount of bus traffic |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20060126149A true KR20060126149A (en) | 2006-12-07 |
Family
ID=37730145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020050047848A KR20060126149A (en) | 2005-06-03 | 2005-06-03 | Apparatus for sensing bus traffic and method for sensing a amount of bus traffic |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20060126149A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101136938B1 (en) * | 2010-08-26 | 2012-04-20 | 시큐아이닷컴 주식회사 | Network Traffic Filters and its Associated Filtering Process |
-
2005
- 2005-06-03 KR KR1020050047848A patent/KR20060126149A/en not_active Application Discontinuation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101136938B1 (en) * | 2010-08-26 | 2012-04-20 | 시큐아이닷컴 주식회사 | Network Traffic Filters and its Associated Filtering Process |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Davis et al. | A survey of probabilistic timing analysis techniques for real-time systems | |
US8527794B2 (en) | Realtime power management of integrated circuits | |
EP2128768B1 (en) | Detecting device, program, and detecting method | |
US8527812B2 (en) | Information processing device | |
US9305166B2 (en) | Method and systems for detecting and isolating hardware timing channels | |
JP2011013867A (en) | Data processor and performance evaluation analysis system | |
US8739092B1 (en) | Functional property ranking | |
US6741096B2 (en) | Structure and methods for measurement of arbitration performance | |
US10078113B1 (en) | Methods and circuits for debugging data bus communications | |
JP2013533553A (en) | System test method | |
US20070074141A1 (en) | Simulation apparatus and simulation method | |
JP2018537762A (en) | Method and circuit for debugging a circuit design | |
US20080059828A1 (en) | Determining Execution Times of Commands | |
CN112115047B (en) | Delay testing method and system for hard real-time operating system | |
US10445219B1 (en) | Extracting transaction level information from a circuit interface | |
KR20060126149A (en) | Apparatus for sensing bus traffic and method for sensing a amount of bus traffic | |
US20130159241A1 (en) | Template clauses based sat techniques | |
US10830816B2 (en) | Single circuit fault detection | |
US7089437B2 (en) | Apparatus for determining power consumed by a bus of a digital signal processor using counted number of logic state transitions on bus | |
WO2015042964A1 (en) | Software test method and apparatus | |
Seo et al. | Lightweight embedded software performance analysis method by kernel hack and its industrial field study | |
CN110413461B (en) | System and method for measuring transmission delay between accelerator card and host and accelerator card | |
US20120240128A1 (en) | Memory Access Performance Diagnosis | |
Scottow et al. | Instrumentation of real-time embedded systems for performance analysis | |
WO2011137078A1 (en) | Measuring direct memory access throughput |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WITN | Withdrawal due to no request for examination |