Dr Jefyll wrote:
backspace119 wrote:
The one issue is the 6522s also connect to some other things (text display, video card port, audio card port, DIN-5 connector, vertical card edge (cartridge) connector), I suppose locating these all in a fairly close space will help, rather than having them on literally opposite sides of the board like I have now
"All along one edge" might be fairly easy to arrange. Is that as good as "in a fairly close space"? It's your call.
As for four-layer boards, I guess no-one ever regretting going that route, and it
does shrink the layout somewhat. But in regard to the whole AC performance / signal integrity ball of wax, I believe a person can succeed with only 2-layer as long as common sense is exercised and the goals aren't bleeding-edge.
The main rule is to arrange that every signal path (ie, address line, decode signal, whatever) has a return path nearby which takes roughly the same route, with no lengthy detours. This implies more or less a grid of ground connections -- and
ideally you want the ground pin of every IC to locate at an X-Y intersection of the grid. In practice the grid may be irregular and incomplete, but that's alright -- and, if not, you can always augment the grid later by soldering in some point-to-point ground wires after the fact. It's kinda-sorta like having a 3rd (or even 4th and 5th) layer. That's my $.02 worth, anyway.
BTW, CNC-milling circuit boards is an idea I played with back in the 20th century. I'm tempted to drag out one of the old specimens so I can take some photos to share!
- Jeff
If you look earlier in the thread you can see some of the boards I've already made on my CNC. It's kind of a piece of crap, but it does well for small boards with THT components. As far as going to 4 layer over 2: The problem I ran into was that the return paths were occasionally destroyed, because my ground plane was on the bottom, and if a chip had some signals underneath the ground plane couldn't reach it. The detours were not horribly lengthy, but some of the tracks definitely needed work.
Also, if I end up making a pretty nice board, I can probably sell the extras to people on here looking for a board that does what mine does, I may not be able to get anyone to buy them, but at worst I have spare boards to make more machines. Also, I think having the power and ground planes will definitely help me with signal integrity, since this is sort of my first digital board (at least this complex of one). Ultimately, if I want to hit 16Mhz, I have to have wait states for ROM/NVRAM access, which means adding in a few more chips, that may happen before I'm done here, but honestly, 5-10Mhz is pretty decent as is.
DerTrueForce wrote:
The way this is sounding, you're building something like a PCs motherboard, but 65xx-based. It might be worth designing on similar lines, at least in terms of layout. All the IO ports in one area, and the expansion slots lined up next to one another.
So, I've got all the ports lined up on the "back" of the board, but I may take some of the expansion card slots/headers and line them up too, the issue is, I have 2 VIAs, one controls most of the important stuff, audio, video, text display, the other isn't hooked up to a whole lot (2 expansion headers, and I think possibly the cartridge connector). lining them all up would mix these signals, and probably make it harder to route. I'm messing with the layout right now though, and I think it's going pretty well so far. Although I do have the 816 pressed up against the left side of the board, and all of its busses going to the right and downward. I've done this because I think it will be easier to route this way, but it may bite me.