1.5. Using the System Console Tool to Execute Commands
With the Avalon to JTAG Master Bridge, the System Console tool can access the RX registers of the JESD204B MegaCore function. The System Console tool issues commands to reset and initiate the JESD204B MegaCore function link in the reference design.
This design example uses a Tcl script called main.tcl that consists of several different procedures with different functionality.
To launch the System Console, perform the following steps:
- Launch the Quartus II software.
- On the Tools menu, select System Console and click System Console.
- Ensure that the present working directory contains main.tcl
The following table lists the procedures in main.tcl. You can type in a procedure name and its value to execute the commands.
Command Name |
Description |
---|---|
read_rxstatus3 | Read JESD204 RX status 3 register (read back data in hexadecimal value). This signal is asserted to indicate:
|
read_rxstatus4 | Read JESD204 RX status 4 register (read back data in hexadecimal value). This signal is asserted to indicate the current state of RX DLL code group synchronization state machine for each lane. |
read_rxstatus5 | Read JESD204 RX status 5 register (read back data in hexadecimal value). This signal is asserted to indicate the current state of RX DLL frame synchronization state machine for each lane. |
read_rxstatus7 | Read JESD204 RX status 7 register (read back data in hexadecimal value). This signal is asserted to indicate the status of RX DLL user data phase for each lane. |
read_ilas_octet0 | Read ILAS octet 0 register (read back data in hexadecimal value). This signal links the control configuration fields in octets for configuration checking. |
read_ilas_octet1 | Read ILAS octet 1 register (read back data in hexadecimal value). This signal links the control configuration fields in octets for configuration checking. |
read_ilas_octet2 | Read ILAS octet 2 register (read back data in hexadecimal value). This signal links the control configuration fields in octets for configuration checking. |
read_ilas_octet3 | Read ILAS octet 3 register (read back data in hexadecimal value). This signal links the control configuration fields in octets for configuration checking. |
read_rx_err0 | Read JESD204 RX error status 0 register (read back data in hexadecimal value). This signal indicates the error status in the MegaCore's RX path. |
read_rx_err1 | Read JESD204 RX error status 1 register (read back data in hexadecimal value). This signal indicates the error status in the MegaCore's RX path. |
reset | Global reset. |
sloopback 1 | Enable serial loopback. |
sloopback 0 | Disable serial loopback. |
The following example shows the execution of the above commands in the Tcl Console.
These commands allow the System Console to communicate directly with the JESD204B MegaCore function via the Avalon to JTAG Bridge Master.