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

All times are UTC




Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: SIMM dram
PostPosted: Fri Oct 12, 2012 8:55 pm 
Offline
User avatar

Joined: Mon Aug 08, 2011 2:48 pm
Posts: 808
Location: Croatia
I would like to have more ram in my sbc computers, so i can do some recording that could take lots of ram and other stuff too. I've talked to Garth about getting some 4mb sram module, but they aren't cheap, so i am looking into other options too. I am posting this mainly because i am planning to upgrade my 68k sbc with the 68020 and add some more ram, and because i could add an extra board to my 6502.
So my question is what would it take to interface some old SIMM dram, or sdr/ddr ram into a system that contains a 6502/68k cpu. What controller should be used?
You can assume that the cpu clock won't be faster than 16MHz.


Top
 Profile  
Reply with quote  
 Post subject: Re: SIMM dram
PostPosted: Fri Oct 12, 2012 9:09 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8546
Location: Southern California
You will need 5V, right? SRAM has some nice advantages but does get expensive when you get above a few megabytes of memory.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
 Post subject: Re: SIMM dram
PostPosted: Fri Oct 12, 2012 11:32 pm 
Offline

Joined: Sat Dec 13, 2003 3:37 pm
Posts: 1004
DRAM, for whatever reason, despite reading up on it time and time again, baffles me. How the refresh works. I understand the concept, just not the mechanics. I know the Z80 has built in refresh support, but, still.

I guess you need to have a circuit that either sneaks in, or steals cycles, or something, and tickles all of the address pins? Does it just have to tickle each bit, i.e. if the RAM has 10 address lines, just tickle the 10 lines? all of the bits? every 1024 bits?

Nope, never quite groked DRAM.


Top
 Profile  
Reply with quote  
 Post subject: Re: SIMM dram
PostPosted: Sat Oct 13, 2012 7:20 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
whartung wrote:
DRAM, for whatever reason, despite reading up on it time and time again, baffles me. How the refresh works. I understand the concept, just not the mechanics. I know the Z80 has built in refresh support, but, still.

It's not that complicated. Imagine a square full of transistors, each holding a small charge. There could be 4096 x 4096 of them. When you perform a read, you select a 4096 bit row, and all the bits will be read out, amplified, and stored in a 4096 bit buffer. From this buffer, you can read column bytes, or you can perform changes. After you're done with that row, the 4096 bits are written back to the 4096x4096 storage, and the charge will be refreshed. Any row you don't read for a while, will lose its charge, so basically all you need to do is make sure you access each of the 4096 rows before that happens. The datasheet will tell you how many rows there are, and what address pins are used for them.


Top
 Profile  
Reply with quote  
 Post subject: Re: SIMM dram
PostPosted: Sun Oct 14, 2012 12:48 am 
Offline

Joined: Tue Nov 18, 2003 8:41 pm
Posts: 250
http://en.wikipedia.org/wiki/Dynamic_ra ... onous_DRAM


Top
 Profile  
Reply with quote  
 Post subject: Re: SIMM dram
PostPosted: Sun Oct 14, 2012 1:27 pm 
Offline
User avatar

Joined: Mon Aug 08, 2011 2:48 pm
Posts: 808
Location: Croatia
What about dram controllers?


Top
 Profile  
Reply with quote  
 Post subject: Re: SIMM dram
PostPosted: Sun Oct 14, 2012 2:00 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
Looking at the google results for DRAM controller CPLD it looks like a CPLD should be able to do it.


Top
 Profile  
Reply with quote  
 Post subject: Re: SIMM dram
PostPosted: Wed Apr 08, 2015 6:50 am 
Offline

