SpiNNFrontEndCommon 7.3.1
Common support code for user-facing front end systems.
Loading...
Searching...
No Matches
constants.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2019 The University of Manchester
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * https://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
21#ifndef __CONSTANTS_H__
22#define __CONSTANTS_H__
23
25#define MAX_PROCESSORS 18
26
28#define TARGET_LENGTH 1023
29
31#define _SDP_TIMEOUT 100
32
34#define RANDOM_PORT 4
35
37#define WORD_TO_BYTE_MULTIPLIER 4
38
40#define REPLY_NOT_EXPECTED 0x07
41
43#define BITS_IN_A_WORD 32
44
47#define FAILED_TO_FIND -1
48
50#define CORE_MOVE 16
51
53#define FINISHED_STATE_MASK 0x0000FFFF
54
56#define N_UNCOMPRESSED_TABLE 1
57
59#define NO_BIT_FIELDS 0
60
61#endif // __CONSTANTS_H__