UVM project topology
Most user-defined UVM classes are placed in separate files
Classes can only be compiled from a module or package scope
Recommendation:
- Include related class files into a package
- Import the package into modules where required
The UVM library is supplied in the package uvm_pkg
- Import package to access library
- The macro file
uvm_macros.svh
must be included separately
yapp_packet.sv
1 | class yapp_packet extends uvm_sequence_item; |
yapp_pkg.sv
1 | package yapp_pkg; |
run.f for xrun
1 | // 64 bit option for AWS labs |