1、`ifndef SPT : if not define 宏定义判断,作用是防止多重定义。
define SPT:宏定义
2、class: 在类的实例中调用方法
extends: 继承
3、Transaction及field_automation
Transaction是整个验证平台中流动的信息单元。Sequence产生出transaction,通过sequencer把此transaction转交给driver,driver根据此transaction的信息驱动接口信号。Monitor监测接口数据,并把数据封装成transaction的形式传递给reference model或者scoreboard。
Uvm_field_array_A:动态数组(A:动态数组中存放的内容的类型)
UVM_ALL_ON: 把所有data feature都打开,包括copy, compare, print等
UVM_ALL_ON Set all operations on (default).
UVM_DEFAULT Use the default flag settings.
UVM_NOCOPY Do not copy this field.
UVM_NOCOMPARE Do not compare this field.
UVM_NOPRINT Do not print this field.
UVM_NODEFPRINT Do not print the field if it is the same as its
UVM_NOPACK Do not pack or unpack this field.
UVM_PHYSICAL Treat as a physical field. Use physical setting in policy class for this field.