PeekPokable
chisel3.simulator.PeekPokable
trait PeekPokable[T <: Data] extends Peekable[T], Pokable[T], AnyTestableData[T]
Attributes
- Source
- PeekPokeAPI.scala
- Graph
-
- Supertypes
-
trait AnyTestableData[T]trait Pokable[T]trait Peekable[T]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class TestableData[T]trait TestableAggregate[T]class TestableRecord[T]class TestableVec[T]trait TestableElement[T]class TestableBoolclass TestableEnum[T]class TestableResetclass TestableSIntclass TestableUIntShow all
Members list
Value members
Inherited methods
Expect the value of a data port to be equal to the expected value.
Expect the value of a data port to be equal to the expected value.
Value parameters
- expected
-
the expected value
Attributes
- Throws
-
FailedExpectationException
if the observed value does not match the expected value
- Inherited from:
- Peekable
- Source
- PeekPokeAPI.scala
Attributes
- Inherited from:
- AnyTestableData
- Source
- PeekPokeAPI.scala
Attributes
- Inherited from:
- AnyTestableData
- Source
- PeekPokeAPI.scala
Inherited and Abstract methods
Attributes
- Inherited from:
- AnyTestableData
- Source
- PeekPokeAPI.scala
Expect the value of a data port to be equal to the expected value.
Expect the value of a data port to be equal to the expected value.
Value parameters
- expected
-
the expected value
- message
-
a message for the failure case
Attributes
- Throws
-
FailedExpectationException
if the observed value does not match the expected value
- Inherited from:
- Peekable
- Source
- PeekPokeAPI.scala
Get the value of a data port as a literal.
Get the value of a data port as a literal.
Attributes
- Returns
-
the value of the peeked data
- Inherited from:
- Peekable
- Source
- PeekPokeAPI.scala
Sets the value of a data port.
Sets the value of a data port.
Value parameters
- literal
-
the value to set, which must be a literal
Attributes
- Inherited from:
- Pokable
- Source
- PeekPokeAPI.scala
In this article