More flexible trigger pattern generator
NB I think this is a FrontEnd specific thing, but there might be some restricted list of common things that can be done.
This does also imply that the current 32 words in TxCore are not sufficient.
The most common patterns in ITSDAQ are things like:
- cal pulse + delay + trigger (already present)
- BCR + delay + cal pulse + delay + trigger
- cal pulse + delay + trigger + delay + trigger (ie the calibration pulse is timed for one trigger and not the other)
- n * (trigger + delay) (n 2 to at least 8, but maybe larger)
For more diagnostics, ITSDAQ has a fully customizable (from json) trigger pattern generator.
As an example (not a useful pattern) from itsdaq:
"command": [
"idle 5",
"l0 1111 2",
"l0 0011 4",
"l0 1001 +14",
"l0 1000 +1",
"l0 1000 +1 BCR",
"fast 2 2",
"fast 3 2",
"fast 6 2",
"fast 10 2",
"reg abc read 6",
"reg abc read 7",
"reg abc read 8",
"reg abc read 0x46",
"idle 3",
"reg abc write 2 0x01001067",
"reg abc read 2",
"reg abc write 2 0x03c01067",
"reg abc read 2",
"reg abc write 2 0x02001067",
"reg abc read 2",
"idle 2"]