[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

vrename help

Added by Jon Stahl 11 months ago

Hi,

Thanks for the nice tool. I would like to use vrename to automatically crypt all the signals except ports of a verilog file. It seems like there may be a way to do this by redefining use_cb_ports to something other than the use_vars. But I'm having a hard time figuring out the proper perl syntax and location to implement this.

Any help appreciated.

Thanks, Jon


Replies (1)

RE: vrename help - Added by Wilson Snyder 11 months ago

vrename just does text based replacements. However you can write a script to read the I/Os of the top module (see man Verilog::netlist), and then just have that script print out

sigren "{sig}" "{sig}"

then concat that file onto the crypted signals.vrename file, and feed it into vrename for the final pass. (Thus this will override the crypted suggestions for those signals.)

(1-1/1)