Development version
This book follows the main branch and can describe features that are not in a release yet. The book for the latest release, v0.1.2, is here.
Tests
You will write simulation tests beyond the basics: loops, let bindings, loading memory from a hex file, and tests for designs with several clocks. You will also see how contracts run as monitors in every test.
This chapter is planned. It will be written after feedback on the Tour and the counter chapter. Until then, these show the same topic:
- A counter and Tests and waveforms:
testblocks,step()and asserts- Two clocks and CDC: a test of a design with two clocks
- ADR-0033: test blocks
- ADR-0058: the extended test language
- ADR-0064: contracts in simulation
- examples/riscv_core_test.volt