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.

an question about using Micron sdram sim model!

Status
Not open for further replies.

firendchn

Junior Member level 3
Junior Member level 3
Joined
Sep 11, 2002
Messages
29
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
133
hi ,all

When I used the Micron mt48lc4m32b sim model in my SDRAM Controller,a surprise issue occured. That is when I execute write command(single write or burst write) to external SDRAM, when the actual burst length is smaller than the burst length set by sdram model mode register,and there are some idle operation between two write operations, some previous data will be overwrited by following data.
for example, I do some single write,
and the burst length is set 8 in mode register. I want to dump the data in memory with the $writememh() task.
tbench code :

write command (addr, data)
s_w(32'h00000000,32'h22222222);
id ;
id;
id;
id;
id;
id;
id;
id;
id;
s_w(32'h00000004,32'h33333333);
id ;
id;
id;
id;
id;
id;
id;
id;
id;
s_w(32'h00000008,32'h44444444);
id ;
id;
id;
id;
id;
id;
id;
id;
id;

s_w(32'h0000000c,32'h5555555);
id ;
id;
id;
id;
id;
id;
id;
id;
id;

The data file got with $writememh() is :
ZZZZZZZZ
zzzzzzzz
zzzzzzzz
55555555
zzzzzzzz
zzzzzzzz
zzzzzzzz
zzzzzzzz
zzzzzzzz
zzzzzzzz
zzzzzzzz

I analyze the issue and I find in mt48lc4m32b.v sim modle burst_decoder task, the Col and col_temp relationship maybe cause the issue, So, I want to known the real memory device has the same issue or not? Or, have another cause?
:cry:
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top