mirror of
https://github.com/corundum/corundum.git
synced 2025-02-06 08:38:23 +08:00
fpga/common: Remove unnecessary reset from clock info register block
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
parent
1682389fd0
commit
0f86ea9bb1
@ -923,7 +923,6 @@ mqnic_rb_clk_info_inst (
|
|||||||
* Clock inputs
|
* Clock inputs
|
||||||
*/
|
*/
|
||||||
.ref_clk(ptp_clk),
|
.ref_clk(ptp_clk),
|
||||||
.ref_rst(ptp_rst),
|
|
||||||
|
|
||||||
.ch_clk(all_clocks)
|
.ch_clk(all_clocks)
|
||||||
);
|
);
|
||||||
|
@ -77,7 +77,6 @@ module mqnic_rb_clk_info #
|
|||||||
* Clock inputs
|
* Clock inputs
|
||||||
*/
|
*/
|
||||||
input wire ref_clk,
|
input wire ref_clk,
|
||||||
input wire ref_rst,
|
|
||||||
|
|
||||||
input wire [CH_CNT-1:0] ch_clk
|
input wire [CH_CNT-1:0] ch_clk
|
||||||
);
|
);
|
||||||
@ -133,11 +132,6 @@ always @(posedge ref_clk) begin
|
|||||||
ref_cnt_reg <= (REF_CLK_CYCLES_PER_SEC >> SHIFT) - 1;
|
ref_cnt_reg <= (REF_CLK_CYCLES_PER_SEC >> SHIFT) - 1;
|
||||||
ref_strb_reg <= !ref_strb_reg;
|
ref_strb_reg <= !ref_strb_reg;
|
||||||
end
|
end
|
||||||
|
|
||||||
if (ref_rst) begin
|
|
||||||
ref_cnt_reg <= 0;
|
|
||||||
ref_strb_reg <= 0;
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
reg ref_strb_sync_1_reg = 0;
|
reg ref_strb_sync_1_reg = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user