Commit 3647f8ed authored by Andrey Filippov's avatar Andrey Filippov

added new gtkwave sav, changes to old files to satisfy newer Icarus. FPGA 0x03031003

parent e982c5ae
This diff is collapsed.
This diff is collapsed.
...@@ -2534,7 +2534,7 @@ module ddr3 ( ...@@ -2534,7 +2534,7 @@ module ddr3 (
end end
task cmd_addr_timing_check; task cmd_addr_timing_check;
input i; input [4:0]i;
reg [4:0] i; reg [4:0] i;
begin begin
if (rst_n_in && prev_cke) begin if (rst_n_in && prev_cke) begin
...@@ -2578,7 +2578,7 @@ module ddr3 ( ...@@ -2578,7 +2578,7 @@ module ddr3 (
// Processes to check setup and hold of data signals // Processes to check setup and hold of data signals
task dm_timing_check; task dm_timing_check;
input i; input [4:0] i;
reg [4:0] i; reg [4:0] i;
begin begin
if (dqs_in_valid) begin if (dqs_in_valid) begin
...@@ -2629,7 +2629,7 @@ module ddr3 ( ...@@ -2629,7 +2629,7 @@ module ddr3 (
always @(dm_in[31]) dm_timing_check(31); always @(dm_in[31]) dm_timing_check(31);
task dq_timing_check; task dq_timing_check;
input i; input [6:0] i;
reg [6:0] i; reg [6:0] i;
begin begin
if (dqs_in_valid) begin if (dqs_in_valid) begin
...@@ -2776,7 +2776,7 @@ module ddr3 ( ...@@ -2776,7 +2776,7 @@ module ddr3 (
always @(dq_in[127]) dq_timing_check(127); always @(dq_in[127]) dq_timing_check(127);
task dqs_pos_timing_check; task dqs_pos_timing_check;
input i; input [5:0] i;
reg [5:0] i; reg [5:0] i;
reg [4:0] j; reg [4:0] j;
begin begin
...@@ -2911,7 +2911,7 @@ module ddr3 ( ...@@ -2911,7 +2911,7 @@ module ddr3 (
always @(negedge dqs_in[63]) if (!dqs_in[63]) dqs_pos_timing_check(63); always @(negedge dqs_in[63]) if (!dqs_in[63]) dqs_pos_timing_check(63);
task dqs_neg_timing_check; task dqs_neg_timing_check;
input i; input [5:0] i;
reg [5:0] i; reg [5:0] i;
reg [4:0] j; reg [4:0] j;
begin begin
......
...@@ -772,7 +772,9 @@ assign next_disparity = ^oword[word_count - 1] ? word_disparity[word_count - 1] ...@@ -772,7 +772,9 @@ assign next_disparity = ^oword[word_count - 1] ? word_disparity[word_count - 1]
endmodule endmodule
module gtxe2_chnl_tx_oob #( module gtxe2_chnl_tx_oob #(
parameter width = 20 parameter width = 20,
parameter [3:0] SATA_BURST_SEQ_LEN = 4'b0101,
parameter SATA_CPLL_CFG = "VCO_3000MHZ"
) )
( (
// top-level ifaces // top-level ifaces
...@@ -787,8 +789,8 @@ module gtxe2_chnl_tx_oob #( ...@@ -787,8 +789,8 @@ module gtxe2_chnl_tx_oob #(
output wire [width - 1:0] outdata, output wire [width - 1:0] outdata,
output wire outval output wire outval
); );
parameter [3:0] SATA_BURST_SEQ_LEN = 4'b0101; //parameter [3:0] SATA_BURST_SEQ_LEN = 4'b0101;
parameter SATA_CPLL_CFG = "VCO_3000MHZ"; //parameter SATA_CPLL_CFG = "VCO_3000MHZ";
localparam burst_len_mult = SATA_CPLL_CFG == "VCO_3000MHZ" ? 2 // assuming each usrclk cycle == 20 sata serial clk cycles localparam burst_len_mult = SATA_CPLL_CFG == "VCO_3000MHZ" ? 2 // assuming each usrclk cycle == 20 sata serial clk cycles
: SATA_CPLL_CFG == "VCO_1500MHZ" ? 4 : SATA_CPLL_CFG == "VCO_1500MHZ" ? 4
...@@ -1140,6 +1142,7 @@ wire [internal_data_width - 1:0] oob_data; ...@@ -1140,6 +1142,7 @@ wire [internal_data_width - 1:0] oob_data;
wire oob_val; wire oob_val;
assign oob_active = oob_val; assign oob_active = oob_val;
gtxe2_chnl_tx_oob #( gtxe2_chnl_tx_oob #(
.width (internal_data_width), .width (internal_data_width),
.SATA_BURST_SEQ_LEN (SATA_BURST_SEQ_LEN), .SATA_BURST_SEQ_LEN (SATA_BURST_SEQ_LEN),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment