[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
  SVN::S4
  SystemPerl
  Voneline
  WFH
General Info
  Papers

Issue #280

Can't trace signals with leading underscores.

Added by Jason McMullan almost 3 years ago. Updated over 2 years ago.

Status:ClosedStart date:08/28/2010
Priority:NormalDue date:
Assignee:Wilson Snyder% Done:

0%

Category:Invoking/Options
Target version:-

Description

I'm working with an existing (large) design that has a common idiom of using an underscore ('_') prefix for wires/regs that are active low.

Current head-of-line Verilator does not emit these signals in the VCD trace, but does emit all other signals.

Is there an option to set (or a patch I can apply) to permit Verilator to trace and dump signals that start with an underscore?

verilator.patch Magnifier (7.12 KB) Jason McMullan, 08/29/2010 03:54 pm

History

#1 Updated by Wilson Snyder almost 3 years ago

  • Status changed from New to Assigned

Would you like to attempt adding an option, say -trace-underscore, yourself?

Search for "Leading Underscore" and the next 3 lines in V3Trace.cpp. Then add a accessor to V3Option.h and parse it in V3Option.cpp, and document in bin/verilator. The options are in alphabetical order.

#2 Updated by Jason McMullan almost 3 years ago

Patch attached, versus verilator_3_803

#3 Updated by Wilson Snyder almost 3 years ago

  • Category set to Invoking/Options
  • Assignee set to Wilson Snyder

Perfect! I forgot about coverage, glad you added that too.

Pushed to git for next release.

I may make tracing _'s the default, but want to wait a few releases for this switch to exist so people can migrate.

#4 Updated by Wilson Snyder almost 3 years ago

  • Status changed from Assigned to Resolved

#5 Updated by Wilson Snyder over 2 years ago

  • Status changed from Resolved to Closed

In 3.804.

Also available in: Atom PDF