Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
GTKWave documentation
GTKWave documentation

Introduction

  • Introduction
  • Supported formats

Compiling and Installing

  • Unix and Linux
    • Compiling GTKWave 4
  • Microsoft Windows
  • Apple Macintosh

Quick Start

  • Creating Example Waveform
  • Launching GTKWave
  • Displaying Waveforms
  • Filtering
  • Pattern Search

User Interface

  • Overview
  • Main Window
  • Toolbar
  • Menu
  • Ergonomic Extras

Additional tools

  • TwinWave
  • RTLBrowse

Tcl Command Syntax

  • Tcl Commands
  • Tcl Callbacks

GTKWave internals

  • FST File Format
  • LXT File Format
  • VCD Recoding

Man pages

  • evcd2vcd
  • fst2vcd
  • fstminer
  • gtkwave
  • gtkwaverc
  • lxt2miner
  • lxt2vcd
  • rtlbrowse
  • shmidcat
  • twinwave
  • vcd2fst
  • vcd2lxt
  • vcd2lxt2
  • vcd2vzt
  • vzt2vcd
  • vztminer
  • xml2stems
Back to top
View this page

Pattern Search¶

Not only nets may be searched on and marked in the main window. GTKWave can search values too. In order to do this, select one or more nets in the signal frame and then click on the Search submenu option Pattern Search. A Pattern Search Requester will then appear that will allow various types of search operations for the signals that have been selected.

The following is an example of a Pattern Search Requester being used to mark the rising edges for the clock signal in a simulation model.

  1. First, select clk in Signals frame.

Click clk in Signals frame

Click clk in Signals frame¶

  1. Then, choose the Pattern Search option from the Search submenu.

  2. In the pop-up window, set Rising Edge for clk and then click Mark.

The Pattern Search Requester

The Pattern Search Requester¶

  1. The rising edges of the clock signal will now be marked on the wave window, as shown below.

Wave frame with rising edge of clk marked

Wave frame with rising edge of clk marked¶

To remove pattern marks, either select another pattern or select the View submenu option Remove Pattern Marks. Note that pattern marks are saved to the save file and that the actual pattern search criteria is saved, not the absolute times of the individual marks themselves.

Search criteria for individual nets can be edge or value based. For “String” searches (the entry box to the right of the search type box which in the case above is marked “Rising Edge”), note that it is no longer required that you must press Enter for the string in order to commit the value to the search.

Next
Overview
Previous
Filtering
Copyright © 2023, GTKWave Authors
Made with Sphinx and @pradyunsg's Furo