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) }
The type of device, derived from dutGen
The generator of the device under tests
The block of code that implements the test
every test should use a different name, it, suitably sanitized, is used as the subdirectory in the test_run_dir directory
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.