发明名称 Guarded Memory 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.
申请公布号 US2015058586(A1) 申请公布日期 2015.02.26
申请号 US201313971041 申请日期 2013.08.20
申请人 Synopsys, Inc. 发明人 Janssen Jan M.J.;Grötker Thorsten H.;Schumacher Christoph;Leupers Rainer
分类号 G06F12/14 主分类号 G06F12/14
代理机构 代理人
主权项 1. A computer implemented method for multi-threaded system level modeling simulation (SLMS) of a target system on a host system, the target system having components that access a memory of the target system, the method comprising: setting a region of the memory into guarded mode based on operations in a plurality of SLMS processes, the SLMS processes representing functional behaviors of the components of the target system; during parallel execution of the SLMS processes via a plurality of threads, identifying an access to the region of the memory by a SLMS process of the SLMS processes; and responsive to the access to the region of the memory and the region of the memory being in the guarded mode, acquiring a guard lock for the region of the memory that allows the SLMS process to access the region of the memory while preventing other SLMS processes of the SLMS processes from accessing the region of the memory.
地址 Mountain View CA US