verilog-mode icon indicating copy to clipboard operation
verilog-mode copied to clipboard

Backslash inside quotes for uvm_info/error messages

Open veripoolbot opened this issue 9 years ago • 1 comments


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 avatar Jul 13 '16 08:07 veripoolbot


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?

veripoolbot avatar Nov 19 '17 13:11 veripoolbot