Set the two taps of a transmit FFE. The eye after the long bench channel must open past 540 mV and 0.95 UI, at the same swing.
Circuit context: The digital blocks of a serializer/deserializer: line encoder and decoder, scrambler, CRC and error-correcting code. Keep the line balanced and busy, and detect or correct the errors a fast serial link makes.
A 10 Gb/s transmitter drives the long RC-ladder channel of P10.9. Without equalization the eye is 466 mV tall and 0.82 UI wide.
Inside the subcircuit txffe, the transmitter sends c0 times the current bit minus c1 times the previous bit. Each bit is ±0.5 V.
Choose c0 and c1. The eye at the receiver must be at least 540 mV tall and 0.95 UI wide. The transmitter output must stay within ±0.5 V.
P10.9 used c1 = 0.25. Run it first: it does not meet these limits.
What the Grader Measures
Your subcircuit txffe (ports d, p, tx) under the grader's own bench:
| Check | Rule |
|---|---|
| Eye height | ≥ 540 mV |
| Eye width | ≥ 950 mUI |
| Highest transmitter output | ≤ 505 mV |
| Lowest transmitter output | ≥ -505 mV |
Full specification
.subckt txffe d p tx
.param c0=1 c1=0
Btx tx 0 V=c0*v(d)-c1*v(p)
.ends
| Check | Rule | How the grader measures it |
|---|---|---|
| Eye height | ≥ 540 mV | tran over 137 bits of PRBS7. v(rx) is folded on the 100 ps unit interval, as in the lesson eye plots. Height: the opening at the best instant |
| Eye width | ≥ 0.95 UI | the same fold: the span of sampling instants at which every bit is decided right |
| Highest transmitter output | ≤ 0.505 V | tran: the maximum of v(tx) |
| Lowest transmitter output | ≥ −0.505 V | tran: the minimum of v(tx) |
The grader drives d and p with the PRBS7 stream and the same stream one bit later. The channel, the swing limit and the eye limits are bench values; the 5 mV allowance covers the source edges.
Examples
Example 1
No Equalization: c0 = 1, c1 = 0- Design
.subckt txffe d p tx * d: the bit being sent, p: the bit before it, each +-0.5 V .param c0=1 c1=0 Btx tx 0 V=c0*v(d)-c1*v(p) .ends
- Measured by the grader
Eye height: 466.4 mV (needs ≥ 540 mV) Eye width: 820 mUI (needs ≥ 950 mUI) Highest transmitter output: 500 mV (needs ≤ 505 mV) Lowest transmitter output: -500 mV (needs ≥ -505 mV)
The channel smears each bit into the next. The eye is the one P10.9 shows without an equalizer.
Example 2
The Lesson's Taps: c0 = 0.75, c1 = 0.25- Design
.subckt txffe d p tx * d: the bit being sent, p: the bit before it, each +-0.5 V .param c0=0.75 c1=0.25 Btx tx 0 V=c0*v(d)-c1*v(p) .ends
- Measured by the grader
Eye height: 499.9 mV (needs ≥ 540 mV) Eye width: 920 mUI (needs ≥ 950 mUI) Highest transmitter output: 500 mV (needs ≤ 505 mV) Lowest transmitter output: -500 mV (needs ≥ -505 mV)
Better, but repeated bits now arrive too small: the eye is still short of both limits.
Example 3
Swing Raised Instead: c0 = 1.2, c1 = 0- Design
.subckt txffe d p tx * d: the bit being sent, p: the bit before it, each +-0.5 V .param c0=1.2 c1=0 Btx tx 0 V=c0*v(d)-c1*v(p) .ends
- Measured by the grader
Eye height: 559.7 mV (needs ≥ 540 mV) Eye width: 820 mUI (needs ≥ 950 mUI) Highest transmitter output: 600 mV (needs ≤ 505 mV) Lowest transmitter output: -600 mV (needs ≥ -505 mV)
A bigger swing makes the eye taller, but no wider, and breaks the ±0.5 V limit.
Constraints and Contract
- The netlist defines .subckt txffe d p tx ... .ends exactly once, with these ports in this order.
- Inside txffe: one B source and .param lines. Top-level .param lines are kept.
- Everything outside txffe is yours: the grader uses its own bench.
Hints
Hint 1
After a long run, the line sits at (c0 − c1) × 0.5 V. Right after a transition it reaches (c0 + c1) × 0.5 V. Which of these does the swing limit cap?
Hint 2
The swing limit means c0 + c1 ≤ 1. Spend all of it: set c0 = 1 − c1 and search c1 alone.
Hint 3
Too little de-emphasis leaves the ISI; too much makes repeated bits too small. The best c1 for this channel is below the lesson's 0.25.
What the grader checks: The grader places your subcircuit in front of the lesson's RC-ladder channel. It folds v(rx) into an eye with the lessons' eye code, on ngspice 42, measured 2026-11-12. It proves the eye on this bench channel and pattern, not on a real board, with noise or with other patterns.
Run simulates your netlist as written, with your own analyses and measurements. Submit sends it to the grader, which keeps only the subcircuit txffe and makes 1 ngspice run. The numbers come from ngspice and the SKY130 models the site pins; they prove the measured cases, not every condition a chip meets.
See all 2 steps and the final capstone