项目作者: jbush001

项目描述 :
Digital Waveform Viewer
高级语言: Java
项目地址: git://github.com/jbush001/WaveView.git
创建时间: 2011-10-22T16:20:06Z
项目社区:https://github.com/jbush001/WaveView

开源协议:Apache License 2.0

下载


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)

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

  1. ./gradlew build

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

  1. ./gradlew assemble

Running

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

  1. import static org.mockito.Mockito.withSettings;

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

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