/*---------------------------------------------------------------------------*/ void reg_pic_sec () { struct config_section *sec = reg_config_sec ("pic", NULL, NULL); reg_config_param (sec, "enabled", paramt_int, pic_enabled); reg_config_param (sec, "edge_trigger", paramt_int, pic_edge_trigger); } /* reg_pic_sec() */
void reg_cuc_sec () { struct config_section *sec = reg_config_sec ("cuc", NULL, NULL); reg_config_param (sec, "memory_order", paramt_word, cuc_memory_order); reg_config_param (sec, "calling_convention", paramt_int, cuc_calling_conv); reg_config_param (sec, "enable_bursts", paramt_int, cuc_enable_bursts); reg_config_param (sec, "no_multicycle", paramt_int, cuc_no_multicycle); reg_config_param (sec, "timings_file", paramt_str, cuc_timings_fn); reg_config_param (sec, "timings_fn", paramt_str, cuc_timings_fn); }
void reg_bpb_sec () { struct config_section *sec = reg_config_sec ("bpb", NULL, NULL); reg_config_param (sec, "enabled", paramt_int, bpb_enabled); reg_config_param (sec, "btic", paramt_int, bpb_btic); reg_config_param (sec, "sbp_bnf_fwd", paramt_int, bpb_sbp_bnf_fwd); reg_config_param (sec, "sbp_bf_fwd", paramt_int, bpb_sbp_bf_fwd); reg_config_param (sec, "missdelay", paramt_int, bpb_missdelay); reg_config_param (sec, "hitdelay", paramt_int, bpb_hitdelay); }
void reg_memory_sec (void) { struct config_section *sec = reg_config_sec ("memory", memory_sec_start, memory_sec_end); reg_config_param (sec, "type", PARAMT_WORD, memory_type); reg_config_param (sec, "random_seed", PARAMT_INT, memory_random_seed); reg_config_param (sec, "pattern", PARAMT_INT, memory_pattern); reg_config_param (sec, "baseaddr", PARAMT_ADDR, memory_baseaddr); reg_config_param (sec, "size", PARAMT_INT, memory_size); reg_config_param (sec, "name", PARAMT_STR, memory_name); reg_config_param (sec, "ce", PARAMT_INT, memory_ce); reg_config_param (sec, "mc", PARAMT_INT, memory_mc); reg_config_param (sec, "delayr", PARAMT_INT, memory_delayr); reg_config_param (sec, "delayw", PARAMT_INT, memory_delayw); reg_config_param (sec, "log", PARAMT_STR, memory_log); }