Simplify VCD

Simplify VCD is a command-line tool designed to make working with Value Change Dump (VCD) files more efficient and faster.

Simplify VCD on PyPI.

VCD files can quickly become large and unwieldy, making analysis and processing slow and cumbersome. This tool enables users to clip sections of VCD files, trim irrelevant data, and reduce the resolution to a more manageable timescale, significantly improving processing speed and usability.

A VCD processed into microsecond resolution, being timed and interpreted by sigrok-cli. A multi-second long capture was processed in just over a second.

It started out as a simple script to convert the analyzer captures from my Glasgow Digital Interface Explorer down to the micro-second scale to speed up analysing them with Sigrok & Pulseview, but it grew arms and legs until it became what you see here.

A Modbus conversation visualised in Pulseview.

It's distributed via PyPI, so installing it is just a pip install simplify-vcd away! The code is available from my Codeberg repository. It's free software so you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

I can't vouch it will play nicely with the VCDs produced by your favorite tool, but it's managed fine with the captures I've made with my Glasgow.

A Glasgow Digital Interface Explorer

Pull Requests to support other, more complicated, VCD files are welcome!

2025-02-28

Leave a comment