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, Product, Equals, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CircuitState
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def getValue(key: String): Option[Concrete]
  14. val inputPorts: Map[String, Concrete]
  15. def isEphemera(key: String): Boolean
  16. def isInput(key: String): Boolean
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isMemory(key: String): Boolean
  19. def isOutput(key: String): Boolean
  20. def isRegister(key: String): Boolean
  21. var isStale: Boolean
  22. def makeVCDLogger(dependencyGraph: DependencyGraph, circuitState: CircuitState, fileName: String = "out.firrtl_interpreter.vcd", showUnderscored: Boolean = false): Unit
  23. val memories: Map[String, Memory]
  24. val monitorManagerOpt: Option[MonitorManager]
  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
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  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. def productElementNames: Iterator[String]
    Definition Classes
    Product
  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(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. def writeVCD(): Unit

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped