The digital front-end that turns an on-die temperature macro into usable telemetry — and a hardware over-temp line
The Zen PVT controller is the digital front-end for on-die temperature / PVT (process-voltage-temperature) sensor macros. It sequences conversions across sensor channels, de-noises and linearly calibrates each reading, tracks min/max telemetry, and raises WARN/CRIT alarms — including a dedicated hardware over-temperature line for an unconditional throttle or shutdown path. For SoC teams who need thermal and silicon-health monitoring without building the digital plumbing around a foundry analog macro.
1. PVT in one paragraph
The PVT controller sits between your host bus and a foundry temperature diode + ADC macro. It drives the macro with a simple start / chan / result / valid / busy handshake — either a deterministic software single-shot or a prescaler-gated auto-sweep round-robin across the enabled channels. Each captured code is run through a per-channel boxcar running-average, a per-channel linear calibration (code · slope + offset >> shift), and min/max latches, then compared against programmable WARN and CRIT thresholds. A WARN crossing raises an interrupt-enable-gated IRQ for a software DVFS response; a CRIT crossing additionally asserts otemp_o, a dedicated hardware over-temp line that needs no software in the loop and is safe (deasserted) out of reset.
- PVT controller
- host bus / analog macro
- per-channel telemetry
otemp_o is the OR of every channel's active CRIT alarm, asserts in the same cycle the critical code is captured, and is deasserted out of reset — so it can drive an unconditional hardware throttle or shutdown even if firmware is wedged.valid_i with no fixed bound in the controller — so per-conversion time, samples/second, and absolute temperature accuracy are properties of the foundry macro and your calibration, not of this IP.2. What it is, at a glance
| Element | Detail | Default | Status |
|---|---|---|---|
| Sensor channels | multi-channel sample sequencer | 4 | exists |
| ADC code width | captured per conversion | 12-bit | exists |
| Convert modes | SW single-shot (priority) and prescaler-gated auto-sweep | — | exists |
| Running average | per-channel boxcar window 2^k | 256 max | exists |
| Calibration | per-channel linear code·slope + offset >> shift | — | exists |
| Telemetry | per-channel RESULT · running-average · calibrated value · MIN · MAX | — | exists |
| Threshold alarms | per-channel sticky WARN + CRIT, fixed 8-LSB hysteresis | — | exists |
| HW over-temp line | otemp_o, unconditional, safe-state at reset | — | exists |
| Interrupt | 1 aggregated IE-gated line, pending RW1C | — | exists |
| Temperature accuracy (°C / mV per LSB) | analog-macro + calibration property, not asserted by this IP | TBC | TBC |
| Per-conversion time | macro-dependent latency | TBC | TBC |
| Max clock frequency (fmax) | timing sign-off downstream | TBC | TBC |
Sources: Zen PVT product datasheet; as-built RTL.
3. How a client uses it
- Instantiate the controller, tie it to the 32-bit peripheral bus, and wire the
start / chan / result / valid / busyhandshake to your foundry temperature/PVT macro. - Program the per-channel calibration constants (slope / offset / shift) and the WARN / CRIT thresholds; set the running-average window per channel.
- Choose a mode — enable auto-sweep with a channel mask and an interval prescaler for continuous background monitoring, or write a channel index to CONVERT for a deterministic on-demand spot read.
- Consume telemetry and alarms — poll calibrated per-channel values and min/max for DVFS and health logging; take the IE-gated IRQ on a WARN crossing; let
otemp_odrive an unconditional hardware safe-state on CRIT.
4. Verification & provenance
- Functional sign-off: the PVT compliance suite is 7/7 PASS — single-shot, round-robin, linear calibration, running-average (per-sample equality vs a golden truncating-EWMA model), threshold/hysteresis/over-temp, MIN/MAX, and safe-state at reset.
- Synthesis discipline: latch-free by construction (Yosys house-rule pass — no inferred latches); clean in the portfolio regression.
- Honest boundary: verified functionally against a behavioral sensor-macro model, not against silicon thermal behavior. The diode + ADC analog macro is foundry IP and ships outside this kit; the controller provides the digital sequencing, calibration, telemetry, and the defined macro interface.
Sources read
Sources: Zen PVT product datasheet; as-built RTL.