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
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- CircuitState
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- var clockHigh: Boolean
- 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
- def cycle(): Unit
prepare this cycle advance registers clear wire values cycle all memories
- def cycleMemories(): Unit
- def disableVCD(): Unit
- val ephemera: HashMap[String, Concrete]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getValue(key: String): Option[Concrete]
- val inputPorts: Map[String, Concrete]
- def isEphemera(key: String): Boolean
- def isInput(key: String): Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isMemory(key: String): Boolean
- def isOutput(key: String): Boolean
- def isRegister(key: String): Boolean
- var isStale: Boolean
- def makeVCDLogger(dependencyGraph: DependencyGraph, circuitState: CircuitState, fileName: String = "out.firrtl_interpreter.vcd", showUnderscored: Boolean = false): Unit
- val memories: Map[String, Memory]
- val monitorManagerOpt: Option[MonitorManager]
- var nameToConcreteValue: HashMap[String, Concrete]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nextRegisters: HashMap[String, Concrete]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val outputPorts: Map[String, Concrete]
- def prepareForDependencyResolution(): Unit
in order to compute dependencies, ephemera must be clear and their associated values cleared
- 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
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val registers: Map[String, Concrete]
- val rhsOutputs: HashSet[String]
- def setValue(key: String, concreteValue: Concrete, registerPoke: Boolean = false): Concrete
- var stateCounter: Int
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val validNames: HashSet[String]
- var vcdLoggerOption: Option[VCD]
- def vcdLowerClock(): Unit
- var vcdOutputFileName: String
- def vcdRaiseClock(): Unit
- def vcdWireChangedwire(key: String, concrete: Concrete): Unit
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def writeVCD(): Unit
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated