Skip to content
DenseChip
Learn
PracticeCode labInterview

DenseChip

Navigate

Menu

LearnPracticeCode labInterview

Tools

All toolsSV editorCode repoResume
DenseChip

Practice, courses, and chip-design tools in one focused workspace.

LearnPracticeCode labInterviewToolsLearning paths

© 2026 DenseChip

AboutContactPrivacyTerms
Skip to lesson

Course contents

  • Getting Started with AI for VLSI Engineers5
  • Just Enough AI: Models and Context15
  • Prompting13
  • Trust and Verification14
  • Using AI for Engineering Work17
  • Engineering Walkthroughs7
  • Practical Foundations for AI Workflows4
    • APIs: Requests, Responses and Errors
    • JSON Records and Meaningful Validation
    • Repositories, Diffs and Isolated Changes
    • Working with Waveforms and Report Images
  • Engineering Data5
  • Retrieval-Augmented Generation6
  • Agents and Tool Use18
  • Agent Design8
  • MCP and Skills6
  • Multi-Agent Design6
  • Practical Capstone6
  • Tokens, Cost and Latency12
  • Agentic Workflows for Chip Teams18
  • Interview and Judgment10
  • AI Skills: Full Course Index
  • Working with AI Glossary
  • Working with AI Cheatsheet
Loading lesson

‹Practical Foundations for AI Workflows
  1. Topics
  2. AI Skills for VLSI Engineers
  3. Practical Foundations for AI Workflows
  4. Repositories, Diffs and Isolated Changes

Practical foundations · Beginner

Repositories, Diffs and Isolated Changes

A guided introduction for VLSI engineers: Repositories, Diffs and Isolated Changes.

On this page

    An assistant proposes a two-line RTL fix. Before discussing the fix, identify the baseline: which revision is checked out, which files were already modified, and which checks are expected to pass? An AI-generated patch is not special; it needs the same ownership, review and verification as a human patch. Existing work from a colleague must not be discarded to make the assistant's change easier.

    A safe change proposal

    plaintext
    1
    2
    3
    4
    5
    6
    7
    Synthetic review record
    baseline: revision r3; existing unrelated edits in notes/design-review.md
    task: explain a width warning in rtl/counter.sv
    allowed action: read and propose only
    proposal: one diff plus the requirement it implements
    acceptance: reviewed scope, independent corner checks, explicit human approval
    not allowed: change tests to hide failure, update unrelated files, commit or publish

    A branch names a line of development; it is not a filesystem sandbox. A separate working copy or worktree helps avoid mixing edits but also does not restrict credentials or network access. Use the organisation's approved isolation and execution tools. Start this course's labs with read-only proposals so Git mechanics do not obscure the engineering task.

    Review question

    What to inspect

    Is this the expected baseline?

    Revision, tool configuration and pre-existing changes.

    Is the diff limited to the task?

    All changed files, including tests, constraints, waivers and generated files.

    Does the patch implement the requirement?

    Width, reset, protocol and corner behaviour; smaller is not automatically correct.

    Were checks weakened?

    Deleted assertions, skipped tests, added suppressions or altered expected values.

    What remains unverified?

    Evidence of checks actually run, their inputs and limits. A suggested command is not an executed check.

    Exercise

    The requested fix concerns one counter expression. The diff also deletes a failing test and adds a lint waiver. Write a review response that identifies the extra changes without assuming malicious intent. Ask for the requirement and a reduced proposal. Preserve unrelated existing edits.

    Check yourself What evidence is required before accepting?

    A scoped diff implementing the stated behaviour, unchanged independent checks or justified reviewed changes to them, and actual check results. Reject the waiver and test deletion as unsupported until independently justified. Never reset somebody else's working tree as cleanup.

    Optional reading: the Git diff documentation explains comparisons between working-tree, staged and committed content. Your team's branch, review and publication rules remain authoritative.

    Related topics

    • Up: Practical foundations

    • Next: Working with Waveforms and Report Images

    Previous

    74 / 173

    Next: Working with Waveforms and Report Images

    Up next

    Up nextWorking with Waveforms and Report Images

    Sign in to save progress

    Practice this lessonReport an error

    See also

    • APIs: Requests, Responses and Errors