- This event has passed.
Engineering best practices for Python-based testbenches with cocotb
November 10, 2022 @ 11:00 am - 12:00 pm PST
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!
- 45 min presentation/live demo
- 15 min Q&A
Presenter: Philipp Wagner, Co-maintainer of cocotb and Hardware/Software Engineer at lowRISC
Philipp Wagner is co-maintainer of cocotb and Hardware/Software Engineer at lowRISC in Cambridge, UK, where he is involved in OpenTitan, the first Open Source Root of Trust chip. For many years Philipp has been working on the intersection of digital hardware, software and open source. He is passionate about developer productivity, communities, and bridging the gap between hardware and software development methodologies. Philipp is Founding Director of the Free and Open Source Silicon Foundation, and has received a M.Sc. and PhD (Dr.-Ing.) degree in Electrical Engineering from Technical University Munich, Germany.