Packages

c

vexiiriscv.test

PeripheralEmulator

abstract class PeripheralEmulator extends AnyRef

This is used for simulations, it can be used to emulate a minmal sets of peripherals : - Terminal binded to stdin stdout - RISC-V CLINT - Simulation pass/fail commands

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PeripheralEmulator
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PeripheralEmulator(offset: Long, mei: Bool, sei: Bool, msi: Bool = null, mti: Bool = null, cd: ClockDomain = null)

Abstract Value Members

  1. abstract def getClintTime(): Long

Concrete Value Members

  1. val CLINT_BASE: Int
  2. val CLINT_CMP: Int
  3. val CLINT_CMPH: Int
  4. val CLINT_TIME: Int
  5. val CLINT_TIMEH: Int
  6. val FAILURE_ADDRESS: Int
  7. val GETC: Int
  8. val INCR_COUNTER: Int
  9. val IO_FAULT_ADDRESS: Int
  10. val MACHINE_EXTERNAL_INTERRUPT_CTRL: Int
  11. val PUTC: Int
  12. val PUT_DEC: Int
  13. val PUT_HEX: Int
  14. val RANDOM: Int
  15. val STATS_CAPTURE_ENABLE: Int
  16. val SUPERVISOR_EXTERNAL_INTERRUPT_CTRL: Int
  17. def access(write: Boolean, address: Long, data: Array[Byte]): Boolean
  18. def bind(bus: Bus, cd: ClockDomain): MonitorSubscriber { ... /* 2 definitions in type refinement */ }
  19. var cmp: Long
  20. def getc(data: Array[Byte]): Unit
  21. var getcQueue: Queue[Byte]
  22. def putc(c: Char): Unit
  23. val putcListeners: ArrayBuffer[(Char) ⇒ Unit]
  24. var withStdIn: Boolean