acceptancetests

package
v1.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2021 License: MIT Imports: 6 Imported by: 6

Documentation

Overview

Package acceptancetests provides utility data structure definitions for writing memory system acceptance tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToUint32

func BytesToUint32(data []byte) uint32

func Uint32ToBytes

func Uint32ToBytes(data uint32) []byte

Types

type MemAccessAgent

type MemAccessAgent struct {
	*akita.TickingComponent

	LowModule  akita.Port
	MaxAddress uint64

	WriteLeft       int
	ReadLeft        int
	KnownMemValue   map[uint64][]uint32
	PendingReadReq  map[string]*mem.ReadReq
	PendingWriteReq map[string]*mem.WriteReq

	ToMem akita.Port
}

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) Tick added in v1.6.3

func (a *MemAccessAgent) Tick(now akita.VTimeInSec) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL