An Update I Can Count On
I have the first signs of life from the new bus on my PikaPC prototype!
The logic ended up being quite a bit less complex than I expected, using only 32 macrocells. It's just simple state machine written in verilog.
I did have to rework my plan for bus cycle timing & handshaking to work around more quirks of the PPC403's weird bus interface, but it does work. This took me even further away from NuBus, which I originally started from. But if it works, it works …
I decided what I really needed to make sure things were working was a dead-simple test card. Nothing so complex as my DRAM card (which is what I want to tackle next) or even needing custom logic like my keyboard/mouse controller card.
So I threw together a card with a 74'574 register, a 74'139 decoder, and some LEDs. (So glad I decided to spin up some custom prototyping boards!) The idea being I can write a value to the register and it will show up on the LEDs.
This was a good idea. I was able to find I had miswired one signal and swapped a few more in my CPLD pin assignments. I also got to watch my logic run with a logic analyzer to see that the timing mostly worked as expected, but with still more weird quirks of the PPC403 I hadn't accounted for.
For the video at the top of this post I'm running a simple Forth program to count up from 0 to 15 and display the binary equivalent on the LEDs. It's a simple test representing another big milestone for this project. Now that I know my new bus controller works, I can start building more complex peripheral cards to go with it.












