Skip to content
VLSI Mentor
Labs · Ethernet

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.

50Labs
10Modules
50Published
RTL Design & Design VerificationCategory
Scope. MAC RTL, verification, debugging and sign-off. PHY/PCS implementation and upper-layer protocols are outside this curriculum.
All 50 labs are published. One purchase covers the entire collection.
Ethernet Labs

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.

Module 15 labs

Frame fundamentals

ETH-01 · ETH-02 · ETH-03 · ETH-04 · ETH-05

Module 25 labs

Transmit MAC RTL

ETH-06 · ETH-07 · ETH-08 · ETH-09 · ETH-10

Module 35 labs

Receive MAC RTL

ETH-11 · ETH-12 · ETH-13 · ETH-14 · ETH-15

Module 45 labs

Filtering and frame admission

ETH-16 · ETH-17 · ETH-18 · ETH-19 · ETH-20

Module 55 labs

Reusable UVM environment

ETH-21 · ETH-22 · ETH-23 · ETH-24 · ETH-25

Module 65 labs

Registers, counters, and flow control

ETH-26 · ETH-27 · ETH-28 · ETH-29 · ETH-30

Module 75 labs

Buffers, backpressure, and clock crossings

ETH-31 · ETH-32 · ETH-33 · ETH-34 · ETH-35

Module 85 labs

Wider datapaths and throughput

ETH-36 · ETH-37 · ETH-38 · ETH-39 · ETH-40

Module 95 labs

Failure injection and coverage closure

ETH-41 · ETH-42 · ETH-43 · ETH-44 · ETH-45

Module 105 labs

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.

50 of 50
Module
Status

Module 1Frame fundamentals

5 labs · 5 published
  1. Lab 1
    Frame fundamentals

    How do you model an Ethernet frame as a SystemVerilog transaction and pack its fields into bytes?

    PublishedPaid
  2. Lab 2
    Frame fundamentals

    How do you accept frames on a ready/valid input and assert that the data stays stable while the MAC stalls?

    PublishedPaid
  3. Lab 3
    Frame fundamentals

    How do you serialize the destination address, source address, Length/Type and payload in wire byte order?

    PublishedPaid
  4. Lab 4
    Frame fundamentals

    How do you generate the preamble and start-frame delimiter and check their timing on GMII?

    PublishedPaid
  5. Lab 5
    Frame 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

5 labs · 5 published
  1. Lab 6
    Transmit MAC RTL

    How do you implement a byte-wise Ethernet CRC-32 and check it against known vectors and an independent model?

    PublishedPaid
  2. Lab 7
    Transmit MAC RTL

    How do you append the FCS in wire order and confirm that padding bytes take part in the CRC calculation?

    PublishedPaid
  3. Lab 8
    Transmit MAC RTL

    How do you enforce the interpacket gap when frames are queued back to back?

    PublishedPaid
  4. Lab 9
    Transmit MAC RTL

    How do you buffer frames so that a client stall can never interrupt a GMII transmission already in progress?

    PublishedPaid
  5. Lab 10
    Transmit 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

5 labs · 5 published
  1. Lab 11
    Receive MAC RTL

    How does the receive MAC detect frame boundaries on GMII and extract the Ethernet header?

    PublishedPaid
  2. Lab 12
    Receive 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
  3. Lab 13
    Receive MAC RTL

    How do you check the FCS and detect corruption in the header, payload, padding and FCS itself?

    PublishedPaid
  4. Lab 14
    Receive MAC RTL

    How do you classify runt, oversized and truncated frames, and which error is reported when more than one applies?

    PublishedPaid
  5. Lab 15
    Receive 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

5 labs · 5 published
  1. Lab 16
    Filtering and frame admission

    How do you accept local unicast and broadcast frames, and verify that the address comparison uses the correct byte order?

    PublishedPaid
  2. Lab 17
    Filtering and frame admission

    How do you implement a multicast hash filter, and what happens when two addresses hash to the same filter bit?

    PublishedPaid
  3. Lab 18
    Filtering and frame admission

    How do you parse a single VLAN tag and verify a configurable acceptance policy?

    PublishedPaid
  4. Lab 19
    Filtering 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
  5. Lab 20
    Filtering 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

