Zanehpn commited on
Commit
c124037
·
verified ·
1 Parent(s): a86ad3f

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. snapshots/AsFigo_pyslint_pr140/.github/ISSUE_TEMPLATE/bug_report.md +26 -0
  2. snapshots/AsFigo_pyslint_pr140/.github/ISSUE_TEMPLATE/feature-request.md +20 -0
  3. snapshots/AsFigo_pyslint_pr140/exec_dir/Makefile +94 -0
  4. snapshots/AsFigo_pyslint_pr140/exec_dir/pyslint.log +859 -0
  5. snapshots/AsFigo_pyslint_pr140/py_src/pyslint.py +857 -0
  6. snapshots/AsFigo_pyslint_pr140/sv_tests/AxiPC.sv +0 -0
  7. snapshots/AsFigo_pyslint_pr140/sv_tests/FPGA_Design_Rules/Fail/fail.txt +1 -0
  8. snapshots/AsFigo_pyslint_pr140/sv_tests/FPGA_Design_Rules/Pass/pass.txt +1 -0
  9. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/MultiBitPosedge_f.sv +8 -0
  10. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/blocking_inside_always_f.sv +14 -0
  11. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/comparition_always_evalto_sameresult_f.sv +18 -0
  12. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/dangling_else_new_f.sv +23 -0
  13. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/dff_latch_f.sv +10 -0
  14. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/empty_if_new_f.sv +11 -0
  15. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/empty_loop_f.sv +8 -0
  16. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/enum_setmembership_ops_f.sv +22 -0
  17. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/header_guard_f.sv +16 -0
  18. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/implicit_conversion_f.sv +13 -0
  19. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/implicit_params_f.sv +15 -0
  20. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/misleading_if_else_indentation_f.sv +17 -0
  21. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/missing_return_f.sv +11 -0
  22. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/self_assign_f.sv +8 -0
  23. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/shadowing_names_f.sv +12 -0
  24. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/signedness_f.sv +9 -0
  25. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/string_literal_f.sv +14 -0
  26. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/switch_cov_enum_f.sv +16 -0
  27. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/uninitialized_vars_in_constexp_f.sv +10 -0
  28. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/unreachable_code_f.sv +11 -0
  29. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/unused_field_f.sv +14 -0
  30. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/unused_function_f.sv +17 -0
  31. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/unused_parameter_f.sv +13 -0
  32. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/unused_typedef_f.sv +15 -0
  33. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/unused_variable_f.sv +11 -0
  34. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/upward_name_f.sv +13 -0
  35. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/MultiBitPosedge_p.sv +12 -0
  36. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/blocking_inside_always_p.sv +15 -0
  37. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/comparition_always_evalto_sameresult_p.sv +18 -0
  38. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/dangling_else_new_p.sv +24 -0
  39. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/dff_latch_p.sv +12 -0
  40. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/empty_if_new_p.sv +11 -0
  41. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/empty_loop_p.sv +9 -0
  42. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/enum_setmembership_ops_p.sv +21 -0
  43. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/header_guard_p.sv +22 -0
  44. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/implicit_conversion_p.sv +14 -0
  45. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/implicit_params_p.sv +15 -0
  46. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/misleading_if_else_indentation_p.sv +17 -0
  47. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/missing_return_p.sv +13 -0
  48. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/self_assign_p.sv +8 -0
  49. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/shadowing_names_p.sv +12 -0
  50. snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/signedness_p.sv +9 -0
