jbush001 / WaveView

Digital Waveform Viewer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WaveView

CI codecov Codacy Badge

WaveView allows viewing waveform files produced by hardware simulation tools like Verilator and Icarus Verilog.

screenshot

Development Setup

MacOS

Install JDK from:

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Linux (Ubuntu)

sudo apt-get install openjdk-8-jdk

Building

This project uses 'gradle' as its build system. The gradle wrapper and class files are checked into this repository, so you don't need to install it separately. It will download other dependencies automatically.

./gradlew build

This will run unit tests and the linter, which can take a while. To only create a new JAR file:

./gradlew assemble

Running

java -jar build/libs/WaveView.jar [waveform file]

Debugging Unit Test Failures

For Mockito failures, you can do enable verbose logging as follows:

At the top of the file, import the following:

import static org.mockito.Mockito.withSettings;

Then modify the place where the mock is created to add verbose logging parameter, e.g.

WaveformBuilder builder = mock(WaveformBuilder.class, withSettings().verboseLogging());

About

Digital Waveform Viewer

License:Apache License 2.0


Languages

Language:Java 100.0%