Skip to content

Commit 5f7f389

Browse files
committed
Give variable better name
1 parent 1a1db27 commit 5f7f389

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

TrackletAlgorithm/MatchProcessor.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ template<TF::layerDisk Layer, TF::phiRegion PHI> constexpr uint32_t NPageSum();
898898

899899
#include "MatchProcessor_parameters.h"
900900

901-
template<regionType ASTYPE, regionType APTYPE, regionType VMSMEType, regionType FMTYPE, int maxFullMatchCopies, TF::layerDisk LAYER=TF::L1, TF::phiRegion PHISEC=TF::A>
901+
template<regionType ASTYPE, regionType APTYPE, regionType VMSMEType, regionType FMTYPE, int maxFullMatchVariants, TF::layerDisk LAYER=TF::L1, TF::phiRegion PHISEC=TF::A>
902902
void MatchCalculator(BXType bx,
903903
ap_uint<1> newtracklet,
904904
ap_uint<1>& isMatch,
@@ -910,7 +910,7 @@ void MatchCalculator(BXType bx,
910910
const AllStubMemory<ASTYPE>* allstub,
911911
const AllProjection<APTYPE>& proj,
912912
ap_uint<VMStubMECMBase<VMSMEType>::kVMSMEIDSize> stubid,
913-
FullMatchMemory<FMTYPE> fullmatch[maxFullMatchCopies]
913+
FullMatchMemory<FMTYPE> fullmatch[maxFullMatchVariants]
914914
){
915915

916916
#pragma HLS inline
@@ -1185,7 +1185,7 @@ constexpr unsigned kNbitsrzbinMPDisk = kNbitsrzbin + 1;
11851185

11861186
//////////////////////////////
11871187
// MatchProcessor
1188-
template<regionType PROJTYPE, regionType VMSMEType, unsigned kNbitsrzbinMP, regionType VMPTYPE, regionType ASTYPE, regionType FMTYPE, unsigned int nINMEM, int maxFullMatchCopies,
1188+
template<regionType PROJTYPE, regionType VMSMEType, unsigned kNbitsrzbinMP, regionType VMPTYPE, regionType ASTYPE, regionType FMTYPE, unsigned int nINMEM, int maxFullMatchVariants,
11891189
TF::layerDisk LAYER=TF::L1, TF::phiRegion PHISEC=TF::A>
11901190
void MatchProcessor(BXType bx,
11911191
// because Vivado HLS cannot synthesize an array of
@@ -1195,7 +1195,7 @@ void MatchProcessor(BXType bx,
11951195
const VMStubMEMemoryCM<VMSMEType, kNbitsrzbinMP, kNbitsphibin, kNMatchEngines>& instubdata,
11961196
const AllStubMemory<ASTYPE>* allstub,
11971197
BXType& bx_o,
1198-
FullMatchMemory<FMTYPE> fullmatch[maxFullMatchCopies]
1198+
FullMatchMemory<FMTYPE> fullmatch[maxFullMatchVariants]
11991199
){
12001200
#pragma HLS inline
12011201

@@ -1438,7 +1438,7 @@ void MatchProcessor(BXType bx,
14381438

14391439
lastTrkID = trkindex;
14401440

1441-
MatchCalculator<ASTYPE, APTYPE, VMSMEType, FMTYPE, maxFullMatchCopies, LAYER, PHISEC>
1441+
MatchCalculator<ASTYPE, APTYPE, VMSMEType, FMTYPE, maxFullMatchVariants, LAYER, PHISEC>
14421442
(bx, newtracklet, isMatch, savedMatch, best_delta_z, best_delta_phi, best_delta_rphi, best_delta_r, allstub, allproj, stubindex,
14431443
fullmatch);
14441444
} //end MC if

0 commit comments

Comments
 (0)