case class CircuitState(inputPorts: Map[String, Concrete], outputPorts: Map[String, Concrete], registers: Map[String, Concrete], memories: Map[String, Memory], validNames: HashSet[String]) extends Product with Serializable

Holds the state of the circuit at a particular time State is kept for input, output and registers

inputPorts

a map to current concrete value

outputPorts

a map to current concrete value

registers

a map to current concrete value

Source
CircuitState.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CircuitState
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CircuitState(inputPorts: Map[String, Concrete], outputPorts: Map[String, Concrete], registers: Map[String, Concrete], memories: Map[String, Memory], validNames: HashSet[String])

    inputPorts

    a map to current concrete value

    outputPorts

    a map to current concrete value

    registers

    a map to current concrete value

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. var clockHigh: Boolean
  6. def clone(): CircuitState

    Clone this circuitState.

    Clone this circuitState.

    returns

    a cloned version of this state

    Definition Classes
    CircuitState → AnyRef
    Note

    This does not yet clone memories. It merely copies them

  7. def cycle(): Unit

    prepare this cycle advance registers clear wire values cycle all memories

  8. def cycleMemories(): Unit
  9. def disableVCD(): Unit
  10. val ephemera: HashMap[String, Concrete]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. def getValue(key: String): Option[Concrete]
  15. val inputPorts: Map[String, Concrete]
  16. def isEphemera(key: String): Boolean
  17. def isInput(key: String): Boolean
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def isMemory(key: String): Boolean
  20. def isOutput(key: String): Boolean
  21. def isRegister(key: String): Boolean
  22. var isStale: Boolean
  23. def makeVCDLogger(dependencyGraph: DependencyGraph, circuitState: CircuitState, fileName: String = "out.firrtl_interpreter.vcd", showUnderscored: Boolean = false): Unit
  24. val memories: Map[String, Memory]
  25. var nameToConcreteValue: HashMap[String, Concrete]
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. val nextRegisters: HashMap[String, Concrete]
  28. final def notify(): Unit
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  30. val outputPorts: Map[String, Concrete]
  31. def prepareForDependencyResolution(): Unit

    in order to compute dependencies, ephemera must be clear and their associated values cleared

  32. def prettyString(dense: Boolean = true): String

    prints a human readable version of the state,

    prints a human readable version of the state,

    dense

    if true puts input, output and registers on one line each

  33. val registers: Map[String, Concrete]
  34. val rhsOutputs: HashSet[String]
  35. def setValue(key: String, concreteValue: Concrete, registerPoke: Boolean = false): Concrete
  36. var stateCounter: Int
  37. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  38. val validNames: HashSet[String]
  39. var vcdLoggerOption: Option[VCD]
  40. def vcdLowerClock(): Unit
  41. var vcdOutputFileName: String
  42. def vcdRaiseClock(): Unit
  43. def vcdWireChangedwire(key: String, concrete: Concrete): Unit
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. def writeVCD(): Unit

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped