excamera, what I'm hacking on, daily.

jamesb@excamera.com


       
Wed, 20 Aug 2003

Why is the program counter a counter?
A critical timing path in this CPU is the next instruction computation (it's complicated because it does a call in a single cycle, and a return in zero cycles). Part of the path is the increment of the 10-bit program counter (PC). So why do program counters increment? As long as they visit memory in a deterministic order, who cares about the actual function? As an experiment, I switched to a 10-bit LFSR, and the CPU clock runs 3 ns faster.

*