UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor sylee119
Visitor
551 Views
Registered: ‎03-12-2018

issue distrbute memory does not work in sim

Dear All,

I'm trying to implement a simple memory module as the below

 

mem u_mem(
.clka ( clk ),
.rsta ( reset_n ),
.ena ( reset_n ),
.wea ( !we ),
.addra ( addr[7:0] ),
.dina ( temp_d ),
.douta ( temp_data )
);

 

and I just generate the Distribute the memory by using coregen.

But I do find that that memory doesn't work as my expect.

 

 q166.JPG

Why can't out douta value correctly?

What am I supposed to do?

0 Kudos
2 Replies
Scholar u4223374
Scholar
543 Views
Registered: ‎04-26-2015

Re: issue distrbute memory does not work in sim

You appear to have tied your enable and reset pins together. That is, either the RAM is enabled and continually being reset, or it's disabled and not being reset. This is not going to work very well...

Highlighted
Visitor sylee119
Visitor
491 Views
Registered: ‎03-12-2018

Re: issue distrbute memory does not work in sim

Thanks Would you please give me timing diagram for memory read, write simulation?
0 Kudos