31 #ifndef __SPINN_EXTRA_H__
32 #define __SPINN_EXTRA_H__
34 #include <spinnaker.h>
42 #if defined(__GNUC__) && __GNUC__ < 6
45 #pragma GCC diagnostic ignored "-Wmissing-field-initializers"
60 #define ASSERT_WORD_SIZED(type_ident) \
61 static inline void __static_word_sized_assert_ ## type_ident (void) { \
62 _Static_assert(sizeof(type_ident) == sizeof(uint), \
63 #type_ident " must be the same size as a word"); \
107 struct DOXYNAME(interrupt_bits) {
198 const uint _padding[3];
480 const uint _unused1[1];
502 const uint _unused2[5];
504 const uint statistics[8];
506 const uint _unused3[41];
514 const uint _unused4[29];
516 uint crc_polynomial[32];
541 struct DOXYNAME(common) {
554 struct DOXYNAME(mc) {
563 struct DOXYNAME(p2p) {
572 struct DOXYNAME(nn) {
583 struct DOXYNAME(fr) {
779 struct DOXYNAME(flags) {
800 struct DOXYNAME(control_field_bits) {
931 struct DOXYNAME(error) {
942 struct DOXYNAME(dump) {
965 const uint delay_histogram[16];
1003 struct DOXYNAME(routes) {
1037 struct DOXYNAME(routes) {
1079 (uint *) (RTR_BASE + 0x300);
1388 struct DOXYNAME(tuning) {
1562 struct DOXYNAME(io_bits) {
1710 #define _NUM_TEMPS 3
1711 #define _NUM_ARBITERS 32
1712 #define _NUM_LOCK_REGISTERS 32
1771 const uint _padding[3];
2015 struct DOXYNAME(fields) {
2048 const uint _padding[0x2fa];
Ethernet general command.
Memory controller command.
Memory controller direct command.