SlideShare uma empresa Scribd logo
1 de 5
Baixar para ler offline
B. H. K. Bhagat Kumar et al. Int. Journal of Engineering Research and Application www.ijera.com
Vol. 3, Issue 5, Sep-Oct 2013, pp.252-256
www.ijera.com 252 | P a g e
Embedded Multi-Resolution Signal Tracing For Amba Ahb With
Real Time Lossless Compression
B. H. K. Bhagat Kumar1
, B. S. S.Vidya2
(Department of Electronics and Communication Engineering Pragati Engineering College, JNTUK(A. P.),
INDIA)
ABSTRACT
AHB Bus Tracer is a significant infrastructure that is needed to monitor the on chip-bus signals, which is vital
for debugging and performance analysis and also optimizing the SOC. Basically on chip signals are difficult to
observe since they are deeply embedded in a SoC and no sufficient I/O pins are required to access those signals.
Therefore, we embed a bus tracer in SoC to capture the bus signals and store them.
In this paper a multiresolution AHB On-Chip bus tracer is proposed for system-on-chip (SoC) debugging and
monitoring which is capable of capturing the bus trace with different resolutions and efficient built-in
compression mechanisms. Subsequently compression of the trace without any loss of the actual trace which
when reconstructed at the analyzer will remain the same. The trace data will be decompressed on the host for
further observation and debugging. The experimental results show that the proposed approach was designed
successfully; the RTL simulations were performed successfully along with successful synthesis using Xilinx
ISE.
Keywords: AMBA, AHB Bus Tracer, Real Time Compression, multi-resolution, signal tracing.
I. INTRODUCTION
The AMBA-AHB defines a point to point
interface between two communicating entities such
as IP cores and bus interface modules. One entity acts
as a master of the AMBA-AHB instance, and the
other as a slave. Only the master can present
commands and is the controlling entity. The slave
responds to commands presented to it, either by
accepting data from the Master, or presenting data to
the master.
In the System-on-a-Chip (SoC) era, it is a
challenge to verify and debug system chip efficiently
and rapidly. For design verification and debugging at
system level and chip level, not only external I/O
signals observation, but also internal signals tracing
can help designer to efficiently analyze and verify the
design such as the software program, hardware
protocol, and system performance. SoC bus signal
tracing can be accomplished with either software or
hardware approaches. The software approach trace
only program address, and the cost of hardware
implementation of software approaches would be
high. On the other hand, the hardware approach can
trace signals at the target system directly. However,
the main problem with hardware-based tracing
techniques is that the cycle based traces size is
usually extremely large.
Therefore, in order to reduce the trace size
the compression of the trace is necessary. In order to
achieve high trace compression ratio the bus tracer
adopts trace compression mechanisms. It supports
multi resolution tracing by capturing traces at
different timing and signal abstraction levels. It also
provides the dynamic mode change feature to allow
users to switch the resolution on-the-fly for different
portions of the trace to match specific
debugging/analysis needs. This feature provides a
more flexible tracing to focus on the interesting
points.
II. RELATEDWORK
The spirit of a hardware tracer is its data
reduction or Compression technique. There are
hardware approaches to compress the trace, which
can be divided in lossy and lossless categories. Some
appropriate compressing methods have been
available for different types and parts of bus signals.
Branch/target filtering is one common technique for
program address compression. This approach has
been used in some commercial processors, such as
TriCore and ARM’s Embedded Trace
Macrocell.Thehardware overhead of these works is
small since the filtering mechanism is simple to
implement in hardware. However, the effectiveness
of these techniques is mainly limited by the average
basic block size, which is roughly around four or five
instructions per basic block, as reported in and for
data address and value tracing, the most popular
method is used the differential approach based on
subtraction. Some researches have shown that using
the differential method can reduce the data address
and data values traces by about 40 percent and 14
percent respectively. Besides the address and data
bus, there are several control signals on system bus
RESEARCH ARTICLE OPEN ACCESS
B. H. K. Bhagat Kumar et al. Int. Journal of Engineering Research and Application www.ijera.com
Vol. 3, Issue 5, Sep-Oct 2013, pp.252-256
www.ijera.com 253 | P a g e
that need to be traced. Some FPGA boards have
built-in signal trace tools, such as the Altera Signal
Tap and Xilinx Chip- Scope.
FS2 AMBA Navigator supports bus clock
mode and bus transfer mode to trace bus signals on
every clock and bus transfer respectively. Trace
buffer stores bus cycles or bus transfers based on
local internal memory size. Although these
approaches support multiple trace modes such as
tracing at cycle by-cycle or at signal transaction, only
one mode can use during a tracing
process. This paper presents the multi-resolution
approach that can use different trace modes during a
bus signal tracing process.
III. AMBA BUS TRACER
ARCHITECTURE
This section presents the architecture of our
bus tracer. Shown in Fig.1 is the bus tracer overview.
It mainly contains four parts 1)Event Generation
Module 2)Abstraction Module 3)Compression
Modules and 4) Packing Module. The Event
Generation Module controls the start/stop time, the
trace mode, and the trace depth of traces. The signal
Abstraction module traces the corresponding AHB
signals at proper time according to user
configuration. The trace compression module
compresses the trace data in accordance with signal
characteristics. Finally, in the data packing module,
the trace data is arranged compactly for output to the
internal on-chip trace memory or external off-chip
storage. When the onchip trace memory is full, it
sends an interrupt to the microprocessor then this
processor reads the data from the trace memory and
transfers the trace data to off-chip storage through
AMBA.
Fig.1.Multiresolution Bus Tracer Block
Diagram
The transaction-level debugging provides
software and hardware designers a common
abstraction level to diagnose bugs. The abstraction
level is in two dimensions timing abstraction and
signal abstraction. The timing dimension has two
abstraction levels which are the cycle level and
transaction. level. The cycle level captures the signals
at every cycle. The transaction level records the
signals only when their value changes.
The signal dimension involves grouping of
AHB bus signals into four categories: program
address, data address/value, access control signals
(ACS), and protocol control signals (PCS). Then, we
define three abstraction levels for those signals. They
are full signal level, bus state level, and master
operation level. The full signal level captures all bus
signals. The bus state level further abstracts the PCS
by encoding them as states according to the bus-state-
machine (BSM).The states represent bus handshaking
activities within a bus transaction. The master state
level further abstracts the bus state level by only
recording the transfer activities of bus masters and
ignoring the handshaking activities within
transactions. This level also ignores the signals when
the bus state is IDLE, WAIT, and BUSY. The BSM
is designed based on the AMBA AHB 2.0 protocol to
represent the key bus handshaking activities within a
transaction. The transitions between BSM states
follow the AMBA protocol control signals.
Combining the abstraction levels in the timing
dimension and the signal dimension.
Fig.3. Debugging/monitoring process with DMC
1. Event Generation Module: The Event Generation
Module decides the starting and stopping of a trace
and its trace mode. The module has configurable
event registers which specify the triggering events on
the bus and a corresponding matching circuit to
compare the bus activity with the events specified
event registers. Event register contains four
parameters: the trigger conditions, the trace mode, the
trace direction, and the trace depth. The trigger
conditions can be any combination of the address
value, the data value, and the control signal values
B. H. K. Bhagat Kumar et al. Int. Journal of Engineering Research and Application www.ijera.com
Vol. 3, Issue 5, Sep-Oct 2013, pp.252-256
www.ijera.com 254 | P a g e
32 bits
Address
Address Mask
Data
Data Mask
Control
Control Mask
Trace Depth
Trace
Mode(
4bits)
Dire
ction
En
abl
e
A
H
B
B
us
Chec
ker
Even
t
Eve
nt
Num
bers
(24
bits)
Event Numbers(21 bits) [10:0]
zeros
Fig. 3. Event register
2. Abstraction Module: The Abstraction Module
monitors the AMBA bus and selects/filters signals
based on the abstraction mode.
In abstraction mode we provide five modes in
different granularities. They are Mode FC (full
signal, cycle level), Mode FT (full signal, transaction
level), Mode BC (bus state, cycle level), Mode BT
(bus state, transaction level), and Mode MT (master
state, transaction level).
At Mode FC, the tracer traces all bus signals
step by step so the detailed bus activities can be
observed. At Mode FT, the tracer traces all signals
only when their values are differed.
At Mode BC, the tracer uses the Bus State
Machine, such as NORMAL, IDLE, ERROR, and so
on, to represent bus transfer activities in cycle
changing level. Comparing to mode FC designers can
observe the bus handshaking states without analyzing
the detail signals.
At Mode BT, the tracer uses bus state to
represent bus transfer activities in transaction level
Our bus tracer also supports dynamic mode change
(DMC) feature which allows designers to change the
trace mode dynamically in real-time.
Fig.4.Debugging/monitoring process with dynamic
mode change
3. Compression Module: The purpose of
Compression Module is to reduce the trace size. It
accepts the signals from the abstraction module. To
achieve real time compression, the Compression
Module is pipelined to increase the performance.
4) Packing Module: The Packing Module is the last
phase. It receives the compressed data from the
compression module, processes them, and writes
them to the trace memory.
Fig.5.Concatenation of mode-change packet for
abstraction mode switch
IV. AHB Protocol checker (HP checker)
Checker is an external module from where
we can trace data other than AHB bus.
Fig. 5: Protocol Checker
HB Protocol Checker (HP Checker) architecture,
contains two main function blocks: Protocol Checker,
ERROR Reference.
Protocol Checker is the main core of HP
Checker, the inputs are all AHB bus signals, and the
outputs are ERROR signals and corresponding
master and slave IDs. Every rule has its own
corresponded bit because every cycle maybe occur
more than one error.
HP Checker is a rule-based protocol checker,
thus how to establish a set of well-defined rules is
very important.
V. EXPERIMENTAL RESULTS
By simulation and synthesis the following
results are obtained for each cycle at different
abstraction levels. Here Modelsim tool is used in
order to simulate the design and Xilinx tool for
Synthesis process and the netlist generation.
B. H. K. Bhagat Kumar et al. Int. Journal of Engineering Research and Application www.ijera.com
Vol. 3, Issue 5, Sep-Oct 2013, pp.252-256
www.ijera.com 255 | P a g e
Checker Result:-
Event Generator Result:-
Abstraction Result:-
Compression Result:-
Packing Result:-
Synthesis Result:
We synthesized this code by using XILINX ISE 9.2
verification, and implementation of digital logic chips
at the Register transfer level (RTL) level of
abstraction by using XILINX ISE 9.2
B. H. K. Bhagat Kumar et al. Int. Journal of Engineering Research and Application www.ijera.com
Vol. 3, Issue 5, Sep-Oct 2013, pp.252-256
www.ijera.com 256 | P a g e
DESIGN SUMMARY RESULT:-
Timing Summary:-
Minimum period: 5.654ns (Maximum Frequency:
176.864MHz)
Minimum input arrival time before clock: 7.141ns
Maximum output required time after clock: 6.978ns
Maximum combinational path delay: 8.227ns
VI. CONCLUSION
AHB bus is capable of achieving high
performance with a maximum frequency of
176.864MHz.The bus traces with 5 modes of
resolution and the design is verified for all cases of 5
modes. With the aforementioned features, SYS-
HMRBT supports a diverse range of
design/debugging/ monitoring activities, including
module development, chip integration,
hardware/software integration and debugging, system
behavior monitoring, system performance/power
analysis and optimization, etc. The users are allowed
to tradeoff between trace granularity and trace depth
in order to make the most use of the on-chip trace
memory or I/O pins.
VII. FUTURE SCOPE
In the future, we would extend this work to
more advanced buses/connects such as AXI or OCP.
In addition, with its real time abstraction capability,
we would like to explore the possibility of bridging
our bus tracer with ESL design methodology for
advanced hardware/software co
development/debugging/ monitoring/analysis
REFERENCES
[1] An On-Chip AHB Bus Fu-Ching Yang,
Member, IEEE, Yi-Ting Lin, Chung-Fu Kao,
and Ing-Jer Huang IEEE TRANSACTIONS
ON VERY LARGE SCALE INTEGRATION
(VLSI) SYSTEMS, VOL. 19, NO. 4, APRIL
2011
[2] ARM Ltd., San Jose, CA, ―ARM. AMBA
AHB Trace Macrocell (HTM) technical
reference manual ARM DDI 0328D, 2007.
[3] B. Vermeulen, K. Goosen, R. van Steeden, and
M. Bennebroek, “Communication- centric SoC
debug using transactions,” in Proc. 12th IEEE
Eur. Test Symp., May 20–24, 2007, pp. 69–76.
[4] ARM Ltd., San Jose, CA, “Embedded trace
macro cell architecture specification,” 2006.
[5] First Silicon Solutions (FS2) Inc., Sunnyvale,
CA, “AMBA navigator spec sheet,” 2005.
[6] B. Tabara and K. Hashmi, “Transaction-level
modelling and debug of SoC's,” presented at
the IP SoC Conf., France, 2004
[7] Infineon Technologies, Milipitas, CA,
“TC1775 Tri-Core user's manual system
units,” 2001.
[8] E. E. Johnson, J. Ha, and M. B. Zaidi,Lossless
trace compression,‖ IEEE Trans. Comput.,
vol. 50, pp. 158–173, Feb. 2001
[9] ARM Ltd., San Jose, CA, “AMBA
Specification (REV 2.0) ARM IHI0011A,”
1999.
[10] E. Rotenberg, S. Bennett, and J. E. Smith, “A
trace cache micro architecture and evaluation,”
IEEE Trans. Comput., vol. 48, no. 1, pp. 111–
120, Feb. 1999.
[11] Y.-T. Lin, W.-C. Shiue, and I.-J. Huang, ―A
multi-resolution AHB bus tracer for read-time
compression of forward/backward traces in a
curcular buffer,‖ in Proc. Des. Autom. Conf.
(DAC), Jul. 2008, pp. 862–865.
[12] AMBA Navigator Spec Sheet, First Silicon
Solutions (FS2) In
BIOGRAPHY
B.H.K.BHAGAT KUMAR* completed
B.Tech Degree in B.V.C.Engg college Odalarevu. He is
a Project Associate pursuing his M.Tech Degree with
EMBEDDED SYSTEMS specialization in the
Department of Electronics and Communication
Engineering at PRAGATI ENGINEERING
COLLEGE,JNTUK,Kakinada.(A.P)
His Research includes VLSI, EMBEDDED SYSTEMS
and DIGITAL SIGNAL PROCESING
B.S.S.VIDYA** is working as an
Asst.Professor in the Department of Electronics &
Communication Engineering Pragati Engineering
College, Jntuk, Kakinada.(A.P). She has 2
international journal publications to her credit. She has
Completed M.Tech degree in LICS from SVUCE, SVU
TIRUPATI. She is having an experience of 12 years in
the field of teaching. Her Research interests include
VLSI, EMBEDDED SYSTEMS DIGITAL SIGNAL
PROCESING and RADAR SYSTEMS &
MICROWAVE ENGG

