Skip to content

VCDcompare - a tool to support when modifying an HDL module

License

Notifications You must be signed in to change notification settings

Nicolas-Gaudin/VCDcompare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python3 tool GPL-3.0

VCDcompare

As part of the development of a module replacing another module in a complete system designed to run on an FPGA (Field Programmable Gate Array) board , we are checking functional behavior using the Verilator HDL simulator.

The new module does not respect the same timing constraint as the previous one, and in order to help with debugging, we have made this tool to compare two vcd traces without taking timings into account. The script compares hard-coded signals with value changes. All differences are then logged in an output file.

Dev Setup

  • Ubuntu 22.04
  • python 3.10.12
  • pip 22.0.2
  • input uses vcd files generated with Verilator 5.002

Getting Started

Install dependencies:

pip3 install -r requirements.txt    

Fill input files and signals to be checked:

type variable in python file
vcd file 1 vcdF1
vcd file 2 vcdF2
list of signals signals

Run the app:

python3 VCDcompare.py

It writes on a message.log file all the difference between changes of aimed signals from two vcd files

in construction...

About

VCDcompare - a tool to support when modifying an HDL module

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages