kenkendk / sme

Synchronous Message Exchange
MIT License
10 stars 3 forks source link

Create unittests for range-limited types #13

Open kenkendk opened 7 years ago

kenkendk commented 7 years ago

Add an example that uses UInt2, UInt3, .. and tests that they work correctly in the full range (i.e. overflow/undeflow them). The test should verify both the simulation and generated C++ and VHDL code.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/48160352-create-unittests-for-range-limited-types?utm_campaign=plugin&utm_content=tracker%2F36576838&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F36576838&utm_medium=issues&utm_source=github).