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

Compile error - identifier undeclared #261

Closed
calebofearth opened this issue Nov 7, 2024 · 1 comment · Fixed by #265
Closed

Compile error - identifier undeclared #261

calebofearth opened this issue Nov 7, 2024 · 1 comment · Fixed by #265

Comments

@calebofearth
Copy link
Contributor

I’m having a compile issue in el2_dec_tlu_ctl.sv due to identifiers that are used before their declaration. One example:

Error-[IND] Identifier not declared
caliptra-rtl/src/riscv_core/veer_el2/rtl/dec/el2_dec_tlu_ctl.sv, 998
  Identifier 'CYCLEL' has not been declared yet. If this error is not 
  expected, please check if you have set `default_nettype to none.
@calebofearth
Copy link
Contributor Author

Possible fix: move the localparams to the top of the file:
d82d5b9d25104aad1a30d3a935aa70a5b918248e

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

Successfully merging a pull request may close this issue.

1 participant