Professional Documents
Culture Documents
Verilog
Verilog
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Design Name:
// Project Name:
// Target Devices:
// Tool Versions:
// Description:
//
// Dependencies:
//
// Revision:
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
module rom(
begin
ROM[0] = 8'h86;
ROM[1] = 8'hAA;
ROM[2] = 8'h96;
ROM[3] = 8'hE0;
ROM[4] = 8'h20;
ROM[5] = 8'h00;
end
always@(posedge clock)
begin
data_out = ROM[address];
end
endmodule