Repository navigation
Conversation
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
There was a problem hiding this comment.
Pull request overview
This PR improves documentation clarity by replacing double-negative phrasing ("ignored if undefined") with clearer positive phrasing ("only used when used") in variable descriptions for CORE_ASPECT_RATIO and CORE_MARGIN.
Changes:
- Rephrased documentation to avoid double negation in variable descriptions
- Split multi-line descriptions into separate paragraphs for better readability
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| flow/scripts/variables.yaml | Updated CORE_ASPECT_RATIO and CORE_MARGIN descriptions to use positive phrasing and added paragraph breaks |
| docs/user/FlowVariables.md | Applied the same description changes to the generated documentation table |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| `CORE_UTILIZATION` is undefined. | ||
| The core aspect ratio (height / width). | ||
|
|
||
| This variable is only used when `CORE_UTILIZATION` is used. |
There was a problem hiding this comment.
The phrasing 'only used when ... is used' creates awkward repetition. Consider rephrasing to 'This variable is only used when CORE_UTILIZATION is defined.' or 'This variable only applies when CORE_UTILIZATION is set.' to be more precise and natural.
| is undefined. | ||
| `{bottom top left right}`. | ||
|
|
||
| This variable is only used when `CORE_UTILIZATION` is used. |
There was a problem hiding this comment.
The phrasing 'only used when ... is used' creates awkward repetition. Consider rephrasing to 'This variable is only used when CORE_UTILIZATION is defined.' or 'This variable only applies when CORE_UTILIZATION is set.' to be more precise and natural.
| | <a name="CORE_ASPECT_RATIO"></a>CORE_ASPECT_RATIO| The core aspect ratio (height / width). This variable is only used when `CORE_UTILIZATION` is used.| 1.0| | ||
| | <a name="CORE_MARGIN"></a>CORE_MARGIN| The margin between the core area and die area, specified in microns. Allowed values are either one value for all margins or a set of four values, one for each margin. The order of the four values are: `{bottom top left right}`. This variable is only used when `CORE_UTILIZATION` is used.| 1.0| |
There was a problem hiding this comment.
The phrasing 'only used when ... is used' creates awkward repetition. Consider rephrasing to 'This variable is only used when CORE_UTILIZATION is defined.' or 'This variable only applies when CORE_UTILIZATION is set.' to be more precise and natural.
| | <a name="CORE_ASPECT_RATIO"></a>CORE_ASPECT_RATIO| The core aspect ratio (height / width). This variable is only used when `CORE_UTILIZATION` is used.| 1.0| | |
| | <a name="CORE_MARGIN"></a>CORE_MARGIN| The margin between the core area and die area, specified in microns. Allowed values are either one value for all margins or a set of four values, one for each margin. The order of the four values are: `{bottom top left right}`. This variable is only used when `CORE_UTILIZATION` is used.| 1.0| | |
| | <a name="CORE_ASPECT_RATIO"></a>CORE_ASPECT_RATIO| The core aspect ratio (height / width). This variable is only used when `CORE_UTILIZATION` is defined.| 1.0| | |
| | <a name="CORE_MARGIN"></a>CORE_MARGIN| The margin between the core area and die area, specified in microns. Allowed values are either one value for all margins or a set of four values, one for each margin. The order of the four values are: `{bottom top left right}`. This variable is only used when `CORE_UTILIZATION` is defined.| 1.0| |
| | <a name="CORE_ASPECT_RATIO"></a>CORE_ASPECT_RATIO| The core aspect ratio (height / width). This variable is only used when `CORE_UTILIZATION` is used.| 1.0| | ||
| | <a name="CORE_MARGIN"></a>CORE_MARGIN| The margin between the core area and die area, specified in microns. Allowed values are either one value for all margins or a set of four values, one for each margin. The order of the four values are: `{bottom top left right}`. This variable is only used when `CORE_UTILIZATION` is used.| 1.0| |
There was a problem hiding this comment.
The phrasing 'only used when ... is used' creates awkward repetition. Consider rephrasing to 'This variable is only used when CORE_UTILIZATION is defined.' or 'This variable only applies when CORE_UTILIZATION is set.' to be more precise and natural.
| | <a name="CORE_ASPECT_RATIO"></a>CORE_ASPECT_RATIO| The core aspect ratio (height / width). This variable is only used when `CORE_UTILIZATION` is used.| 1.0| | |
| | <a name="CORE_MARGIN"></a>CORE_MARGIN| The margin between the core area and die area, specified in microns. Allowed values are either one value for all margins or a set of four values, one for each margin. The order of the four values are: `{bottom top left right}`. This variable is only used when `CORE_UTILIZATION` is used.| 1.0| | |
| | <a name="CORE_ASPECT_RATIO"></a>CORE_ASPECT_RATIO| The core aspect ratio (height / width). This variable is only used when `CORE_UTILIZATION` is defined.| 1.0| | |
| | <a name="CORE_MARGIN"></a>CORE_MARGIN| The margin between the core area and die area, specified in microns. Allowed values are either one value for all margins or a set of four values, one for each margin. The order of the four values are: `{bottom top left right}`. This variable is only used when `CORE_UTILIZATION` is defined.| 1.0| |
|
I agree with Gemini on this one |
I went over this with Gemini... :-) "defined" is misleading, because we can have defined, but empty variables. Alternatives? |
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
|
@maliberty Better? |
No description provided.