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

Skip lines with `uvm_.* #277

Open
Mishassio opened this issue Jan 31, 2024 · 0 comments
Open

Skip lines with `uvm_.* #277

Mishassio opened this issue Jan 31, 2024 · 0 comments

Comments

@Mishassio
Copy link

Mishassio commented Jan 31, 2024

When we use style_indent rule "Follow each newline with an integer multiple of 2 spaces." we have troubles in strings where we use `uvm_, because uvm library use 3 spaces. So we need to mechanically add spaces everywhere we use uvm macros.

Is there a way to skip particular line which consists specific text or regex? For example skip all lines which consist:
.*'uvm_.*

We know that there're special comments in svlint now to skip block of code, but this way doesn't suite for us, because it is very hard to add comments to the large amount of sources and to add it during the development code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant