#ifndef __HOTSPOT_H_1#define __HOTSPOT_H_23#include "util.h"45/* global configuration parameters for HotSpot */6typedef struct global_config_t_st7{8/* floorplan input file */9char flp_file[STR_SIZE];10/* input power trace file */11char p_infile[STR_SIZE];12/* input material properties file */13char materials_file[STR_SIZE];14/* output file for the temperature trace */15char t_outfile[STR_SIZE];16/* input configuration parameters from file */17char config[STR_SIZE];18/* output configuration parameters to file */19char dump_config[STR_SIZE];20/* input microchannel configuration file */21int use_microchannels;222324/*BU_3D: Option to turn on heterogenous R-C assignment*/25char detailed_3D[STR_SIZE];2627}global_config_t;2829/*30* parse a table of name-value string pairs and add the configuration31* parameters to 'config'32*/33void global_config_from_strs(global_config_t *config, str_pair *table, int size);34/*35* convert config into a table of name-value pairs. returns the no.36* of parameters converted37*/38int global_config_to_strs(global_config_t *config, str_pair *table, int max_entries);3940#endif414243