Skip to question
asic.fyi
DesignVerificationSystemVerilogFirmwareArchitectureInterviews
asic.fyi/Interview questions/Input-delay constraints from an external device

Hardware interview practice

Input-delay constraints from an external device

MediumTimingSystemVerilog

An external transmitter launches data on board_clk. Its clock-to-output range and board data delay are known; clock-board delay is the reference zero. Derive set_input_delay minimum and maximum values for each input group.

Try it in the question bankReason first. Then compare.

Keep this exact question selected while you check your answer and review the full solution.

Practice this question →
Starting point

Question code

input_delay_min = tco_min + board_data_min
input_delay_max = tco_max + board_data_max

A = ( 0.4, 1.2, 0.20, 0.30) ns
B = ( 0.1, 0.8, 0.10, 0.20) ns
C = (-0.1, 0.5, 0.05, 0.15) ns
// tuple order: tco_min,tco_max,board_min,board_max
Reviewed example

Work through one case

Input
Group C: tco_min=-0.10 ns, board_min=0.05 ns; tco_max=0.50 ns, board_max=0.15 ns
Expected output
set_input_delay -min -0.05 ns; set_input_delay -max 0.65 ns

A negative minimum is valid here because the earliest data transition precedes the chosen external-clock reference at the chip boundary.

What to cover

Requirements

  1. Use nanoseconds and preserve a negative minimum when the arithmetic produces one.
  2. Apply both -min and -max relative to the same board_clk reference.
  3. Do not add internal chip delays; STA accounts for those after the input port.
  4. Show the derived values and corresponding SDC commands for groups A, B, and C.
Continue practicing

Related questions

TimingApply clock skew consistently→TimingMaximum clock frequency from a setup path→TimingChoose the direct fix for a hold violation→
asic.fyi · Learn silicon end to end.info@asic.fyi