| // Copyright lowRISC contributors. |
| // Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| // SPDX-License-Identifier: Apache-2.0 |
| class chip_virtual_sequencer extends cip_base_virtual_sequencer #( |
| `uvm_component_utils(chip_virtual_sequencer) |
| uart_sequencer uart_sequencer_hs[NUM_UARTS]; |
| jtag_riscv_sequencer jtag_sequencer_h; |
| spi_sequencer spi_sequencer_h; |
| // Grab packets from UART TX port for in-sequence checking. |
| uvm_tlm_analysis_fifo #(uart_item) uart_tx_fifos[NUM_UARTS]; |
| function void build_phase(uvm_phase phase); |
| super.build_phase(phase); |
| foreach (uart_tx_fifos[i]) uart_tx_fifos[i] = new($sformatf("uart_tx_fifo%0d", i), this); |