VPR-6.0

vpr/SRC/base/OptionTokens.c

Go to the documentation of this file.
00001 #include "util.h"
00002 #include "vpr_types.h"
00003 #include "OptionTokens.h"
00004 
00005 /** OptionBaseTokenList is for command line arg tokens. We will track how 
00006  * many times each of these things exist in a file 
00007  */
00008 const struct s_TokenPair OptionBaseTokenList[] = {
00009     {"nodisp", OT_NODISP},
00010     {"auto", OT_AUTO},
00011     {"recompute_crit_iter", OT_RECOMPUTE_CRIT_ITER},
00012     {"inner_loop_recompute_divider", OT_INNER_LOOP_RECOMPUTE_DIVIDER},
00013     {"fix_pins", OT_FIX_PINS},
00014     {"full_stats", OT_FULL_STATS},
00015     {"fast", OT_FAST},
00016     {"timing_analysis", OT_TIMING_ANALYSIS},
00017     {"timing_analyze_only_with_net_delay",
00018      OT_TIMING_ANALYZE_ONLY_WITH_NET_DELAY},
00019     {"init_t", OT_INIT_T},
00020     {"alpha_t", OT_ALPHA_T},
00021     {"exit_t", OT_EXIT_T},
00022     {"inner_num", OT_INNER_NUM},
00023     {"seed", OT_SEED},
00024     {"place_cost_exp", OT_PLACE_COST_EXP},
00025     {"td_place_exp_first", OT_TD_PLACE_EXP_FIRST},
00026     {"td_place_exp_last", OT_TD_PLACE_EXP_LAST},
00027     {"place_algorithm", OT_PLACE_ALGORITHM},
00028     {"timing_tradeoff", OT_TIMING_TRADEOFF},
00029     {"enable_timing_computations", OT_ENABLE_TIMING_COMPUTATIONS},
00030     {"block_dist", OT_BLOCK_DIST},
00031     {"place_cost_type", OT_PLACE_COST_TYPE},
00032     {"num_regions", OT_NUM_REGIONS},
00033     {"place_chan_width", OT_PLACE_CHAN_WIDTH},
00034     {"max_router_iterations", OT_MAX_ROUTER_ITERATIONS},
00035     {"bb_factor", OT_BB_FACTOR},
00036     {"router_algorithm", OT_ROUTER_ALGORITHM},
00037     {"first_iter_pres_fac", OT_FIRST_ITER_PRES_FAC},
00038     {"initial_pres_fac", OT_INITIAL_PRES_FAC},
00039     {"pres_fac_mult", OT_PRES_FAC_MULT},
00040     {"acc_fac", OT_ACC_FAC},
00041     {"astar_fac", OT_ASTAR_FAC},
00042     {"max_criticality", OT_MAX_CRITICALITY},
00043     {"criticality_exp", OT_CRITICALITY_EXP},
00044     {"base_cost_type", OT_BASE_COST_TYPE},
00045     {"bend_cost", OT_BEND_COST},
00046     {"route_type", OT_ROUTE_TYPE},
00047     {"route_chan_width", OT_ROUTE_CHAN_WIDTH},
00048     {"route", OT_ROUTE},
00049     {"place", OT_PLACE},
00050     {"verify_binary_search", OT_VERIFY_BINARY_SEARCH},
00051     {"outfile_prefix", OT_OUTFILE_PREFIX},
00052         {"blif_file", OT_BLIF_FILE},
00053         {"net_file", OT_NET_FILE},
00054         {"place_file", OT_PLACE_FILE},
00055         {"route_file", OT_ROUTE_FILE},
00056         {"global_clocks", OT_GLOBAL_CLOCKS},
00057         {"hill_climbing", OT_HILL_CLIMBING_FLAG},
00058         {"sweep_hanging_nets_and_inputs", OT_SWEEP_HANGING_NETS_AND_INPUTS},
00059         {"no_clustering", OT_SKIP_CLUSTERING},
00060         {"allow_unrelated_clustering", OT_ALLOW_UNRELATED_CLUSTERING},
00061         {"allow_early_exit", OT_ALLOW_EARLY_EXIT},
00062         {"connection_driven_clustering", OT_CONNECTION_DRIVEN_CLUSTERING},
00063         {"timing_driven_clustering", OT_TIMING_DRIVEN_CLUSTERING},
00064         {"cluster_seed_type", OT_CLUSTER_SEED},
00065         {"alpha_clustering", OT_ALPHA_CLUSTERING},
00066         {"beta_clustering", OT_BETA_CLUSTERING},
00067         {"recompute_timing_after", OT_RECOMPUTE_TIMING_AFTER},
00068         {"cluster_block_delay", OT_CLUSTER_BLOCK_DELAY},
00069         {"intra_cluster_net_delay", OT_INTRA_CLUSTER_NET_DELAY},
00070         {"inter_cluster_net_delay", OT_INTER_CLUSTER_NET_DELAY},
00071         {"pack", OT_PACK},
00072         {"packer_algorithm", OT_PACKER_ALGORITHM},
00073     {"hack_no_legal_frac_lut", OT_HACK_NO_LEGAL_FRAC_LUT},
00074         {"hack_safe_latch", OT_HACK_SAFE_LATCH},
00075     {NULL, OT_BASE_UNKNOWN}     /* End of list marker */
00076 };
00077 
00078 
00079 const struct s_TokenPair OptionArgTokenList[] = {
00080     {"on", OT_ON},
00081     {"off", OT_OFF},
00082     {"random", OT_RANDOM},
00083     {"bounding_box", OT_BOUNDING_BOX},
00084     {"net_timing_driven", OT_NET_TIMING_DRIVEN},
00085     {"path_timing_driven", OT_PATH_TIMING_DRIVEN},
00086     {"linear", OT_LINEAR},
00087     {"nonlinear", OT_NONLINEAR},
00088     {"breadth_first", OT_BREADTH_FIRST},
00089     {"timing_driven", OT_TIMING_DRIVEN},
00090     {"directed_search", OT_DIRECTED_SEARCH},
00091         {"intrinsic_delay", OT_INTRINSIC_DELAY},
00092         {"delay_normalized", OT_DELAY_NORMALIZED},
00093         {"demand_only", OT_DEMAND_ONLY},
00094     {"global", OT_GLOBAL},
00095     {"detailed", OT_DETAILED},
00096         {"timing", OT_TIMING},
00097         {"max_inputs", OT_MAX_INPUTS},
00098         {"greedy", OT_GREEDY},
00099         {"lp", OT_LP},
00100         {"brute_force", OT_BRUTE_FORCE},
00101     {NULL, OT_BASE_UNKNOWN}     /* End of list marker */
00102 };