5 labs · 5 published
  1. Lab 21
    Reusable 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
  2. Lab 22
    Reusable UVM environment

    How do you build a GMII agent that drives RX, observes TX and reconstructs frame boundaries?

    PublishedPaid
  3. Lab 23
    Reusable UVM environment

    How do you generate constrained-random traffic that reliably reaches length, address and VLAN corner cases?

    PublishedPaid
  4. Lab 24
    Reusable UVM environment

    How do you build an independent predictor for TX bytes, RX frames, drops and status events?

    PublishedPaid
  5. Lab 25
    Reusable 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

5 labs · 5 published
  1. Lab 26
    Registers, counters, and flow control

    How do you verify configuration register reset values and access policies with UVM RAL?

    PublishedPaid
  2. Lab 27
    Registers, 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
  3. Lab 28
    Registers, counters, and flow control

    How do you verify counters under simultaneous events, wraparound and software clear?

    PublishedPaid
  4. Lab 29
    Registers, counters, and flow control

    How do you decode PAUSE frames and verify timer reload, expiry and resume on zero quanta?

    PublishedPaid
  5. Lab 30
    Registers, 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

5 labs · 5 published
  1. Lab 31
    Buffers, backpressure, and clock crossings

    How do you design a synchronous frame FIFO and verify full, empty, wraparound and concurrent transfers?

    PublishedPaid
  2. Lab 32
    Buffers, backpressure, and clock crossings

    How do you carry frames through an asynchronous FIFO and verify their order across clock ratios and phases?

    PublishedPaid
  3. Lab 33
    Buffers, backpressure, and clock crossings

    How do you keep payload and descriptors aligned across clock domains when buffers fill or frames are dropped?

    PublishedPaid
  4. Lab 34
    Buffers, backpressure, and clock crossings

    How do you coordinate reset and flush across clock domains so that pre-reset data can never reappear?

    PublishedPaid
  5. Lab 35
    Buffers, 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

5 labs · 5 published
  1. Lab 36
    Wider 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
  2. Lab 37
    Wider datapaths and throughput

    How do you implement a parallel CRC-32 and prove it matches the byte-wise reference for every tail size?

    PublishedPaid
  3. Lab 38
    Wider datapaths and throughput

    How do you insert and remove the FCS when it shares a beat with payload or crosses a beat boundary?

    PublishedPaid
  4. Lab 39
    Wider datapaths and throughput

    How do you pipeline parsing and filtering while keeping frame metadata aligned through bubbles and stalls?

    PublishedPaid
  5. Lab 40
    Wider 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

5 labs · 5 published
  1. Lab 41
    Failure injection and coverage closure

    How do you write assertions for frame boundaries, stall stability, FIFO safety and legal state transitions?

    PublishedPaid
  2. Lab 42
    Failure injection and coverage closure

    How do you coordinate TX, RX, register writes and backpressure from one UVM virtual sequence?

    PublishedPaid
  3. Lab 43
    Failure injection and coverage closure

    How do you inject delimiter errors, truncation, bad FCS and receive errors, and check that the MAC recovers?

    PublishedPaid
  4. Lab 44
    Failure 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
  5. Lab 45
    Failure 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

5 labs · 5 published
  1. Lab 46
    MAC integration and sign-off

    How do you integrate TX, RX, filtering, registers and buffers, and verify full-duplex traffic?

    PublishedPaid
  2. Lab 47
    MAC 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
  3. Lab 48
    MAC integration and sign-off

    How do you verify PAUSE, buffer pressure and arbitration against documented priority and recovery rules?

    PublishedPaid
  4. Lab 49
    MAC integration and sign-off

    How do you debug a seeded bug that is triggered by backpressure on a partial final beat?

    PublishedPaid
  5. Lab 50
    MAC integration and sign-off

    How do you sign off the MAC against a verification plan using regressions, assertions, coverage and documented limitations?

    PublishedPaid