CDL Modules
Data Structures | Enumerations
apb_processor Namespace Reference

Data Structures

struct  t_apb_combs
 
struct  t_apb_state
 
struct  t_processor_apb_request
 
struct  t_processor_combs
 
struct  t_processor_state
 
struct  t_rom_combs
 
struct  t_rom_state
 

Enumerations

enum  t_apb_rom_opcode_class {
  opcode_class_alu = 0,
  opcode_class_set_parameter = 1,
  opcode_class_apb_request = 2,
  opcode_class_branch = 3,
  opcode_class_wait = 4,
  opcode_class_finish = 5
}
 
enum  t_apb_rom_opcode_subclass {
  rom_op_alu_or = 0,
  rom_op_alu_and = 1,
  rom_op_alu_bic = 2,
  rom_op_alu_xor = 3,
  rom_op_alu_add = 4,
  rom_op_set_address = 0,
  rom_op_set_repeat = 1,
  rom_op_set_accumulator = 2,
  rom_op_set_increment = 3,
  rom_op_branch = 0,
  rom_op_beq = 1,
  rom_op_bne = 2,
  rom_op_loop = 3,
  rom_op_req_read =0,
  rom_op_req_write_arg =1,
  rom_op_req_write_acc =2
}
 
enum  t_processor_action {
  processor_action_none,
  processor_action_set_parameter,
  processor_action_start_apb_request,
  processor_action_alu,
  processor_action_branch,
  processor_action_wait_start,
  processor_action_decrement_accumulator,
  processor_action_pending_request,
  processor_action_complete_wait,
  processor_action_finish
}
 
enum  t_processor_fsm_state {
  processor_fsm_idle,
  processor_fsm_apb_request,
  processor_fsm_wait
}
 
enum  t_apb_fsm_state {
  apb_fsm_idle,
  apb_fsm_select_phase,
  apb_fsm_enable_phase
}
 
enum  t_apb_action {
  apb_action_none,
  apb_action_start_apb_request_write,
  apb_action_start_apb_request_read,
  apb_action_move_to_enable_phase,
  apb_action_complete
}