chisel3.experimental.inlinetest

Members list

Type members

Classlikes

Attributes

Source
InlineTest.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait HasTests

Provides methods to build unit testharnesses inline after this module is elaborated.

Provides methods to build unit testharnesses inline after this module is elaborated.

Attributes

Source
InlineTest.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object SimulatedTest

Attributes

Source
InlineTest.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object TestChoice

Attributes

Source
InlineTest.scala
Supertypes
class Object
trait Matchable
class Any
Self type
TestChoice.type
final class TestConfiguration

Attributes

Companion
object
Source
InlineTest.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Source
InlineTest.scala
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class TestHarness[M <: RawModule](test: TestParameters[M]) extends SimulationTestHarness

TestHarnesses for inline tests should extend this. This abstract class sets the correct desiredName for the module, instantiates the DUT, and provides methods to generate the test. The resetType matches that of the DUT, or is Synchronous if it must be inferred.

TestHarnesses for inline tests should extend this. This abstract class sets the correct desiredName for the module, instantiates the DUT, and provides methods to generate the test. The resetType matches that of the DUT, or is Synchronous if it must be inferred.

Type parameters

M

the type of the DUT module

Attributes

Source
InlineTest.scala
Supertypes
trait Public
class FixedIORawModule[SimulationTestHarnessIO]
trait FixedIOBaseModule[SimulationTestHarnessIO]
class RawModule
class BaseModule
trait Selectable
trait Selectable
trait InstanceId
class Object
trait Matchable
class Any
Show all

An implementation of a testharness generator. This is a type class that defines how to generate a testharness. It is passed to each invocation of HasTests.test.

An implementation of a testharness generator. This is a type class that defines how to generate a testharness. It is passed to each invocation of HasTests.test.

Type parameters

M

the type of the DUT module

Attributes

Companion
object
Source
InlineTest.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Source
InlineTest.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final class TestParameters[M <: RawModule]

Per-test parametrization needed to build a testharness that instantiates the DUT and elaborates a test body.

Per-test parametrization needed to build a testharness that instantiates the DUT and elaborates a test body.

Type parameters

M

the type of the DUT module

Attributes

Source
InlineTest.scala
Supertypes
class Object
trait Matchable
class Any
object TestResult

Attributes

Source
InlineTest.scala
Supertypes
class Object
trait Matchable
class Any
Self type
TestResult.type

Deprecated classlikes

Attributes

Deprecated
[Since version Chisel 7.8.0] use chisel3.SimulationTestHarnessInterface instead
Source
InlineTest.scala
Supertypes
class Object
trait Matchable
class Any