Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
L1Trigger
L1TMuonEndCap
src
core_gen_summer_2013
extend_sector.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 __extend_sector_h_file__
9
#define __extend_sector_h_file__
10
#include "
vppc_sim_lib.h
"
11
#include "
extender.h
"
12
13
class
extend_sector
14
{
15
public
:
16
extend_sector
(){
built
=
false
;
glbl_gsr
=
true
;
defparam
();}
17
void
defparam
();
18
void
build
();
19
bool
built
;
20
bool
glbl_gsr
;
21
unsigned
station
;
22
unsigned
cscid
;
23
// segments per chamber
24
unsigned
seg_ch
;
25
// bit widths of ph and th outputs, reduced precision
26
// have to be derived from pattern width on top level
27
unsigned
bw_ph
;
28
unsigned
bw_th
;
29
// bit widths of ph and th, full precision
30
unsigned
bw_fph
;
31
unsigned
bw_fth
;
32
// wiregroup input bit width (0..111)
33
unsigned
bw_wg
;
34
// bit width of dblstrip input (max 80 for ME234/1 with double-width strips)
35
unsigned
bw_ds
;
36
// width of halfstrip input
37
unsigned
bw_hs
;
38
// pattern half-width for stations 3,4
39
unsigned
pat_w_st3
;
//4;
40
// pattern half-width for station 1
41
unsigned
pat_w_st1
;
42
// number of input bits for stations 3,4
43
unsigned
full_pat_w_st3
;
44
// number of input bits for st 1
45
unsigned
full_pat_w_st1
;
46
// width of zero padding for station copies
47
unsigned
padding_w_st1
;
48
unsigned
padding_w_st3
;
49
// full pattern widths (aka reduced pattern)
50
unsigned
red_pat_w_st3
;
51
unsigned
red_pat_w_st1
;
52
// number of folds for pattern detectors, do not set to 1
53
unsigned
fold
;
54
// number of th outputs for ME1/1
55
unsigned
th_ch11
;
56
unsigned
bw_q
;
57
unsigned
bw_addr
;
58
// strips per section, calculated so ph pattern would cover +/- 8 deg in st 1
59
unsigned
ph_raw_w
;
// kludge to fix synth error, need to understand
60
unsigned
th_raw_w
;
61
// max possible drifttime
62
unsigned
max_drift
;
63
// bit widths of precise phi and eta outputs
64
unsigned
bw_phi
;
65
unsigned
bw_eta
;
66
// width of ph raw hits, max coverage +8 to cover possible chamber displacement
67
unsigned
ph_hit_w
;
//80 + 8;
68
// for 20 deg chambers
69
unsigned
ph_hit_w20
;
70
// for 10 deg chambers
71
unsigned
ph_hit_w10
;
//40 + 8;
72
// width of th raw hits, max coverage +8 to cover possible chamber displacement
73
unsigned
th_hit_w
;
74
unsigned
endcap
;
75
unsigned
n_strips
;
76
unsigned
n_wg
;
77
// theta range (take +1 because th_coverage contains max th value starting from 0)
78
unsigned
th_coverage
;
79
// phi range
80
unsigned
ph_coverage
;
//80 : 40;
81
// number of th outputs takes ME1/1 th duplication into account
82
unsigned
th_ch
;
83
// is this chamber mounted in reverse direction?
84
unsigned
ph_reverse
;
85
unsigned
th_mem_sz
;
86
unsigned
th_corr_mem_sz
;
87
// multiplier bit width (phi + factor)
88
unsigned
mult_bw
;
89
// ph zone boundaries for chambers that cover more than one zone
90
// hardcoded boundaries must match boundaries in ph_th_match module
91
unsigned
ph_zone_bnd1
;
92
unsigned
ph_zone_bnd2
;
93
unsigned
zone_overlap
;
94
// sorter parameters
95
unsigned
bwr
;
// rank width
96
unsigned
bpow
;
// (1 << bpow) is count of input ranks
97
unsigned
cnr
;
// internal rank count
98
unsigned
cnrex
;
// actual input rank count, must be even
99
100
signal_
ph_zone
;
101
signal_
drifttime
;
102
signal_
clk
;
103
signal_
ph_ext
;
104
105
106
unsigned
i
;
107
unsigned
j
;
108
109
void
init
();
110
void
operator
()
111
(
112
signal_
& ph_zone__io,
113
signal_
& ph_ext__io,
114
signal_
& drifttime__io,
115
signal_
& clk__io
116
);
117
class
genblk__class
118
{
119
public
:
120
class
ph_zone_blk__class
121
{
122
public
:
123
class
station__class
124
{
125
public
:
126
extender
ext
;
127
128
void
init
();
129
};
130
map <ull, station__class>
station
;
131
132
void
init
();
133
};
134
map <ull, ph_zone_blk__class>
ph_zone_blk
;
135
136
void
init
();
137
};
138
genblk__class
genblk
;
139
};
140
#endif
extend_sector::j
unsigned j
Definition:
extend_sector.h:107
extend_sector::bw_th
unsigned bw_th
Definition:
extend_sector.h:28
extend_sector::ph_zone
signal_ ph_zone
Definition:
extend_sector.h:100
extend_sector::genblk__class::init
void init()
extend_sector::n_wg
unsigned n_wg
Definition:
extend_sector.h:76
extend_sector::genblk__class::ph_zone_blk__class
Definition:
extend_sector.h:120
signal_
Definition:
vppc_sim_lib.h:57
extend_sector::cscid
unsigned cscid
Definition:
extend_sector.h:22
extend_sector::bwr
unsigned bwr
Definition:
extend_sector.h:95
extend_sector::genblk__class
Definition:
extend_sector.h:117
extend_sector::cnr
unsigned cnr
Definition:
extend_sector.h:97
extender.h
cppFunctionSkipper.operator
string operator
Definition:
cppFunctionSkipper.py:10
extend_sector::bw_hs
unsigned bw_hs
Definition:
extend_sector.h:37
extend_sector::ph_coverage
unsigned ph_coverage
Definition:
extend_sector.h:80
extend_sector::red_pat_w_st1
unsigned red_pat_w_st1
Definition:
extend_sector.h:51
extend_sector::station
unsigned station
Definition:
extend_sector.h:21
extend_sector::red_pat_w_st3
unsigned red_pat_w_st3
Definition:
extend_sector.h:50
extend_sector::ph_hit_w20
unsigned ph_hit_w20
Definition:
extend_sector.h:69
extend_sector::mult_bw
unsigned mult_bw
Definition:
extend_sector.h:88
vppc_sim_lib.h
extend_sector::max_drift
unsigned max_drift
Definition:
extend_sector.h:62
extend_sector::th_mem_sz
unsigned th_mem_sz
Definition:
extend_sector.h:85
extend_sector::bw_q
unsigned bw_q
Definition:
extend_sector.h:56
extend_sector::bw_ds
unsigned bw_ds
Definition:
extend_sector.h:35
extend_sector::th_hit_w
unsigned th_hit_w
Definition:
extend_sector.h:73
extend_sector::extend_sector
extend_sector()
Definition:
extend_sector.h:16
extend_sector::built
bool built
Definition:
extend_sector.h:19
extend_sector::pat_w_st3
unsigned pat_w_st3
Definition:
extend_sector.h:39
extender
Definition:
extender.h:12
extend_sector::ph_raw_w
unsigned ph_raw_w
Definition:
extend_sector.h:59
extend_sector::ph_hit_w
unsigned ph_hit_w
Definition:
extend_sector.h:67
extend_sector::endcap
unsigned endcap
Definition:
extend_sector.h:74
extend_sector::genblk__class::ph_zone_blk__class::station__class::ext
extender ext
Definition:
extend_sector.h:126
extend_sector::init
void init()
extend_sector
Definition:
extend_sector.h:13
extend_sector::genblk__class::ph_zone_blk__class::station
map< unsigned int, station__class > station
Definition:
extend_sector.h:130
extend_sector::clk
signal_ clk
Definition:
extend_sector.h:102
extend_sector::genblk__class::ph_zone_blk__class::station__class
Definition:
extend_sector.h:123
extend_sector::cnrex
unsigned cnrex
Definition:
extend_sector.h:98
extend_sector::zone_overlap
unsigned zone_overlap
Definition:
extend_sector.h:93
extend_sector::th_corr_mem_sz
unsigned th_corr_mem_sz
Definition:
extend_sector.h:86
extend_sector::genblk__class::ph_zone_blk
map< unsigned int, ph_zone_blk__class > ph_zone_blk
Definition:
extend_sector.h:134
extend_sector::genblk__class::ph_zone_blk__class::init
void init()
extend_sector::ph_zone_bnd1
unsigned ph_zone_bnd1
Definition:
extend_sector.h:91
extend_sector::pat_w_st1
unsigned pat_w_st1
Definition:
extend_sector.h:41
extend_sector::build
void build()
extend_sector::bw_eta
unsigned bw_eta
Definition:
extend_sector.h:65
extend_sector::genblk
genblk__class genblk
Definition:
extend_sector.h:138
extend_sector::drifttime
signal_ drifttime
Definition:
extend_sector.h:101
extend_sector::glbl_gsr
bool glbl_gsr
Definition:
extend_sector.h:20
extend_sector::bw_wg
unsigned bw_wg
Definition:
extend_sector.h:33
extend_sector::bw_fth
unsigned bw_fth
Definition:
extend_sector.h:31
extend_sector::full_pat_w_st1
unsigned full_pat_w_st1
Definition:
extend_sector.h:45
extend_sector::defparam
void defparam()
extend_sector::bpow
unsigned bpow
Definition:
extend_sector.h:96
extend_sector::th_coverage
unsigned th_coverage
Definition:
extend_sector.h:78
extend_sector::ph_hit_w10
unsigned ph_hit_w10
Definition:
extend_sector.h:71
extend_sector::ph_reverse
unsigned ph_reverse
Definition:
extend_sector.h:84
extend_sector::ph_zone_bnd2
unsigned ph_zone_bnd2
Definition:
extend_sector.h:92
extend_sector::padding_w_st3
unsigned padding_w_st3
Definition:
extend_sector.h:48
extend_sector::i
unsigned i
Definition:
extend_sector.h:106
extend_sector::bw_fph
unsigned bw_fph
Definition:
extend_sector.h:30
extend_sector::fold
unsigned fold
Definition:
extend_sector.h:53
extend_sector::padding_w_st1
unsigned padding_w_st1
Definition:
extend_sector.h:47
extend_sector::seg_ch
unsigned seg_ch
Definition:
extend_sector.h:24
extend_sector::th_ch
unsigned th_ch
Definition:
extend_sector.h:82
extend_sector::th_ch11
unsigned th_ch11
Definition:
extend_sector.h:55
extend_sector::bw_phi
unsigned bw_phi
Definition:
extend_sector.h:64
extend_sector::genblk__class::ph_zone_blk__class::station__class::init
void init()
extend_sector::bw_addr
unsigned bw_addr
Definition:
extend_sector.h:57
extend_sector::n_strips
unsigned n_strips
Definition:
extend_sector.h:75
extend_sector::bw_ph
unsigned bw_ph
Definition:
extend_sector.h:27
extend_sector::th_raw_w
unsigned th_raw_w
Definition:
extend_sector.h:60
extend_sector::ph_ext
signal_ ph_ext
Definition:
extend_sector.h:103
extend_sector::full_pat_w_st3
unsigned full_pat_w_st3
Definition:
extend_sector.h:43
Generated for CMSSW Reference Manual by
1.8.5