parseToggles: Parses a VCD file and generated toggle count statistics.

View source: R/parseToggles.R

parseTogglesR Documentation

Parses a VCD file and generated toggle count statistics.

Description

Parses a VCD file and generated toggle count statistics.

Usage

parseToggles(vcd, top = NA, depth = 0L, maxtime = NULL)

Arguments

vcd

The VCDFile to parse

top

The top signal, if none is given the top signal of the vcdfile is taken

depth

depth in the module tree before signals are accumulated, default=0 (top only), -1 is infinite depth

maxtime

an string (!) value giving an upper limit on the timestamps to parse; NULL to parse all timestamps

For more elaborate filtering of nodes, pre-edit the signal-tree in the vcd-object. Black/Whitelisting of signals is an optional further enhancement.

Value

a module tree and a list of toggle counts and a list of dump events

Examples

## Not run: 
parseToggles(vcd,"top",3)
parseToggles(vcd,"submodule",3)
parseToggles(vcd,"submodule",3,"12345678901")

## End(Not run)

wamserma/VCD2R documentation built on May 20, 2023, 11:17 p.m.