Skip to content

HSI python tool commands

strilov edited this page Oct 19, 2021 · 1 revision

The group of HSI commands under the timing python tools are invoked as follows.

pdtbutler hsi <DEVICE> <cmd> <pars>

where the following HSI commands can be issued

  • enable: set HSI endpoint address and partition, and enable the endpoint; same as ept enable
    • action: on, or off, or reset the endpoint
    • --partition, -p: endpoint partition
    • --address, -a: endpoint address
  • configure: set the HSI signal masks, operation mode, and random rate; begin HSI triggering
    • --src, -s: source of signals, 0 - hardware input, 1 - HSI bits 31 to 1 are 39 to 9 of DTS counter, bit 0 - random with rate set by --rate
    • --rate: rate of random signals of bit 0 when in emulation mode 1
    • --re-mask, -r: rising edge signal mask
    • --fe-mask, -f: falling edge signal mask
    • --inv-mask, -i: invert edge signal mask
  • start : begin HSI triggering
  • stop: stop HSI triggering
  • readback: read out contents of HSI event buffer and print to screen
    • --all/--events: buffer readout mode; --events: only completed events are readout; -all: the content of the buffer is fully readout