32 is the new 8-bit
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: 32 is the new 8-bit
Windfall wrote:
BigDumbDinosaur wrote:
If you really need a large quantity of RAM look at Garth's 4MB DIMM, which is built with 10ns SRAMs and is fast enough to stay with a 65C816 running at 20 MHz. The next version of my POC series will have one of these modules, along with an Atmel 1508as CPLD to handle the glue logic.
x86? We ain't got no x86. We don't NEED no stinking x86!
- GARTHWILSON
- Forum Moderator
- Posts: 8774
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: 32 is the new 8-bit
Parts are on both sides, and the bypass capacitors are embedded in the PCB near the connector and directly under the die of each IC. Being able to stand modules up close together keeps the total length of any given net shorter than it would be if you put them all on the mother board. The layout is really just about the best it could be for the ICs' pinout and size. I'm confident that the modules will perform at least as good as you could get the same ICs to work on your mother board, if not better. I have quite a bit of experience designing mixed-signal PCBs with audio/digital/SMPSs/RF, very successful at avoiding crosstalk and keeping good behavior of all parts of the circuits. In the last one, I had a 2.4GHz antenna transmitting about 1/4" away from an embedded processor and switching power supply, and 1/2" away from analog parts. It worked very well, exceeding the boss's dreams.
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?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: 32 is the new 8-bit
GARTHWILSON wrote:
Parts are on both sides, and the bypass capacitors are embedded in the PCB near the connector and directly under the die of each IC. Being able to stand modules up close together keeps the total length of any given net shorter than it would be if you put them all on the mother board. The layout is really just about the best it could be for the ICs' pinout and size. I'm confident that the modules will perform at least as good as you could get the same ICs to work on your mother board, if not better. I have quite a bit of experience designing mixed-signal PCBs with audio/digital/SMPSs/RF, very successful at avoiding crosstalk and keeping good behavior of all parts of the circuits. In the last one, I had a 2.4GHz antenna transmitting about 1/4" away from an embedded processor and switching power supply, and 1/2" away from analog parts. It worked very well, exceeding the boss's dreams.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: 32 is the new 8-bit
BigDumbDinosaur wrote:
We may know in the not-too-distant future if your DIMM can run at with a 65C816 at full speed. I've decided to switch gears and get cracking on building POC V2. To paraphrase a Depression Era slogan as folks migrated to California, "Twenty megahertz or bust!"
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: 32 is the new 8-bit
Windfall wrote:
BigDumbDinosaur wrote:
We may know in the not-too-distant future if your DIMM can run at with a 65C816 at full speed. I've decided to switch gears and get cracking on building POC V2. To paraphrase a Depression Era slogan as folks migrated to California, "Twenty megahertz or bust!"
x86? We ain't got no x86. We don't NEED no stinking x86!
- GARTHWILSON
- Forum Moderator
- Posts: 8774
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: 32 is the new 8-bit
Windfall wrote:
See my avatar picture for a design of mine that runs the 65C816 at 14.7 MHz on 55 ns SRAM. It sure is borderline. After all, at 14.7 MHz, a half-cycle is only 34 ns, so anything based on phi2 is not enough time. Thankfully, SRAMs start their address decoding spontaneously, outside the strobe, so it actually has most of the full cycle. 
For any system though, it's always interesting to slowly raise the clock speed until you start having problems, the back it down at least 20% so you know how fast it really can go and how much headroom you have.
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?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
Re: 32 is the new 8-bit
On the topic (or should I say off-topic
) of '816 timing, I agree the WDC timing spec is conservative. Also not terribly easy to comprehend!
Allow me to re-post (from this thread) my own edited version of Figure 4-1 from the '816 Data Sheet (Sept 2010 version). To put all the various delays in perspective I squeezed and stretched things so that the diagram is now approximately to scale along the horizontal axis. 5V operation is assumed.
-- Jeff
[Edit: fix image so it will enlarge]
Allow me to re-post (from this thread) my own edited version of Figure 4-1 from the '816 Data Sheet (Sept 2010 version). To put all the various delays in perspective I squeezed and stretched things so that the diagram is now approximately to scale along the horizontal axis. 5V operation is assumed.
-- Jeff
[Edit: fix image so it will enlarge]
Last edited by Dr Jefyll on Thu Dec 12, 2013 1:04 am, edited 1 time in total.
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html
https://laughtonelectronics.com/Arcana/ ... mmary.html
Re: 32 is the new 8-bit
GARTHWILSON wrote:
According to the '816 data sheet timing specifications, there's only 30ns guaranteed for tACC on a 14MHz '816. tADS can be as high as 30ns and tBAS can be as high as 33ns, eating up nearly the entire phase-1 time.
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: 32 is the new 8-bit
Dr Jefyll wrote:
On the topic (or should I say off-topic
) of '816 timing, I agree the WDC timing spec is conservative. Also not terribly easy to comprehend!
Allow me to re-post (from this thread) my own edited version of Figure 4-1 from the '816 Data Sheet (Sept 2010 version). To put all the various delays in perspective I squeezed and stretched things so that the diagram is now approximately to scale along the horizontal axis. 5V operation is assumed.
-- Jeff
[Edit: fix image so it will enlarge]
Allow me to re-post (from this thread) my own edited version of Figure 4-1 from the '816 Data Sheet (Sept 2010 version). To put all the various delays in perspective I squeezed and stretched things so that the diagram is now approximately to scale along the horizontal axis. 5V operation is assumed.
-- Jeff
[Edit: fix image so it will enlarge]
x86? We ain't got no x86. We don't NEED no stinking x86!
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: 32 is the new 8-bit
nyef wrote:
GARTHWILSON wrote:
According to the '816 data sheet timing specifications, there's only 30ns guaranteed for tACC on a 14MHz '816. tADS can be as high as 30ns and tBAS can be as high as 33ns, eating up nearly the entire phase-1 time.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: 32 is the new 8-bit
Wow! That's tight timing. I was left wondering if the '816 does anything special when the bank address changes ?
Am I right in thinking that the bank address is basically stable much of the time, given that it's high order address bits ?
For instance, if the '816 held the bank address for a cycle on a bank switch would that help (so that the external latch had time to change) ?
Am I right in thinking that the bank address is basically stable much of the time, given that it's high order address bits ?
For instance, if the '816 held the bank address for a cycle on a bank switch would that help (so that the external latch had time to change) ?
- GARTHWILSON
- Forum Moderator
- Posts: 8774
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: 32 is the new 8-bit
The bank address goes out on the data bus during phase 1, so the data bus carries two different bytes in each clock cycle, even though the program bank does not change very often. The program bank and the data bank don't have to be the same though, so the bank number on the bus could be bouncing around like crazy; and then there are the long addressing modes which can address things in any bank regardless of the current program bank or current data bank, and there's also direct-page, stack, and interrupt access which are always in bank 0, regardless of the previously mentioned accesses. It would sure have made things easier if they had just started with a 48-pin DIP and 52-pin PLCC, and not multiplexed the high 8 address bits!
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?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
Re: 32 is the new 8-bit
GARTHWILSON wrote:
According to the '816 data sheet timing specifications, there's only 30ns guaranteed for tACC on a 14MHz '816. tADS can be as high as 30ns and tBAS can be as high as 33ns, eating up nearly the entire phase-1 time. The read data setup time tDSR (the amount of time data has to be ready before the fall of phase 2) is specified to be 10ns max. Glue logic further eats into the time budget. Fortunately, actual parts are usually much faster than the specifications say, and you're probably also not running things at the upper temperature extreme where they're the slowest. Otherwise, 55ns SRAM would not stand a chance of running on an '816 at 14.7MHz, according to the specs.
In my case, by logic analysis I found that, even though address valid should come close to phi2, it actually comes shortly after phi1. Bank address (via the databus) same thing. However, for the 816, the inevitable latching of the bank address consumes some of the timing budget, and makes it tight depending on the SRAM's address decoding strategy.
Last edited by Windfall on Thu Dec 12, 2013 10:15 am, edited 2 times in total.
Re: 32 is the new 8-bit
BigDumbDinosaur wrote:
Windfall wrote:
BigDumbDinosaur wrote:
We may know in the not-too-distant future if your DIMM can run at with a 65C816 at full speed. I've decided to switch gears and get cracking on building POC V2. To paraphrase a Depression Era slogan as folks migrated to California, "Twenty megahertz or bust!"
I once tried 20ns SRAM at 22 MHz (different clock divider ...) and it did run. But it was not stable. Whether that was CPU, SRAM or something else is anyone's guess.
- GARTHWILSON
- Forum Moderator
- Posts: 8774
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: 32 is the new 8-bit
Windfall wrote:
You should not put too much faith in timing information in datasheets. If timing is tight, you should measure.
Quote:
In my case, by logic analysis I found that, even though address valid should come close to phi2, it actually comes shortly after phi1. Bank address (via the databus) same thing. However, for the 816, the inevitable latching of the bank address consumes some of the timing budget, and makes it tight depending on the SRAM's address decoding strategy.
How much actual delay (in ns) did you find, compared to the datasheet? It would be nice to find out that the margin between the datasheet and the reality is huge.
On the '816, the bank address byte is specified (the reality might be different) to come out at about the same time the 16 bits of the address bus do; but the latch will take a few ns of propagation delay. It is a transparent latch though, meaning that the bank byte can still come through long before the rising edge of phase 2. It doesn't wait for the edge.
Quote:
True. But it should be interesting to know that 55 nS SRAM is borderline at 14.7 MHz. Extrapolate from that.
55ns just means that it's guaranteed not to be any slower than 55ns. It will probably be faster, even at the high temperature extreme and the low end of the voltage range (4.75V?). Bring it down to room temperature and up to 5V, and it's definitely faster than 55ns.
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?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?