Averest


AbcParamsType Type

AbcParams holds the parameters of a computer system with an Abacus processor, which are the following:

  • DataWidth is the bitwidth of registers, i.e., machine words
  • BlockSize is the number of bytes in a cache block
  • SetAssoc is the number of blocks in a set of the cache
  • CacheSize is the size of the data cache in bytes
  • MemSize is the size of physical main memory in bytes
  • PipeFetch : pipeline stage where next program counter is set
  • PipeDecode : pipeline stage where operand registers are read
  • PipeExecute : pipeline stage where ALU results are produced
  • PipeMemAcs : pipeline stage where Load results are produced
  • PipeRegWrite : pipeline stage where registers are written
  • RegBypass : whether registers reads yield current writes
  • Forwarding : to use forwarding from PipeExecute and PipeMemAcs
  • BranchInDecode : immediately write new PC in PipeDecode for Branches
  • SingleCycle : whether everything is done in one stage
See function CheckParameters for consistent values of these parameters.

Record fields

Record Field Description

BlockSize

Full Usage: BlockSize

Field type: int

Field type: int

BranchInDecode

Full Usage: BranchInDecode

Field type: bool

Field type: bool

CacheSize

Full Usage: CacheSize

Field type: int

Field type: int

DataWidth

Full Usage: DataWidth

Field type: int

Field type: int

Forwarding

Full Usage: Forwarding

Field type: bool

Field type: bool

MemSize

Full Usage: MemSize

Field type: int

Field type: int

PipeDecode

Full Usage: PipeDecode

Field type: int

Field type: int

PipeExecute

Full Usage: PipeExecute

Field type: int

Field type: int

PipeFetch

Full Usage: PipeFetch

Field type: int

Field type: int

PipeMemAcs

Full Usage: PipeMemAcs

Field type: int

Field type: int

PipeRegWrite

Full Usage: PipeRegWrite

Field type: int

Field type: int

RegBypass

Full Usage: RegBypass

Field type: bool

Field type: bool

SetAssoc

Full Usage: SetAssoc

Field type: int

Field type: int

SingleCycle

Full Usage: SingleCycle

Field type: bool

Field type: bool