Crate svf[][src]

svf

Parse and generate SVF files.

Use parse_complete to parse a full SVF file into a vector of Command, parse_iter to create an iterator over Command which parses incrementally, or parse_iter_bufread to create an iterator using a BufRead input, allowing both the input and output to be processed piece-by-piece.

Once parsed, or if you construct Command manually, the Display trait implementation on Command can be used to generate SVF files.

Structs

Pattern

Data pattern used for HDR, HIR, SDR, SIR, TDR, and TIR commands.

RunTestTime

Minimum and optional maximum time to run a RunTest command for.

Enums

Command

SVF command and corresponding parsed data.

PIOMapDirection

Possible directions for a column in a PIOMAP command.

ParseError

SVF parse error.

RunClock

Possible clocks for the run_clk argument to RUNTEST.

RunTestForm

Possible forms of the RunTest arguments.

State

IEEE 1149.1 TAP states with SVF TAP state names.

TRSTMode

Possible modes for the TRST signal.

VectorChar

Vector characters for a parallel test vector.

Functions

parse_complete

Parse complete input into a vector of commands.

parse_iter

Parse complete input into an iterator of commands.

parse_iter_bufread

Parse an SVF input from a BufRead into an iterator of commands.