Parse your value change dumps

2024/10/26

From: https://github.com/filmil/go-vcd-parser

Value Change Dump (VCD) File parser

Test status

This is a parser for the Value Change Dump files, a.k.a VCD file format. The file format is defined in the IEEE Standard 1800-2003. Specifically, the format supported at the moment is the 4-value format. Some pragmatic extensions are supported, such as those produced by the nvc VHDL simulator.

The correct behavior of the parser is guarded by a suite of tests. Tests include:

Why?

Prerequisites

Test

From the root directory, run:

bazel test //...

This should always pass. Report a bug if not.

If you have go installed, you can also run:

go test ./...

While this should pass, I will not necessarily spend time to make it work with the go toolkit.

Limitations

Troubleshooting

If you find a problem VCD file, file a bug report and consider sending the file. Minimal examples are preferred.

References

Prior art: