quic/qbox
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
ibex_uart Class Reference
Inheritance diagram for ibex_uart:
Inheritance graph
[legend]
Collaboration diagram for ibex_uart:
Collaboration graph
[legend]

Public Types

enum  Reg {
  REG_ITSTAT = 0x00 , REG_ITEN = 0x04 , REG_ITTEST = 0x08 , REG_CTRL = 0x0c ,
  REG_STATUS = 0x10 , REG_RDATA = 0x14 , REG_WDATA = 0x18
}
 
enum  {
  FIELD_IT_RXWATERMARK = 0x2 , FIELD_CTRL_TXENABLE = 0x1 , FIELD_CTRL_RXENABLE = 0x2 , FIELD_STATUS_TXEMPTY = 0x04 ,
  FIELD_STATUS_RXIDLE = 0x10 , FIELD_STATUS_RXEMPTY = 0x20
}
 

Public Member Functions

void update_irqs (void)
 
void recv (uint32_t value)
 
void receive (tlm::tlm_generic_payload &txn, sc_core::sc_time &t)
 
 ibex_uart (sc_core::sc_module_name name)
 
void b_transport (tlm::tlm_generic_payload &trans, sc_core::sc_time &delay)
 
uint64_t reg_read (uint64_t addr)
 
void reg_write (uint64_t addr, uint32_t data)
 
void before_end_of_elaboration ()
 

Public Attributes

sc_core::sc_out< boolirq_rxwatermark
 
uint32_t it_state
 
uint32_t it_enable
 
uint32_t ctrl
 
uint32_t status
 
uint8_t rdata
 
tlm_utils::simple_target_socket< ibex_uartsocket
 
gs::biflow_socket< ibex_uartbackend_socket
 
sc_core::sc_event update_event
 

The documentation for this class was generated from the following file: