You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: TrackletAlgorithm/VMRouterCM.h
+4-4
Original file line number
Diff line number
Diff line change
@@ -172,7 +172,7 @@ inline T createVMStub(const InputStub<InType> inputStub,
172
172
// Main function
173
173
174
174
// Two input region types InType and DISK2S due to the disks having both 2S and PS inputs.
175
-
template<int nInputMems, int nInputDisk2SMems, int nAllCopies, intnAllInnerCopies, int Layer, int Disk, regionType InType, regionType OutType, int rzSizeME, int rzSizeTE, int phiRegSize, int nTEOCopies>
175
+
template<int nInputMems, int nInputDisk2SMems, int nAllCopies, intnAllInnerVariants, int Layer, int Disk, regionType InType, regionType OutType, int rzSizeME, int rzSizeTE, int phiRegSize, int nTEOCopies>
//Create variables that keep track of which memory address to read and write to
221
221
ap_uint<kNBits_MemAddr> read_addr(0); // Reading of input stubs
222
-
ap_uint<kNBits_MemAddr> addrCountASI[nAllInnerCopies]; // Writing of Inner Allstubs
222
+
ap_uint<kNBits_MemAddr> addrCountASI[nAllInnerVariants]; // Writing of Inner Allstubs
223
223
ap_uint<5> addrCountME[1 << (rzSizeME + phiRegSize)]; // Writing of ME stubs, number of bits taken from whatever is defined in the memories: (4+rzSize + phiRegSize)-(rzSize + phiRegSize)+1
224
224
ap_uint<5> addrCountTE[1 << (rzSizeTE + phiRegSize)]; // Writing of TE stubs
0 commit comments