发明名称 Simulation observability and control of all hardware and software components of a virtual platform model of an electronics system
摘要 Aspects of the present invention describe a system and method for a user of an event-driven simulation environment and/or embedded software debugger interface to step through the source code of components modeled by the environment/debugger, including the embedded software or hardware model source code. In a virtual platform modeling hardware components, bare-metal software programs, and high-level software applications or processes, the source code of each modeled component may be stepped through during simulation. Insertion points for breakpoints or watchpoints may be detected during a traversal of the source code of each component being modeled in the virtual platform and such breakpoints inserted automatically.
申请公布号 US9262305(B1) 申请公布日期 2016.02.16
申请号 US201313907474 申请日期 2013.05.31
申请人 Cadence Design Systems, Inc. 发明人 Wilmot Andrew;Larue, Jr. William W.;Bhatnagar Neeti;Von Bank Dave;Levine Joshua
分类号 G06F9/44;G06F11/36 主分类号 G06F9/44
代理机构 Kenyon & Kenyon LLP 代理人 Kenyon & Kenyon LLP
主权项 1. A method for stepping through source code of modeled components in a virtual platform during simulation of the modeled components, the method comprising: on a computer device having a single interface to access all of the modeled components for the virtual platform including at least one modeled hardware component and at least one modeled software component, the interface running on a single control thread in the virtual platform: processing source code for each modeled component, the processing including traversing the source code to identify insertion points at domain context switches; upon detecting an insertion point at one of the domain context switches in the source code for a modeled component, inserting a breakpoint; and simulating the modeled components using an event-driven simulator, wherein upon detecting the breakpoint during the simulation, transferring control of the simulation to the control thread wherein the control thread accesses state information for at least one modeled component responsive to the inserted breakpoint by utilizing a global identifier to retrieve the state information from a memory, wherein the domain context switches occur when the source code being processed switches from being: (i) the source code of the modeled hardware component to the source code of the modeled software component or (ii) the source code of the modeled software component to the source code of the modeled hardware component.
地址 San Jose CA US