Skip to content

Commit

Permalink
Update RULES.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dalance authored and actions-user committed Mar 4, 2021
1 parent 3efc3cd commit fe6681c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions RULES.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,33 @@ end
endmodule
```

## default_nettype_none

### Description

`` `default_nettype none`` should be at the top of source code

### Reason

`` `default_nettype none`` can detect unintentional implicit wires

### Pass example

```SystemVerilog
`default_nettype none
module A;
endmodule
```

### Fail example

```SystemVerilog
module A;
endmodule
```

## enum_with_type

### Description
Expand Down

0 comments on commit fe6681c

Please sign in to comment.