Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backslash inside quotes for uvm_info/error messages #1074

Open
veripoolbot opened this issue Jul 13, 2016 · 1 comment
Open

Backslash inside quotes for uvm_info/error messages #1074

veripoolbot opened this issue Jul 13, 2016 · 1 comment
Labels

Comments

@veripoolbot
Copy link
Collaborator


Author Name: Rajendra O
Original Redmine Issue: 1074 from https://www.veripool.org


Hi,
I observed that auto-indentation is not possible if one tries to auto-indent the uvm_info/error messages with messages in quotes.
For example see the below statement

                  if (pd_intf.pd_bias[ch_num] === 1'b1) begin
                     `uvm_error("asic_tx_monitor",$sformatf("pd_bias is set to 1'b1 by DUT in  : %s mode \
                                                             while it is disabled/masked from register", pcie_pd_trans.name() ) )

The error I get is Scan Error : "Unbalance parantheses"

Can this be rectified?

thanks,
Rajendra

@veripoolbot
Copy link
Collaborator Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2017-11-19T13:33:51Z


Still a problem, perhaps someone would like to contribute a patch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant