Expand description
§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.
- RunTest
Time - Minimum and optional maximum time to run a RunTest command for.
Enums§
- Command
- SVF command and corresponding parsed data.
- PIOMap
Direction - Possible directions for a column in a PIOMAP command.
- Parse
Error - SVF parse error.
- RunClock
- Possible clocks for the
run_clk
argument to RUNTEST. - RunTest
Form - Possible forms of the RunTest arguments.
- State
- IEEE 1149.1 TAP states with SVF TAP state names.
- TRST
Mode - Possible modes for the TRST signal.
- Vector
Char - 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.