File tree Expand file tree Collapse file tree 3 files changed +27
-2
lines changed
Expand file tree Collapse file tree 3 files changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,8 @@ With default assignments:
103103
104104 .. tip ::
105105
106- Use default assignments in the most local lexical scope possible .
106+ Use default assignments in the most local lexical scope that is appropriate .
107107 This improves readability, and prevents the assignment from affecting
108108 something you didn't intend.
109+
110+ Avoid using default assignments in the root namespace.
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ Plugin Discovery
6262There are two ways PeakRDL can discover your plugin.
6363
6464Via Entry Point
65- ---------------
65+ ^^^^^^^^^^^^^^^
6666
6767The PeakRDL command line tool automatically discovers importers by scanning the
6868entry points that installed packages advertise.
Original file line number Diff line number Diff line change @@ -208,6 +208,29 @@ Parameters and Verilog-style macros are uppercase
208208-------------------------------------------------
209209Constants should be in ALL_CAPS
210210
211+ |:thumbsup: |
212+
213+ .. code :: systemrdl
214+
215+ field my_field #(
216+ longint unsigned MY_PARAM = 1,
217+ longint unsigned OTHER_PARAM = 2
218+ ){
219+ // ...
220+ };
221+
222+
223+ |:thumbsdown: |
224+
225+ .. code :: systemrdl
226+
227+ field my_field #(
228+ longint unsigned my_param = 1,
229+ longint unsigned other_param = 2
230+ ){
231+ // ...
232+ };
233+
211234
212235 Long descriptions
213236-----------------
You can’t perform that action at this time.
0 commit comments