File tree Expand file tree Collapse file tree 3 files changed +5
-18
lines changed
Expand file tree Collapse file tree 3 files changed +5
-18
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,6 @@ module iddr #
3939)
4040(
4141 input wire clk,
42- // idelay count output
43- output wire [(WIDTH* 9 )- 1 :0 ] cnt_value_out,
4442 // Data input
4543 input wire [WIDTH- 1 :0 ] d,
4644
8179
8280for (n = 0 ; n < WIDTH; n = n + 1 ) begin : iddr
8381 // Use IDELAYE3 for Ultrascale and Ultrascale+ devices to adjust delay between clock and data
84- // set delay format to count and delay value to 9'h19 (2 ns at 125 MHz approximate)
82+ // found delay count value by sweeping and checking the output
8583 IDELAYE3 #(
8684 .CASCADE("NONE" ),
8785 .DELAY_FORMAT("COUNT" ), // Units of the DELAY_VALUE (COUNT, TIME)
Original file line number Diff line number Diff line change @@ -87,10 +87,7 @@ module rgmii_phy_if #
8787 // 2'b10: 1G
8888 // 2'b01: 100M
8989 // 2'b00: 10M
90- input wire [1 :0 ] speed,
91- output wire rx_gmii_clk,
92-
93- output wire [(5 * 9 )- 1 :0 ] cnt_value_out
90+ input wire [1 :0 ] speed
9491);
9592
9693
@@ -100,9 +97,6 @@ wire clk;
10097wire rgmii_rx_ctl_1;
10198wire rgmii_rx_ctl_2;
10299
103- // for ila-debug
104- assign rx_gmii_clk = gmii_rx_clk;
105-
106100ssio_ddr_in #
107101(
108102 .TARGET(TARGET),
@@ -115,8 +109,7 @@ rx_ssio_ddr_inst (
115109 .input_d({rgmii_rd, rgmii_rx_ctl}),
116110 .output_clk(gmii_rx_clk),
117111 .output_q1({gmii_rxd[3 :0 ], rgmii_rx_ctl_1}),
118- .output_q2({gmii_rxd[7 :4 ], rgmii_rx_ctl_2}),
119- .cnt_value_out(cnt_value_out)
112+ .output_q2({gmii_rxd[7 :4 ], rgmii_rx_ctl_2})
120113);
121114
122115assign gmii_rx_dv = rgmii_rx_ctl_1;
Original file line number Diff line number Diff line change @@ -51,9 +51,7 @@ module ssio_ddr_in #
5151 output wire output_clk,
5252
5353 output wire [WIDTH- 1 :0 ] output_q1,
54- output wire [WIDTH- 1 :0 ] output_q2,
55- // idelay count output
56- output wire [(WIDTH* 9 )- 1 :0 ] cnt_value_out
54+ output wire [WIDTH- 1 :0 ] output_q2
5755);
5856
5957wire input_clk_int;
@@ -153,9 +151,7 @@ data_iddr_inst (
153151 .clk(clk_io),
154152 .d(input_d),
155153 .q1(output_q1),
156- .q2(output_q2),
157- .cnt_value_out(cnt_value_out)
158-
154+ .q2(output_q2)
159155);
160156
161157endmodule
You can’t perform that action at this time.
0 commit comments