

The EDE707 runs at 4Mhz (that's the crystal sitting to the top-right of it). However, it's pretty pokey with respect to command inputs. To set the displays, you first setup a command on the four input pins (ex: 0010 for the third digit), then bounce the latch pin. Then you setup the value for that digit on the input pins, and bounce the latch pin again. Unfortunately, the datasheet says you have to leave the data active on the pins for 1.2ms (milliseconds!) after bouncing the latch. When your clock is running at 4Mhz (250ns), 1.2ms is an eternity.

- Counter: 0000: send 0000 (first digit) to the input pins
- Counter: 0001: send a0, a1, a2, a3 to the input pins
- Counter: 0010: send 0001 (second digit) to the input pins
- Counter: 0011: send a4, a5, a6, a7 to the input pins
- Counter: 0100: send 0010 (third digit) to the input pins
- Counter: 0101: send a8, a9, a10, a11 to the input pins
- Counter: 0110: send 0011 (fourth digit) to the input pins
- Counter: 0111: send a12, a13, a14, a15 to the input pins
The commands can be driven directly from the counter -- the second and third bits are used to form the last two bits of the command.
Finally, the address information is formed by passing the address information through four 4:2 multiplexers, using the second and third bits of the counter as the selector.
When all said and done, each piece of the command takes about 2ms due to the many counter stages. Thus to get through all eight steps takes about 16ms. However, this still results in an effective polling rate of around 60Hz, which is much faster than the human eye can even perceive.
I've still got quite a bit of work to do before the program counter is done:
- Add the final multiplexer to drive the input pins of the EDE707
- Add the LED display and its driver transistors
- Finish wiring up the EEPROMs (I still haven't even run power and ground lines to them)
- Install the address load socket and wiring
- Install the current instruction sockets and wiring
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.