fabianschuiki / llhd

Low Level Hardware Description — A foundation for building hardware design tools.
http://www.llhd.io
Apache License 2.0
396 stars 30 forks source link

Add execution trace test cases #111

Open fabianschuiki opened 4 years ago

fabianschuiki commented 4 years ago

Add test cases for the expected execution traces of various instructions, especially drv, wait, halt, and the various ways of obtaining sub-signals. These tests should act as source-of-truth for simulator implementations. All simulators must produce the respective trace for an LLHD input. Executing the traces will be left for each simulator repository -- LLHD will merely host the test case and expected output, together with a comparison script.