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);
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");
static void CheckSegments(INP t_arch Arch)
static void CheckSwitches(INP t_arch Arch, INP boolean TimingEnabled)
void CheckArch(INP t_arch Arch, INP boolean TimingEnabled)