1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-31 03:14:56 +00:00

Removing debug code in trk FPGA accelerators

This commit is contained in:
Javier Arribas 2018-04-12 18:03:30 +02:00
parent 60b6162d57
commit 2138c1340b
2 changed files with 0 additions and 28 deletions

View File

@ -281,14 +281,7 @@ int Gps_L1_Ca_Dll_Pll_Tracking_fpga_sc::general_work (int noutput_items __attrib
gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
{
// debug
int secondary_sample_counter;
int counter_corr_0_in;
int counter_corr_0_out;
int sample_counter;
unsigned absolute_samples_offset;
// int kk2;
// process vars
double carr_error_hz = 0.0;
double carr_error_filt_hz = 0.0;
@ -333,16 +326,6 @@ int Gps_L1_Ca_Dll_Pll_Tracking_fpga_sc::general_work (int noutput_items __attrib
d_rem_carr_phase_rad, d_carrier_phase_step_rad,
d_rem_code_phase_chips, d_code_phase_step_chips,
d_current_prn_length_samples);
d_previous_sample_counter = d_debug_sample_counter;
d_previous_counter_corr_0_in = d_counter_corr_0_in;
d_previous_counter_corr_0_out = d_counter_corr_0_out;
multicorrelator_fpga_8sc->read_sample_counters(&sample_counter, &secondary_sample_counter, &counter_corr_0_in, &counter_corr_0_out);
d_debug_sample_counter = sample_counter;
d_counter_corr_0_in = counter_corr_0_in;
d_counter_corr_0_out = counter_corr_0_out;
d_counter_corr_0_in_inc = counter_corr_0_in - d_previous_counter_corr_0_in;
d_counter_corr_0_out_inc = counter_corr_0_out - d_previous_counter_corr_0_out;
d_sample_counter_inc = d_debug_sample_counter - d_previous_sample_counter;
// ################## PLL ##########################################################
// PLL discriminator

View File

@ -182,17 +182,6 @@ private:
double d_K_blk_samples_previous;
int d_offset_sample_previous;
int d_kk = 0;
int d_numsamples_debug = 990;
int d_previous_sample_counter = 0;
int d_debug_sample_counter = 0;
int d_previous_counter_corr_0_in = 0;
int d_previous_counter_corr_0_out = 0;
int d_counter_corr_0_in_inc = 0;
int d_counter_corr_0_out_inc = 0;
int d_counter_corr_0_in = 0;
int d_counter_corr_0_out = 0;
int d_sample_counter_inc = 0;
};
#endif //GNSS_SDR_GPS_L1_CA_DLL_PLL_TRACKING_FPGA_SC_H