Skip to content

Compile and Install of GTKWave Tool (Waveform viewer for LXT, LXT2, VZT, FST, GHW, VCD and EVCD files)

License

Notifications You must be signed in to change notification settings

embed-dsp/ed_gtkwave

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Compile and Install of the GTKWave Tool

This repository contains a make file for easy compile and install of GTKWave. GTKWave is a waveform viewer for LXT, LXT2, VZT, FST, GHW, VCD and EVCD files that are typically generated by digital simulation tools such as: Icarus Verilog, ModelSim, Xilinx ISim, Xilinx XSim

This make file can build the GTKWave tool on the following systems:

Get Source Code

ed_gtkwave

git clone https://github.com/embed-dsp/ed_gtkwave.git

GTKWave

# Enter the ed_gtkwave directory.
cd ed_gtkwave

# Edit the Makefile for selecting the GTKWave source version.
vim Makefile
PACKAGE_VERSION = 3.3.119
# Download GTKWave source package into src/ directory.
make download

Build

# Unpack source code into build/ directory.
make prepare
# Configure source code.
make configure
# Clean any old build artifacts before compiling.
make clean
# Compile source code using 8 simultaneous jobs (Default).
make compile

Install

Linux

# Install build products.
sudo make install

The GTKWave package installs correctly according to the GNU Coding Standards. The build products are installed in the following locations:

opt/
└── gtkwave/
    └── gtkwave-3.3.119/    # prefix:
        ├── linux_x86_64/   # exec_prefix: 64-bit binaries and libraries for Linux
        │   └── bin/        # bindir:
        │       ├── gtkwave
        │       ...
        └── share/          # datadir: Architecture independent data files.
            ...

Windows: MSYS2/mingw64 & MSYS2/mingw32

# Install build products.
make install
/c/opt/
└── gtkwave/
    └── gtkwave-3.3.119/    # prefix:
        ├── mingw64_x86_64/ # exec_prefix: 64-bit binaries and libraries for MSYS2/mingw64 on a 64-bit Windows
        │   └── bin/        # bindir:
        │       ├── gtkwave
        │       ...
        ├── mingw32_x86_64/ # exec_prefix: 32-bit binaries and libraries for MSYS2/mingw32 on a 64-bit Windows
        │   └── bin/        # bindir:
        │       ├── gtkwave
        │       ...
        └── share/          # datadir: Architecture independent data files.
            ...

Tested System Configurations

System OS
linux Fedora-40 64-bit
mingw64 Windows-10 64-bit
mingw32 Windows-10 64-bit

Prerequisites

Fedora-40 64-bit

sudo dnf install gcc-c++

sudo dnf install zlib
sudo dnf install zlib-devel

sudo dnf install bzip2
sudo dnf install bzip2-devel

sudo dnf install xz
sudo dnf install xz-devel

sudo dnf install tcl
sudo dnf install tcl-devel

sudo dnf install tk
sudo dnf install tk-devel

sudo dnf install gtk2
sudo dnf install gtk2-devel

MSYS2

FIXME: gperf, flex, bison
FIXME: tcl, tk
FIXME: xlib, bzlib, xz

About

Compile and Install of GTKWave Tool (Waveform viewer for LXT, LXT2, VZT, FST, GHW, VCD and EVCD files)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published