41 #ifndef __ERROR_CODE_H__
42 #define __ERROR_CODE_H__
44 #define NO_KERNEL_ERRORS 0xc00d
46 #define NEW_FIRE_UPDATE_OVERFLOW_ERROR1 0x61
47 #define NEW_FIRE_UPDATE_OVERFLOW_ERROR2 0x62
49 #define STORE_FIRING_ERROR_0 0x54
51 #define ERROR_FIRING_0 0xd0d0
52 #define ERROR_FIRING_1 0xd0d1
53 #define ERROR_FIRING_2 0xd0d2
54 #define ERROR_FIRING_3 0xd0d3
56 #define GLOBAL_STATE_ERROR_0 0xf0f0
58 #define GLOBAL_CONDUCTANCE_ERROR_0 0xfff0
59 #define GLOBAL_CONDUCTANCE_ERROR_1 0xfff1
61 #define STP_ERROR 0xf000
63 #define UPDATE_WEIGHTS_ERROR1 0x80
65 #define CURRENT_UPDATE_ERROR1 0x51
66 #define CURRENT_UPDATE_ERROR2 0x52
67 #define CURRENT_UPDATE_ERROR3 0x53
68 #define CURRENT_UPDATE_ERROR4 0x54
70 #define KERNEL_CURRENT_ERROR0 0x90
71 #define KERNEL_CURRENT_ERROR1 0x91
72 #define KERNEL_CURRENT_ERROR2 0x92
74 #define ICURRENT_UPDATE_ERROR1 0x51
75 #define ICURRENT_UPDATE_ERROR2 0x52
76 #define ICURRENT_UPDATE_ERROR3 0x53
77 #define ICURRENT_UPDATE_ERROR4 0x54
78 #define ICURRENT_UPDATE_ERROR5 0x55
80 #define KERNEL_INIT_ERROR0 0x71
81 #define KERNEL_INIT_ERROR1 0x72
83 #define POISSON_COUNT_ERROR_0 0x99