Skip to content

jbush001/WaveView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9692d1e · Jan 22, 2024
Jan 22, 2024
Jul 15, 2022
Jul 15, 2022
Jan 13, 2019
Mar 5, 2018
Aug 17, 2016
Aug 17, 2016
Jul 15, 2022
Jul 15, 2022
Jul 15, 2022
Jul 15, 2022
Aug 17, 2016

Repository files navigation

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());

Releases

No releases published

Packages

No packages published

Languages