Archived
update dl814_dj_new_48m; fix bug in phase_comp
单独的地检射频控制模块使用外部输入时钟驱动VIO,而非计数器产生的12M时钟;修复相位补偿输出为0的问题,时钟和复位信号接反
This commit is contained in:
@@ -861,78 +861,78 @@ vio_ant_test u_vio_ant_test
|
||||
.probe_out3 (u_ant_rf_ctrl.vio_hoptime[15:0] )
|
||||
);
|
||||
|
||||
// ila_rfcontrl u_ila_rfcontrl
|
||||
// (
|
||||
// .clk (clk_48m ), // input wire clk
|
||||
// .probe0 (u_ant_rf_ctrl.SPI_MOSI_F ), // input wire [0:0]
|
||||
// .probe1 (u_ant_rf_ctrl.SPI_MISO_F ), // input wire [0:0]
|
||||
// .probe2 (u_ant_rf_ctrl.SPI_SYN_F ), // input wire [0:0]
|
||||
// .probe3 (u_ant_rf_ctrl.TP_EN_F ), // input wire [0:0]
|
||||
// .probe4 (u_ant_rf_ctrl.TR_MGC_F ), // input wire [0:0]
|
||||
// .probe5 (u_ant_rf_ctrl.CAL_F ), // input wire [0:0]
|
||||
// .probe6 (u_ant_rf_ctrl.PRF ), // input wire [0:0]
|
||||
// .probe7 (u_ant_rf_ctrl.rf_standby ), // input wire [0:0]
|
||||
// .probe8 (u_ant_rf_ctrl.rf_sw_pll ), // input wire [0:0]
|
||||
// .probe9 (u_ant_rf_ctrl.rf_t ), // input wire [0:0]
|
||||
// .probe10(u_ant_rf_ctrl.rf_r ), // input wire [0:0]
|
||||
// .probe11(u_ant_rf_ctrl.rf_sw_bpf ), // input wire [0:0]
|
||||
// .probe12(u_ant_rf_ctrl.rf_sclk1 ), // input wire [0:0]
|
||||
// .probe13(u_ant_rf_ctrl.rf_sdio1 ), // input wire [0:0]
|
||||
// .probe14(u_ant_rf_ctrl.rf_cs1 ), // input wire [0:0]
|
||||
// .probe15(u_ant_rf_ctrl.rf_ld1 ), // input wire [0:0]
|
||||
// .probe16(u_ant_rf_ctrl.rf_sclk2 ), // input wire [0:0]
|
||||
// .probe17(u_ant_rf_ctrl.rf_sdio2 ), // input wire [0:0]
|
||||
// .probe18(u_ant_rf_ctrl.rf_cs2 ), // input wire [0:0]
|
||||
// .probe19(u_ant_rf_ctrl.rf_ld2 ), // input wire [0:0]
|
||||
// .probe20(u_ant_rf_ctrl.rf_sclk3 ), // input wire [0:0]
|
||||
// .probe21(u_ant_rf_ctrl.rf_sdio3 ), // input wire [0:0]
|
||||
// .probe22(u_ant_rf_ctrl.rf_cs3 ), // input wire [0:0]
|
||||
// .probe23(u_ant_rf_ctrl.rf_ld3 ), // input wire [0:0]
|
||||
// .probe24(u_ant_rf_ctrl.rf_tmgc_16 ), // input wire [0:0]
|
||||
// .probe25(u_ant_rf_ctrl.rf_tmgc_8 ), // input wire [0:0]
|
||||
// .probe26(u_ant_rf_ctrl.rf_tmgc_4 ), // input wire [0:0]
|
||||
// .probe27(u_ant_rf_ctrl.rf_tmgc_2 ), // input wire [0:0]
|
||||
// .probe28(u_ant_rf_ctrl.rf_tmgc_1 ), // input wire [0:0]
|
||||
// .probe29(u_ant_rf_ctrl.rf_rmgc_16 ), // input wire [0:0]
|
||||
// .probe30(u_ant_rf_ctrl.rf_rmgc_8 ), // input wire [0:0]
|
||||
// .probe31(u_ant_rf_ctrl.rf_rmgc_4 ), // input wire [0:0]
|
||||
// .probe32(u_ant_rf_ctrl.rf_rmgc_2 ), // input wire [0:0]
|
||||
// .probe33(u_ant_rf_ctrl.rf_rmgc_1 ), // input wire [0:0]
|
||||
// .probe34(u_ant_rf_ctrl.rf_enable ), // input wire [0:0]
|
||||
// .probe35(u_ant_rf_ctrl.rf_sc ), // input wire [0:0]
|
||||
// .probe36(u_ant_rf_ctrl.rf_sd ), // input wire [0:0]
|
||||
// .probe37(u_ant_rf_ctrl.rf_endsyn ), // input wire [0:0]
|
||||
// .probe38(u_ant_rf_ctrl.rf_sdout ), // input wire [0:0]
|
||||
// .probe39(u_ant_rf_ctrl.state_rfdata[1:0] ), // input wire [0:0]
|
||||
// .probe40(u_ant_rf_ctrl.RF_temperature[7:0] ), // input wire [0:0]
|
||||
// .probe41(u_ant_rf_ctrl.RF_IFlocked[7:0] ), // input wire [0:0]
|
||||
// .probe42(u_ant_rf_ctrl.RF_RFAlocked[7:0] ), // input wire [0:0]
|
||||
// .probe43(u_ant_rf_ctrl.RF_RFBlocked[7:0] ), // input wire [0:0]
|
||||
// .probe44(u_ant_rf_ctrl.RF_ch1mgc[3:0] ), // input wire [0:0]
|
||||
// .probe45(u_ant_rf_ctrl.RF_ch2mgc[3:0] ), // input wire [0:0]
|
||||
// .probe46(u_ant_rf_ctrl.RF_ch3mgc[3:0] ), // input wire [0:0]
|
||||
// .probe47(u_ant_rf_ctrl.RF_ch4mgc[3:0] ), // input wire [0:0]
|
||||
// .probe48(u_ant_rf_ctrl.RF_Framecount[31:0] ), // input wire [0:0]
|
||||
// .probe49(u_ant_rf_ctrl.RF_RecvWord[95:0] ) // input wire [0:0]
|
||||
// );
|
||||
ila_rfcontrl u_ila_rfcontrl
|
||||
(
|
||||
.clk (clk_48m ), // input wire clk
|
||||
.probe0 (u_ant_rf_ctrl.SPI_MOSI_F ), // input wire [0:0]
|
||||
.probe1 (u_ant_rf_ctrl.SPI_MISO_F ), // input wire [0:0]
|
||||
.probe2 (u_ant_rf_ctrl.SPI_SYN_F ), // input wire [0:0]
|
||||
.probe3 (u_ant_rf_ctrl.TP_EN_F ), // input wire [0:0]
|
||||
.probe4 (u_ant_rf_ctrl.TR_MGC_F ), // input wire [0:0]
|
||||
.probe5 (u_ant_rf_ctrl.CAL_F ), // input wire [0:0]
|
||||
.probe6 (u_ant_rf_ctrl.PRF ), // input wire [0:0]
|
||||
.probe7 (u_ant_rf_ctrl.rf_standby ), // input wire [0:0]
|
||||
.probe8 (u_ant_rf_ctrl.rf_sw_pll ), // input wire [0:0]
|
||||
.probe9 (u_ant_rf_ctrl.rf_t ), // input wire [0:0]
|
||||
.probe10(u_ant_rf_ctrl.rf_r ), // input wire [0:0]
|
||||
.probe11(u_ant_rf_ctrl.rf_sw_bpf ), // input wire [0:0]
|
||||
.probe12(u_ant_rf_ctrl.rf_sclk1 ), // input wire [0:0]
|
||||
.probe13(u_ant_rf_ctrl.rf_sdio1 ), // input wire [0:0]
|
||||
.probe14(u_ant_rf_ctrl.rf_cs1 ), // input wire [0:0]
|
||||
.probe15(u_ant_rf_ctrl.rf_ld1 ), // input wire [0:0]
|
||||
.probe16(u_ant_rf_ctrl.rf_sclk2 ), // input wire [0:0]
|
||||
.probe17(u_ant_rf_ctrl.rf_sdio2 ), // input wire [0:0]
|
||||
.probe18(u_ant_rf_ctrl.rf_cs2 ), // input wire [0:0]
|
||||
.probe19(u_ant_rf_ctrl.rf_ld2 ), // input wire [0:0]
|
||||
.probe20(u_ant_rf_ctrl.rf_sclk3 ), // input wire [0:0]
|
||||
.probe21(u_ant_rf_ctrl.rf_sdio3 ), // input wire [0:0]
|
||||
.probe22(u_ant_rf_ctrl.rf_cs3 ), // input wire [0:0]
|
||||
.probe23(u_ant_rf_ctrl.rf_ld3 ), // input wire [0:0]
|
||||
.probe24(u_ant_rf_ctrl.rf_tmgc_16 ), // input wire [0:0]
|
||||
.probe25(u_ant_rf_ctrl.rf_tmgc_8 ), // input wire [0:0]
|
||||
.probe26(u_ant_rf_ctrl.rf_tmgc_4 ), // input wire [0:0]
|
||||
.probe27(u_ant_rf_ctrl.rf_tmgc_2 ), // input wire [0:0]
|
||||
.probe28(u_ant_rf_ctrl.rf_tmgc_1 ), // input wire [0:0]
|
||||
.probe29(u_ant_rf_ctrl.rf_rmgc_16 ), // input wire [0:0]
|
||||
.probe30(u_ant_rf_ctrl.rf_rmgc_8 ), // input wire [0:0]
|
||||
.probe31(u_ant_rf_ctrl.rf_rmgc_4 ), // input wire [0:0]
|
||||
.probe32(u_ant_rf_ctrl.rf_rmgc_2 ), // input wire [0:0]
|
||||
.probe33(u_ant_rf_ctrl.rf_rmgc_1 ), // input wire [0:0]
|
||||
.probe34(u_ant_rf_ctrl.rf_enable ), // input wire [0:0]
|
||||
.probe35(u_ant_rf_ctrl.rf_sc ), // input wire [0:0]
|
||||
.probe36(u_ant_rf_ctrl.rf_sd ), // input wire [0:0]
|
||||
.probe37(u_ant_rf_ctrl.rf_endsyn ), // input wire [0:0]
|
||||
.probe38(u_ant_rf_ctrl.rf_sdout ), // input wire [0:0]
|
||||
.probe39(u_ant_rf_ctrl.state_rfdata[1:0] ), // input wire [0:0]
|
||||
.probe40(u_ant_rf_ctrl.RF_temperature[7:0] ), // input wire [0:0]
|
||||
.probe41(u_ant_rf_ctrl.RF_IFlocked[7:0] ), // input wire [0:0]
|
||||
.probe42(u_ant_rf_ctrl.RF_RFAlocked[7:0] ), // input wire [0:0]
|
||||
.probe43(u_ant_rf_ctrl.RF_RFBlocked[7:0] ), // input wire [0:0]
|
||||
.probe44(u_ant_rf_ctrl.RF_ch1mgc[3:0] ), // input wire [0:0]
|
||||
.probe45(u_ant_rf_ctrl.RF_ch2mgc[3:0] ), // input wire [0:0]
|
||||
.probe46(u_ant_rf_ctrl.RF_ch3mgc[3:0] ), // input wire [0:0]
|
||||
.probe47(u_ant_rf_ctrl.RF_ch4mgc[3:0] ), // input wire [0:0]
|
||||
.probe48(u_ant_rf_ctrl.RF_Framecount[31:0] ), // input wire [0:0]
|
||||
.probe49(u_ant_rf_ctrl.RF_RecvWord[95:0] ) // input wire [0:0]
|
||||
);
|
||||
|
||||
// ila_AntCtrl u_ila_AntCtrl
|
||||
// (
|
||||
// .clk (clk_96m ), // input wire clk
|
||||
// .probe0 (u_ant_rf_ctrl.ant_clk ), // input wire [0:0] probe0
|
||||
// .probe1 (u_ant_rf_ctrl.ant_en ), // input wire [0:0] probe1
|
||||
// .probe2 (u_ant_rf_ctrl.ant_data ), // input wire [0:0] probe2
|
||||
// .probe3 (u_ant_rf_ctrl.ant_tr ), // input wire [0:0] probe3
|
||||
// .probe4 (u_ant_rf_ctrl.ant_dary ), // input wire [0:0] probe4
|
||||
// .probe5 (u_ant_rf_ctrl.ant_dout ), // input wire [0:0] probe5
|
||||
// .probe6 (u_ant_rf_ctrl.state_antdata[1:0] ), // input wire [0:0] probe5
|
||||
// .probe7 (u_ant_rf_ctrl.Ant_Ant_Volt[7:0] ), // input wire [0:0] probe5
|
||||
// .probe8 (u_ant_rf_ctrl.Ant_RF_Volt[7:0] ), // input wire [0:0] probe5
|
||||
// .probe9 (u_ant_rf_ctrl.Ant_IF_Volt[7:0] ), // input wire [0:0] probe5
|
||||
// .probe10(u_ant_rf_ctrl.Ant_state[7:0] ), // input wire [0:0] probe5
|
||||
// .probe11(u_ant_rf_ctrl.Ant_Framecount[31:0] ), // input wire [0:0] probe5
|
||||
// .probe12(u_ant_rf_ctrl.Ant_RecvWord[95:0] ) // input wire [0:0] probe5
|
||||
// );
|
||||
ila_AntCtrl u_ila_AntCtrl
|
||||
(
|
||||
.clk (clk_96m ), // input wire clk
|
||||
.probe0 (u_ant_rf_ctrl.ant_clk ), // input wire [0:0] probe0
|
||||
.probe1 (u_ant_rf_ctrl.ant_en ), // input wire [0:0] probe1
|
||||
.probe2 (u_ant_rf_ctrl.ant_data ), // input wire [0:0] probe2
|
||||
.probe3 (u_ant_rf_ctrl.ant_tr ), // input wire [0:0] probe3
|
||||
.probe4 (u_ant_rf_ctrl.ant_dary ), // input wire [0:0] probe4
|
||||
.probe5 (u_ant_rf_ctrl.ant_dout ), // input wire [0:0] probe5
|
||||
.probe6 (u_ant_rf_ctrl.state_antdata[1:0] ), // input wire [0:0] probe5
|
||||
.probe7 (u_ant_rf_ctrl.Ant_Ant_Volt[7:0] ), // input wire [0:0] probe5
|
||||
.probe8 (u_ant_rf_ctrl.Ant_RF_Volt[7:0] ), // input wire [0:0] probe5
|
||||
.probe9 (u_ant_rf_ctrl.Ant_IF_Volt[7:0] ), // input wire [0:0] probe5
|
||||
.probe10(u_ant_rf_ctrl.Ant_state[7:0] ), // input wire [0:0] probe5
|
||||
.probe11(u_ant_rf_ctrl.Ant_Framecount[31:0] ), // input wire [0:0] probe5
|
||||
.probe12(u_ant_rf_ctrl.Ant_RecvWord[95:0] ) // input wire [0:0] probe5
|
||||
);
|
||||
|
||||
vio_rf_rd u_vio_rf_rd (
|
||||
.clk (clk_96m ), // input wire clk
|
||||
@@ -948,15 +948,15 @@ vio_rf_rd u_vio_rf_rd (
|
||||
.probe_in9 (u_ant_rf_ctrl.RF_RecvWord_last ) // input wire [95 : 0] probe_in9
|
||||
);
|
||||
|
||||
// vio_ant_rd u_vio_ant_rd (
|
||||
// .clk (clk_96m ), // input wire clk
|
||||
// .probe_in0 (u_ant_rf_ctrl.Ant_Ant_Volt[7:0] ), // input wire [7 : 0] probe_in0
|
||||
// .probe_in1 (u_ant_rf_ctrl.Ant_RF_Volt[7:0] ), // input wire [7 : 0] probe_in1
|
||||
// .probe_in2 (u_ant_rf_ctrl.Ant_IF_Volt[7:0] ), // input wire [7 : 0] probe_in2
|
||||
// .probe_in3 (u_ant_rf_ctrl.Ant_state[7:0] ), // input wire [7 : 0] probe_in3
|
||||
// .probe_in4 (u_ant_rf_ctrl.Ant_Framecount[31:0] ), // input wire [31 : 0] probe_in4
|
||||
// .probe_in5 (u_ant_rf_ctrl.Ant_RecvWord_last ) // input wire [127 : 0] probe_in5
|
||||
// );
|
||||
vio_ant_rd u_vio_ant_rd (
|
||||
.clk (clk_96m ), // input wire clk
|
||||
.probe_in0 (u_ant_rf_ctrl.Ant_Ant_Volt[7:0] ), // input wire [7 : 0] probe_in0
|
||||
.probe_in1 (u_ant_rf_ctrl.Ant_RF_Volt[7:0] ), // input wire [7 : 0] probe_in1
|
||||
.probe_in2 (u_ant_rf_ctrl.Ant_IF_Volt[7:0] ), // input wire [7 : 0] probe_in2
|
||||
.probe_in3 (u_ant_rf_ctrl.Ant_state[7:0] ), // input wire [7 : 0] probe_in3
|
||||
.probe_in4 (u_ant_rf_ctrl.Ant_Framecount[31:0] ), // input wire [31 : 0] probe_in4
|
||||
.probe_in5 (u_ant_rf_ctrl.Ant_RecvWord_last ) // input wire [127 : 0] probe_in5
|
||||
);
|
||||
|
||||
ila_2x12x1024 u_ila_tx
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user