mortbopet / VSRTL

Visual Simulation of Register Transfer Logic
MIT License
90 stars 18 forks source link

Create "restart" unit test #28

Open mortbopet opened 5 years ago

mortbopet commented 5 years ago

A unit test for testing the "restart" feature of a vsrtl::Design should be added. The unit test should verify that the circuit is set to its initial state after restarting, and that it is not possible to "undo-clock" the circuit. The test should verify that the circuit, once clocked after a restart, shows expected values.