status of the bound t wcet tool
play

Status of the Bound-T WCET tool Niklas Holsti and Sami Saarinen - PowerPoint PPT Presentation

Status of the Bound-T WCET tool Niklas Holsti and Sami Saarinen Space Systems Finland Ltd. Overview Brief intro to Bound-T Detail 1: Control-flow analysis of DSP code Detail 2: Concurrency of IU & FPU in SPARC Status and


  1. Status of the Bound-T WCET tool Niklas Holsti and Sami Saarinen Space Systems Finland Ltd. Overview • Brief intro to Bound-T • Detail 1: Control-flow analysis of DSP code • Detail 2: Concurrency of IU & FPU in SPARC • Status and current work • Questions for discussion 1 2nd WCET workshop, Euromicro RTS'2002 18 June 2002

  2. Brief intro to Bound-T • Static WCET analysis methods – Reads compiled, linked binaries (with debug info) – Generates bounds on WCET and stack usage – Automatically bounds simple loops (Presburger arithmetic model, Omega tool) – Assertion language, not embedded in source code – Uses IPET for calculation ( lp_solve tool) • Implemented by SSF – Targets ADSP-21020 and SPARC V7 for ESA – Target Intel-8051 with SSF own funding – Platforms Sun Solaris, Intel Linux, Intel Win 2 2nd WCET workshop, Euromicro RTS'2002 18 June 2002

  3. Detail 1: Control flow in DSPs • Special program sequencing in DSPs (e.g. 21020) – Delayed branch due to instruction pipelining – Zero-overhead loop, nestable six deep LCTR=30, DO Loop_End until LCE; r14=3 // first instruction in loop ... r2=r2+r14 // last instruction in loop Loop_End: nop • Solution: CFG based on full sequencing state: – All instruction pipeline contents (fetch, decode, exec) – All (dynamically) containing DO UNTIL loops • One instruction can cause many CFG nodes – E.g. branch (to be) taken / not taken 3 2nd WCET workshop, Euromicro RTS'2002 18 June 2002

  4. Detail 2: SPARC IU/FPU concurrency SPARC V7 (ERC32) functional units – IU fetches instructions, dispatches to IU or FPU – FPU executes concurrently with IU, up to 80 IU cycles – On next FP instruction, IU waits until FPU is idle "FPU busy" delay (red numbers) IU FPU a 2 23 at second FP instruction on any FPU b 4 delayed path (red edges) is IU 1 distributed over all edges that lie 22 (from FPU a) on delayed paths, to minimize the 3 (from FPU b) impact on non-delayed paths IU 3 19 (from FPU a) (green edges), using ILP with a (zero from FPU b) heuristic goal function. IU FPU c 1 9 4 2nd WCET workshop, Euromicro RTS'2002 18 June 2002

  5. Status and current work • Space area – Some evaluation by customers going on – SSF will use Bound-T/SPARC on the GOCE on-board SW • Non-space area – Looking for pilot customers, partners, distributors – Target: medium-sized mass-market embedded processors • Current technical work – Evaluation support, minor improvements (manpower) 5 2nd WCET workshop, Euromicro RTS'2002 18 June 2002

  6. Questions to the audience • Division between syntax and semantic models? – Syntax = program sequencing = CFG = partitioning states – Semantics = abstract CFG execution = comprehending states • General analysis of concurrent functional units? – Our technique for SPARC IU & FPU seems a special case • Combining info from source code and object code? – Convince compiler writers to export info for WCET – Define standard formats (ELF extension? XML?) – Working group => list of recommendations? • Is industry starting to know about WCET analysis? 6 2nd WCET workshop, Euromicro RTS'2002 18 June 2002

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend