case class CircuitState(inputPorts: Map[String, Concrete], outputPorts: Map[String, Concrete], registers: Map[String, Concrete], memories: Map[String, Memory], validNames: HashSet[String], monitorManagerOpt: Option[MonitorManager] = None) 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], monitorManagerOpt: Option[MonitorManager] = None)

    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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  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. val monitorManagerOpt: Option[MonitorManager]
  26. var nameToConcreteValue: HashMap[String, Concrete]
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. val nextRegisters: HashMap[String, Concrete]
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. val outputPorts: Map[String, Concrete]
  32. def prepareForDependencyResolution(): Unit

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

  33. 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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped