Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to generate memory? Memory Compiler

Status
Not open for further replies.

sevid

Member level 2
Joined
May 20, 2006
Messages
53
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,711
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
 

how to generate memory?

u can use the .db
then the .v model can be dismissed
 

how to generate memory?

thanks to HolySaint.

but u should instantiate ur memory in ur .v file as fowllowing, someone said.

module memory ()
input ...;
output ...;
ram32x32 U1(...);
ram32x32 U2(...);
...
endmodule


and then "set_dont_touch" to "U1" and "U2" in ur scripts of DC.

right or not?

thanks in advance.

sevid
 

Re: how to generate memory?

as I know ,the DENALI model can be generated by its script!
 

how to generate memory?

i use the db file to syn
i set mems dont tounch

my mems are generated by memory compiler
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top