Last change
on this file since 1053 was
1016,
checked in by cfuguet, 9 years ago
|
reconf: dspin_router
- improve the code readability of the dspin_router model.
- update the unitary tests of the dspin_router to support the local
gateway hardware barrier, and the memory cache scratchpad mode.
|
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 | NORMAL = 0, |
---|
44 | N_OF_X = 1, |
---|
45 | NE_OF_X = 2, |
---|
46 | E_OF_X = 3, |
---|
47 | SE_OF_X = 4, |
---|
48 | S_OF_X = 5, |
---|
49 | SW_OF_X = 6, |
---|
50 | W_OF_X = 7, |
---|
51 | NW_OF_X = 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.