소스 검색

video: revert to outputting "real" data on the HDMI channels

From the logic simulation it looks like we ought to get valid data on
the HDMI channel outputs now, but do we?
H. Peter Anvin 3 년 전
부모
커밋
0b53cefc85
5개의 변경된 파일3개의 추가작업 그리고 8개의 파일을 삭제
  1. BIN
      fpga/output_files/max80.jbc
  2. BIN
      fpga/output_files/max80.jic
  3. BIN
      fpga/output_files/max80.pof
  4. BIN
      fpga/output_files/max80.sof
  5. 3 8
      fpga/video.sv

BIN
fpga/output_files/max80.jbc


BIN
fpga/output_files/max80.jic


BIN
fpga/output_files/max80.pof


BIN
fpga/output_files/max80.sof


+ 3 - 8
fpga/video.sv

@@ -82,14 +82,9 @@ module video (
        end // else: !if(~rst_n)
 
    wire [7:0] hdmi_data[0:2];
-   //assign hdmi_data[2] = r;
-   //assign hdmi_data[1] = g;
-   //assign hdmi_data[0] = b;
-   //assign hdmi_data[2] = 8'b11110000;
-   //assign hdmi_data[1] = 8'b11001100;
-   assign hdmi_data[2] = 8'b10101010;
-   assign hdmi_data[1] = 8'b10101010;
-   assign hdmi_data[0] = 8'b10101010;
+   assign hdmi_data[2] = r;
+   assign hdmi_data[1] = g;
+   assign hdmi_data[0] = b;
 
    wire [1:0] hdmi_ctl[0:2];
    assign hdmi_ctl[0]      = { vsync, hsync };