Mais conteúdo relacionado

Mais procurados

Ec6703 embedded and real time systems(1)
Ec6703 embedded and real time systems(1)Ec6703 embedded and real time systems(1)
Ec6703 embedded and real time systems(1)
viswnathan
 
input and output organisation
input and output organisation input and output organisation
input and output organisation
sree deepika
 
Register reference
Register referenceRegister reference
Register reference
Nitesh Singh
 

Mais procurados (20)

Ec6703 embedded and real time systems(1)
Ec6703 embedded and real time systems(1)Ec6703 embedded and real time systems(1)
Ec6703 embedded and real time systems(1)
 
Implementation and Design of High Speed FPGA-based Content Addressable Memory
Implementation and Design of High Speed FPGA-based Content Addressable MemoryImplementation and Design of High Speed FPGA-based Content Addressable Memory
Implementation and Design of High Speed FPGA-based Content Addressable Memory
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Module 3 special purpose programmable devices and their interfacing
Module 3 special purpose programmable devices and their interfacingModule 3 special purpose programmable devices and their interfacing
Module 3 special purpose programmable devices and their interfacing
 
Computer System Architecture
Computer System ArchitectureComputer System Architecture
Computer System Architecture
 
Module 2 instruction set
Module 2 instruction set Module 2 instruction set
Module 2 instruction set
 
