Please, help us to better know about our user community by answering the following short survey: https://forms.gle/wpyrxWi18ox9Z5ae9
AbstractNeurerConnection.h
Go to the documentation of this file.
1 
4  /* @author János Végh (jvegh)
5  * @bug No known bugs.
6  */
7 
8 #ifndef AbstractNeurerConnection_h
9 #define AbstractNeurerConnection_h
10 
11 #include <vector>
12 //#include "types.hpp"
13 #include "NeurerConfig.h"
14 #include "Spike.h"
15 
16 using namespace sc_core; using namespace std;
17 
18 class scAxonalConnect;
19 class AbstractNeurer;
20 //class Spike;
21 
37 class scSynapticConnect : public sc_core::sc_module
38 {
39 public:
40  scSynapticConnect(sc_core::sc_module_name nm, AbstractNeurer* Sender, AbstractNeurer* Receiver);
41  SC_HAS_PROCESS(scSynapticConnect);
44  Receiver_Get(void);//{ return mParent;}
46  Sender_Get(void);//{ return mSender;}
47  int16_t
48  Weight_Get(void);//{ return mWeight;}
49  void
53  Fire(void);
60  void
61  ProcessSpike(Spike& MySpike, uint16_t MyTimeFactor=THOUSAND, uint16_t MyAplitudeFactor=THOUSAND);
62  struct{
63  sc_core::sc_event
64  Integrate
65  ,Fire
66  ;
67  }EVENT_SYNAPSIS;
68  void
69  Integrate_method(void);
70  string
71  PrologString_Get(void);
72  protected:
76  uint16_t mTimeFactor, mAplitudeFactor;
77  uint16_t mWeight;
78  int16_t mSpikeIndex;
79  uint16_t mLastTime;
80  int16_t mLastCurrent;
81 };
82 
89 {
90 public:
92  );
93  ~scAxonalConnect();
94  AbstractNeurer* Receiver_Get(void );
95  string
96  PrologString_Get(void);
97 protected:
99 };
100 
101 
102 #endif // AbstractNeurerConnection_h
103 
scSynapticConnect::mAplitudeFactor
uint16_t mAplitudeFactor
Scale factors for the spike table.
Definition: AbstractNeurerConnection.h:76
scSynapticConnect::mSpikeIndex
int16_t mSpikeIndex
Running index to the spike table.
Definition: AbstractNeurerConnection.h:78
scSynapticConnect::mSpike
Spike * mSpike
Pointer to the spike table.
Definition: AbstractNeurerConnection.h:75
scAxonalConnect
Handles the axonal output to a synapsis of a remote neuron. Handles the output broken-line spike.
Definition: AbstractNeurerConnection.h:88
scSynapticConnect::mLastCurrent
int16_t mLastCurrent
Last synaptic current, in pA; Limits to +/- 32 nA.
Definition: AbstractNeurerConnection.h:80
scSynapticConnect::mWeight
uint16_t mWeight
Its weight; in units of THOUSAND.
Definition: AbstractNeurerConnection.h:77
scSynapticConnect::mSender
AbstractNeurer * mSender
the AbstractNeurer (i.e., a scHThread) we work for
Definition: AbstractNeurerConnection.h:73
scSynapticConnect::mLastTime
uint16_t mLastTime
Time since the beginning of the spike, in usec; Limits to 65 msec.
Definition: AbstractNeurerConnection.h:79
Spike.h
Handling the spikes of neuronal communication.
scAxonalConnect::mReceiver
AbstractNeurer * mReceiver
The other end of the connection.
Definition: AbstractNeurerConnection.h:98
scSynapticConnect
Handles input from an axon of a remote neuron, firing to this synapsis. Handles the input broken-line...
Definition: AbstractNeurerConnection.h:37
NeurerConfig.h
Topology information for the Neurer simulator.
Spike
Handles spike tables for the neurons.
Definition: Spike.h:66
AbstractNeurer
Definition: AbstractNeurer.h:69
scSynapticConnect::mReceiver
AbstractNeurer * mReceiver
The other end of the connection.
Definition: AbstractNeurerConnection.h:74