syncctrl - ComPair/ComPair-tracker-FPGA GitHub Wiki

syncctrl

This is a command-line tool to manage signals that are synchronous across all asic's. It does this by communicating with the sync_vata_distn IP.

Building can be done by running make ctrl while in the ComPair-tracker-FPGA/src/petalinux/apps/ directory. (this command builds and installs all *ctrl command line tools, not just syncctrl)

Usage: syncctrl [OPTIONS]
  OPTIONS:
    --counter-reset         : Reset the global counter.
    --get-counter           : Print the current counter value to stdout.
    --force-trigger         : Force trigger all ASIC's simultaneously.
    --get-global-hit-enable : Print '1' if the global_ena is on, otherwise '0'                     
    --global-hit-enable     : Turn the global_hit_ena on.                                                 
    --global-hit-disable    : Turn the global_hit_ena off.
    --asic-hit-enable N     : Enable hits from asic `N`.
    --asic-hit-disable N    : Disable hits from asic `N`.
    --asic-hit-disable-mask : Print the current asic hit disable bitmask. Asic 0's bit is last/right-most.