felink version 21021100
Convert a given E-link number into GBT, egroup and epath numbers
as well as GBT and bit-index and width, or viceversa.
The E-link number is provided as a (hex) number directly (-e option),
as a set of -G/g/p options, or as a set of -G/I/w options.
Optionally checks if this E-link is valid and configured on a given FLX-device (option -d),
in either to-host or from-host direction.
Use option -l to display a list of valid E-link numbers,
optionally in combination with -G or -g options to restrict the output
to a particular GBT-link and/or egroup.
(Note that E-link numbers are also shown in the elinkconfig GUI).

Usage: felink [-h|V] [-d <devnr>] (-e <elink>
               | (-G <gbt> (-g <group> -p <path>) | (-I <index> -w <width>))
  -h         : Show this help text.
  -V         : Show version.
  -d <devnr> : FLX-device to use (default: 0).
  -e <elink> : E-link number (hex) or use -G/g/p or -G/I/w options.
  -G <gbt>   : GBT-link number.
  -g <group> : Group number.
  -l         : Show a list of valid E-link numbers (use options -G, -g, -p to restrict the list).
  -p <path>  : E-path number.
  -I <index> : Index of first bit of e-link in GBT frame.
  -w <width> : E-link width in bits (2, 4, 8 or 16).
