Integrated code cache in core, added tiny test to cputest.
Fixed a nasty combinational loop caused by a bug in the cache miss logic.