[logo] 
 
Home
News
Activity
About/Contact
Major Tools
  Dinotrace
  Verilator
  Verilog-mode
  Verilog-Perl
Other Tools
  BugVise
  CovVise
  Force-Gate-Sim
  Gspice
  IPC::Locker
  Rsvn
  Schedule::Load
  SVN::S4
  Synopsys-modes
  SystemPerl
  Verilog-Pli
  Voneline
  Vregs
General Info
  Papers

AUTO_TEMPLATE - upcase char that grabbed from instance name

Added by Amir peleg over 1 year ago

Hi , Im trying to upcase the @ Variable as following

/*
    ctrl2 AUTO_TEMPLATE "\([a-zA-Z]+$\)" 
                         (
                .apb_prdata        (prdata[`APB_INTC_@_PORT]), // I would like that the @ will be in upper case
                            .apb_\([a-z]\)      (\1_@),    // here i need it to be same as grabbed         
 );
*/

ctrl2 
    ctrl2_h (/*AUTOINST*/);

ctrl2 
    ctrl2_l (/*AUTOINST*/);

Please Advice Thanks


Replies (1)

RE: AUTO_TEMPLATE - upcase char that grabbed from instance name - Added by Wilson Snyder over 1 year ago

Use the lisp option, something like:

(@"(upcase \\"`abc_intc_@_port\\")),

(1-1/1)