X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/fpga-games/blobdiff_plain/3fc34adfa51bd78e346143103b498bf962ea1b46..0840cca68ecfa59ea10e60db9c02dbbd081215e7:/galaxian/src/mc_vga_if.v diff --git a/galaxian/src/mc_vga_if.v b/galaxian/src/mc_vga_if.v index 707e8a1..4883686 100644 --- a/galaxian/src/mc_vga_if.v +++ b/galaxian/src/mc_vga_if.v @@ -45,9 +45,9 @@ input I_H_SYNC; // HSYNC input (16KHz) input I_V_SYNC; // VSYNC input (60Hz) // output signals -output [4:0]O_R; // R out -output [4:0]O_G; // G out -output [4:0]O_B; // B out +output [2:0]O_R; // R out +output [2:0]O_G; // G out +output [1:0]O_B; // B out output O_H_SYNCn; // HSYNC output output O_V_SYNCn; // VSYNC output @@ -174,9 +174,9 @@ end // output //--------------------------------------------------------------------------- -assign O_R = {2'b00,rgb_out[7:5]}; -assign O_G = {2'b00,rgb_out[4:2]}; -assign O_B = {3'b000,rgb_out[1:0]}; +assign O_R = rgb_out[7:5]; +assign O_G = rgb_out[4:2]; +assign O_B = rgb_out[1:0]; // converted H V SYNC assign O_H_SYNCn = ~O_Hsync;