输入的数据带同步时钟,频率74.25,用dcm得到2倍频i_gv7601_clk_2X1,2倍频频率148.5m。
reg[15:0] gv7601_data1;
always@(negedge i_gv7601_clk_2X1)
begin
gv7601_data1 <= i_gv7601_data1;
end
//--------------------------------------
// GV7601 Data Output
//--------------------------------------
always@(posedge i_gv7601_clk_2X1,negedge i_gv7601_rstn1)
begin
if(~i_gv7601_rstn1)
o_BT1120_data1 <= 0;
else
o_BT1120_data1 <= gv7601_data1;
end