#include <assert.h>
#include "util.h"
#include "vpr_types.h"
#include "globals.h"
#include "OptionTokens.h"
#include "ReadOptions.h"
#include "read_xml_arch_file.h"
#include "SetupVPR.h"
Go to the source code of this file.
Definition at line 12 of file CheckOptions.c.
25 if ((NULL == Options.CircuitName) || (NULL == Options.ArchFile)) {
26 vpr_printf(TIO_MESSAGE_ERROR,
"Not enough args. Need at least 'vpr <archfile> <circuit_name>'.\n");
33 if (Options.Count[Cur->
Enum] > 1) {
34 vpr_printf(TIO_MESSAGE_ERROR,
"Parameter '%s' was specified more than once on command line.\n", Cur->
Str);
48 vpr_printf(TIO_MESSAGE_ERROR,
"'cluster'/'route'/'place', and 'timing_analysis_only_with_net_delay' are mutually exclusive flags..\n");
53 TimingPlacer = (
boolean)((Options.Count[
OT_PLACE] || default_flow) && TimingEnabled);
63 TimingRouter = (
boolean)((Options.Count[
OT_ROUTE] || default_flow) && TimingEnabled);
72 if (Options.Count[
OT_SEED] > 0) {
106 if ((Options.Count[
OT_PLACE] == 0) && !default_flow
110 if (Yes == Cur->
Enum) {
111 vpr_printf(TIO_MESSAGE_ERROR,
"Option '%s' is not allowed when placement is not run.\n", Cur->
Str);
138 if (Yes == Cur->
Enum) {
139 vpr_printf(TIO_MESSAGE_ERROR,
"Option '%s' is not allowed when timing placement is not used.\n", Cur->
Str);
197 if (Yes == Cur->
Enum) {
198 vpr_printf(TIO_MESSAGE_ERROR,
"Option '%s' is not allowed when timing router is not used.\n", Cur->
Str);
struct s_TokenPair OptionBaseTokenList[]