jds wrote:
Thanks for the quick info. A transparent latch is new to me, so I've learned something today. Seems obvious now when I look at the diagram that DL is called a latch rather than a register. From a quick look around the diagram it is the only latch, even the instruction side of the data bus is called the Predecode Register.
You're welcome. As for the terminology, you need to be cautious because it's not entirely reliable. Broadly speaking, a "register" is just a small, local memory. It's true, people often use "register" to imply edge triggering, but be aware that a transparent latch can also be considered a register. (The situation is somewhat better regarding the term "latch" -- it probably means a transparent latch.)
Quote:
So as a simple summary, the input data latch will latch the value of the data bus on the falling edge of phi2, holding that value until phi2 goes high again.
Yes. But I'm less certain regarding what you said about ADH. The address bus updates during PHI2 low, whereas the data bus updates during PHI2 high. And
a similar pattern permeates all the CPU's internal behavior -- many of the latches are transparent during PHI2 low, and many others are transparent during PHI2 high. That's what allows an orderly execution of events -- passing the ball from one hand to the other, so to speak. It's like an assembly line. There are other analogies, I suppose -- a game of checkers, perhaps. You need one half to stop while the other half proceeds, because having both simultaneously active would result in mayhem.
Quote:
If I model the timing and also only allow data to flow where busses are on the diagram I should get an accurate reconstruction.
Which diagram are you referring to? There's some good reverse-engineering out there, but the so-called block diagrams found in manufacturers' datasheets tend to be fanciful works of fiction produced by the Marketing department.
Quote:
There does appear to be some cases where a cycle could be saved on the 65C816 but has been kept for 6502 compatibility, it's a pity they had to do that as the 65C816 could have been even faster.
Yes, it seems a tragic waste. I summarized some of the details
here.
I wrote:
It's easy to imagine WDC's frustration if, for the sake of one customer, they were forced to undo an optimization intended to benefit everyone.
_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html