add ant data; add null algorithm switch

to evaluate amp-phase consistency of phased array at different frequency, tens of data set is sampled; in dl814_k7_cal_coarse, the switch of ad9361 data and test data is added, and the depth of rx data ila is enlarged to 131072
This commit is contained in:
2023-04-24 12:58:33 +08:00
parent 14a5d6e48a
commit 78e60b6e2d
140 changed files with 1929 additions and 275 deletions
+43
View File
@@ -0,0 +1,43 @@
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 04/21/2023 11:37:14 AM
// Design Name:
// Module Name: truncate_manual
// Project Name:
// Target Devices:
// Tool Versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
module truncate_manual
#(
DATA_I_WIDTH = 30,
DATA_O_WIDTH = 12
)
(
input clk,
input rst,
input [DATA_I_WIDTH-1 : 0] data_in,
input data_in_valid,
input [$clog2(DATA_I_WIDTH)-1 : 0] trunc_pos,
output [DATA_O_WIDTH-1 : 0] data_out,
output data_out_valid
);
assign data_out = data_in[trunc_pos -: DATA_O_WIDTH];
endmodule