neel gala, cto, incore semiconductors rita (risc-v trace ...€¦ · anmol sahoo, project...
Post on 28-Sep-2020
1 Views
Preview:
TRANSCRIPT
SHAKTISHAKTI
RiTA (RISC-V Trace Analyzer)
Anmol Sahoo, Project Associate, IIT Madras
Neel Gala, CTO, Incore Semiconductors
SHAKTISHAKTI
Outline
▪ Need for a trace analyzer▪ Design and features of RiTA▪ Examples▪ Getting started with RiTA
2
SHAKTISHAKTI
Need for a trace analyzer
SHAKTISHAKTI
Need for a trace analyzer
4
▪ Hardware designers need to understand software execution characteristics
▪ Trace analyzers should be able to analyze traces from generic execution contexts - Spike, FPGA, Silicon
▪ Designers can better use this information to extend or improve their designs at various levels
▪ Architectural Decisions▫ Macro-op Fusion▫ Pseudo-ops▫ ISA Extensions
SHAKTISHAKTI
Need for a trace analyzer
5
▪ Hardware designers need to understand software execution characteristics
▪ Trace analyzers should be able to analyze traces from generic execution contexts - Spike, FPGA, Silicon
▪ Designers can better use this information to extend or improve their designs at various levels
▪ Architectural Decisions▫ Macro-op Fusion▫ Pseudo-ops▫ ISA Extensions
SHAKTISHAKTI
Need for a trace analyzer
6
▪ Hardware designers need to understand software execution characteristics
▪ Trace analyzers should be able to analyze traces from generic execution contexts - Spike, FPGA, Silicon
▪ Designers can better use this information to extend or improve their designs at various levels
▪ Architectural Decisions▫ Macro-op Fusion▫ Pseudo-ops▫ ISA Extensions
SHAKTISHAKTI
Need for a trace analyzer
7
▪ Hardware designers need to understand software execution characteristics
▪ Trace analyzers should be able to analyze traces from generic execution contexts - Spike, FPGA, Silicon
▪ Designers can better use this information to extend or improve their designs at various levels
▪ Architectural Decisions▫ Macro-op Fusion▫ ISA Extensions▫ Hardware Optimization
SHAKTISHAKTI
Design and features of RiTA
SHAKTISHAKTI
Design of RiTA
9
▪ RiTA is a command line tool written in Python▪ Tiered application
▫ Trace File Parser▫ Instruction Parser▫ Post-processing Modules
▪ Makes it easy to extend!
SHAKTISHAKTI
Features of RiTA
10
The following post-processing modules are being developed in RiTA,▪ Instruction histogram and statistics▪ Register histogram▪ Memory access histogram▪ Branch statistics▪ Dependent instruction sequences
SHAKTISHAKTI
Examples
SHAKTISHAKTI
Instruction Histogram
12
SHAKTISHAKTI
Register Access Statistics
13
SHAKTISHAKTI
Program Counter Histogram
14
SHAKTISHAKTI
Getting Started
15
▪ The application is available from the PyPI package repository▪ Get Started,▪ pip install rita▪ Future work will look at,
▫ Parsing new ISA extensions▫ Optimization suggestions
SHAKTISHAKTI
Thank you for your time! :D
top related