Describe common RTL lint warnings and errors

Read the full interview experience this question came from →

Quick Overview

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.

Describe common RTL lint warnings and errors

Company: Apple

Role: Software Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Technical Screen

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: 1. What situation usually causes the warning or error. 2. Why it can be dangerous if left unfixed. 3. 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.

Overview: 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.

Read the full Apple Software Engineer interview experience this question came from

|Home/Software Engineering Fundamentals/Apple
Apple logo
Apple
Dec 8, 2025
mediumSoftware EngineerTechnical ScreenSoftware Engineering Fundamentals
8
0

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:

  1. What situation usually causes the warning or error.
  2. Why it can be dangerous if left unfixed.
  3. 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.

Loading comments...