302 int imacro, imember, num_macro;
303 int *pl_macro_idirect, *pl_macro_num_members, **pl_macro_member_blk_num,
304 *pl_macro_member_blk_num_of_this_blk;
326 pl_macro_idirect, pl_macro_num_members, pl_macro_member_blk_num);
333 for (imacro = 0; imacro < num_macro; imacro++) {
334 macro[imacro].
num_blocks = pl_macro_num_members[imacro];
339 for (imember = 0; imember < macro[imacro].
num_blocks; imember++) {
343 macro[imacro].
members[imember].
blk_index = pl_macro_member_blk_num[imacro][imember];
348 free(pl_macro_num_members);
349 free(pl_macro_idirect);
350 for(imacro=0; imacro < num_macro; imacro++) {
351 free(pl_macro_member_blk_num[imacro]);
353 free(pl_macro_member_blk_num);
354 free(pl_macro_member_blk_num_of_this_blk);
static int ** f_direct_type_from_blk_pin
void * my_calloc(size_t nelem, size_t size)
static int ** f_idirect_from_blk_pin
static void find_all_the_macro(int *num_of_macro, int *pl_macro_member_blk_num_of_this_blk, int *pl_macro_idirect, int *pl_macro_num_members, int **pl_macro_member_blk_num)
t_pl_macro_member * members
static void * my_malloc(int ibytes)
void alloc_and_load_idirect_from_blk_pin(t_direct_inf *directs, int num_directs, int ***idirect_from_blk_pin, int ***direct_type_from_blk_pin)