1.完整项目描述和程序获取
>面包多安全交易平台:https://mbd.pub/o/bread/ZJyTm5dp
>如果链接失效,可以直接打开本站店铺搜索相关店铺:
>如果链接失效,程序调试报错或者项目合作也可以加微信或者QQ联系。
2.部分仿真图预览
3.算法概述
在发送端,首先确定数据帧的格式,包括头部、数据和尾部的长度。然后,选择一个合适的UW序列,并将数据帧的头部依次与UW序列进行异或操作。将得到的带有UW序列的头部发送给接收端。
4.部分源码
`timescale 1ns / 1ps
//
// Company:
// Engineer:
//
// Create Date: 2023/07/24 21:40:51
// Design Name:
// Module Name: TEST
// Project Name:
// Target Devices:
// Tool Versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//
module TEST();
// Inputs
reg i_clk;
reg i_rst;
// Outputs
wire [11:0] o_I_dw;
wire [11:0] o_Q_dw;
wire[14:0] o_peak;
wire o_syn;
wire frame_data_en;
wire [11:0] frame_data;
// Instantiate the Unit Under Test (UUT)
UW_1_sycn uut (
.i_clk (i_clk),
.i_rst (i_rst),
.o_I_dw (o_I_dw),
.o_Q_dw (o_Q_dw),
.o_peak (o_peak),
.o_syn (o_syn),
.frame_data_en(frame_data_en),
.frame_data (frame_data)
);
initial begin
// Initialize Inputs
i_clk = 1;
i_rst = 1;
// Wait 100 ns for global reset to finish
#100
i_rst = 0;
// Add stimulus here
end
always #5 i_clk=~i_clk;
endmodule
00_031m
---