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

Linting file for spyglass #56

Open
rahulraveendran15-coder opened this issue Oct 8, 2021 · 5 comments
Open

Linting file for spyglass #56

rahulraveendran15-coder opened this issue Oct 8, 2021 · 5 comments
Labels
question Further information is requested

Comments

@rahulraveendran15-coder
Copy link

Hi,

Do you have any rules file defined with the lowRISC coding guidelines that I can run on Spyglass?

@imphil
Copy link
Contributor

imphil commented Oct 8, 2021

Unfortunately not. I looked into it briefly a while ago, but didn't move forward with it.

You can potentially start by looking at the AscentLint, Verilator, and Verible waiver and configuration files at https://github.com/lowRISC/opentitan/tree/master/hw/lint/tools.

It would be fantastic if you can put a SpyGlass waiver together and share it!

@imphil imphil added the question Further information is requested label Oct 8, 2021
@rahulraveendran15-coder
Copy link
Author

Thank you, my question is can I get a rule defined file either its verilator or AscentLint which has the lowRISC coding guidelines ?

@imphil
Copy link
Contributor

imphil commented Oct 8, 2021

Yes, the rules I linked above are both following the lowRISC style guide, since opentitan follows this style guide.

@rahulraveendran15-coder
Copy link
Author

I can see only some waiver files. I am very much interested on the other rules that lowRISC suggests, for example naming convention, no usage of defparam etc.

@imphil
Copy link
Contributor

imphil commented Oct 8, 2021

That's all the rules there are.

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

No branches or pull requests

2 participants