|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
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
[ 本帖最后由 sevid 于 2008-12-5 01:15 编辑 ] |
|