snapshots/AsFigo_pyslint_pr140/.github/ISSUE_TEMPLATE/bug_report.md ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: ''
5
+ labels: ''
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Describe the bug/issue**
11
+ A clear and concise description of what the bug is. Specifically if you disagree with a PySlint Violation, mention the specific RULE_ID (e.g. I expected the rule NAME_AST_PREFIX not to fire on this assertion as the label is correct).
12
+
13
+ **To Reproduce**
14
+ Steps to reproduce the behavior:
15
+ 1. python3 ../py_src/pyslint.py -t ../sv_tests/my_issue.sv
16
+
17
+ Add sample log below
18
+
19
+ **Expected behavior**
20
+ A clear and concise description of what you expected to happen.
21
+
22
+ Either you did NOT expect this Violation or you expected a Violation to be flagged, but unfortunately, PySlint did not flag it.
23
+
24
+
25
+ **Additional context**
26
+ Add any other context about the problem here.
snapshots/AsFigo_pyslint_pr140/.github/ISSUE_TEMPLATE/feature-request.md ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this project
4
+ title: ''
5
+ labels: ''
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your feature request related to a new rule? Please describe.**
11
+ A clear and concise description of what the rule you want to see being implemented.
12
+
13
+ **Describe the solution you'd like**
14
+ A clear and concise description of what you want to happen.
15
+
16
+ **Describe alternatives you've considered**
17
+ A clear and concise description of any alternative solutions or features you've considered.
18
+
19
+ **Additional context**
20
+ Add any other context or screenshots about the feature request here.
snapshots/AsFigo_pyslint_pr140/exec_dir/Makefile ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ run: naming
2
+
3
+ naming:
4
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_01_p.sv > pyslint.log
5
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_cg_arr_bin_default_f.sv >> pyslint.log
6
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_cg_ill_bins_f.sv >> pyslint.log
7
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_cg_type_opt_f.sv >> pyslint.log
8
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_cnst_arr_method.sv >> pyslint.log
9
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_dpi_openar_1_p.c >> pyslint.log
10
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_dpi_openar_1_p.sv >> pyslint.log
11
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_dpi_rval_2st_f.sv >> pyslint.log
12
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_dpi_spec_str_f.sv >> pyslint.log
13
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_enum_inside_mod_f.sv >> pyslint.log
14
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_02_f.sv >> pyslint.log
15
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_03_p.sv >> pyslint.log
16
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_04_f.sv >> pyslint.log
17
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_05_p.sv >> pyslint.log
18
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_06_f.sv >> pyslint.log
19
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_07_p.sv >> pyslint.log
20
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_08_f.sv >> pyslint.log
21
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_09_p.sv >> pyslint.log
22
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_10_f.sv >> pyslint.log
23
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_11_f.sv >> pyslint.log
24
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_12_f.sv >> pyslint.log
25
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_13_f.sv >> pyslint.log
26
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_14_p.sv >> pyslint.log
27
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_15_f.sv >> pyslint.log
28
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_16_f.sv >> pyslint.log
29
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_17_f.sv >> pyslint.log
30
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_18_f.sv >> pyslint.log
31
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_19_f.sv >> pyslint.log
32
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_20_p.sv >> pyslint.log
33
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_21_f.sv >> pyslint.log
34
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_22_f.sv >> pyslint.log
35
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_23_f.sv >> pyslint.log
36
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_naming_24_f.sv >> pyslint.log
37
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_proc_conc_in_fe_f.sv >> pyslint.log
38
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_proc_conc_in_for_loop_f.sv >> pyslint.log
39
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_proc_conc_in_while_f.sv >> pyslint.log
40
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_qual_1_p.sv >> pyslint.log
41
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_qual_2_p.sv >> pyslint.log
42
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_qual_cg_cv32e40x_mod_p.sv >> pyslint.log
43
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_wc_assoc_array_26_f.sv >> pyslint.log
44
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_uvm_driver_param.sv >> pyslint.log
45
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_sva_emp_mat_f.sv >> pyslint.log
46
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_sva_emp_mat_1_f.sv >> pyslint.log
47
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_sva_emp_mat_2_f.sv >> pyslint.log
48
+ python3 ../py_src/pyslint.py -t ../sv_tests/AxiPC.sv >> pyslint.log
49
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_reuse_one_cl_def_27_f.sv >> pyslint.log
50
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_reuse_one_cl_def_27_p.sv >> pyslint.log
51
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_reuse_one_mod_def_27_f.sv >> pyslint.log
52
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_reuse_one_mod_def_27_p.sv >> pyslint.log
53
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue92_auto_var.sv >> pyslint.log
54
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue94_counter.sv >> pyslint.log
55
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_106_f.sv >> pyslint.log
56
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_108_f.sv >> pyslint.log
57
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_109_f.sv >> pyslint.log
58
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_110_f.sv >> pyslint.log
59
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_111_f.sv >> pyslint.log
60
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_112_f.sv >> pyslint.log
61
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_113_f.sv >> pyslint.log
62
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_114_f.sv >> pyslint.log
63
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_115_f.sv >> pyslint.log
64
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_118_inters.sv >> pyslint.log
65
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_119_local_var.sv >> pyslint.log
66
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_120_seq_untyped.sv >> pyslint.log
67
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_121_temp.sv >> pyslint.log
68
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_122_test2_5_4.sv >> pyslint.log
69
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_123_test_models_temp.sv >> pyslint.log
70
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_124_test_vacurity.sv >> pyslint.log
71
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_125_unexpectedA_5_2.sv >> pyslint.log
72
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_126_unexpectedB_5_2.sv >> pyslint.log
73
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_127_unique_m.sv >> pyslint.log
74
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_128_uvm_sva_ex.sv >> pyslint.log
75
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_90_f.sv >> pyslint.log
76
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_92_auto_var.sv >> pyslint.log
77
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_93_f.sv >> pyslint.log
78
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_94_counter.sv >> pyslint.log
79
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_96_f.sv >> pyslint.log
80
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_issue_35.sv >> pyslint.log
81
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_issue_35_1.sv >> pyslint.log
82
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_issue_37.sv >> pyslint.log
83
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_issue_37_1.sv >> pyslint.log
84
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_issue_37_2.sv >> pyslint.log
85
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_issue_37_3.sv >> pyslint.log
86
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_issue_40.sv >> pyslint.log
87
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_issue_41.sv >> pyslint.log
88
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_issue_42.sv >> pyslint.log
89
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_sv_issue_49_f.sv >> pyslint.log
90
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_136_f.sv >> pyslint.log
91
+ python3 ../py_src/pyslint.py -t ../sv_tests/test_issue_137_f.sv >> pyslint.log
92
+
93
+ cat pyslint.log
94
+
snapshots/AsFigo_pyslint_pr140/exec_dir/pyslint.log ADDED
@@ -0,0 +1,859 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ PySlint: Violation: [PERF_CG_NO_ABIN_W_DEF_CL]: Found Array-bins:
2
+ covergroup: cg_with_arr_def
3
+ coverpoint: i
4
+ BIN: others
5
+ bins others[] = default;
6
+
7
+ While IEEE 1800 LRM allows this syntax, this is bad for Performance aspect as it ends up creating large number of bins. Recommended to remove this bin.
8
+ PySlint: Violation: [REUSE_CG_NO_ILBINS_CL]: Found 'illegal_bins' under user-defined bins:
9
+ covergroup: cg_o_sig for coverpoint: cpt_osig : o_sig_8b invalid_vals
10
+ While IEEE 1800 LRM allows this syntax, this is bad for REUSE aspect as it does not flag as UVM_ERROR or $error.
11
+ Also if coverage is turned OFF, this error is likely to go unflagged. Recommended to use 'ignore_bins' instead
12
+ from coverage perspective and add SVA or scoreboard for illegal values.
13
+ PySlint: Violation: [COMPAT_CG_OPT_PI_CL]: Found 'type_option.per_instance' inside a covergroup: cg_o_sig
14
+ IEEE 1800 LRM does not allow such usage though some tools do compile.
15
+ To avoid compatibility issues, please move the per_instance to 'option.per_instance '
16
+ PySlint: Violation: [FUNC_CNST_MISSING_CAST]: Potentially incorrect constraint expression! An expression involving the array-reduction methods sum()/product()/and()/or()/xor() was found, but is missing an explicit cast. This can lead to strange results as array reduction methods return an expression of the size of its elements, check if you need a with (int'( cast around the following expression:
17
+ num_list.sum()
18
+ PySlint: Violation: [FUNC_CNST_MISSING_CAST]: Potentially incorrect constraint expression! An expression involving the array-reduction methods sum()/product()/and()/or()/xor() was found, but is missing an explicit cast. This can lead to strange results as array reduction methods return an expression of the size of its elements, check if you need a with (int'( cast around the following expression:
19
+ num_list.and()
20
+ PySlint: Violation: [FUNC_CNST_MISSING_CAST]: Potentially incorrect constraint expression! An expression involving the array-reduction methods sum()/product()/and()/or()/xor() was found, but is missing an explicit cast. This can lead to strange results as array reduction methods return an expression of the size of its elements, check if you need a with (int'( cast around the following expression:
21
+ num_list.xor()
22
+ PySlint: Violation: [FUNC_CNST_MISSING_CAST]: Potentially incorrect constraint expression! An expression involving the array-reduction methods sum()/product()/and()/or()/xor() was found, but is missing an explicit cast. This can lead to strange results as array reduction methods return an expression of the size of its elements, check if you need a with (int'( cast around the following expression:
23
+ num_list.product()
24
+ PySlint: Violation: [FUNC_DPI_NO_4STATE_IN_RETURN]: DPI functions shall use 2-state types in return value. Using 4-state type can lead to unnecessary complication as C-side does not naturally support 4-state value system Found code as:
25
+
26
+ import "DPI-C" function integer c_sum(input bit [31:0] input_array[]);
27
+ PySlint: Violation: [COMPAT_DPI_OLD_SPECSTR]: Wrong Spec-STR in DPI declaration IEEE 1800-2012 specifies "DPI-C" as Spec-STR. Found code as:
28
+
29
+ import "DPI" function int c_sum(input bit [31:0] input_array[]);
30
+ PySlint: Violation: [REUSE_NO_TDEF_IN_MOD]: A typedef was found inside a module This prevents reuse as the enum/typedef scope is module only An assertion model that binds to this module and check the states using the typedef will be harder to implement in such cases. Please move the typedef to a package and import that package inside the module
31
+ typedef enum logic [1:0] {S0, S1, S2} state_t;
32
+ PySlint: Violation: [NAME_INTF_SUFFIX]: Improper naming of identifier: af_sv_intf_bad: expected suffix: _if
33
+ PySlint: Violation: [NAME_CLASS_SUFFIX]: Improper naming of identifier: af_bad_class_name: expected suffix: _c
34
+ PySlint: Violation: [NAME_CG_PREFIX]: Improper naming of identifier: bad_group_name: expected prefix: cg_
35
+ PySlint: Violation: [NAME_CG_PREFIX]: Improper naming of identifier: bad_group_name: expected prefix: cg_
36
+ PySlint: Violation: [SVA_MISSING_LABEL]: Unnamed assumption - use a meaningful label:
37
+ // BAD - unnamed SVA
38
+ assert property (@(posedge clk) var1)
39
+ else $error ("Bad style - unnamed SVA");
40
+ PySlint: Violation: [SVA_MISSING_LABEL]: Unnamed assumption - use a meaningful label:
41
+ // BAD - unnamed SVA
42
+ assert property (@(posedge clk) var1)
43
+ else $error ("Bad style - unnamed SVA");
44
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: bad_sva_label: expected prefix: a_
45
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
46
+ // BAD - missing FAIL action block in SVA
47
+ a_var1 : assert property (@(posedge clk) var1);
48
+ PySlint: Violation: [SVA_NO_PASS_AB]: Avoid using PASS Action block - likely to cause too many vacuous prints:
49
+ // BAD - avoid using PASS action block in SVA
50
+ // It usually leads to too many vacuous prints
51
+ a_var1 : assert property (@(posedge clk) var1)
52
+ begin : pass_ab
53
+ $info ("Pass Action Block");
54
+ end : pass_ab
55
+ else $error ("Fail AB");
56
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: bad_name: expected prefix: p_
57
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: p_good_name
58
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: bad_name: expected prefix: p_
59
+ PySlint: Violation: [NAME_ASM_PREFIX]: Improper naming of assume directive: wrong_label: expected prefix: m_
60
+ PySlint: Violation: [NAME_COV_PREFIX]: Improper naming of cover directive: wrong_label: expected prefix: c_
61
+ PySlint: Violation: [CL_METHOD_NOT_EXTERN]: method is not declared extern: should_have_been_extern
62
+ PySlint: Violation: [CL_MISSING_ENDLABEL]: Missing End Label for class: ex_c
63
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
64
+ a_new : assert property ((@posedge clk) p_req_cycle
65
+ PySlint: Violation: [SVA_NO_PASS_AB]: Avoid using PASS Action block - likely to cause too many vacuous prints:
66
+ a_new : assert property ((@posedge clk) p_req_cycle
67
+ PySlint: Violation: [NAME_CLASS_SUFFIX]: Improper naming of identifier: randvar: expected suffix: _c
68
+ PySlint: Violation: [CL_MISSING_ENDLABEL]: Missing End Label for class: randvar
69
+ PySlint: Violation: [COMPAT_SVA_NO_CONC_IN_FE]: A procedural concurrent assertion was found inside a forever loop; IEEE 1800 LRM does not allow such usage though some tools do compile To avoid compatibility issues, please remodel the code:
70
+ forever_asrt: assert property(forever_pp);
71
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: always_pp: expected prefix: p_
72
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: always_pp
73
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: forever_pp: expected prefix: p_
74
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: forever_pp
75
+ PySlint: Violation: [COMPAT_SVA_NO_CONC_IN_FE]: A procedural concurrent assertion was found inside a forever loop; IEEE 1800 LRM does not allow such usage though some tools do compile To avoid compatibility issues, please remodel the code:
76
+ forever_asrt: assert property(forever_pp);
77
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: always_pp: expected prefix: p_
78
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: always_pp
79
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: forever_pp: expected prefix: p_
80
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: forever_pp
81
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: always_pp: expected prefix: p_
82
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: always_pp
83
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: a_imp_b: expected prefix: p_
84
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: a_imp_b
85
+ PySlint: Violation: [CL_METHOD_NOT_EXTERN]: method is not declared extern: disp
86
+ PySlint: Violation: [REUSE_NO_WILDC_AA_CL]: Found an associative array declaration with wild-card as key
87
+
88
+ string fruits[*];
89
+ This is bad for reuse as it does not allow 'foreach' iterator and other handy built-in functions.
90
+ Consider using a typed key such as int/string etc.
91
+ PySlint: Violation: [NAME_CLASS_SUFFIX]: Improper naming of identifier: alu_driver: expected suffix: _c
92
+ PySlint: Violation: [CL_METHOD_NOT_EXTERN]: method is not declared extern: build_phase
93
+ PySlint: Violation: [CL_METHOD_NOT_EXTERN]: method is not declared extern: connect_phase
94
+ PySlint: Violation: [CL_METHOD_NOT_EXTERN]: method is not declared extern: run_phase
95
+ PySlint: Violation: [CL_METHOD_NOT_EXTERN]: method is not declared extern: drive
96
+ PySlint: Violation: [NAME_CLASS_SUFFIX]: Improper naming of identifier: extension: expected suffix: _c
97
+ PySlint: Violation: [CL_MISSING_ENDLABEL]: Missing End Label for class: extension
98
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: ab: expected prefix: p_
99
+ PySlint: Violation: [COMPAT_SVA_NO_DEGEN_CONSEQ]: Empty match ([*0] or variants) found in a property expression.
100
+ Though some compilers allow this, IEEE 1800 LRM prevents such usage, so for maximum compatibility across EDA
101
+ tools and LRM compliance, please remove the empty match.
102
+ a |=> b[=0]
103
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: ab
104
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
105
+ a_p_ab : assert property (ab);
106
+ PySlint: Violation: [COMPAT_SVA_NO_DEGEN_CONSEQ]: Empty match ([*0] or variants) found in a property expression.
107
+ Though some compilers allow this, IEEE 1800 LRM prevents such usage, so for maximum compatibility across EDA
108
+ tools and LRM compliance, please remove the empty match.
109
+
110
+ (a[*0])
111
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
112
+ a_p_empty_sequence_1 : assert property (p_empty_sequence_1);
113
+ PySlint: Violation: [COMPAT_SVA_NO_DEGEN_CONSEQ]: Empty match ([*0] or variants) found in a property expression.
114
+ Though some compilers allow this, IEEE 1800 LRM prevents such usage, so for maximum compatibility across EDA
115
+ tools and LRM compliance, please remove the empty match.
116
+
117
+ (a |-> a[*0:3])
118
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
119
+ a_p_empty_sequence_2 : assert property (empty_sequence_2);
120
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWADDR_BOUNDARY: expected prefix: p_
121
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWADDR_BOUNDARY
122
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awaddr_boundary: expected prefix: a_
123
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWADDR_WRAP_ALIGN: expected prefix: p_
124
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWADDR_WRAP_ALIGN
125
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awaddr_wrap_align: expected prefix: a_
126
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWBURST: expected prefix: p_
127
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWBURST
128
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awburst: expected prefix: a_
129
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWCACHE: expected prefix: p_
130
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWCACHE
131
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awcache: expected prefix: a_
132
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWLEN_WRAP: expected prefix: p_
133
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWLEN_WRAP
134
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awlen_wrap: expected prefix: a_
135
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWLOCK: expected prefix: p_
136
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWLOCK
137
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awlock: expected prefix: a_
138
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWLOCK_END: expected prefix: p_
139
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWLOCK_END
140
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awlock_end: expected prefix: a_
141
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWLOCK_ID: expected prefix: p_
142
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWLOCK_ID
143
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awlock_id: expected prefix: a_
144
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWLOCK_LAST: expected prefix: p_
145
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWLOCK_LAST
146
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awlock_last: expected prefix: a_
147
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWLOCK_START: expected prefix: p_
148
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWLOCK_START
149
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awlock_start: expected prefix: a_
150
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWSIZE: expected prefix: p_
151
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWSIZE
152
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awsize: expected prefix: a_
153
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWVALID_RESET: expected prefix: p_
154
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWVALID_RESET
155
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awvalid_reset: expected prefix: a_
156
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_RECM_AWLOCK_BOUNDARY: expected prefix: p_
157
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_RECM_AWLOCK_BOUNDARY
158
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_recm_awlock_boundary: expected prefix: a_
159
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_RECM_AWLOCK_CTRL: expected prefix: p_
160
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_RECM_AWLOCK_CTRL
161
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_recm_awlock_ctrl: expected prefix: a_
162
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_RECM_AWLOCK_NUM: expected prefix: p_
163
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_RECM_AWLOCK_NUM
164
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_recm_awlock_num: expected prefix: a_
165
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWADDR_STABLE: expected prefix: p_
166
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWADDR_STABLE
167
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awaddr_stable: expected prefix: a_
168
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWBURST_STABLE: expected prefix: p_
169
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWBURST_STABLE
170
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awburst_stable: expected prefix: a_
171
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWCACHE_STABLE: expected prefix: p_
172
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWCACHE_STABLE
173
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awcache_stable: expected prefix: a_
174
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWID_STABLE: expected prefix: p_
175
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWID_STABLE
176
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awid_stable: expected prefix: a_
177
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWLEN_STABLE: expected prefix: p_
178
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWLEN_STABLE
179
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awlen_stable: expected prefix: a_
180
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWLOCK_STABLE: expected prefix: p_
181
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWLOCK_STABLE
182
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awlock_stable: expected prefix: a_
183
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWPROT_STABLE: expected prefix: p_
184
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWPROT_STABLE
185
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awprot_stable: expected prefix: a_
186
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWSIZE_STABLE: expected prefix: p_
187
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWSIZE_STABLE
188
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awsize_stable: expected prefix: a_
189
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWVALID_STABLE: expected prefix: p_
190
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWVALID_STABLE
191
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awvalid_stable: expected prefix: a_
192
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_RECS_AWREADY_MAX_WAIT: expected prefix: p_
193
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_RECS_AWREADY_MAX_WAIT
194
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_recs_awready_max_wait: expected prefix: a_
195
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWADDR_X: expected prefix: p_
196
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWADDR_X
197
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awaddr_x: expected prefix: a_
198
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWBURST_X: expected prefix: p_
199
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWBURST_X
200
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awburst_x: expected prefix: a_
201
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWCACHE_X: expected prefix: p_
202
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWCACHE_X
203
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awcache_x: expected prefix: a_
204
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWID_X: expected prefix: p_
205
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWID_X
206
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awid_x: expected prefix: a_
207
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWLEN_X: expected prefix: p_
208
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWLEN_X
209
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awlen_x: expected prefix: a_
210
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWLOCK_X: expected prefix: p_
211
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWLOCK_X
212
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awlock_x: expected prefix: a_
213
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWPROT_X: expected prefix: p_
214
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWPROT_X
215
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awprot_x: expected prefix: a_
216
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWSIZE_X: expected prefix: p_
217
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWSIZE_X
218
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awsize_x: expected prefix: a_
219
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWVALID_X: expected prefix: p_
220
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWVALID_X
221
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awvalid_x: expected prefix: a_
222
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_AWREADY_X: expected prefix: p_
223
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_AWREADY_X
224
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_awready_x: expected prefix: a_
225
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_WDATA_NUM: expected prefix: p_
226
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_WDATA_NUM
227
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_wdata_num: expected prefix: a_
228
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_WDATA_ORDER: expected prefix: p_
229
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_WDATA_ORDER
230
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_wdata_order: expected prefix: a_
231
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_WDEPTH: expected prefix: p_
232
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_WDEPTH
233
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_wdepth: expected prefix: a_
234
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_WSTRB: expected prefix: p_
235
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_WSTRB
236
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_wstrb: expected prefix: a_
237
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_WVALID_RESET: expected prefix: p_
238
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_WVALID_RESET
239
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_wvalid_reset: expected prefix: a_
240
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_WDATA_STABLE: expected prefix: p_
241
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_WDATA_STABLE
242
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_wdata_stable: expected prefix: a_
243
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_WID_STABLE: expected prefix: p_
244
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_WID_STABLE
245
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_wid_stable: expected prefix: a_
246
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_WLAST_STABLE: expected prefix: p_
247
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_WLAST_STABLE
248
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_wlast_stable: expected prefix: a_
249
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_WSTRB_STABLE: expected prefix: p_
250
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_WSTRB_STABLE
251
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_wstrb_stable: expected prefix: a_
252
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_WVALID_STABLE: expected prefix: p_
253
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_WVALID_STABLE
254
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_wvalid_stable: expected prefix: a_
255
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_RECS_WREADY_MAX_WAIT: expected prefix: p_
256
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_RECS_WREADY_MAX_WAIT
257
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_recs_wready_max_wait: expected prefix: a_
258
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_WDATA_X: expected prefix: p_
259
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_WDATA_X
260
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_wdata_x: expected prefix: a_
261
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_WID_X: expected prefix: p_
262
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_WID_X
263
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_wid_x: expected prefix: a_
264
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_WLAST_X: expected prefix: p_
265
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_WLAST_X
266
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_wlast_x: expected prefix: a_
267
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_WSTRB_X: expected prefix: p_
268
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_WSTRB_X
269
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_wstrb_x: expected prefix: a_
270
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_WVALID_X: expected prefix: p_
271
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_WVALID_X
272
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_wvalid_x: expected prefix: a_
273
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_WREADY_X: expected prefix: p_
274
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_WREADY_X
275
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_wready_x: expected prefix: a_
276
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_BRESP: expected prefix: p_
277
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_BRESP
278
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_bresp: expected prefix: a_
279
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_BRESP_EXOKAY: expected prefix: p_
280
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_BRESP_EXOKAY
281
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_bresp_exokay: expected prefix: a_
282
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_BVALID_RESET: expected prefix: p_
283
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_BVALID_RESET
284
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_bvalid_reset: expected prefix: a_
285
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_RECS_BRESP: expected prefix: p_
286
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_RECS_BRESP
287
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_recs_bresp: expected prefix: a_
288
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_BID_STABLE: expected prefix: p_
289
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_BID_STABLE
290
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_bid_stable: expected prefix: a_
291
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_BRESP_STABLE: expected prefix: p_
292
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_BRESP_STABLE
293
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_bresp_stable: expected prefix: a_
294
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_BVALID_STABLE: expected prefix: p_
295
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_BVALID_STABLE
296
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_bvalid_stable: expected prefix: a_
297
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_RECM_BREADY_MAX_WAIT: expected prefix: p_
298
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_RECM_BREADY_MAX_WAIT
299
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_recm_bready_max_wait: expected prefix: a_
300
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_BREADY_X: expected prefix: p_
301
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_BREADY_X
302
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_bready_x: expected prefix: a_
303
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_BID_X: expected prefix: p_
304
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_BID_X
305
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_bid_x: expected prefix: a_
306
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_BRESP_X: expected prefix: p_
307
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_BRESP_X
308
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_bresp_x: expected prefix: a_
309
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_BVALID_X: expected prefix: p_
310
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_BVALID_X
311
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_bvalid_x: expected prefix: a_
312
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARADDR_BOUNDARY: expected prefix: p_
313
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARADDR_BOUNDARY
314
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_araddr_boundary: expected prefix: a_
315
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARADDR_WRAP_ALIGN: expected prefix: p_
316
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARADDR_WRAP_ALIGN
317
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_araddr_wrap_align: expected prefix: a_
318
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARBURST: expected prefix: p_
319
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARBURST
320
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arburst: expected prefix: a_
321
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARCACHE: expected prefix: p_
322
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARCACHE
323
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arcache: expected prefix: a_
324
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARLEN_WRAP: expected prefix: p_
325
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARLEN_WRAP
326
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arlen_wrap: expected prefix: a_
327
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARLOCK: expected prefix: p_
328
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARLOCK
329
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arlock: expected prefix: a_
330
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARLOCK_END: expected prefix: p_
331
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARLOCK_END
332
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arlock_end: expected prefix: a_
333
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARLOCK_ID: expected prefix: p_
334
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARLOCK_ID
335
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arlock_id: expected prefix: a_
336
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARLOCK_LAST: expected prefix: p_
337
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARLOCK_LAST
338
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arlock_last: expected prefix: a_
339
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARLOCK_START: expected prefix: p_
340
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARLOCK_START
341
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arlock_start: expected prefix: a_
342
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARSIZE: expected prefix: p_
343
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARSIZE
344
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arsize: expected prefix: a_
345
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARVALID_RESET: expected prefix: p_
346
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARVALID_RESET
347
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arvalid_reset: expected prefix: a_
348
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_RECM_ARLOCK_BOUNDARY: expected prefix: p_
349
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_RECM_ARLOCK_BOUNDARY
350
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_recm_arlock_boundary: expected prefix: a_
351
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_RECM_ARLOCK_CTRL: expected prefix: p_
352
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_RECM_ARLOCK_CTRL
353
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_recm_arlock_ctrl: expected prefix: a_
354
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_RECM_ARLOCK_NUM: expected prefix: p_
355
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_RECM_ARLOCK_NUM
356
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_recm_arlock_num: expected prefix: a_
357
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARADDR_STABLE: expected prefix: p_
358
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARADDR_STABLE
359
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_araddr_stable: expected prefix: a_
360
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARBURST_STABLE: expected prefix: p_
361
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARBURST_STABLE
362
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arburst_stable: expected prefix: a_
363
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARCACHE_STABLE: expected prefix: p_
364
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARCACHE_STABLE
365
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arcache_stable: expected prefix: a_
366
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARID_STABLE: expected prefix: p_
367
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARID_STABLE
368
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arid_stable: expected prefix: a_
369
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARLEN_STABLE: expected prefix: p_
370
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARLEN_STABLE
371
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arlen_stable: expected prefix: a_
372
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARLOCK_STABLE: expected prefix: p_
373
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARLOCK_STABLE
374
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arlock_stable: expected prefix: a_
375
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARPROT_STABLE: expected prefix: p_
376
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARPROT_STABLE
377
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arprot_stable: expected prefix: a_
378
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARSIZE_STABLE: expected prefix: p_
379
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARSIZE_STABLE
380
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arsize_stable: expected prefix: a_
381
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARVALID_STABLE: expected prefix: p_
382
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARVALID_STABLE
383
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arvalid_stable: expected prefix: a_
384
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_RECS_ARREADY_MAX_WAIT: expected prefix: p_
385
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_RECS_ARREADY_MAX_WAIT
386
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_recs_arready_max_wait: expected prefix: a_
387
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARADDR_X: expected prefix: p_
388
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARADDR_X
389
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_araddr_x: expected prefix: a_
390
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARBURST_X: expected prefix: p_
391
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARBURST_X
392
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arburst_x: expected prefix: a_
393
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARCACHE_X: expected prefix: p_
394
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARCACHE_X
395
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arcache_x: expected prefix: a_
396
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARID_X: expected prefix: p_
397
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARID_X
398
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arid_x: expected prefix: a_
399
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARLEN_X: expected prefix: p_
400
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARLEN_X
401
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arlen_x: expected prefix: a_
402
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARLOCK_X: expected prefix: p_
403
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARLOCK_X
404
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arlock_x: expected prefix: a_
405
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARPROT_X: expected prefix: p_
406
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARPROT_X
407
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arprot_x: expected prefix: a_
408
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARSIZE_X: expected prefix: p_
409
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARSIZE_X
410
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arsize_x: expected prefix: a_
411
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARVALID_X: expected prefix: p_
412
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARVALID_X
413
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_arvalid_x: expected prefix: a_
414
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_ARREADY_X: expected prefix: p_
415
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_ARREADY_X
416
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_arready_x: expected prefix: a_
417
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_RDATA_NUM: expected prefix: p_
418
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_RDATA_NUM
419
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_rdata_num: expected prefix: a_
420
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_RID: expected prefix: p_
421
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_RID
422
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_rid: expected prefix: a_
423
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_RRESP_EXOKAY: expected prefix: p_
424
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_RRESP_EXOKAY
425
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_rresp_exokay: expected prefix: a_
426
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_RVALID_RESET: expected prefix: p_
427
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_RVALID_RESET
428
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_rvalid_reset: expected prefix: a_
429
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_RDATA_STABLE: expected prefix: p_
430
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_RDATA_STABLE
431
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_rdata_stable: expected prefix: a_
432
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_RID_STABLE: expected prefix: p_
433
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_RID_STABLE
434
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_rid_stable: expected prefix: a_
435
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_RLAST_STABLE: expected prefix: p_
436
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_RLAST_STABLE
437
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_rlast_stable: expected prefix: a_
438
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_RRESP_STABLE: expected prefix: p_
439
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_RRESP_STABLE
440
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_rresp_stable: expected prefix: a_
441
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_RVALID_STABLE: expected prefix: p_
442
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_RVALID_STABLE
443
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_rvalid_stable: expected prefix: a_
444
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_RECM_RREADY_MAX_WAIT: expected prefix: p_
445
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_RECM_RREADY_MAX_WAIT
446
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_recm_rready_max_wait: expected prefix: a_
447
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_RDATA_X: expected prefix: p_
448
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_RDATA_X
449
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_rdata_x: expected prefix: a_
450
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_RREADY_X: expected prefix: p_
451
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_RREADY_X
452
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_rready_x: expected prefix: a_
453
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_RID_X: expected prefix: p_
454
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_RID_X
455
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_rid_x: expected prefix: a_
456
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_RLAST_X: expected prefix: p_
457
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_RLAST_X
458
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_rlast_x: expected prefix: a_
459
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_RRESP_X: expected prefix: p_
460
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_RRESP_X
461
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_rresp_x: expected prefix: a_
462
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_RVALID_X: expected prefix: p_
463
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_RVALID_X
464
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_rvalid_x: expected prefix: a_
465
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRL_CSYSACK_FALL: expected prefix: p_
466
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRL_CSYSACK_FALL
467
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errl_csysack_fall: expected prefix: a_
468
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRL_CSYSACK_RISE: expected prefix: p_
469
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRL_CSYSACK_RISE
470
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errl_csysack_rise: expected prefix: a_
471
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRL_CSYSREQ_FALL: expected prefix: p_
472
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRL_CSYSREQ_FALL
473
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errl_csysreq_fall: expected prefix: a_
474
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRL_CSYSREQ_RISE: expected prefix: p_
475
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRL_CSYSREQ_RISE
476
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errl_csysreq_rise: expected prefix: a_
477
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRL_CACTIVE_X: expected prefix: p_
478
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRL_CACTIVE_X
479
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errl_cactive_x: expected prefix: a_
480
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRL_CSYSACK_X: expected prefix: p_
481
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRL_CSYSACK_X
482
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errl_csysack_x: expected prefix: a_
483
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRL_CSYSREQ_X: expected prefix: p_
484
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRL_CSYSREQ_X
485
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errl_csysreq_x: expected prefix: a_
486
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_EXCL_ALIGN: expected prefix: p_
487
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_EXCL_ALIGN
488
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_excl_align: expected prefix: a_
489
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_EXCL_LEN: expected prefix: p_
490
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_EXCL_LEN
491
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_excl_len: expected prefix: a_
492
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_RECM_EXCL_MATCH: expected prefix: p_
493
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_RECM_EXCL_MATCH
494
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_recm_excl_match: expected prefix: a_
495
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_EXCL_MAX: expected prefix: p_
496
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_EXCL_MAX
497
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_excl_max: expected prefix: a_
498
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_RECM_EXCL_PAIR: expected prefix: p_
499
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_RECM_EXCL_PAIR
500
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_recm_excl_pair: expected prefix: a_
501
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWUSER_STABLE: expected prefix: p_
502
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWUSER_STABLE
503
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awuser_stable: expected prefix: a_
504
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_WUSER_STABLE: expected prefix: p_
505
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_WUSER_STABLE
506
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_wuser_stable: expected prefix: a_
507
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_BUSER_STABLE: expected prefix: p_
508
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_BUSER_STABLE
509
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_buser_stable: expected prefix: a_
510
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARUSER_STABLE: expected prefix: p_
511
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARUSER_STABLE
512
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_aruser_stable: expected prefix: a_
513
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_RUSER_STABLE: expected prefix: p_
514
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_RUSER_STABLE
515
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_ruser_stable: expected prefix: a_
516
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_AWUSER_X: expected prefix: p_
517
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_AWUSER_X
518
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_awuser_x: expected prefix: a_
519
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_WUSER_X: expected prefix: p_
520
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_WUSER_X
521
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_wuser_x: expected prefix: a_
522
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_BUSER_X: expected prefix: p_
523
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_BUSER_X
524
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_buser_x: expected prefix: a_
525
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRM_ARUSER_X: expected prefix: p_
526
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRM_ARUSER_X
527
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errm_aruser_x: expected prefix: a_
528
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_ERRS_RUSER_X: expected prefix: p_
529
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_ERRS_RUSER_X
530
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_errs_ruser_x: expected prefix: a_
531
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_AUXM_DATA_WIDTH: expected prefix: p_
532
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_AUXM_DATA_WIDTH
533
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_auxm_data_width: expected prefix: a_
534
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_AUXM_ADDR_WIDTH: expected prefix: p_
535
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_AUXM_ADDR_WIDTH
536
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_auxm_addr_width: expected prefix: a_
537
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_AUXM_AWUSER_WIDTH: expected prefix: p_
538
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_AUXM_AWUSER_WIDTH
539
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_auxm_awuser_width: expected prefix: a_
540
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_AUXM_WUSER_WIDTH: expected prefix: p_
541
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_AUXM_WUSER_WIDTH
542
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_auxm_wuser_width: expected prefix: a_
543
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_AUXM_BUSER_WIDTH: expected prefix: p_
544
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_AUXM_BUSER_WIDTH
545
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_auxm_buser_width: expected prefix: a_
546
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_AUXM_ARUSER_WIDTH: expected prefix: p_
547
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_AUXM_ARUSER_WIDTH
548
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_auxm_aruser_width: expected prefix: a_
549
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_AUXM_RUSER_WIDTH: expected prefix: p_
550
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_AUXM_RUSER_WIDTH
551
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_auxm_ruser_width: expected prefix: a_
552
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_AUXM_ID_WIDTH: expected prefix: p_
553
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_AUXM_ID_WIDTH
554
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_auxm_id_width: expected prefix: a_
555
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_AUXM_EXMON_WIDTH: expected prefix: p_
556
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_AUXM_EXMON_WIDTH
557
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_auxm_exmon_width: expected prefix: a_
558
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_AUXM_WDEPTH: expected prefix: p_
559
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_AUXM_WDEPTH
560
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_auxm_wdepth: expected prefix: a_
561
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_AUXM_MAXRBURSTS: expected prefix: p_
562
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_AUXM_MAXRBURSTS
563
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_auxm_maxrbursts: expected prefix: a_
564
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_AUXM_MAXWBURSTS: expected prefix: p_
565
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_AUXM_MAXWBURSTS
566
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_auxm_maxwbursts: expected prefix: a_
567
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_AUXM_RCAM_OVERFLOW: expected prefix: p_
568
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_AUXM_RCAM_OVERFLOW
569
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_auxm_rcam_overflow: expected prefix: a_
570
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_AUXM_RCAM_UNDERFLOW: expected prefix: p_
571
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_AUXM_RCAM_UNDERFLOW
572
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_auxm_rcam_underflow: expected prefix: a_
573
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_AUXM_WCAM_OVERFLOW: expected prefix: p_
574
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_AUXM_WCAM_OVERFLOW
575
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_auxm_wcam_overflow: expected prefix: a_
576
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_AUXM_WCAM_UNDERFLOW: expected prefix: p_
577
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_AUXM_WCAM_UNDERFLOW
578
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_auxm_wcam_underflow: expected prefix: a_
579
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: AXI_AUXM_EXCL_OVERFLOW: expected prefix: p_
580
+ PySlint: Violation: [SVA_MISSING_ENDLABEL]: Missing End Label for property: AXI_AUXM_EXCL_OVERFLOW
581
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: axi_auxm_excl_overflow: expected prefix: a_
582
+ PySlint: Violation: [REUSE_ONE_CL_PER_FILE]: Always use one-class definition per file
583
+ PySlint: Violation: [REUSE_ONE_MOD_PER_FILE]: Always use one-module definition per file
584
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_q_test: expected prefix: a_
585
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
586
+ ap_q_test: assert property(q_test);
587
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: q_req_ack: expected prefix: p_
588
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
589
+ a_q_req_ack : assert property (q_req_ack);
590
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: pCounterMaxed: expected prefix: p_
591
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: apCounterMaxed: expected prefix: a_
592
+ PySlint: Violation: [REUSE_NO_TDEF_IN_MOD]: A typedef was found inside a module This prevents reuse as the enum/typedef scope is module only An assertion model that binds to this module and check the states using the typedef will be harder to implement in such cases. Please move the typedef to a package and import that package inside the module
593
+ typedef logic [WIDTH-1 : 0] word_t;
594
+ PySlint: Violation: [REUSE_NO_TDEF_IN_MOD]: A typedef was found inside a module This prevents reuse as the enum/typedef scope is module only An assertion model that binds to this module and check the states using the typedef will be harder to implement in such cases. Please move the typedef to a package and import that package inside the module
595
+ typedef word_t [0 : (2**BIT_DEPTH-1)] buffer_t;
596
+ PySlint: Violation: [REUSE_ONE_MOD_PER_FILE]: Always use one-module definition per file
597
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_push_error_1: expected prefix: a_
598
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
599
+ ap_push_error_1 : assert property (p_push_error);
600
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_pop_error_1: expected prefix: a_
601
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
602
+ ap_pop_error_1 : assert property (p_pop_error);
603
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_read_data_integrity: expected prefix: a_
604
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
605
+ ap_read_data_integrity : assert property (p_read_data_integrity);
606
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_never_read_on_empty: expected prefix: a_
607
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
608
+ ap_never_read_on_empty : assert property (p_never_read_on_empty);
609
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_write_on_max_buff: expected prefix: a_
610
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
611
+ ap_write_on_max_buff : assert property (p_never_write_on_max_buff);
612
+ PySlint: Violation: [NAME_CLASS_SUFFIX]: Improper naming of identifier: c_xactn: expected suffix: _c
613
+ PySlint: Violation: [REUSE_ONE_MOD_PER_FILE]: Always use one-module definition per file
614
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_read_after_write: expected prefix: a_
615
+ PySlint: Violation: [SVA_NO_PASS_AB]: Avoid using PASS Action block - likely to cause too many vacuous prints:
616
+ ap_read_after_write : assert property (p_read_after_write)
617
+ $info("addr =%h, rdata=%h", $sampled(addr), $sampled(rdata)); else
618
+ $error("addr =%h, rdata=%h", $sampled(addr), $sampled(rdata));
619
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_read_before_write: expected prefix: a_
620
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
621
+ ap_read_before_write : assert property (p_read_before_write);
622
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_read_after_write: expected prefix: a_
623
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
624
+ ap_read_after_write : assert property (p_read_after_write);
625
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_read_before_write: expected prefix: a_
626
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
627
+ ap_read_before_write : assert property (p_read_before_write);
628
+ PySlint: Violation: [SVA_MISSING_LABEL]: Unnamed assumption - use a meaningful label:
629
+ assert property(@(posedge clk) p_never_read_on_empty);
630
+ PySlint: Violation: [SVA_MISSING_LABEL]: Unnamed assumption - use a meaningful label:
631
+ assert property(@(posedge clk) p_never_read_on_empty);
632
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: apxxOK: expected prefix: a_
633
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
634
+ // Asserting on an illegal multiply clocked temporal expression.
635
+ // The clock flow cannot change in the RHS of 'intersect' operator.
636
+ // apxx: assert property(
637
+ // @ (posedge clk) e |-> (a ##1 b) intersect (@ (posedge clk2) c ##1 d)); //
638
+ //
639
+ apxxOK: assert property(
640
+ @ (posedge clk) e |-> (a ##1 b) intersect (e ##1 @ (posedge clk2) c ##1 @ (posedge clk) d));
641
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: P: expected prefix: p_
642
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: P_init: expected prefix: p_
643
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_P: expected prefix: a_
644
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
645
+ ap_P: assert property(P_init);
646
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: P3_OK: expected prefix: p_
647
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_P3: expected prefix: a_
648
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
649
+ ap_P3: assert property(P3_OK);
650
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: P3_Illegal: expected prefix: p_
651
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_Illegal: expected prefix: a_
652
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
653
+ ap_Illegal: assert property(P3_Illegal);
654
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: P4: expected prefix: p_
655
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_P4: expected prefix: a_
656
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
657
+ ap_P4: assert property(P4);
658
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: P5: expected prefix: p_
659
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_P5: expected prefix: a_
660
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
661
+ ap_P5: assert property(P5);
662
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_never_q_logic_untyped: expected prefix: a_
663
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
664
+ // equivalent to (not (a!=b ##2 a8==8'FF) )
665
+ ap_never_q_logic_untyped: assert property(
666
+ not(q_logic_untyped(a, b, a8==8'hFF))
667
+ );
668
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_bits: expected prefix: a_
669
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
670
+ // equivalent to ($rose(e) |-> a ##2 b)
671
+ ap_bits: assert property($rose(e) |-> q_untyped(a, b));
672
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_bits2: expected prefix: a_
673
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
674
+ // equivalent to ( b ##2 a8==d8) |-> f
675
+ ap_bits2: assert property(q_untyped(b, a8==d8) |-> f);
676
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_sequences: expected prefix: a_
677
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
678
+ // equivalent to $rose(f) |-> ($rose(a) ##1 b[->1] ##1 c) ##2 (d==e)
679
+ ap_sequences: assert property($rose(f) |-> q_untyped(q_abc,
680
+ q_mn( d, e)));
681
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_int: expected prefix: a_
682
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
683
+ // equivalent to $rose(e) |-> i==j
684
+ ap_int: assert property($rose(e) |-> q_mn(a8, d8));
685
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: a1: expected prefix: a_
686
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
687
+ // equivalent to e ##2 f[*3:$]
688
+ a1: assert property(q_delay(e, f ,3,50, 2));
689
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_ab: expected prefix: a_
690
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
691
+ ap_ab: assert property (@ (posedge clk)
692
+ disable iff (!go) // if go==0, cancel checking asynchronously
693
+ a |=> b);
694
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: pReqAck: expected prefix: p_
695
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: apReqAck: expected prefix: a_
696
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
697
+ apReqAck : assert property(@ (posedge clk) pReqAck($rose(req), ack, max));
698
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: pAckDone: expected prefix: p_
699
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: apAckDone: expected prefix: a_
700
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
701
+ apAckDone : assert property(@ (posedge clk) pAckDone($rose(ack), xfr, 2));
702
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: apReqAckDoneSuccess: expected prefix: a_
703
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
704
+ apReqAckDoneSuccess: assert property(
705
+ first_match($rose(req) ##[1:5] ack ##[1:100] done)
706
+ |-> (status_reg == 1'b0) );
707
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: apReqAckDoneFail: expected prefix: a_
708
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
709
+ apReqAckDoneFail: assert property(
710
+ $rose(req) |=> !done[*105] |-> (status_reg == 1'b1) );
711
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: vac_true: expected prefix: p_
712
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_vac_true: expected prefix: a_
713
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
714
+ ap_vac_true: assert property(vac_true);
715
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_vac_false: expected prefix: a_
716
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
717
+ ap_vac_false: assert property(not(vac_true));
718
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_vac_not_false: expected prefix: a_
719
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
720
+ ap_vac_not_false: assert property(not(not(vac_true))) count_of_ap_vac_not_false++;
721
+ PySlint: Violation: [SVA_NO_PASS_AB]: Avoid using PASS Action block - likely to cause too many vacuous prints:
722
+ ap_vac_not_false: assert property(not(not(vac_true))) count_of_ap_vac_not_false++;
723
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_reject_on: expected prefix: a_
724
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
725
+ ap_reject_on: assert property(reject_on(1'b1) 1'b1);
726
+ PySlint: Violation: [REUSE_NO_TDEF_IN_MOD]: A typedef was found inside a module This prevents reuse as the enum/typedef scope is module only An assertion model that binds to this module and check the states using the typedef will be harder to implement in such cases. Please move the typedef to a package and import that package inside the module
727
+ typedef enum {IDLE, STATE1, STATE2, STATE3} state_enum;
728
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: UNEXPECTED_PROP: expected prefix: p_
729
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
730
+ a_UNEXPECTED_PROP : assert property (UNEXPECTED_PROP);
731
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: UNEXPECTED_PROP: expected prefix: p_
732
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: UA1: expected prefix: a_
733
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
734
+ UA1: assert property (UNEXPECTED_PROP);
735
+ PySlint: Violation: [REUSE_ONE_MOD_PER_FILE]: Always use one-module definition per file
736
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: p: expected prefix: p_
737
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_active_bus: expected prefix: a_
738
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
739
+ ap_active_bus : assert property(
740
+ disable iff (bus_switch)
741
+ if (bus_select) p
742
+ else p);
743
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_an_an_co: expected prefix: a_
744
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
745
+ ap_an_an_co: assert property(@ (posedge clk)
746
+ a[*1:2] |-> ##[1:3] b |=> c[*1:2]);
747
+ PySlint: Violation: [NAME_ASM_PREFIX]: Improper naming of assume directive: am_an_an_co: expected prefix: m_
748
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_an_an_coFM: expected prefix: a_
749
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
750
+ ap_an_an_coFM: assert property(@ (posedge clk)
751
+ first_match(a[*1:2]) |->
752
+ first_match(##[1:3] b) |=> c[*1:2]);
753
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_q_test: expected prefix: a_
754
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
755
+ ap_q_test: assert property(q_test);
756
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: q_req_ack: expected prefix: p_
757
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
758
+ a_q_req_ack : assert property (q_req_ack);
759
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: pNeverReadWrite: expected prefix: p_
760
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: d17assert: expected prefix: a_
761
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
762
+ d17assert : assert property (pNeverReadWrite);
763
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: pReadSchedule: expected prefix: p_
764
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: d17assert1: expected prefix: a_
765
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
766
+ d17assert1 : assert property (pReadSchedule);
767
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: pWriteSchedule: expected prefix: p_
768
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: d17assert2: expected prefix: a_
769
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
770
+ d17assert2 : assert property (pWriteSchedule);
771
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: d17assert3: expected prefix: a_
772
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
773
+ d17assert3 : assert property (qNewInterrupt);
774
+ PySlint: Violation: [NAME_PROP_PREFIX]: Improper naming of property: pCounterMaxed: expected prefix: p_
775
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: apCounterMaxed: expected prefix: a_
776
+ PySlint: Violation: [NAME_CLASS_SUFFIX]: Improper naming of identifier: generator: expected suffix: _c
777
+ PySlint: Violation: [CL_MISSING_ENDLABEL]: Missing End Label for class: generator
778
+ PySlint: Violation: [NAME_CLASS_SUFFIX]: Improper naming of identifier: gen: expected suffix: _c
779
+ PySlint: Violation: [CL_METHOD_NOT_EXTERN]: method is not declared extern: pre_randomize
780
+ PySlint: Violation: [CL_METHOD_NOT_EXTERN]: method is not declared extern: post_randomize
781
+ PySlint: Violation: [CL_MISSING_ENDLABEL]: Missing End Label for class: gen
782
+ PySlint: Violation: [NAME_CLASS_SUFFIX]: Improper naming of identifier: transaction: expected suffix: _c
783
+ PySlint: Violation: [CL_METHOD_NOT_EXTERN]: method is not declared extern: display
784
+ PySlint: Violation: [CL_METHOD_NOT_EXTERN]: method is not declared extern: copy
785
+ PySlint: Violation: [CL_MISSING_ENDLABEL]: Missing End Label for class: transaction
786
+ PySlint: Violation: [NAME_CLASS_SUFFIX]: Improper naming of identifier: generator: expected suffix: _c
787
+ PySlint: Violation: [CL_METHOD_NOT_EXTERN]: method is not declared extern: run
788
+ PySlint: Violation: [CL_MISSING_ENDLABEL]: Missing End Label for class: generator
789
+ PySlint: Violation: [NAME_CLASS_SUFFIX]: Improper naming of identifier: driver: expected suffix: _c
790
+ PySlint: Violation: [CL_METHOD_NOT_EXTERN]: method is not declared extern: reset
791
+ PySlint: Violation: [CL_METHOD_NOT_EXTERN]: method is not declared extern: run
792
+ PySlint: Violation: [CL_MISSING_ENDLABEL]: Missing End Label for class: driver
793
+ PySlint: Violation: [REUSE_ONE_CL_PER_FILE]: Always use one-class definition per file
794
+ PySlint: Violation: [REUSE_ONE_CL_PER_FILE]: Always use one-class definition per file
795
+ PySlint: Violation: [REUSE_ONE_CL_PER_FILE]: Always use one-class definition per file
796
+ PySlint: Violation: [REUSE_ONE_CL_PER_FILE]: Always use one-class definition per file
797
+ PySlint: Violation: [REUSE_ONE_CL_PER_FILE]: Always use one-class definition per file
798
+ PySlint: Violation: [NAME_CLASS_SUFFIX]: Improper naming of identifier: monitor: expected suffix: _c
799
+ PySlint: Violation: [CL_METHOD_NOT_EXTERN]: method is not declared extern: run
800
+ PySlint: Violation: [CL_MISSING_ENDLABEL]: Missing End Label for class: monitor
801
+ PySlint: Violation: [REUSE_ONE_CL_PER_FILE]: Always use one-class definition per file
802
+ PySlint: Violation: [REUSE_ONE_CL_PER_FILE]: Always use one-class definition per file
803
+ PySlint: Violation: [REUSE_ONE_CL_PER_FILE]: Always use one-class definition per file
804
+ PySlint: Violation: [REUSE_ONE_CL_PER_FILE]: Always use one-class definition per file
805
+ PySlint: Violation: [REUSE_ONE_CL_PER_FILE]: Always use one-class definition per file
806
+ PySlint: Violation: [NAME_CLASS_SUFFIX]: Improper naming of identifier: scoreboard: expected suffix: _c
807
+ PySlint: Violation: [CL_METHOD_NOT_EXTERN]: method is not declared extern: run
808
+ PySlint: Violation: [CL_MISSING_ENDLABEL]: Missing End Label for class: scoreboard
809
+ PySlint: Violation: [REUSE_ONE_CL_PER_FILE]: Always use one-class definition per file
810
+ PySlint: Violation: [REUSE_ONE_CL_PER_FILE]: Always use one-class definition per file
811
+ PySlint: Violation: [REUSE_ONE_CL_PER_FILE]: Always use one-class definition per file
812
+ PySlint: Violation: [REUSE_ONE_CL_PER_FILE]: Always use one-class definition per file
813
+ PySlint: Violation: [REUSE_ONE_CL_PER_FILE]: Always use one-class definition per file
814
+ PySlint: Violation: [NAME_CLASS_SUFFIX]: Improper naming of identifier: environment: expected suffix: _c
815
+ PySlint: Violation: [CL_METHOD_NOT_EXTERN]: method is not declared extern: pre_test
816
+ PySlint: Violation: [CL_METHOD_NOT_EXTERN]: method is not declared extern: test
817
+ PySlint: Violation: [CL_METHOD_NOT_EXTERN]: method is not declared extern: post_test
818
+ PySlint: Violation: [CL_METHOD_NOT_EXTERN]: method is not declared extern: run
819
+ PySlint: Violation: [CL_MISSING_ENDLABEL]: Missing End Label for class: environment
820
+ PySlint: Violation: [REUSE_ONE_CL_PER_FILE]: Always use one-class definition per file
821
+ PySlint: Violation: [REUSE_ONE_CL_PER_FILE]: Always use one-class definition per file
822
+ PySlint: Violation: [REUSE_ONE_CL_PER_FILE]: Always use one-class definition per file
823
+ PySlint: Violation: [REUSE_ONE_CL_PER_FILE]: Always use one-class definition per file
824
+ PySlint: Violation: [REUSE_ONE_CL_PER_FILE]: Always use one-class definition per file
825
+ PySlint: Violation: [NAME_CLASS_SUFFIX]: Improper naming of identifier: distribution: expected suffix: _c
826
+ PySlint: Violation: [CL_MISSING_ENDLABEL]: Missing End Label for class: distribution
827
+ PySlint: Violation: [NAME_CLASS_SUFFIX]: Improper naming of identifier: distribution: expected suffix: _c
828
+ PySlint: Violation: [FUNC_CNST_DIST_COL_EQ]: Potentially incorrect constraint expression! An expression involving dist ColonEquals if found And the range used with ColonEquals is large This is likely to skew the random generation and prevent other values in the dist expression to be generated less-frequently than the large range values Review to check if you intended to use ColonSlash instead of ColonEquals
829
+ data1_bad dist {0:=10, [1:30]:=60}
830
+ PySlint: Violation: [CL_MISSING_ENDLABEL]: Missing End Label for class: distribution
831
+ PySlint: Violation: [NAME_CLASS_SUFFIX]: Improper naming of identifier: data: expected suffix: _c
832
+ PySlint: Violation: [FUNC_CNST_DIST_COL_EQ]: Potentially incorrect constraint expression! An expression involving dist ColonEquals if found And the range used with ColonEquals is large This is likely to skew the random generation and prevent other values in the dist expression to be generated less-frequently than the large range values Review to check if you intended to use ColonSlash instead of ColonEquals field1 dist {[0:31] := 1, [32:65535] := 1}
833
+ PySlint: Violation: [FUNC_CNST_DIST_COL_EQ]: Potentially incorrect constraint expression! An expression involving dist ColonEquals if found And the range used with ColonEquals is large This is likely to skew the random generation and prevent other values in the dist expression to be generated less-frequently than the large range values Review to check if you intended to use ColonSlash instead of ColonEquals field1 dist {[0:31] := 1, [32:65535] := 1}
834
+ PySlint: Violation: [CL_MISSING_ENDLABEL]: Missing End Label for class: data
835
+ PySlint: Violation: [NAME_CLASS_SUFFIX]: Improper naming of identifier: clk: expected suffix: _c
836
+ PySlint: Violation: [CL_MISSING_ENDLABEL]: Missing End Label for class: clk
837
+ PySlint: Violation: [NAME_CLASS_SUFFIX]: Improper naming of identifier: A: expected suffix: _c
838
+ PySlint: Violation: [CL_MISSING_ENDLABEL]: Missing End Label for class: A
839
+ PySlint: Violation: [NAME_CLASS_SUFFIX]: Improper naming of identifier: c: expected suffix: _c
840
+ PySlint: Violation: [CL_MISSING_ENDLABEL]: Missing End Label for class: c
841
+ PySlint: Violation: [FUNC_NO_2STATE_IN_INTF]: Potential DUT bug hiding construct in use: Inside SystemVerilog interface, it is recommended to use only 4-state signals/nets. Found a 2-state declaration as:
842
+ bit bad_2st;
843
+ PySlint: Violation: [FUNC_NO_2STATE_IN_INTF]: Potential DUT bug hiding construct in use: Inside SystemVerilog interface, it is recommended to use only 4-state signals/nets. Found a 2-state declaration as:
844
+ bit [7:0] bad_2st_vec;
845
+ PySlint: Violation: [FUNC_NO_2STATE_IN_INTF]: Potential DUT bug hiding construct in use: Inside SystemVerilog interface, it is recommended to use only 4-state signals/nets. Found a 2-state declaration as:
846
+ bit [3:0] bad_2st_2d [10];
847
+ PySlint: Violation: [FUNC_NO_2STATE_IN_INTF]: Potential DUT bug hiding construct in use: Inside SystemVerilog interface, it is recommended to use only 4-state signals/nets. Found a 2-state declaration as:
848
+ bit [9:0] bad_2st_3d [10][5];
849
+ PySlint: Violation: [COMPAT_SVA_NO_EXPECT_EXPR_IN_INIT]: A procedural 'expect' construct with temporal expression was found inside an initial block; IEEE 1800 LRM does allow such usage though some tools do NOT support To avoid compatibility issues, please remodel the code:
850
+ expect (@(posedge clk) req1 ##1 1);
851
+ PySlint: Violation: [COMPAT_SVA_NO_EXPECT_EXPR_IN_INIT]: A procedural 'expect' construct with temporal expression was found inside an initial block; IEEE 1800 LRM does allow such usage though some tools do NOT support To avoid compatibility issues, please remodel the code:
852
+ expect(@(posedge clk) req1 ##2 req2) else $error ("expect failure");
853
+ PySlint: Violation: [NAME_AST_PREFIX]: Improper naming of assert directive: ap_ReqAckBusy: expected prefix: a_
854
+ PySlint: Violation: [SVA_MISSING_FAIL_AB]: Missing FAIL Action block - use $error/`uvm_error:
855
+ ap_ReqAckBusy: assert property($rose(req) |=> busy s_until_with ack );
856
+ PySlint: Violation: [COMPAT_SVA_NO_S_UNTIL_WITH]: Found usage of s_util_with on consequent of a concurrent assertion.
857
+ Though LRM supports this, some compilers do NOT support this. So for maximum compatibility across EDA
858
+ tools consider remodeling this SVA.
859
+ $rose(req) |=> busy s_until_with ack
snapshots/AsFigo_pyslint_pr140/py_src/pyslint.py ADDED
@@ -0,0 +1,857 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ----------------------------------------------------
2
+ # SPDX-FileCopyrightText: Srinivasan Venkataramanan,
3
+ # AsFigo Technologies, UK
4
+ # SPDX-License-Identifier: MIT
5
+ # ----------------------------------------------------
6
+
7
+ import pyslang
8
+ import argparse
9
+ import tomli
10
+ import copy
11
+ import functools
12
+
13
+ # Fix labels Done
14
+ # Add lv_id Done
15
+
16
+ def rhasattr(obj, path):
17
+ try:
18
+ functools.reduce(getattr, path.split("."), obj)
19
+ return True
20
+ except AttributeError:
21
+ return False
22
+
23
+ print_verbose = False
24
+
25
+ def pyslint_update_rule_ids():
26
+ lv_sv_ruleid_l = list()
27
+ lv_sv_ruleid_l.append('NAME_INTF_SUFFIX')
28
+ lv_sv_ruleid_l.append('NAME_CLASS_SUFFIX')
29
+ lv_sv_ruleid_l.append('NAME_CNST_SUFFIX')
30
+ lv_sv_ruleid_l.append('NAME_CG_PREFIX')
31
+ lv_sv_ruleid_l.append('NAME_CP_PREFIX')
32
+ lv_sv_ruleid_l.append('NAME_CR_PREFIX')
33
+ lv_sv_ruleid_l.append('NAME_PROP_PREFIX')
34
+ lv_sv_ruleid_l.append('NAME_AST_PREFIX')
35
+ lv_sv_ruleid_l.append('NAME_ASM_PREFIX')
36
+ lv_sv_ruleid_l.append('NAME_COV_PREFIX')
37
+ lv_sv_ruleid_l.append('SVA_MISSING_FAIL_AB')
38
+ lv_sv_ruleid_l.append('SVA_MISSING_LABEL')
39
+ lv_sv_ruleid_l.append('SVA_MISSING_ENDLABEL')
40
+ lv_sv_ruleid_l.append('SVA_NO_PASS_AB')
41
+ lv_sv_ruleid_l.append('COMPAT_SVA_NO_CONC_IN_FE')
42
+ lv_sv_ruleid_l.append('COMPAT_SVA_NO_EXPECT_EXPR_IN_INIT')
43
+ lv_sv_ruleid_l.append('COMPAT_DPI_OLD_SPECSTR')
44
+ lv_sv_ruleid_l.append('CL_METHOD_NOT_EXTERN')
45
+ lv_sv_ruleid_l.append('CL_MISSING_ENDLABEL')
46
+ lv_sv_ruleid_l.append('PERF_CG_TOO_MANY_CROSS')
47
+ lv_sv_ruleid_l.append('FUNC_CNST_MISSING_CAST')
48
+ lv_sv_ruleid_l.append('FUNC_CNST_WRONG_OPER_PRI')
49
+ lv_sv_ruleid_l.append('FUNC_CNST_DIST_COL_EQ')
50
+ lv_sv_ruleid_l.append('REUSE_NO_TDEF_IN_MOD')
51
+ lv_sv_ruleid_l.append('COMPAT_CG_OPT_PI_CL')
52
+ lv_sv_ruleid_l.append('REUSE_CG_NO_ILBINS_CL')
53
+ lv_sv_ruleid_l.append('REUSE_NO_WILDC_AA_CL')
54
+ lv_sv_ruleid_l.append('PERF_CG_NO_ABIN_W_DEF_CL')
55
+ lv_sv_ruleid_l.append('COMPAT_SVA_NO_DEGEN_CONSEQ')
56
+ lv_sv_ruleid_l.append('COMPAT_SVA_NO_DEGEN_AST')
57
+ lv_sv_ruleid_l.append('REUSE_ONE_CL_PER_FILE')
58
+ lv_sv_ruleid_l.append('REUSE_ONE_MOD_PER_FILE')
59
+ lv_sv_ruleid_l.append ('DBG_SVA_AST_MISSING_LABEL')
60
+ lv_sv_ruleid_l.append ('DBG_SVA_ASM_MISSING_LABEL')
61
+ lv_sv_ruleid_l.append ('DBG_SVA_COV_MISSING_LABEL')
62
+
63
+ '''
64
+ with open("cfg.toml", mode="rb") as fp:
65
+ config = tomli.load(fp)
66
+ #print(config)
67
+ '''
68
+
69
+ def pyslint_rule_enabled(rule_id):
70
+ return True
71
+
72
+ def pyslint_msg(rule_id, msg):
73
+ if (pyslint_rule_enabled(rule_id)):
74
+ pyslint_str = 'PySlint: Violation: ['
75
+ pyslint_str += rule_id
76
+ pyslint_str += ']: '
77
+ pyslint_str += msg
78
+ print(pyslint_str)
79
+
80
+ #PySlint: Error Use extern methods
81
+ def CL_METHOD_NOT_EXTERN(lv_cu_scope):
82
+ if (lv_cu_scope.kind.name == 'ClassDeclaration'):
83
+ for cl_item in (lv_cu_scope.items):
84
+
85
+ if (cl_item.kind.name == 'ClassMethodDeclaration'):
86
+ if (cl_item.declaration.prototype.name.kind.name != 'ConstructorName'):
87
+ msg = 'method is not declared extern: '+ str(cl_item.declaration.prototype.name)
88
+ lv_rule_id = "CL_METHOD_NOT_EXTERN"
89
+ pyslint_msg(lv_rule_id, msg)
90
+
91
+ def FUNC_CNST_DIST_COL_EQ(cnst_i):
92
+ for lv_dist_item_i in cnst_i.expr.distribution.items:
93
+ lv_cnst_expr_s = cnst_i.expr.__str__()
94
+ lv_large_range = False
95
+ if (lv_dist_item_i.kind.name == 'DistItem'):
96
+ if (lv_dist_item_i.range.kind.name == 'OpenRangeExpression'):
97
+ lv_large_range = False
98
+ lv_dist_range_left = int(lv_dist_item_i.range.left.literal.value)
99
+ lv_dist_range_right = int(lv_dist_item_i.range.right.literal.value)
100
+ if (abs(lv_dist_range_right - lv_dist_range_left) > 10):
101
+ lv_large_range = True
102
+
103
+
104
+ if (lv_dist_item_i.weight.op.kind.name == 'ColonEquals'):
105
+ if (lv_large_range):
106
+ msg = 'Potentially incorrect constraint expression!'
107
+ msg += ' An expression involving dist ColonEquals if found'
108
+ msg += ' And the range used with ColonEquals is large'
109
+ msg += ' This is likely to skew the random generation'
110
+ msg += ' and prevent other values in the dist expression'
111
+ msg += ' to be generated less-frequently than the large range values'
112
+ msg += ' Review to check if you intended to use ColonSlash'
113
+ msg += ' instead of ColonEquals'
114
+ msg += lv_cnst_expr_s
115
+ lv_rule_id = 'FUNC_CNST_DIST_COL_EQ'
116
+ pyslint_msg(lv_rule_id, msg)
117
+
118
+ def FUNC_CNST_MISSING_CAST (lv_cu_scope):
119
+ if (lv_cu_scope.kind.name == 'ClassDeclaration'):
120
+ for cl_item in (lv_cu_scope.items):
121
+ if (cl_item.kind.name == 'ConstraintDeclaration'):
122
+ for lv_cnst_i in (cl_item.block.items):
123
+ if (not hasattr(lv_cnst_i, 'expr')):
124
+ continue
125
+ # Fix for Issue 35, Unary expressions
126
+ # do not have left/right
127
+ if (lv_cnst_i.expr.kind.name == 'UnaryLogicalNotExpression'):
128
+ continue
129
+ # Fix for Issue 36, inside expressions
130
+ # do not have left/right
131
+ if (lv_cnst_i.expr.kind.name == 'InsideExpression'):
132
+ continue
133
+ # Fix for Issue 37, dist expressions
134
+ # do not have left/right
135
+ if (lv_cnst_i.expr.kind.name == 'ExpressionOrDist'):
136
+ FUNC_CNST_DIST_COL_EQ (lv_cnst_i)
137
+ continue
138
+ if (lv_cnst_i.expr.left.kind.name == 'InvocationExpression'):
139
+ lv_cnst_expr_s = lv_cnst_i.expr.left.__str__()
140
+ lv_arr_red_methods = [".sum()", ".sum ()",
141
+ ".product()", ".product ()",
142
+ ".and()", ".and ()",
143
+ ".or()", ".or ()",
144
+ ".xor()", ".xor ()"]
145
+ if any([x in lv_cnst_expr_s for x in lv_arr_red_methods]):
146
+ msg = 'Potentially incorrect constraint expression!'
147
+ msg += ' An expression involving the array-reduction methods'
148
+ msg += ' sum()/product()/and()/or()/xor()'
149
+ msg += ' was found, but is missing an explicit cast.'
150
+ msg += ' This can lead to strange results as'
151
+ msg += ' array reduction methods return an expression'
152
+ msg += ' of the size of'
153
+ msg += ' its elements, check if you need a with'
154
+ msg += ' (int\'( cast around the following expression:'
155
+ msg += lv_cnst_expr_s
156
+ lv_rule_id = "FUNC_CNST_MISSING_CAST"
157
+ pyslint_msg(lv_rule_id, msg)
158
+
159
+ def FUNC_CNST_WRONG_OPER_PRI (lv_cu_scope):
160
+ if (lv_cu_scope.kind.name == 'ClassDeclaration'):
161
+ for cl_item in (lv_cu_scope.items):
162
+ if (cl_item.kind.name == 'ConstraintDeclaration'):
163
+ for lv_cnst_i in (cl_item.block.items):
164
+ if (not hasattr(lv_cnst_i, 'expr')):
165
+ continue
166
+ if (not hasattr(lv_cnst_i.expr, 'operatorToken')):
167
+ continue
168
+
169
+ if (lv_cnst_i.expr.operatorToken.kind.name == 'DoubleAnd' or
170
+ lv_cnst_i.expr.operatorToken.kind.name == 'DoubleOr'
171
+ ):
172
+ lv_cnst_expr_s = lv_cnst_i.expr.__str__()
173
+ if (
174
+ lv_cnst_i.expr.left.operatorToken.kind.name == 'DoubleEquals' or
175
+ lv_cnst_i.expr.left.operatorToken.kind.name == 'ExclamationEquals'
176
+ ):
177
+ msg = 'Potentially incorrect constraint expression!'
178
+ msg += ' An expression involving operators with different'
179
+ msg += ' precedence is observed. As per LRM, Equality'
180
+ msg += ' operators have higher precedence than Logical operators'
181
+ msg += ' Review and use \'( )\' appropriately'
182
+ msg += ' around the constraint expression'
183
+ msg += lv_cnst_expr_s
184
+ lv_rule_id = "FUNC_CNST_WRONG_OPER_PRI"
185
+ pyslint_msg(lv_rule_id, msg)
186
+
187
+ def COMPAT_CG_OPT_PI_CL(lv_m):
188
+ if (lv_m.kind.name == 'ClassDeclaration'):
189
+ for cl_item_i in (lv_m.items):
190
+ if (cl_item_i.kind.name == 'CovergroupDeclaration'):
191
+ for lv_cg_m_i in cl_item_i.members:
192
+ if (lv_cg_m_i.kind.name == 'CoverageOption'):
193
+ lv_cg_name = cl_item_i.name.valueText
194
+ lv_cg_opt = lv_cg_m_i.expr.left.__str__()
195
+ if ('type_option.per_instance' in lv_cg_opt):
196
+ msg = 'Found \'type_option.per_instance\' '
197
+ msg += 'inside a covergroup: '
198
+ msg += lv_cg_name
199
+ msg += '\nIEEE 1800 LRM does not'
200
+ msg += ' allow such usage though some tools do compile. \n'
201
+ msg += 'To avoid compatibility issues,'
202
+ msg += ' please move the per_instance to'
203
+ msg += ' \'option.per_instance \''
204
+ lv_rule_id = "COMPAT_CG_OPT_PI_CL"
205
+ pyslint_msg(lv_rule_id, msg)
206
+
207
+ def REUSE_CG_NO_ILBINS_CL(lv_m):
208
+ if (lv_m.kind.name == 'ClassDeclaration'):
209
+ for cl_item_i in (lv_m.items):
210
+ if (cl_item_i.kind.name == 'CovergroupDeclaration'):
211
+ lv_cg_name = cl_item_i.name.valueText.strip()
212
+ for lv_cg_m_i in cl_item_i.members:
213
+ if (lv_cg_m_i.kind.name == 'Coverpoint'):
214
+ lv_cpt_expr = lv_cg_m_i.expr.__str__()
215
+ lv_cpt_label = lv_cg_m_i.label.__str__()
216
+ lv_cpt_name = lv_cpt_label + lv_cpt_expr
217
+ lv_cpt_name = lv_cpt_name.strip()
218
+ for lv_cpt_m_i in lv_cg_m_i.members:
219
+ if (lv_cpt_m_i.kind.name == 'CoverageBins'):
220
+ lv_cpt_bin_s = lv_cpt_m_i.keyword.__str__()
221
+ if ('illegal_bins' in lv_cpt_bin_s):
222
+ lv_cpt_bin_name = lv_cpt_m_i.name.valueText
223
+ msg = 'Found \'illegal_bins\' under user-defined bins: \n'
224
+ msg += 'covergroup: '
225
+ msg += lv_cg_name
226
+ msg += ' for coverpoint: '
227
+ msg += lv_cpt_name + ' '
228
+ msg += lv_cpt_bin_name
229
+ msg += '\nWhile IEEE 1800 LRM allows this syntax, this '
230
+ msg += 'is bad for REUSE aspect as it does not flag '
231
+ msg += 'as UVM_ERROR or $error. \n'
232
+ msg += 'Also if coverage is turned OFF, this error '
233
+ msg += 'is likely to go unflagged. '
234
+ msg += 'Recommended to use \'ignore_bins\' instead \n'
235
+ msg += 'from coverage perspective and add SVA or '
236
+ msg += 'scoreboard for illegal values.'
237
+ lv_rule_id = "REUSE_CG_NO_ILBINS_CL"
238
+ pyslint_msg(lv_rule_id, msg)
239
+
240
+ def REUSE_NO_WILDC_AA_CL(lv_m):
241
+ if (lv_m.kind.name == 'ClassDeclaration'):
242
+ for cl_item_i in (lv_m.items):
243
+ if (cl_item_i.kind.name == 'ClassPropertyDeclaration'):
244
+ lv_decl_str_s = cl_item_i.__str__()
245
+ for lv_decl_i in cl_item_i.declaration.declarators:
246
+ if (not hasattr(lv_decl_i, 'dimensions')):
247
+ continue
248
+ for lv_decl_dim_i in lv_decl_i.dimensions:
249
+ if (lv_decl_dim_i.specifier.kind.name == 'WildcardDimensionSpecifier'):
250
+ msg = 'Found an associative array declaration with wild-card as key\n'
251
+ msg += lv_decl_str_s
252
+ msg += '\nThis is bad for reuse as it does not allow \'foreach\' iterator and other handy built-in functions.\n'
253
+ msg += 'Consider using a typed key such as int/string etc.'
254
+ lv_rule_id = 'REUSE_NO_WILDC_AA_CL'
255
+ pyslint_msg(lv_rule_id, msg)
256
+
257
+ def PERF_CG_NO_ABIN_W_DEF_CL(lv_m):
258
+ if (lv_m.kind.name == 'ClassDeclaration'):
259
+ for cl_item_i in (lv_m.items):
260
+ if (cl_item_i.kind.name == 'CovergroupDeclaration'):
261
+ lv_cg_name = cl_item_i.name.valueText.strip()
262
+ for lv_cg_m_i in cl_item_i.members:
263
+ if (lv_cg_m_i.kind.name == 'Coverpoint'):
264
+ lv_cpt_expr = lv_cg_m_i.expr.__str__()
265
+ lv_cpt_label = lv_cg_m_i.label.__str__()
266
+ if (lv_cpt_label == 'None'):
267
+ lv_cpt_label = ''
268
+ lv_cpt_name = lv_cpt_label + lv_cpt_expr
269
+ lv_cpt_name = lv_cpt_name.strip()
270
+ for lv_cpt_m_i in lv_cg_m_i.members:
271
+ if (lv_cpt_m_i.size is None):
272
+ continue
273
+ if (lv_cpt_m_i.size.kind.name == 'CoverageBinsArraySize'):
274
+ if (lv_cpt_m_i.size.expr is None):
275
+ lv_arr_bin_rhs_s = lv_cpt_m_i.initializer.__str__().strip()
276
+ if (lv_arr_bin_rhs_s == 'default'):
277
+ lv_cpt_bin_name = lv_cpt_m_i.name.valueText
278
+ msg = 'Found Array-bins: \n'
279
+ msg += '\tcovergroup: '
280
+ msg += lv_cg_name
281
+ msg += '\n\tcoverpoint: '
282
+ msg += lv_cpt_name + '\n\tBIN: '
283
+ msg += lv_cpt_bin_name + '\n\t'
284
+ msg += lv_cpt_m_i.__str__().strip()
285
+ msg += '\n\n\tWhile IEEE 1800 LRM allows this syntax, this '
286
+ msg += 'is bad for Performance aspect as it ends up creating'
287
+ msg += ' large number of bins. Recommended to remove this bin.'
288
+ lv_rule_id = 'PERF_CG_NO_ABIN_W_DEF_CL'
289
+ pyslint_msg(lv_rule_id, msg)
290
+
291
+ def NAME_CG_PREFIX(lv_m):
292
+ if (lv_m.kind.name == 'ClassDeclaration'):
293
+ for cl_item_i in (lv_m.items):
294
+ if (cl_item_i.kind.name == 'CovergroupDeclaration'):
295
+ lv_cg_name = cl_item_i.name.valueText
296
+ lv_exp_s = 'cg_'
297
+ if (not lv_cg_name.startswith(lv_exp_s)):
298
+ msg = 'Improper naming of identifier: '
299
+ msg += lv_cg_name
300
+ msg += ': expected prefix: '
301
+ msg += lv_exp_s
302
+ lv_rule_id = "NAME_CG_PREFIX"
303
+ pyslint_msg(lv_rule_id, msg)
304
+
305
+ if (lv_m.kind.name == 'CovergroupDeclaration'):
306
+ lv_cg_name = lv_m.name.valueText
307
+ lv_exp_s = 'cg_'
308
+ if (not lv_cg_name.startswith(lv_exp_s)):
309
+ msg = 'Improper naming of identifier: '
310
+ msg += lv_cg_name
311
+ msg += ': expected prefix: '
312
+ msg += lv_exp_s
313
+ lv_rule_id = 'NAME_CG_PREFIX'
314
+ pyslint_msg(lv_rule_id, msg)
315
+
316
+ def DBG_SVA_AST_MISSING_LABEL(lv_m):
317
+ if (lv_m.kind.name == 'ConcurrentAssertionMember'):
318
+ lv_sva_vdir = lv_m.statement.keyword.valueText
319
+ if (lv_sva_vdir != 'assert'):
320
+ return
321
+ if (lv_m.statement.label is None):
322
+ msg = 'Unnamed assertion - use a meaningful label: '
323
+ msg += str(lv_m.statement)
324
+ lv_rule_id = 'DBG_SVA_AST_MISSING_LABEL'
325
+ pyslint_msg (lv_rule_id, msg)
326
+
327
+ def NAME_AST_PREFIX (lv_m):
328
+
329
+ if (lv_m.kind.name == 'ConcurrentAssertionMember'):
330
+
331
+ lv_sva_vdir = lv_m.statement.keyword.valueText
332
+ if (lv_sva_vdir != 'assert'):
333
+ return
334
+
335
+ if (lv_m.statement.label is None):
336
+ return
337
+
338
+ lv_label = lv_m.statement.label.name.value
339
+
340
+ lv_exp_s = sv_prefix_d['assert']
341
+ if (not lv_label.startswith(lv_exp_s)):
342
+ msg = 'Improper naming of assert directive: '
343
+ msg += lv_label
344
+ msg += ': expected prefix: '
345
+ msg += lv_exp_s
346
+ lv_rule_id = 'NAME_AST_PREFIX'
347
+ pyslint_msg (lv_rule_id, msg)
348
+
349
+
350
+ def NAME_ASM_PREFIX(lv_m):
351
+ if (lv_m.kind.name == 'ConcurrentAssertionMember'):
352
+ if (lv_m.statement.label is None):
353
+ msg = 'Unnamed assumption - use a meaningful label: '
354
+ msg += str(lv_m.statement)
355
+ lv_rule_id = "SVA_MISSING_LABEL"
356
+ pyslint_msg(lv_rule_id, msg)
357
+ else:
358
+ lv_label = lv_m.statement.label.name.value
359
+ lv_sva_vdir = lv_m.statement.keyword.valueText
360
+ if (lv_sva_vdir != 'assume'):
361
+ return
362
+
363
+ lv_exp_s = sv_prefix_d['assume']
364
+ if (not lv_label.startswith(lv_exp_s)):
365
+ msg = 'Improper naming of assume directive: '
366
+ msg += lv_label
367
+ msg += ': expected prefix: '
368
+ msg += lv_exp_s
369
+ lv_rule_id = 'NAME_ASM_PREFIX'
370
+ pyslint_msg(lv_rule_id, msg)
371
+
372
+ def NAME_COV_PREFIX(lv_m):
373
+ if (lv_m.kind.name == 'ConcurrentAssertionMember'):
374
+ if (lv_m.statement.label is None):
375
+ msg = 'Unnamed assumption - use a meaningful label: '
376
+ msg += str(lv_m.statement)
377
+ lv_rule_id = "SVA_MISSING_LABEL"
378
+ pyslint_msg(lv_rule_id, msg)
379
+ else:
380
+ lv_label = lv_m.statement.label.name.value
381
+ lv_sva_vdir = lv_m.statement.keyword.valueText
382
+ if (lv_sva_vdir != 'cover'):
383
+ return
384
+
385
+ lv_exp_s = sv_prefix_d['cover']
386
+ if (not lv_label.startswith(lv_exp_s)):
387
+ msg = 'Improper naming of cover directive: '
388
+ msg += lv_label
389
+ msg += ': expected prefix: '
390
+ msg += lv_exp_s
391
+ lv_rule_id = 'NAME_COV_PREFIX'
392
+ pyslint_msg(lv_rule_id, msg)
393
+
394
+
395
+ def COMPAT_SVA_NO_DEGEN_AST (lv_m):
396
+ if (lv_m.kind.name == 'ConcurrentAssertionMember'):
397
+
398
+ lv_found_rep_val = False
399
+
400
+ lv_p_expr = lv_m.statement.propertySpec
401
+ lv_p_str = lv_p_expr.__str__()
402
+
403
+ if (hasattr(lv_p_expr, 'expr')):
404
+ lv_p_expr_r = lv_p_expr.expr
405
+
406
+ if (hasattr(lv_p_expr_r, 'right') and
407
+ hasattr(lv_p_expr_r.right, 'expr')):
408
+ lv_p_expr_r_1 = lv_p_expr_r.right.expr
409
+
410
+ if (hasattr(lv_p_expr_r, 'left')):
411
+ lv_p_expr_r_1 = lv_p_expr_r.left.expr
412
+ #TBD move the below code to a new def
413
+ # and make it common for both ANT and CNSQ
414
+
415
+
416
+ if (hasattr(lv_p_expr_r_1, 'first')):
417
+ lv_p_expr_r_1 = lv_p_expr_r_1.first
418
+
419
+ if (hasattr(lv_p_expr_r_1, 'repetition')):
420
+ lv_p_expr_r_2 = lv_p_expr_r_1.repetition
421
+
422
+ if (hasattr(lv_p_expr_r_2, 'selector')):
423
+ lv_p_expr_r_3 = lv_p_expr_r_2.selector
424
+
425
+ if (hasattr(lv_p_expr_r_3, 'expr')):
426
+ lv_p_expr_r_4 = lv_p_expr_r_3.expr
427
+ lv_rep_val = "UNKNOWN"
428
+ lv_rep_val = lv_p_expr_r_4.literal.valueText.strip()
429
+ lv_found_rep_val = True
430
+
431
+ if (hasattr(lv_p_expr_r_3, 'left')):
432
+ lv_p_expr_r_4 = lv_p_expr_r_3.left
433
+ lv_rep_val = "UNKNOWN"
434
+ lv_rep_val = lv_p_expr_r_4.literal.valueText.strip()
435
+ lv_found_rep_val = True
436
+
437
+ if (hasattr(lv_m, 'propertySpec') and
438
+ hasattr(lv_p_expr_r, 'expr')):
439
+ lv_p_expr_r = lv_m.propertySpec.expr.expr.expr
440
+ if (hasattr(lv_p_expr_r, 'repetition')):
441
+ lv_rep_val = lv_m.propertySpec.expr.expr.expr.repetition.selector.expr.literal.valueText.strip()
442
+ lv_found_rep_val = True
443
+
444
+
445
+ if (hasattr(lv_p_expr, 'right')):
446
+ lv_p_expr_r = lv_m.propertySpec.expr.right.expr
447
+ if (hasattr(lv_p_expr_r, 'repetition')):
448
+ lv_p_expr_r = lv_m.propertySpec.expr.right.expr.repetition
449
+ if (hasattr(lv_p_expr_r, 'selector')):
450
+ lv_rep_val = lv_m.propertySpec.expr.right.expr.repetition.selector.expr.literal.valueText.strip()
451
+ lv_found_rep_val = True
452
+
453
+ if (lv_found_rep_val and lv_rep_val == "0"):
454
+ msg = 'Empty match ([*0] or variants) found in a property expression. \n'
455
+ msg += '\tThough some compilers allow this, IEEE 1800 LRM prevents'
456
+ msg += ' such usage, so for maximum compatibility across EDA \n'
457
+ msg += '\ttools and LRM compliance, please remove the empty match. \n'
458
+ msg += lv_p_str
459
+ lu_rule_id = 'COMPAT_SVA_NO_DEGEN_AST'
460
+ pyslint_msg (lu_rule_id, msg)
461
+
462
+ def COMPAT_SVA_NO_S_UNTIL_WITH (lv_m):
463
+ if (lv_m.kind.name == 'ConcurrentAssertionMember'):
464
+
465
+ lv_found_rep_val = False
466
+
467
+ lv_p_expr = lv_m.statement.propertySpec
468
+ lv_p_str = lv_p_expr.__str__()
469
+
470
+ if (hasattr(lv_p_expr, 'expr')):
471
+ lv_p_expr_r = lv_p_expr.expr
472
+
473
+ if (hasattr(lv_p_expr_r, 'right') and
474
+ hasattr(lv_p_expr_r.right, 'op')):
475
+ lv_p_expr_r_1 = lv_p_expr_r.right.op
476
+
477
+ if (lv_p_expr_r_1.kind.name == 'SUntilWithKeyword'):
478
+
479
+ msg = 'Found usage of s_util_with on consequent of a concurrent assertion. \n'
480
+ msg += '\tThough LRM supports this, some compilers do NOT support this.'
481
+ msg += ' So for maximum compatibility across EDA \n'
482
+ msg += '\ttools consider remodeling this SVA. \n'
483
+ msg += lv_p_str
484
+ lu_rule_id = 'COMPAT_SVA_NO_S_UNTIL_WITH'
485
+ pyslint_msg (lu_rule_id, msg)
486
+
487
+ def COMPAT_SVA_NO_DEGEN_CONSEQ(lv_m):
488
+ if (lv_m.kind.name == 'PropertyDeclaration' or
489
+ lv_m.kind.name == 'ConcurrentAssertionMember'):
490
+
491
+ if (lv_m.kind.name == 'ConcurrentAssertionMember'):
492
+ lv_p_expr = lv_m.statement.propertySpec.expr
493
+ else:
494
+ lv_p_expr = lv_m.propertySpec.expr
495
+
496
+ lv_p_str = lv_p_expr.__str__()
497
+ lv_found_rep_val = False
498
+
499
+ if (hasattr(lv_p_expr, 'expr')):
500
+ lv_p_expr_r = lv_p_expr.expr
501
+ if (hasattr(lv_p_expr_r, 'right')):
502
+ lv_p_expr_r_1 = lv_p_expr_r.right.expr
503
+ if (hasattr(lv_p_expr_r_1, 'repetition')):
504
+ lv_p_expr_r_2 = lv_p_expr_r_1.repetition
505
+ if (hasattr(lv_p_expr_r_2, 'selector')):
506
+ lv_p_expr_r_3 = lv_p_expr_r_2.selector
507
+ if (hasattr(lv_p_expr_r_3, 'left')):
508
+ lv_p_expr_r_4 = lv_p_expr_r_3.left
509
+ lv_rep_val = "UNKNOWN"
510
+ lv_rep_val = lv_p_expr_r_4.literal.valueText.strip()
511
+ lv_found_rep_val = True
512
+
513
+ if (hasattr(lv_p_expr_r, 'expr')):
514
+ lv_p_expr_r = lv_p_expr_r.expr
515
+ if (hasattr(lv_p_expr_r, 'repetition')):
516
+ if (lv_p_expr_r.repetition is not None):
517
+ lv_p_expr_r = lv_p_expr_r.repetition
518
+ if (hasattr(lv_p_expr_r, 'selector')):
519
+ lv_rep_val = lv_p_expr_r.selector.expr.literal.valueText.strip()
520
+ lv_found_rep_val = True
521
+
522
+
523
+ if (hasattr(lv_p_expr, 'right')):
524
+ if (hasattr(lv_p_expr.right, 'expr')):
525
+ lv_p_expr_r = lv_p_expr.right.expr
526
+ if (hasattr(lv_p_expr_r, 'first')):
527
+ lv_p_expr_r = lv_p_expr_r.first
528
+ if (hasattr(lv_p_expr_r, 'repetition')):
529
+ lv_p_expr_r = lv_p_expr_r.repetition
530
+ if (hasattr(lv_p_expr_r, 'selector')):
531
+ lv_p_expr_r = lv_p_expr_r.selector
532
+ if (hasattr(lv_p_expr_r, 'expr')):
533
+ lv_rep_val = lv_p_expr_r.expr.literal.valueText.strip()
534
+ lv_found_rep_val = True
535
+
536
+ if (lv_found_rep_val and lv_rep_val == "0"):
537
+ msg = 'Empty match ([*0] or variants) found in a property expression. \n'
538
+ msg += '\tThough some compilers allow this, IEEE 1800 LRM prevents'
539
+ msg += ' such usage, so for maximum compatibility across EDA \n'
540
+ msg += '\ttools and LRM compliance, please remove the empty match. \n'
541
+ msg += lv_p_str
542
+ lv_rule_id = 'COMPAT_SVA_NO_DEGEN_CONSEQ'
543
+ pyslint_msg(lv_rule_id, msg)
544
+
545
+ def NAME_PROP_PREFIX(lv_m):
546
+ if (lv_m.kind.name == 'PropertyDeclaration'):
547
+ lv_prop_label = lv_m.name.valueText
548
+ lv_exp_s = sv_prefix_d['prop']
549
+ if (not lv_prop_label.startswith(lv_exp_s)):
550
+ msg = 'Improper naming of property: '
551
+ msg += lv_prop_label
552
+ msg += ': expected prefix: '
553
+ msg += lv_exp_s
554
+ lv_rule_id = 'NAME_PROP_PREFIX'
555
+ pyslint_msg(lv_rule_id, msg)
556
+
557
+ def SVA_MISSING_ENDLABEL(lv_m):
558
+ if (lv_m.kind.name == 'PropertyDeclaration'):
559
+ if (lv_m.endBlockName is None):
560
+ lv_prop_label = lv_m.name.valueText
561
+ msg = 'Missing End Label for property: '
562
+ msg += lv_prop_label
563
+ lv_rule_id = 'SVA_MISSING_ENDLABEL'
564
+ pyslint_msg(lv_rule_id, msg)
565
+
566
+ def CL_MISSING_ENDLABEL(lv_cu_scope):
567
+ if (lv_cu_scope.kind.name == 'ClassDeclaration'):
568
+ if (lv_cu_scope.endBlockName is None):
569
+ lv_cl_label = lv_cu_scope.name.valueText
570
+ msg = 'Missing End Label for class: '
571
+ msg += lv_cl_label
572
+ lv_rule_id = 'CL_MISSING_ENDLABEL'
573
+ pyslint_msg(lv_rule_id, msg)
574
+
575
+ def SVA_NO_PASS_AB(lv_m):
576
+ if (lv_m.kind.name == 'ConcurrentAssertionMember'):
577
+ if (lv_m.statement.action.statement is None):
578
+ return
579
+ if (lv_m.statement.action.statement.kind.name == 'EmptyStatement'):
580
+ return
581
+
582
+ if (lv_m.statement.action.statement is not None):
583
+ msg = 'Avoid using PASS Action block - likely to cause too many vacuous prints: '
584
+ msg += str(lv_m.statement)
585
+ lv_rule_id = 'SVA_NO_PASS_AB'
586
+ pyslint_msg(lv_rule_id, msg)
587
+
588
+ def SVA_MISSING_FAIL_AB(lv_m):
589
+ if (lv_m.kind.name == 'ConcurrentAssertionMember'):
590
+ if (lv_m.statement.label is None):
591
+ return
592
+
593
+ lv_label = lv_m.statement.label.name.value
594
+ lv_sva_vdir = lv_m.statement.keyword.valueText
595
+
596
+ if (lv_sva_vdir != 'assert'):
597
+ return
598
+
599
+ if (lv_m.statement.action.elseClause is None):
600
+ msg = 'Missing FAIL Action block - use $error/`uvm_error: '
601
+ msg += str(lv_m.statement)
602
+ lv_rule_id = 'SVA_MISSING_FAIL_AB'
603
+ pyslint_msg(lv_rule_id, msg)
604
+
605
+ def pyslint_argparse():
606
+ # Create the parser
607
+ parser = argparse.ArgumentParser()
608
+ # Add an argument
609
+ parser.add_argument('-t', '--test', type=str, required=True)
610
+ # Parse the argument
611
+ args = parser.parse_args()
612
+ return args
613
+
614
+ def pyslint_update_prefixes():
615
+ lv_sv_prefix_d = {}
616
+ lv_sv_prefix_d.update({"prop": "p_"})
617
+ lv_sv_prefix_d.update({"cover": "c_"})
618
+ lv_sv_prefix_d.update({"assert": "a_"})
619
+ lv_sv_prefix_d.update({"assume": "m_"})
620
+ return lv_sv_prefix_d
621
+
622
+ def pyslint_update_suffixes():
623
+ lv_sv_suffix_d = {}
624
+ lv_sv_suffix_d.update({"intf": "_if"})
625
+ lv_sv_suffix_d.update({"class": "_c"})
626
+ lv_sv_suffix_d.update({"cnst": "_cst"})
627
+ lv_sv_suffix_d.update({"mod": "_m"})
628
+ return lv_sv_suffix_d
629
+
630
+ def chk_name_style_prefix(lv_rule_id, lv_name, lv_exp_p):
631
+ if (lv_name.startswith(lv_exp_p)):
632
+ if (print_verbose):
633
+ print('AF: Good naming: ', lv_name)
634
+ else:
635
+ msg = 'Improper naming of identifier: '
636
+ msg += lv_name
637
+ msg += ': expected prefix: '
638
+ msg += lv_exp_p
639
+ pyslint_msg(lv_rule_id, msg)
640
+
641
+ def chk_name_style_suffix(lv_rule_id, lv_name, lv_exp_s):
642
+ if (lv_name.endswith(lv_exp_s)):
643
+ if (print_verbose):
644
+ print('AF: Good naming: ', lv_name)
645
+ else:
646
+ msg = 'Improper naming of identifier: '
647
+ msg += lv_name
648
+ msg += ': expected suffix: '
649
+ msg += lv_exp_s
650
+ pyslint_msg(lv_rule_id, msg)
651
+
652
+ def FUNC_NO_2STATE_IN_INTF(lv_intf_scope):
653
+ for lv_intf_mem_i in lv_intf_scope.members:
654
+ if (lv_intf_mem_i.kind.name == 'DataDeclaration'):
655
+ if (lv_intf_mem_i.type.kind.name == 'BitType'):
656
+ lv_var_decl = lv_intf_mem_i.declarators.getFirstToken()
657
+ lv_name = lv_var_decl.valueText
658
+ msg = 'Potential DUT bug hiding construct in use: '
659
+ msg += ' Inside SystemVerilog interface, it is recommended'
660
+ msg += ' to use only 4-state signals/nets.'
661
+ msg += ' Found a 2-state declaration as: '
662
+ msg += lv_intf_mem_i.__str__()
663
+ lv_rule_id = 'FUNC_NO_2STATE_IN_INTF'
664
+ pyslint_msg(lv_rule_id, msg)
665
+
666
+ def FUNC_DPI_NO_4STATE_IN_RETURN(lv_dpi_mem):
667
+ lv_rval_type_s = lv_dpi_mem.method.returnType.keyword.__str__().strip()
668
+ lv_rval_4st_types = ["integer", "logic",
669
+ "reg"]
670
+ if any([x in lv_rval_type_s for x in lv_rval_4st_types]):
671
+ msg = 'DPI functions shall use 2-state types in return value.'
672
+ msg += ' Using 4-state type can lead to unnecessary complication'
673
+ msg += ' as C-side does not naturally support 4-state value system'
674
+ msg += ' Found code as: \n'
675
+ msg += str(lv_dpi_mem)
676
+ lv_rule_id = 'FUNC_DPI_NO_4STATE_IN_RETURN'
677
+ pyslint_msg(lv_rule_id, msg)
678
+
679
+ def COMPAT_DPI_OLD_SPECSTR(lv_dpi_mem):
680
+ lv_spec_str_val_s = lv_dpi_mem.specString.__str__().strip()
681
+ if (lv_spec_str_val_s != '\"DPI-C\"'):
682
+ msg = 'Wrong Spec-STR in DPI declaration'
683
+ msg += ' IEEE 1800-2012 specifies \"DPI-C\" as Spec-STR.'
684
+ msg += ' Found code as: \n'
685
+ msg += str(lv_dpi_mem)
686
+ lv_rule_id = 'COMPAT_DPI_OLD_SPECSTR'
687
+ pyslint_msg(lv_rule_id, msg)
688
+
689
+ def COMPAT_SVA_NO_CONC_IN_FE(lv_cu_scope):
690
+ if (lv_cu_scope.kind.name == 'ModuleDeclaration'):
691
+ for lv_mod_mem_i in lv_cu_scope.members:
692
+ if (lv_mod_mem_i.kind.name == 'InitialBlock'):
693
+ if (not hasattr(lv_mod_mem_i.statement, 'items')):
694
+ continue
695
+ for lv_init_items_i in lv_mod_mem_i.statement.items:
696
+
697
+ if (lv_init_items_i.kind.name == 'ForeverStatement'):
698
+ if (not hasattr(lv_init_items_i.statement.statement, 'items')):
699
+ continue
700
+ for lv_fe_i in lv_init_items_i.statement.statement.items:
701
+ lv_code_s = lv_fe_i.__str__()
702
+ if (lv_fe_i.kind.name == 'AssertPropertyStatement'):
703
+ msg = 'A procedural concurrent assertion was found'
704
+ msg += ' inside a forever loop; IEEE 1800 LRM does not'
705
+ msg += ' allow such usage though some tools do compile'
706
+ msg += ' To avoid compatibility issues,'
707
+ msg += ' please remodel the code:'
708
+ msg += str(lv_code_s)
709
+ lv_rule_id = 'COMPAT_SVA_NO_CONC_IN_FE'
710
+ pyslint_msg(lv_rule_id, msg)
711
+
712
+ def COMPAT_SVA_NO_EXPECT_EXPR_IN_INIT(lv_cu_scope):
713
+ if (lv_cu_scope.kind.name == 'ModuleDeclaration'):
714
+ for lv_mod_mem_i in lv_cu_scope.members:
715
+ if (lv_mod_mem_i.kind.name == 'InitialBlock'):
716
+ if (not hasattr(lv_mod_mem_i.statement, 'items')):
717
+ continue
718
+ for lv_init_items_i in lv_mod_mem_i.statement.items:
719
+ if (lv_init_items_i.kind.name == 'ExpectPropertyStatement'):
720
+ if (
721
+ hasattr(lv_init_items_i, 'propertySpec') and
722
+ hasattr(lv_init_items_i.propertySpec, 'expr') and
723
+ hasattr(lv_init_items_i.propertySpec.expr, 'expr') and
724
+ hasattr(lv_init_items_i.propertySpec.expr.expr, 'elements')
725
+ ):
726
+ lv_code_s = lv_init_items_i.__str__()
727
+ msg = 'A procedural \'expect\' construct with temporal'
728
+ msg += ' expression was found'
729
+ msg += ' inside an initial block; IEEE 1800 LRM does '
730
+ msg += ' allow such usage though some tools do NOT support'
731
+ msg += ' To avoid compatibility issues,'
732
+ msg += ' please remodel the code:'
733
+ msg += str(lv_code_s)
734
+ lv_rule_id = 'COMPAT_SVA_NO_EXPECT_EXPR_IN_INIT'
735
+ pyslint_msg(lv_rule_id, msg)
736
+
737
+ '''
738
+ if (not hasattr(lv_init_items_i.statement.statement, 'items')):
739
+ continue
740
+ for lv_fe_i in lv_init_items_i.statement.statement.items:
741
+ lv_code_s = lv_fe_i.__str__()
742
+ if (lv_fe_i.kind.name == 'AssertPropertyStatement'):
743
+ '''
744
+
745
+ def REUSE_NO_TDEF_IN_MOD(lv_cu_scope):
746
+ if (lv_cu_scope.kind.name == 'ModuleDeclaration'):
747
+ for lv_mod_mem_i in lv_cu_scope.members:
748
+ if (lv_mod_mem_i.kind.name == 'TypedefDeclaration'):
749
+ lv_tdef_s = lv_mod_mem_i.__str__()
750
+ msg = 'A typedef was found inside a module'
751
+ msg += ' This prevents reuse as the enum/typedef scope is module only'
752
+ msg += ' An assertion model that binds to this module'
753
+ msg += ' and check the states using the typedef will be harder'
754
+ msg += ' to implement in such cases.'
755
+ msg += ' Please move the typedef to a package'
756
+ msg += ' and import that package inside the module'
757
+ msg += str(lv_tdef_s)
758
+ lv_rule_id = 'REUSE_NO_TDEF_IN_MOD'
759
+ pyslint_msg(lv_rule_id, msg)
760
+
761
+ class_count = []
762
+
763
+ def REUSE_ONE_CL_PER_FILE (lv_m):
764
+ if (lv_m.kind.name == 'ClassDeclaration'):
765
+ for cl_rep in lv_m:
766
+ if (cl_rep.kind.name == 'EndClassKeyword'):
767
+ class_count.append(cl_rep.kind.name)
768
+ continue
769
+ elif len(class_count) > 1:
770
+ msg = 'Always use one-class definition per file'
771
+ lv_rule_id = 'REUSE_ONE_CL_PER_FILE'
772
+ pyslint_msg (lv_rule_id, msg)
773
+
774
+ mod_count = []
775
+
776
+ def REUSE_ONE_MOD_PER_FILE (lv_m):
777
+ if (lv_m.kind.name == 'ModuleDeclaration'):
778
+ for mod_rep in lv_m.header:
779
+ if (mod_rep.kind.name == 'ModuleKeyword'):
780
+ mod_count.append(mod_rep.kind.name)
781
+ continue
782
+ elif len(mod_count) > 1:
783
+ msg = 'Always use one-module definition per file'
784
+ lv_rule_id = 'REUSE_ONE_MOD_PER_FILE'
785
+ pyslint_msg (lv_rule_id, msg)
786
+ break
787
+
788
+ def chk_dpi_rules(lv_cu_scope):
789
+ if (lv_cu_scope.kind.name == 'ModuleDeclaration'):
790
+ for lv_mod_mem_i in lv_cu_scope.members:
791
+ if (lv_mod_mem_i.kind.name == 'DPIImport'):
792
+ COMPAT_DPI_OLD_SPECSTR (lv_mod_mem_i)
793
+ FUNC_DPI_NO_4STATE_IN_RETURN (lv_mod_mem_i)
794
+
795
+ def chk_naming(lv_cu_scope):
796
+ if (lv_cu_scope.kind.name == 'ClassDeclaration'):
797
+ lv_ident_name = str(lv_cu_scope.name)
798
+ lv_exp_s = sv_suffix_d['class']
799
+ chk_name_style_suffix ('NAME_CLASS_SUFFIX', lv_ident_name, lv_exp_s)
800
+
801
+ if (lv_cu_scope.kind.name == 'InterfaceDeclaration'):
802
+ lv_ident_name = str(lv_cu_scope.header.name)
803
+ lv_exp_s = sv_suffix_d['intf']
804
+ chk_name_style_suffix ('NAME_INTF_SUFFIX', lv_ident_name, lv_exp_s)
805
+ FUNC_NO_2STATE_IN_INTF(lv_cu_scope)
806
+
807
+ NAME_CG_PREFIX(lv_cu_scope)
808
+
809
+ args = pyslint_argparse()
810
+
811
+ sv_prefix_d = pyslint_update_prefixes()
812
+ sv_suffix_d = pyslint_update_suffixes()
813
+ pyslint_rules_l = pyslint_update_rule_ids()
814
+
815
+ inp_test_name = args.test
816
+
817
+ tree = pyslang.SyntaxTree.fromFile(inp_test_name)
818
+ r = tree.root
819
+
820
+ if (tree.root.members.__str__() == ''):
821
+ print("PySlint: No modules/interfaces/classes found")
822
+ exit(0)
823
+
824
+ for scope_i in (tree.root.members):
825
+ chk_naming(scope_i)
826
+ chk_dpi_rules(scope_i)
827
+
828
+ CL_METHOD_NOT_EXTERN(scope_i)
829
+ FUNC_CNST_MISSING_CAST(scope_i)
830
+ FUNC_CNST_WRONG_OPER_PRI(scope_i)
831
+ CL_MISSING_ENDLABEL(scope_i)
832
+ REUSE_NO_TDEF_IN_MOD(scope_i)
833
+ COMPAT_SVA_NO_CONC_IN_FE(scope_i)
834
+ COMPAT_SVA_NO_EXPECT_EXPR_IN_INIT(scope_i)
835
+ COMPAT_CG_OPT_PI_CL(scope_i)
836
+ REUSE_CG_NO_ILBINS_CL(scope_i)
837
+ PERF_CG_NO_ABIN_W_DEF_CL(scope_i)
838
+ REUSE_NO_WILDC_AA_CL(scope_i)
839
+ REUSE_ONE_CL_PER_FILE(scope_i)
840
+ REUSE_ONE_MOD_PER_FILE(scope_i)
841
+
842
+ cu_scope = tree.root.members[0]
843
+ if (cu_scope.kind.name != 'ClassDeclaration'):
844
+ if (hasattr(cu_scope, 'members')):
845
+ for m_i in (cu_scope.members):
846
+ NAME_AST_PREFIX(m_i)
847
+ NAME_ASM_PREFIX(m_i)
848
+ NAME_COV_PREFIX(m_i)
849
+ SVA_MISSING_FAIL_AB(m_i)
850
+ SVA_NO_PASS_AB(m_i)
851
+ NAME_PROP_PREFIX(m_i)
852
+ COMPAT_SVA_NO_DEGEN_CONSEQ(m_i)
853
+ COMPAT_SVA_NO_DEGEN_AST(m_i)
854
+ COMPAT_SVA_NO_S_UNTIL_WITH(m_i)
855
+ SVA_MISSING_ENDLABEL(m_i)
856
+ NAME_CG_PREFIX(m_i)
857
+
snapshots/AsFigo_pyslint_pr140/sv_tests/AxiPC.sv ADDED
The diff for this file is too large to render. See raw diff
 
snapshots/AsFigo_pyslint_pr140/sv_tests/FPGA_Design_Rules/Fail/fail.txt ADDED
@@ -0,0 +1 @@
 
 
1
+
snapshots/AsFigo_pyslint_pr140/sv_tests/FPGA_Design_Rules/Pass/pass.txt ADDED
@@ -0,0 +1 @@
 
 
1
+
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/MultiBitPosedge_f.sv ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ module MultiBitPosedge_f(input logic [7:0] signal);
2
+ //whenever there is a transition from 0 to 1 enter the always block
3
+ always @(posedge signal) begin
4
+ // Your code here
5
+
6
+ $display("Posedge detected on any bit of signal.");
7
+ end
8
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/blocking_inside_always_f.sv ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module blocking_inside_always_f (
2
+ input wire data , // Data Input
3
+ input wire clk , // Clock Input
4
+ input wire reset , // Reset input
5
+ output reg q // Q output
6
+ );
7
+
8
+ always_ff @ ( posedge clk)
9
+ if (!reset) begin
10
+ q = 1'b0;//Blocking inside always block
11
+ end else begin
12
+ q = data;//Blocking inside always block
13
+ end
14
+ endmodule //End Of Module dff_sync_reset
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/comparition_always_evalto_sameresult_f.sv ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module comparition_always_evalto_sameresult_f;
2
+
3
+ // Declare a variable to store the result of the comparisons
4
+ int result = 0;
5
+
6
+ // Test the comparisons
7
+ initial begin
8
+ if (1 == 0) begin
9
+ result = 1;//compartion evaluate to different result
10
+ $display("value result:%0d",result);
11
+ end
12
+ if (1 != 1) begin
13
+ result = 1;//compartion evaluate to different result
14
+ $display("value result:%0d",result);
15
+ end
16
+ end
17
+
18
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/dangling_else_new_f.sv ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module dangling_else_new_f;
2
+
3
+ // Declare the signals
4
+ reg a, b, c, d;
5
+
6
+ initial begin
7
+ a = 1; // Change these values to test different scenarios
8
+ b = 1;
9
+
10
+ // Execute the nested if-else code with an error
11
+ if (a) begin
12
+ if (b) begin
13
+ c = 1;
14
+ end
15
+ d = 1; // This line causes a syntax error due to the dangling else
16
+ end
17
+
18
+ // Display results
19
+ $display("a = %b, b = %b, c = %b, d = %b", a, b, c, d);
20
+
21
+ end
22
+
23
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/dff_latch_f.sv ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ module dff_latch_f (input d,
2
+ input rstn,
3
+ input clk,
4
+ output reg q);
5
+
6
+ always @ (posedge clk or negedge rstn)
7
+ if (rstn)
8
+ q <= d;
9
+ //else part is missing latch get inferred
10
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/empty_if_new_f.sv ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module empty_if_new_f;
2
+ reg a;
3
+
4
+ initial begin
5
+ a = 1'b1;
6
+ if (a) begin
7
+ // Empty if body
8
+ end
9
+ end
10
+
11
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/empty_loop_f.sv ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ module empty_loop_f;
2
+ initial
3
+ begin
4
+ for (int i = 0; i < 100; i++) begin
5
+ // empty loop
6
+ end
7
+ end
8
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/enum_setmembership_ops_f.sv ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ typedef enum bit [2:0] {
2
+ STATE_A = 3'b000,
3
+ STATE_B = 3'b001,
4
+ STATE_C = 3'b010,
5
+ STATE_D = 3'b011
6
+ } StateType;
7
+
8
+ module enum_setmembership_ops_f;
9
+ StateType current_state;
10
+
11
+ initial begin
12
+ current_state = STATE_B;
13
+
14
+ // Failure test case
15
+ if (current_state inside {STATE_A, STATE_D}) // Attempting to use unsupported enum values
16
+
17
+ $display("Current state is either STATE_A or STATE_D");
18
+ else
19
+ $display("Current state is not STATE_A or STATE_D");
20
+
21
+ end
22
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/header_guard_f.sv ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //without header guard definition
2
+ module header_guard_f(
3
+ input clk,
4
+ input rst,
5
+ output reg [7:0] data
6
+ );
7
+
8
+ always @(posedge clk) begin
9
+ if (rst) begin
10
+ data <= 0;
11
+ end else begin
12
+ data <= data + 1;
13
+ end
14
+ end
15
+
16
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/implicit_conversion_f.sv ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module implicit_conversion_f();
2
+ reg [3:0] a = 4'd7;//a 4bit variable
3
+ reg [2:0] b = 3'd5;//3 bit variable
4
+ reg [4:0] result;
5
+
6
+ always_comb begin
7
+ result = a + b;//width mismatch while adding a and b
8
+ end
9
+
10
+ initial begin
11
+ $display("Result: %d", result);
12
+ end
13
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/implicit_params_f.sv ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module implicit_params_f();
2
+
3
+ parameter m1 = 2;
4
+
5
+ initial
6
+ begin
7
+ $display("value of m1:%0d",m1);
8
+ end
9
+ endmodule
10
+
11
+ module tb;
12
+
13
+ implicit_params_f #(5) t1();//implicit parameter redefine
14
+
15
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/misleading_if_else_indentation_f.sv ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module misleading_if_else_indentation_f;
2
+ reg a, b;
3
+ reg result;
4
+
5
+ initial begin
6
+ a = 1;
7
+ b = 0;
8
+
9
+ if (a)
10
+ if (b)
11
+ result = 0;
12
+ else
13
+ result = 1;//else belongs to the inner if not the outer if
14
+
15
+ $display("Result: %b", result);
16
+ end
17
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/missing_return_f.sv ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module missing_return_f;
2
+ //function to add two integer numbers.
3
+ function int sum(input int a,b);
4
+ sum = a+b;
5
+ endfunction
6
+
7
+ initial begin
8
+
9
+ sum(10,5);//while calling the function must assigned to the int variabe.
10
+ end
11
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/self_assign_f.sv ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ module self_assign_f;
2
+ logic a = 0;
3
+
4
+ initial begin
5
+ a = a; // Self-assignment
6
+ $display("a = %0d", a);
7
+ end
8
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/shadowing_names_f.sv ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module shadowing_names_f;
2
+ int data = 5;
3
+
4
+ initial begin
5
+ int data = 10; // This shadows the outer 'data' variable
6
+ $display("Inner data: %0d", data); // This will print the inner 'data'
7
+ end
8
+
9
+ initial begin
10
+ $display("Outer data: %0d", data); // This will print the outer 'data'
11
+ end
12
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/signedness_f.sv ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ module signedness_f;
2
+
3
+ logic [7:0] reqA;
4
+
5
+ initial begin
6
+ reqA = -4;//reqA can store unsigned value not signed value-signedness issue
7
+ $display("value of reqA:%0b",reqA);
8
+ end
9
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/string_literal_f.sv ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module string_literal_f;
2
+
3
+ initial begin
4
+ string strValue = "Hello, World!";
5
+ integer intValue;
6
+
7
+ // Try to assign the string value to an integer
8
+ intValue = strValue; // This will result in a compilation error
9
+
10
+ $display("String Value: %s", strValue);
11
+ $display("Integer Value: %d", intValue);
12
+ end
13
+
14
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/switch_cov_enum_f.sv ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module switch_issue_f;
2
+ typedef enum int { A, B, C, D, E, F, G, H} packet_type_t;
3
+ packet_type_t pkt_type;
4
+
5
+ initial begin
6
+ pkt_type = A;
7
+ //void'(randomize(pkt_type));
8
+ case (pkt_type) inside
9
+ A,D : $write("case 1 ");
10
+ B,C : $write("case 2 ");
11
+ //[E:G] : $write("case 3 ");//All case items are not covered
12
+ //default : $write("default ");
13
+ endcase // case (pkt_type)
14
+ $display(pkt_type.name);
15
+ end
16
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/uninitialized_vars_in_constexp_f.sv ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ module uninitialized_vars_in_constexp_f;
2
+ int data;
3
+ const int unsigned my_const = uninitialized_var; // This will cause a compile-time error
4
+
5
+ initial begin
6
+ data = my_const;
7
+ $display("data:%0d",data);
8
+ end
9
+
10
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/unreachable_code_f.sv ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module unreachable_code_f;
2
+
3
+ initial
4
+ begin
5
+ if (1'b0) begin
6
+ $display("The code is not reachable");// Unreachable code
7
+ end else begin
8
+ $display("The code is reachable"); // Reachable code
9
+ end
10
+ end
11
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/unused_field_f.sv ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module unused_field_f;
2
+
3
+ logic a;
4
+ //unsed field
5
+ logic unused_signal;
6
+
7
+ initial
8
+ begin
9
+ a=0;
10
+ $display("value of a:%0d",a);
11
+ //unused_signal=1;
12
+ //$display("value of unused_signal:%0d",unused_signal);
13
+ end
14
+ endmodul
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/unused_function_f.sv ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module unused_function_f;
2
+
3
+ initial begin
4
+
5
+ x(); //function declaration
6
+ //y();function y not used
7
+
8
+ end
9
+ function void x;
10
+ //function definition
11
+ endfunction
12
+
13
+ function void y;
14
+ //function definition
15
+ endfunction
16
+
17
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/unused_parameter_f.sv ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module unused_parameter_f #(parameter DATA_WIDTH = 8, ID_WIDTH = 32) (data, id);
2
+ //unused parameter ,parameter DATA_WIDTH is not used anywhere
3
+ input bit [ID_WIDTH-1: 0] data;
4
+ input bit [ID_WIDTH-1: 0] id;
5
+
6
+ initial begin
7
+ // Display width values
8
+ $display("DATA_WIDTH = %0d, ID_WIDTH = %0d", DATA_WIDTH, ID_WIDTH);
9
+
10
+ // Display variables
11
+ $display("data = %0d, id = %0d", data, id);
12
+ end
13
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/unused_typedef_f.sv ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ typedef enum bit [1:0] {RED,BLUE,GREEN,YELLOW} colours_1 ;
2
+ typedef enum bit {Rd,WR} eight;
3
+
4
+ module unused_typedef_f;
5
+ initial
6
+ begin
7
+ //eight a1;//unused typedef but it was defined outside the module
8
+
9
+ colours_1 ch1;
10
+
11
+ ch1 = RED;
12
+
13
+ $display("ch1:%0d",ch1);
14
+ end
15
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/unused_variable_f.sv ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module unused_variable_f;
2
+
3
+ int a;
4
+ int b;//unused variable b
5
+
6
+ initial
7
+ begin
8
+ a=0;
9
+ $display("value of a:%0d",a);
10
+ end
11
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/fail_test_cases/upward_name_f.sv ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module upward_name_f;
2
+
3
+ initial
4
+ begin:TB_INITIAL
5
+ reg signal;
6
+ end
7
+
8
+ initial
9
+ begin
10
+ signal=0;//scope for the "signal" is not visible here
11
+ $display("value of signal:%0d",signal);
12
+ end
13
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/MultiBitPosedge_p.sv ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module MultiBitPosedge_p(input logic [7:0] signal);
2
+ logic [7:0] prev_signal;
3
+ always @(posedge signal) begin
4
+ for (int i = 0; i < 8; i++) begin
5
+ if (signal[i] && !prev_signal[i]) begin
6
+ // Rising edge detected on bit i
7
+ $display("Posedge detected on bit %0d of signal.", i);
8
+ end
9
+ end
10
+ prev_signal <= signal;
11
+ end
12
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/blocking_inside_always_p.sv ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module blocking_inside_always_p (
2
+ input wire data , // Data Input
3
+ input wire clk , // Clock Input
4
+ input wire reset , // Reset input
5
+ output reg q // Q output
6
+ );
7
+
8
+ always_ff @ ( posedge clk)
9
+ if (!reset) begin
10
+ q <= 1'b0;//Blocking inside always block
11
+ end else begin
12
+ q <= data;//Blocking inside always block
13
+ end
14
+
15
+ endmodule //End Of Module dff_sync_reset
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/comparition_always_evalto_sameresult_p.sv ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module comparition_always_evalto_sameresult_p;
2
+
3
+ // Declare a variable to store the result of the comparisons
4
+ int result = 0;
5
+
6
+ // Test the comparisons
7
+ initial begin
8
+ if (1 == 1) begin
9
+ result = 1;//compartion always evaluate to same result
10
+ $display("value result:%0d",result);
11
+ end
12
+ if (1 != 0) begin
13
+ result = 1;//compartion always evaluate to same result
14
+ $display("value result:%0d",result);
15
+ end
16
+ end
17
+
18
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/dangling_else_new_p.sv ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module dangling_else_new_p;
2
+
3
+ // Declare the signals
4
+ reg a, b, c, d;
5
+
6
+ initial begin
7
+ a = 1; // Change these values to test different scenarios
8
+ b = 1;
9
+
10
+ // Execute the nested if-else code with an error
11
+ if (a) begin
12
+ if (b) begin
13
+ c = 1;
14
+ end
15
+ else
16
+ d = 1;
17
+ end
18
+
19
+ // Display results
20
+ $display("a = %b, b = %b, c = %b, d = %b", a, b, c, d);
21
+
22
+ end
23
+
24
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/dff_latch_p.sv ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module dff_latch_p (input d,
2
+ input rstn,
3
+ input clk,
4
+ output reg q);
5
+ always @ (posedge clk or negedge rstn)
6
+ begin
7
+ if (rstn)
8
+ q <= d;
9
+ else //else part is present so latch not inferred
10
+ q<=0;
11
+ end
12
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/empty_if_new_p.sv ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module empty_if_new_p;
2
+ reg a;
3
+
4
+ initial begin
5
+ a = 1'b1;
6
+ if (a) begin
7
+ $display("Not an empty if");//if is not empty
8
+ end
9
+ end
10
+
11
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/empty_loop_p.sv ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ module empty_loop_p;
2
+
3
+ initial
4
+ begin
5
+ for (int i = 0; i < 100; i++) begin
6
+ $display("Not an empty loop");//loop is not empty
7
+ end
8
+ end
9
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/enum_setmembership_ops_p.sv ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ typedef enum bit [2:0] {
2
+ STATE_A = 3'b000,
3
+ STATE_B = 3'b001,
4
+ STATE_C = 3'b010,
5
+ STATE_D = 3'b011
6
+ } StateType;
7
+
8
+ module enum_setmembership_ops_p;
9
+ StateType current_state;
10
+
11
+ initial begin
12
+ current_state = STATE_B;
13
+ // Successful set membership operation
14
+ if (current_state inside {STATE_A, STATE_B, STATE_C})
15
+ //set membership operations to check if a given value belongs to the enum's defined set
16
+ $display("Current state is either STATE_A, STATE_B, or STATE_C");
17
+ else
18
+ $display("Current state is not STATE_A, STATE_B, or STATE_C");
19
+
20
+ end
21
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/header_guard_p.sv ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ `ifndef MY_HEADER_GUARD
2
+ `define MY_HEADER_GUARD
3
+
4
+ module header_guard_p (
5
+
6
+
7
+ input clk,
8
+ input rst,
9
+ output reg [7:0] data
10
+ );
11
+
12
+ always @(posedge clk) begin
13
+ if (rst) begin
14
+ data <= 0;
15
+ end else begin
16
+ data <= data + 1;
17
+ end
18
+ end
19
+
20
+ endmodule
21
+
22
+ `endif
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/implicit_conversion_p.sv ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module implicit_conversion_p();
2
+ reg [3:0] a = 4'd7;
3
+ reg [3:0] b = 4'd3;//explicit conversion of b from 3 bit to 4 bit
4
+ reg [4:0] result;
5
+
6
+ always_comb begin
7
+ result = a + b;
8
+
9
+ end
10
+
11
+ initial begin
12
+ $display("Result: %d", result);
13
+ end
14
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/implicit_params_p.sv ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module implicit_params_p();
2
+
3
+ parameter m1 = 2;
4
+
5
+ initial
6
+ begin
7
+ $display("value of m1:%0d",m1);
8
+ end
9
+ endmodule
10
+
11
+ module tb;
12
+
13
+ implicit_params_p t1();
14
+ defparam t1.m1 = 10;//explicit parameter redefine
15
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/misleading_if_else_indentation_p.sv ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module misleading_if_else_indentation_p;
2
+ reg a, b;
3
+ reg result;
4
+
5
+ initial begin
6
+ a = 1;
7
+ b = 0;
8
+
9
+ if (a) begin
10
+ if (b)
11
+ result = 0;
12
+ else
13
+ result = 1;//else belongs to the inner if not the outer if properly indented
14
+ end
15
+ $display("Result: %b", result);
16
+ end
17
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/missing_return_p.sv ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module missing_return_p;
2
+ int x;
3
+
4
+ //function to add two integer numbers.
5
+ function int sum(input int a,b);
6
+ sum = a+b;//a+b is assigned to the name of the function itself
7
+ endfunction
8
+
9
+ initial begin
10
+ x=sum(10,5);
11
+ $display("\tValue of x = %0d",x);
12
+ end
13
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/self_assign_p.sv ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ module self_assign_p;
2
+ logic a = 0;
3
+
4
+ initial begin
5
+ a = 1; // recommended to avoid self-assignments and always use valid assignment statements with appropriate values else if we give a = a; then proper comments needed for self assignment
6
+ $display("a = %0d", a);
7
+ end
8
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/shadowing_names_p.sv ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module shadowing_names_p;
2
+ int data = 5;
3
+
4
+ initial begin
5
+ int local_data = 10; // Avoid naming conflict
6
+ $display("Inner data: %0d", local_data); // This will print the inner 'local_data'
7
+ end
8
+
9
+ initial begin
10
+ $display("Outer data: %0d", data); // This will print the outer 'data'
11
+ end
12
+ endmodule
snapshots/AsFigo_pyslint_pr140/sv_tests/mike_pylint_issues/pass_test_cases/signedness_p.sv ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ module signedness_p;
2
+
3
+ logic [7:0] reqA;
4
+
5
+ initial begin
6
+ reqA =$unsigned(8'b11111100);//reqA can store unsigned value not signed value(-4->11111100) so casting to unsigned
7
+ $display("value of reqA:%0b",reqA);
8
+ end
9
+ endmodule