verilator / verilator

Verilator open-source SystemVerilog simulator and lint system
https://verilator.org
GNU Lesser General Public License v3.0
2.45k stars 582 forks source link

Benchmarks for Verilator? #4069

Closed burntfalafel closed 1 year ago

burntfalafel commented 1 year ago

Hi! Are there any reliable benchmarks I could use in Verilator for a research paper?

I have tried VTR datasets and EPFL ones but for both the verilog is in a netlist format / a format not supported by Verilator readily.

Thanks!

wsnyder commented 1 year ago

See the Swerv cores that are part of https://github.com/verilator/verilator_ext_tests

gezalore commented 1 year ago

You can also consider lowrisc/OpenTitan, or OpenXiangShan/XiangShan which are the two I often use

wsnyder commented 1 year ago

As bonus credit, consider submitting a pull to add OpenTitan and/or XiangShan to the verilator_ext_tests.

wsnyder commented 1 year ago

Also note the test_driver script has a --benchmark option to print the times used by each step.

burntfalafel commented 1 year ago

As bonus credit, consider submitting a pull to add OpenTitan and/or XiangShan to the verilator_ext_tests.

I will have a look at them, thank you! But please go ahead with the PR for this as I cannot take the credit for your contribution :)