| 1 | A simple USB emulated serial interface provides for control/readout of the TDC. |
| 2 | The output is C5 code described in the IEEE paper, with encoding as given |
| 3 | in Table I. ''''Q0''' codes are sent continuously when the link is idle. |
| 4 | Other codes may be sent by using the commands below. |
| 5 | |
| 6 | The input logic expects 8B/10B data in serial format at 25Mb/s. |
| 7 | A ''''K.28.1''' code synchronizes the link and starts a transmission. |
| 8 | Then 2048 words of 32 bits are received and stored in a block RAM for readout. |
| 9 | |
| 10 | The emulated serial port operates at 9600 baud, 1 stop bit, no parity |
| 11 | and no handshaking. When the board is powered up, after a 1s delay the message: |
| 12 | |
| 13 | {{{ |
| 14 | TRM1.0 |
| 15 | > |
| 16 | |
| 17 | }}} |
| 18 | is sent and the board waits for text commands terminated by a CR or LF. |
| 19 | All characters sent from the computer are echoed for convenience |
| 20 | in operating with a terminal program. |
| 21 | |
| 22 | After any output from the command, a new ''>' prompt is sent. |
| 23 | Commands are documented [https://docs.google.com/document/d/1IGZqD2rKQFlQ4Jv8SmbXRmuNURDFEiVixDCB6grOYzA/edit?usp=sharing here] |
| 24 | (Google document) |
| 25 | |
| 26 | |