File size: 875 Bytes
123e810
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# SV: post/pre randomize return value check - COMPAT issue

- Source URL: https://github.com/AsFigo/pyslint/issues/139

```verilog
class gen_c;
  rand bit b;

  function pre_randomize();
  endfunction

  function post_randomize();
  endfunction
endclass : gen_c
```

Above code works fine in one but not in all others.

## PR Content from GitHub

# Pull Request #140 Summary

**PR Title:** Added rule to address issue 139

**PR Description Body:**
The page does not display a full description body beyond the title. The only substantive comment is: "Fixes #139"

**PR Comments:**
- **Author: svenka3** - "Fixes #139"

**Linked Issue #139:**
**Title:** "SV: post/pre randomize return value check - COMPAT issue"

**Issue Body:**
Not provided in the extracted content.

**Status:** This PR was merged by svenka3 on November 29, 2023, into the main branch from the i139 branch.