//RGB888
数据输出
//assign
video_rgb
=
video_
en
?
pixel_data
: 24'd0;
//..........................................................
always
@(
posedge
pixel_clk
or
negedge
sys_rst_n
) begin
if
(!
sys
_rst_n
)
video_rgb
<= 23'd0;
else if(
data_req
)
video_rgb
<=
video_rgb
+ 1'b1;
else
video_rgb
<= 23'd0;
end
//
请求像素点颜色数据输入
assign
data_req
= (((
cnt_h
>= H_SYNC+H_BACK-1'b1) &&
(
cnt
_h
< H_S
图像采集模块代码-650字.docx