Jump to content

enable_print_topology


Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

  • 2 weeks later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...