Open TV PC Simulator Functional Simulation Overview 1

  • Slides: 8
Download presentation
Open. TV PC Simulator Functional Simulation Overview 1

Open. TV PC Simulator Functional Simulation Overview 1

Problems: n n n Reference platform Development environment requires complicated equipment from the early

Problems: n n n Reference platform Development environment requires complicated equipment from the early stages of development Testing and verification process under reference platform is time consuming Demonstration of prototype requires appropriate equipment Solution: PC simulator allows: n Fast development and source debugging n Fast test of GUI functionality n Fast prototyping of conceptual solutions Functional Simulation Overview 2

Targets of simulations: n n n n Open. TV system functions (time, timers, events,

Targets of simulations: n n n n Open. TV system functions (time, timers, events, etc. ) Open. TV Graphics (Gadgets, Gadget tree, Shapes) Open. TV Resource Manager (including dynamic attaching) User Input (virtual Remote Control) O_ui_interactive_dispatch() Tuner (functional simulation and message flow only) MPEG Still (message flow and rendering corresponded BMP/JPEG) Functional Simulation Overview 3

User Interface Example Functional Simulation Overview 4

User Interface Example Functional Simulation Overview 4

PC Simulator Architecture Remote Control Thread: ·USER INPUT simulation Application Thread: ·Client Application real

PC Simulator Architecture Remote Control Thread: ·USER INPUT simulation Application Thread: ·Client Application real code ·Open. TV API Windows toolbar: ·Resource insertion simulation ·Interruptions simulation ·Custom conditions Windows Simulator Thread ·Open. TV API simulation ·Win 32 Glue (mapping to Windows API and CGI GFX) ·Tracing utilities (memory managements, message flow, etc. ) Functional Simulation Overview 5

Development Environment Architecture Client Application • Source code and header files (CLIENT) Open. TV

Development Environment Architecture Client Application • Source code and header files (CLIENT) Open. TV Wrapper API • Header files (Open. TV) Open. TV API simulation • assembled into static library Remote Control • user input simulation Windows Simulator & Win 32/MFC Glue • assembled into static library Functional Simulation Overview 6

Development Environment Architecture (MS Visual Studio) Functional Simulation Overview 7

Development Environment Architecture (MS Visual Studio) Functional Simulation Overview 7

Features: n n n n step-by-step source code debugging conditional breakpoints tracing memory allocations

Features: n n n n step-by-step source code debugging conditional breakpoints tracing memory allocations and memory leaks bounds checking extremely fast development cycle without loading to a set top box allows developing up to 75% of GUI and application logic simplifies development and debugging process, save time, resources and expenses Functional Simulation Overview 8