BigEd wrote:
What you have there [in the diagram] is something like a wired-NOR. The two pullups are in parallel, so they will act as a single, larger, pullup. So that's the logical function of a NOR, slightly more resistant to pulling down because more eager to pull up, and therefore the electrical threshold will be higher than it otherwise would have been.
If a single, larger, pullup is true, then 1s flows into the single, shared node toward accumulator register while two inputs are low or one input is high and another input is low. If both inputs are high, 0s flows into the single, shared node, too.
BigEd wrote:
You'll notice [in the 6502] that there are some unusually large transistors handling the databus input, to shift the logic threshold, this time towards lower voltages (the pulldown is much larger than the pullup)
http://visual6502.org/JSSim/expert.html ... 5&zoom=5.0There's nothing metastable going on here.
Have you cranked up SPICE? That's an easy way to get circuit simulation. It's just about possible to simulate the whole CPU too. See
viewtopic.php?f=4&t=2391&p=23864&hilit=spice#p23864 which leads us to
viewtopic.php?p=13550#p13550Let's think about SR latch with two NORs. If set's input and reset's input are high, then two outputs are metastable while 0s are infinite. If set's input and reset's input are pulled low at the same time, then two outputs are metastable while 1s toggles 0s and toggles back 1s and toggles back 0s again each cycle. This is the same as I describe my diagram above and two NOTs and pass gate transistor in accumulator register.
I do not use spice. I can write input's value and output's value manually in MS Word or MS Excel. It helps me to understand how 0s and 1s work before I am able to write simulator in C++ source code. If logic gates use storage, update the input's value and output's value must be two times before output's value is valid. If logic gates are only transition without storage, update can be one time.
BigEd wrote:
(I'll see if I can fix the image there)
[Edit: I've provided the raw spice output file for download, so you can view the waves without needing to run the simulation]
I am interested to see the raw spice output file as long as I do not need to run the spice.
Bryan