|
sEMU
|
状态代理 (Proxy Pattern) 更多...
#include <wrapper.hpp>

Public 成员函数 | |
| CoreCommitState (const Core *core) noexcept | |
| bool | is_commit_valid () const noexcept |
| uint32_t | get_commit_pc () const noexcept |
| uint32_t | get_commit_wdata () const noexcept |
| uint8_t | get_commit_rd () const noexcept |
| bool | is_commit_wen () const noexcept |
| uint32_t | get_reg_by_name (const std::string &name) const noexcept |
| const Core * | get_core () const noexcept |
Private 属性 | |
| const Core * | core_ |
状态代理 (Proxy Pattern)
将 Core 的公开状态查询功能进行封装。 使用 const 方法和 inline 修饰,零开销 (Zero-cost) 提供寄存器、PC 以及核心仿真状态的只读获取。
|
inlineexplicitnoexcept |
|
inlinenodiscardnoexcept |

|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |

|
inlinenodiscardnoexcept |

|
inlinenodiscardnoexcept |

|
inlinenodiscardnoexcept |
|
private |