00001 extern boolean WMF_DEBUG; 00002 extern char *OutFilePrefix; 00003 00004 extern float grid_logic_tile_area; 00005 extern float ipin_mux_trans_size; 00006 00007 extern int num_nets; 00008 extern struct s_net *net; 00009 00010 extern int num_blocks; 00011 extern struct s_block *block; 00012 00013 /* Physical FPGA architecture stuff */ 00014 extern int nx, ny; 00015 00016 /* chan_width_x is the x-directed channel; i.e. between rows */ 00017 extern int *chan_width_x, *chan_width_y; /* numerical form */ 00018 extern struct s_grid_tile **grid; 00019 00020 /* [0..num_nets-1] of linked list start pointers. Defines the routing. */ 00021 extern struct s_trace **trace_head, **trace_tail; 00022 00023 /* Structures to define the routing architecture of the FPGA. */ 00024 extern int num_rr_nodes; 00025 extern t_rr_node *rr_node; /* [0..num_rr_nodes-1] */ 00026 extern int num_rr_indexed_data; 00027 extern t_rr_indexed_data *rr_indexed_data; /* [0 .. num_rr_indexed_data-1] */ 00028 extern t_ivec ***rr_node_indices; 00029 extern int **net_rr_terminals; /* [0..num_nets-1][0..num_pins-1] */ 00030 extern struct s_switch_inf *switch_inf; /* [0..det_routing_arch.num_switch-1] */ 00031 extern int **rr_blk_source; /* [0..num_blocks-1][0..num_class-1] */ 00032 00033 /* This identifies the t_type_ptr of an IO block */ 00034 extern t_type_ptr IO_TYPE; 00035 00036 /* This identifies the t_type_ptr of an Empty block */ 00037 extern t_type_ptr EMPTY_TYPE; 00038 00039 /* This identifies the t_type_ptr of the default logic block */ 00040 extern t_type_ptr FILL_TYPE; 00041 00042 /* Total number of type_descriptors */ 00043 extern int num_types; 00044 extern struct s_type_descriptor *type_descriptors;