25 double phiprojderapprox,
26 double rprojderapprox) {
38 fpgaphiproj_.set(iphiproj, settings.
nphibitsstub(0),
true, __LINE__, __FILE__);
39 int iphivm = (iphiproj >> (settings.
nphibitsstub(0) - 5)) & 0x7;
40 if ((
abs(projdisk_) % 2) == 1) {
43 fpgaphiprojvm_.set(iphivm, 3,
true, __LINE__, __FILE__);
44 fpgarproj_.set(irproj, settings.
nrbitsstub(6),
false, __LINE__, __FILE__);
45 int irvm = irproj >> (13 - 7) & 0xf;
46 fpgarprojvm_.set(irvm, 4,
true, __LINE__, __FILE__);
48 fpgarprojder_.set(irder, settings.
nrbitsprojderdisk(),
false, __LINE__, __FILE__);
64 rbin2 = clamp(rbin2, 0, 7);
67 assert(rbin2 - rbin1 <= 1);
74 finer = clamp(finer, 0, 15);
76 int diff = rbin1 != rbin2;
80 fpgarbin1projvm_.set(rbin1, 4,
true, __LINE__, __FILE__);
81 fpgarbin2projvm_.set(
diff, 1,
true, __LINE__, __FILE__);
83 fpgafinervm_.set(finer, 4,
true, __LINE__, __FILE__);
87 phiprojder_ = phiprojder;
90 phiprojapprox_ = phiprojapprox;
91 rprojapprox_ = rprojapprox;
92 phiprojderapprox_ = phiprojderapprox;
93 rprojderapprox_ = rprojderapprox;