You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Line 243, the function parameter is ignored, and the baudrate from chip_env_cfg is used. Thus, setting a different baudrate via function parameter has no effect.
This probably remained unnoticed, because baudrate testing in chip_sw_uart_rand_baudrate_vseq.sv uses chip_env_cfgs uart_baud_rate instead of the configure_uart_agent function:
Description
In chip_base_vseq.sv there is a function to configure the uart agents:
opentitan/hw/top_earlgrey/dv/env/seq_lib/chip_base_vseq.sv
Lines 233 to 253 in 6c72825
In Line 243, the function parameter is ignored, and the baudrate from
chip_env_cfg
is used. Thus, setting a different baudrate via function parameter has no effect.Solution:
This probably remained unnoticed, because baudrate testing in chip_sw_uart_rand_baudrate_vseq.sv uses
chip_env_cfg
suart_baud_rate
instead of theconfigure_uart_agent
function:https://github.com/lowRISC/opentitan/blob/master/hw/top_earlgrey/dv/env/seq_lib/chip_sw_uart_rand_baudrate_vseq.sv#L42-L45
The text was updated successfully, but these errors were encountered: