@@ -36,17 +36,18 @@ bool synapse_dynamics_initialise(
3636 address_t address , uint32_t n_neurons , uint32_t n_synapse_types ,
3737 uint32_t * ring_buffer_to_input_buffer_left_shifts );
3838
39- //! \brief Processes the dynamics of the synapses
39+ //! \brief Process the dynamics of the synapses
4040//! \param[in,out] plastic_region_address: Where the plastic data is
41- //! \param[in] fixed_region_address : Where the fixed data is
41+ //! \param[in] fixed_region : Where the fixed data is
4242//! \param[in,out] ring_buffers: The ring buffers
4343//! \param[in] time: The current simulation time
4444//! \return ???
4545bool synapse_dynamics_process_plastic_synapses (
46- address_t plastic_region_address , address_t fixed_region_address ,
46+ address_t plastic_region_address ,
47+ synapse_row_fixed_part_t * fixed_region ,
4748 weight_t * ring_buffers , uint32_t time );
4849
49- //! \brief Informs the synapses that the neuron fired
50+ //! \brief Inform the synapses that the neuron fired
5051//! \param[in] time: The current simulation time
5152//! \param[in] neuron_index: Which neuron are we processing
5253void synapse_dynamics_process_post_synaptic_event (
@@ -61,19 +62,20 @@ input_t synapse_dynamics_get_intrinsic_bias(
6162
6263//! \brief Print the synapse dynamics
6364//! \param[in] plastic_region_address: Where the plastic data is
64- //! \param[in] fixed_region_address : Where the fixed data is
65+ //! \param[in] fixed_region : Where the fixed data is
6566//! \param[in] ring_buffer_to_input_buffer_left_shifts:
6667//! How to interpret the values from the ring buffers
6768void synapse_dynamics_print_plastic_synapses (
68- address_t plastic_region_address , address_t fixed_region_address ,
69+ address_t plastic_region_address ,
70+ synapse_row_fixed_part_t * fixed_region ,
6971 uint32_t * ring_buffer_to_input_buffer_left_shifts );
7072
71- //! \brief returns the counters for plastic pre synaptic events based on (if
73+ //! \brief Get the counters for plastic pre synaptic events based on (if
7274//! the model was compiled with SYNAPSE_BENCHMARK parameter) or returns 0
7375//! \return counters for plastic pre synaptic events or 0
7476uint32_t synapse_dynamics_get_plastic_pre_synaptic_events (void );
7577
76- //! \brief returns the number of ring buffer saturation events due to adding
78+ //! \brief Get the number of ring buffer saturation events due to adding
7779//! plastic weights.
7880//! \return counter for saturation events or 0
7981uint32_t synapse_dynamics_get_plastic_saturation_count (void );
@@ -82,25 +84,25 @@ uint32_t synapse_dynamics_get_plastic_saturation_count(void);
8284// Synaptic rewiring functions
8385//-----------------------------------------------------------------------------
8486
85- //! \brief Searches the synaptic row for the the connection with the
87+ //! \brief Search the synaptic row for the the connection with the
8688//! specified post-synaptic ID
8789//! \param[in] id: the (core-local) ID of the neuron to search for in the
8890//! synaptic row
8991//! \param[in] row: the core-local address of the synaptic row
9092//! \param[out] weight: address to contain the weight of the connection
9193//! \param[out] delay: address to contain the delay of the connection
9294//! \param[out] offset: address to contain the offset of the connection
93- //! \param[out] synapse_type: address to contain the synapse type of the connection
95+ //! \param[out] synapse_type: the synapse type of the connection
9496//! \return was the search successful?
9597bool synapse_dynamics_find_neuron (
96- uint32_t id , address_t row , weight_t * weight , uint16_t * delay ,
98+ uint32_t id , synaptic_row_t row , weight_t * weight , uint16_t * delay ,
9799 uint32_t * offset , uint32_t * synapse_type );
98100
99101//! \brief Remove the entry at the specified offset in the synaptic row
100102//! \param[in] offset: the offset in the row at which to remove the entry
101103//! \param[in] row: the core-local address of the synaptic row
102104//! \return was the removal successful?
103- bool synapse_dynamics_remove_neuron (uint32_t offset , address_t row );
105+ bool synapse_dynamics_remove_neuron (uint32_t offset , synaptic_row_t row );
104106
105107//! \brief Add an entry in the synaptic row
106108//! \param[in] id: the (core-local) ID of the post-synaptic neuron to be added
@@ -110,12 +112,12 @@ bool synapse_dynamics_remove_neuron(uint32_t offset, address_t row);
110112//! \param[in] type: the type of the connection (e.g. inhibitory)
111113//! \return was the addition successful?
112114bool synapse_dynamics_add_neuron (
113- uint32_t id , address_t row , weight_t weight ,
115+ uint32_t id , synaptic_row_t row , weight_t weight ,
114116 uint32_t delay , uint32_t type );
115117
116118//! \brief Get the number of connections in the given row
117119//! \param[in] fixed: the fixed region of the synaptic row
118120//! \return The number of connections in the row
119- uint32_t synapse_dynamics_n_connections_in_row (address_t fixed );
121+ uint32_t synapse_dynamics_n_connections_in_row (synapse_row_fixed_part_t * fixed );
120122
121123#endif // _SYNAPSE_DYNAMICS_H_
0 commit comments