Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToUint32 ¶
func Uint32ToBytes ¶
Types ¶
type MemAccessAgent ¶
type MemAccessAgent struct { *akita.ComponentBase *akita.Ticker LowModule akita.Port Freq akita.Freq MaxAddress uint64 WriteLeft int ReadLeft int KnownMemValue map[uint64][]uint32 PendingReadReq map[string]*mem.ReadReq PendingWriteReq map[string]*mem.WriteReq ToMem akita.Port // contains filtered or unexported fields }
A MemAccessAgent is a Component that can help testing the cache and the the memory controllers by generating a large number of read and write requests.
func NewMemAccessAgent ¶
func NewMemAccessAgent(engine akita.Engine) *MemAccessAgent
func (*MemAccessAgent) Handle ¶
func (a *MemAccessAgent) Handle(e akita.Event) error
Handle defines how the MemAccessAgent handles events.
func (*MemAccessAgent) NotifyPortFree ¶
func (a *MemAccessAgent) NotifyPortFree(now akita.VTimeInSec, port akita.Port)
NotifyPortFree of the MemAccessAgent does nothing
func (*MemAccessAgent) NotifyRecv ¶
func (a *MemAccessAgent) NotifyRecv(now akita.VTimeInSec, port akita.Port)
NotifyRecv of the MemAccessAgent retrieves the request from the port.
Click to show internal directories.
Click to hide internal directories.