180 likes | 340 Views
A SoC Simulator the newest component in Open64. Wendong Wang, Tony Tuo, Kevin Lo Dongchen Ren, Gary Hau, Jun zhang, Dong Huang SimpLight Nanoelectronics Ltd. http://svn.open64.net/svnroot/open64/sim/fsim/. Background. Challenges. Flexible
E N D
A SoC Simulatorthe newest component in Open64 Wendong Wang, Tony Tuo, Kevin Lo Dongchen Ren, Gary Hau, Jun zhang, Dong Huang SimpLight Nanoelectronics Ltd http://svn.open64.net/svnroot/open64/sim/fsim/
Challenges • Flexible • Easy to change ISA and modify micro-architecture • Speed • Fast enough for software development and compiler correctness verification • Co-verification • To speed up chip design cycle
Challenges • Flexible • Speed • Co-verification
Flexibility • Decoupling implementation • function simulator implements the part which can be seen by programmer, and performance simulator implements the parts cannot be seen by programmer • Each component is defined as one class
Case Study • Sl1 and Sl2 retarget
Challenges • Flexible • Speed • Co-verification
Speed • Use template • most references are solved at compile time • Instruction caching • Page2 is non-decoded • When PC points to instr A, decoder invokes • Decoder will decode all instructions within the page • So all access of Page2 in the future will not invoke decoder
Speed Results for SSIM Table 1: Speed of SSIM with/without instruction caching (instructions per second)
Challenges • Flexible • Speed • Co-verification
Put all together Table 1: Instruction count for each component in Equalization
Other features -- debug • Use GDB+Eclipse for application debugging. • Embedded debug ability can accelerate system/driver software development.
Other features -- Profiling • Profiling module can turn on/off. • Can used lots of tools • PSIM • Instruction distribution tool • Branch analysis tool
Future Work • SoC architecture simulation • Current SSIM does not simulate bus traffic, hence it is not suitable to study SoC system performance issues • Accelerators • Power usage • Bus contention • MDL • Make SSIM can be retarget automatically