The compiled folder contains pre-compiled, static versions of the software interface used to run the spike detection state machine. Installation and use instructions are available on the repository wiki. Please note that all .dll files, as well as the main.bit file in the compiled version sub-folder must be present in the same path that the executable is run from on your local machine.
Our lab computers run 64-bit Windows 7. If you would like to use the code provided here, but have a different operating system, you can compile from the code available in the source code folder. If there is difficulty compiling, please report an issue using the provided Install Request template. Within reason, we may be able to post other pre-compiled static versions of the executable, as needed.
Matlab (version R2017a) code for analyzing test results reported in the manuscript, as well as code for generating initial versions of figures used in manuscript (final figure versions were processed using Adobe Illustrator), is available in the analysis folder.
Most code used in analysis does not require additional Matlab toolboxes, but a few files require the following toolboxes (version R2017a):
- Statistics and Machine Learning Toolbox
- Neural Network Toolbox
Raw, processed, and synthesized data used to generate the manuscript figures is available in the data folder. Please note that this folder should also be downloaded (the easiest way is to clone the whole repository using Git) along with the analysis folder, and the relative folder locations should remain the same or else code in analysis needs to be adapted accordingly (see repository wiki for details).
Simulink, Matlab, and Verilog test-benches are available in the simulation folder.
All simulink test-benches were made using Matlab version R2018b and have not been tested with earlier releases. It requires StateFlow toolbox to run.
All matlab test-benches were made using Matlab version R2017a, and do not require any toolboxes to run.
The verilog tesbench was made using ISE Design Suite 14.7. All the details on how to use it can be found here