43#include "../bison/stack_description_parser.h"
44#include "../flex/stack_description_scanner.h"
51extern int stack_description_parse
73 input = fopen (filename,
"r") ;
76 fprintf (stderr,
"Unable to open stack file %s\n", filename) ;
83 stack_description_lex_init (&scanner) ;
84 stack_description_set_in (input, scanner) ;
86 result = stack_description_parse (stkd, analysis, output, scanner) ;
88 stack_description_lex_destroy (scanner) ;
115 FILE *out = fopen (filename,
"w") ;
119 fprintf (stderr,
"Unable to open stack file %s\n", filename) ;
126 fprintf (out,
"\n") ;
130 fprintf (out,
"\n") ;
void analysis_print(Analysis_t *analysis, FILE *stream, String_t prefix)
void output_print(Output_t *output, FILE *stream, String_t prefix)
void stack_description_print(StackDescription_t *stkd, FILE *stream, String_t prefix)
Error_t parse_stack_description_file(String_t filename, StackDescription_t *stkd, Analysis_t *analysis, Output_t *output)
Error_t generate_stack_description_file(String_t filename, StackDescription_t *stkd, Analysis_t *analysis, Output_t *output)
void string_copy(String_t *dst, String_t *src)
Informations about the type of thermal simulation to be run, timing and its initial settings.
Informations about the type of thermal simulation to be run and its initial settings.
Structure containing all the informations related to the 3d stack.
@ TDICE_SUCCESS
The function returns with success.
@ TDICE_FAILURE
The function retuerns with a generic error.