class DataStore extends HasDataArrays
Creates a data store for the three underlying data types. The numberOfBuffers is used to control the ability to rollback execution. The meaning of the values of each slot must be maintained outside of this class. This class only supports (2 ** 31) - 1 of any ints, longs or bigs.
- Source
- DataStore.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- DataStore
- HasDataArrays
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
DataStore(numberOfBuffers: Int, dataStoreAllocator: DataStoreAllocator)
- numberOfBuffers
Number of buffers
Type Members
- case class AssignBig(symbol: Symbol, expression: FuncBig, info: Info) extends Assigner with Product with Serializable
- case class AssignBigIndirect(symbol: Symbol, memorySymbol: Symbol, getMemoryIndex: FuncInt, enable: FuncInt, expression: FuncBig, info: Info) extends Assigner with Product with Serializable
- case class AssignInt(symbol: Symbol, expression: FuncInt, info: Info) extends Assigner with Product with Serializable
- case class AssignIntIndirect(symbol: Symbol, memorySymbol: Symbol, getMemoryIndex: FuncInt, enable: FuncInt, expression: FuncInt, info: Info) extends Assigner with Product with Serializable
- case class AssignLong(symbol: Symbol, expression: FuncLong, info: Info) extends Assigner with Product with Serializable
- case class AssignLongIndirect(symbol: Symbol, memorySymbol: Symbol, getMemoryIndex: FuncInt, enable: FuncInt, expression: FuncLong, info: Info) extends Assigner with Product with Serializable
- case class BlackBoxShim(unexpandedName: String, outputName: Symbol, inputs: Seq[Symbol], implementation: ScalaBlackBox) extends BigExpressionResult with Product with Serializable
- case class ExternalModuleInputAssigner(symbol: Symbol, portName: String, blackBox: ScalaBlackBox, underlyingAssigner: Assigner) extends Assigner with Product with Serializable
- case class GetBig(index: Int) extends BigExpressionResult with Product with Serializable
- case class GetBigIndirect(memorySymbol: Symbol, getMemoryIndex: FuncInt, enable: FuncInt) extends BigExpressionResult with Product with Serializable
- case class GetInt(index: Int) extends IntExpressionResult with Product with Serializable
-
case class
GetIntIndirect(memorySymbol: Symbol, getMemoryIndex: FuncInt, enable: FuncInt) extends IntExpressionResult with Product with Serializable
for memory implementations
- case class GetLong(index: Int) extends LongExpressionResult with Product with Serializable
- case class GetLongIndirect(memorySymbol: Symbol, getMemoryIndex: FuncInt, enable: FuncInt) extends LongExpressionResult with Product with Serializable
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
- val activePlugins: ArrayBuffer[DataStorePlugin]
- def addPlugin(name: String, plugin: DataStorePlugin, enable: Boolean): Unit
- def apply(symbol: Symbol, offset: Int): Big
- def apply(symbol: Symbol): Big
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
bigData: Array[Big]
- Definition Classes
- DataStore → HasDataArrays
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def deserialize(jsonString: String): Unit
- def disablePlugin(name: String): Unit
- def enablePlugin(name: String): Unit
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- var executionEngineOption: Option[ExecutionEngine]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getRegisterLastValueIndex(symbol: Symbol): Int
-
def
getValueAtIndex(dataSize: DataSize, index: Int): BigInt
- Definition Classes
- HasDataArrays
- def getWaveformValues(symbols: Array[Symbol], startCycle: Int = 0, endCycle: Int = -1): WaveformValues
- def hasEnabledPlugins: Boolean
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
intData: Array[Int]
- Definition Classes
- DataStore → HasDataArrays
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- var leanMode: Boolean
-
val
longData: Array[Long]
- Definition Classes
- DataStore → HasDataArrays
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def numberOfBigs: Int
- val numberOfBuffers: Int
- def numberOfInts: Int
- def numberOfLongs: Int
- val plugins: HashMap[String, DataStorePlugin]
- def removePlugin(name: String): Unit
- def renderAssignment(symbol: Symbol): Unit
- val rollBackBufferManager: RollBackBufferManager
- def runPlugins(symbol: Symbol, offset: Int = -1, previousValue: BigInt): Unit
- def saveData(time: Long): Unit
- def serialize: String
- def setAssignmentDisplayModes(): Unit
- def setExecutionEngine(executionEngine: ExecutionEngine): Unit
-
def
setValueAtIndex(dataSize: DataSize, index: Int, value: Big): Unit
- Definition Classes
- HasDataArrays
- def showAssignment(symbol: Symbol): Unit
- def showIndirectAssignment(symbol: Symbol, value: BigInt, index: Int): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def update(symbol: Symbol, offset: Int, value: Big): Unit
- def update(symbol: Symbol, value: Big): Unit
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val watchList: HashSet[Symbol]
Deprecated Value Members
-
def
saveData(clockName: String, time: Long): Unit
- Annotations
- @deprecated
- Deprecated
(Since version since 1.0) Use saveData(time: Long), clock based rollback buffers are no longer supported