Skip to content

Commit

Permalink
[dv] Very minor info msg cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Srikrishna Iyer <sriyer@google.com>
  • Loading branch information
Srikrishna Iyer authored and sriyerg committed May 29, 2020
1 parent 34fda24 commit f9f6dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/top_earlgrey/dv/env/seq_lib/chip_sw_uart_tx_rx_vseq.sv
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class chip_sw_uart_tx_rx_vseq extends chip_sw_base_vseq;
wait(uart_tx_data_q.size() == exp_uart_tx_data.size());

// Check if we received the right data set over the TX port.
`uvm_info(`gfn, "Checking the received UART TX data for consistency.", UVM_LOW)
foreach (uart_tx_data_q[i]) begin
`DV_CHECK_EQ(uart_tx_data_q[i], exp_uart_tx_data[i])
end
Expand All @@ -78,7 +79,6 @@ class chip_sw_uart_tx_rx_vseq extends chip_sw_base_vseq;
uart_default_seq send_rx_seq;
`uvm_create_on(send_rx_seq, p_sequencer.uart_sequencer_h);
if (size == -1) size = uart_rx_data.size();
`uvm_info(`gfn, "Checking the received UART TX data for consistency.", UVM_LOW)
for (int i = 0; i < size; i++) begin
byte rx_data = random ? $urandom : uart_rx_data[i];
`DV_CHECK_RANDOMIZE_WITH_FATAL(send_rx_seq, data == rx_data;)
Expand Down

0 comments on commit f9f6dc9

Please sign in to comment.