The invention discloses a
software and hardware co-
simulation field
recovery method and device, equipment and a medium. Comprising the steps of defining a recording starting point and a storage time point of a
simulation site; from the recording starting point to the storage time point, capturing transaction flow and causal
metadata from the hardware
simulation environment of the simulation site to the
software test platform, and meanwhile, storing a state snapshot of the verified design in the hardware simulation environment; and when a
recovery instruction is received, performing simulation field
recovery based on the transaction flow, the causal
metadata and the state snapshot. By defining the
time range of data capture, a clear boundary is delimited for subsequent data storage, and pertinence and integrity of
data records are ensured. A basis is provided for semantic reconstruction of a
software test platform by capturing a transaction flow and causal
metadata, a state snapshot ensures that the verified design hardware state can be accurately restored, and complete storage of recovery data on the two sides of software and hardware is achieved. And the
system does not need to be restarted from the starting point during recovery, so that a redundancy initialization process is avoided, and the simulation debugging efficiency is improved.