Describe common RTL lint warnings and errors
AppleSoftware Engineer · Technical ScreenLast updated
This question evaluates understanding of RTL static analysis and common lint warnings/errors in Verilog/SystemVerilog, testing competence in diagnosing issues such as modules treated as black boxes, combinational loops, and width mismatches.
You are writing RTL (e.g., Verilog/SystemVerilog) and run a lint tool on your code.
The tool reports items such as:
- "Treat as black box"
- Combinational loop
- Left-hand side (LHS) / right-hand side (RHS) not equal length (width mismatch)
Explain for each of these:
- What situation usually causes the warning or error.
- Why it can be dangerous if left unfixed.
- Typical ways you would investigate and fix the issue in your RTL.
Also briefly describe why running lint is important in a digital design flow.
Solution walkthrough is for members
Get the full walkthrough with reference code and complexity analysis, plus Kitty Coach at 300 messages a day. Hints, the code runner and community answers stay free.