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
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
3 size 553713
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:5d2a53da1fd413ecb5c59bb663c758f29cbe475bf38362e7bcc92e80f213a1f9
3 size 9489183
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
3 size 40002
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:2b2536694788ce3ca1ab40dd55f0e91426473e87b26e86badb408e7e4abbc945
3 size 1817670
@@ -33,5 +33,17 @@ for i=1:32
end end
end end
weight_stream_data_ind weight_stream_data_index = 1;
flag = 1;
while (flag)
weight_stream_data_str = num2str(weight_stream_data((1:32)+weight_stream_data_index-1)');
tmp = bin2dec(erase(convertCharsToStrings(weight_stream_data_str)," "));
if (tmp == hex2dec("7E7E7E7E"))
flag = 0;
else
weight_stream_data_index = weight_stream_data_index + 1;
end
end
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:06c516bd647c9863c1a4d2c7ce710d39ae2fba907069112410592d920ba1b04b
3 size 541069
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:823431f1b2b00e692258b8fc2557a88b941c0a9ec9d4a5c5e3c0d753d255a50e
3 size 561550
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:6c4fb8c85bd5731b2b47e842427f74a55dadce418ec6c41597483ff16b30324d
3 size 542707
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:8fa3a1fa69ea13a50139763897f1bf14cec0a7ad784a57282771862f678df4ea
3 size 541306
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:37f2d28d521ecd251356d5e79300f644eb16d6f3fa04ff64a51adb363420e59c
3 size 545168
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:5570421a06e906cc9771309b24af2180251836a09130ef45dde7ad95eace3783
3 size 543176
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:4cebc36c50f19d12fe1fff07e9a5b3da621e7900ba28b221b44d4b4760d4e442
3 size 545057
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:1d5e51fef615304c8e6a2d0b9ecb7c0753cf1a314ec25b84fcc86264803478c9
3 size 542857
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:7432dfc7d86002386f61191a4a0612177edb434bac0007f5815719ee75a7a381
3 size 544325
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:06fcfc616945c19a747f92b81ff92cbdaebcf3fc270f3b6ebcae2af1274daf28
3 size 544194
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:348a843c5439cb1c191d8f3b84eee47d4f30a9b8d55843a58e4293de228e35e8
3 size 542006
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:cd223b9b4b24e92a514af92c69b1af9da64fcad6a4ca85e3ef93b7ade0aa9301
3 size 543280
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:760b2bd6eefa08feae615875a2a8841292bf71de56ac0bc782c48fdcacbee379
3 size 542760
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:7398e63b6bbd148be73f23eda9d2dcaa93ee8a98f99d20eecdb31ef9030a119c
3 size 540945
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:6512a8c4cc202a1b1fd63d6da62ff3e80a5229ff80e30b3e26d41d759d46139c
3 size 540928
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:ef572cbe808e450d1bd762b9a68e717cf30d9e6a46e619d874a23ddcb44c7680
3 size 547389
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:ddbfaaa83e43bac72944968b2a02427a7a20fc66e0da910a9fe90acf92c35040
3 size 545796
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:6473a5937c6215b03e59d68e3492ce7ec1b20d3b8819a6beb458949688e60255
3 size 544880
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:b214e16fbd501fe9e87229d9dce7144ab0a431178656bb84564d2d1f6226014f
3 size 553283
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:f27747c9c89e40fa7c4065d0386fa79ab13211ff4a3b7b971bd681a3b0b929be
3 size 550994
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:3ecfcf3e9222af387130d31af467b0b3ff79f22c198877ea037f89c688d2daa9
3 size 551339
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:763df1f9d6194874f7347b085ba0f2953b3e9075170fbb840bf04a97b8b09825
3 size 547870
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:f6462c8db1f70b609070f3f6b66d39ed5e279b42326832ae815524d6206eb0da
3 size 549309
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:ebf4c45d6c0638a66318f92c30335714316da26c20e16e9d88efa068d8c5fd11
3 size 544795
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:f6227e676d45f680641fe0788b98aadf040d167b4971b9a8a8f858977c56b841
3 size 547003
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:481f32d3ee2aa13139cc54380a8d5c89eb89d02c8c2ebcee9223152ee0f66e0c
3 size 547048
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:b1eb9a8b9b1135a1ce860d8ba8e6573d0700704eb4ef030b8b4f0bd7cad823bf
3 size 546604
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:754f9fb0ea449f8163f355d7d43befea13a0ece977d814dcb1b3f303e41857e8
3 size 550940
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:d5b3b593662a3088013e10a8d4293d36065586d8ead72e37245bf699983bfc39
3 size 548335
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:de6a3caa7817afcb62c46dde2063a8545fbb3df4cb1b6031c800720529d3798f
3 size 549100
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:51bd4f9eb9bd12c8ab7681d3e65f4e5d5638d041d3432d4135f37b6e836a2a18
3 size 549218
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:c9d30b13c1d88fedef33cc656f5ab1f26c901175a8a1baf299f965415c3deacc
3 size 548848
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:fa4019b5f61aeda7e40ee21fe6201becd43e65070aaf833878305829005e4d42
3 size 550042
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:c4d7d548c208d4b1eb59e852929670da8e67135957ae0e330ec3f0e39ba03195
3 size 550704
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:942cfdbaa0866cbc6d0af4fc265c3c3585d8f576d2b4eabf5d6edc1f250eb525
3 size 550237
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:7826a8e8bdfa8af14a4f819a3e177db00f25b4ef1d27a1adfd28043954a4f315
3 size 551062
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:7a02cff5ef79d9d5083ad14a72c10440a6ad034b8530d3acad87852b8c9b8af7
3 size 549191
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:2d714a3a7ab651e0ba3c879ea8942731e5afb348eb29400104eaccdafdb8a19e
3 size 548674
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:9679c95c8fee35c5a99576174ed8b424b77ceb20367f8662b09fc9e87ae14873
3 size 549970
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:28f4fa0f0389cc275de21dd29af4f0d78cc2d7b238d2b8b45d45fb22665c0c05
3 size 549322
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:114e4e6240c8e9b278ef99bbfc9c4f36edc9f64389e87f3e6aec810820b54b3b
3 size 549343
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:dfc1eef5151b0fa933aa08d9ae3248f11a08616f1f94cb8a066e5f149cf990fe
3 size 552067
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:924e82aea0b7dc306ba24a0d1dc45612b835125d013afd77938b25999eb9076a
3 size 551080
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:4d0679b0fb2805e911dab403a8b023aecd383d69aee56234397ee64b9d5c070f
3 size 551137
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:519b18119d13b63385472578362a07d33ee89fd984111a38544f2fe00a26ce01
3 size 550802
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:da8135f53cdd743b1e1ee0afe6409ea64fe9b99dc930541bc1249fa7298a7911
3 size 548156
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:22f4457068e372a0d4344bcbbbeb3fb0837abdc9ca1858761d71bd54f8f56ca2
3 size 549008
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:ac567298b81b2fba2757de612d4cd8051582f842912502183cd392f16579501e
3 size 548591
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:de786f4b597d4995d7c46239e79b03609d77cd1d33e3be8cd4c78fefb493cc41
3 size 549634
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:72c77f2e4ebba679c2851cd61aeed67d4fb021ad9cb6450944e9e17759a4bc66
3 size 548384
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:e045094b85df1b2b74ae5686d0982a2e49e34c1ff85ac12638b058c6c8323be6
3 size 549793
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:a3f5277791d8d53f6625e1ace08300d5003084db8b6b3c0b1ec3be6bf8968dbe
3 size 549363
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:3e4ba2871aaa9ef8d5e1b70a214b0e5dc462c117269126186a79dadba4b5bf32
3 size 549514
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:a0011010b7916f1df76031cedd073fd67e6a98a985a212f1b37ab90e8c22562e
3 size 551174
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:c232cb3249b48945f49f9d1a7d5ff2045af3da79d1da798aee16b271f4043f29
3 size 549884
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:59dd2ac8c37391deffe698d6d0209bf633b47f8525d859821bf101173e8f476a
3 size 550911
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:a548f43bd53fbaadedf50bb08d9daebb319726856d89b78b2ae8ac01bbca3294
3 size 550523
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:2b5e56cb328c2bbee9b0630e24b92d163e72f1393b22869e8f9c3110311e66be
3 size 551414
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:1453dfa2457131ee8951807e0db56c23591a46d77ffba6f304317bfa66bfc6eb
3 size 548849
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:599b063b18253224ac2f8f637313a4f8a022bb2eaa71aaf4b6ca535592c31517
3 size 547542
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:2b05c30cee42b325e0708c9dedb1897759edb910f163bfef024143345aa5042e
3 size 550736
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:04d2547cc7f074079eaaf35185c3028d12d58972ecd0494a21f72f4ea623cd4e
3 size 544902
@@ -0,0 +1,204 @@
%% File Header/文件说明
%
% Beamforming with phased array derives signal characteristics from phase
% differences between sensors. Therefore the amplitude-phase consistence is
% vital to phased systems.
%
% The script analyzes the amp-phase relations of ILA captured data, the format
% of which is square-shaped pseudorandorm bit sequence. Each channel is
% processed seperately with different frequency shifts and different optimum
% sampling points. The estimation of amplitude and phase are based on
% acculumated correlation peaks.
%
clc; clear;
%% initial parameters/初始参数
interp = 8; % interpolation factor
channelNum = 4;
dataLen = 8192;
fs = 48e6;
dataFile = [...
"iladata_25.0G_1-1.csv",...
"iladata_25.0G_1-2.csv",...
"iladata_25.0G_1-3.csv",...
"iladata_25.1G_1-1.csv",...
"iladata_25.1G_1-2.csv",...
"iladata_25.1G_1-3.csv",...
"iladata_25.2G_1-1.csv",...
"iladata_25.2G_1-2.csv",...
"iladata_25.2G_1-3.csv",...
"iladata_25.3G_1-1.csv",...
"iladata_25.3G_1-2.csv",...
"iladata_25.3G_1-3.csv",...
"iladata_25.4G_1-1.csv",...
"iladata_25.4G_1-2.csv",...
"iladata_25.4G_1-3.csv",...
"iladata_25.5G_1-1.csv",...
"iladata_25.5G_1-2.csv",...
"iladata_25.5G_1-3.csv",...
"iladata_25.6G_1-1.csv",...
"iladata_25.6G_1-2.csv",...
"iladata_25.6G_1-3.csv",...
"iladata_25.7G_1-1.csv",...
"iladata_25.7G_1-2.csv",...
"iladata_25.7G_1-3.csv",...
"iladata_25.8G_1-1.csv",...
"iladata_25.8G_1-2.csv",...
"iladata_25.8G_1-3.csv",...
"iladata_25.9G_1-1.csv",...
"iladata_25.9G_1-2.csv",...
"iladata_25.9G_1-3.csv",...
"iladata_26.0G_1-1.csv",...
"iladata_26.0G_1-2.csv",...
"iladata_26.0G_1-3.csv",...
"iladata_26.1G_1-1.csv",...
"iladata_26.1G_1-2.csv",...
"iladata_26.1G_1-3.csv",...
"iladata_26.2G_1-1.csv",...
"iladata_26.2G_1-2.csv",...
"iladata_26.2G_1-3.csv",...
"iladata_26.3G_1-1.csv",...
"iladata_26.3G_1-2.csv",...
"iladata_26.3G_1-3.csv",...
"iladata_26.4G_1-1.csv",...
"iladata_26.4G_1-2.csv",...
"iladata_26.4G_1-3.csv",...
"iladata_26.5G_1-1.csv",...
"iladata_26.5G_1-2.csv",...
"iladata_26.5G_1-3.csv",...
"iladata_26.6G_1-1.csv",...
"iladata_26.6G_1-2.csv",...
"iladata_26.6G_1-3.csv",...
"iladata_26.7G_1-1.csv",...
"iladata_26.7G_1-2.csv",...
"iladata_26.8G_1-1.csv",...
"iladata_26.8G_1-2.csv",...
"iladata_26.8G_1-3.csv",...
"iladata_26.9G_1-1.csv",...
"iladata_26.9G_1-2.csv",...
"iladata_26.9G_1-3.csv",...
"iladata_27.0G_1-1.csv",...
"iladata_27.0G_1-2.csv",...
"iladata_27.0G_1-3.csv",...
];
dataFileNum = length(dataFile);
% standard pn sequence
pnSequence = comm.PNSequence('Polynomial','x^7+x^6+1', ...
'InitialConditions',[zeros(1,6),1],'SamplesPerFrame',2^7-1);
PRBS7 = pnSequence();
PRBS7_polar = 1-2*[PRBS7;0];
chipLen = length(PRBS7_polar); % pn chip length
symNum = dataLen/chipLen/interp; % total symbol number
symNumPerAccum = 1; % symbol nbumber of each accumulation
accNum = symNum/symNumPerAccum; % total accumulation numbers, i.e. peak numbers
ampEstSymMax = zeros(dataFileNum,channelNum);
ampEstSymMin = zeros(dataFileNum,channelNum);
ampEstSymAvg = zeros(dataFileNum,channelNum);
angleEstSymMax = zeros(dataFileNum,channelNum);
angleEstSymMin = zeros(dataFileNum,channelNum);
angleEstSymAvg = zeros(dataFileNum,channelNum);
ampEstSymMaxList = strings(dataFileNum+1,channelNum+1);
ampEstSymMinList = strings(dataFileNum+1,channelNum+1);
ampEstSymAvgList = strings(dataFileNum+1,channelNum+1);
angleEstSymMaxList = strings(dataFileNum+1,channelNum+1);
angleEstSymMinList = strings(dataFileNum+1,channelNum+1);
angleEstSymAvgList = strings(dataFileNum+1,channelNum+1);
ampEstSymMaxList(1,:) = ["Amp Max Value", "ch1", "ch2", "ch3", "ch4"];
ampEstSymMinList(1,:) = ["Amp Min Value", "ch1", "ch2", "ch3", "ch4"];
ampEstSymAvgList(1,:) = ["Amp Avg Value", "ch1", "ch2", "ch3", "ch4"];
angleEstSymMaxList(1,:) = ["Angle Max Value", "ch1", "ch2", "ch3", "ch4"];
angleEstSymMinList(1,:) = ["Angle Min Value", "ch1", "ch2", "ch3", "ch4"];
angleEstSymAvgList(1,:) = ["Angle Avg Value", "ch1", "ch2", "ch3", "ch4"];
ampEstSymMaxList(2:end,1) = dataFile;
ampEstSymMinList(2:end,1) = dataFile;
ampEstSymAvgList(2:end,1) = dataFile;
angleEstSymMaxList(2:end,1) = dataFile;
angleEstSymMinList(2:end,1) = dataFile;
angleEstSymAvgList(2:end,1) = dataFile;
for dataFileIndex = 1:dataFileNum
disp(dataFile(dataFileIndex));
%% data analysis
% read data, and swap ch1 and ch2, because loop data locate at ch2 and ch4
rxdata = readmatrix(dataFile(dataFileIndex));
seqRx(:,1) = (rxdata(:, 6) + 1i*rxdata(:, 7)).';
seqRx(:,2) = (rxdata(:, 4) + 1i*rxdata(:, 5)).';
seqRx(:,3) = (rxdata(:, 8) + 1i*rxdata(:, 9)).';
seqRx(:,4) = (rxdata(:,10) + 1i*rxdata(:,11)).';
% compensate frequecny deviation and downsample at optimum sample position based
% on the varience of constellation
[seqRxDown,fd,samplePos] = suqareShapeFreqEst(seqRx,interp,fs,-25000,-21000,5);
% split [seqRxDown] into multiple groups, each group contains several symbols to
% be correlated with PRBS7 and accumulated
seqRxDownSplit = reshape(seqRxDown(1:dataLen/interp,:),chipLen*symNumPerAccum, ...
accNum,channelNum);
seqRxAcc = zeros(chipLen,accNum,channelNum);
desiredPnt = zeros(accNum,channelNum);
ampEstSym = zeros(accNum,channelNum);
angleEstSym = zeros(accNum,channelNum);
for i = 1:accNum
for j = 1:channelNum
% correlation & multi-symbol accumulation
groupCorrAcc = sum(...
reshape(...
conv(...
flip(seqRxDownSplit(:,i,j)),...
PRBS7_polar,'same'),...
chipLen,symNumPerAccum),...
2)';
seqRxAcc(:,i,j) = groupCorrAcc;
% peak position
desiredPnt(i,j) = groupCorrAcc(abs(groupCorrAcc)==max(abs(groupCorrAcc)));
end
end
for i = 1:channelNum
ampEstSym(:,i) = abs(desiredPnt(:,i))./abs(desiredPnt(:,1));
angleEstSym(:,i) = mod((angle(desiredPnt(:,i))-angle(desiredPnt(:,1)))/pi*180,360);
end
ampEstSymMax(dataFileIndex,:) = max(ampEstSym);
ampEstSymMin(dataFileIndex,:) = min(ampEstSym);
ampEstSymAvg(dataFileIndex,:) = mean(ampEstSym);
angleEstSymMax(dataFileIndex,:) = max(angleEstSym);
angleEstSymMin(dataFileIndex,:) = min(angleEstSym);
angleEstSymAvg(dataFileIndex,:) = mean(angleEstSym);
ampEstSymMaxList(dataFileIndex+1,2:end) = string(ampEstSymMax(dataFileIndex,:));
ampEstSymMinList(dataFileIndex+1,2:end) = string(ampEstSymMin(dataFileIndex,:));
ampEstSymAvgList(dataFileIndex+1,2:end) = string(ampEstSymAvg(dataFileIndex,:));
angleEstSymMaxList(dataFileIndex+1,2:end) = string(angleEstSymMax(dataFileIndex,:));
angleEstSymMinList(dataFileIndex+1,2:end) = string(angleEstSymMin(dataFileIndex,:));
angleEstSymAvgList(dataFileIndex+1,2:end) = string(angleEstSymAvg(dataFileIndex,:));
end
%% figures
% figure(1);
%
% subplot(121);
% plot(ampEstSym);
% legend({"ch1","ch2","ch3","ch4"});
% title("Amplitude Estimation");
% ylim([min(ampEstSym,[],'all')-0.2,max(ampEstSym,[],'all')+0.2]);
% grid on; grid minor;
%
% subplot(122);
% plot(angleEstSym);
% legend({"ch1","ch2","ch3","ch4"});
% title("Angle Estimation");
% ylim([-10,370]);
% grid on; grid minor;
@@ -0,0 +1,199 @@
%% File Header/文件说明
%
% Beamforming with phased array derives signal characteristics from phase
% differences between sensors. Therefore the amplitude-phase consistence is
% vital to phased systems.
%
% The script analyzes the amp-phase relations of ILA captured data, the format
% of which is square-shaped pseudorandorm bit sequence. Each channel is
% processed seperately with different frequency shifts and different optimum
% sampling points. The estimation of amplitude and phase are based on
% acculumated correlation peaks.
%
clc; clear;
%% initial parameters/初始参数
interp = 8; % interpolation factor
channelNum = 4;
dataLen = 8192;
fs = 48e6;
dataFile = [...
"iladata_25.0G_1-1.csv",...
"iladata_25.0G_1-2.csv",...
"iladata_25.0G_1-3.csv",...
"iladata_25.1G_1-1.csv",...
"iladata_25.1G_1-2.csv",...
"iladata_25.1G_1-3.csv",...
"iladata_25.2G_1-1.csv",...
"iladata_25.2G_1-2.csv",...
"iladata_25.2G_1-3.csv",...
"iladata_25.3G_1-1.csv",...
"iladata_25.3G_1-2.csv",...
"iladata_25.3G_1-3.csv",...
"iladata_25.4G_1-1.csv",...
"iladata_25.4G_1-2.csv",...
"iladata_25.4G_1-3.csv",...
"iladata_25.5G_1-1.csv",...
"iladata_25.5G_1-2.csv",...
"iladata_25.5G_1-3.csv",...
"iladata_25.6G_1-1.csv",...
"iladata_25.6G_1-2.csv",...
"iladata_25.6G_1-3.csv",...
"iladata_25.7G_1-1.csv",...
"iladata_25.7G_1-2.csv",...
"iladata_25.7G_1-3.csv",...
"iladata_25.8G_1-1.csv",...
"iladata_25.8G_1-2.csv",...
"iladata_25.8G_1-3.csv",...
"iladata_25.9G_1-1.csv",...
"iladata_25.9G_1-2.csv",...
"iladata_25.9G_1-3.csv",...
"iladata_26.0G_1-1.csv",...
"iladata_26.0G_1-2.csv",...
"iladata_26.0G_1-3.csv",...
"iladata_26.1G_1-1.csv",...
"iladata_26.1G_1-2.csv",...
"iladata_26.1G_1-3.csv",...
"iladata_26.2G_1-1.csv",...
"iladata_26.2G_1-2.csv",...
"iladata_26.2G_1-3.csv",...
"iladata_26.3G_1-1.csv",...
"iladata_26.3G_1-2.csv",...
"iladata_26.3G_1-3.csv",...
"iladata_26.4G_1-1.csv",...
"iladata_26.4G_1-2.csv",...
"iladata_26.4G_1-3.csv",...
"iladata_26.5G_1-1.csv",...
"iladata_26.5G_1-2.csv",...
"iladata_26.5G_1-3.csv",...
"iladata_26.6G_1-1.csv",...
"iladata_26.6G_1-2.csv",...
"iladata_26.6G_1-3.csv",...
"iladata_26.7G_1-1.csv",...
"iladata_26.7G_1-2.csv",...
"iladata_26.8G_1-1.csv",...
"iladata_26.8G_1-2.csv",...
"iladata_26.8G_1-3.csv",...
"iladata_26.9G_1-1.csv",...
"iladata_26.9G_1-2.csv",...
"iladata_26.9G_1-3.csv",...
"iladata_27.0G_1-1.csv",...
"iladata_27.0G_1-2.csv",...
"iladata_27.0G_1-3.csv",...
];
dataFileNum = length(dataFile);
% standard pn sequence
pnSequence = comm.PNSequence('Polynomial','x^7+x^6+1', ...
'InitialConditions',[zeros(1,6),1],'SamplesPerFrame',2^7-1);
PRBS7 = pnSequence();
PRBS7_polar = 1-2*[PRBS7;0];
chipLen = length(PRBS7_polar); % pn chip length
symNum = dataLen/chipLen/interp; % total symbol number
symNumPerAccum = 1; % symbol nbumber of each accumulation
accNum = symNum/symNumPerAccum; % total accumulation numbers, i.e. peak numbers
ampEstSymMax = zeros(dataFileNum,channelNum);
ampEstSymMin = zeros(dataFileNum,channelNum);
ampEstSymAvg = zeros(dataFileNum,channelNum);
angleEstSymMax = zeros(dataFileNum,channelNum);
angleEstSymMin = zeros(dataFileNum,channelNum);
angleEstSymAvg = zeros(dataFileNum,channelNum);
ampEstSymMaxList = strings(dataFileNum+1,channelNum+1);
ampEstSymMinList = strings(dataFileNum+1,channelNum+1);
ampEstSymAvgList = strings(dataFileNum+1,channelNum+1);
angleEstSymMaxList = strings(dataFileNum+1,channelNum+1);
angleEstSymMinList = strings(dataFileNum+1,channelNum+1);
angleEstSymAvgList = strings(dataFileNum+1,channelNum+1);
ampEstSymMaxList(1,:) = ["Amp Max Value", "ch1", "ch2", "ch3", "ch4"];
ampEstSymMinList(1,:) = ["Amp Min Value", "ch1", "ch2", "ch3", "ch4"];
ampEstSymAvgList(1,:) = ["Amp Avg Value", "ch1", "ch2", "ch3", "ch4"];
angleEstSymMaxList(1,:) = ["Angle Max Value", "ch1", "ch2", "ch3", "ch4"];
angleEstSymMinList(1,:) = ["Angle Min Value", "ch1", "ch2", "ch3", "ch4"];
angleEstSymAvgList(1,:) = ["Angle Avg Value", "ch1", "ch2", "ch3", "ch4"];
ampEstSymMaxList(2:end,1) = dataFile;
ampEstSymMinList(2:end,1) = dataFile;
ampEstSymAvgList(2:end,1) = dataFile;
angleEstSymMaxList(2:end,1) = dataFile;
angleEstSymMinList(2:end,1) = dataFile;
angleEstSymAvgList(2:end,1) = dataFile;
for dataFileIndex = 1:dataFileNum
disp(dataFile(dataFileIndex));
%% data analysis
% read data, and swap ch1 and ch2, because loop data locate at ch2 and ch4
rxdata = readmatrix(dataFile(dataFileIndex));
seqRx(:,1) = (rxdata(:, 6) + 1i*rxdata(:, 7)).';
seqRx(:,2) = (rxdata(:, 4) + 1i*rxdata(:, 5)).';
seqRx(:,3) = (rxdata(:, 8) + 1i*rxdata(:, 9)).';
seqRx(:,4) = (rxdata(:,10) + 1i*rxdata(:,11)).';
% compensate frequecny deviation and downsample at optimum sample position based
% on the varience of constellation
[seqRxDown,fd,samplePos] = suqareShapeFreqEst(seqRx,interp,fs,-25000,-21000,5);
% split [seqRxDown] into multiple groups, each group contains several symbols to
% be correlated with PRBS7 and accumulated
seqRxDownSplit = reshape(seqRxDown(1:dataLen/interp,:),chipLen*symNumPerAccum, ...
accNum,channelNum);
seqRxAcc = zeros(chipLen,accNum,channelNum);
desiredPnt = zeros(accNum,channelNum);
ampEstSym = zeros(accNum,channelNum);
angleEstSym = zeros(accNum,channelNum);
for i = 1:accNum
for j = 1:channelNum
% correlation & multi-symbol accumulation
groupCorrAcc = sum(reshape(conv(flip(seqRxDownSplit(:,i,j)), ...
PRBS7_polar,'same'),chipLen,symNumPerAccum),2)';
seqRxAcc(:,i,j) = groupCorrAcc;
% peak position
desiredPnt(i,j) = groupCorrAcc(abs(groupCorrAcc)==max(abs(groupCorrAcc)));
end
end
for i = 1:channelNum
ampEstSym(:,i) = abs(desiredPnt(:,i))./abs(desiredPnt(:,1));
angleEstSym(:,i) = mod((angle(desiredPnt(:,i))-angle(desiredPnt(:,1)))/pi*180,360);
end
ampEstSymMax(dataFileIndex,:) = max(ampEstSym);
ampEstSymMin(dataFileIndex,:) = min(ampEstSym);
ampEstSymAvg(dataFileIndex,:) = mean(ampEstSym);
angleEstSymMax(dataFileIndex,:) = max(angleEstSym);
angleEstSymMin(dataFileIndex,:) = min(angleEstSym);
angleEstSymAvg(dataFileIndex,:) = mean(angleEstSym);
ampEstSymMaxList(dataFileIndex+1,2:end) = string(ampEstSymMax(dataFileIndex,:));
ampEstSymMinList(dataFileIndex+1,2:end) = string(ampEstSymMin(dataFileIndex,:));
ampEstSymAvgList(dataFileIndex+1,2:end) = string(ampEstSymAvg(dataFileIndex,:));
angleEstSymMaxList(dataFileIndex+1,2:end) = string(angleEstSymMax(dataFileIndex,:));
angleEstSymMinList(dataFileIndex+1,2:end) = string(angleEstSymMin(dataFileIndex,:));
angleEstSymAvgList(dataFileIndex+1,2:end) = string(angleEstSymAvg(dataFileIndex,:));
end
%% figures
% figure(1);
%
% subplot(121);
% plot(ampEstSym);
% legend({"ch1","ch2","ch3","ch4"});
% title("Amplitude Estimation");
% ylim([min(ampEstSym,[],'all')-0.2,max(ampEstSym,[],'all')+0.2]);
% grid on; grid minor;
%
% subplot(122);
% plot(angleEstSym);
% legend({"ch1","ch2","ch3","ch4"});
% title("Angle Estimation");
% ylim([-10,370]);
% grid on; grid minor;
@@ -0,0 +1,50 @@
function [dataOut, fdTarget, samplePosTarget] = suqareShapeFreqEst(dataIn, interp, fs, fmin, fmax, fd)
%suqareShapeFreqEst - 利用星座图的集中程度在一定频率范围内使用频率步进估计方波成形信号的频偏
%
% data - input complex data, row vector
% dataLen - data length
% interp - interpolation rate
% fs - sampling rate, in Herts
% fmin - minimum estimation frequency, in Herts
% fmax - maximum estimation frequency, in Herts
% fd - estimation frequency step, in Herts
% dimension
[dataLen,channelNum] = size(dataIn);
freqList = fmin:fd:fmax;
freqNum = length(freqList);
varRecord = zeros(freqNum,interp);
dataOut = zeros(dataLen/interp,channelNum);
fdTarget = zeros(channelNum,1);
samplePosTarget = zeros(channelNum,1);
for channel = 1:channelNum
for freq = 1:freqNum
% carrier
cxr = exp(-1i*2*pi*freqList(freq)/fs*(0:dataLen-1)');
% apply frequency shift onto input data
seqRx = dataIn(:,channel).*cxr;
for samplePos = 0:interp-1
seqRxDown = downsample(seqRx,interp,samplePos); % 下采样
seqRxDownQuaterOne = abs(real(seqRxDown)) + 1i*abs(imag(seqRxDown)); % 集中到第一象限
varRecord(freq,samplePos+1) = var(seqRxDownQuaterOne);
end
end
[fdIndex, samplePosIndex] = find(varRecord==min(min(varRecord)));
fdTarget(channel) = freqList(fdIndex);
samplePosTarget(channel) = samplePosIndex-1;
cxrTarget = exp(-1i*2*pi*fdTarget(channel)/fs*(0:dataLen-1)');
seqRxTarget = dataIn(:,channel).*cxrTarget;
dataOut(:,channel) = downsample(seqRxTarget,interp,samplePosTarget(channel));
end
end
@@ -0,0 +1,11 @@
# 数据说明
1. iladata_ad9361_pure_noise.csv: 调零板 AD9361 单板噪声。
2. iladata_ad9361_ant_noise.csv: 调零板射频接收噪声。
3. iladata_ad9361_pure_noise_A-B.csv: 调零板 AD9361 单板噪声,第 A 次上电过程中第 B 次采集结果。
> 1~3 AD9361 配置均为 48Msps,BW 40MHz,外部本振,使用 AD9516-3 的 VCO 分频时钟。
4. iladata_814_1t2r_48msps_bwxxm_xxx_lo_A-B.csv:调零板 AD9361 单板噪声,48Msps,BW xxMHz,ext_lo 表示外部本振,int_lo 表示内部本振,第 A 次上电过程中第 B 次采集结果。
@@ -53,7 +53,8 @@ probe_out0,
probe_out1, probe_out1,
probe_out2, probe_out2,
probe_out3, probe_out3,
probe_out4 probe_out4,
probe_out5
); );
input clk; input clk;
@@ -63,6 +64,7 @@ output reg [0 : 0] probe_out1 = 'h0 ;
output reg [31 : 0] probe_out2 = 'h00000000 ; output reg [31 : 0] probe_out2 = 'h00000000 ;
output reg [1 : 0] probe_out3 = 'h3 ; output reg [1 : 0] probe_out3 = 'h3 ;
output reg [3 : 0] probe_out4 = 'h0 ; output reg [3 : 0] probe_out4 = 'h0 ;
output reg [0 : 0] probe_out5 = 'h0 ;
endmodule endmodule
@@ -60,7 +60,8 @@ vio_manual_ctrl your_instance_name (
.probe_out1(probe_out1), // output wire [0 : 0] probe_out1 .probe_out1(probe_out1), // output wire [0 : 0] probe_out1
.probe_out2(probe_out2), // output wire [31 : 0] probe_out2 .probe_out2(probe_out2), // output wire [31 : 0] probe_out2
.probe_out3(probe_out3), // output wire [1 : 0] probe_out3 .probe_out3(probe_out3), // output wire [1 : 0] probe_out3
.probe_out4(probe_out4) // output wire [3 : 0] probe_out4 .probe_out4(probe_out4), // output wire [3 : 0] probe_out4
.probe_out5(probe_out5) // output wire [0 : 0] probe_out5
); );
// INST_TAG_END ------ End INSTANTIATION Template --------- // INST_TAG_END ------ End INSTANTIATION Template ---------
@@ -59,7 +59,8 @@ COMPONENT vio_manual_ctrl
probe_out1 : OUT STD_LOGIC_VECTOR(0 DOWNTO 0); probe_out1 : OUT STD_LOGIC_VECTOR(0 DOWNTO 0);
probe_out2 : OUT STD_LOGIC_VECTOR(31 DOWNTO 0); probe_out2 : OUT STD_LOGIC_VECTOR(31 DOWNTO 0);
probe_out3 : OUT STD_LOGIC_VECTOR(1 DOWNTO 0); probe_out3 : OUT STD_LOGIC_VECTOR(1 DOWNTO 0);
probe_out4 : OUT STD_LOGIC_VECTOR(3 DOWNTO 0) probe_out4 : OUT STD_LOGIC_VECTOR(3 DOWNTO 0);
probe_out5 : OUT STD_LOGIC_VECTOR(0 DOWNTO 0)
); );
END COMPONENT; END COMPONENT;
-- COMP_TAG_END ------ End COMPONENT Declaration ------------ -- COMP_TAG_END ------ End COMPONENT Declaration ------------
@@ -75,7 +76,8 @@ your_instance_name : vio_manual_ctrl
probe_out1 => probe_out1, probe_out1 => probe_out1,
probe_out2 => probe_out2, probe_out2 => probe_out2,
probe_out3 => probe_out3, probe_out3 => probe_out3,
probe_out4 => probe_out4 probe_out4 => probe_out4,
probe_out5 => probe_out5
); );
-- INST_TAG_END ------ End INSTANTIATION Template --------- -- INST_TAG_END ------ End INSTANTIATION Template ---------
@@ -1,7 +1,7 @@
// Copyright 1986-2019 Xilinx, Inc. All Rights Reserved. // Copyright 1986-2019 Xilinx, Inc. All Rights Reserved.
// -------------------------------------------------------------------------------- // --------------------------------------------------------------------------------
// Tool Version: Vivado v.2019.1.3 (lin64) Build 2644227 Wed Sep 4 09:44:18 MDT 2019 // Tool Version: Vivado v.2019.1.3 (lin64) Build 2644227 Wed Sep 4 09:44:18 MDT 2019
// Date : Wed Apr 19 12:03:53 2023 // Date : Sun Apr 23 16:19:11 2023
// Host : JOSH-ASUS-Z690 running 64-bit Ubuntu 20.04.6 LTS // Host : JOSH-ASUS-Z690 running 64-bit Ubuntu 20.04.6 LTS
// Command : write_verilog -force -mode synth_stub // Command : write_verilog -force -mode synth_stub
// /home/josh/Workspace/vivado-git/projects/dl814_k7/dl814_k7_cal_coarse/ip/managed_ip_project/managed_ip_project.runs/vio_manual_ctrl_synth_1/vio_manual_ctrl_stub.v // /home/josh/Workspace/vivado-git/projects/dl814_k7/dl814_k7_cal_coarse/ip/managed_ip_project/managed_ip_project.runs/vio_manual_ctrl_synth_1/vio_manual_ctrl_stub.v
@@ -15,12 +15,13 @@
// Please paste the declaration into a Verilog source file or add the file as an additional source. // Please paste the declaration into a Verilog source file or add the file as an additional source.
(* X_CORE_INFO = "vio,Vivado 2019.1.3" *) (* X_CORE_INFO = "vio,Vivado 2019.1.3" *)
module vio_manual_ctrl(clk, probe_out0, probe_out1, probe_out2, module vio_manual_ctrl(clk, probe_out0, probe_out1, probe_out2,
probe_out3, probe_out4) probe_out3, probe_out4, probe_out5)
/* synthesis syn_black_box black_box_pad_pin="clk,probe_out0[1:0],probe_out1[0:0],probe_out2[31:0],probe_out3[1:0],probe_out4[3:0]" */; /* synthesis syn_black_box black_box_pad_pin="clk,probe_out0[1:0],probe_out1[0:0],probe_out2[31:0],probe_out3[1:0],probe_out4[3:0],probe_out5[0:0]" */;
input clk; input clk;
output [1:0]probe_out0; output [1:0]probe_out0;
output [0:0]probe_out1; output [0:0]probe_out1;
output [31:0]probe_out2; output [31:0]probe_out2;
output [1:0]probe_out3; output [1:0]probe_out3;
output [3:0]probe_out4; output [3:0]probe_out4;
output [0:0]probe_out5;
endmodule endmodule
@@ -1,7 +1,7 @@
-- Copyright 1986-2019 Xilinx, Inc. All Rights Reserved. -- Copyright 1986-2019 Xilinx, Inc. All Rights Reserved.
-- -------------------------------------------------------------------------------- -- --------------------------------------------------------------------------------
-- Tool Version: Vivado v.2019.1.3 (lin64) Build 2644227 Wed Sep 4 09:44:18 MDT 2019 -- Tool Version: Vivado v.2019.1.3 (lin64) Build 2644227 Wed Sep 4 09:44:18 MDT 2019
-- Date : Wed Apr 19 12:03:53 2023 -- Date : Sun Apr 23 16:19:11 2023
-- Host : JOSH-ASUS-Z690 running 64-bit Ubuntu 20.04.6 LTS -- Host : JOSH-ASUS-Z690 running 64-bit Ubuntu 20.04.6 LTS
-- Command : write_vhdl -force -mode synth_stub -- Command : write_vhdl -force -mode synth_stub
-- /home/josh/Workspace/vivado-git/projects/dl814_k7/dl814_k7_cal_coarse/ip/managed_ip_project/managed_ip_project.runs/vio_manual_ctrl_synth_1/vio_manual_ctrl_stub.vhdl -- /home/josh/Workspace/vivado-git/projects/dl814_k7/dl814_k7_cal_coarse/ip/managed_ip_project/managed_ip_project.runs/vio_manual_ctrl_synth_1/vio_manual_ctrl_stub.vhdl
@@ -19,7 +19,8 @@ entity vio_manual_ctrl is
probe_out1 : out STD_LOGIC_VECTOR ( 0 to 0 ); probe_out1 : out STD_LOGIC_VECTOR ( 0 to 0 );
probe_out2 : out STD_LOGIC_VECTOR ( 31 downto 0 ); probe_out2 : out STD_LOGIC_VECTOR ( 31 downto 0 );
probe_out3 : out STD_LOGIC_VECTOR ( 1 downto 0 ); probe_out3 : out STD_LOGIC_VECTOR ( 1 downto 0 );
probe_out4 : out STD_LOGIC_VECTOR ( 3 downto 0 ) probe_out4 : out STD_LOGIC_VECTOR ( 3 downto 0 );
probe_out5 : out STD_LOGIC_VECTOR ( 0 to 0 )
); );
end vio_manual_ctrl; end vio_manual_ctrl;
@@ -28,7 +29,7 @@ architecture stub of vio_manual_ctrl is
attribute syn_black_box : boolean; attribute syn_black_box : boolean;
attribute black_box_pad_pin : string; attribute black_box_pad_pin : string;
attribute syn_black_box of stub : architecture is true; attribute syn_black_box of stub : architecture is true;
attribute black_box_pad_pin of stub : architecture is "clk,probe_out0[1:0],probe_out1[0:0],probe_out2[31:0],probe_out3[1:0],probe_out4[3:0]"; attribute black_box_pad_pin of stub : architecture is "clk,probe_out0[1:0],probe_out1[0:0],probe_out2[31:0],probe_out3[1:0],probe_out4[3:0],probe_out5[0:0]";
attribute X_CORE_INFO : string; attribute X_CORE_INFO : string;
attribute X_CORE_INFO of stub : architecture is "vio,Vivado 2019.1.3"; attribute X_CORE_INFO of stub : architecture is "vio,Vivado 2019.1.3";
begin begin
@@ -4,7 +4,7 @@
# README.txt: Please read the sections below to understand the steps required to # README.txt: Please read the sections below to understand the steps required to
# run the exported script and information about the source files. # run the exported script and information about the source files.
# #
# Generated by export_simulation on Wed Apr 19 12:03:35 CST 2023 # Generated by export_simulation on Sun Apr 23 16:18:53 CST 2023
# #
################################################################################ ################################################################################
@@ -8,7 +8,6 @@ vmap xil_defaultlib activehdl/xil_defaultlib
vmap xpm activehdl/xpm vmap xpm activehdl/xpm
vlog -work xil_defaultlib -sv2k12 "+incdir+../../../ip/vio_manual_ctrl/hdl/verilog" "+incdir+../../../ip/vio_manual_ctrl/hdl" \ vlog -work xil_defaultlib -sv2k12 "+incdir+../../../ip/vio_manual_ctrl/hdl/verilog" "+incdir+../../../ip/vio_manual_ctrl/hdl" \
"/tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_cdc/hdl/xpm_cdc.sv" \
"/tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_memory/hdl/xpm_memory.sv" \ "/tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_memory/hdl/xpm_memory.sv" \
vcom -work xpm -93 \ vcom -work xpm -93 \
@@ -17,6 +16,7 @@ vcom -work xpm -93 \
vlog -work xil_defaultlib -v2k5 "+incdir+../../../ip/vio_manual_ctrl/hdl/verilog" "+incdir+../../../ip/vio_manual_ctrl/hdl" \ vlog -work xil_defaultlib -v2k5 "+incdir+../../../ip/vio_manual_ctrl/hdl/verilog" "+incdir+../../../ip/vio_manual_ctrl/hdl" \
"../../../ip/vio_manual_ctrl/sim/vio_manual_ctrl.v" \ "../../../ip/vio_manual_ctrl/sim/vio_manual_ctrl.v" \
vlog -work xil_defaultlib \ vlog -work xil_defaultlib \
"glbl.v" "glbl.v"
@@ -1,4 +1,3 @@
xpm_cdc.sv,systemverilog,xil_defaultlib,../../../tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_cdc/hdl/xpm_cdc.sv,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl"
xpm_memory.sv,systemverilog,xil_defaultlib,../../../tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_memory/hdl/xpm_memory.sv,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl" xpm_memory.sv,systemverilog,xil_defaultlib,../../../tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_memory/hdl/xpm_memory.sv,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl"
xpm_VCOMP.vhd,vhdl,xpm,../../../tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_VCOMP.vhd,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl" xpm_VCOMP.vhd,vhdl,xpm,../../../tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_VCOMP.vhd,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl"
vio_manual_ctrl.v,verilog,xil_defaultlib,../../../ip/vio_manual_ctrl/sim/vio_manual_ctrl.v,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl" vio_manual_ctrl.v,verilog,xil_defaultlib,../../../ip/vio_manual_ctrl/sim/vio_manual_ctrl.v,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl"
@@ -9,7 +9,7 @@
# directory, add the library logical mappings in the simulator setup file, create default # directory, add the library logical mappings in the simulator setup file, create default
# 'do/prj' file, execute compilation, elaboration and simulation steps. # 'do/prj' file, execute compilation, elaboration and simulation steps.
# #
# Generated by Vivado on Wed Apr 19 12:03:35 CST 2023 # Generated by Vivado on Sun Apr 23 16:18:53 CST 2023
# SW Build 2644227 on Wed Sep 4 09:44:18 MDT 2019 # SW Build 2644227 on Wed Sep 4 09:44:18 MDT 2019
# #
# Copyright 1986-2019 Xilinx, Inc. All Rights Reserved. # Copyright 1986-2019 Xilinx, Inc. All Rights Reserved.
@@ -4,7 +4,7 @@
# README.txt: Please read the sections below to understand the steps required to # README.txt: Please read the sections below to understand the steps required to
# run the exported script and information about the source files. # run the exported script and information about the source files.
# #
# Generated by export_simulation on Wed Apr 19 12:03:35 CST 2023 # Generated by export_simulation on Sun Apr 23 16:18:53 CST 2023
# #
################################################################################ ################################################################################
@@ -1,4 +1,3 @@
xpm_cdc.sv,systemverilog,xil_defaultlib,../../../tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_cdc/hdl/xpm_cdc.sv,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl"
xpm_memory.sv,systemverilog,xil_defaultlib,../../../tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_memory/hdl/xpm_memory.sv,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl" xpm_memory.sv,systemverilog,xil_defaultlib,../../../tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_memory/hdl/xpm_memory.sv,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl"
xpm_VCOMP.vhd,vhdl,xpm,../../../tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_VCOMP.vhd,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl" xpm_VCOMP.vhd,vhdl,xpm,../../../tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_VCOMP.vhd,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl"
vio_manual_ctrl.v,verilog,xil_defaultlib,../../../ip/vio_manual_ctrl/sim/vio_manual_ctrl.v,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl" vio_manual_ctrl.v,verilog,xil_defaultlib,../../../ip/vio_manual_ctrl/sim/vio_manual_ctrl.v,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl"
@@ -1,5 +1,4 @@
-makelib ies_lib/xil_defaultlib -sv \ -makelib ies_lib/xil_defaultlib -sv \
"/tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_cdc/hdl/xpm_cdc.sv" \
"/tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_memory/hdl/xpm_memory.sv" \ "/tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_memory/hdl/xpm_memory.sv" \
-endlib -endlib
-makelib ies_lib/xpm \ -makelib ies_lib/xpm \
@@ -9,7 +9,7 @@
# directory, add the library logical mappings in the simulator setup file, create default # directory, add the library logical mappings in the simulator setup file, create default
# 'do/prj' file, execute compilation, elaboration and simulation steps. # 'do/prj' file, execute compilation, elaboration and simulation steps.
# #
# Generated by Vivado on Wed Apr 19 12:03:35 CST 2023 # Generated by Vivado on Sun Apr 23 16:18:53 CST 2023
# SW Build 2644227 on Wed Sep 4 09:44:18 MDT 2019 # SW Build 2644227 on Wed Sep 4 09:44:18 MDT 2019
# #
# Copyright 1986-2019 Xilinx, Inc. All Rights Reserved. # Copyright 1986-2019 Xilinx, Inc. All Rights Reserved.
@@ -4,7 +4,7 @@
# README.txt: Please read the sections below to understand the steps required to # README.txt: Please read the sections below to understand the steps required to
# run the exported script and information about the source files. # run the exported script and information about the source files.
# #
# Generated by export_simulation on Wed Apr 19 12:03:35 CST 2023 # Generated by export_simulation on Sun Apr 23 16:18:53 CST 2023
# #
################################################################################ ################################################################################
@@ -9,7 +9,7 @@
# directory, add the library logical mappings in the simulator setup file, create default # directory, add the library logical mappings in the simulator setup file, create default
# 'do/prj' file, execute compilation, elaboration and simulation steps. # 'do/prj' file, execute compilation, elaboration and simulation steps.
# #
# Generated by Vivado on Wed Apr 19 12:03:35 CST 2023 # Generated by Vivado on Sun Apr 23 16:18:53 CST 2023
# SW Build 2644227 on Wed Sep 4 09:44:18 MDT 2019 # SW Build 2644227 on Wed Sep 4 09:44:18 MDT 2019
# #
# Copyright 1986-2019 Xilinx, Inc. All Rights Reserved. # Copyright 1986-2019 Xilinx, Inc. All Rights Reserved.
@@ -4,7 +4,7 @@
# README.txt: Please read the sections below to understand the steps required to # README.txt: Please read the sections below to understand the steps required to
# run the exported script and information about the source files. # run the exported script and information about the source files.
# #
# Generated by export_simulation on Wed Apr 19 12:03:35 CST 2023 # Generated by export_simulation on Sun Apr 23 16:18:53 CST 2023
# #
################################################################################ ################################################################################
@@ -8,7 +8,6 @@ vmap xil_defaultlib questa_lib/msim/xil_defaultlib
vmap xpm questa_lib/msim/xpm vmap xpm questa_lib/msim/xpm
vlog -work xil_defaultlib -64 -sv "+incdir+../../../ip/vio_manual_ctrl/hdl/verilog" "+incdir+../../../ip/vio_manual_ctrl/hdl" \ vlog -work xil_defaultlib -64 -sv "+incdir+../../../ip/vio_manual_ctrl/hdl/verilog" "+incdir+../../../ip/vio_manual_ctrl/hdl" \
"/tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_cdc/hdl/xpm_cdc.sv" \
"/tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_memory/hdl/xpm_memory.sv" \ "/tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_memory/hdl/xpm_memory.sv" \
vcom -work xpm -64 -93 \ vcom -work xpm -64 -93 \
@@ -17,6 +16,7 @@ vcom -work xpm -64 -93 \
vlog -work xil_defaultlib -64 "+incdir+../../../ip/vio_manual_ctrl/hdl/verilog" "+incdir+../../../ip/vio_manual_ctrl/hdl" \ vlog -work xil_defaultlib -64 "+incdir+../../../ip/vio_manual_ctrl/hdl/verilog" "+incdir+../../../ip/vio_manual_ctrl/hdl" \
"../../../ip/vio_manual_ctrl/sim/vio_manual_ctrl.v" \ "../../../ip/vio_manual_ctrl/sim/vio_manual_ctrl.v" \
vlog -work xil_defaultlib \ vlog -work xil_defaultlib \
"glbl.v" "glbl.v"
@@ -1,4 +1,3 @@
xpm_cdc.sv,systemverilog,xil_defaultlib,../../../tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_cdc/hdl/xpm_cdc.sv,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl"
xpm_memory.sv,systemverilog,xil_defaultlib,../../../tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_memory/hdl/xpm_memory.sv,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl" xpm_memory.sv,systemverilog,xil_defaultlib,../../../tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_memory/hdl/xpm_memory.sv,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl"
xpm_VCOMP.vhd,vhdl,xpm,../../../tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_VCOMP.vhd,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl" xpm_VCOMP.vhd,vhdl,xpm,../../../tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_VCOMP.vhd,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl"
vio_manual_ctrl.v,verilog,xil_defaultlib,../../../ip/vio_manual_ctrl/sim/vio_manual_ctrl.v,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl" vio_manual_ctrl.v,verilog,xil_defaultlib,../../../ip/vio_manual_ctrl/sim/vio_manual_ctrl.v,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl"
@@ -9,7 +9,7 @@
# directory, add the library logical mappings in the simulator setup file, create default # directory, add the library logical mappings in the simulator setup file, create default
# 'do/prj' file, execute compilation, elaboration and simulation steps. # 'do/prj' file, execute compilation, elaboration and simulation steps.
# #
# Generated by Vivado on Wed Apr 19 12:03:35 CST 2023 # Generated by Vivado on Sun Apr 23 16:18:53 CST 2023
# SW Build 2644227 on Wed Sep 4 09:44:18 MDT 2019 # SW Build 2644227 on Wed Sep 4 09:44:18 MDT 2019
# #
# Copyright 1986-2019 Xilinx, Inc. All Rights Reserved. # Copyright 1986-2019 Xilinx, Inc. All Rights Reserved.
@@ -4,7 +4,7 @@
# README.txt: Please read the sections below to understand the steps required to # README.txt: Please read the sections below to understand the steps required to
# run the exported script and information about the source files. # run the exported script and information about the source files.
# #
# Generated by export_simulation on Wed Apr 19 12:03:35 CST 2023 # Generated by export_simulation on Sun Apr 23 16:18:53 CST 2023
# #
################################################################################ ################################################################################
@@ -8,7 +8,6 @@ vmap xil_defaultlib riviera/xil_defaultlib
vmap xpm riviera/xpm vmap xpm riviera/xpm
vlog -work xil_defaultlib -sv2k12 "+incdir+../../../ip/vio_manual_ctrl/hdl/verilog" "+incdir+../../../ip/vio_manual_ctrl/hdl" \ vlog -work xil_defaultlib -sv2k12 "+incdir+../../../ip/vio_manual_ctrl/hdl/verilog" "+incdir+../../../ip/vio_manual_ctrl/hdl" \
"/tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_cdc/hdl/xpm_cdc.sv" \
"/tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_memory/hdl/xpm_memory.sv" \ "/tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_memory/hdl/xpm_memory.sv" \
vcom -work xpm -93 \ vcom -work xpm -93 \
@@ -17,6 +16,7 @@ vcom -work xpm -93 \
vlog -work xil_defaultlib -v2k5 "+incdir+../../../ip/vio_manual_ctrl/hdl/verilog" "+incdir+../../../ip/vio_manual_ctrl/hdl" \ vlog -work xil_defaultlib -v2k5 "+incdir+../../../ip/vio_manual_ctrl/hdl/verilog" "+incdir+../../../ip/vio_manual_ctrl/hdl" \
"../../../ip/vio_manual_ctrl/sim/vio_manual_ctrl.v" \ "../../../ip/vio_manual_ctrl/sim/vio_manual_ctrl.v" \
vlog -work xil_defaultlib \ vlog -work xil_defaultlib \
"glbl.v" "glbl.v"
@@ -1,4 +1,3 @@
xpm_cdc.sv,systemverilog,xil_defaultlib,../../../tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_cdc/hdl/xpm_cdc.sv,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl"
xpm_memory.sv,systemverilog,xil_defaultlib,../../../tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_memory/hdl/xpm_memory.sv,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl" xpm_memory.sv,systemverilog,xil_defaultlib,../../../tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_memory/hdl/xpm_memory.sv,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl"
xpm_VCOMP.vhd,vhdl,xpm,../../../tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_VCOMP.vhd,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl" xpm_VCOMP.vhd,vhdl,xpm,../../../tools/Xilinx/Vivado/2019.1/data/ip/xpm/xpm_VCOMP.vhd,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl"
vio_manual_ctrl.v,verilog,xil_defaultlib,../../../ip/vio_manual_ctrl/sim/vio_manual_ctrl.v,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl" vio_manual_ctrl.v,verilog,xil_defaultlib,../../../ip/vio_manual_ctrl/sim/vio_manual_ctrl.v,incdir="../../../ip/vio_manual_ctrl/hdl/verilog"incdir="../../../ip/vio_manual_ctrl/hdl"
@@ -9,7 +9,7 @@
# directory, add the library logical mappings in the simulator setup file, create default # directory, add the library logical mappings in the simulator setup file, create default
# 'do/prj' file, execute compilation, elaboration and simulation steps. # 'do/prj' file, execute compilation, elaboration and simulation steps.
# #
# Generated by Vivado on Wed Apr 19 12:03:35 CST 2023 # Generated by Vivado on Sun Apr 23 16:18:53 CST 2023
# SW Build 2644227 on Wed Sep 4 09:44:18 MDT 2019 # SW Build 2644227 on Wed Sep 4 09:44:18 MDT 2019
# #
# Copyright 1986-2019 Xilinx, Inc. All Rights Reserved. # Copyright 1986-2019 Xilinx, Inc. All Rights Reserved.
@@ -4,7 +4,7 @@
# README.txt: Please read the sections below to understand the steps required to # README.txt: Please read the sections below to understand the steps required to
# run the exported script and information about the source files. # run the exported script and information about the source files.
# #
# Generated by export_simulation on Wed Apr 19 12:03:35 CST 2023 # Generated by export_simulation on Sun Apr 23 16:18:53 CST 2023
# #
################################################################################ ################################################################################
@@ -9,7 +9,7 @@
# directory, add the library logical mappings in the simulator setup file, create default # directory, add the library logical mappings in the simulator setup file, create default
# 'do/prj' file, execute compilation, elaboration and simulation steps. # 'do/prj' file, execute compilation, elaboration and simulation steps.
# #
# Generated by Vivado on Wed Apr 19 12:03:35 CST 2023 # Generated by Vivado on Sun Apr 23 16:18:53 CST 2023
# SW Build 2644227 on Wed Sep 4 09:44:18 MDT 2019 # SW Build 2644227 on Wed Sep 4 09:44:18 MDT 2019
# #
# Copyright 1986-2019 Xilinx, Inc. All Rights Reserved. # Copyright 1986-2019 Xilinx, Inc. All Rights Reserved.
@@ -4,7 +4,7 @@
# README.txt: Please read the sections below to understand the steps required to # README.txt: Please read the sections below to understand the steps required to
# run the exported script and information about the source files. # run the exported script and information about the source files.
# #
# Generated by export_simulation on Wed Apr 19 12:03:35 CST 2023 # Generated by export_simulation on Sun Apr 23 16:18:53 CST 2023
# #
################################################################################ ################################################################################

Some files were not shown because too many files have changed in this diff Show More