CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
extender.h
Go to the documentation of this file.
1 // This C++ header file was automatically generated
2 // by VPPC from a Verilog HDL project.
3 // VPPC web-page: http://www.phys.ufl.edu/~madorsky/vppc/
4 
5 // Author : madorsky
6 // Timestamp : Thu Mar 12 14:54:00 2015
7 
8 #ifndef __extender_h_file__
9 #define __extender_h_file__
10 #include "vppc_sim_lib.h"
11 
12 class extender
13 {
14  public:
15  extender(){built = false; glbl_gsr = true; defparam();}
16  void defparam();
17  void build();
18  bool built;
19  bool glbl_gsr;
20  // io bit width
21  unsigned bit_w;
22 
27  // block memory
29  // read address
31  // write address
33  // read data, should be absorbed by BRAM
35 
36 
37  unsigned i;
38 
39  void init ();
40  void operator()
41  (
42  signal_& inp__io,
43  signal_& outp__io,
44  signal_& drifttime__io,
45  signal_& clk__io
46  );
47 };
48 #endif
void defparam()
unsigned i
Definition: extender.h:37
signal_storage mem__storage
Definition: extender.h:28
signal_ clk
Definition: extender.h:25
signal_ ra
Definition: extender.h:30
signal_ outp
Definition: extender.h:26
signal_storage rd__storage
Definition: extender.h:34
bool built
Definition: extender.h:18
signal_ rd
Definition: extender.h:34
signal_ drifttime
Definition: extender.h:24
signal_storage ra__storage
Definition: extender.h:30
void build()
signal_storage wa__storage
Definition: extender.h:32
signal_ mem
Definition: extender.h:28
signal_ wa
Definition: extender.h:32
signal_ inp
Definition: extender.h:23
bool glbl_gsr
Definition: extender.h:19
extender()
Definition: extender.h:15
void init()
unsigned bit_w
Definition: extender.h:21