Skip to content

Commit

Permalink
Ready to debug
Browse files Browse the repository at this point in the history
Debug / QA ready - Scripting code is ready. 
This branch is for issue #24 and issue #21
  • Loading branch information
Mark Plagge committed Jun 13, 2017
1 parent c44477e commit f40e06a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/IO/spike_reader.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ int readSpike(spikeElem * spike){
return -1;
}


/**
* Loads spikes from a specified file. Returns the number of elements loaded.
* @param filename the filename to load
Expand Down
14 changes: 10 additions & 4 deletions src/nemo_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ char *NETWORK_CFG_FN = "nemo_model.nfg1";
//int N_FIRE_LINE_SIZE = 512;



//
/**
* @FILE_OUT - is set to true if NeMo is saving output files
Expand Down Expand Up @@ -101,17 +102,22 @@ const tw_optdef app_opt[] = {
tw_lptype model_lps[] = {
{

(init_f) axon_init, (pre_run_f) NULL, (event_f) axon_event,
(init_f) axon_init, (pre_run_f) NULL, (event_f) axon_event,
(revent_f) axon_reverse, (commit_f) NULL, (final_f) axon_final,
(map_f) getPEFromGID, sizeof(axonState)},
{ (init_f) synapse_init, (pre_run_f) NULL, (event_f) synapse_event,
(map_f) getPEFromGID, sizeof(axonState)
},
{ (init_f) synapse_init, (pre_run_f) NULL, (event_f) synapse_event,
(revent_f) synapse_reverse, (commit_f) NULL, (final_f) synapse_final,
(map_f) getPEFromGID, sizeof(synapseState)},
{ (init_f) TN_init, (pre_run_f) NULL, (event_f) TN_forward_event,
(revent_f) TN_reverse_event, (commit_f) TN_commit, (final_f) TN_final,
(map_f) getPEFromGID, sizeof(tn_neuron_state)},
(map_f) getPEFromGID, sizeof(tn_neuron_state)
},
{ 0}};




/**
* @brief Displays NeMo's initial run size configuration.
*/
Expand Down

0 comments on commit f40e06a

Please sign in to comment.