input and output organisation
input and output organisation input and output organisation
input and output organisation
 
8086
80868086
8086
 
8086 Introduction
8086 Introduction8086 Introduction
8086 Introduction
 
Addressing Modes
Addressing ModesAddressing Modes
Addressing Modes
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086
Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086
Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086
 
Protected mode memory addressing 8086
Protected mode memory addressing 8086Protected mode memory addressing 8086
Protected mode memory addressing 8086
 
Register transfer language
Register transfer languageRegister transfer language
Register transfer language
 
Blackfin Processor Core Architecture Part 2
Blackfin Processor Core Architecture Part 2Blackfin Processor Core Architecture Part 2
Blackfin Processor Core Architecture Part 2
 
Register reference
Register referenceRegister reference
Register reference
 
INTEL 80386 MICROPROCESSOR
INTEL  80386  MICROPROCESSORINTEL  80386  MICROPROCESSOR
INTEL 80386 MICROPROCESSOR
 
Coa module2
Coa module2Coa module2
Coa module2
 
Bca 2nd sem-u-2.1-overview of register transfer, micro operations and basic c...
Bca 2nd sem-u-2.1-overview of register transfer, micro operations and basic c...Bca 2nd sem-u-2.1-overview of register transfer, micro operations and basic c...
Bca 2nd sem-u-2.1-overview of register transfer, micro operations and basic c...
 
