hdl: Made manual pulse triggering safer
This was done by reading the whole value of the 8-bit MPT field
after the magic sequence is input. Before, only the number of bits
corresponding to the number of channels at the input was read, which
could result in a pulse being generated when a wrong channel value with
a "correct" mask is input to the field, as for example:
- on the six-channel CONV-TTL-BLO, 0x9 in MPT gets masked on three bits to 0x1,
thus a pulse is generated on CH1
Signed-off-by: Theodor Stana <t.stana@cern.ch>
Showing
Please
register
or
sign in
to comment