
Real Interview Questions for the IC Design Engineer at MediaTek
NewInterview Q&A
Q&A-1How would you solve a CDC problem for a single bit?
Reported in MTK_聯發科技股份有限公司數位IC設計工程師面試心得 | 面試趣
The 90-second answer
For a single level bit crossing into an unrelated clock domain, I use two destination flops in series, with no logic between them, and I constrain the path as a clock domain crossing. The first flop can go metastable. The second flop samples it one destination period later, which gives metastability time to resolve. I do not use that structure for a short pulse, and I do not use it if the destination needs to know the source value is stable for more than one cycle. Those cases need a toggle synchronizer or a handshake.
// Level synchronizer. Attribute spelling below is Vivado specific.
module cdc_sync2 (
input logic clk_dst,
input logic rst_dst_n,
input logic data_src, // async to clk_dst
output logic data_dst
);
(* ASYNC_REG = "TRUE" *) logic sync1_q;
(* ASYNC_REG = "TRUE" *) logic sync2_q;
always_ff @(posedge clk_dst or negedge rst_dst_n) begin
if (!rst_dst_n) begin
sync1_q <= 1'b0;
sync2_q <= 1'b0;
end else begin
sync1_q <= data_src;
sync2_q <= sync1_q;
end
end
assign data_dst = sync2_q;
endmoduleASYNC_REG is not standard SystemVerilog. In Xilinx Vivado, including the 2023.x releases, that attribute tells synthesis to keep the flops as a synchronizer and to place them close together. In Synopsys Design Compiler and Cadence Genus flows the equivalent is set through flow specific attributes or through the CDC tool, and the spelling differs. I check the flow documentation for the target library instead of copying the attribute across tools. The placement rule is the same in each flow: the two flops go in the same clock region, close together, with no buffer or logic between them, and synthesis must not retime, merge, or optimize them away.
For timing, the crossing net is constrained in SDC or Tcl, which is the constraint language used by Vivado, Design Compiler, and Genus. I either use set_false_path on the crossing, or set_max_delay with -datapath_only set to a value below the destination period, for example the destination period minus setup and skew margin. A false path tells STA to ignore the path entirely. A max delay still reports the path but requires it to meet the stated bound. Neither constraint makes the crossing synchronous. Reset release is the other trap. If rst_dst_n releases near a destination edge, the first flop can recover late. I release reset through a reset synchronizer in the destination domain.
Why two flops, and when that is not enough
Metastability is not a logic error. When data_src changes inside the setup and hold window of the first destination flop, that flop can resolve late, to either value, or briefly to a value that is neither clean 0 nor clean 1. The second flop does not prevent that event. It allows roughly one destination period between the sampling edge of the first flop and the sampling edge of the second flop. The usable resolution time is that period minus the setup time of the second flop, minus clock skew, minus any routing delay between the flops. If metastability has not resolved within that window, the second flop can sample a wrong or metastable value. The MTBF calculation estimates how often that happens. It is a probability, not a guarantee.
MTBF makes the trade-off quantitative:
MTBF = exp(t_r / tau) / (T0 * f_clk * f_data)
where t_r is the resolution time allowed, tau and T0 come from the foundry flop characterization, f_clk is the destination clock, and f_data is the rate at which the source bit changes. With hypothetical figures labelled as such, say tau = 50 ps, T0 = 1e-12 s, f_clk = 500 MHz, f_data = 10 MHz, destination period T = 2 ns, and t_r = 1.8 ns after subtracting setup and skew.
| Quantity | Value |
|---|---|
t_r / tau | 1.8 ns / 50 ps = 36 |
exp(36) | 4.3e15 |
T0 * f_clk * f_data | 1e-12 * 5e8 * 1e7 = 5e3 |
| MTBF | 4.3e15 / 5e3 = 8.6e11 s |
That is about 27,000 years for those assumed numbers. Add a third flop and t_r grows by another period, 2 ns in this example, which multiplies MTBF by exp(2 ns / 50 ps) = exp(40), about 2.4e17. That is why a third flop is cheap insurance at low destination frequencies and why, at very high f_clk or very high f_data, I check the vendor numbers instead of assuming two flops pass.
| Case | Structure | Latency | What breaks if I use plain sync2 |
|---|---|---|---|
| Level held for many destination cycles | 2-flop synchronizer | 2 destination cycles | Nothing, this is the intended case |
| Pulse shorter than destination period | Toggle synchronizer, toggle in source, sync, XOR the two synced values | 2 to 3 destination cycles | Pulse can fall between destination edges and be missed entirely |
| Value must be sampled once, with a request | 4-phase req/ack handshake, data held stable until ack returns | Several cycles each way | Destination can sample a changing multi-bit value, or miss the event |
| Stream of values | Async FIFO with Gray pointers | FIFO depth dependent | Data loss and pointer corruption |
Worked trace
Assume the destination period is 10 ns and the source bit changes 0.2 ns before a destination edge, inside the aperture.
| Time | Source bit | First flop | Second flop | Used value |
|---|---|---|---|---|
| 0 ns | 0 | 0 | 0 | 0 |
| 10 ns, aperture hit | 1 | metastable, resolves to 1 at 11.5 ns | 0 | 0 |
| 20 ns | 1 | 1 | 1 | 1 |
| 30 ns | 0, clean change | 0 | 1 | 1 |
| 40 ns | 0 | 0 | 0 | 0 |
The used value changes at 20 ns, one full cycle after the first flop captured the new level. If the source pulse had lasted only 3 ns, from 9 ns to 12 ns, the first flop might still capture it, but a pulse from 11 ns to 14 ns would be missed. That is the failure mode the toggle version fixes: the source toggles a level on each pulse, the destination synchronizes that level, and an XOR of the synchronized value with its delayed copy regenerates a one-cycle pulse.
Failure modes I check in review
Reconvergence: if the synchronized bit fans out and recombines through different logic depths, the two paths can disagree for a cycle. I synchronize once and distribute the synchronized signal. Combinational logic between the two flops: a buffer or an inverter there eats resolution time and can be optimized into a different structure. Unconstrained crossing: without a false path or max delay constraint, STA reports a violation or, worse, synthesis and place and route treat the net as a normal timed path. Reset and clock gating: a gated destination clock stretches the period in a way that helps MTBF but breaks the latency assumption, and an asynchronous reset asserted in one domain and released in another needs its own synchronizer. In a MediaTek SoC flow I would also confirm the flop style used for the synchronizer is the characterized metastability hardened cell if the library provides one, and that the CDC lint tool, not just STA, flags the crossing as a reviewed synchronizer.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-2What are the key design and verification issues for an asynchronous FIFO?
Reported in MEDIATEK 數位IC設計工程師面試經驗2026.2.4
The 90-second answer
An asynchronous FIFO crosses two clock domains, so the design problem is moving pointers safely without ever moving multi-bit data through a synchronizer. I would use Gray-coded pointers, two-flop synchronizers in the receiving domain, and a dual-port memory whose data path is not synchronized at all. Full is generated in the write domain from a synchronized read pointer, empty in the read domain from a synchronized write pointer. Both flags are therefore pessimistic by up to two destination clock cycles, and that latency, not the memory, sets the usable depth.
Pointer and flag design
Depth must be a power of two, say 16 entries, so address bits are simply the low bits of the pointer. The pointer needs one extra bit beyond the address, ADDR_WIDTH + 1 bits total, to distinguish full from empty when the addresses match. Binary pointers increment in their own domain. Only the Gray version crosses. Gray code changes exactly one bit per increment, so if the synchronizer samples during a transition it captures either the old or the new value, never a mixture of bits from two different counts.
Full detection compares the next Gray write pointer against the synchronized Gray read pointer with its two MSBs inverted. Empty compares the next Gray read pointer against the synchronized Gray write pointer for equality. That asymmetry is deliberate. A stale read pointer makes full assert early, which wastes a few slots but never overflows. A stale write pointer makes empty assert early, which stalls the reader but never underflows.
// Checked against IEEE 1800-2017 style; synthesizable subset
module async_fifo_ptr_sync #(
parameter int ADDR_WIDTH = 4
)(
input logic clk_dst,
input logic rst_n,
input logic [ADDR_WIDTH:0] ptr_gray_src,
output logic [ADDR_WIDTH:0] ptr_gray_dst
);
logic [ADDR_WIDTH:0] sync1, sync2;
always_ff @(posedge clk_dst or negedge rst_n) begin
if (!rst_n) begin
sync1 <= '0;
sync2 <= '0;
end else begin
sync1 <= ptr_gray_src;
sync2 <= sync1;
end
end
assign ptr_gray_dst = sync2;
endmoduleEach synchronizer flop needs ASYNC_REG or equivalent placement constraints, a max-delay constraint on the crossing net, and a false path or timing exception only where the tool flow requires it. Putting the two flops far apart, or letting synthesis retime them, defeats the purpose. Reset is the other trap. If one domain leaves reset while the other is still held, the synchronized pointer can be X or zero while the local pointer has moved. I reset both pointers to zero, hold the synchronizers in reset until both domains are out of reset, and gate writes with !full and reads with !empty from the first cycle.
Worked trace, depth 8
Assume the write side has written 8 items and the read side has read none. The write pointer binary value is 8, Gray is 1100. The synchronized read pointer is still 0, Gray 0000. Next write pointer Gray is 1101. Inverting the two MSBs of the synchronized read pointer gives 1100, which matches, so full asserts. The write side stops even though no read has happened. After one read, the read pointer becomes 1, Gray 0001, crosses to the write domain after two write clocks, and full deasserts. The FIFO lost two write cycles of throughput, not data.
| Event | wr_ptr (bin) | rd_ptr synced to wr | full | Consequence |
|---|---|---|---|---|
| 8 writes, 0 reads | 8 | 0 | 1 | write blocked |
| 1 read, sync pending | 8 | 0 | 1 | still blocked for 2 wr clocks |
| sync arrives | 8 | 1 | 0 | one slot usable |
| read catches up | 9 | 9 | 0 | empty asserts in read domain |
Verification issues that actually fail silicon
Simulation with ideal clocks will not catch the real bugs. I would run three things in parallel. First, a scoreboard model in the testbench that tracks occupancy independently and checks that data order is preserved across randomized clock ratios, including ratios like 100 MHz write to 37 MHz read and the reverse, plus jitter. Second, formal properties for the invariants: never write when full, never read when empty, pointer difference never exceeds depth, and Gray pointers change by one bit at a time. Third, CDC structural checks for every crossing, confirming only Gray pointer bits cross through two flops and that no other signal, including reset or enable, crosses unsynchronized.
Coverage has to hit the corners simulation rarely reaches by chance: simultaneous full and read on the same cycle, simultaneous empty and write, pointer wrap at the extra bit, reset asserted in one domain only, and back-to-back full deassertion followed by a burst. I would also inject metastability by randomly delaying one synchronizer bit by a cycle in simulation. If the design still passes, the Gray property is doing its job. If it fails, the bug is in flag generation, not in the synchronizer.
For DFT, the memory needs MBIST and the synchronizers need to be excluded from scan shifting or handled with lock-up latches, otherwise scan can corrupt the pointer state. In a MediaTek SoC context I would also check clock gating and power domain crossings, because a gated destination clock freezes the synchronizer and the source pointer keeps moving, which can make the synchronized value lag by far more than two cycles. The fix is to guarantee the destination clock runs during reset release and during any period when the other domain can write, or to add a handshake for power collapse. That interaction is the issue candidates most often miss, and it is the one that shows up as a FIFO that works in simulation and hangs in silicon.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-3Do you have integration experience and are you familiar with AMBA?
Reported in MTK_聯發科技股份有限公司數位IC設計工程師面試心得 | 面試趣
The 90-second answer
Yes. I have integrated blocks as AXI4 masters and slaves, AXI-Lite control slaves, and APB peripherals behind bridges, at block and SoC level. The work that matters is not signal names. It is freezing data width, ID width, address width, outstanding limits and burst support before the interconnect is generated, then owning address decode, clock and reset crossing, and protocol verification. A late change to any of those parameters regenerates the interconnect and invalidates the VIP configuration.
A concrete example: a DMA as AXI4 master, 128-bit data, connected through an interconnect to SRAM and DDR, with an AXI-Lite CSR block for control and an AXI-Lite to APB bridge for timers and interrupt registers. I owned the address map, the CSR slave, CDC between the bus clock and the always-on domain, and the directed tests for bursts and error responses.
Choosing the interface
| Interface | Area and latency | Verification cost | When it is the wrong choice |
|---|---|---|---|
| AXI4 | Highest. Pipelined channels, IDs and burst logic. Lowest latency per byte at high bandwidth. | Highest. Need coverage for interleaving, outstanding transactions, burst lengths to 256 beats and backpressure on every channel. | For a single register that is written once at boot. The logic and verification cost buys nothing. |
| AXI-Lite | Low. One outstanding transaction, no burst, no ID. | Low. Single transfer tests plus error and wait-state cases. | For a DMA or codec that needs multiple outstanding reads to hide DDR latency. Throughput collapses. |
| APB4 | Lowest. Two-phase PSEL/PENABLE transfer, PREADY wait states. | Lowest. | For anything in the data path, or where a peripheral must respond within a few bus cycles. Wait states add latency on every access. |
AXI4 data width is 32 to 1024 bits in powers of two, address width up to 64 bits. That range is why I freeze width early. Moving a master from 64 to 128 bits changes the interconnect, the SRAM interface and the testbench.
A trace I use to debug bring-up
AXI4 write, 4 beats, 64-bit data, AWBURST=2'b10 (INCR), AWSIZE=3'b011, AWLEN=3, address 0x8000_1000:
| Cycle | Channel | Signals | Result |
|---|---|---|---|
| 0 | AW | AWVALID=1, AWREADY=1 | Address accepted |
| 1 | W | WVALID=1, WLAST=0, beat 0 | Transferred |
| 2 | W | WVALID=1, WLAST=0, beat 1 | Transferred |
| 3 | W | WVALID=1, WLAST=0, beat 2 | Transferred |
| 4 | W | WVALID=1, WLAST=1, beat 3 | Burst ends |
| 5 | B | BVALID=1, BRESP=2'b00 | OKAY |
If BRESP=2'b10 (SLVERR) comes back, I check the address map first, then whether the slave clock was gated while WVALID was high, then whether WREADY timing violated the interconnect timeout. That order has found the fault faster than starting from the master waveform.
Failure modes I check in integration
Reset and clock release: I review the reset synchronizers in each clock domain and the release order between interconnect, master and slave. A slave released before the interconnect can accept AWVALID drops the first transaction, and the symptom looks like a master bug.
CDC: a multi-bit CSR crossing from a 200 MHz bus clock to a 32 kHz always-on clock needs a handshake or an async FIFO. Two flops per bit do not keep a bus coherent. I run CDC lint and read the structural report for buses held stable by a handshake, which the tool can miss.
Power gating: the Q-channel handshake must complete before the clock stops. A master holding AWVALID high while its domain is gated can deadlock the interconnect, so I test power transitions with traffic running, not idle.
For test patterns, I organise them by transaction type: burst length, alignment, ID ordering and error injection. A failing pattern then points to a protocol case instead of a raw waveform. That organisation is what makes pattern work for a neighboring team practical, and it is the part I would own alongside the address map and compliance checklist.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-4What are your low-power optimization methods through synthesis and clocking?
Reported in MTK_聯發科技股份有限公司數位IC設計工程師面試心得 | 面試趣
The 90-second answer
I split it by where the power goes. Dynamic power is alpha * C * V^2 * f, leakage is roughly proportional to transistor width and inversely to threshold voltage. Synthesis attacks alpha and C and picks the right Vt mix. Clocking attacks f and the clock network itself, which is often 30 to 40 percent of dynamic power in a 28 nm to 5 nm SoC block. I would not start with clock gating everywhere. I would start with the power report, find the top cells and nets, and fix those first.
Synthesis: what I actually set
First, library and Vt assignment. High Vt cells leak about 5 to 10x less than low Vt at the same size, but are slower. I let synthesis use low Vt only on the critical path and force high Vt elsewhere through the library setup and scenario constraints in the flow. If timing slack is large, I also allow the tool to swap to high Vt or smaller drive strength. That swap is free leakage reduction.
Second, activity and capacitance. I run synthesis with real switching activity from SAIF or VCD, not the default 0.5 toggle rate. Without it, clock gating insertion and operand isolation are guesses. Then I constrain the netlist with transition, capacitance and fanout limits. Long, high-fanout nets burn C on every toggle. Operand isolation on multipliers and adders, and removal of unused logic, cut alpha directly.
Third, clock gating style. I set the gating to be inferred during synthesis so the tool can merge enables and place integrated clock gating cells close to the flops:
# Synopsys Design Compiler, generic flow
set_max_transition 0.1 [current_design]
set_max_fanout 32 [current_design]
compile_ultra -gate_clock -retime-gate_clock inserts ICGs, -retime can shorten paths and let me lower V or f later. I check the result with report_power and inspect the gated domains in the netlist. If a domain shows many flops gated by different enables, I refactor the RTL enable so synthesis can share one ICG instead of inserting twelve.
Clocking: where the bigger win is
Clock gating stops f for idle flops. Clock tree synthesis then has to drive the gated clock with low skew and low buffer count. I use non-default rules for the clock tree, shielded or double-spaced routes where the clock runs long, and I balance the tree after gating insertion, not before. A gated clock that still toggles a large buffer tree wastes the saving.
For blocks that are active but over-clocked, gating does nothing. There I use clock division or a lower PLL frequency, and DVFS with the power management unit. Dropping V from 0.85 V to 0.75 V at the same f cuts dynamic power by (0.75/0.85)^2, about 22 percent, before any frequency change. That is why voltage scaling beats most synthesis tweaks.
| Technique | Attacks | Typical saving, labelled example | When it fails |
|---|---|---|---|
| ICG clock gating | alpha on clock and flops | Clock power 120 mW to 35 mW at 30 percent activity | Enable glitches, or enables change near the clock edge |
Multi-Vt swap | Leakage | Leakage 80 mW to 25 mW on non-critical logic | Timing fails if low Vt is removed from the critical path |
| Operand isolation | alpha on datapath | Multiplier dynamic 40 mW to 12 mW when idle | Extra logic adds delay if placed on the critical path |
| DVFS, 0.85 V to 0.75 V | V^2 and f | Dynamic 100 mW to about 62 mW at same f | Level shifters and retention flops must be correct at low V |
Failure modes I check before tapeout
Gated clock glitches if the enable is not stable before the clock edge. ICG cells handle this only if the enable meets the setup and hold window in the library, so I keep margin on the enable path and run clock gating checks in STA. Second, clock gating can break test and debug if scan chains or debug flops are gated. I exclude those flops from gating in the flow constraints and use test clock gating cells where needed. Third, aggressive high Vt insertion after place and route can cause hold violations on short paths, because high Vt cells are slower on the clock path too. I re-run hold fixing after any Vt swap.
If the interviewer pushes on numbers, I quote the power report split, not a single total. A design that is 70 percent leakage needs Vt and power gating. A design that is 70 percent clock needs gating and tree work. The technique follows the split.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-5If the clock pin of a flip flop is tied to 1, what is the output?
Reported in First Round Digital Design Interview Questions
The 90-second answer
Assuming a standard positive-edge-triggered D flip-flop, tying CLK to 1 means the output holds whatever it was before. No new rising edge means no new capture, so Q does not follow D and does not toggle. If the flip-flop has never seen a clock edge or a reset, Q is unknown (X in simulation, an arbitrary state in silicon) and stays there.
That answer changes if the cell is level-sensitive. A latch with CLK as enable is transparent while CLK is 1, so Q follows D continuously. Most digital design interviews use "flip-flop" to mean the edge-triggered cell, and I would state that assumption first.
// Checked against IEEE 1364 Verilog semantics
module dff (input logic clk, d, rst_n, output logic q);
always @(posedge clk or negedge rst_n)
if (!rst_n) q <= 1'b0;
else q <= d;
endmodule
// clk = 1'b1 constant: the @(posedge clk) event never fires againWorked trace
Suppose Q = 0 after reset, CLK is tied to 1, and D changes:
| Time | CLK | D | Event | Q |
|---|---|---|---|---|
| t0 | 0 to 1 | 0 | rising edge, captures D | 0 |
| t1 | 1 | 1 | D changes, no edge | 0 |
| t2 | 1 | 0 | D changes, no edge | 0 |
| t3 | 1 | 1 | D changes, no edge | 0 |
The only capture is at t0, the transition that ties the pin high. After that, D is irrelevant. Setup and hold checks still apply around t0, because D must be stable in the window before that edge. If D changes exactly at t0, the cell can go metastable, and the resolution time is set by the process and voltage, not by anything in the RTL.
Edge-triggered flip-flop versus latch
| Cell | CLK = 1 behaviour | Q follows D? |
|---|---|---|
| Positive-edge D flip-flop | No edge, holds last captured value | No |
| Negative-edge D flip-flop | No falling edge, holds last captured value | No |
| D latch (level-sensitive) | Transparent, passes D to Q | Yes, while CLK stays 1 |
| JK or T flip-flop | No edge, no toggle | No |
For a T flip-flop this is the point interviewers often probe. A T flip-flop toggles on an edge when T is 1. With CLK stuck at 1 there is no edge, so there is no toggle, even though T = 1.
Failure modes worth naming
Tying a clock pin to a supply rail in a real netlist is a design error, not a functional choice. The clock tree buffer driving it burns power for no useful edge, clock-tree synthesis and timing tools may treat the pin as a constant and optimise the cell away or flag it as undriven, and scan insertion can fail because the cell is no longer controllable. In a testbench, the same tie-off hides a missing clock: simulation passes with Q frozen at its reset value while the real chip never clocks. That is why I would also check that the clock reaches the pin in gate-level simulation and in silicon debug, rather than trusting the RTL tie-off.
So the short answer is: Q holds its previous value. The useful follow-up is whether the cell is edge-triggered or level-sensitive, and whether it has ever been reset.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-6Derive an AND gate from a mux?
Reported in First Round Digital Design Interview Questions
The 90-second answer
A 2-to-1 mux implements Y = S ? I1 : I0. Set the select to one input, tie the data input selected when that input is high to the other input, and tie the other data input to 0. With S = A, I1 = B, I0 = 0, the output is Y = A ? B : 0, which is A AND B. Swapping A and B works identically.
// Checked against IEEE 1364 Verilog semantics; synthesis will
// optimise this back to an AND2 cell.
module and_from_mux (
input wire a,
input wire b,
output wire y
);
assign y = a ? b : 1'b0; // S=a, I1=b, I0=GND
endmoduleWorked trace, with I0 fixed at 0:
| A (S) | B (I1) | I0 | Y = S ? I1 : I0 | A AND B |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 |
| 0 | 1 | 0 | 0 | 0 |
| 1 | 0 | 0 | 0 | 0 |
| 1 | 1 | 0 | 1 | 1 |
Why the mapping is forced
The mux only passes one of its two data inputs. AND needs output 1 in exactly one input combination, A=1, B=1. Choosing S=A makes the A=0 rows select I0, so I0 must be 0 to give 0 for both A=0 rows regardless of B. The A=1 rows then select I1, so I1 must follow B. Any other assignment either forces a 1 when A is 0 or blocks B when A is 1. The symmetric choice S=B, I1=A, I0=0 satisfies the same constraints.
What changes if the mux is a real circuit
In a standard-cell ASIC flow at MediaTek, nobody builds this. Synthesis maps a & b to a characterised AND2 cell with known delay, slew and leakage. A mux built from transmission gates or from NAND/NOR logic is larger, slower and burns more power for the same function, and the synthesiser will collapse the mux structure back to an AND2 anyway. The exercise is a check that you can read a mux truth table, not a recommended implementation.
| Implementation | Typical cost | When it matters |
|---|---|---|
| AND2 standard cell | 1 cell, characterised tpd | Default choice in a synthesised datapath |
| 2:1 mux, logic style | 2-3 cells plus inverter for S | Only if the mux already exists and the AND is a side effect of a shared structure |
| 2:1 mux, transmission gate | 2 pass transistors plus restorer | Passes a degraded high level, needs a buffer, and leaks through the off device |
Two failure modes come up in follow-ups. First, tying I0 to a floating net instead of GND makes Y float when A=0, which then propagates X in simulation and an indeterminate level in silicon. Second, a transmission-gate mux passes B through an NMOS device when B=1, so the output high sits near VDD - Vtn unless a level restorer or a CMOS pass gate is added. That restorer adds delay and can create a brief contention path during the select transition, which shows up as a glitch on Y if A toggles while B is high. A static AND2 has none of these issues, which is why the mux version stays on the whiteboard.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-7What is MCMM and what does it contain?
Reported in First Round Digital Design Interview Questions
The 90-second answer
MCMM is Multi-Corner Multi-Mode. It is the framework that lets one STA or physical implementation run cover every combination of operating mode and electrical corner, instead of a single nominal corner. A corner fixes process, voltage, temperature and interconnect parasitics. A mode fixes the design intent and the constraints applied to it, for example functional, scan shift, or scan capture. A scenario is one mode paired with one corner and one analysis type, such as setup or hold. The MCMM view is the set of scenarios you actually run and sign off.
For a MediaTek SoC block I would state the assumptions first: which modes exist, which corners are signoff, and whether the flow is flat or hierarchical. Then I would build the views explicitly, because an implicit default view is how a missing corner slips through to tapeout.
What a corner contains
A delay corner in Tempus, PrimeTime or Innovus is not just a name. It binds together:
- Library set: the timing libraries for that process and voltage, for example SS at 0.9 V and FF at 1.1 V for a 5 nm process
- RC tree set: interconnect extraction corner, typically Cworst/Rworst for setup and Cbest/Rbest for hold, plus a nominal set for debug
- Operating conditions on the cells: temperature and voltage that scale the library, for example -40 C, 25 C and 125 C
- Variation model: OCV, AOCV or POCV settings, and whether on-chip variation is applied per path or per stage
A corner that mixes a slow library with best-case RC is useful for finding a specific failure, but it is not a signoff corner unless the flow team has qualified it. That distinction matters in review.
What a mode contains
A constraint mode binds the SDC and the design state:
- Functional: normal clocks, false paths and multicycle paths for datapath logic, clock groups for gated clocks
- Scan shift: scan clocks active, shift registers timed, functional clocks often stopped or constrained as clocks with no launch requirement
- Scan capture: functional clocks active, scan flops treated as functional endpoints, shift clocks stopped
- Test or low power modes where they exist, with their own clock definitions and power state constraints
The same netlist can therefore have completely different timing graphs in different modes. That is the point of the mode axis.
How they combine
# Tempus / Innovus style MCMM setup, simplified
create_library_set -name lib_ss_090 -timing [list ss_0p90.lib]
create_library_set -name lib_ff_110 -timing [list ff_1p10.lib]
create_rc_tree_set -name rc_worst -pre_route_table rcworst.tbl
create_rc_tree_set -name rc_best -pre_route_table rcbest.tbl
create_delay_corner -name dc_ss_worst -library_set lib_ss_090 -rc_tree_set rc_worst
create_delay_corner -name dc_ff_best -library_set lib_ff_110 -rc_tree_set rc_best
create_constraint_mode -name func -sdc func.sdc
create_constraint_mode -name shift -sdc scan_shift.sdc
create_constraint_mode -name capture -sdc scan_capture.sdc
create_analysis_view -name func_ss_worst -constraint_mode func -delay_corner dc_ss_worst -type setup
create_analysis_view -name func_ff_best -constraint_mode func -delay_corner dc_ff_best -type hold
create_analysis_view -name shift_ss_worst -constraint_mode shift -delay_corner dc_ss_worst -type setup
create_analysis_view -name capture_ss_worst -constraint_mode capture -delay_corner dc_ss_worst -type setup
create_scenario -name func_setup_ss -analysis_view func_ss_worst
create_scenario -name func_hold_ff -analysis_view func_ff_best
create_scenario -name shift_setup_ss -analysis_view shift_ss_worst
create_scenario -name capture_setup_ss -analysis_view capture_ss_worstA full matrix of 3 modes by 4 corners gives 12 views, but you do not run all 12 for both setup and hold. You prune to the qualified signoff set and document the pruning.
| Mode | SS, 0.9 V, 125 C, worst RC | FF, 1.1 V, -40 C, best RC | Why it exists |
|---|---|---|---|
| func | setup signoff | hold signoff | normal operation at voltage and temperature extremes |
| scan shift | setup signoff | hold check if qualified | shift path through scan chains at test frequency |
| scan capture | setup signoff | hold check if qualified | capture cycle launches from scan flops into functional logic |
Failure modes I would name
First, a scenario exists but is never reported. The view is created, the scenario is not added to the run list, and the report directory stays empty. I check the scenario list against the signoff checklist, not just the view list.
Second, hold is run only in the setup corner. A path that passes setup at SS worst RC can fail hold at FF best RC because the clock path speeds up more than the data path. That is why setup and hold need separate corners, even in the same mode.
Third, the SDC for a mode is loaded in the wrong view. Scan shift constraints applied to functional mode create false paths that hide real violations. The fix is one SDC per constraint mode, bound at view creation, and a sanity report that counts unconstrained endpoints per scenario before timing is judged.
If asked what I would do with the results, I would compare slack per scenario, not a merged worst slack. A -50 ps violation in capture at SS is a different bug from a -50 ps violation in func at FF, and the debug path, clock tree or scan chain involved, follows from that split.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-8What is the priority of fixing violations?
Reported in First Round Digital Design Interview Questions
The 90-second answer
Priority is set by whether the violation can kill silicon, block foundry signoff, or only hurt yield and reliability. At MediaTek tapeout that order is: LVS and functional mismatch first, then hard DRC, then timing at every corner and mode, then reliability rules such as antenna, electromigration and IR drop, then DFT and soft rules that can be waived with documented justification. Inside timing, hold usually outranks setup for ECO urgency, because setup can sometimes be traded against frequency while hold cannot.
I would state the assumption up front: this is physical signoff for a SoC block at an advanced node, with foundry PDK rules and multi-corner multi-mode STA. A pre-synthesis violation list has a different order, and I would say so if the interviewer meant that stage.
| Class | Example | Signoff effect | Waivable? |
|---|---|---|---|
| LVS | short, open, device mismatch | Chip does not match schematic, no tapeout | No |
| Hard DRC | metal spacing, via enclosure, density | Foundry rejects mask data or yield collapses | No, except foundry-approved OPC exception |
| STA setup | -120 ps at SS, -40 C, worst mode | Fails at target frequency in silicon | No at signoff frequency |
| STA hold | -35 ps at FF, 125 C, best mode | Fails at any frequency, race condition | No |
| Max transition, capacitance | slew 2x limit on long net | Delay model invalid, SI risk | Rarely, with SI signoff |
| Antenna | antenna ratio 850 vs limit 400 | Gate oxide damage during plasma steps | No for diode-less nets |
| EM, IR drop | current density 2.1x limit on VDD rail | Lifetime failure, voltage droop | No for power nets |
| Soft DRC, ERC | filler rule, unused pin tie-off | Yield or test risk, often fixable by script | Yes, with owner and rationale |
How I triage a report
In PrimeTime or Tempus I sort by slack and by net criticality before touching anything:
report_timing -max_paths 20 -path_type full -slack_lesser_than 0 \
-fields {slack startpoint endpoint} -group {setup hold}
report_constraint -all_violators -verboseA worked trace from a hypothetical 5 nm block: 3 LVS shorts on a clock buffer, 47 setup violations worst at -180 ps on a DMA path, 12 hold violations at -22 ps on reset synchronizers, and 200 soft DRC filler warnings. I fix the LVS shorts first, because every STA number after that is suspect. Next I fix hold on the synchronizers, because adding a buffer there can create a new setup violation and the path must pass at the highest frequency the block will ever see. Then setup on the DMA path, where a 180 ps deficit at SS is about 18% of a 1 ns cycle at 1 GHz, so it needs restructuring or a buffer move, not a tweak. The filler warnings go last and are usually closed by a fill script in one run.
Failure modes I watch for
Fixing setup by slowing the clock in the constraint file without updating the mode definition hides the violation and breaks the interface contract with the top level. Fixing hold by inserting buffers without re-running setup creates the classic ECO loop. Waiving DRC because the net is not on a critical path confuses timing criticality with manufacturability, and the foundry check does not care about slack.
If two violations compete for the same ECO window, I pick the one on a clock, reset, or power net first, then the one with the largest negative slack relative to the clock period, then the one that blocks the most downstream paths. That ordering is what I would defend in a signoff review.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-9Which scenario is critical for setup and hold?
Reported in First Round Digital Design Interview Questions
Setup and hold are not two names for the same check. They fail in opposite corners, for opposite reasons, and lowering the clock fixes only one of them.
The 90-second answer
Setup asks: does the data arrive before the capture edge? The critical scenario is the slowest data path against the fastest capture clock. That is maximum clock-to-Q plus maximum combinational delay, at the slow process corner, low voltage, and usually high temperature, with clock skew working against you, meaning the capture clock arrives early relative to the launch clock. If that path misses, the capture flop samples the old value.
Hold asks: does the data stay stable long enough after the capture edge? The critical scenario is the fastest data path against the slowest capture clock. That is minimum clock-to-Q plus minimum combinational delay, at the fast process corner, high voltage, and usually low temperature, with skew working the other way, meaning the capture clock arrives late. If that path is too fast, the capture flop samples the new value instead of the one it should have held.
Because the corners are opposite, a path that is critical for setup is rarely critical for hold. STA therefore runs them as separate analyses with separate derates. In PrimeTime terms, setup uses max delay and min skew, hold uses min delay and max skew, and on-chip variation derates are applied on top.
# SDC style intent, checked in STA not in synthesis
create_clock -name clk -period 0.5 [get_ports clk] # 2 GHz, 500 ps
set_clock_uncertainty -setup 0.05 [get_clocks clk]
set_clock_uncertainty -hold 0.02 [get_clocks clk]
# No set_false_path or set_multicycle_path here: those remove or relax
# a check, they do not make a real path faster.The equations I write on the whiteboard:
Setup slack = (Tclk + skew_capture - skew_launch - tsetup) - (tCQ_max + tcomb_max)
Hold slack = (tCQ_min + tcomb_min) - (thold + skew_capture - skew_launch)
Skew is capture minus launch. Positive skew helps setup and hurts hold. Negative skew does the reverse. That single sign flip is why skew alone can create a hold violation in a design that passes setup cleanly.
Worked trace, hypothetical but labelled as such
Take a 2 GHz block, Tclk = 500 ps, tsetup = 30 ps, thold = 20 ps, skew = +20 ps (capture late).
| Check | Corner used | Arrival / required | Slack | Result |
|---|---|---|---|---|
| Setup | SS, 0.72 V, 125 C, max delay | tCQ 80 ps + tcomb 380 ps = 460 ps arrival. Required: 500 + 20 - 30 = 490 ps | +30 ps | Pass, but this is the limiting setup path |
| Hold | FF, 0.88 V, -40 C, min delay | tCQ 35 ps + tcomb 55 ps = 90 ps arrival. Required: 20 + 20 = 40 ps | +50 ps | Pass |
| Hold, skew worsened | Same FF corner, skew now +80 ps from OCV | Arrival still 90 ps. Required: 20 + 80 = 100 ps | -10 ps | Fail, at any frequency |
That last row is the interview point. A hold failure does not go away when you drop from 2 GHz to 1 GHz, because neither side of the hold equation contains Tclk. You fix it by slowing the fast path, adding delay cells or buffers on the data path, rebalancing skew, or fixing the clock tree. Adding delay to a hold-critical path costs area and power and can create a setup problem elsewhere, so it is placed after the fast corner is identified, not sprayed across the netlist.
Two failure modes worth naming. First, temperature inversion at low voltage: at 0.72 V a path can get slower at -40 C than at 125 C, so checking only hot slow for setup misses the real worst case. Second, a hold violation hidden by a false path or multicycle exception in the constraint file. If the exception is wrong, silicon fails in a way simulation with ideal clocks never shows, because the flop still samples correctly in RTL simulation. That is why I ask to see the hold report with exceptions listed, not just the headline slack number.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-10Where do you check setup and hold for an MCP of 5 cycles?
Reported in First Round Digital Design Interview Questions
The 90-second answer
Both checks are at the same place: the D pin of the capture flop. What changes is which capture edge PrimeTime uses. For a 5-cycle MCP, setup is checked against the capture edge 5 cycles after launch, and hold is checked against the capture edge 4 cycles after launch, by default.
Assume launch flop A clocks out at cycle 0, capture flop B is enabled every 5 cycles, clock period T = 1 ns, no clock skew for the arithmetic. Default single-cycle timing would pair launch 0 with capture 1 for setup and capture 0 for hold. An MCP of 5 moves only the setup pairing.
| Check | Launch edge | Capture edge used | Question asked |
|---|---|---|---|
| Setup, MCP 5 | 0 | 5 | Does the slowest data arrive before cycle 5 minus setup time? |
| Hold, MCP 5 default | 0 | 4 | Does the fastest data arrive after cycle 4 plus hold time? |
| Setup, default | 0 | 1 | Arrive before cycle 1? |
| Hold, default | 0 | 0 | Arrive after cycle 0? |
That hold pairing is the part candidates miss. Data launched at 0 is meant to be captured at 5, but the previous transaction, launched at -1, is captured at 4. If the new data races through in 3.5 ns, it is sitting at B's D before cycle 4 and corrupts the previous transaction. So hold must be guarded against the edge at 4, not at 0 and not at 5. PrimeTime encodes this as: when you set only the setup MCP, the hold MCP defaults to setup minus 1.
In Tcl, for a named launch and capture flop:
# PrimeTime / Design Compiler, checked against PrimeTime 2023.x syntax
set launch [get_pins u_pipe/launch_reg/Q]
set capture [get_pins u_pipe/capture_reg/D]
set_multicycle_path 5 -setup -from $launch -to $capture
set_multicycle_path 4 -hold -from $launch -to $captureThe second line is explicit but redundant under the default. I write it in signoff scripts because a later edit that changes the setup value to 3 without touching hold would otherwise silently leave hold at 4, which is then wrong. If a flow uses -move or a different default, I verify with report_timing -mcp and check the reported launch and capture clock edges rather than trusting the script.
Worked numbers, hypothetical but labelled as such. Max data delay 4.6 ns, min data delay 3.2 ns, setup time 0.1 ns, hold time 0.05 ns, T = 1 ns, zero skew.
Setup slack = 5 x 1.0 - 0.1 - 4.6 = 0.3 ns. Passes, where the default single-cycle check would give 1.0 - 0.1 - 4.6 = -3.7 ns and fail.
Hold slack = 3.2 - 4 x 1.0 + 0.05 = -0.75 ns. Fails. The fastest path is too fast for a 5-cycle MCP even though it would pass a default hold check, 3.2 - 0 + 0.05 = 3.25 ns. That failure is real, not a tool artefact. The fix is on the design side, for example a delay buffer on the fast corner or restructuring so the min delay exceeds 3.95 ns, not deleting the hold MCP.
Two failure modes I watch for. First, applying the MCP to the wrong endpoints, such as from the clock pin or to every flop in a cone, which also relaxes paths that are genuinely single-cycle and hides violations. The -from launch Q and -to capture D pairing above avoids that. Second, constraining setup but forgetting that hold now needs 4 cycles of min delay, then discovering hold violations only in the min corner after setup has been signed off in the max corner. I run setup in the max corner and hold in the min corner under MMMC, and I confirm both with report_timing -max and -min on the same path.
If the intent were instead that the path is never used, that is a false path, not an MCP. An MCP still requires the data to be stable for 5 cycles, so it is the right constraint for a divider enable, a slow control register, or a datapath sampled every fifth cycle.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-11What is logical synthesis and how is it different from physical synthesis?
Reported in First Round Digital Design Interview Questions
The 90-second answer
Logical synthesis converts synthesizable RTL into a gate-level netlist that meets timing, area and power constraints using cell libraries, without knowing where cells will sit on the die. Physical synthesis does the same optimisation with placement, routing and parasitics in the loop, so the netlist it hands to place-and-route already accounts for wire delay and congestion.
In a large SoC flow that distinction matters because a block can pass logical synthesis at 800 MHz in a liberty-only model and fail after placement when interconnect adds a large share of the path delay on a congested bus. Physical synthesis catches that earlier and fixes it by resizing, buffering or restructuring while the floorplan is still movable.
Logical synthesis: what it optimises against
Input is RTL in Verilog or VHDL, a timing constraint file (SDC), and liberty timing libraries (.lib) for the standard cells in the target technology. The tool elaborates the RTL, builds a technology-independent model, maps it to standard cells, then optimises for timing, area and power using the liberty arc delays and slew tables.
It estimates interconnect with a wireload model, a statistical average based on fanout and design size. It has no coordinates, no congestion map and no extracted RC. So a long route across a macro block is treated the same as a short local route with the same fanout.
Typical logical synthesis script, Cadence Genus style:
# Logical synthesis: no floorplan, no LEF/DEF
set_attribute lib_search_path {libs}
read_hdl rtl/top.v
elaborate
read_sdc constraints/top.sdc
synthesize -top top -to synth
write_hdl -mapped out/top_gate.vOutput is a gate netlist plus updated constraints. That netlist goes to physical synthesis or directly to place-and-route if the flow is split.
Physical synthesis: what changes
Physical synthesis adds a floorplan, technology LEF files for cell and macro geometry, and a placement engine. The tool places cells, estimates or extracts parasitics from the actual coordinates, then re-optimises timing with real wire RC in the timing graph. It also optimises for congestion, placement density and routing resources, which logical synthesis cannot see.
Cadence Genus with Innovus, or Synopsys Design Compiler with IC Compiler II, are the usual pairings. The flow looks like this:
Physical synthesis can move a cell to shorten a critical path, insert a buffer close to a high-fanout load, or swap a cell for a stronger driver after seeing the extracted load capacitance. Logical synthesis would have to guess at that load.
Worked trace: same path, two answers
Consider a 16-bit adder feeding a register, constrained to 1.25 ns (800 MHz). The figures below are hypothetical and for illustration only.
| Stage | Cell delay | Wire delay | Total | Slack vs 1.25 ns |
|---|---|---|---|---|
| Logical synthesis, wireload model | 0.92 ns | 0.18 ns | 1.10 ns | +0.15 ns, passes |
| After placement, extracted RC | 0.92 ns | 0.41 ns | 1.33 ns | -0.08 ns, fails |
| Physical synthesis fix: resize + buffer near load | 0.88 ns | 0.26 ns | 1.14 ns | +0.11 ns, passes |
The cell delay barely moved. The wire delay more than doubled because the adder sat far from the register across a macro. Logical synthesis reported a pass. Physical synthesis found the failure and fixed it by restructuring the placement and adding a buffer, at a small area cost.
Comparison
| Aspect | Logical synthesis | Physical synthesis |
|---|---|---|
| Placement awareness | None | Full, with floorplan and LEF |
| Interconnect model | Wireload estimate | Extracted or estimated RC from coordinates |
| Primary goals | Timing, area, power from liberty | Timing with parasitics, congestion, routability |
| Typical runtime | Minutes to a few hours per block | Hours, scales with placement iterations |
| Output | Gate netlist | Gate netlist plus placement for place-and-route |
Failure modes and when each is used
Logical synthesis fails silently on wire-dominated paths, high-fanout nets and congested regions. The symptom is a design that meets timing in the synthesis report and misses in post-route STA. Detection is a large gap between pre-placement and post-placement timing, or a correlation report showing wire delay as a large share of the critical path.
Physical synthesis struggles when the floorplan is poor. If macros are placed badly or the core is highly utilised, the optimiser spends its effort fighting congestion and timing degrades for everything. Detection is high overflow in the congestion map and repeated placement iterations with little slack improvement.
Small, low-frequency blocks, or blocks delivered as hard macros with fixed timing models, often stop at logical synthesis. Large SoC blocks with tight timing, long interconnect or macro-heavy floorplans need physical synthesis. Most top-level SoC synthesis is physical synthesis, with logical synthesis used for early area and timing exploration before a floorplan exists.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-12There is a macro in DEF; if it is removed in the next RTL iteration, can we use that DEF?
Reported in First Round Digital Design Interview Questions
The 90-second answer
No, not as-is for implementation or signoff. A DEF is not a standalone floorplan. It is a placement and routing database built against a specific netlist, a specific set of macro LEFs, and a specific top-level pin list. If a macro instance disappears from the next RTL iteration, the DEF and the new netlist no longer describe the same design.
You can reuse the DEF as a starting point for an ECO, after you delete that macro from the DEF, update the netlist and pin list, and re-run placement, clock tree synthesis, routing and DRC on the affected region. Reusing it untouched will fail netlist matching in Innovus or ICC2, and even if you force it through, you will be placing and routing a block that does not exist in silicon.
Why it breaks, section by section
A macro in DEF appears in more than one place. Removing the instance in RTL touches all of them:
| DEF section | What goes stale when the macro is removed |
|---|---|
COMPONENTS | The placed instance U_SRAM_1024x32 has no counterpart in the new netlist. Tools report it as an orphan or a netlist mismatch on defIn / readDef. |
PINS and NETS | Nets that only connected to that macro, and any top-level pins that fed it, are now dangling or missing. Routing them is wasted work and can create shorts to a phantom block. |
BLOCKAGES, REGIONS, GROUPS | Keepout and halo around the macro, and any region or group that included it, still reserve area. Density, congestion and macro placement for the replacement logic will be wrong. |
FILLS, SCANCHAINS, SPECIALNETS | Fill shapes, scan stitching through the macro, and power or clock special nets routed into its pins no longer match the new connectivity. |
The failure is not cosmetic. If the macro was a SRAM, PLL or a hard IP, its removal also changes the power grid assumptions, the clocking, the test access, and the pin locations of everything around it. A DEF that still routes power rings and clock trunks into a deleted PLL will pass a casual visual check and fail LVS, DRC and IR drop later, which is the expensive place to find it.
What a DEF entry for that macro looks like
COMPONENTS 2 ;
- U_SRAM_1024x32 SRAM_1024x32 + PLACED ( 1200 2400 ) N
+ HALO 10 10 10 10 + ROUTEHALO 5 5 5 5 ;
- U_CORE core + PLACED ( 5000 2400 ) N ;
END COMPONENTSThat one COMPONENTS line drags the NETS entries for its data, clock and power pins with it. Deleting the line without updating the nets leaves the router with connections to a component that the netlist does not have.
The ECO path that does reuse the DEF
In practice the flow is: freeze the old DEF under version control, load it with the new netlist, run checkDesign or the equivalent netlist comparison, and confirm the only mismatches are the removed instance and its exclusive nets. Then remove the macro and its blockages, re-place whatever replaces it, and re-route at least the nets in that region. If the replacement is standard-cell logic, expect the local congestion and timing to change enough that a full re-route of the affected partition is cheaper than patching individual nets.
# Innovus, checked against Cadence Innovus 23.x flow conventions
setMultiCpuUsage -localCpu 8
defIn floorplan_v12.def
readNetlist netlist_v13.v
checkDesign
# Fix orphans and dangling nets before placeDesign and routeDesignWhen reuse is defensible
Only in a narrow case: the macro was already unused, tied off, and removed without changing any top-level pin, any neighbouring macro placement, or any power or clock trunk. Then the ECO is a deletion plus a local re-route, and the rest of the floorplan, the IO placement and the power grid can stay. Even there, the DEF you sign off is the ECO'd DEF, not the original file.
If the macro is replaced by new logic, if its pins were top-level IO, or if it anchored a clock or power structure, treat the old DEF as a reference for IO and macro placement only. Regenerate placement and routing from the new netlist. Saying "the DEF is reusable" in an interview usually means you understand that distinction, and that you would never tape out from a DEF whose netlist does not match.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-13What are the optimization techniques in logical synthesis?
Reported in First Round Digital Design Interview Questions
The 90-second answer
Logical synthesis takes synthesizable RTL and produces a gate-level netlist in the target standard-cell library that meets area, timing and power constraints. Optimization happens in three places: Boolean optimization on the logic function, technology mapping onto cells, and sequential optimization on the state machine. I would name them in that order, because that is the order the tools apply them.
Boolean optimization reduces the function before any cell is chosen. Constant propagation folds a & 1'b0 to 0 and a | 1'b1 to 1. Common subexpression elimination shares a repeated term instead of building it twice. Algebraic rewriting and multi-level optimization, implemented in tools like ABC with AIG rewriting and in Design Compiler and Genus with their proprietary engines, find equivalent forms with fewer literals and levels. Don't cares from unreachable states or mutually exclusive inputs let the optimizer pick the cheaper cover, which is where most of the area saving comes from in control logic.
Technology mapping then covers the optimized network with library cells. This is not a one-to-one gate replacement. The mapper chooses between, for example, a single AOI22 cell and a NAND plus NOR combination, trading area against delay and leakage. Drive strength and threshold voltage selection happen here in logical synthesis in most flows, with the final sizing and buffering left to physical synthesis after placement.
Sequential optimization covers retiming, which moves registers across combinational logic to balance path delays, and sequential don't cares, which exploit states the machine can never reach. Resource sharing is the other major technique: one multiplier shared across mutually exclusive operations instead of two dedicated multipliers.
# Design Compiler style flow, checked against DC 2023.12 documentation
read_verilog rtl/top.v
link_library $LIB/db/ssg_0p75v_125c.db
set_wire_load_model -name tsmcN6_wl10 -library $LIB
compile_ultra -area_high_fanout -timing_high_effort -retime
# -retime enables register movement; verify DFT and CDC constraints after itWorked example: why the order matters
Consider F = (A & B) | (A & C) | (B & C), the majority function. Boolean optimization first factors it to F = (A & B) | (C & (A | B)). The factored form has 5 literals instead of 6. Using hypothetical library figures for illustration only, say a 2-input gate is 0.9 um2 and a 3-input NAND is 1.2 um2. The unfactored form maps as three NAND2 gates plus one NAND3 gate, which is 3 x 0.9 + 1.2 = 3.9 um2 in 2 levels. The factored form maps as AND2, OR2, AND2 and OR2, which is 4 x 0.9 = 3.6 um2, also in 2 levels. The saving here is modest, 0.3 um2, but the mapper exploits the same factoring on every cone, and on larger cones the reduction in node count is what drives area and leakage down.
| Technique | What it changes | Primary cost it attacks | Main risk |
|---|---|---|---|
| Constant propagation and dead code removal | Removes logic feeding unused or constant outputs | Area, leakage | None if LEC passes; masks an RTL bug if the output was meant to be used |
| Multi-level Boolean optimization (ABC, Espresso style) | Rewrites the AIG to fewer nodes and levels | Area, delay | Longer runtime; can create high fanout nodes that hurt placement |
| Technology mapping | Selects cell types, drive strengths, Vt options | Area, delay, leakage | Picking low Vt or high drive cells everywhere fixes timing and blows leakage |
| Resource sharing | Merges mutually exclusive datapath units behind muxes | Area | Adds mux delay on the shared path and can break timing that was previously met |
| Retiming | Moves flip-flops across combinational logic | Delay, clock period | Breaks scan ordering assumptions and can move a register across a CDC boundary |
Failure modes I check for
Don't care exploitation is the classic trap. If the optimizer assumes a state is unreachable but reset sequencing or a fault makes it reachable, the output can be X or wrong in silicon while simulation of the RTL looks clean. I check that with formal equivalence (LEC) between RTL and netlist, plus X-propagation checks on the don't care cones.
Retiming is the second trap. It can improve the clock period on paper and still fail DFT because the scan chain order no longer matches the retimed positions, or it can move a synchronizer register. In a MediaTek SoC flow I would keep retiming off for CDC and DFT-critical blocks, rather than trying to carve exceptions out of a retiming run, and re-run scan stitching and CDC checks after any run that enables it. A false path constraint does not stop retiming from moving a register, so it is not a substitute for disabling retiming on that hierarchy.
Resource sharing fails differently. The shared multiplier saves area only if the operations are truly mutually exclusive in all modes, including test and debug modes. If a later feature makes them concurrent, the muxed design fails functionally. That is a specification risk, not a tool risk, and it shows up as a mismatch between the synthesis constraints and the actual use cases.
If asked what I would not use, I would say aggressive retiming and sharing on a timing-critical, DFT-critical block by default. The area saving is real, but the verification cost usually exceeds it unless the block is area bound and the modes are proven exclusive.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-14A path is critical in setup and hold. Why?
Reported in First Round Digital Design Interview Questions
The 90-second answer
A path is critical for setup when its maximum delay gives the smallest slack before the capture edge. It is critical for hold when its minimum delay gives the smallest slack after the capture edge. Same wires, opposite corners, opposite delay.
Setup, data launched at edge 0 must be stable one period later:
slack_setup = T + t_skew - t_cq_max - t_comb_max - t_setup
Hold, new data must not reach the capture flop before the previous cycle is safely captured:
slack_hold = t_cq_min + t_comb_min - t_hold - t_skew
where t_skew = t_capture_clock - t_launch_clock. Skew helps setup when positive and hurts hold when positive, which is why fixing one can break the other.
Worked example, hypothetical 1 GHz block, T = 1000 ps, t_setup = 50 ps, t_hold = 20 ps, t_skew = +30 ps (capture clock 30 ps late):
| Corner | t_cq | t_comb | Slack |
|---|---|---|---|
| Slow, low V, high T, setup worst | 80 ps max | 820 ps max | 1000 + 30 - 80 - 820 - 50 = 80 ps setup |
| Fast, high V, low T, hold worst | 40 ps min | 90 ps min | 40 + 90 - 20 - 30 = 80 ps hold |
| Fast, short logic, hold worst | 40 ps min | 60 ps min | 40 + 60 - 20 - 30 = 50 ps hold |
The first row makes the path the setup limiter in the slow corner. The second row makes the same path the hold limiter in the fast corner. The tool is not claiming one delay is both too large and too small. It reports minimum slack in the max-delay report and minimum slack in the min-delay report.
Choosing the fix
Buffering or restructuring for setup, delay insertion for hold, and skew rebalancing are not interchangeable.
| Fix | Use when | Cost |
|---|---|---|
| Restructure logic, upsize gates, reduce levels | Setup critical and logic depth or a large gate dominates t_comb_max | Area, power, possible hold improvement or worsening depending on new min delay |
| Add buffers or delay cells on data path | Hold critical and t_comb_min is small, often a short path or a fast corner | Adds setup delay, so recheck setup in the slow corner |
| Rebalance clock skew | Skew is large and many paths share the same clock pair, and setup and hold have opposite margins | Moves slack between setup and hold for all those paths, can create new critical paths |
I would not add delay cells for a setup problem or upsize for a hold problem. Upsizing usually speeds the path and makes hold worse. Delay cells slow it and make setup worse. Skew rebalancing is the only fix that trades one against the other without changing data delay, so I use it when the clock network, not the logic, is the cause.
Follow-ups
With on-chip variation, launch clock, capture clock, and data path are derated independently. A path safe under a global derate can become critical when the capture clock is sped up while the data path is slowed in the same scenario. For multicycle paths, setup gets the longer budget but hold is still checked at one cycle, so hold on a multicycle path is fixed with delay, not with an exception. At low voltage, temperature inversion can move the setup worst corner from cold to hot, so I check both temperature corners rather than assuming slow means cold.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-15How do we select scenarios for DMSA?
Reported in First Round Digital Design Interview Questions
The 90-second answer
I do not select DMSA scenarios by enumerating every corner and mode. I start from the signoff MCMM set, add the statistical variation DMSA is meant to model, then keep only the combinations that can change the result: a different path becomes critical, setup and hold swap, or leakage or SRAM margin moves outside budget. A pilot run decides that. If a scenario never puts a new path near critical in the pilot, it does not get a full Monte Carlo run.
For a block such as a CPU cluster or modem datapath, the sequence is: fix the deterministic base, declare global and local variation separately, run a small pilot to rank paths by sensitivity, build the full scenario list from the paths that actually move, and check that list against deterministic STA worst paths and, for reused IP, against silicon data.
Building the base
The deterministic base comes from MCMM. Process corners cover slow and fast devices, voltage covers low for setup and high for hold and leakage, temperature covers hot for setup and leakage and cold for hold and SRAM behaviour, and modes cover reset, idle, active and test as relevant to the block. DMSA inherits that base. It does not invent new corners.
The statistical layer is separate. Global variation shifts devices on a die together, for example threshold voltage and channel length. Local mismatch shifts devices independently within the die. That distinction matters because global variation moves most logic paths together, while local mismatch dominates SRAM cells, sense amplifiers and differential pairs. Conflating the two sigmas either over-constrains SRAM or under-constrains logic.
| Scenario class | Deterministic setting | Statistical setting | Decision it informs |
|---|---|---|---|
| Setup, slow die | Slow process, low voltage, hot | Global variation at the agreed sigma | Worst setup slack on logic |
| Hold, fast die | Fast process, high voltage, cold | Global variation, plus clock skew sensitivity | Worst hold slack |
| Mismatch | Nominal process and voltage | Local mismatch enabled | SRAM margin, sense amplifier offset |
| Leakage | Fast process, high voltage, hot | Global variation toward low threshold voltage | Leakage power and retention |
I would not add an ageing scenario unless the product has a lifetime requirement that shifts threshold voltage over use. Where that requirement exists, I fold the shift into the setup scenario as an offset and state the assumed lifetime and temperature, rather than adding a scenario by default.
Pruning with a pilot
The pilot is the part candidates often skip. Run a small sample, for example 100 samples in this worked example, on the candidate combinations. For each path, record delay sigma and how often the path appears among the worst samples. Keep a scenario only if it produces a path that deterministic STA did not flag, or if it moves a flagged path by more than the margin the team is trying to protect.
Worked example, with hypothetical figures: 4 modes times 6 corners gives 24 candidate combinations. At 1,000 samples each that is 24,000 simulations. The pilot shows 2 modes contain almost all near-critical paths, and 3 corner classes cover setup, hold and leakage. The full run becomes 6 scenarios at 1,000 samples, or 6,000 simulations. The saved effort goes into more samples on the scenarios that produce violations. That trade is deliberate: 1,000 samples gives a rough view of the tail, not a precise 3 sigma quantile, so I report the observed failure rate and the quantile together and do not present a single sigma number as exact.
| Step | Candidate count | Kept | Reason |
|---|---|---|---|
| MCMM combinations | 24 | 24 | Starting point only |
| After pilot, by mode | 24 | 12 | Two modes have no near-critical paths |
| After pilot, by corner class | 12 | 6 | Setup, hold, mismatch and leakage cover the worst paths |
| After overlap check | 6 | 5 | Two scenarios return the same top paths, so one is merged |
The overlap check matters. If two scenarios return largely the same top path list, keeping both adds runtime without adding information. I compare the lists from the pilot and merge duplicates.
Failure modes I check
Correlation error is the first. If the foundry correlation model for the node is wrong, or if global and local variation are given the same sigma, the mismatch scenario will be mis-sized. I check the model against foundry data for the specific node and against measured data from the previous generation where available.
The second is a setup-only DMSA. Hold failures driven by clock skew under variation are then found in silicon, because deterministic hold analysis uses a single skew value. Keeping the fast, high voltage, cold scenario in the list prevents that blind spot.
The third is reporting a pass with no cause. Per scenario I report the number of paths violating at the agreed quantile, the worst slack, and which variation parameter drove it. That tells the design team whether to fix the path, revisit the scenario, or accept the risk.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-16MCP for setup is with respect to which clock, and MCP for hold is with respect to which clock?
Reported in First Round Digital Design Interview Questions
The 90-second answer
Setup MCP is checked with respect to the destination (capture) clock. Hold MCP is checked with respect to the source (launch) clock.
That asymmetry is the whole point of the question. A multicycle path does not move both edges in the same direction. Setup gets extra time to arrive, so its capture edge moves later on the destination clock. Hold gets extra time to not arrive, so its capture edge moves earlier, and that earlier edge is referenced to the launch clock.
Why setup uses the destination clock
Take a path launched by a source flop and captured by a destination flop, with set_multicycle_path 5 -setup. The data launched at source edge 0 is allowed to be captured at destination edge 5, not edge 1. PrimeTime therefore computes setup slack as:
setup_slack = (capture_edge_destination + 4 * T_dest) - (launch_edge_source + clk_to_q + comb_delay + setup_time)The 4 * T_dest term is the moveout. It is built from the destination clock period, because the destination flop is the one that waits through those extra cycles before it samples. If source and destination clocks have different periods, the destination period is what buys the extra time.
Why hold uses the source clock
Hold is the opposite failure. The destination flop must not see new data too early after its previous capture edge. For a multicycle path, that previous capture edge is effectively moved earlier by M - 1 cycles, and the movein is calculated in source clock periods:
hold_slack = (launch_edge_source + clk_to_q + comb_delay) - (capture_edge_destination - 4 * T_source + hold_time)Intuitively, the data launched at edge 0 must stay stable until the destination flop has finished sampling the previous data. That previous sampling moment is anchored to when the source launched, so the source clock sets how early the new data is allowed to arrive. Using the destination clock here would give the wrong hold budget when the two clocks differ in period or phase, and it is how hold violations slip through on multicycle paths that look clean on setup.
Worked trace, MCP = 5, T = 1 ns for both clocks
| Check | Launch edge | Capture edge used | Budget added |
|---|---|---|---|
| Setup | source edge 0 at 0 ns | destination edge 5 at 5 ns | +4 ns from destination clock |
| Hold | source edge 0 at 0 ns | destination edge 1 moved to -4 ns | -4 ns from source clock |
Setup slack therefore has roughly 5 ns of period to fit clk_to_q + comb + setup. Hold slack has to keep the earliest arrival after -4 ns plus the destination hold time. If the combinational delay is very short, hold fails even though setup has huge slack. That is the classic multicycle trap.
How I write it in SDC
# MCP 5: data captured 5 destination cycles after launch
set_multicycle_path 5 -setup -from [get_cells src_reg] -to [get_cells dst_reg]
# Hold must be set explicitly to 4, referenced to the source clock
set_multicycle_path 4 -hold -from [get_cells src_reg] -to [get_cells dst_reg]If I only set the -setup value, the tool defaults the hold movein to setup - 1, which is usually what I want, but I set both explicitly on a reported MediaTek-style signoff netlist so the intent survives a clock change or a constraint review. I also check that the path is genuinely multicycle, meaning the destination flop really samples every 5th cycle, and not a false path in disguise. A false path removes both checks. An MCP keeps both, just with moved edges.
Failure modes I watch for
Applying the MCP to the wrong clock domain, for example constraining a path between a 1 GHz source and a 500 MHz destination using only the source period for setup, underestimates the setup budget by a factor of two. Forgetting the hold MCP entirely leaves the hold check at the default single cycle position, which reports false hold violations that engineers then "fix" by adding buffers, wasting area and power. The reverse error, setting hold MCP equal to setup MCP instead of setup minus one, can hide a real hold violation because the destination flop samples the previous data one cycle later than assumed.
So the one line to remember: setup moves out on the destination clock, hold moves in on the source clock.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-17What are the corners you worked on? List them and explain why?
Reported in First Round Digital Design Interview Questions
The 90-second answer
I sign off setup and hold separately, because they fail at opposite ends of PVT. For setup I run slow corners: SS process, low voltage, and both temperature extremes. For hold I run fast corners: FF process, high voltage, and both extremes again. TT at nominal is for debug and correlation, not signoff.
The voltages and temperatures below are an illustrative example for one block, not a foundry signoff specification. The actual values come from the PDK and the foundry signoff guide for that library.
| Corner | Process / Voltage / Temp | Check | Why it exists |
|---|---|---|---|
SS_0.90V_125C | SS, 0.90 V, 125 C | Setup | Slow cell and wire delay for most libraries. Usually the main setup corner. |
SS_0.90V_m40C | SS, 0.90 V, -40 C | Setup | Checks whether this library shows temperature inversion at low voltage. |
FF_1.10V_m40C | FF, 1.10 V, -40 C | Hold | Fast transistors and fast wires. Shortest paths shrink the most here for many stacks. |
FF_1.10V_125C | FF, 1.10 V, 125 C | Hold | Checks the opposite temperature end, where wire and device behaviour can differ. |
TT_1.00V_25C | TT, 1.00 V, 25 C | Debug, correlation | Nominal reference. I compare slack here against silicon to check the model. |
SS_0.75V_125C | SS, 0.75 V, 125 C | Low-voltage mode setup | SRAM and low-power mode margin at the lowest operating voltage, if the block has such a mode. |
Why both temperature ends for both checks
Delay does not always rise monotonically with temperature. For some cell types in some libraries, at low voltage, delay can fall as temperature rises. That behaviour is library and voltage dependent, not a general rule at 0.90 V. I therefore do not assume hot is worst for setup or cold is worst for hold. I run both ends until the foundry data for the specific library shows one end bounds the other for the paths in question.
In the worked example below, hot SS is the limiter for this path. A different path, or a different cell type in the same design, can be limited at cold. Running only one end would miss that path.
Within a corner: OCV and derates
A corner alone assumes every gate on a path is slow together. Real silicon has random variation gate to gate. So inside each corner I apply on-chip variation derates, path based where the tool supports it. The percentages are flow specific. In one flow I used a 5% cell derate for setup and the opposite direction for hold, plus a separate interconnect derate. With POCV or AOCV the derate becomes sigma based instead of a flat percentage, which penalises long and short paths differently.
Worked trace, hypothetical figures for illustration, clock period 2.00 ns:
| Corner | Path delay | Clock period | Slack |
|---|---|---|---|
| TT 1.00 V 25 C | 1.82 ns | 2.00 ns | +180 ps |
| SS 0.90 V -40 C | 2.31 ns | 2.00 ns | -310 ps |
| SS 0.90 V 125 C | 2.38 ns | 2.00 ns | -380 ps |
TT slack looks comfortable. Hot SS is 70 ps worse than cold SS on this path, so hot is the limiter here. The cold corner still has to be run, because another path in the same block can invert that ordering.
How this is set up in the tool
# PrimeTime / Tempus style MMMC setup, Tcl
create_corner -name SS_090V_125C -libsets SS_lib -rc_tree RCworst
create_corner -name FF_110V_m40C -libsets FF_lib -rc_tree RCbest
create_scenario -name setup_SS -flow setup -corner SS_090V_125C
create_scenario -name hold_FF -flow hold -corner FF_110V_m40C
set_global_ocv_scenario -scenario setup_SS -ocv_table OCV_setupWhat I would say if pushed on cost
Running six corners instead of two multiplies STA runtime, roughly 3x on that block in our flow. I cut that by running the full set on the top timing paths first, then the full netlist only for the corners that actually bound the design. I never cut a temperature extreme to save runtime. That is the corner that finds the failure you did not model.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-18In the previous run there were 5000 violations and in the next run there are no violations without ECO; what are the reasons?
Reported in First Round Digital Design Interview Questions
The 90-second answer
If the netlist did not change and no ECO was applied, 5,000 violations do not fix themselves. Something around the run changed: the constraints, the corner or mode, the libraries or parasitics, the design stage, or what the tool was asked to report. My first job is to prove which one, before anyone claims timing closure.
I would diff four things between the two runs: the SDC and timing exceptions, the netlist and DEF checksums, the library and parasitic files with their corner and OCV settings, and the report command itself. Then I would check check_timing and the clock report in both runs. A run that reports zero violations but also reports zero constrained paths, or thousands of unconstrained paths, has not closed timing. It has stopped checking.
What usually causes the drop
| Cause | How it hides violations | What I check |
|---|---|---|
| SDC changed or not loaded | A new set_false_path, set_multicycle_path, set_clock_groups, or case_analysis removes paths from the report. A missing create_clock leaves endpoints unconstrained. | Diff SDC, count exceptions, report_clock, check_timing -verbose |
| Different corner, mode, or stage | Setup at one corner, hold at another, or pre-CTS data reported after CTS. Clock uncertainty, latency, and OCV derate differ by stage. | Corner and mode names in the log, report_timing_summary, stage in the report header |
| Library, voltage, temperature, or parasitics changed | A different .db, CCS model, supply voltage, or extracted RC changes every path delay. Stale parasitics from a previous DEF are a classic. | Library and parasitic file names and timestamps, derate and OCV settings, voltage and temperature |
| Netlist actually changed upstream | Synthesis was rerun, a different seed or tool version was used, or RTL changed. That is not an ECO in place and route, but the design is not the same. | Netlist checksum, synthesis log, RTL version, tool version |
| Reporting changed | report_timing with a slack threshold, -max_paths, or a filter reports only the worst paths. Violations below the threshold vanish from the count. | Exact report command, WNS and TNS, total path count, not just the violation count |
| Paths became uncheckable | Combinational loops, latches, missing clocks, or set_disable_timing on a macro can make paths disappear from STA. | check_timing warnings, loop and latch reports, disabled timing arcs |
A concrete example I have seen: the first run used the full SDC and reported 5,000 setup violations at the worst corner. The second run loaded an SDC where a clock group exception had been added for a debug clock, and the same exception also excluded the main clock domain because the clocks were listed incorrectly. The violation count went to zero. The unconstrained path count went up by roughly the same amount. That is a constraint bug, not a design fix.
# Example of an exception that can wipe out a domain if clocks are wrong
# Check what clocks actually exist before trusting the exception
report_clock
check_timing -verbose
# Suspicious pattern: broad false path between clock groups
set_clock_groups -name dbg -include {clk_dbg} -exclude {clk_main}
# If clk_main was never created, clk_main paths are unconstrainedHow I would prove it in the interview follow-up
I would put the two runs side by side on numbers that cannot be hidden by a report filter:
| Metric | Previous run | Next run | Interpretation |
|---|---|---|---|
| WNS / TNS for setup | -0.42 ns / -310 ns | +0.08 ns / 0 ns | Real improvement needs a matching path count |
| Constrained paths | 1.2 M | 1.2 M | Same coverage, credible comparison |
| Constrained paths | 1.2 M | 180 k | Coverage collapsed, check clocks and exceptions |
| Unconstrained endpoints | 12 | 9,800 | Paths stopped being checked |
| Netlist checksum | abc123 | abc123 | No ECO and no synthesis change, look at SDC and setup |
| Netlist checksum | abc123 | def456 | Design changed upstream, find what changed |
If WNS improves, path count stays similar, unconstrained endpoints stay low, and the netlist checksum is identical, then I look at parasitics, derate, and library changes. Those can legitimately move delay by tens of picoseconds per stage, which is enough to clear marginal violations, but not usually 5,000 of them unless the previous run used the wrong corner or stale RC.
The answer I would close with is direct: zero violations with no ECO is a red flag until the SDC diff, the check_timing output, and the path counts match. Timing closure means the same paths, under the same constraints, now meet slack. Anything else is a reporting or setup change wearing the label of closure.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-19A path met timing at synthesis but is violating at place-and-route and PrimeTime. What are the reasons?
Reported in First Round Digital Design Interview Questions
The 90-second answer
Synthesis timing is an estimate, not a signoff. At synthesis there is no placed netlist, no extracted RC, no real clock tree and usually no OCV derate. PrimeTime after place-and-route runs on the routed netlist with SPEF parasitics, the built clock tree, and the signoff corners. A path that was +0.10 ns in synthesis can lose 0.3 to 0.5 ns on the net alone once the wire is real, and that is the most common cause.
I would check, in order: interconnect delay, clock skew and latency, corner and derate mismatch, SDC mismatch, then crosstalk and congestion effects.
Worked trace: same path, three stages
Hypothetical but typical numbers for a 2.0 GHz block, setup check, worst corner:
| Stage | Cell delay | Net delay | Clock skew penalty | Slack |
|---|---|---|---|---|
| Synthesis, wireload model | 0.42 ns | 0.09 ns | 0.00 ns (ideal clock) | +0.12 ns |
| After CTS | 0.42 ns | 0.14 ns | 0.06 ns | +0.03 ns |
| After route + extraction in PT | 0.44 ns | 0.38 ns | 0.08 ns | -0.31 ns |
The cell delay barely moved. The net delay grew by 0.29 ns because the wireload model assumed a short, lightly loaded interconnect and the router placed the driver and load far apart, possibly with detouring around congestion or macros. The clock penalty appeared because synthesis assumed zero skew and CTS inserted real buffers with different insertion delays to launch and capture flops.
Why each stage changes the answer
-
Interconnect. Synthesis uses a statistical wireload based on fanout. It has no idea that a net crosses the block, runs parallel to a macro, or is buffered late to fix a hold violation elsewhere. After routing, PT uses extracted resistance and capacitance per segment. Long nets, high fanout nets and nets in congested regions suffer most.
-
Clock tree. Synthesis assumes the clock arrives at every flop at the same time. CTS builds a tree with insertion delay and skew, often 50 to 150 ps in a large block. Setup slack at the capture flop shrinks by the skew between launch and capture domains. A path crossing clock domains or a long clock route can lose more.
-
Corners, modes and derates. Synthesis often runs one nominal corner, for example TT at 0.9 V and 25 C. PT signoff runs SS for setup and FF for hold, at low voltage and high temperature, with OCV or AOCV derates that inflate wire and cell delay on the data path relative to the clock path. If synthesis used a different voltage, temperature or library than PT, the comparison is meaningless.
-
SDC mismatch. This is the first thing to rule out in a real debug. Check that the same clocks, input and output delays, false paths, multicycle paths, clock groups and case analysis were applied in synthesis and in PT. A missing
set_input_delayor a generated clock defined in one flow and not the other will move slack by the full amount of that delay. Also check that synthesis did not optimise away a path that PT treats as real, or vice versa. -
Crosstalk and physical effects. PT with SI enabled adds coupling capacitance from neighbouring aggressor nets, which synthesis never models. Antenna rules, density effects and metal fill can also change extracted RC after routing. These show up as a net delay increase that placement alone did not predict.
How I would close it
Compare the same path report in synthesis and PT: cell delay, net delay, launch and capture clock latency and skew. If net delay dominates, the fix is placement and buffering, often by constraining the path or adding a max fanout or max transition constraint and re-running synthesis with a better wireload or a physical synthesis tool. If skew dominates, it is a CTS or clock constraint issue. If the numbers match but slack differs, it is an SDC or corner mismatch. I would never just add margin in synthesis to hide it, because the routed netlist is the one that ships.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-20A reg-to-reg path met timing at block level but violates at SoC level, what is the reason?
Reported in First Round Digital Design Interview Questions
The 90-second answer
Block STA and SoC STA are not measuring the same path. At block level the clock is usually ideal, interconnect is a wireload estimate, and the SDC is the block's own. At SoC level the path gets real clock latency and skew from CTS, extracted RC from placement and routing, top-level congestion and crosstalk, and the SoC clock uncertainty and derating. Any one of those can eat the slack the block reported. The usual culprits, in order I check them, are clock skew, missing interconnect delay, and a constraint mismatch.
Worked trace
Take a 1 GHz reg-to-reg path, period 1.00 ns, data delay 0.85 ns.
| Term | Block STA | SoC STA |
|---|---|---|
| Launch clock latency | 0.10 ns (ideal) | 0.35 ns (CTS) |
| Capture clock latency | 0.10 ns (ideal) | 0.15 ns (CTS) |
| Skew (capture - launch) | 0.00 ns | -0.20 ns |
| Clock uncertainty | 0.05 ns | 0.08 ns |
| Data delay incl. interconnect | 0.85 ns (wireload) | 0.97 ns (extracted) |
| Setup slack = period - uncertainty - data - launch + capture | +0.10 ns | -0.17 ns |
The logic did not change. The block assumed zero skew and estimated wiring. The SoC path has 200 ps of negative skew, 120 ps of extra RC, and 30 ps more uncertainty. That is 350 ps of slack loss, enough to turn a pass into a fail.
# Block SDC (typical)
create_clock -name clk -period 1.0 [get_ports clk]
set_clock_uncertainty 0.05 [get_clocks clk]
# No clock latency: ideal clock assumed
# SoC SDC (typical)
create_clock -name clk -period 1.0 [get_ports clk]
set_clock_uncertainty 0.08 [get_clocks clk]
set_clock_latency 0.35 [get_pins u_cpu/clk]
set_clock_latency 0.15 [get_pins u_dma/clk]Why each term appears only at SoC level
Clock skew: block STA often runs pre-CTS with an ideal clock, so launch and capture latency are equal by construction. After CTS, insertion delay differs by endpoint because of clock tree topology, buffer levels, and on-chip variation. A launch flop on a long clock path and a capture flop on a short one lose slack directly. This is also where OCV and AOCV derating matter. The block may have run a single corner, while SoC runs MMMC with path-based derating, so the same net gets a worse delay at SoC.
Interconnect: block synthesis uses wireload models from a reference design. SoC physical synthesis places the block, routes to neighbours, and extracts real parasitics. A path that crosses the block boundary, or sits in a congested region, picks up extra RC, coupling capacitance, and possibly a long detour. IR drop at SoC level can also slow cells under load, which block STA at nominal voltage does not see.
Constraints: the block may have been timed with its own uncertainty, its own false paths or multicycle exceptions, and case analysis on inputs. At SoC level those exceptions are re-applied, sometimes incorrectly, or the SoC uncertainty is larger to cover jitter and CTS uncertainty across the chip. A path that was multicycle inside the block can become single-cycle at the top if the exception was not carried over, and vice versa.
Pre-CTS versus post-CTS signoff
| Approach | What it catches | What it misses | Cost |
|---|---|---|---|
| Pre-CTS block signoff | Logic depth, cell sizing, constraint errors early | Skew, real RC, congestion, IR drop | Fast iteration, low compute, but late surprises |
| Post-CTS block signoff | Skew and extracted RC inside the block | Top-level routing, cross-block clock differences, SoC derating | Slower, needs a placed and routed block, still incomplete |
| Post-route SoC signoff | All of the above at chip level | Nothing structural, but fixes are expensive at this stage | Highest compute, ECOs risk schedule |
A team that signs off only pre-CTS will keep seeing this exact failure. Post-CTS block signoff reduces it, but it cannot see a launch flop in one block and a capture flop in another, so cross-boundary paths still need SoC timing. The practical compromise is pre-CTS for iteration, post-CTS for block release, and a top-level timing check on the assembled netlist before routing, so skew and boundary RC surface while an ECO is still cheap.
Fix options and their cost
| Fix | When it is right | Cost and risk |
|---|---|---|
| Rebalance CTS to cut negative skew | Skew term dominates the slack loss | Clock ECO, may hurt hold elsewhere, needs re-CTS |
| Buffer or upsize the long net, add shielding | Extracted RC or crosstalk dominates | Area and power up, may need rip-up and reroute |
| Move flops closer in floorplan | Path crosses a block boundary or a congested region | Floorplan churn, can disturb other paths |
| Correct the SDC (uncertainty, MCP, false path) | Path is an artefact of a missing or wrong exception | No silicon cost, but needs block owner signoff and re-verification |
| Reduce clock uncertainty budget | SoC uncertainty is padded beyond measured jitter and CTS variation | Risky if the padding covered real variation, needs jitter data |
How I would debug it in the loop
First, compare the two STA reports for the same start and end points and diff the launch latency, capture latency, uncertainty, and data delay. That tells me which term moved. Second, check whether the violating path crosses a block boundary or a clock domain. Cross-boundary paths are the ones most exposed to top-level routing and clock differences. Third, verify the SoC SDC actually matches the block intent: same period, same multicycle, same false paths, and uncertainty that the block was signed off with. If the path is real, pick the fix from the table based on which term dominates, and re-run post-route STA to confirm hold did not break. If the path is an artefact of a missing exception, the fix is in the constraints, and that needs sign-off from the block owner, not a silent edit at the top.
The point to make to the interviewer: a block-level pass is a statement about the block under block assumptions. SoC timing is the first time the path sees the real clock, the real wires, and the real constraints together, so a violation there usually means an assumption changed, not that the logic got slower on its own.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-21What happens if derate is not applied?
Reported in First Round Digital Design Interview Questions
The 90-second answer
If you skip derate, static timing analysis is optimistic. It checks the design against nominal library delays, while silicon runs slower or faster than nominal depending on process, voltage, temperature and ageing. A path that passes in PrimeTime with, say, +80 ps slack can fail in silicon at the slow corner, and a hold path that passes at nominal can fail at the fast corner. You ship a chip that does not meet frequency, or that fails intermittently in the field, and you find out after tapeout.
Derate is the correction STA applies to library timing to model that spread. Without it, setup and hold signoff numbers are not signoff numbers.
What derate actually models
A standard cell library is characterised at a few discrete corners. Real silicon varies continuously across a die and over life. Tools apply derate factors on top of the library, typically as multipliers on cell and interconnect delay, or as separate AOCV/POCV tables in newer flows.
| Derate source | What it captures | Direction that hurts |
|---|---|---|
| Process | Fast and slow transistors from doping and lithography variation | Slow for setup, fast for hold |
| Voltage | Supply droop, IR drop, DVFS operating point | Low voltage for setup, high voltage for hold |
| Temperature | Mobility and threshold shift with temperature, including temperature inversion in low voltage FinFET | High temperature usually slow, low temperature can be fast for hold |
| Ageing | NBTI, HCI over product life, often 5 to 10 years for a phone SoC | Slow over time for setup |
| OCV spatial variation | AOCV/POCV distance based variation within a die | Launch and capture see different delays on the same cycle |
In a MediaTek mobile SoC flow this is not academic. The part must close timing from -40 C to 125 C junction, across DVFS points, and after ageing, because a phone that throttles or drops packets after two years is a field failure. MMMC scenarios already pick the corners. Derate is what makes each scenario represent worst case silicon rather than typical silicon.
Worked example
Take a setup path at 2 GHz, so the cycle is 500 ps. Hypothetical but realistic figures:
| Item | Value |
|---|---|
| --- | --- |
| Clock period | 500 ps |
| Launch clock to data, plus cell and wire delay at nominal | 380 ps |
| Capture clock arrival at the flop | 495 ps |
| Nominal slack | 495 - 380 = 115 ps, passes |
| Slow process, low voltage, high temperature derate on data path | 1.12x |
| Derated data delay | 380 x 1.12 = 426 ps |
| Derated slack, ignoring clock derate for simplicity | 495 - 426 = 69 ps, still passes |
Now add the parts people forget. Clock path derate, OCV mismatch between launch and capture, and ageing at 1.08x on the data path. The combined factor can reach 1.20x to 1.25x on a long path in a low voltage corner. At 1.22x the data delay is 464 ps and slack falls to 31 ps. Add 40 ps of OCV pessimism on the capture side and the path fails. Without derate the report showed 115 ps of margin and nobody looked at it again.
Hold is the mirror image. Hold checks use fast derate, often 0.85x to 0.90x. A short path with 60 ps nominal hold slack can go negative at high voltage and low temperature if the launch clock is fast and the data is fast while the capture clock is slow. That failure is worse in some ways because it is not fixed by lowering frequency. It corrupts data on the first cycle after reset in the field.
How it is applied, and what goes wrong when it is not
In PrimeTime or Tempus the intent is expressed like this:
# Illustrative, syntax varies by tool version
set_timing_derate -rise -data -early -factor 0.88 [all_cells]
set_timing_derate -fall -data -late -factor 1.12 [all_cells]
set_timing_derate -clock -late -factor 1.05 [all_clocks]Early factors below 1.0 model fast silicon for hold. Late factors above 1.0 model slow silicon for setup. AOCV tables replace the single factor with a distance dependent value, which matters for paths crossing the die.
If derate is missing, three concrete failures follow.
First, false timing closure at synthesis and place and route. The tools optimise against the wrong target, buffers and drivers are undersized, and the critical path list in the report is not the critical path in silicon.
Second, corner specific silicon failure. Setup fails at the low voltage, high temperature corner at maximum frequency. Hold fails at the high voltage, low temperature corner, often only in a subset of dies, which looks like a random field return.
Third, ageing escapes. A chip that meets frequency on day one at nominal voltage can miss it after NBTI shifts threshold voltage. If ageing derate was never in the signoff scenario, there is no margin budgeted for it and no ECO can add it back without a respin.
A candidate should also say when a reduced derate is defensible. Early in design, before the PDK derate files and AOCV tables are released, teams run nominal timing to get a relative critical path list for floorplanning. That is fine for ranking paths. It is not fine for signoff, for ECO decisions, or for reporting frequency to product. The distinction is whether the number is used to guide work or to commit to silicon.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-22What are the reasons for min-pulse violations, how do you fix them, and how do you reduce RT in a min-pulse-width violation?
Reported in First Round Digital Design Interview Questions
The 90-second answer
Min-pulse is not setup or hold. It checks that a pulse, usually the clock, stays high or low long enough for the receiving pin to recognise it. In PrimeTime I first separate clock pulse, data pulse to a latch or async pin, and a combinational glitch pulse, because the fix is different for each. The liberty model gives min_pulse_width_high and min_pulse_width_low on the clock pin of the flip-flop, and a similar limit on latch enable and async set/reset pins. If the measured high or low time at the 50% crossing is smaller, the flop can miss the edge entirely even though period and setup look clean.
# PrimeTime, illustrative flow
report_min_pulse_width -clock clk_core -verbose
report_timing -type min_pulse_width -from_clock clk_core -to_clock clk_coreWhy it happens
For a clock net, the usual cause is duty-cycle distortion in the clock tree. A clock buffer, inverter, or clock-gating cell has different rise and fall delays, and that difference accumulates along the path. Clock muxes, dividers, and gated-clock logic are frequent offenders because the enable or select changes the path taken by one edge only. Slow slew makes it worse. If the rising edge crosses 50% late and the falling edge crosses early, the high pulse shrinks even though the period is unchanged. Voltage droop, OCV variation, and a weak driver on a long clock wire all increase that asymmetry.
For a data or async pulse, the cause is usually logic, not the clock tree. A narrow pulse comes from a glitch on reconvergent logic, a short async reset asserted by combinational logic, or a latch enable generated by a small AND gate. The pulse is real in RTL terms but too short for the pin that receives it, especially at low voltage where the generating gate slows down.
| Pulse type | Typical cause | First fix to try |
|---|---|---|
| Clock high/low | Duty distortion, clock gating, slow slew | Resize or rebalance clock buffer, fix gating cell, sharpen edge |
| Latch enable | Enable logic glitch, unbalanced AND/OR | Restructure enable, add buffer to clean glitch |
| Async set/reset | Short combinational assertion | Synchronise and stretch reset, add delay or pulse stretcher |
Worked trace
Assume a 1 ns clock, so the ideal high and low times are 500 ps. The flop needs at least 80 ps high and 80 ps low. After the clock tree, the rising edge is delayed by 140 ps relative to the falling edge because of a weak buffer and a long wire. The measured high time becomes 360 ps and the low time becomes 640 ps. That still passes. Now add a clock-gating cell whose enable arrives late. The gated clock high time drops to 55 ps. PrimeTime reports a min-pulse violation of 25 ps, while setup and hold on the same flop may still pass. That pattern, period fine but one edge pair too close, points to the clock path rather than to data logic.
How I fix it
I widen the pulse or sharpen the edge, and I check which one the design needs. To widen a clock pulse I insert a small delay on the opposite edge, resize the clock buffer that creates the distortion, or move the gating logic so the enable does not clip one edge. For a data pulse I restructure the logic that creates the glitch, insert a buffer to absorb it, or stretch an async reset with a synchroniser and a delay line. Every fix gets rechecked for setup, hold, and max transition, because adding delay to one edge moves duty cycle and can create a hold problem elsewhere.
Reducing RT in a min-pulse violation
By RT I mean the transition time, rise time or fall time, of the edge that defines the pulse. A slow edge does not just add delay. It moves the 50% crossing, so a 120 ps rise time paired with a 40 ps fall time can eat 80 ps of pulse width before any buffer delay is counted. Reducing RT restores that width.
I reduce RT by lowering the load the driver sees and strengthening the driver. That means upsizing the clock buffer or the gate that generates the pulse, splitting a large fanout, shortening the wire, or moving the driver closer to the load. I also check supply and threshold voltage. A low-Vt buffer or a standard-Vt buffer with more drive at the operating voltage will cross threshold faster than a weak high-Vt cell on the same net. In physical synthesis I would ask for clock buffers with tighter slew targets on that net and forbid the weak cell that caused the slow edge.
The trade-off is power and area. A larger buffer burns more clock power and can increase slew on the next stage if it is oversized. So I size for the slew target, not for maximum drive, and I verify that the faster edge does not create a new min-pulse problem on the opposite polarity. If the pulse is still short after the edge is sharp, the problem is genuine duty distortion and needs a delay or resize on the opposite edge, not a stronger driver.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-23If the datapath is fully optimized but still has a 200ps violation, what is your approach?
Reported in First Round Digital Design Interview Questions
The 90-second answer
First I would confirm the 200 ps is real, then I would stop touching the datapath and move the clock. If sizing, buffering, Vt selection, logic restructuring and layer promotion are already exhausted, the remaining slack has to come from launch and capture clock positions, from the timing model, or from the architecture. I would not burn area on more buffers.
Verification comes before any ECO. I check the report in PrimeTime or Tempus for the exact corner, mode and scenario, setup or hold, launch and capture flops, and clock domains. A 200 ps setup miss at SSG, 0.72 V, -40 C with OCV derate is a different problem from the same miss at TT with no derate. I look at report_timing -path_type full -input_pins -nets -capacitance and compare the pre-route estimate against post-route extraction. If the path was clean pre-route and only fails after extraction, the cause is placement, wire length or a congested layer, not logic depth. If it fails in both, the cause is structural.
I also check the constraints. Wrong clock uncertainty, a missing MCP, a false path that was never intended, or a clock that is actually gated by a combinational enable will all manufacture a violation that no amount of sizing fixes. In a MediaTek SoC block I would ask whether the path crosses a power domain, a voltage area, or a clock mux, because latency through that mux is often the hidden 200 ps.
# PrimeTime / ICC2 check before any ECO
report_timing -from [get_flops U_LAUNCH] -to [get_flops U_CAPTURE] \
-path_type full -input_pins -nets -capacitance -derate
report_clock -skew -latency -uncertaintyWhere the 200 ps comes from
Slack is T_capture + t_setup - (T_launch + t_clock_to_q + t_logic + t_wire). With the datapath fixed, only the clock terms and the required time move. That gives four levers, in the order I would try them.
| Lever | Typical gain | Cost and risk |
|---|---|---|
| --- | --- | --- |
| Useful skew on capture flop | 100 to 250 ps | Hold risk on the same flop, needs hold recheck |
| Reduce clock uncertainty or fix OCV pessimism | 20 to 80 ps | Only valid if the model was wrong, signoff will reject a fake fix |
| Floorplan or placement move of launch or capture | 50 to 200 ps | Congestion, ECO churn, may break other paths |
| Retiming or pipeline split | Full cycle fraction | RTL change, verification cost, last resort |
Useful skew is the usual answer. Delaying the capture clock by 150 ps and advancing the launch clock by 50 ps closes a 200 ps setup miss without changing a single gate. The arithmetic is direct: new slack = -200 ps + 150 ps + 50 ps = 0 ps, before margin. I would target 30 to 50 ps of margin, so I would aim for 240 ps of skew shift, not exactly 200 ps. Then I immediately run hold on the capture flop and on every flop downstream of the launch flop, because the same shift that helps setup here hurts hold there. If hold was already tight, useful skew alone fails and I need a balanced move or a placement change.
Failure modes I would name in the interview
The common trap is chasing a hold violation with setup tools. If the 200 ps is a hold miss, useful skew in the setup direction makes it worse, and the fix is the opposite: pull the capture clock earlier, add delay in the short path, or fix a clock gating pulse width. I would state which direction I am moving before I touch anything.
The second trap is skew that passes in one corner and fails in another. Clock latency varies with process, voltage and temperature, and OCV means launch and capture clocks do not track perfectly. A skew that closes SSG setup can open FFG hold at 1.1 V. That is why I check all MMMC corners after the ECO, not just the failing one, and why I prefer a small placement move over a large skew when hold margin is under 100 ps.
The third trap is a path that is not actually synchronous. A test path, a DFT chain, or a path through a clock mux in test mode should be false or MCP, and fixing it with skew wastes the hold budget of a real functional flop. I would ask for the path type and the design intent before accepting the violation as real.
If useful skew and placement cannot close it without breaking hold, I go back to the architect with numbers: the path needs 200 ps, the clock budget can give at most X ps before hold fails, so the remaining amount needs a pipeline stage or a retiming move across a flop boundary. That is a design change, not a timing ECO, and saying so early is better than delivering a block that passes one corner and fails signoff in another.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-24Setup is violating by 80ps in the setup-critical corner and hold margin is 100ps in the hold-critical corner; how do you fix it?
Reported in First Round Digital Design Interview Questions
The 90-second answer
First I would ask which path, which clock domain, and at what stage the report came from: pre-CTS, post-CTS, or post-route with extraction. An 80 ps setup violation with 100 ps of hold margin on the same endpoint is usually fixable by spending hold slack, not by adding delay. The cleanest lever is capture-clock skew: delay the capture clock by roughly 60 to 80 ps. Setup slack improves by that amount, hold slack falls by the same amount, and 20 to 40 ps of hold margin remains. I would only do that after checking the path is real and that the capture flop does not serve other endpoints that would lose hold.
Check the report before touching the netlist
Setup slack is Tclk + Tcapture_clock - Tlaunch_clock - Tdata - Tsetup - uncertainty. Hold slack is Tlaunch_clock - Tcapture_clock + Tdata - Thold + uncertainty in the hold corner, with its own derates. I would pull the PrimeTime path report and split it into clock latency, cell delay, net delay, and uncertainty. Three things change the answer:
- If the path is reg-to-macro or crosses a clock domain, check MCP, false path, and CDC constraints first. A missing multicycle or an unconstrained clock can manufacture an 80 ps violation.
- If the setup-critical and hold-critical corners use different OCV derates, the two slacks are not directly comparable. I would confirm both numbers come from the same MMMC view the signoff flow uses, with extraction on.
- If this is pre-CTS, clock latency is estimated. Skew is not yet a real knob, so the fix is logic and placement, not a clock move.
Worked budget, hypothetical 1 GHz block
Assume a 1000 ps period, single clock, post-CTS, reg-to-reg path, and the numbers below are illustrative.
| Quantity | Setup corner | Hold corner |
|---|---|---|
| Clock period | 1000 ps | 1000 ps |
| Data delay (launch flop to capture D) | 940 ps | 120 ps |
| Setup / hold time | 30 ps | 20 ps |
| Clock uncertainty | 50 ps | 50 ps |
| Slack | -80 ps | +100 ps |
Moving the capture clock 70 ps later gives setup slack of -10 ps and hold slack of +30 ps. That alone does not close setup. I would combine it with 30 to 50 ps of data-path improvement: upsize the slowest stage, swap a standard-Vt cell for a low-Vt cell on that stage, or shorten the longest net by placement or buffering. Combined gain of 100 to 120 ps closes setup with hold still positive.
Fixes in the order I would try them
| Fix | Setup effect | Hold effect | When it is the right call |
|---|---|---|---|
| Capture clock skew +70 ps (post-CTS ECO) | +70 ps | -70 ps | Hold margin is real and capture flop has no other tight hold endpoints |
| Upsize or low-Vt swap on critical stage | +20 to 60 ps | -10 to 40 ps (path gets faster) | Cell delay dominates the report |
| Restructure logic, move flop closer, reduce fanout | +30 to 100 ps | Small, depends on new delay | Net delay or a long logic cone dominates |
| Reduce clock uncertainty or fix OCV derate error | +10 to 50 ps | Varies | Uncertainty is inflated or derate applied twice |
| Lower frequency or split the pipeline | Closes by construction | No cost | Skew plus sizing cannot reach target without breaking hold elsewhere |
What I would not do is insert buffers to fix setup. Buffers add data delay, which helps hold and hurts setup, the opposite of what this path needs. I also would not globally upsize the block. That burns power and area and can make hold worse on paths that were already fast.
# Post-CTS ECO: add 70 ps latency to the capture clock pin only
# Verify the flop name and clock pin from the timing report first
set_clock_latency -source [get_pins u_capture_flop/CK] 70 [get_clocks clk_core]After the ECO I would rerun setup and hold in both corners, then check every other endpoint on that capture flop and every endpoint on the launch flop. Clock skew is shared. A move that fixes this endpoint can break hold on a sibling endpoint that had only 40 ps of margin, and it can also break setup on paths where this flop is the launch flop. That is the main failure mode of the skew fix, and it is why I would run a full timing update, not just re-report the one path.
If skew plus sizing still leaves setup negative, I would stop trading slack and escalate the real cost: the block needs a lower clock target, a pipeline stage, or a different microarchitecture. Spending the last 20 ps of hold margin to chase the final 10 ps of setup is how a block passes one corner and fails hold in silicon, where hold cannot be fixed by slowing the clock.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Curated: · Written: · Reviewed: