itpp_sci  1.0.0
it++ based simulation framework for scicoslab, scilab and scipy
sci_lfsr.hpp
1 /*xxx
2 * \brief - SCI_LFSR API
3 * \author maki
4 */
5 
6 #ifndef SCI_LFSR_HPP
7 #define SCI_LFSR_HPP
8 
9 #include "sci\_sci_base.hpp"
10 #include "sim\sim_lfsr.hpp"
11 
12 using namespace itpp;
13 using namespace std;
14 using namespace SIM;
15 
21 namespace SCI
22 {
29 class sci_lfsr: public sci_base, public SIM::lfsr
30 {
31 public:
32 
33  sci_lfsr();
34  ~sci_lfsr();
35 
36  sci_lfsr* create(int sci_type)
37  {
38  return (this);
39  };
40  void destroy()
41  {
42  return;
43  };
44  void set(int param, sci_var* p_v);
45  sci_var* get(int param);
46  void exec(int command);
47  sci_var* gen(sci_var* p_v_ce);
48 };
49 
50 }// SCI
51 #endif //SCI_LFSR_HPP
SIM layer implements low level simulation models with itpp base classes as operational types...
Definition: sim_amp.hpp:15
virtual base class SCI_API API functions
Definition: _sci_base.hpp:40
void destroy()
destroy SCI object
Definition: sci_lfsr.hpp:40
Definition: _sci_assert.cpp:35
SCI layer implements SCI_API interface as wrappers for SIM layer models.
Definition: _sci_create_sci_var.cpp:8
sci_lfsr * create(int sci_type)
Definition: sci_lfsr.hpp:36
Abstract base for encapsulation of sci_variables.
Definition: _sci_var.hpp:23
linear feedback shift register - wrapper for a SIM::lfsr Core function: SCI::sci_lfsr.gen()
Definition: sci_lfsr.hpp:29
linear feedback shift register Core function: SIM::lfsr.generate()
Definition: sim_lfsr.hpp:47