Fork-join

Micron

Problem Description

You're building a driver task. It needs to send a reset pulse, then send a stimulus packet — in that order, both must finish before the driver moves on. There's also a background watchdog that should start at the same time and keep ticking even after the driver is done.

Fill in the run task so that:

  • send_reset finishes at t=10

  • send_stimulus finishes at t=30

  • driver_done_time should prints at t=30

  • The watchdog should start from t = 0ns and should be still running even after run task

  • Do not use of any delays

SystemVerilog

Code Editor Access

Log in to write, run and submit your solution to this interview question. It's free.

Output

Output goes here...