Last active
June 10, 2024 08:49
-
-
Save dvtalk/0d1df6df3d7ba1d64b55e606476a1d2f to your computer and use it in GitHub Desktop.
Get the type name of the factory override object using the current object handle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class base_test extend uvm_test; | |
base_sequence m_seq; | |
//.. | |
set_type_override_by_type(base_sequence::get_type(), aes_sequence::get_type()); | |
//.. | |
$display($psprintf("Sequence: %s", m_seq.get_type_name())); | |
// ... | |
endclass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment