CDL Modules
Data Structures | Enumerations | Variables
riscv_i32_debug Namespace Reference

Data Structures

struct  t_apb_state
 
struct  t_debug_combs
 
struct  t_debug_state
 
struct  t_dmstatus
 

Enumerations

enum  t_write_action {
  write_action_none,
  write_action_data0,
  write_action_progbuf0,
  write_action_control,
  write_action_abstract_cs,
  write_action_abstract_cmd
}
 
enum  t_read_select {
  read_select_zero,
  read_select_dmstatus,
  read_select_dmcontrol,
  read_select_abstractcs,
  read_select_data0,
  read_select_progbuf0,
  read_select_haltsum0,
  read_select_haltsum1
}
 
enum  t_apb_address {
  dm_addr_dmcontrol = 0x10,
  dm_addr_dmstatus = 0x11,
  dm_addr_hart_info = 0x12,
  dm_addr_hart_window_sel = 0x14,
  dm_addr_hart_window = 0x15,
  dm_addr_abstract_cs = 0x16,
  dm_addr_abstract_cmd = 0x17,
  dm_addr_abstract_cmd_autoexec = 0x18,
  dm_addr_dev_tree_addr0 = 0x19,
  dm_addr_next_dm = 0x1a,
  dm_addr_data0 = 0x04,
  dm_addr_progbuf0 = 0x20,
  dm_addr_authdata = 0x30,
  dm_addr_haltsum0 = 0x40,
  dm_addr_haltsum1 = 0x13
}
 

Variables

constant integer max_hart_minus_one =63
 
constant bit[64] valid_hart_mask = 64hffffffffffffffff