SetInitialCircuitTckFrequency Method

Sets the initial TCK Frequency to run the circuit at. The initial value is the project default frequency.

Type: ChainRunner

Namespace: XJTAG.Integration.XJAnalyser

Syntax

public void SetInitialCircuitTckFrequency(int frequencyHz)

Parameters

frequencyHz

Type: int

The frequency in Hz to initially set the circuit to run at.

Exceptions

System.ArgumentException

The given subchain name does not match any subchains in the project, or the given frequency value is not a valid TCK Frequency.

RuntimeException

The project has Optimised Scans enabled so a circuit-wide frequency cannot be set. Use SetInitialSubchainTckFrequency instead.

System.ObjectDisposedException

The ChainRunner has already been disposed.

Remarks

The chain must be in the Stopped or Paused state to set the frequency. This should only be called when the project has Optimised Scans disabled. If Optimised Scans is enabled in the project, then the frequency is set per-subchain, so SetInitialSubchainTckFrequency should be used instead.