Lab 7 -RAM and ROM, Xilinx, Digelent BASYS experimentor board
Lab 7 -RAM and ROM, Xilinx, Digelent BASYS experimentor boardLab 7 -RAM and ROM, Xilinx, Digelent BASYS experimentor board
Lab 7 -RAM and ROM, Xilinx, Digelent BASYS experimentor board
 

Destaque

Chuan muc ke toan dot 1
Chuan muc ke toan dot 1Chuan muc ke toan dot 1
Chuan muc ke toan dot 1
nguyen120893
 

Destaque (20)

Ap35235240
Ap35235240Ap35235240
Ap35235240
 
Ak35206217
Ak35206217Ak35206217
Ak35206217
 
An35225228
An35225228An35225228
An35225228
 
Ai35194197
Ai35194197Ai35194197
Ai35194197
 
Cv35547551
Cv35547551Cv35547551
Cv35547551
 
Ar35247251
Ar35247251Ar35247251
Ar35247251
 
Ax35277281
Ax35277281Ax35277281
Ax35277281
 
Am35221224
Am35221224Am35221224
Am35221224
 
Az35288290
Az35288290Az35288290
Az35288290
 
Aq35241246
Aq35241246Aq35241246
Aq35241246
 
At35257260
At35257260At35257260
At35257260
 
Ao35229234
Ao35229234Ao35229234
Ao35229234
 
Bb35295305
Bb35295305Bb35295305
Bb35295305
 
Ba35291294
Ba35291294Ba35291294
Ba35291294
 
Aw35271276
Aw35271276Aw35271276
Aw35271276
 
Al35218220
Al35218220Al35218220
Al35218220
 
годовой план 14 15
годовой план 14 15годовой план 14 15
годовой план 14 15
 
Avances tecnologicos2
Avances tecnologicos2Avances tecnologicos2
Avances tecnologicos2
 
Chuan muc ke toan dot 1
Chuan muc ke toan dot 1Chuan muc ke toan dot 1
Chuan muc ke toan dot 1
 
Hoja de Vida de Docentes del Diplomado Liderazgo para la Trasnformacion 2015 ...
Hoja de Vida de Docentes del Diplomado Liderazgo para la Trasnformacion 2015 ...Hoja de Vida de Docentes del Diplomado Liderazgo para la Trasnformacion 2015 ...
Hoja de Vida de Docentes del Diplomado Liderazgo para la Trasnformacion 2015 ...
 

Semelhante a As35252256

