Last change
on this file since 968 was
934,
checked in by cfuguet, 10 years ago
|
reconf: add unitary test for the segment migration mechanism in the
dspin router.
|
File size:
1.5 KB
|
Line | |
---|
1 | /* |
---|
2 | * SOCLIB_LGPL_HEADER_BEGIN |
---|
3 | * |
---|
4 | * This file is part of SoCLib, GNU LGPLv2.1. |
---|
5 | * |
---|
6 | * SoCLib is free software; you can redistribute it and/or modify it |
---|
7 | * under the terms of the GNU Lesser General Public License as published |
---|
8 | * by the Free Software Foundation; version 2.1 of the License. |
---|
9 | * |
---|
10 | * SoCLib is distributed in the hope that it will be useful, but |
---|
11 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
13 | * Lesser General Public License for more details. |
---|
14 | * |
---|
15 | * You should have received a copy of the GNU Lesser General Public |
---|
16 | * License along with SoCLib; if not, write to the Free Software |
---|
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
---|
18 | * 02110-1301 USA |
---|
19 | * |
---|
20 | * SOCLIB_LGPL_HEADER_END |
---|
21 | * |
---|
22 | * Copyright (c) UPMC, Lip6 |
---|
23 | * Cesar Fuguet <cesar.fuguet-tortolero@lip6.fr>, 2014 |
---|
24 | */ |
---|
25 | |
---|
26 | #ifndef DSPIN_ROUTER_CONFIG_H |
---|
27 | #define DSPIN_ROUTER_CONFIG_H |
---|
28 | |
---|
29 | // Port indexing |
---|
30 | enum |
---|
31 | { |
---|
32 | REQ_NORTH = 0, |
---|
33 | REQ_SOUTH = 1, |
---|
34 | REQ_EAST = 2, |
---|
35 | REQ_WEST = 3, |
---|
36 | REQ_LOCAL = 4, |
---|
37 | REQ_NOP = 5, |
---|
38 | }; |
---|
39 | |
---|
40 | // Black-Hole position |
---|
41 | enum |
---|
42 | { |
---|
43 | BH_NONE = 0, |
---|
44 | BH_N = 1, |
---|
45 | BH_NE = 2, |
---|
46 | BH_E = 3, |
---|
47 | BH_SE = 4, |
---|
48 | BH_S = 5, |
---|
49 | BH_SW = 6, |
---|
50 | BH_W = 7, |
---|
51 | BH_NW = 8 |
---|
52 | }; |
---|
53 | |
---|
54 | #endif /* DSPIN_ROUTER_CONFIG_H */ |
---|
55 | |
---|
56 | // Local Variables: |
---|
57 | // tab-width: 4 |
---|
58 | // c-basic-offset: 4 |
---|
59 | // c-file-offsets:((innamespace . 0)(inline-open . 0)) |
---|
60 | // indent-tabs-mode: nil |
---|
61 | // End: |
---|
62 | |
---|
63 | // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=4:softtabstop=4 |
---|
64 | |
---|
Note: See
TracBrowser
for help on using the repository browser.