Shivani
11/06/2021, 12:46 PMMitch Bailey
11/06/2021, 12:58 PMPDK_ROOT
doesn't appear to be set. Also running as sudo
may be causing problems with the userid setting.
Can you try this?
export PDK_ROOT=$OPENLANE_ROOT/pdks
make verify-io_ports
Shivani
11/06/2021, 1:07 PMDinesh A
11/07/2021, 2:00 PMShivani
11/08/2021, 7:01 AMMitch Bailey
11/08/2021, 7:16 AMCARAVEL_ROOT
set, unset CARAVEL_ROOT
If you're executing in caravel_user_project
, the Makefile
will automatically set CARAVEL_ROOT=$PWD/caravel
which is the default destination when you execute make install
. The screen copy you sent seems to indicate that you've set CARAVEL_ROOT=/caravel
. Is that what you intended?Shivani
11/08/2021, 7:18 AMMitch Bailey
11/08/2021, 7:27 AM/caravel
is not the same as $PWD/caravel
.
What do you get when you execute the following in /home/lifam/Documents/shivani/caravel_user_project
?
echo $CARAVEL_ROOT
ls $CARAVEL_ROOT
ls caravel
Shivani
11/08/2021, 7:38 AMMitch Bailey
11/08/2021, 7:43 AMCARAVEL_ROOT
before executing)
Try this
unset CARAVEL_ROOT
make verify-io_ports
and let me know what you get.Shivani
11/08/2021, 7:48 AMexport PDK_ROOT=<pdk-installation-path>
export CARAVEL_ROOT=$(pwd)/caravel
# specify simulation mode: RTL/GL
export SIM=RTL
# Run RTL simulation on IO ports testbench, make verify-io_ports
make verify-<testbench-name>
So, now without setting the 3 variables directly should I run make command?Shivani
11/08/2021, 7:50 AMMitch Bailey
11/08/2021, 8:01 AMPDK_ROOT
and SIM
but you need to replace <pdk-installation-path>
with the path to your pdk installation. If you have OPENLANE_ROOT
set correctly and the pdks are installed in the default location, you should be able to export PDK_ROOT=$OPENLANE_ROOT/pdks
You can set CARAVEL_ROOT
if you want, but the default will be set correctly in your case.Shivani
11/08/2021, 11:28 AMOPENLANE_ROOT
shoud be set in my case bcoz after running RTL simulation openlane comes in that document.Mitch Bailey
11/08/2021, 11:53 AMmake pdk
or non-native make pdk-nonnative
, but I couldn't find the target for pdk
in the Makefile
.
So you might try something like this
export PDK_ROOT=/home/lifam/Documents/shivani/pdks
make pdk-nonnative
make verify-io_ports
The docker image you're using has openlane pre-installed, it seems.Shivani
11/08/2021, 2:02 PM