An On-Chip Bus Tracer Analyzer With Amba AHB For Real Time Tracing With Lossl...
An On-Chip Bus Tracer Analyzer With Amba AHB For Real Time Tracing With Lossl...An On-Chip Bus Tracer Analyzer With Amba AHB For Real Time Tracing With Lossl...
An On-Chip Bus Tracer Analyzer With Amba AHB For Real Time Tracing With Lossl...
IJERA Editor
 
Design and Implementation of AMBA ASB apb bridge
Design and Implementation of AMBA ASB apb bridgeDesign and Implementation of AMBA ASB apb bridge
Design and Implementation of AMBA ASB apb bridge
Manu BN
 
Ca31317323
Ca31317323Ca31317323
Ca31317323
IJMER
 
Implementation of FSM-MBIST and Design of Hybrid MBIST for Memory cluster in ...
Implementation of FSM-MBIST and Design of Hybrid MBIST for Memory cluster in ...Implementation of FSM-MBIST and Design of Hybrid MBIST for Memory cluster in ...
Implementation of FSM-MBIST and Design of Hybrid MBIST for Memory cluster in ...
Editor IJCATR
 

Semelhante a As35252256 (20)

An On-Chip Bus Tracer Analyzer With Amba AHB For Real Time Tracing With Lossl...
An On-Chip Bus Tracer Analyzer With Amba AHB For Real Time Tracing With Lossl...An On-Chip Bus Tracer Analyzer With Amba AHB For Real Time Tracing With Lossl...
An On-Chip Bus Tracer Analyzer With Amba AHB For Real Time Tracing With Lossl...
 
IRJET - Analysis of Different Arbitration Algorithms for Amba Ahb Bus Protoco...
IRJET - Analysis of Different Arbitration Algorithms for Amba Ahb Bus Protoco...IRJET - Analysis of Different Arbitration Algorithms for Amba Ahb Bus Protoco...
IRJET - Analysis of Different Arbitration Algorithms for Amba Ahb Bus Protoco...
 
Design and Implementation of AMBA ASB apb bridge
Design and Implementation of AMBA ASB apb bridgeDesign and Implementation of AMBA ASB apb bridge
Design and Implementation of AMBA ASB apb bridge
 
Design And Verification of AMBA APB Protocol
Design And Verification of AMBA APB ProtocolDesign And Verification of AMBA APB Protocol
Design And Verification of AMBA APB Protocol
 
E010224043
E010224043E010224043
E010224043
 
IRJET- Performance Verification of Amba Multi-Master AHB Bus using System...
IRJET-  	  Performance Verification of Amba Multi-Master AHB Bus using System...IRJET-  	  Performance Verification of Amba Multi-Master AHB Bus using System...
IRJET- Performance Verification of Amba Multi-Master AHB Bus using System...
 
AMBA 2.0 REPORT
AMBA 2.0 REPORTAMBA 2.0 REPORT
AMBA 2.0 REPORT
 
Isa bus nptel
Isa bus nptelIsa bus nptel
Isa bus nptel
 
IRJET - Design of AMBA based AHB2APB Protocol for Efficient Utilization of AH...
IRJET - Design of AMBA based AHB2APB Protocol for Efficient Utilization of AH...IRJET - Design of AMBA based AHB2APB Protocol for Efficient Utilization of AH...
IRJET - Design of AMBA based AHB2APB Protocol for Efficient Utilization of AH...
 
Performance evaluation of bandwidth optimization algorithm (boa) in atm network
Performance evaluation of bandwidth optimization algorithm (boa) in atm networkPerformance evaluation of bandwidth optimization algorithm (boa) in atm network
Performance evaluation of bandwidth optimization algorithm (boa) in atm network
 
Ca31317323
Ca31317323Ca31317323
Ca31317323
 
Implementation of a bit error rate tester of a wireless communication system ...
Implementation of a bit error rate tester of a wireless communication system ...Implementation of a bit error rate tester of a wireless communication system ...
Implementation of a bit error rate tester of a wireless communication system ...
 
Co notes
Co notesCo notes
Co notes
 
A NOVEL APPROACH FOR LOWER POWER DESIGN IN TURBO CODING SYSTEM
A NOVEL APPROACH FOR LOWER POWER DESIGN IN TURBO CODING SYSTEMA NOVEL APPROACH FOR LOWER POWER DESIGN IN TURBO CODING SYSTEM
A NOVEL APPROACH FOR LOWER POWER DESIGN IN TURBO CODING SYSTEM
 
Queue Size Trade Off with Modulation in 802.15.4 for Wireless Sensor Networks
Queue Size Trade Off with Modulation in 802.15.4 for Wireless Sensor NetworksQueue Size Trade Off with Modulation in 802.15.4 for Wireless Sensor Networks
Queue Size Trade Off with Modulation in 802.15.4 for Wireless Sensor Networks
 
FPGA Implementation of Viterbi Decoder using Hybrid Trace Back and Register E...
FPGA Implementation of Viterbi Decoder using Hybrid Trace Back and Register E...FPGA Implementation of Viterbi Decoder using Hybrid Trace Back and Register E...
FPGA Implementation of Viterbi Decoder using Hybrid Trace Back and Register E...
 
