1 //===============================================================================
2 // FPGA MOONCRESTA VIDO-MIX
6 // Copyright(c) 2004 Katsumi Degawa , All rights reserved
10 // This program is freeware for non-commercial use.
11 // An author does no guarantee about this program.
12 // You can use this under your own risk.
14 //================================================================================
53 // MISSILE => Yellow ;
55 wire W_MS_D = ~(I_MISSILEn & I_SHELLn);
56 wire W_MS_R = ~I_C_BLX & W_MS_D;
57 wire W_MS_G = ~I_C_BLX & W_MS_D;
58 wire W_MS_B = ~I_C_BLX & W_MS_D & ~I_SHELLn ;
60 assign O_R = I_C_BLnXX ? I_VID_R | I_STR_R | {1'b0,W_MS_R,W_MS_R}: 3'b000 ;
61 assign O_G = I_C_BLnXX ? I_VID_G | I_STR_G | {1'b0,W_MS_G,W_MS_G}: 3'b000 ;
62 assign O_B = I_C_BLnXX ? I_VID_B | I_STR_B | { W_MS_B,W_MS_B}: 2'b00 ;