Joined: Wed Feb 05, 2014 7:02 pm
Posts: 158
GARTHWILSON wrote:
You will need 5V, right? SRAM has some nice advantages but does get expensive when you get above a few megabytes of memory.
Understatement of the century. To fully populate a 65816 running at 14MHz with the largest and fastest SRAM from Cypress will cost about $192 ($6.00 x 32 modules). Contrast to the Raspberry Pi, which thanks to clever business decisions to use "trailing edge technology", can get 16 times that amount (Model A) for 1/8 of the price! I expect that to run a Unix such as NetBSD, Fuzix, or MINIX, even on a hobbyist design, will require at least 4MB (this is the minimum required for NetBSD x86 anyway- though I've gotten an i486 kernel to run in < 2MB).

Unfortunately, for designs that require a lot of RAM, such as a multitasking OS/Unix, old SIMMs/DRAM might be the way to go. Aren't the oldest SIMMs just 41xx series DRAM stuck on a chip with an optimized pinout? Old IBM PCs got away with using discrete components for DRAM Refresh frequently- older PCs/XTs used the DMA controller, and ATs had a dedicated refresh circuit (will update when I figure out how it works). At the cost of 128 interrupts every 2 milliseconds (64kHz), a fast 65816 might be able to do RAM refresh solely using interrupts.

Just something to think about.


Top
 Profile  
Reply with quote  
 Post subject: Re: SIMM dram
PostPosted: Wed Apr 08, 2015 8:07 pm 
Offline
User avatar

Joined: Sun Oct 13, 2013 2:58 pm
Posts: 491
Location: Switzerland
I think the effort to build a dynamic RAM controller depends a lot on the speed you want to achieve. Also there are dynamic RAM with built in refresh counters, you only need to tell them "now you can perform the next refresh cycle" and it will internally take the next to the previous one. You just cannot perform any read or write during this cycle. You could probably make a logic that tells the DRAM to perform a refresh cycle when PHI2 is low and do the read/write when PHI2 is high. One point with dynamic RAM is that they have a multiplexed address bus, so you would need to have a demultiplexor. The biggest obstacle however will be, there are no 5V DRAMs anymore.


Top
 Profile  
Reply with quote  
 Post subject: Re: SIMM dram
PostPosted: Wed Apr 08, 2015 9:13 pm 
Offline

Joined: Sun Jul 28, 2013 12:59 am
Posts: 235
cbscpe wrote:
The biggest obstacle however will be, there are no 5V DRAMs anymore.

Let's call it what it is: The biggest obstacle is finding SIMM sockets. 30-pin and 72-pin SIMMs should still be available on the used market, after all.


Top
 Profile  
Reply with quote  
 Post subject: Re: SIMM dram
PostPosted: Wed Apr 08, 2015 9:34 pm 
Offline

Joined: Fri Jan 17, 2014 6:39 pm
Posts: 47
Location: Poland
http://forum.6502.org/viewtopic.php?f=4&t=2989&start=15
I have done to TTL 74lsxx simm 1MB and 16MB on Simm72.
And it works fine. :D


Top
 Profile  
Reply with quote  
 Post subject: Re: SIMM dram
PostPosted: Wed Apr 08, 2015 10:32 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8513
Location: Midwestern USA
nyef wrote:
cbscpe wrote:
The biggest obstacle however will be, there are no 5V DRAMs anymore.

Let's call it what it is: The biggest obstacle is finding SIMM sockets. 30-pin and 72-pin SIMMs should still be available on the used market, after all.

The latest JAMECO catalog lists a 30 pin SIMM socket on page 13, part number 100302.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
 Post subject: Re: SIMM dram
PostPosted: Sat Apr 11, 2015 2:32 am 
Offline

Joined: Sun Jan 13, 2013 11:13 am
Posts: 10
André Fachat wrote up his notes with Bil Herd here, regarding implementing DRAMs.
http://6502.org/users/andre/icaphw/design.html#dram


Top
 Profile  
Reply with quote  
 Post subject: Re: SIMM dram
PostPosted: Sun Jan 03, 2016 1:59 am 
Offline

Joined: Mon Oct 12, 2015 5:19 pm
Posts: 255
Just a newbie, so disregard if I have nothing worthwhile to add. I was shopping digikey for RAMs, to see what kinds and types and voltages and sizes and volatilities and fundamental technologies/organizing principles exist, and I ran across "Pseudo-SRAM". Its a DRAM, with an automatic refresh. I think the bus is still multiplexed, though? I dunno? I might be mixing it up with "Page-RAM"; but they might be the same thing. ISSI was the manufacturer.


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 95 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: