object RawTester
This is a simple tester that does not require that it be within the scope of a scalatest in order to run. This form is suitable for running in the Jupyter notebook.
- Alphabetic
- By Inheritance
- RawTester
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def test[T <: Module](dutGen: => T, annotationSeq: AnnotationSeq = Seq.empty)(testFn: (T) => Unit): TestResult
Run one test General use looks like
Run one test General use looks like
test(new PlusOne) { c => // body of the unit test, c is a a reference c.io.input.poke(1.U) c.io.output.expect(2.U) }
- T
The type of device, derived from dutGen
- dutGen
The generator of the device under tests
- testFn
The block of code that implements the test
- Note
every test should use a different name, it, suitably sanitized, is used as the subdirectory in the test_run_dir directory
- def toString(): String
- Definition Classes
- AnyRef → Any
- def verify[T <: Module](dutGen: => T, annos: AnnotationSeq, testName: String = ""): Unit
Run a formal check.
Run a formal check. General use looks like
import chiseltest.formal._ verify(new FailAfterModule(2), Seq(BoundedCheck(kMax = 2)), "FailAfterModule Test")
- T
The type of device, derived from dutGen
- dutGen
The generator of the device under tests
- annos
Annotations including the verification command to be executed.
- testName
Optional test name that will be converted into a test directory name.
- Note
every test should use a different name, it, suitably sanitized, is used as the subdirectory in the test_run_dir directory
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated