trait BackendInterface extends AnyRef
Common interface definition for tester backends. Internal API.
- Alphabetic
- By Inheritance
- BackendInterface
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract def doFork(runnable: () ⇒ Unit, name: Option[String], region: Option[Region]): AbstractTesterThread
- abstract def doJoin(threads: Seq[AbstractTesterThread], stepAfter: Option[Clock]): Unit
- abstract def doTimescope(contents: () ⇒ Unit): Unit
- abstract def expectBits(signal: Data, value: BigInt, message: Option[String], stale: Boolean): Unit
-
abstract
def
getSinkClocks(signal: Data): Set[Clock]
Returns set of clocks associated with sinks of the signal
-
abstract
def
getSourceClocks(signal: Data): Set[Clock]
Returns set of clocks associated with sources of the signal
-
abstract
def
peekBits(signal: Data, stale: Boolean): BigInt
Returns the current value on a wire.
Returns the current value on a wire. If stale is true, returns the current combinational value (after previous pokes have taken effect). If stale is false, returns the value at the beginning of the current cycle.
-
abstract
def
peekClock(signal: Clock): Boolean
Read the value of a clock.
-
abstract
def
pokeBits(signal: Data, value: BigInt): Unit
Writes a value to a writable wire.
Writes a value to a writable wire. Throws an exception if write is not writable.
-
abstract
def
pokeClock(signal: Clock, value: Boolean): Unit
Writes a value to a clock.
-
abstract
def
setTimeout(signal: Clock, cycles: Int): Unit
Sets the timeout of the clock: the number of cycles the clock can advance without some non-nop poke operation.
Sets the timeout of the clock: the number of cycles the clock can advance without some non-nop poke operation. Setting cycles=0 disables the timeout. Setting cycles=1 means every cycle must have some non-nop poke operation. Resets the idle counter associated with the specified clock.
-
abstract
def
step(signal: Clock, cycles: Int): Unit
Advances the target clock by one cycle.
Concrete 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
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getParentTraceElements: Seq[StackTraceElement]
Returns the stack trace elements of parent threads.
Returns the stack trace elements of parent threads. If currently in the root thread, returns empty. TODO: refactor this, figure out how to do this in a structurally cleaner way
-
def
getVar(key: Any): Option[Any]
Returns the value associated with the key in a per-test map.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
setVar(key: Any, value: Any): Unit
Sets the value associated with a key in a per-test map.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
testMap: HashMap[Any, Any]
- Attributes
- protected
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.