svunit / svmock

A mock framework for use with SVUnit
Apache License 2.0
15 stars 4 forks source link

UVM mocks not re-usable #9

Closed bentitmus closed 6 years ago

bentitmus commented 6 years ago

Both the uvm_seq_item_pull_port_mock class and the SVMOCK_UVM_SEQUENCE macro are not re-usable because they both have apb_item hard-coded.

nosnhojn commented 6 years ago

ouch. rookie mistake. those references are gone now as of version d048a84. thanks for pointing it out

-neil

nosnhojn commented 6 years ago

should mention... take a look at the examples/class/uvm_driver/*_unit_test.sv where these are used. the mocks need the parameter now that I removed the hardcoded apb_item.