发明名称 Direct memory interface access in a multi-thread safe system level modeling simulation
摘要 Methods, systems, and machine readable medium for multi-thread safe system level modeling simulation (SLMS) of a target system on a host system. An example of a SLMS is a SYSTEMC simulation. During the SLMS, SLMS processes are executed in parallel via a plurality of threads. SLMS processes represent functional behaviors of components within the target system, such as functional behaviors of processor cores. Deferred execution may be used to defer execution of operations of SLMS processes that access a shared resource. Multi-thread safe direct memory interface (DMI) access may be used by a SLMS process to access a region of the memory in a multi-thread safe manner. Access to regions of the memory may also be guarded if they are at risk of being in a transient state when being accessed by more than one SLMS process.
申请公布号 US9201708(B2) 申请公布日期 2015.12.01
申请号 US201313971035 申请日期 2013.08.20
申请人 Synopsys, Inc. 发明人 Janssen Jan M. J.;Grötker Thorsten H.;Schumacher Christoph;Petras Dietmar;Leupers Rainer
分类号 G06F9/52 主分类号 G06F9/52
代理机构 Fenwick & West LLP 代理人 Fenwick & West LLP
主权项 1. A computer implemented method for multi-threaded system level modeling simulation (SLMS) of a target system on a host system, the method comprising: beginning parallel execution of a plurality of SLMS processes via a plurality of threads, the SLMS processes representing functional behaviors of components within the target system that access a memory of the target system through an interconnect of the target system; during the parallel execution, detecting a request for direct memory interface (DMI) access to a region of the memory, wherein the DMI access is direct access to the region of the memory of the target system that bypasses the interconnect of the target system, the request for DMI access initiated by a requesting SLMS process of the SLMS processes; responsive to the request for DMI access, executing the requesting SLMS process in an exclusive execution mode that prevents the requesting SLMS process from executing in parallel with other SLMS processes of the SLMS processes; and granting the DMI access to the requesting SLMS process responsive to executing the requesting SLMS process in the exclusive execution mode.
地址 Mountain View CA US