3D-ICE 3.0.0
|
#include <stdio.h>
#include "types.h"
#include "string_t.h"
#include "channel.h"
#include "heat_sink.h"
#include "die_list.h"
#include "layer_list.h"
#include "dimensions.h"
#include "material_list.h"
#include "stack_element_list.h"
Go to the source code of this file.
Data Structures | |
struct | StackDescription_t |
Structure containing all the informations related to the 3d stack. More... | |
Typedefs | |
typedef struct StackDescription_t | StackDescription_t |
Functions | |
void | stack_description_init (StackDescription_t *stkd) |
void | stack_description_destroy (StackDescription_t *stkd) |
void | stack_description_print (StackDescription_t *stkd, FILE *stream, String_t prefix) |
Quantity_t | get_number_of_floorplan_elements (StackDescription_t *stkd, String_t stack_element_id) |
Quantity_t | get_total_number_of_floorplan_elements (StackDescription_t *stkd) |
typedef struct StackDescription_t StackDescription_t |
Definition of the type StackDescription_t
Definition at line 119 of file stack_description.h.
Quantity_t get_number_of_floorplan_elements | ( | StackDescription_t * | stkd, |
String_t | stack_element_id | ||
) |
Returns the number of floorplan elements in a stack element
The parameter stack_element_id must refer to the ID given to a stack element (of type die) in the stack file used to to fill stkd
stkd | address of the StackDescription structure |
stack_element_id | the id of the stack element |
0
if stack_element_id does not exist in the stack or if it does not refer to a die. Definition at line 130 of file stack_description.c.
Quantity_t get_total_number_of_floorplan_elements | ( | StackDescription_t * | stkd | ) |
Returns the total number of floorplan elements in the whole 3d stack
stkd | address of the StackDescription structure |
Definition at line 158 of file stack_description.c.
void stack_description_destroy | ( | StackDescription_t * | stkd | ) |
Destroys the content of the fields of the structure stkd
The function releases any dynamic memory used by the structure and resets its state calling stack_description_init .
stkd | the address of the structure to destroy |
Definition at line 60 of file stack_description.c.
void stack_description_init | ( | StackDescription_t * | stkd | ) |
Inits the fields of the skd structure with default values
stkd | the address of the structure to initalize |
Definition at line 43 of file stack_description.c.
void stack_description_print | ( | StackDescription_t * | stkd, |
FILE * | stream, | ||
String_t | prefix | ||
) |
Prints the sack descritpion as it looks in the stack file
stkd | the address of the structure to print |
stream | the output stream (must be already open) |
prefix | a string to be printed as prefix at the beginning of each line |
Definition at line 79 of file stack_description.c.