What is an Agent?
The Simple Version: An Agent is a container that groups related components together. It typically contains a Driver, Monitor, and Sequencer that all work with the same interface.
Think of it like: A department in a company. Just like HR has recruiters, trainers, and managers working together, an Agent has Driver, Monitor, and Sequencer working together.
A UVM Agent is a hierarchical container that encapsulates all verification components required for a specific interface. Instead of scattering drivers and monitors throughout your environment, you group them into an Agent to ensure Reusability and Portability.
Components of an Agent:
- Sequencer: Controls the flow of stimulus from sequences.
- Driver: Converts high-level transactions into pin-level activity.
- Monitor: Observes pin-level activity and converts it back to transactions.