All published labs in this collection
RTL Design and Verification Using C Labs
Lab 10of 30
- 1How do you model N-bit truncation in C after every hardware operation?
- 2How do you exhaustively verify a multiplexer against its truth table?
- 3How do you check a priority encoder with simultaneous requests?
- 4How do you test a decoder for unused input codes?
- 5Which injected bit errors can a parity checker detect?
- 6How do you verify a leading-zero counter when the entire word is zero?
- 7How do you distinguish logical and arithmetic right shifts?
- 8How do you test rotates at zero, word width, and larger shift amounts?
- 9How do you check sign extension across unequal RTL signal widths?
- 10How do you uncover swapped byte lanes with a C oracle?
- 11How do you model simultaneous register updates from the same pre-edge state?
- 12How do you test reset priority over register load and enable?
- 13How do you check that a disabled register holds its value?
- 14How do you distinguish wrapping from saturating counters at their limits?
- 15How do you check timer expiry on reload, cancellation, and the last count?
- 16How do you verify exact shift-register delay with consecutive inputs?
- 17How do you test an edge detector for missing or repeated pulses?
- 18How do you verify overlapping matches in a serial sequence detector?
- 19How do you check state and output timing in a finite-state controller?
- 20How do you test recovery after injecting an illegal controller state?
- 21How do you distinguish adder carry-out from signed overflow?
- 22How do you verify a subtractor's borrow convention at numeric extremes?
- 23How do you check ALU results and flags with an independent C oracle?
- 24How do you verify mixed-sign multiplication and truncated product bits?
- 25How do you check quotient, remainder, and divide-by-zero behavior?
- 26How do you model fixed-point scaling and finite intermediate widths?
- 27How do you test nearest-even rounding on positive and negative ties?
- 28How do you verify a saturating MAC near both accumulator limits?
- 29How do you isolate misplaced lane products in a pipelined dot product?
- 30How do you measure approximation error against a high-precision C model?
RTLC-010Module 1 · Bit-accurate combinational logic
How do you uncover swapped byte lanes with a C oracle?
Foundation~60 min
This lab is part of the RTL Design and Verification Using C Labs
The walkthrough, the C reference model, the RTL, the self-checking testbench, the run transcripts and the debugging exercise unlock with the collection.
