https://open-source-silicon.dev logo
#sky130
Title
# sky130
s

Shivani

12/30/2021, 10:38 AM
Hello, I am facing this issue while running RTL simulation.
/home/lifam/Documents/shivani/caravel_user_project/caravel/verilog/rtl/caravel_netlists.v:47: Include file libs.ref/sky130_sram_macros/verilog/sky130_sram_2kbyte_1rw1r_32x512_8.v not found
Can anyone help?
v

Vijayan Krishnan

12/30/2021, 10:42 AM
can you post snippet of caravel_netlists.v line 47
your PDK path not have
sky130_sram_2kbyte_1rw1r_32x512_8.v
s

Shivani

12/30/2021, 10:44 AM
yes PDK_ROOT path is not having the macros folder. Do you know how to install that?
there is libs.ref folder but inside that there is no
sky130_sram_macros
v

Vijayan Krishnan

12/30/2021, 10:45 AM
which is ur PDK_ROOT?
s

Shivani

12/30/2021, 10:46 AM
image.png
v

Vijayan Krishnan

12/30/2021, 10:47 AM
openlane root?
s

Shivani

12/30/2021, 10:48 AM
/home/lifam/Documents/shivani/cache_design/caravel_user_project/openlane
one sec not this.
v

Vijayan Krishnan

12/30/2021, 10:49 AM
goto that directory and do
make pdk
s

Shivani

12/30/2021, 10:50 AM
OPEN_LANE path:
/home/lifam/Documents/shivani/caravel_user_project/openlane
make pdk
from PDK_ROOT right?
v

Vijayan Krishnan

12/30/2021, 10:50 AM
There is Makefile in your installation path, which has required pdk commits
yes
follow the setup instruction carefully
s

Shivani

12/30/2021, 10:52 AM
ok, I did
make pdk
from working directory.
are you free for small sync up now over gmeet?
v

Vijayan Krishnan

12/30/2021, 10:59 AM
is make pdk running? it will take time download
s

Shivani

12/30/2021, 11:03 AM
its done but still the same error
m

Mitch Bailey

12/30/2021, 11:24 AM
before you run
make pdk
,
export INSTALL_SRAM=enable
s

Shivani

12/30/2021, 11:57 AM
ok