Jump to content
wszhong631

how to comprehend the naming of the current component ruleset?

Recommended Posts

Hi!
 

uvm_component_name_check_visitor

 

This specialized visitor analyze the naming of the current component.  The established rule set ensures that a component.get_full_name() is parsable, unique, printable to order to avoid any ambiguities when messages are being emitted.

ruleset a legal name is composed of

  • allowed charset “A-z:_0-9[](){}-: “
  • whitespace-as-is, no-balancing delimiter semantic, no escape sequences
  • path delimiter not allowed anywhere in the name

whether the name abc:_[] is legal or not ?how to use it?

Share this post


Link to post
Share on other sites

hi,

 

the check is enabled by default. all names of uvm_component instances are checked against this pattern. if you violate it you should be getting a warning. 

 

/uwe

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×