GithubHelp home page GithubHelp logo

nicolas-gaudin / vcdcompare Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 28 KB

VCDcompare - a tool to support when modifying an HDL module

License: GNU General Public License v3.0

Python 100.00%
vcd hdl tool

vcdcompare's Introduction

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...

vcdcompare's People

Contributors

adamhlt avatar nicolas-gaudin avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.