3 ms·
If the logic you are checking is tedious then using a different tool won’t necessarily help you. You still have to explain all the tedious details to that tool.
by mbrodersen 4y ago
If the logic you are checking is tedious then using a different tool won’t necessarily help you. You still have to explain all the tedious details to that tool. Perhaps making your own abstractions in Python might work better. If you have a lot of “this bit needs to match that bit in this register” then add a function that takes just the bit/register numbers and automatically does the rest. Then you have in a sense created your own DSL within Python. Learning a new complex tool like Z3 will most likely take longer than just doing it in Python. However it might be fun to learn Z3 of course.
- mzl 4y agoAs understood it, finding a solution that satisfies all the constraints is not trivial, and for that external libraries are the right kind of tool.