Writing code is easy. Reading code is hard. Maintaining code is hard. Writing "good" code is hard. So what's "good code"? Don't despair: the software engineering community has come up with tons of practical solutions! Now it's time to apply them to your next Python verification project with cocotb.
In this talk, we'll look at best practices when writing cocotb test benches. Coding style, reviews, continuous integration, test, and code structure will all be discussed and applied to working with cocotb.
A well-written cocotb test bench is sustainable: it will stay with you for many projects. This is your opportunity to learn how to get there.
- A cocotb refresher
- Python coding best practices: structure, style, and more
- How to modernize a cocotb codebase
- Q&A : bring your questions!