mirror of
https://github.com/Gehstock/Mist_FPGA.git
synced 2026-01-29 13:01:00 +00:00
15 lines
214 B
Verilog
15 lines
214 B
Verilog
|
|
module eu_rom(
|
|
input clka,
|
|
input [11:0] addra,
|
|
output reg [31:0] douta
|
|
);
|
|
|
|
reg [31:0] memory[3961:0];
|
|
|
|
initial $readmemb("microcode.mem", memory);
|
|
|
|
always @(posedge clka)
|
|
douta <= memory[addra];
|
|
|
|
endmodule |