Completed HDL definition of CPU