Skip to content
/ cbench Public

A verilator testbench framework.

License

Apache-2.0 and 2 other licenses found

Licenses found

Apache-2.0
LICENSE.APACHE
MIT
LICENSE.MIT
Unknown
LICENSE.OHL-P
Notifications You must be signed in to change notification settings

memchk/cbench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

CBench Verilator Framework

This is a header-only library for C++ to assist creating testbenches for the Verilator simulation framework. It assists in creating reliable multi-clock simulations while wrapping some of Verilator's more annoying parts.

This is alpha quality software, I attempt to keep it bug free however expect API changes and redesigns as they are not final. Pull requests, issues, and suggestions are welcome.

TODO

  • Create better documentation
  • Implement more generic and performant scheduling algorithim.
  • Simplify and rebuild API to be more consistant.
  • Package for Bazel, CMake, and Conan.

Thanks

This code takes heavy inspiration from Dr. Dan Gisselquist and his wonderful blog, specifically his posts on multi-clock simulation. I suggest anyone looking at this take a look at his posts on FPGA and digital design, they are a fantastic resource for anyone in the field.

License

Licensed under any of

at your option.

Releases

No releases published

Packages

No packages published