sevid
Member level 2
how to generate memory?
hi, everyone
there are 2 questions about memory.
1 in general, an off-chip rom or ram is only generated for simulation, and neednot to be synthesized.
the question is if u need to synthesize an on-chip ram or register file, or generate it with the help of "Memory Compiler" as in question 2.
2 as i know, the memory is generated with "Memory Compiler".
1) Memory Compiler -> *.lib
2) Library Compiler: *.lib -> *.db
3) *.db as a "link_library" of DC
my question is when u synthesize ur deisgn, the corresponding code "memory.v" in ur design looks like the desciption below,or other forms,or neednot a memery verilog at all ?
module memory(... );
input ...;
output ...;
always @(posedge clk)
if (memwrite_en == 1)
memory[write_add] <= write_data;
assign read_data = memory[read_add];
endmodule
SOS!!!
and every advice will be appreciated.
sevid
hi, everyone
there are 2 questions about memory.
1 in general, an off-chip rom or ram is only generated for simulation, and neednot to be synthesized.
the question is if u need to synthesize an on-chip ram or register file, or generate it with the help of "Memory Compiler" as in question 2.
2 as i know, the memory is generated with "Memory Compiler".
1) Memory Compiler -> *.lib
2) Library Compiler: *.lib -> *.db
3) *.db as a "link_library" of DC
my question is when u synthesize ur deisgn, the corresponding code "memory.v" in ur design looks like the desciption below,or other forms,or neednot a memery verilog at all ?
module memory(... );
input ...;
output ...;
always @(posedge clk)
if (memwrite_en == 1)
memory[write_add] <= write_data;
assign read_data = memory[read_add];
endmodule
SOS!!!
and every advice will be appreciated.
sevid