14class qupv3_qupv3_se_wrapper_se0_uart :
public qupv3_qupv3_se_wrapper_se0,
public qupv3_qupv3_se_wrapper_se0_gen_uart
16 uint32_t bytes_in_fifo = 0;
17 bool dma_enabled =
false;
18 bool dma_tx_address_is_vaild =
false;
19 uint64_t dma_tx_address = 0;
20 bool dma_rx_address_is_vaild =
false;
21 uint64_t dma_rx_address = 0;
23 void update_irq()
override;
24 void fifo_mode_receive(tlm::tlm_generic_payload& txn);
25 void dma_mode_receive(tlm::tlm_generic_payload& txn);
26 void receive(tlm::tlm_generic_payload& txn, sc_core::sc_time& t)
override;
27 void set_rx_fifo_status();
30 qupv3_qupv3_se_wrapper_se0_uart(sc_core::sc_module_name _name);
31 void start_of_simulation()
override;
32 void end_of_elaboration()
override;
33 void do_reset(
bool value)
override;