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

Missing verilator files in VS Code #4

Open
AEMLL opened this issue Oct 12, 2022 · 5 comments
Open

Missing verilator files in VS Code #4

AEMLL opened this issue Oct 12, 2022 · 5 comments

Comments

@AEMLL
Copy link

AEMLL commented Oct 12, 2022

I ran the bash script but it did not add all the dependencies correctly. I got a couple of errors. I managed to open up vs code and download some of them based on the dependencies that were recommended when I tried to open the Ubuntu workspace. However, there are files missing from the setup so the properties file tries to include files that are not there to the compiler path.

I attached the terminal output in a text folder and will attach a screenshot of the errors that I get when opening the workspace in VS Code.

bash_script_error.txt

VS_code_errors

@Jpnock
Copy link
Collaborator

Jpnock commented Oct 12, 2022

@AEMLL what's your shortcode, I'll give you a call

@Jpnock
Copy link
Collaborator

Jpnock commented Oct 12, 2022

In the mean time try to execute the following script again

~/Documents/iac/lab0-devtools/tools/ubuntu.sh

From the logs it appears that g++ may have run out of memory while compiling Verilator (from the several g++: fatal error: Killed signal terminated program cc1plus log entries)

@Jpnock
Copy link
Collaborator

Jpnock commented Oct 16, 2022

Additionally, the workspace needs to be opened under WSL.

To do this

  1. Install the WSL extension in VS Code
  2. Open the Ubuntu 22.04 terminal and run
    code ~/Documents/iac/lab0-devtools/autumn/workspace/iac-autumn.code-workspace

@AEMLL
Copy link
Author

AEMLL commented Oct 16, 2022 via email

@Jpnock
Copy link
Collaborator

Jpnock commented Oct 16, 2022

Sure, message me on Teams if you can't resolve this.

@Jpnock Jpnock changed the title Missing verilator files Missing verilator files in VS Code Oct 18, 2022
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