chisel-testers icon indicating copy to clipboard operation
chisel-testers copied to clipboard

Support for FST traces in verilator backend

Open kammoh opened this issue 5 years ago • 2 comments

Introducing the ability to use FST format as the output format of Verilator trace dump, instead of the VCD format. FST is a more efficient trace format introduced by the gtkwave project. A boolean option named verilatorFstTrace is currently added to TesterOptions, but can be eventually ported into chisel-testers2 with an appropriate Annotation.

kammoh avatar Jun 24 '19 21:06 kammoh

@ekiwi I know you have some interest in .fst format, or is your use case just for treadle

chick avatar Jun 24 '19 22:06 chick

Thanks for adding me @chick. This looks like a great pull request (once the formatting issues are addressed).

Do you know if the verilator version is available in the backend? As far as I remember the fst support was only added in verilator 4.0, thus it might be good to catch any versions below that and fail with a useful error message to the user, telling them to update their verilator version if they need fst output.

ekiwi avatar Jun 25 '19 06:06 ekiwi