Enum svf::Command[][src]

pub enum Command {
    EndDR(State),
    EndIR(State),
    Frequency(Option<f64>),
    HDR(Pattern),
    HIR(Pattern),
    PIO(Vec<VectorChar>),
    PIOMap(Vec<(PIOMapDirection, String)>),
    RunTest {
        run_state: Option<State>,
        form: RunTestForm,
        end_state: Option<State>,
    },
    SDR(Pattern),
    SIR(Pattern),
    State {
        path: Option<Vec<State>>,
        end: State,
    },
    TDR(Pattern),
    TIR(Pattern),
    TRST(TRSTMode),
}

SVF command and corresponding parsed data.

Variants

EndDR(State)

State for the bus after a DR scan.

The state is checked to be a stable state when parsing.

EndIR(State)

State for the bus after an IR scan.

The state is checked to be a stable state when parsing.

Frequency(Option<f64>)

Maximum TCK frequency for subsequent scans, state changes, and test operations.

HDR(Pattern)

Default header pattern to be shifted in before every data register scan operation.

HIR(Pattern)

Default header pattern to be shifted in before every instruction register scan operation.

Parallel input/output test vector.

Define I/O direction and name for each column in a PIO command. Each entry corresponds to a column with associated direction and logical name.

RunTest

Force the target to the specified state for a specified number of clocks or a specified length of time or both, then move to the specified end state.

Fields of RunTest

run_state: Option<State>

State to hold during this command. Checked to be a stable state when parsing. If not specified, use the run_state specified in the previous RUNTEST command.

form: RunTestForm

The run_count, run_clk, min_time, and max_time parameters are stored in this RunTestForm enum which encodes the various ways in which they may be specified or omitted.

end_state: Option<State>

State to enter after completion of command. Checked to be a stable state when parsing. If not specified, use the default end state, which is the most recently specified end_state or run_state, or IDLE otherwise.

SDR(Pattern)

Scan data register with specified pattern.

SIR(Pattern)

Scan instruction register with specified pattern.

State

Force target to a stable state, optionally specifying the path to traverse. If no path is specified, use the default path between the current and final state.

Fields of State

path: Option<Vec<State>>

Path to take to reach the end state. States must be in an order that obeys the TAP state machine. If not specified, the default path from the current state to the end state is used.

end: State

Final state to reach. Checked to be a stable state when parsing.

TDR(Pattern)

Default trailer pattern to be shifted in before every data register scan operation.

TIR(Pattern)

Default trailer pattern to be shifted in before every instruction register scan operation.

TRST(TRSTMode)

Operation of TRST signal.

Trait Implementations

impl Clone for Command[src]

impl Debug for Command[src]

impl Display for Command[src]

impl PartialEq<Command> for Command[src]

impl StructuralPartialEq for Command[src]

Auto Trait Implementations

impl RefUnwindSafe for Command

impl Send for Command

impl Sync for Command

impl Unpin for Command

impl UnwindSafe for Command

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.