Class SyncLockStruct
Structure for Lock and Unlock synchronization.
#include <cmd_handler.h>
Public Functions
| Type | Name |
|---|---|
| InterChiplet::SyncCommand | getLastCmd (int __uid) |
| bool | hasLastCmd (int __uid) |
| bool | hasLockCmd (int __uid) |
| bool | hasLockCmd (int __uid, const InterChiplet::AddrType & __src) |
| void | insertLockCmd (int __uid, const InterChiplet::SyncCommand & __cmd) |
| bool | isLocked (int __uid) |
| void | lock (int __uid, const InterChiplet::SyncCommand & __cmd) |
| InterChiplet::SyncCommand | popLockCmd (int __uid) |
| InterChiplet::SyncCommand | popLockCmd (int __uid, const InterChiplet::AddrType & __src) |
| void | unlock (int __uid, const InterChiplet::SyncCommand & __cmd) |
Public Functions Documentation
function getLastCmd
inline InterChiplet::SyncCommand SyncLockStruct::getLastCmd (
int __uid
)
function hasLastCmd
inline bool SyncLockStruct::hasLastCmd (
int __uid
)
function hasLockCmd [1/2]
inline bool SyncLockStruct::hasLockCmd (
int __uid
)
function hasLockCmd [2/2]
inline bool SyncLockStruct::hasLockCmd (
int __uid,
const InterChiplet::AddrType & __src
)
function insertLockCmd
inline void SyncLockStruct::insertLockCmd (
int __uid,
const InterChiplet::SyncCommand & __cmd
)
function isLocked
inline bool SyncLockStruct::isLocked (
int __uid
)
function lock
inline void SyncLockStruct::lock (
int __uid,
const InterChiplet::SyncCommand & __cmd
)
function popLockCmd [1/2]
inline InterChiplet::SyncCommand SyncLockStruct::popLockCmd (
int __uid
)
function popLockCmd [2/2]
inline InterChiplet::SyncCommand SyncLockStruct::popLockCmd (
int __uid,
const InterChiplet::AddrType & __src
)
function unlock
inline void SyncLockStruct::unlock (
int __uid,
const InterChiplet::SyncCommand & __cmd
)
The documentation for this class was generated from the following file /data_sda/junwan02/legosim/Chiplet_Heterogeneous_newVersion/interchiplet/includes/cmd_handler.h