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
When optimizing a model, it is useful not just to know how many vars of different sizes there are, but what those vars are. Large ones are candidates for splitting up.
The following patch adds a new flag @--extra-stats@ (which implies @--stats@), which will extend the vars section of the stats output to print the name of each variable of each size.
Please review and pull the patch from branch extra-stats at https://github.com/jeremybennett/verilator. This includes the patch of issue 849, since I needed this to get the system to compile.
Original Redmine Comment
I'd prefer to either call this -stats-vars, or --statsi 2 which is like the debugi and dump-treei options. It sort of depends how many similar features may get added here. Which do you prefer?