为多相位模拟增加命令行,增加8b10b切换的测试

This commit is contained in:
2025-09-08 16:47:30 +08:00
parent a63e14e6f6
commit 9c43daf51e
8 changed files with 155 additions and 41 deletions

View File

@@ -12,13 +12,6 @@ module ShinTopSpiTb(
reg [15:0] multiCLK;
reg clock2;
reg [15:0] multiCLK2;
reg clock3;
reg [15:0] multiCLK3;
`include "dev_predef.vh"
`ifdef DEFINE_SLAVE_DEVICE
@@ -361,7 +354,6 @@ ShinTop s_ShinTop_slv3(
initial begin
clock = 0;
clock2 = 0;
reset = 1;
latch0 = 0;
@@ -407,6 +399,8 @@ generate
end
endgenerate
/*
//如果频率差到 80ppm参数是 8000640/1000080/8000640 [pass]
//如果频率差到120ppm参数是 8000960/1000120/8000960 [pass]
//如果频率差到160ppm参数是 8001280/1000160/8001280 [pass]
@@ -466,8 +460,11 @@ generate
end
end
endgenerate
*/
`include "slave_dev_clk.vh"
initial
begin
spidata_file = $fopen("spi_trans_data.txt", "w");