VPR-7.0
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
OptionTokens.c
Go to the documentation of this file.
1
#include "
util.h
"
2
#include "
vpr_types.h
"
3
#include "
OptionTokens.h
"
4
5
/* OptionBaseTokenList is for command line arg tokens. We will track how
6
* many times each of these things exist in a file */
7
struct
s_TokenPair
OptionBaseTokenList
[] = {
8
{
"settings_file"
,
OT_SETTINGS_FILE
}, {
"nodisp"
,
OT_NODISP
}, {
9
"auto"
,
OT_AUTO
}, {
"recompute_crit_iter"
,
10
OT_RECOMPUTE_CRIT_ITER
}, {
"inner_loop_recompute_divider"
,
11
OT_INNER_LOOP_RECOMPUTE_DIVIDER
}, {
"fix_pins"
,
OT_FIX_PINS
},
12
{
"full_stats"
,
OT_FULL_STATS
}, {
"fast"
,
OT_FAST
}, {
"echo_file"
,
13
OT_CREATE_ECHO_FILE
}, {
"gen_postsynthesis_netlist"
,
14
OT_GENERATE_POST_SYNTHESIS_NETLIST
}, {
"timing_analysis"
,
15
OT_TIMING_ANALYSIS
}, {
"timing_analyze_only_with_net_delay"
,
16
OT_TIMING_ANALYZE_ONLY_WITH_NET_DELAY
},
17
{
"init_t"
,
OT_INIT_T
}, {
"alpha_t"
,
OT_ALPHA_T
}, {
"exit_t"
,
18
OT_EXIT_T
}, {
"inner_num"
,
OT_INNER_NUM
}, {
"seed"
,
OT_SEED
},
19
{
"place_cost_exp"
,
OT_PLACE_COST_EXP
}, {
"td_place_exp_first"
,
20
OT_TD_PLACE_EXP_FIRST
}, {
"td_place_exp_last"
,
21
OT_TD_PLACE_EXP_LAST
},
22
{
"place_algorithm"
,
OT_PLACE_ALGORITHM
}, {
"timing_tradeoff"
,
23
OT_TIMING_TRADEOFF
}, {
"enable_timing_computations"
,
24
OT_ENABLE_TIMING_COMPUTATIONS
},
25
{
"block_dist"
,
OT_BLOCK_DIST
}, {
"place_chan_width"
,
26
OT_PLACE_CHAN_WIDTH
}, {
"max_router_iterations"
,
27
OT_MAX_ROUTER_ITERATIONS
}, {
"bb_factor"
,
OT_BB_FACTOR
}, {
28
"router_algorithm"
,
OT_ROUTER_ALGORITHM
}, {
29
"first_iter_pres_fac"
,
OT_FIRST_ITER_PRES_FAC
}, {
30
"initial_pres_fac"
,
OT_INITIAL_PRES_FAC
}, {
"pres_fac_mult"
,
31
OT_PRES_FAC_MULT
}, {
"acc_fac"
,
OT_ACC_FAC
}, {
"astar_fac"
,
32
OT_ASTAR_FAC
}, {
"max_criticality"
,
OT_MAX_CRITICALITY
}, {
33
"criticality_exp"
,
OT_CRITICALITY_EXP
}, {
"base_cost_type"
,
34
OT_BASE_COST_TYPE
}, {
"bend_cost"
,
OT_BEND_COST
}, {
35
"route_type"
,
OT_ROUTE_TYPE
}, {
"route_chan_width"
,
36
OT_ROUTE_CHAN_WIDTH
}, {
"route"
,
OT_ROUTE
}, {
"place"
,
37
OT_PLACE
}, {
"verify_binary_search"
,
OT_VERIFY_BINARY_SEARCH
},
38
{
"outfile_prefix"
,
OT_OUTFILE_PREFIX
}, {
"blif_file"
,
OT_BLIF_FILE
},
39
{
"net_file"
,
OT_NET_FILE
}, {
"place_file"
,
OT_PLACE_FILE
}, {
40
"route_file"
,
OT_ROUTE_FILE
}, {
"sdc_file"
,
OT_SDC_FILE
}, {
41
"global_clocks"
,
OT_GLOBAL_CLOCKS
}, {
"hill_climbing"
,
42
OT_HILL_CLIMBING_FLAG
}, {
"sweep_hanging_nets_and_inputs"
,
43
OT_SWEEP_HANGING_NETS_AND_INPUTS
}, {
"no_clustering"
,
44
OT_SKIP_CLUSTERING
}, {
"allow_unrelated_clustering"
,
45
OT_ALLOW_UNRELATED_CLUSTERING
}, {
"allow_early_exit"
,
46
OT_ALLOW_EARLY_EXIT
}, {
"connection_driven_clustering"
,
47
OT_CONNECTION_DRIVEN_CLUSTERING
}, {
"timing_driven_clustering"
,
48
OT_TIMING_DRIVEN_CLUSTERING
}, {
"cluster_seed_type"
,
49
OT_CLUSTER_SEED
}, {
"alpha_clustering"
,
OT_ALPHA_CLUSTERING
},
50
{
"beta_clustering"
,
OT_BETA_CLUSTERING
}, {
"recompute_timing_after"
,
51
OT_RECOMPUTE_TIMING_AFTER
}, {
"cluster_block_delay"
,
52
OT_CLUSTER_BLOCK_DELAY
}, {
"intra_cluster_net_delay"
,
53
OT_INTRA_CLUSTER_NET_DELAY
}, {
"inter_cluster_net_delay"
,
54
OT_INTER_CLUSTER_NET_DELAY
}, {
"pack"
,
OT_PACK
}, {
55
"packer_algorithm"
,
OT_PACKER_ALGORITHM
},
/**/
56
{
"activity_file"
,
OT_ACTIVITY_FILE
},
/* Activity file */
57
{
"power_output_file"
,
OT_POWER_OUT_FILE
},
/* Output file for power results */
58
{
"power"
,
OT_POWER
},
/* Run power estimation? */
59
{
"tech_properties"
,
OT_CMOS_TECH_BEHAVIOR_FILE
},
/* Technology properties */
60
{ NULL,
OT_BASE_UNKNOWN
}
/* End of list marker */
61
};
62
63
struct
s_TokenPair
OptionArgTokenList
[] = { {
"on"
,
OT_ON
}, {
"off"
,
OT_OFF
},
64
{
"random"
,
OT_RANDOM
}, {
"bounding_box"
,
OT_BOUNDING_BOX
}, {
65
"net_timing_driven"
,
OT_NET_TIMING_DRIVEN
}, {
66
"path_timing_driven"
,
OT_PATH_TIMING_DRIVEN
}, {
67
"breadth_first"
,
OT_BREADTH_FIRST
}, {
"timing_driven"
,
68
OT_TIMING_DRIVEN
}, {
"NO_TIMING"
,
OT_NO_TIMING
}, {
69
"intrinsic_delay"
,
OT_INTRINSIC_DELAY
}, {
"delay_normalized"
,
70
OT_DELAY_NORMALIZED
}, {
"demand_only"
,
OT_DEMAND_ONLY
}, {
71
"global"
,
OT_GLOBAL
}, {
"detailed"
,
OT_DETAILED
}, {
"timing"
,
72
OT_TIMING
}, {
"max_inputs"
,
OT_MAX_INPUTS
}, {
"greedy"
,
73
OT_GREEDY
}, {
"lp"
,
OT_LP
}, {
"brute_force"
,
OT_BRUTE_FORCE
},
74
{ NULL,
OT_BASE_UNKNOWN
}
/* End of list marker */
75
};
OT_PACKER_ALGORITHM
Definition:
OptionTokens.h:72
OT_EXIT_T
Definition:
OptionTokens.h:22
OT_ENABLE_TIMING_COMPUTATIONS
Definition:
OptionTokens.h:30
OT_PLACE_ALGORITHM
Definition:
OptionTokens.h:28
OT_TIMING
Definition:
OptionTokens.h:95
OT_CMOS_TECH_BEHAVIOR_FILE
Definition:
OptionTokens.h:76
OT_PLACE_CHAN_WIDTH
Definition:
OptionTokens.h:32
OT_PRES_FAC_MULT
Definition:
OptionTokens.h:38
OT_FIX_PINS
Definition:
OptionTokens.h:12
OT_TIMING_ANALYSIS
Definition:
OptionTokens.h:17
OT_BB_FACTOR
Definition:
OptionTokens.h:34
OT_ROUTE
Definition:
OptionTokens.h:47
OT_TIMING_ANALYZE_ONLY_WITH_NET_DELAY
Definition:
OptionTokens.h:18
OT_BEND_COST
Definition:
OptionTokens.h:44
OT_BASE_UNKNOWN
Definition:
OptionTokens.h:77
OT_MAX_ROUTER_ITERATIONS
Definition:
OptionTokens.h:33
OT_TD_PLACE_EXP_FIRST
Definition:
OptionTokens.h:26
OptionBaseTokenList
struct s_TokenPair OptionBaseTokenList[]
Definition:
OptionTokens.c:7
OT_ACC_FAC
Definition:
OptionTokens.h:39
OT_OUTFILE_PREFIX
Definition:
OptionTokens.h:50
OT_FAST
Definition:
OptionTokens.h:15
OT_NET_TIMING_DRIVEN
Definition:
OptionTokens.h:85
OT_BASE_COST_TYPE
Definition:
OptionTokens.h:43
OT_CLUSTER_SEED
Definition:
OptionTokens.h:64
OT_POWER
Definition:
OptionTokens.h:73
OT_NODISP
Definition:
OptionTokens.h:8
OT_CLUSTER_BLOCK_DELAY
Definition:
OptionTokens.h:68
OT_SDC_FILE
Definition:
OptionTokens.h:55
OT_NO_TIMING
Definition:
OptionTokens.h:89
OT_BLIF_FILE
Definition:
OptionTokens.h:51
OT_DETAILED
Definition:
OptionTokens.h:94
OT_ON
Definition:
OptionTokens.h:81
OT_HILL_CLIMBING_FLAG
Definition:
OptionTokens.h:57
OT_SETTINGS_FILE
Definition:
OptionTokens.h:7
vpr_types.h
OT_INNER_NUM
Definition:
OptionTokens.h:23
OT_SKIP_CLUSTERING
Definition:
OptionTokens.h:59
OT_ACTIVITY_FILE
Definition:
OptionTokens.h:74
OT_ROUTE_FILE
Definition:
OptionTokens.h:54
OT_ROUTE_CHAN_WIDTH
Definition:
OptionTokens.h:46
OT_RECOMPUTE_TIMING_AFTER
Definition:
OptionTokens.h:67
OT_BETA_CLUSTERING
Definition:
OptionTokens.h:66
OT_PACK
Definition:
OptionTokens.h:71
OT_GENERATE_POST_SYNTHESIS_NETLIST
Definition:
OptionTokens.h:19
OptionTokens.h
OT_INTRA_CLUSTER_NET_DELAY
Definition:
OptionTokens.h:69
OT_AUTO
Definition:
OptionTokens.h:9
OT_PATH_TIMING_DRIVEN
Definition:
OptionTokens.h:86
OT_BREADTH_FIRST
Definition:
OptionTokens.h:87
OT_TD_PLACE_EXP_LAST
Definition:
OptionTokens.h:27
OT_ASTAR_FAC
Definition:
OptionTokens.h:40
OT_INNER_LOOP_RECOMPUTE_DIVIDER
Definition:
OptionTokens.h:11
OT_INIT_T
Definition:
OptionTokens.h:20
OT_CREATE_ECHO_FILE
Definition:
OptionTokens.h:16
OT_RECOMPUTE_CRIT_ITER
Definition:
OptionTokens.h:10
OT_INITIAL_PRES_FAC
Definition:
OptionTokens.h:37
OT_BOUNDING_BOX
Definition:
OptionTokens.h:84
OT_OFF
Definition:
OptionTokens.h:82
OT_ROUTER_ALGORITHM
Definition:
OptionTokens.h:35
OT_CRITICALITY_EXP
Definition:
OptionTokens.h:42
OT_DEMAND_ONLY
Definition:
OptionTokens.h:92
util.h
s_TokenPair
Definition:
vpr_types.h:1026
OT_MAX_CRITICALITY
Definition:
OptionTokens.h:41
OT_ALPHA_T
Definition:
OptionTokens.h:21
OptionArgTokenList
struct s_TokenPair OptionArgTokenList[]
Definition:
OptionTokens.c:63
OT_ALPHA_CLUSTERING
Definition:
OptionTokens.h:65
OT_ALLOW_EARLY_EXIT
Definition:
OptionTokens.h:61
OT_BLOCK_DIST
Definition:
OptionTokens.h:31
OT_SEED
Definition:
OptionTokens.h:24
OT_FULL_STATS
Definition:
OptionTokens.h:13
OT_VERIFY_BINARY_SEARCH
Definition:
OptionTokens.h:49
OT_SWEEP_HANGING_NETS_AND_INPUTS
Definition:
OptionTokens.h:58
OT_LP
Definition:
OptionTokens.h:98
OT_RANDOM
Definition:
OptionTokens.h:83
OT_POWER_OUT_FILE
Definition:
OptionTokens.h:75
OT_GREEDY
Definition:
OptionTokens.h:97
OT_FIRST_ITER_PRES_FAC
Definition:
OptionTokens.h:36
OT_GLOBAL
Definition:
OptionTokens.h:93
OT_TIMING_DRIVEN_CLUSTERING
Definition:
OptionTokens.h:63
OT_GLOBAL_CLOCKS
Definition:
OptionTokens.h:56
OT_BRUTE_FORCE
Definition:
OptionTokens.h:99
OT_DELAY_NORMALIZED
Definition:
OptionTokens.h:91
OT_PLACE_COST_EXP
Definition:
OptionTokens.h:25
OT_INTER_CLUSTER_NET_DELAY
Definition:
OptionTokens.h:70
OT_TIMING_TRADEOFF
Definition:
OptionTokens.h:29
OT_ROUTE_TYPE
Definition:
OptionTokens.h:45
OT_CONNECTION_DRIVEN_CLUSTERING
Definition:
OptionTokens.h:62
OT_TIMING_DRIVEN
Definition:
OptionTokens.h:88
OT_NET_FILE
Definition:
OptionTokens.h:52
OT_PLACE_FILE
Definition:
OptionTokens.h:53
OT_INTRINSIC_DELAY
Definition:
OptionTokens.h:90
OT_PLACE
Definition:
OptionTokens.h:48
OT_MAX_INPUTS
Definition:
OptionTokens.h:96
OT_ALLOW_UNRELATED_CLUSTERING
Definition:
OptionTokens.h:60
vpr
SRC
base
OptionTokens.c
Generated on Mon Dec 15 2014 11:07:37 for VPR-7.0 by
1.8.6