Skip to content

VCD (Value Change Dump) files parser, player, recorder and writer library for Java

License

Notifications You must be signed in to change notification settings

Defective4/vcd4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VCD4j

A VCD (Value Change Dump) files parser, player, recorder and writer library for Java

About

The Value Change Dump (VCD) file format is a widely used data format for storing digital logic traces. It's used to analyze signal states over time using waveform viewing tools. It's common application is in hardware simulation and debugging.

VCD4j is a Java library that aims to be an all-in-one tool for interacting with VCD files.
Its key features include the ability to parse, write, replay, and record VCD files in real time.
The library is designed to assist with reading, manipulating, and even creating your own Value Change Dump files, as well as to simulate and capture digital signals in real time for further processing.
Additionally, VCD4j is designed to be compatible with libraries such as pi4j, making it a perfect library for working with digital signals on devices such as the Raspberry Pi

Installation

Maven

Add the following in the dependencies section of your pom.xml:

<dependency>
    <groupId>io.github.defective4.avr</groupId>
    <artifactId>vcd4j</artifactId>
    <version>{version}</version>
</dependency>

Where version is the latest version available in Maven central:
Maven Central Version

Examples

Some basic examples on how to use VCD4j can be found in examples directory.
To build and run the examples use mvn package -DbuildExamples=true.
You will be able to find the built executable jar in the target/ directory.
To run it, use java -jar vcd4j-x.x-examples.jar <argument>, where <argument> is the name of example to run.
Possible example names are listed after running the jar with no arguments.

Roadmap

  • Support for multiple scopes
  • Better VCD simulation accuracy
  • Better handling of malformed VCD files
  • Convert VCD to OOK (On-Off Keying) bits

Contributing

All contributions are welcome!
Before opening a pull request, please open an issue first.
Please make sure that no similar issues/pull requests are open.

Reporting bugs and feature requests

For bugs and features requests please open an issue

About

VCD (Value Change Dump) files parser, player, recorder and writer library for Java

Topics

Resources

License

Stars

Watchers

Forks

Languages