Computer Organization & Architecture.ppt
Computer Organization & Architecture.pptComputer Organization & Architecture.ppt
Computer Organization & Architecture.ppt
 
M Sc Tns 2823134 Assignment 1 Atm Switching Abidafsar
M Sc Tns 2823134 Assignment 1 Atm Switching AbidafsarM Sc Tns 2823134 Assignment 1 Atm Switching Abidafsar
M Sc Tns 2823134 Assignment 1 Atm Switching Abidafsar
 
Design & Simulation of RISC Processor using Hyper Pipelining Technique
Design & Simulation of RISC Processor using Hyper Pipelining TechniqueDesign & Simulation of RISC Processor using Hyper Pipelining Technique
Design & Simulation of RISC Processor using Hyper Pipelining Technique
 
Implementation of FSM-MBIST and Design of Hybrid MBIST for Memory cluster in ...
Implementation of FSM-MBIST and Design of Hybrid MBIST for Memory cluster in ...Implementation of FSM-MBIST and Design of Hybrid MBIST for Memory cluster in ...
Implementation of FSM-MBIST and Design of Hybrid MBIST for Memory cluster in ...
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

As35252256

  • 1. B. H. K. Bhagat Kumar et al. Int. Journal of Engineering Research and Application www.ijera.com Vol. 3, Issue 5, Sep-Oct 2013, pp.252-256 www.ijera.com 252 | P a g e Embedded Multi-Resolution Signal Tracing For Amba Ahb With Real Time Lossless Compression B. H. K. Bhagat Kumar1 , B. S. S.Vidya2 (Department of Electronics and Communication Engineering Pragati Engineering College, JNTUK(A. P.), INDIA) ABSTRACT AHB Bus Tracer is a significant infrastructure that is needed to monitor the on chip-bus signals, which is vital for debugging and performance analysis and also optimizing the SOC. Basically on chip signals are difficult to observe since they are deeply embedded in a SoC and no sufficient I/O pins are required to access those signals. Therefore, we embed a bus tracer in SoC to capture the bus signals and store them. In this paper a multiresolution AHB On-Chip bus tracer is proposed for system-on-chip (SoC) debugging and monitoring which is capable of capturing the bus trace with different resolutions and efficient built-in compression mechanisms. Subsequently compression of the trace without any loss of the actual trace which when reconstructed at the analyzer will remain the same. The trace data will be decompressed on the host for further observation and debugging. The experimental results show that the proposed approach was designed successfully; the RTL simulations were performed successfully along with successful synthesis using Xilinx ISE. Keywords: AMBA, AHB Bus Tracer, Real Time Compression, multi-resolution, signal tracing. I. INTRODUCTION The AMBA-AHB defines a point to point interface between two communicating entities such as IP cores and bus interface modules. One entity acts as a master of the AMBA-AHB instance, and the other as a slave. Only the master can present commands and is the controlling entity. The slave responds to commands presented to it, either by accepting data from the Master, or presenting data to the master. In the System-on-a-Chip (SoC) era, it is a challenge to verify and debug system chip efficiently and rapidly. For design verification and debugging at system level and chip level, not only external I/O signals observation, but also internal signals tracing can help designer to efficiently analyze and verify the design such as the software program, hardware protocol, and system performance. SoC bus signal tracing can be accomplished with either software or hardware approaches. The software approach trace only program address, and the cost of hardware implementation of software approaches would be high. On the other hand, the hardware approach can trace signals at the target system directly. However, the main problem with hardware-based tracing techniques is that the cycle based traces size is usually extremely large. Therefore, in order to reduce the trace size the compression of the trace is necessary. In order to achieve high trace compression ratio the bus tracer adopts trace compression mechanisms. It supports multi resolution tracing by capturing traces at different timing and signal abstraction levels. It also provides the dynamic mode change feature to allow users to switch the resolution on-the-fly for different portions of the trace to match specific debugging/analysis needs. This feature provides a more flexible tracing to focus on the interesting points. II. RELATEDWORK The spirit of a hardware tracer is its data reduction or Compression technique. There are hardware approaches to compress the trace, which can be divided in lossy and lossless categories. Some appropriate compressing methods have been available for different types and parts of bus signals. Branch/target filtering is one common technique for program address compression. This approach has been used in some commercial processors, such as TriCore and ARM’s Embedded Trace Macrocell.Thehardware overhead of these works is small since the filtering mechanism is simple to implement in hardware. However, the effectiveness of these techniques is mainly limited by the average basic block size, which is roughly around four or five instructions per basic block, as reported in and for data address and value tracing, the most popular method is used the differential approach based on subtraction. Some researches have shown that using the differential method can reduce the data address and data values traces by about 40 percent and 14 percent respectively. Besides the address and data bus, there are several control signals on system bus RESEARCH ARTICLE OPEN ACCESS
  • 2. B. H. K. Bhagat Kumar et al. Int. Journal of Engineering Research and Application www.ijera.com Vol. 3, Issue 5, Sep-Oct 2013, pp.252-256 www.ijera.com 253 | P a g e that need to be traced. Some FPGA boards have built-in signal trace tools, such as the Altera Signal Tap and Xilinx Chip- Scope. FS2 AMBA Navigator supports bus clock mode and bus transfer mode to trace bus signals on every clock and bus transfer respectively. Trace buffer stores bus cycles or bus transfers based on local internal memory size. Although these approaches support multiple trace modes such as tracing at cycle by-cycle or at signal transaction, only one mode can use during a tracing process. This paper presents the multi-resolution approach that can use different trace modes during a bus signal tracing process. III. AMBA BUS TRACER ARCHITECTURE This section presents the architecture of our bus tracer. Shown in Fig.1 is the bus tracer overview. It mainly contains four parts 1)Event Generation Module 2)Abstraction Module 3)Compression Modules and 4) Packing Module. The Event Generation Module controls the start/stop time, the trace mode, and the trace depth of traces. The signal Abstraction module traces the corresponding AHB signals at proper time according to user configuration. The trace compression module compresses the trace data in accordance with signal characteristics. Finally, in the data packing module, the trace data is arranged compactly for output to the internal on-chip trace memory or external off-chip storage. When the onchip trace memory is full, it sends an interrupt to the microprocessor then this processor reads the data from the trace memory and transfers the trace data to off-chip storage through AMBA. Fig.1.Multiresolution Bus Tracer Block Diagram The transaction-level debugging provides software and hardware designers a common abstraction level to diagnose bugs. The abstraction level is in two dimensions timing abstraction and signal abstraction. The timing dimension has two abstraction levels which are the cycle level and transaction. level. The cycle level captures the signals at every cycle. The transaction level records the signals only when their value changes. The signal dimension involves grouping of AHB bus signals into four categories: program address, data address/value, access control signals (ACS), and protocol control signals (PCS). Then, we define three abstraction levels for those signals. They are full signal level, bus state level, and master operation level. The full signal level captures all bus signals. The bus state level further abstracts the PCS by encoding them as states according to the bus-state- machine (BSM).The states represent bus handshaking activities within a bus transaction. The master state level further abstracts the bus state level by only recording the transfer activities of bus masters and ignoring the handshaking activities within transactions. This level also ignores the signals when the bus state is IDLE, WAIT, and BUSY. The BSM is designed based on the AMBA AHB 2.0 protocol to represent the key bus handshaking activities within a transaction. The transitions between BSM states follow the AMBA protocol control signals. Combining the abstraction levels in the timing dimension and the signal dimension. Fig.3. Debugging/monitoring process with DMC 1. Event Generation Module: The Event Generation Module decides the starting and stopping of a trace and its trace mode. The module has configurable event registers which specify the triggering events on the bus and a corresponding matching circuit to compare the bus activity with the events specified event registers. Event register contains four parameters: the trigger conditions, the trace mode, the trace direction, and the trace depth. The trigger conditions can be any combination of the address value, the data value, and the control signal values
  • 3. B. H. K. Bhagat Kumar et al. Int. Journal of Engineering Research and Application www.ijera.com Vol. 3, Issue 5, Sep-Oct 2013, pp.252-256 www.ijera.com 254 | P a g e 32 bits Address Address Mask Data Data Mask Control Control Mask Trace Depth Trace Mode( 4bits) Dire ction En abl e A H B B us Chec ker Even t Eve nt Num bers (24 bits) Event Numbers(21 bits) [10:0] zeros Fig. 3. Event register 2. Abstraction Module: The Abstraction Module monitors the AMBA bus and selects/filters signals based on the abstraction mode. In abstraction mode we provide five modes in different granularities. They are Mode FC (full signal, cycle level), Mode FT (full signal, transaction level), Mode BC (bus state, cycle level), Mode BT (bus state, transaction level), and Mode MT (master state, transaction level). At Mode FC, the tracer traces all bus signals step by step so the detailed bus activities can be observed. At Mode FT, the tracer traces all signals only when their values are differed. At Mode BC, the tracer uses the Bus State Machine, such as NORMAL, IDLE, ERROR, and so on, to represent bus transfer activities in cycle changing level. Comparing to mode FC designers can observe the bus handshaking states without analyzing the detail signals. At Mode BT, the tracer uses bus state to represent bus transfer activities in transaction level Our bus tracer also supports dynamic mode change (DMC) feature which allows designers to change the trace mode dynamically in real-time. Fig.4.Debugging/monitoring process with dynamic mode change 3. Compression Module: The purpose of Compression Module is to reduce the trace size. It accepts the signals from the abstraction module. To achieve real time compression, the Compression Module is pipelined to increase the performance. 4) Packing Module: The Packing Module is the last phase. It receives the compressed data from the compression module, processes them, and writes them to the trace memory. Fig.5.Concatenation of mode-change packet for abstraction mode switch IV. AHB Protocol checker (HP checker) Checker is an external module from where we can trace data other than AHB bus. Fig. 5: Protocol Checker HB Protocol Checker (HP Checker) architecture, contains two main function blocks: Protocol Checker, ERROR Reference. Protocol Checker is the main core of HP Checker, the inputs are all AHB bus signals, and the outputs are ERROR signals and corresponding master and slave IDs. Every rule has its own corresponded bit because every cycle maybe occur more than one error. HP Checker is a rule-based protocol checker, thus how to establish a set of well-defined rules is very important. V. EXPERIMENTAL RESULTS By simulation and synthesis the following results are obtained for each cycle at different abstraction levels. Here Modelsim tool is used in order to simulate the design and Xilinx tool for Synthesis process and the netlist generation.
  • 4. B. H. K. Bhagat Kumar et al. Int. Journal of Engineering Research and Application www.ijera.com Vol. 3, Issue 5, Sep-Oct 2013, pp.252-256 www.ijera.com 255 | P a g e Checker Result:- Event Generator Result:- Abstraction Result:- Compression Result:- Packing Result:- Synthesis Result: We synthesized this code by using XILINX ISE 9.2 verification, and implementation of digital logic chips at the Register transfer level (RTL) level of abstraction by using XILINX ISE 9.2
  • 5. B. H. K. Bhagat Kumar et al. Int. Journal of Engineering Research and Application www.ijera.com Vol. 3, Issue 5, Sep-Oct 2013, pp.252-256 www.ijera.com 256 | P a g e DESIGN SUMMARY RESULT:- Timing Summary:- Minimum period: 5.654ns (Maximum Frequency: 176.864MHz) Minimum input arrival time before clock: 7.141ns Maximum output required time after clock: 6.978ns Maximum combinational path delay: 8.227ns VI. CONCLUSION AHB bus is capable of achieving high performance with a maximum frequency of 176.864MHz.The bus traces with 5 modes of resolution and the design is verified for all cases of 5 modes. With the aforementioned features, SYS- HMRBT supports a diverse range of design/debugging/ monitoring activities, including module development, chip integration, hardware/software integration and debugging, system behavior monitoring, system performance/power analysis and optimization, etc. The users are allowed to tradeoff between trace granularity and trace depth in order to make the most use of the on-chip trace memory or I/O pins. VII. FUTURE SCOPE In the future, we would extend this work to more advanced buses/connects such as AXI or OCP. In addition, with its real time abstraction capability, we would like to explore the possibility of bridging our bus tracer with ESL design methodology for advanced hardware/software co development/debugging/ monitoring/analysis REFERENCES [1] An On-Chip AHB Bus Fu-Ching Yang, Member, IEEE, Yi-Ting Lin, Chung-Fu Kao, and Ing-Jer Huang IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, VOL. 19, NO. 4, APRIL 2011 [2] ARM Ltd., San Jose, CA, ―ARM. AMBA AHB Trace Macrocell (HTM) technical reference manual ARM DDI 0328D, 2007. [3] B. Vermeulen, K. Goosen, R. van Steeden, and M. Bennebroek, “Communication- centric SoC debug using transactions,” in Proc. 12th IEEE Eur. Test Symp., May 20–24, 2007, pp. 69–76. [4] ARM Ltd., San Jose, CA, “Embedded trace macro cell architecture specification,” 2006. [5] First Silicon Solutions (FS2) Inc., Sunnyvale, CA, “AMBA navigator spec sheet,” 2005. [6] B. Tabara and K. Hashmi, “Transaction-level modelling and debug of SoC's,” presented at the IP SoC Conf., France, 2004 [7] Infineon Technologies, Milipitas, CA, “TC1775 Tri-Core user's manual system units,” 2001. [8] E. E. Johnson, J. Ha, and M. B. Zaidi,Lossless trace compression,‖ IEEE Trans. Comput., vol. 50, pp. 158–173, Feb. 2001 [9] ARM Ltd., San Jose, CA, “AMBA Specification (REV 2.0) ARM IHI0011A,” 1999. [10] E. Rotenberg, S. Bennett, and J. E. Smith, “A trace cache micro architecture and evaluation,” IEEE Trans. Comput., vol. 48, no. 1, pp. 111– 120, Feb. 1999. [11] Y.-T. Lin, W.-C. Shiue, and I.-J. Huang, ―A multi-resolution AHB bus tracer for read-time compression of forward/backward traces in a curcular buffer,‖ in Proc. Des. Autom. Conf. (DAC), Jul. 2008, pp. 862–865. [12] AMBA Navigator Spec Sheet, First Silicon Solutions (FS2) In BIOGRAPHY B.H.K.BHAGAT KUMAR* completed B.Tech Degree in B.V.C.Engg college Odalarevu. He is a Project Associate pursuing his M.Tech Degree with EMBEDDED SYSTEMS specialization in the Department of Electronics and Communication Engineering at PRAGATI ENGINEERING COLLEGE,JNTUK,Kakinada.(A.P) His Research includes VLSI, EMBEDDED SYSTEMS and DIGITAL SIGNAL PROCESING B.S.S.VIDYA** is working as an Asst.Professor in the Department of Electronics & Communication Engineering Pragati Engineering College, Jntuk, Kakinada.(A.P). She has 2 international journal publications to her credit. She has Completed M.Tech degree in LICS from SVUCE, SVU TIRUPATI. She is having an experience of 12 years in the field of teaching. Her Research interests include VLSI, EMBEDDED SYSTEMS DIGITAL SIGNAL PROCESING and RADAR SYSTEMS & MICROWAVE ENGG