BigEd wrote:
I do find that confusing! You could regard the board's "phi2" clock as being a twice-delayed phi2(out), or you could regard it as an inverted phi0. Which, right now, makes little sense to me! I look forward to being enlightened.
The issue 3 circuit diagram
here does retain the pair of inverters from the Phi2 output.
(
Atomic Theory and Practice doesn't have this level of detail, it seems.)
An interesting find: I hadn't looked at the Acorn Atom's clock.
The Atom is of course, based on the System 2, which is itself pretty much a System 1 in a eurocard rack with a video card on the bus. Looking at the Atom's system diagram, it has a 4MHz crystal (in Garth's arrangement) being divided by 4 in a 74LS393, which is then fed in to the 6502's PhiIn, but it still has the pair of inverters on the Phi2out. It suggests that they are indeed needed, but why?
The System 5 used a 6502A on a revised CPU card. It runs on a 24MHz crystal, and generates 12,8,6,4,3,2 and 1MHz clocks on the eurocard bus for various expansion cards. It inputs its (divided) 2MHz clock signal into the 6502A, and then buffers Phi2out with a 74LS125. (See page 62 of
http://www.vintageacorn.com/Acorn_System5Handbook.pdf) Use of a buffer chip suggests it's for bus powering reasons, but equally the circuit seems to have had only one spare inverter gate, so maybe it was a change of convenience? (The gate delay on a '125 is roughly twice that of a '04, which would fit the timing theory.)
Looking again at the BBC Micro, while its Phi2 output isn't buffered in any way, the R/W` output is inverted twice: once to generate R`/W, and again to generate the R/W` signal that is actually shared with the rest of the system. And Phi2out isn't actually used by anything: Phi1out is inverted once and shared with the board as a "2MHZE" CPU-synchronised signal. Phi1 is fed to two 74xx ICs (that I can spot), whereas the 2MHZE signal feeds two 6522s, a 68B54, a serial port ULA, a few 74xx ICs,
AND is left hanging off the bus of the "tube" expansion port.
On balance, I'm leaning towards saying that the pair of inverters are there to buffer the 6502's signal, rather for timing reasons. I'd appreciate any further insight from those more knowledgeable.
GaBuZoMeu wrote:
Leave them in. Why?
1) Depending on how many recipients require PHI2 the CPUs output may be too weak.
2) The circuit has worked in its original form, that means the overall timing was OK. If you now change that timing it may cause trouble.
3) If you got everything working fine you may try to omit these two inverters and check whether it still works flawlessly.
I'm at a point in construction where I had to decide on one option or the other: changing my mind later would mean desoldering chips and rearranging things. Without advice to the contrary, I'd probably have opted to keep the double inverter just in case. I am now gonig to leave them in; seeing the Atom use it in my (kind of) situation reassures me that it
is needed, but I'm still not certain of the reason why.