Ethernet Hands-On Labs.
Build a full-duplex Ethernet MAC block by block and verify every block with a self-checking testbench. The first modules work on a byte-wide GMII interface — framing, CRC, the transmit and receive paths, and address filtering. Module 5 builds a reusable UVM environment and Module 6 adds a UVM register model. Later modules build PAUSE flow control, clock-crossing buffers and a 64-bit internal datapath as separate blocks, then cover failure injection and coverage closure, integrate the MAC and sign it off.

10 modules · 50 labs
Each lab poses one engineering question about the MAC, one of its blocks or its verification. Later labs build on earlier ones, so the numbering is the working order. Linked questions are published labs.
Frame fundamentals
ETH-01 · ETH-02 · ETH-03 · ETH-04 · ETH-05
Transmit MAC RTL
ETH-06 · ETH-07 · ETH-08 · ETH-09 · ETH-10
Receive MAC RTL
ETH-11 · ETH-12 · ETH-13 · ETH-14 · ETH-15
Filtering and frame admission
ETH-16 · ETH-17 · ETH-18 · ETH-19 · ETH-20
Reusable UVM environment
ETH-21 · ETH-22 · ETH-23 · ETH-24 · ETH-25
Registers, counters, and flow control
ETH-26 · ETH-27 · ETH-28 · ETH-29 · ETH-30
Buffers, backpressure, and clock crossings
ETH-31 · ETH-32 · ETH-33 · ETH-34 · ETH-35
Wider datapaths and throughput
ETH-36 · ETH-37 · ETH-38 · ETH-39 · ETH-40
Failure injection and coverage closure
ETH-41 · ETH-42 · ETH-43 · ETH-44 · ETH-45
MAC integration and sign-off
ETH-46 · ETH-47 · ETH-48 · ETH-49 · ETH-50
Lab numbers are stable. Each lab becomes a link here when it is published.
All 50 labs
Search and filter the full curriculum. Titles, previews and metadata are free to browse — full lab content requires the labs package.
Module 1Frame fundamentals
- Lab 1Frame fundamentals
How do you model an Ethernet frame as a SystemVerilog transaction and pack its fields into bytes?
PublishedPaid - Lab 2Frame fundamentals
How do you accept frames on a ready/valid input and assert that the data stays stable while the MAC stalls?
PublishedPaid - Lab 3Frame fundamentals
How do you serialize the destination address, source address, Length/Type and payload in wire byte order?
PublishedPaid - Lab 4Frame fundamentals
How do you generate the preamble and start-frame delimiter and check their timing on GMII?
PublishedPaid - Lab 5Frame fundamentals
How do you pad short frames to the minimum frame size and verify lengths just below, at and above the padding boundary?
PublishedPaid
Module 2Transmit MAC RTL
- Lab 6Transmit MAC RTL
How do you implement a byte-wise Ethernet CRC-32 and check it against known vectors and an independent model?
PublishedPaid - Lab 7Transmit MAC RTL
How do you append the FCS in wire order and confirm that padding bytes take part in the CRC calculation?
PublishedPaid - Lab 8Transmit MAC RTL
How do you enforce the interpacket gap when frames are queued back to back?
PublishedPaid - Lab 9Transmit MAC RTL
How do you buffer frames so that a client stall can never interrupt a GMII transmission already in progress?
PublishedPaid - Lab 10Transmit MAC RTL
What happens when reset arrives during the header, payload or FCS of a transmitted frame, and how do you verify recovery?
PublishedPaid
Module 3Receive MAC RTL
- Lab 11Receive MAC RTL
How does the receive MAC detect frame boundaries on GMII and extract the Ethernet header?
PublishedPaid - Lab 12Receive MAC RTL
How does the receiver tell a Length field from an EtherType, and how do you verify its policy for a length that does not match the payload?
PublishedPaid - Lab 13Receive MAC RTL
How do you check the FCS and detect corruption in the header, payload, padding and FCS itself?
PublishedPaid - Lab 14Receive MAC RTL
How do you classify runt, oversized and truncated frames, and which error is reported when more than one applies?
PublishedPaid - Lab 15Receive MAC RTL
How should the receiver handle a GMII receive error, and how do you verify that it still accepts the next valid frame?
PublishedPaid
Module 4Filtering and frame admission
- Lab 16Filtering and frame admission
How do you accept local unicast and broadcast frames, and verify that the address comparison uses the correct byte order?
PublishedPaid - Lab 17Filtering and frame admission
How do you implement a multicast hash filter, and what happens when two addresses hash to the same filter bit?
PublishedPaid - Lab 18Filtering and frame admission
How do you parse a single VLAN tag and verify a configurable acceptance policy?
PublishedPaid - Lab 19Filtering and frame admission
How do you build store-and-forward reception and prove that a frame with a bad FCS never reaches the client output?
PublishedPaid - Lab 20Filtering and frame admission
How do you handle RX buffer overflow and prove that a dropped frame leaves no partial data or stale descriptor behind?
PublishedPaid
Module 5Reusable UVM environment
- Lab 21Reusable UVM environment
How do you build a client-stream UVM agent that works in active and passive mode, and prove that the passive agent only observes?
PublishedPaid - Lab 22Reusable UVM environment
How do you build a GMII agent that drives RX, observes TX and reconstructs frame boundaries?
PublishedPaid - Lab 23Reusable UVM environment
How do you generate constrained-random traffic that reliably reaches length, address and VLAN corner cases?
PublishedPaid - Lab 24Reusable UVM environment
How do you build an independent predictor for TX bytes, RX frames, drops and status events?
PublishedPaid - Lab 25Reusable UVM environment
How do you build TX and RX scoreboards that catch missing, duplicate, reordered and corrupted frames and report every outstanding expectation?
PublishedPaid
Module 6Registers, counters, and flow control
- Lab 26Registers, counters, and flow control
How do you verify configuration register reset values and access policies with UVM RAL?
PublishedPaid - Lab 27Registers, counters, and flow control
What should happen when configuration changes during reception, and how do you check it against a defined frame-boundary policy?
PublishedPaid - Lab 28Registers, counters, and flow control
How do you verify counters under simultaneous events, wraparound and software clear?
PublishedPaid - Lab 29Registers, counters, and flow control
How do you decode PAUSE frames and verify timer reload, expiry and resume on zero quanta?
PublishedPaid - Lab 30Registers, counters, and flow control
How do you generate PAUSE frames from RX buffer watermarks and verify that TX arbitration switches only at frame boundaries?
PublishedPaid
Module 7Buffers, backpressure, and clock crossings
- Lab 31Buffers, backpressure, and clock crossings
How do you design a synchronous frame FIFO and verify full, empty, wraparound and concurrent transfers?
PublishedPaid - Lab 32Buffers, backpressure, and clock crossings
How do you carry frames through an asynchronous FIFO and verify their order across clock ratios and phases?
PublishedPaid - Lab 33Buffers, backpressure, and clock crossings
How do you keep payload and descriptors aligned across clock domains when buffers fill or frames are dropped?
PublishedPaid - Lab 34Buffers, backpressure, and clock crossings
How do you coordinate reset and flush across clock domains so that pre-reset data can never reappear?
PublishedPaid - Lab 35Buffers, backpressure, and clock crossings
How does the receive path behave under sustained overload, and how do you measure acceptance, drops and recovery?
PublishedPaid
Module 8Wider datapaths and throughput
- Lab 36Wider datapaths and throughput
How do you pack bytes into a 64-bit internal datapath and verify the byte mask of every possible final beat?
PublishedPaid - Lab 37Wider datapaths and throughput
How do you implement a parallel CRC-32 and prove it matches the byte-wise reference for every tail size?
PublishedPaid - Lab 38Wider datapaths and throughput
How do you insert and remove the FCS when it shares a beat with payload or crosses a beat boundary?
PublishedPaid - Lab 39Wider datapaths and throughput
How do you pipeline parsing and filtering while keeping frame metadata aligned through bubbles and stalls?
PublishedPaid - Lab 40Wider datapaths and throughput
How do you measure latency and throughput for minimum-size, maximum-size and mixed traffic, and identify the bottleneck?
PublishedPaid
Module 9Failure injection and coverage closure
- Lab 41Failure injection and coverage closure
How do you write assertions for frame boundaries, stall stability, FIFO safety and legal state transitions?
PublishedPaid - Lab 42Failure injection and coverage closure
How do you coordinate TX, RX, register writes and backpressure from one UVM virtual sequence?
PublishedPaid - Lab 43Failure injection and coverage closure
How do you inject delimiter errors, truncation, bad FCS and receive errors, and check that the MAC recovers?
PublishedPaid - Lab 44Failure injection and coverage closure
How do you cross frame size, address class, VLAN state and error outcome, and close the coverage holes that matter?
PublishedPaid - Lab 45Failure injection and coverage closure
How do you reduce a failing random seed to a deterministic test that identifies the first incorrect cycle?
PublishedPaid
Module 10MAC integration and sign-off
- Lab 46MAC integration and sign-off
How do you integrate TX, RX, filtering, registers and buffers, and verify full-duplex traffic?
PublishedPaid - Lab 47MAC integration and sign-off
How do you build an end-to-end loopback that independently checks payload, addresses, VLAN tags, wire bytes and status?
PublishedPaid - Lab 48MAC integration and sign-off
How do you verify PAUSE, buffer pressure and arbitration against documented priority and recovery rules?
PublishedPaid - Lab 49MAC integration and sign-off
How do you debug a seeded bug that is triggered by backpressure on a partial final beat?
PublishedPaid - Lab 50MAC integration and sign-off
How do you sign off the MAC against a verification plan using regressions, assertions, coverage and documented limitations?
PublishedPaid
