The Agent Said It’s Done. Now What?

What happens when artificial intelligence (AI) takes charge of chip verification? You may save time, but checking its work remains your responsibility.

It’s 2 a.m., and a chip’s regression run has thrown up hundreds of failures. A few years ago, a verification engineer would have spent the morning sifting through logs. Today, an AI agent may already have grouped the errors, spotted a pattern, and proposed a likely cause before anyone reaches their desk.

That is the shift now underway in chip verification, from generative AI to AI agents. Generative AI writes testbenches and assertions when prompted, and engineers refine them through further instructions. An agent is given a goal, and pursues it by selecting files, running tests, analysing results, and deciding what to do next. Engineers still define the goal and review the outcome. The harder question for semiconductor teams is how much of the work in between can be trusted, and who is accountable when the agent says it’s done.

Giving the agent what it needs

The tasks an AI agent can perform depend on the information and tools available to it. To develop a test plan, it needs access to the design specifications. To investigate a failure, it needs the testbench, register-transfer level (RTL) code, and simulation results to compare expected and actual behaviour. When analysing regression runs with hundreds of failures, it can group errors across multiple log files, identify patterns, and investigate possible causes. It may then determine what to examine next, depending on the model’s capabilities and the instructions provided by the engineer.

In addition, the agent needs to understand the existing verification environment and how to use its tools. Engineers must specify the available files, commands, electronic design automation (EDA) tools, and the testing process. They must also set boundaries, such as limits on modifying design files or making changes to the repository.

Fitting into existing UVM workflows

This approach can work within an existing verification environment based on the universal verification methodology (UVM) and legacy testbenches, without redesigning the verification process. First, the agent reviews the testbench architecture, file list, checks, and features being verified. Engineers can then allocate tasks such as test generation and failure analysis within the existing process. They remain responsible for controlling the agent, evaluating its performance, and determining whether the specified verification objectives have been met.

Where AI still stumbles

AI can identify a failing test, examine the design and suggest a possible root cause. However, debugging complex semiconductor designs remains difficult because AI models have limited context and may lack access to all the required information. They can assist with smaller design blocks and learning projects, but identifying the root causes of failures in large chips with billions of transistors still requires engineers. Breaking debugging into smaller tasks, such as investigating specific files, analysing code, or comparing signal values, can help narrow down failures.

Closing coverage gaps

AI can also help fill functional coverage gaps, provided the required behaviours and scenarios are defined. Code coverage measures whether parts of the design code, such as branches, have been tested, while functional coverage checks whether the required functionalities and behaviours have been verified. High code coverage does not necessarily mean that all required scenarios have been tested.

For instance, a testbench may not check whether a reset occurs while data traffic is active. Once this gap is identified, an AI-based tool can generate test stimuli, simulate the scenario, and analyse functional coverage results. This can automate test generation and analysis that might otherwise require numerous test cycles or overnight runs. However, even 100 per cent reported coverage may miss corner cases or stress scenarios, so engineers must define the coverage requirements and review the results before signing off.

When the context gets too big

Other challenging tasks include test-plan development, waveform analysis, and gate-level simulation (GLS) debugging. Specifications may span thousands of pages and reference other documents, making it difficult for AI to process the complete context needed for a reliable test plan. Waveform files may contain gigabytes of data, while GLS debugging requires analysing a netlist containing logic gates and delay information.

These tasks can exceed the context that AI models can reliably handle. AI is therefore better suited to routine, reviewable tasks, while engineers must guide complex investigations, assess results, and retain responsibility for final verification sign-off.

How AI agents connect with verification tools
• Access to the work environment. AI agents such as Codex and Claude Code operate within the engineer’s work area and have the same access permissions as the user.
• Rules and restrictions. Engineers define what the agent can do. For example, the agent must seek permission before deleting files and must follow specified rules for running tests and using tools.
• Instructions through files. Files such as AGENTS.md and CLAUDE.md describe the available tools, commands, and procedures for using them.
• Knowledge of the verification setup. Engineers provide details about the EDA tools, testbench, and commands needed to run tests. The agent reads these instructions before starting work.
• Less repeated instruction. Since the instructions are documented, engineers do not need to explain the same procedures every time they use the agent.
• Engineers remain responsible for setup. The agent does not automatically know the company’s infrastructure or tool configurations. Engineers must provide this information to help prevent incorrect tool use and execution.

