Forum Discussion
Altera_Forum
Honored Contributor
11 years agomodule block1(addr, clk, out);
input [3:0] addr; input clk; output [31:0] out; (* romstyle = "M9K" *) reg [31:0] out; // assigning values using always block and case statement endmodule this is the code for the one of the ROM blocks.