Re: $readmemb
How can I synthesise memory using 'define.............can you please explain
Added after 6 minutes:
Can you please explain will the below code be synthesized to a 8 byte memory..................Is there any other efficient way to synthesize memory
module..........
....................
reg [7:0] data;
always @(posedge clk)
begin
if(rst)
begin
data <=8'b0;
end
else
begin
case(addr)
10'd0: data <=8'd2;
10'd1: data <=8'd7;
.
.
.
10'd9 : data <=8'd10;
endcase
end
end
Can you please help?????