Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Good starter task is to implement and test $countbits, which is a generation of $countones etc.
The existing $countones functions inside V3Number could be removed to use the new generic countbits. The runtime functions in verilated.h should remain specialized, as that will help performance.
I'm currently working on implementation for this here: https://github.com/ynivin/verilator/tree/issue-1639