|
3D-ICE 3.0.0
|
#include "types.h"#include "channel.h"#include "heat_sink.h"#include "layer.h"#include "dimensions.h"#include "stack_element_list.h"Go to the source code of this file.
Data Structures | |
| struct | ThermalGrid_t |
| Structure used to store data about the thermal cells / RC nodes. More... | |
Typedefs | |
| typedef struct ThermalGrid_t | ThermalGrid_t |
| typedef struct ThermalGrid_t ThermalGrid_t |
Definition of the type ThermalGrid_t
Definition at line 97 of file thermal_grid.h.
| Capacity_t get_capacity | ( | ThermalGrid_t * | tgrid, |
| Dimensions_t * | dimensions, | ||
| CellIndex_t | layer_index, | ||
| CellIndex_t | row_index, | ||
| CellIndex_t | column_index | ||
| ) |
Return the capacity of a thermal cell at a given position
The function prints a message on stderr in case of error
| tgrid | pointer to the thermal grid structure |
| dimensions | pointer to the structure storing the dimensions |
| layer_index | the index of the layer |
| row_index | the index of the row |
| column_index | the index of the column |
Definition at line 424 of file thermal_grid.c.
| Capacity_t get_capacity_non_uniform | ( | ThermalGrid_t * | tgrid, |
| Dimensions_t * | dimensions, | ||
| Non_uniform_cellListNode_t * | i_cell | ||
| ) |
Return the capacity of a thermal cell at a given position
The function prints a message on stderr in case of error
| tgrid | pointer to the thermal grid structure |
| dimensions | pointer to the structure storing the dimensions |
| i_cell | pointer to the cell |
Definition at line 325 of file thermal_grid.c.
| Conductance_t get_conductance_bottom | ( | ThermalGrid_t * | tgrid, |
| Dimensions_t * | dimensions, | ||
| CellIndex_t | layer_index, | ||
| CellIndex_t | row_index, | ||
| CellIndex_t | column_index | ||
| ) |
Return the bottom conductance of a thermal cell at a given position
The function prints a message on stderr in case of error
| tgrid | pointer to the thermal grid structure |
| dimensions | pointer to the structure storing the dimensions |
| layer_index | the index of the layer |
| row_index | the index of the row |
| column_index | the index of the column |
Definition at line 1080 of file thermal_grid.c.
| Conductance_t get_conductance_east | ( | ThermalGrid_t * | tgrid, |
| Dimensions_t * | dimensions, | ||
| CellIndex_t | layer_index, | ||
| CellIndex_t | row_index, | ||
| CellIndex_t | column_index | ||
| ) |
Return the east conductance of a thermal cell at a given position
The function prints a message on stderr in case of error
| tgrid | pointer to the thermal grid structure |
| dimensions | pointer to the structure storing the dimensions |
| layer_index | the index of the layer |
| row_index | the index of the row |
| column_index | the index of the column |
Definition at line 1424 of file thermal_grid.c.
| Conductance_t get_conductance_non_uniform | ( | ThermalGrid_t * | tgrid, |
| Dimensions_t * | dimensions, | ||
| ConnectionListNode_t * | i_cell, | ||
| CellIndex_t | node1_index, | ||
| CellIndex_t | node2_index, | ||
| Conductance_t * | sign_note | ||
| ) |
Return the conductance of the non-unifrom thermal nodes
The function prints a message on stderr in case of error
| tgrid | pointer to the thermal grid structure |
| dimensions | pointer to the structure storing the dimensions |
| i_cell | pointer to the connection cell |
| node1_index | the index of the node 1 |
| node2_index | the index of the node 2 |
Definition at line 819 of file thermal_grid.c.
| Conductance_t get_conductance_non_uniform_x | ( | ThermalGrid_t * | tgrid, |
| Dimensions_t * | dimensions, | ||
| ConnectionListNode_t * | i_cell, | ||
| Non_uniform_cellListNode_t * | node | ||
| ) |
Return the conductance of the non-unifrom thermal node in the x direction (West, South)
The function prints a message on stderr in case of error
| tgrid | pointer to the thermal grid structure |
| dimensions | pointer to the structure storing the dimensions |
| i_cell | pointer to the connection cell |
| node | the node |
Definition at line 735 of file thermal_grid.c.
| Conductance_t get_conductance_non_uniform_y | ( | ThermalGrid_t * | tgrid, |
| Dimensions_t * | dimensions, | ||
| ChipDimension_t | value, | ||
| Non_uniform_cellListNode_t * | node, | ||
| Conductance_t | direction_note | ||
| ) |
Return the conductance of the non-unifrom thermal node in the y direction (North, South)
The function prints a message on stderr in case of error
| tgrid | pointer to the thermal grid structure |
| dimensions | pointer to the structure storing the dimensions |
| value | interconnect value |
| node | the node |
| direction_note | coolant direction node |
Definition at line 640 of file thermal_grid.c.
| Conductance_t get_conductance_non_uniform_z | ( | ThermalGrid_t * | tgrid, |
| Dimensions_t * | dimensions, | ||
| ConnectionListNode_t * | i_cell, | ||
| Non_uniform_cellListNode_t * | node, | ||
| int16_t | direction_note | ||
| ) |
Return the conductance of the non-unifrom thermal node in the z direction
The function prints a message on stderr in case of error
| tgrid | pointer to the thermal grid structure |
| dimensions | pointer to the structure storing the dimensions |
| i_cell | pointer to the connection cell |
| node | the node |
| direction_note | direction note used to choose whether use HTCTop or HTCBottom |
Definition at line 524 of file thermal_grid.c.
| Conductance_t get_conductance_north | ( | ThermalGrid_t * | tgrid, |
| Dimensions_t * | dimensions, | ||
| CellIndex_t | layer_index, | ||
| CellIndex_t | row_index, | ||
| CellIndex_t | column_index | ||
| ) |
Return the north conductance of a thermal cell at a given position
The function prints a message on stderr in case of error
| tgrid | pointer to the thermal grid structure |
| dimensions | pointer to the structure storing the dimensions |
| layer_index | the index of the layer |
| row_index | the index of the row |
| column_index | the index of the column |
Definition at line 1232 of file thermal_grid.c.
| Conductance_t get_conductance_south | ( | ThermalGrid_t * | tgrid, |
| Dimensions_t * | dimensions, | ||
| CellIndex_t | layer_index, | ||
| CellIndex_t | row_index, | ||
| CellIndex_t | column_index | ||
| ) |
Return the south conductance of a thermal cell at a given position
The function prints a message on stderr in case of error
| tgrid | pointer to the thermal grid structure |
| dimensions | pointer to the structure storing the dimensions |
| layer_index | the index of the layer |
| row_index | the index of the row |
| column_index | the index of the column |
Definition at line 1328 of file thermal_grid.c.
| Conductance_t get_conductance_top | ( | ThermalGrid_t * | tgrid, |
| Dimensions_t * | dimensions, | ||
| CellIndex_t | layer_index, | ||
| CellIndex_t | row_index, | ||
| CellIndex_t | column_index | ||
| ) |
Return the top conductance of a thermal cell at a given position
The function prints a message on stderr in case of error
| tgrid | pointer to the thermal grid structure |
| dimensions | pointer to the structure storing the dimensions |
| layer_index | the index of the layer |
| row_index | the index of the row |
| column_index | the index of the column |
Definition at line 903 of file thermal_grid.c.
| Conductance_t get_conductance_west | ( | ThermalGrid_t * | tgrid, |
| Dimensions_t * | dimensions, | ||
| CellIndex_t | layer_index, | ||
| CellIndex_t | row_index, | ||
| CellIndex_t | column_index | ||
| ) |
Return the west conductance of a thermal cell at a given position
The function prints a message on stderr in case of error
| tgrid | pointer to the thermal grid structure |
| dimensions | pointer to the structure storing the dimensions |
| layer_index | the index of the layer |
| row_index | the index of the row |
| column_index | the index of the column |
Definition at line 1505 of file thermal_grid.c.
| Error_t thermal_grid_build | ( | ThermalGrid_t * | tgrid, |
| Dimensions_t * | dimensions | ||
| ) |
Alloc memory to store thermal grid informations
| tgrid | pointer to the thermal grid structure |
| dimensions | pointer to the structure storing the dimensions |
TDICE_ERROR if the memory allocation fails TDICE_SUCCESS otherwise Definition at line 59 of file thermal_grid.c.
| void thermal_grid_destroy | ( | ThermalGrid_t * | tgrid | ) |
Destroys the content of the fields of the structure tgrid
The function releases any dynamic memory used by the structure and resets its state calling thermal_grid_init .
| tgrid | the address of the structure to destroy |
Definition at line 96 of file thermal_grid.c.
| Error_t thermal_grid_fill | ( | ThermalGrid_t * | tgrid, |
| StackElementList_t * | list | ||
| ) |
Fills a thermal grid
| tgrid | pointer to the thermal grid |
| list | pointer to the list of stack elements |
TDICE_SUCCESS otherwise Definition at line 117 of file thermal_grid.c.
| void thermal_grid_init | ( | ThermalGrid_t * | tgrid | ) |
Inits the fields of the tgrid structure with default values
| tgrid | the address of the structure to initalize |
Definition at line 47 of file thermal_grid.c.