#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 17 of file CheckArch.c.
static void CheckSegments(INP t_arch Arch)
static void CheckSwitches(INP t_arch Arch, INP boolean TimingEnabled)
Definition at line 51 of file CheckArch.c.
55 CurSeg = Arch.Segments;
56 for (i = 0; i < Arch.num_segments; i++) {
58 && CurSeg[i].longline ==
TRUE) {
59 vpr_printf(TIO_MESSAGE_ERROR,
"Long lines not supported for unidirectional architectures.\n");
Definition at line 22 of file CheckArch.c.
27 CurSwitch = Arch.Switches;
28 for (i = 0; i < Arch.num_switches; i++) {
36 if (CurSwitch->
R > 2 * Arch.R_minW_nmos) {
37 vpr_printf(TIO_MESSAGE_ERROR,
"Switch %s R value (%g) is greater than 2 * R_minW_nmos (%g).\n",
38 CurSwitch->
name, CurSwitch->
R, (2 * Arch.R_minW_nmos));
42 if (CurSwitch->
R > Arch.R_minW_nmos) {
43 vpr_printf(TIO_MESSAGE_ERROR,
"Switch %s R value (%g) is greater than R_minW_nmos (%g).\n",
44 CurSwitch->
name, CurSwitch->
R, Arch.R_minW_nmos);