summaryrefslogtreecommitdiff
path: root/core/simlimits.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/simlimits.hpp')
-rw-r--r--core/simlimits.hpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/core/simlimits.hpp b/core/simlimits.hpp
new file mode 100644
index 0000000..6680bcd
--- /dev/null
+++ b/core/simlimits.hpp
@@ -0,0 +1,18 @@
+#ifndef q9BbYVk1ebyTzHeB6vbWj8BXsIA
+#define q9BbYVk1ebyTzHeB6vbWj8BXsIA
+
+#include <inttypes.h>
+
+const uint64_t maxNeurons = 2048; // 2^11
+const uint64_t maxSpikes = 1073741824; // 2^30
+const uint64_t maxRandomSpikes = 1073741824; // 2^30
+const uint64_t maxGlobalMsg = 1073741824; // 2^30
+const uint8_t maxSynapsesPerNeuron = 128; // 2^7
+
+const uint64_t maxCheckpoints = 1024; // 2^10
+//const uint64_t maxCheckpoints = 1048576; // 2^20
+const double checkpointInterval = 10.0;
+
+const uint64_t numActualNeurons = 1000; // all above are abused
+
+#endif // q9BbYVk1ebyTzHeB6vbWj8BXsIA
contact: Jan Huwald // Impressum