Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[unpacked-dimensions-range-ordering] - configuration #2161

Open
sconwayaus opened this issue Apr 16, 2024 · 0 comments
Open

[unpacked-dimensions-range-ordering] - configuration #2161

sconwayaus opened this issue Apr 16, 2024 · 0 comments
Labels
enhancement New feature or request style-linter Verilog style-linter issues

Comments

@sconwayaus
Copy link
Contributor

Summary
Lint rule [unpacked-dimensions-range-ordering] enforcing scalar ranges [N] for zero based unpacked arrays goes against the grain of my companies internal style guide for synthesisable code.

Proposal
Ideally I'd like to add configuration to the rule so it is more flexible, and retain the current default behaviour.

I propose adding 4x boolean configuration parameters

allow_range_big_endian: true
allow_range_little_endian: false
allow_scalar: true
range_big_endian_prefer_scalar: true // ignored if allow_big_endian or allow_scalar are false
@sconwayaus sconwayaus added enhancement New feature or request style-linter Verilog style-linter issues labels Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request style-linter Verilog style-linter issues
Projects
None yet
Development

No branches or pull requests

1 participant