Hazard3/test/sim/bitmanip-random
Luke Wren 6f1a10724b Add bitmanip test vector generation script 2021-11-26 23:34:06 +00:00
..
.gitignore Add bitmanip test vector generation script 2021-11-26 23:34:06 +00:00
Readme.md Add bitmanip test vector generation script 2021-11-26 23:34:06 +00:00
vector-gen Add bitmanip test vector generation script 2021-11-26 23:34:06 +00:00

Readme.md

Random Bitmanip Test Vectors

At time of writing there are no upstream compliance tests for the new bitmanip extensions.

So, generate some constrained-random input vectors, and run them against the reference simulator to get golden output vectors. Not perfect, but enough to give me some confidence in my implementation until the official tests come out.

People on the mailing lists seem to defer to spike over the pseudocode in the spec anyway, so that is probably a better verification target than trying to write my own vectors based on my own interpretation of the spec.