Skip to content

Verilator coverage testing #178

@jbush001

Description

@jbush001

Collect coverage information at end of tests.

https://www.veripool.org/projects/verilator/wiki/Manual-verilator

  1. Pass --coverage option to verilator in makefile
  2. Modify c++ test harness to VerilatedCov::write into an output file. There will be one file per test, which should be collected somewhere (this probably needs to be done by test_harness.py)
  3. Run verilator_coverage executable, passing paths of all output files, which it will consolidate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions