All releases are available from the GitHub Releases Page.
Released on 24 July 2019
Support for async functions and generators was added (Python 3 only). Please have a look at Async functions for an example how to use this new feature.
VHDL block statements can be traversed. (#850)
Support for Python 3.7 was added.
Notable changes and bug fixes¶
The heart of cocotb, its scheduler, is now even more robust. Many small bugs, inconsistencies and unreliable behavior have been ironed out.
Exceptions are now correctly propagated between coroutines, giving users the “natural” behavior they’d expect with exceptions. (#633)
setimmediatevalue()function now works for values larger than 32 bit. (#768)
The documentation was cleaned up, improved and extended in various places, making it more consistent and complete.
Tab completion in newer versions of IPython is fixed. (#825)
Python 2.6 is officially not supported any more. cocotb supports Python 2.7 and Python 3.5+.
The cocotb GitHub project moved from
cocotb/cocotb. Redirects for old URLs are in place.
Depending on your simulation, cocotb 1.2 might be roughly 20 percent slower than cocotb 1.1. Much of the work in this release cycle went into fixing correctness bugs in the scheduler, sometimes at the cost of performance. We are continuing to investigate this in issue #961. Independent of the cocotb version, we recommend using the latest Python 3 version, which is shown to be significantly faster than previous Python 3 versions, and slightly faster than Python 2.7.
Please have a look at the issue tracker for more outstanding issues and contribution opportunities.
Released on 24 Jan 2019.
This release is the result of four years of work with too many bug fixes, improvements and refactorings to name them all. Please have a look at the release announcement on the mailing list for further information.
Released on 15 Feb 2015.
FLI support for Modelsim
Mixed Language, Verilog and VHDL
300% performance improvement with VHPI interface
Wavedrom support for wave diagrams.
Released on 25 Feb 2014.
Issue #101: Implement Lock primitive to support mutex
Issue #105: Compatibility with Aldec Riviera-Pro
Issue #109: Combine multiple results.xml into a single results file
Issue #111: XGMII drivers and monitors added
Issue #113: Add operators to BinaryValue class
Issue #116: Native VHDL support by implementing VHPI layer
Issue #117: Added AXI4-Lite Master BFM
Released on 27 Sep 2013.
This contains a raft of fixes and feature enhancements.
Released on 19 Jul 2013.
Release 0.2 supports more simulators and increases robustness over 0.1.
A centralised installation is now supported (see documentation) with supporting libraries build when the simulation is run for the first time.
Released on 9 Jul 2013.
The first release of cocotb.
Allows installation and running against Icarus, VCS, Aldec simulators.