6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 23, 2024 2:55 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: dram refreshing!
PostPosted: Mon Jul 07, 2003 11:49 am 
Offline

Joined: Tue Mar 18, 2003 12:21 am
Posts: 36
Location: ChristChurch New Zealand
Note I am not attempting to design a 6502 based circuit with drams! I'm currently looking at an old circuit which uses a dram based ram network.

Ok so I am referring to this website:-

http://xtronics.com/memory/how_memory-works.htm

I am asking people here because this information could be misleading to people like me.

Ok so from what I figure drams are row/column matrix!

drams can be refreshed when reading/writing from/too them..

x=row, y=column

so If I select a row and read - e.g. just to refresh, does this mean that every column on that row refreshes?!

I see there are other inbuild features like Hidden or CAS-Before-RAS Refresh


:roll:

_________________
NPastoll


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jul 07, 2003 3:05 pm 
Offline

Joined: Wed Sep 04, 2002 4:08 pm
Posts: 57
Location: Iowa
DRAMs are organized internally as a square matrix. Take the 4164 DRAM chip for example, which is 64K by 1 bit. On the left side of the matrix is a row selector, which basically consists of a large demultiplexer. This takes the 8 bit row address and selects one of 256 rows. Along each row are 256 capacitors, with transistors to connect the capacitors to the columns when the row line is asserted. At the top of the matrix is a precharge circuit which charges each column to half the supply voltage; when each capacitor in a row is connected to a column line, it swings the voltage slightly higher or lower than half, depending on the bit stored in the capacitor. Along the bottom of the matrix are 256 sense amplifiers which turn the slightly higher or lower voltage into a definite high or low signal, which is then fed back into each capacitor in a row to fully charge or discharge it again. At that point, the whole row is refreshed.

From there, the 256 columns are multiplexed down to one bit using the column address, and that's the data bit output by the chip. Eight such chips in a row provide an 8-bit data bus and 64K bytes of memory.

Simply put, if the row address on the DRAM is connected to the lower eight bits of the system's address bus, then the system simply needs to periodically read the first 256 bytes of memory to refresh the entire 64K.

Scott


Top
 Profile  
Reply with quote  
 Post subject: thanks!
PostPosted: Tue Jul 08, 2003 12:11 am 
Offline

Joined: Tue Mar 18, 2003 12:21 am
Posts: 36
Location: ChristChurch New Zealand
8)

_________________
NPastoll


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Jul 08, 2003 3:22 am 
Offline

Joined: Fri Jun 27, 2003 8:12 am
Posts: 618
Location: Meadowbrook
For a good reference, "The Apple ][ Circuit Desccription" would be a GREAT guide to work with since the Apple ][ used 48K of dynamic RAM with TTL circuitry providing the refresh. The book itself explains how it all works, so there is a fantastic guide to solving your design there.

_________________
"My biggest dream in life? Building black plywood Habitrails"


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Jul 08, 2003 3:41 pm 
Offline

Joined: Wed Sep 04, 2002 4:08 pm
Posts: 57
Location: Iowa
I can't find a reference for the 4164s right now, but I believe that a hardware refresh circuit would probably work better than software, due to the load it would put on the processor. On the Commodore 64, the video chip took care of it automatically, and so refresh was completely invisible to the processor.

Scott


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: