Adding good rtl code for the ring oscillator.
Adding first attempt at correct core functionality.