monitor module
Monitor CNIC Operation
- monitor.RX_STATUS_PARAMS = {'rx_complete': 'Complete', 'rx_enable_capture': 'Enabled', 'rx_hbm_1_end_addr': 'HBM 1 data bytes', 'rx_hbm_2_end_addr': 'HBM 2 data bytes', 'rx_hbm_3_end_addr': 'HBM 3 data bytes', 'rx_hbm_4_end_addr': 'HBM 4 data bytes', 'rx_packet_count': 'Packets Captured', 'rx_packet_size': 'Packet Size', 'rx_packets_to_capture': 'Packets to Capture'}
key: attribute to read from hbm_pktcontroller, value: human-readable description
- monitor.TX_STATUS_PARAMS = {'duplex': 'Duplex', 'tx_complete': 'Complete', 'tx_enable': 'Enabled', 'tx_loop_count': 'Loop Count', 'tx_loop_enable': 'Loop?', 'tx_loops': 'No. of Loops', 'tx_packet_count': 'Packets Sent', 'tx_packet_size': 'Packet Size', 'tx_packet_to_send': 'Packets to Send', 'tx_running': 'Running'}
key: attribute to read from hbm_pktcontroller, value: human-readable description
- monitor.display_status_forever(fpga: ska_low_cbf_fpga.FpgaPersonality)[source]
Display status information until terminated (e.g. by Ctrl-C)
- monitor.generate_100g_table(system: ska_low_cbf_fpga.FpgaPeripheral) rich.table.Table [source]
Create 100G Ethernet status table.
- monitor.generate_ptp_table(ptp: PtpScheduler, system: ska_low_cbf_fpga.FpgaPeripheral) rich.table.Table [source]
Create PTP status table.
- monitor.generate_rx_table(hpc: HbmPacketController) rich.table.Table [source]
Create HBM packet controller status table.
- monitor.generate_tx_table(hpc: HbmPacketController) rich.table.Table [source]
Create HBM packet controller status table.
- monitor.update_layout(layout: rich.layout.Layout, fpga: ska_low_cbf_fpga.FpgaPersonality)[source]
Update all dynamic portions of the display
- monitor.update_static_info(layout: rich.layout.Layout, fpga: ska_low_cbf_fpga.FpgaPersonality)[source]
Display the static pieces of information