Issue #391
Class callback
| 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.
Also available in: Atom
![[logo]](/img/veripool_small.png)