43#include "../bison/layout_parser.h"
44#include "../flex/layout_scanner.h"
51extern int layout_parser_parse
54 MaterialList_t *materials, yyscan_t scanner) ;
62 MaterialList_t *materials,
70 input = fopen (filename,
"r") ;
74 fprintf (stderr,
"Unable to open layout file %s\n", filename) ;
81 layout_parser_lex_init (&scanner) ;
82 layout_parser_set_in (input, scanner) ;
85 result = layout_parser_parse (layer, dimensions, materials, scanner) ;
87 layout_parser_lex_destroy (scanner) ;
Error_t parse_layout_file(String_t filename, Layer_t *layer, MaterialList_t *materials, Dimensions_t *dimensions)
void string_copy(String_t *dst, String_t *src)
Collections of all the structures that are needed for the thermal simulation.
Structure used to store data about the layers that compose the 2D/3D stack.
@ TDICE_SUCCESS
The function returns with success.
@ TDICE_FAILURE
The function retuerns with a generic error.