prepare for major change in anti-jamming

resimulated dl814_k7_cal_coarse with multiple trigger and phase compensation; 将校准信号发端移植到地检新射频发送程序上,但是未合并扫频自动校准程序
This commit is contained in:
2023-07-09 15:08:00 +08:00
parent 0729aa40a3
commit a877802bdf
268 changed files with 1448 additions and 13324 deletions
@@ -113,12 +113,24 @@ initial begin
wait(ad9361_cal_valid);
#1000
hop_trigger = 1'b1;
#100
#(192*200*10) // after 200us, trig again
hop_trigger = 1'b0;
#(19600*40-100) // after a long time, trig again
#(192*200*10) // after 200us, trig again
hop_trigger = 1'b1;
#100
#(192*200*10) // after 200us, trig again
hop_trigger = 1'b0;
#(192*200*10) // after 200us, trig again
hop_trigger = 1'b1;
#(192*200*10) // after 200us, trig again
hop_trigger = 1'b0;
#(192*200*10) // after 200us, trig again
hop_trigger = 1'b1;
end
always @(posedge sys_clk) begin
@@ -192,7 +204,8 @@ assign weight_stream_data = weight_stream_buf[FRAME_BITS-1-weight_stream_cnt];
////////////////////////////////////////////////////////////////////////////////
rx_pre_process #(
.OUTPUT_DATA_WIDTH (30 )
.OUTPUT_DATA_WIDTH (30 ),
.SNAPSHOT_NUM (256 )
) u_rx_pre_process
(
// clock & reset
@@ -210,6 +223,11 @@ rx_pre_process #(
.rx_ch3_q (rx_ch3_q ),
.rx_ch4_i (rx_ch4_i ),
.rx_ch4_q (rx_ch4_q ),
// input channel phase
.phase_ch1 ('b0 ),
.phase_ch2 ('b0 ),
.phase_ch3 ('b0 ),
.phase_ch4 ('b0 ),
// ad9361 calibration interface
.ad9361_1_cal_start (ad9361_1_cal_start ),
.ad9361_1_cal_done (ad9361_1_cal_done ),