theory
All posts in Category “Theory”:
*.vcd files
For a project we needed to use cocotb, a python based testbench for designs under test that can be executed with one of their supported simulators. So it was decided that it is probably a good idea to have our refrence implementation, or golden model, of our application in python as well, to be able to have a seamlessly debug interaction.
The trouble with the floats
Floating point variables are weird.
- Their representation is not intuitve.
- You need to take special care if you want to compare them.
- Their exactness reduces with every step away from 0.
- Most of the time we use them although, we actually do not need them.