SpiNNFrontEndCommon 7.3.1
Common support code for user-facing front end systems.
Loading...
Searching...
No Matches
Macros
constants.h File Reference

General constants. More...

Go to the source code of this file.

Macros

#define MAX_PROCESSORS   18
 max number of processors on chip used for app purposes
 
#define TARGET_LENGTH   1023
 max length of the router table entries
 
#define RANDOM_PORT   4
 random port as 0 is in use by scamp/sark
 
#define WORD_TO_BYTE_MULTIPLIER   4
 word to byte multiplier
 
#define REPLY_NOT_EXPECTED   0x07
 SDP flag for not requiring a reply.
 
#define BITS_IN_A_WORD   32
 bits in a word
 
#define FAILED_TO_FIND   -1
 
#define CORE_MOVE   16
 move for processor id in the circular queue
 
#define FINISHED_STATE_MASK   0x0000FFFF
 mask to get the finished state
 
#define N_UNCOMPRESSED_TABLE   1
 how many tables the uncompressed router table entries is
 
#define NO_BIT_FIELDS   0
 number of bitfields that no bitfields run needs
 

Detailed Description

General constants.

Definition in file constants.h.

Macro Definition Documentation

◆ MAX_PROCESSORS

#define MAX_PROCESSORS   18

max number of processors on chip used for app purposes

Definition at line 25 of file constants.h.

◆ TARGET_LENGTH

#define TARGET_LENGTH   1023

max length of the router table entries

Definition at line 28 of file constants.h.

◆ RANDOM_PORT

#define RANDOM_PORT   4

random port as 0 is in use by scamp/sark

Definition at line 34 of file constants.h.

◆ WORD_TO_BYTE_MULTIPLIER

#define WORD_TO_BYTE_MULTIPLIER   4

word to byte multiplier

Definition at line 37 of file constants.h.

◆ REPLY_NOT_EXPECTED

#define REPLY_NOT_EXPECTED   0x07

SDP flag for not requiring a reply.

Definition at line 40 of file constants.h.

◆ BITS_IN_A_WORD

#define BITS_IN_A_WORD   32

bits in a word

Definition at line 43 of file constants.h.

◆ FAILED_TO_FIND

#define FAILED_TO_FIND   -1

flag saying there is no valid result for a given search ( locate processor, locate midpoint)

Definition at line 47 of file constants.h.

◆ CORE_MOVE

#define CORE_MOVE   16

move for processor id in the circular queue

Definition at line 50 of file constants.h.

◆ FINISHED_STATE_MASK

#define FINISHED_STATE_MASK   0x0000FFFF

mask to get the finished state

Definition at line 53 of file constants.h.

◆ N_UNCOMPRESSED_TABLE

#define N_UNCOMPRESSED_TABLE   1

how many tables the uncompressed router table entries is

Definition at line 56 of file constants.h.

◆ NO_BIT_FIELDS

#define NO_BIT_FIELDS   0

number of bitfields that no bitfields run needs

Definition at line 59 of file constants.h.