sld-columbia / esp

Embedded Scalable Platforms: Heterogeneous SoC architecture and IP integration made easy
Other
332 stars 106 forks source link

make sim not running #142

Closed mayank-kabra2001 closed 2 years ago

mayank-kabra2001 commented 2 years ago

Attaching screenshot of error that rtl simulation not running.

image

i didnt get why we need to install vivado? It should already be there in the docker.

Help required!!

jzuckerman commented 2 years ago

Hello! The docker image doesn't come with any of the CAD tools installed. Please see instructions on using CAD tools with Docker here: https://esp.cs.columbia.edu/docs/setup/docker/#cad-tools-with-docker

mayank-kabra2001 commented 2 years ago

Hi , I want to install toolchains mentioned in the https://esp.cs.columbia.edu/docs/setup/setup-guide/#cad-tools. What is the password of espuser ? Am I doing something wrong ?

image

mayank-kabra2001 commented 2 years ago

Got it!! its default only.. Thanks!!

mayank-kabra2001 commented 2 years ago

One more question !! If I open the docker with a volume using this command.

sudo docker run -it --user espuser --security-opt label=type:container_runtime_t --network=host -e DISPLAY=$DISPLAY -v my-vol:/shared-volume --name my-container-02 columbiasld/esp:ubuntu18-full /bin/bash

It will open for the first time , then after that it will show this error - image

Now if I close this container or start the new container, the toolchain that I installed is gone !! Is there any way to solve this issue ?

jzuckerman commented 2 years ago

Once you open a docker container and exit it, you can re-open the session with docker attach <container-ID> You can find the container-ID with: docker ps -a Checkout other useful commands at the bottom of the Docker setup guide: https://esp.cs.columbia.edu/docs/setup/docker/

mayank-kabra2001 commented 2 years ago

Ohh got it !! Thanks !!

mayank-kabra2001 commented 2 years ago

I have install modelsim and Vivado both on my system. Now in esp_env_cad.sh when I want to change my environment variables, it works good for modelsim but not vivado.

Changes in esp_env_cad.sh -

WhatsApp Image 2022-01-26 at 3 11 11 PM

Error -

WhatsApp Image 2022-01-26 at 3 08 48 PM

I can still source it in my system, which means that it is working correct -

WhatsApp Image 2022-01-26 at 3 08 25 PM

Help Required !!

mayank-kabra2001 commented 2 years ago

After resolving this sourcing issue - I am getting this error - image

Help Required!!

jzuckerman commented 2 years ago

It looks like in your esp_env_cad.sh, you have the command that adds the modelsim to your PATH variable commented out (the first line under the Mentor section). You need this line for modelsim to be found.

mayank-kabra2001 commented 2 years ago

This is my esp_env_cad.sh - WhatsApp Image 2022-01-27 at 9 57 06 PM

I am attaching the video of steps I used and the error I got now - Part1 -

https://user-images.githubusercontent.com/57330493/151402252-2b4732ad-1b4f-45fe-8c43-f1a5605afe44.mp4

Part2 -

https://user-images.githubusercontent.com/57330493/151402300-6183781c-2980-4f8b-bdd5-1a25bf4b1c1e.mp4

Help reqd!!

PS : I have installed Modelsim from this link - https://vhdlwhiz.com/modelsim-quartus-prime-lite-ubuntu-20-04 Edition - Lite release - 19.1

jzuckerman commented 2 years ago

Looks like modelsim can't find the expected libraries from Xilinx. Please note that ESP supports Vivado version 2019.2, and I see that you are using Vivado 2020.1.

mayank-kabra2001 commented 2 years ago

Hi,

I tried to install Vivado 2019.2 and then check, its still showing the errors. One question - Do we need to have licenses for Both Xilinx and modelsim ?

Thanks.