Ejemplo n.º 1
0
/* populate the thermal restistance values */
void populate_R_model(RC_model_t *model, flp_t *flp)
{
	if (model->type == BLOCK_MODEL)
		populate_R_model_block(model->block, flp);
	else if (model->type == GRID_MODEL)	
		populate_R_model_grid(model->grid, flp);
	else fatal("unknown model type\n");	
}
Ejemplo n.º 2
0
/* populate the thermal restistance values */
void populate_R_model(RC_model_t *model, flp_t *flp)
{
	if (model->type == BLOCK_MODEL)
		populate_R_model_block(model->block, flp);
	else if (model->type == GRID_MODEL)	
	/* ignore the flp parameter as it is not needed
	 * by the grid model which models a 3-d chip and
	 * takes its floorplan inputs from a layer 
	 * configuration file
	 */
		populate_R_model_grid(model->grid);
	else fatal("unknown model type\n");	
}