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

VSCode Extension TerosHDL Error #99

Open
woeichee opened this issue Oct 28, 2024 · 3 comments
Open

VSCode Extension TerosHDL Error #99

woeichee opened this issue Oct 28, 2024 · 3 comments

Comments

@woeichee
Copy link

I am facing an errorbelow after installing TerosHDL. Any idea to fix it?

thread '' panicked at vhdl_lang\src\named_entity\formal_region.rs:101:17:
internal error: entered unreachable code

@Schottkyc137
Copy link
Contributor

Hi,

Could you provide an example that causes your code to panic? This error could come from a lot of different places although I suspect that this is due to the same reason as VHDL-LS/rust_hdl#348?

@woeichee
Copy link
Author

Hi,

Could you provide an example that causes your code to panic? This error could come from a lot of different places although I suspect that this is due to the same reason as VHDL-LS/rust_hdl#348?

I don't have any idea which part of my code. I just open the my workspace that contain a lot of vhdl files. Then this message keeps happening. So, i need to close all first and then open 1 by 1? After that, how to deal with it?

@Schottkyc137
Copy link
Contributor

Unfortunately, there is not a lot you can do at the moment as this is an error on the language server side. Again, I suspect that this has something to do with entity instantiations that are not signals or constants (e.g., types or functions), but I can't be sure of this without more context. If you want to help me, you could try and compile a minimum reproducible example from your projects that generates the panic.

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

2 participants