[Review Request] Memory add-on for a 1980s computer

Hi all, I'd appreciate any feedback on this design, especially the PCB layout as it was quite tricky and I may be overthinking things! I'll add the schematics and layout images first, then give pertinent design details below.

Schematic

Front copper/silkscreen

Back copper/silkscreen

All the copper, except for the ground zone fill

Front 3D for reference

Back 3D for reference - but please note that C15 won't be populated in this way, if present it will be mounted horizontally

The board is a memory add-on for a 1980s 8-bit computer (BBC Micro) and the goal of the project was to determine if this mechanism for memory expansion would have been possible using parts cheaply and readily available in the early to mid 80s. Consequently it's only a two-layer board with through hole parts. It plugs into the computer's CPU socket via J4 and J5 on the rear of the board, and the original CPU is relocated to this board in socket U1. The board then redirects various signals via some 16V8 PLDs near the CPU. The ICs in the lower left corner are static RAM, the top row of ICs are 74HCT163 counters, and the row below are 74HCT157 multiplexers that allow the RAM to be addressed either by the CPU or by the counter outputs.

The clock frequency is 2MHz and the computer itself mostly uses 74LS parts, with an NMOS CPU. Power is received through the CPU socket but there's also a connector I can use for supplementary power if it's required (it may not be).

I wanted to fit it into a small footprint, and as a result it is quite cramped. It's laid out on a 0.635mm grid with 0.25mm trace width and typical spacing around 0.36mm. The PCB fab can do down to 0.2mm clearance I believe and in places that limit is reached, especially near pads and vias. Power traces are 0.42mm, the widest I could make them and still get between certain 2.54mm-pitch pads without violating the clearance constraint.

I tried quite hard to avoid cutting up the ground plane - perhaps too hard? Feedback would be great! In some places however I wasn't able to avoid it much. I tried to bridge on the front side across the worst areas, and between U2 and U13 I was able to maintain at least a channel through the middle so that ground returns don't need to go all the way around that area.

I started to wonder though how much this matters in practice at this clock speed, given that the computer itself uses a two-layer motherboard without particularly managing to preserve a ground plane. So maybe it's just not worth the effort and I should just route ground traces like any other?

Thanks in advance for any advice and please let me know if more details would help with the review.

Posted Feb 25, 2023, 7:49 PM UTC · edited

99
nixiebunny•

That's a rather unusual routing technique. I designed a lot of 2 layer computer PC boards in the 80s. We never used a ground plane like that. We put horizontal traces on one side and vertical on the other. We made a grid of 50 mil wide traces across the board for both Vcc and Gnd. The signal traces were routed wherever the power grid wasn't.

5
gfoot360OP•

Interesting, thank you. I was aware of the horizontal and vertical layers technique but haven't tried it yet. I may try that for comparison and see how it works out in this case.

I'm guessing this "grid" was alternating stripes of power and ground in each layer's "grain" direction? Roughly how much gap did you use between these power and ground traces?

Did you also route the ground returns carefully, at least for some signals, or just rely on the grid being good enough? I'm getting the feeling that the kinds of problem that modern advice tries to avoid were not such an issue back then, perhaps due to the relatively slower transitions from LS TTL and similar technologies compared to modern parts.

1
nixiebunny•

Yes, run Vcc and Gnd down the center of columns of chips, and across between rows of chips. Putting Vcc at top right of chips and Gnd at bottom left to match the standard corner power pins. Add a bypass cap at the junction. Ground returns are returned to the nearest grid point. We didn't even care about high speed issues until the 90s when AS and FCT series forced the issue with their fast edge rates.

3
jeffbell•

Do you have any opportunity to simulate it?

2
gfoot360OP•

Do you mean electrically? I'm not sure what my options are for this sort of digital circuit. I usually prototype on breadboards, but that's not suitable here.

I originally tested the concept in software by patching an emulator, and the PLDs are validated by the cupl simulator. Beyond that I went straight to PCBs, and I've been testing on actual hardware - this is the third revision, fixing bugs that I found in the previous revision when testing it on real hardware, and adding some new features, test points, etc that could be useful. Also, condensing the size down because the previous one was physically too large.

If there are good options for simulating the electrical characteristics of a PCB like this then it would be great to try those!

2
jeffbell•

Just functionally. Can the net list get compiled into a verliog sim, for example.

3
gfoot360OP•

That's not something I've used before, but I'll investigate, thanks!

2
TylerTimoj•

Why not use a 4 layer board if you’re worried about the ground being an issue?

2
gfoot360OP•

Thanks for the feedback - four-layer boards were not common for this era, so I am avoiding that for now but once the semi-authentic version works I might make a more modern one with modern components and processes, for the contrast.

I am not sure if grounding is really a big issue here, I have only been paying attention to it because I understood that to be best practise these days. It may well not matter for such an old and slow design. I've noticed that similar add-ons from that era didn't tend to use a ground plane and didn't even seem to be particularly careful about the routing of traces. So I may well be overthinking it!

I'm certainly interested in any insights on the level of importance. If it's just not a concern at all, then my life becomes a lot easier!

2