43#include "../bison/floorplan_parser.h"
44#include "../flex/floorplan_scanner.h"
51extern int floorplan_parser_parse
68 input = fopen (filename,
"r") ;
72 fprintf (stderr,
"Unable to open floorplan file %s\n", filename) ;
79 floorplan_parser_lex_init (&scanner) ;
80 floorplan_parser_set_in (input, scanner) ;
83 result = floorplan_parser_parse (floorplan, dimensions, scanner) ;
85 floorplan_parser_lex_destroy (scanner) ;
105 FILE *out = fopen (filename,
"w") ;
109 fprintf (stderr,
"Unable to open stack file %s\n", filename) ;
void floorplan_print(Floorplan_t *floorplan, FILE *stream, String_t prefix)
Error_t generate_floorplan_file(String_t filename, Floorplan_t *floorplan)
Error_t parse_floorplan_file(String_t filename, Floorplan_t *floorplan, Dimensions_t *dimensions)
void string_copy(String_t *dst, String_t *src)
Collections of all the structures that are needed for the thermal simulation.
The floorplan representing the IC as a set of floorplan elements.
@ TDICE_SUCCESS
The function returns with success.
@ TDICE_FAILURE
The function retuerns with a generic error.