mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
libboard: print serwb settings at the debug log level
This commit is contained in:
parent
cf5d50de0c
commit
cfb41e71a8
@ -17,29 +17,25 @@ pub fn wait_init() {
|
||||
// proceed anyway
|
||||
}
|
||||
|
||||
// Show AMC serwb settings
|
||||
unsafe {
|
||||
info!("AMC serwb settings:");
|
||||
info!(" delay_min_found: {}", csr::serwb_phy_amc::control_delay_min_found_read());
|
||||
info!(" delay_min: {}", csr::serwb_phy_amc::control_delay_min_read());
|
||||
info!(" delay_max_found: {}", csr::serwb_phy_amc::control_delay_max_found_read());
|
||||
info!(" delay_max: {}", csr::serwb_phy_amc::control_delay_max_read());
|
||||
info!(" delay: {}", csr::serwb_phy_amc::control_delay_read());
|
||||
info!(" bitslip: {}", csr::serwb_phy_amc::control_bitslip_read());
|
||||
info!(" ready: {}", csr::serwb_phy_amc::control_ready_read());
|
||||
info!(" error: {}", csr::serwb_phy_amc::control_error_read());
|
||||
}
|
||||
debug!("AMC serwb settings:");
|
||||
debug!(" delay_min_found: {}", csr::serwb_phy_amc::control_delay_min_found_read());
|
||||
debug!(" delay_min: {}", csr::serwb_phy_amc::control_delay_min_read());
|
||||
debug!(" delay_max_found: {}", csr::serwb_phy_amc::control_delay_max_found_read());
|
||||
debug!(" delay_max: {}", csr::serwb_phy_amc::control_delay_max_read());
|
||||
debug!(" delay: {}", csr::serwb_phy_amc::control_delay_read());
|
||||
debug!(" bitslip: {}", csr::serwb_phy_amc::control_bitslip_read());
|
||||
debug!(" ready: {}", csr::serwb_phy_amc::control_ready_read());
|
||||
debug!(" error: {}", csr::serwb_phy_amc::control_error_read());
|
||||
|
||||
// Show RTM serwb settings
|
||||
unsafe {
|
||||
info!("RTM serwb settings:");
|
||||
info!(" delay_min_found: {}", csr::serwb_phy_rtm::control_delay_min_found_read());
|
||||
info!(" delay_min: {}", csr::serwb_phy_rtm::control_delay_min_read());
|
||||
info!(" delay_max_found: {}", csr::serwb_phy_rtm::control_delay_max_found_read());
|
||||
info!(" delay_max: {}", csr::serwb_phy_rtm::control_delay_max_read());
|
||||
info!(" delay: {}", csr::serwb_phy_rtm::control_delay_read());
|
||||
info!(" bitslip: {}", csr::serwb_phy_rtm::control_bitslip_read());
|
||||
info!(" ready: {}", csr::serwb_phy_rtm::control_ready_read());
|
||||
info!(" error: {}", csr::serwb_phy_rtm::control_error_read());
|
||||
debug!("RTM serwb settings:");
|
||||
debug!(" delay_min_found: {}", csr::serwb_phy_rtm::control_delay_min_found_read());
|
||||
debug!(" delay_min: {}", csr::serwb_phy_rtm::control_delay_min_read());
|
||||
debug!(" delay_max_found: {}", csr::serwb_phy_rtm::control_delay_max_found_read());
|
||||
debug!(" delay_max: {}", csr::serwb_phy_rtm::control_delay_max_read());
|
||||
debug!(" delay: {}", csr::serwb_phy_rtm::control_delay_read());
|
||||
debug!(" bitslip: {}", csr::serwb_phy_rtm::control_bitslip_read());
|
||||
debug!(" ready: {}", csr::serwb_phy_rtm::control_ready_read());
|
||||
debug!(" error: {}", csr::serwb_phy_rtm::control_error_read());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user