On-Chip Instrumentation: Design and Debug for Systems