#vcd #json #cli #json-file #command-line

app vcdump

Simple tool to convert vcd files to json files so that you can use all your favorite command line tools to view the output of your vcd files

3 releases

0.1.2 Sep 29, 2020
0.1.1 Apr 8, 2020
0.1.0 Apr 8, 2020

#4 in #vcd

MIT license

13KB
347 lines

Vcdump latest

A simple tool to convert vcd Value Change Dump files into json files. The motivation for this is to allow vcd files to be better integrated into normal Unix command line workflows.

Install

You can install this tool with a simple cargo install vcdump.

Usage

vcdump accepts a file as an argument or via stdin.

  • cat test.vcd | vcdump
  • vcdump test.vcd

This produces a json file on stdout. You can then write this to a file, or use something like jq to explore the json file.

  • vcdump test.vcd | jq '.TOP.main.a0.out'

Dependencies

~2.9–4MB
~69K SLoC