/----------------------------------------------------------------/
RGGB--->RGB---->HLS---->DDR3---->HDMI
去马赛克:
3'b000 : begin
rgb_r = line1_2;
rgb_g = line1_1 + line2_2;
rgb_b = line2_1;
end
3'b001 : begin
rgb_r = line1_1;
rgb_g = line1_2 + line2_1;
rgb_b = line2_2;
end
3'b010 : begin
rgb_r = line2_2;
rgb_g = line1_2 + line2_1;
rgb_b = line1_1;
end
3'b011 : begin
rgb_r = line2_1;
rgb_g = line1_1 + line2_2;
rgb_b = line1_2;
end
default: begin
rgb_b = 8'd0; rgb_g = 9'd0; rgb_r = 8'd0;
end
硬件:加长信号要做好屏蔽,EMC不容易过的是脉冲群干扰。
|