[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

Issue #391

Class callback

Added by Jon Nall 8 months ago. Updated 7 months ago.

Status:Closed Start date:09/15/2011
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

Hi, Wilson. Similar to Issue 361 (covergroup), I'd now like to get a callback for class definitions.

Here's a reproducer:
class myclass;
    rand integer somevar;
    constraint  myclass_cons 
    {
        somevar dist { [100:105] :/ 40, [500:600] :/ 40, [1000:1100] :/ 10 };
    }
endclass  // myclass

module reproducer();
    myclass myclass_inst;
endmodule
This is what I saw from the var & module callbacks:
var([K: var][N: somevar][O: class][N: ][D: rand integer][A: ])
module(K: module, N: reproducer, S: , C: 0)
var([K: var][N: myclass_inst][O: module][N: ][D: myclass][A: ])

I don't see any "class" callback listed in SigParser.pm. I'm using version 3.310.

Am I just missing something or is this missing functionality?

Thanks!

History

Updated by Wilson Snyder 8 months ago

  • Status changed from New to Resolved

Straightforward enough. Fixed in git towards 3.311.

Updated by Wilson Snyder 7 months ago

  • Status changed from Resolved to Closed

In 3.311.

Also available in: Atom