UVM - 5 (Lab 1)
DUT的RTL文件:router.v

testbench架构

Flow

test.sv

test_base.sv




- 注册的时候,以uvm_component扩展出来的类,在注册的时候要使用uvm_component_utils()注册,以uvm_transaction,uvm_sequence扩展出来的类需要用uvm_object_utils()注册
// 以uvm_component扩展出来的类
uvm_component_utils()注册
// 以uvm_transaction,uvm_sequence扩展出来的类
uvm_object_utils()注册
router_env.sv


input_agent.sv



driver.sv



packet_sequence.sv


packet.sv

VCS Makefile



浙公网安备 33010602011771号