URL
https://opencores.org/ocsvn/2d_game_console/2d_game_console/trunk
Subversion Repositories 2d_game_console
[/] [2d_game_console/] [trunk/] [Processor_Quartus/] [SRAM_Interface.v] - Rev 2
Compare with Previous | Blame | View Log
module SRAM_Interface ( iDATA, iADDR, oWE_N, oOE_N, oCE_N, oLB_N, oUB_N, oADDR, oRED, oGREEN, oBLUE ); input wire [19:0] iADDR; input wire [15:0] iDATA; output [7:0] oRED; output [7:0] oGREEN; output [7:0] oBLUE; output [19:0] oADDR; output oWE_N; output oOE_N; output oCE_N; output oLB_N; output oUB_N; assign oWE_N = 1'b1; assign oOE_N = 1'b0; assign oCE_N = 1'b0; assign oLB_N = 1'b0; assign oUB_N = 1'b0; assign oADDR = iADDR; assign oRED [2:0] = 3'b000; assign oRED [7:3] = iDATA [4:0]; assign oGREEN [1:0] = 2'b00; assign oGREEN [7:2] = iDATA [10:5]; assign oBLUE [2:0] = 3'b000; assign oBLUE [7:3] = iDATA [15:11]; endmodule