probe_freq :
A frequency probe for a clock signal.
The probe_freq
primitive measures the frequency of an xbit-typed periodic clock input (in
) and records its waveform into a file. The primitive uses a clk_to_freq
primitive to measure the frequency of in
.
The parameter filename
sets the name of the waveform file, of which extension determines the waveform format (e.g. “.jez” for JEZ and “.fsdb” for FSDB). In case of recording in JEZ format, the parameter format
defines whether the data are recorded in a binary (“jezbinary”) or ascii (“jezascii”) format. The parameters start
and stop
define when the recording begins and ends, respectively.
Input/Output Terminals
Name | I/O | Type | Description |
in | input | xbit | signal to measure the frequency from |
Parameters
Name | Type | Default | Unit | Description |
filename | string | “xmodel.jez” | None | output filename |
format | string | “jezbinary” | None | format version |
start | real | 0.0 | seconds | abs. time to start recording |
stop | real | -1.0 | seconds | abs. time to stop recording |