Merge pull request #143 from cr1901/bels-rg

Reverse belsUphill and belsDownhill assignments- agreed to be typo.
diff --git a/libtrellis/src/RoutingGraph.cpp b/libtrellis/src/RoutingGraph.cpp
index 728a9bd..05a7222 100644
--- a/libtrellis/src/RoutingGraph.cpp
+++ b/libtrellis/src/RoutingGraph.cpp
@@ -147,7 +147,7 @@
     belId.loc = bel.loc;
     add_wire(wireId);
     bel.pins[pin] = make_pair(wireId, PORT_IN);
-    tiles[wireId.loc].wires[wireId.id].belsUphill.push_back(make_pair(belId, pin));
+    tiles[wireId.loc].wires[wireId.id].belsDownhill.push_back(make_pair(belId, pin));
 }
 
 void RoutingGraph::add_bel_output(RoutingBel &bel, ident_t pin, int wire_x, int wire_y, ident_t wire_name) {
@@ -159,7 +159,7 @@
     belId.loc = bel.loc;
     add_wire(wireId);
     bel.pins[pin] = make_pair(wireId, PORT_OUT);
-    tiles[wireId.loc].wires[wireId.id].belsDownhill.push_back(make_pair(belId, pin));
+    tiles[wireId.loc].wires[wireId.id].belsUphill.push_back(make_pair(belId, pin));
 }
 
 }