mrforever Posted October 16, 2012 Report Share Posted October 16, 2012 hi uvm experts, when i read the examples\integrated\codec, there is such code like this: class reg_dut extends uvm_reg_block ; endclass class rx_isr_seq extends uvm_reg_sequence; reg_dut regmodel //``` $cast(regmodel, model) ; endclass i cann't find the model's definition, is it a built-in object in uvm ? Quote Link to comment Share on other sites More sharing options...
petermonsson Posted October 16, 2012 Report Share Posted October 16, 2012 Hi, model is defined in uvm_reg_sequence: http://www.vmmcentral.org/uvm_vmm_ik/files3/reg/uvm_reg_sequence-svh.html#uvm_reg_sequence.model reg_dut regmodel is defined in reg_model.svh in examples/integrated/codec Best Regards Peter Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.