Keeping AI agents under control

AI agents need clear permission boundaries to work safely in chip verification. You can allow an agent to modify a testbench and run tests while preventing it from changing RTL files, deleting files, or pushing changes to a repository without your permission. You can also authorise it to make changes, run the complete regression, and push the changes if all tests pass. The level of access depends on the rules you define.

AI does not guarantee the same result every time. The system may create a new testbench, rename components, or take a different verification path for the same task. You can, however, give it files specifying the required structure, the purpose of verification, and the intellectual property (IP) involved. With this approach, results can be reproduced in about 90 per cent of cases.

You must also check whether the agent has performed the task correctly. Although you cannot see how an AI model processes information internally, you can check whether its actions meet the task requirements. For instance, if you want the agent to choose a test that reads data from the central processing unit (CPU) and stores it in memory, you must confirm that the chosen test performs this action correctly.

To do so, you need to understand the task, know what result to expect, and review the agent’s output before accepting it. Otherwise, you cannot confirm that the task was completed successfully.

Verification tasks you can assign to AI agents
Verification TaskWhat The AI Agent Can DoWhat The Engineer Must Check
Testbench
development
Generate testbench code from specified requirements and existing examplesWhether the code follows the verification architecture and tests the intended behaviour
Compilation errorsExamine error messages and suggest or make code changesWhether the changes resolve the errors without introducing new problems
Regression failure analysisGroup failures, compare log files and identify recurring error patternsWhether the suspected root cause is supported by simulation results
Functional
coverage gaps
Identify uncovered scenarios and generate tests for specified behavioursWhether the scenarios are complete and the coverage results reflect the intended checks
Reset and
protocol testing
Generate test scenarios for reset sequences, data transfers and protocol conditionsWhether the tests cover the required corner cases and timing conditions
Test-plan
development
Extract verification requirements and propose test scenarios from accessible specificationsWhether all requirements are covered and the extracted information is accurate
Waveform debuggingAnalyse accessible signal values and help trace unexpected behaviourWhether the signal relationships and suspected causes match the design specification

Counting the gains and the costs

EFY Icon

EFY++ CONTENT: ACCESS TO THIS CONTENT IS FREE! BUT YOU NEED TO BE A REGISTERED USER.

Oops! This is an EFY++ article, which means it's our Premium Content. You need to be a Registered User of our website to read its complete content.

Good News: You can register to our website for FREE! REGISTER NOW

Already a registered member? If YES, then simply login to you account below. (TIP: Use 'forgot password' feature and reset and save your new password in your browser, if you forgot the last one!)

Loading form…
Nidhi Agarwal
Nidhi Agarwal
Nidhi Agarwal is a Senior Technology Journalist at Electronics For You, specialising in embedded systems, development boards, and IoT cloud solutions. With a Master’s degree in Signal Processing, she combines strong technical knowledge with hands-on industry experience to deliver clear, insightful, and application-focused content. Nidhi began her career in engineering roles, working as a Product Engineer at Makerdemy, where she gained practical exposure to IoT systems, development platforms, and real-world implementation challenges. She has also worked as an IoT intern and robotics developer, building a solid foundation in hardware-software integration and emerging technologies. Before transitioning fully into technology journalism, she spent several years in academia as an Assistant Professor and Lecturer, teaching electronics and related subjects. This background reflects in her writing, which is structured, easy to understand, and highly educational for both students and professionals. At Electronics For You, Nidhi covers a wide range of topics including embedded development, cloud-connected devices, and next-generation electronics platforms. Her work focuses on simplifying complex technologies while maintaining technical accuracy, helping engineers, developers, and learners stay updated in a rapidly evolving ecosystem.

SHARE YOUR THOUGHTS & COMMENTS

Latest DIY Projects

Electronics News

Truly Innovative Electronics

Electronics Components

Electronics Jobs