CDL Modules
Data Structures | Namespaces | Enumerations | Variables
dprintf.cdl File Reference

Debug text formatter. More...

Detailed Description

Debug text formatter.

CDL implementation of a module that takes an input debug requests and converts them in to a stream of bytes. The debug request is similar to a 'printf' string, in that it allows formatted data.

Data Structures

struct  dprintf::t_data_buffer_state
 
struct  dprintf::t_decimal_combs
 
struct  dprintf::t_decimal_state
 
struct  dprintf::t_format_combs
 
struct  dprintf::t_format_state
 
struct  dprintf::t_byte_output_combs
 

Namespaces

 dprintf
 

Enumerations

enum  dprintf::t_decimal_action {
  dprintf::decimal_action_none,
  dprintf::decimal_action_zero,
  dprintf::decimal_action_shift_data,
  dprintf::decimal_action_multiply_by_ten,
  dprintf::decimal_action_subtract_10e9
}
 
enum  dprintf::t_format_fsm {
  dprintf::state_idle,
  dprintf::state_start_byte,
  dprintf::state_hex_top_nybble,
  dprintf::state_hex_bottom_nybble,
  dprintf::state_decimal_capture,
  dprintf::state_decimal_predigits,
  dprintf::state_decimal_nonzero
}
 
enum  dprintf::t_format_action {
  dprintf::action_none,
  dprintf::action_start_formatting,
  dprintf::action_skip_byte,
  dprintf::action_complete_string,
  dprintf::action_write_byte,
  dprintf::action_start_hex_format,
  dprintf::action_write_hex_top_nybble,
  dprintf::action_write_hex_bottom_nybble,
  dprintf::action_start_decimal_format,
  dprintf::action_capture_decimal,
  dprintf::action_decimal_subtract,
  dprintf::action_decimal_skip,
  dprintf::action_decimal_output_zero,
  dprintf::action_decimal_output
}
 
enum  dprintf::t_write_buffer_op {
  dprintf::op_idle,
  dprintf::op_write_next_data
}
 

Variables

constant integer dprintf::cfg_downsize_x =0
 
constant integer dprintf::cfg_downsize_y =1