R_C1363912821 Posted March 29, 2011 Report Share Posted March 29, 2011 Hi All, I have a example that has been modified from OVM to UVM 1.0. Though the example works well but the issue is topology is not printed in case of UVM (as it used to be in OVM). ovm_top.enable_print_topology = 1; has been replaced with uvm_top.enable_print_topology = 1; in sample_test::build_phase Using uvm_top.print_topology(); prints ---------------------------------- # Name Type Size Value # ---------------------------------- # uvm_test_top sample_test - @455 # env_h sample_env - @464 # ---------------------------------- I am looking for complete topology including all components, sequencer details etc. Any Suggestion? Thanks, RC Quote Link to comment Share on other sites More sharing options...
janick Posted March 30, 2011 Report Share Posted March 30, 2011 This functionality was accidentally taken out in UVM 1.0. A Mantis has already been filed and it should be fixed in UVM 1.1 As a work-around, you can call uvm_root::print_topology() in your top-level environment's end_of_elaboration_phase() method. Quote Link to comment Share on other sites More sharing options...
R_C1363912821 Posted March 30, 2011 Author Report Share Posted March 30, 2011 Thanks for quick response Janick. It works, however there are few differences when UVM topology is compared with OVM topology e.g. for sequencer default sequence, count, sequences associated with sequencer are missing. OVM and UVM topology are copied below (for similar environment): # ---------------------------------------------------------------------- # Name Type Size Value # ---------------------------------------------------------------------- # ovm_test_top my_test - ovm_test_top@1 # m_env my_env - m_env@3 # m_driver my_driver - m_driver@5 # rsp_port ovm_analysis_port - rsp_port@9 # sqr_pull_port ovm_seq_item_pull_+ - sqr_pull_port@7 # m_sequencer my_sequencer - m_sequencer@11 # rsp_export ovm_analysis_export - rsp_export@13 # seq_item_export ovm_seq_item_pull_+ - seq_item_export@37 # default_sequence string 19 ovm_random_sequence # count integral 32 -1 # max_random_count integral 32 'd10 # sequences array 3 - # [0] string 19 ovm_random_sequence # [1] string 23 ovm_exhaustive_sequ+ # [2] string 19 ovm_simple_sequence # max_random_depth integral 32 'd4 # num_last_reqs integral 32 'd1 # num_last_rsps integral 32 'd1 # ---------------------------------------------------------------------- # ------------------------------------------------------------ # Name Type Size Value # ------------------------------------------------------------ # uvm_test_top my_test - @455 # m_env my_env - @464 # m_driver my_driver - @472 # rsp_port uvm_analysis_port - @487 # sqr_pull_port uvm_seq_item_pull_port - @479 # m_sequencer my_sequencer - @495 # rsp_export uvm_analysis_export - @502 # seq_item_export uvm_seq_item_pull_imp - @596 # arbitration_queue array 0 - # lock_queue array 0 - # num_last_reqs integral 32 'd1 # num_last_rsps integral 32 'd1 # ------------------------------------------------------------ Do i need to modify something to display that? Quote Link to comment Share on other sites More sharing options...
janick Posted March 30, 2011 Report Share Posted March 30, 2011 UVM is not OVM so you can expect some differences. The default_sequence, count and max_random_count in sequencer have been deprecated. Quote Link to comment Share on other sites More sharing options...
R_C1363912821 Posted April 8, 2011 Author Report Share Posted April 8, 2011 Janick, Thanks for update. Quote Link to comment Share on other sites More sharing options...
krb Posted April 15, 2011 Report Share Posted April 15, 2011 Hi Janick, Is there a migration guide from uvm1.0ea (or ovm) to uvm1.0p1 ? Thanks, Quote Link to comment Share on other sites More sharing options...
krb Posted April 17, 2011 Report Share Posted April 17, 2011 Hi, If anyone else is interested in the main differences between uvm1.0ea and uvm1.0p1, they are listed in "release-notes.txt" in the uvm tar.gz file that we can download from uvmworld. krb 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.