Shubham Kumar
06/23/2024, 8:13 PMexport PDK_ROOT=/home/sscspico/miniconda3/share/pdk/
Files contains hardcoded paths which makes it difficult...for anyone not using docker...it will be helpful if you can change it to use a PDK_ROOT variable
https://github.com/idea-fasoc/OpenFASOC/blob/main/openfasoc/generators/glayout/glayout/flow/pdk/sky130_mapped/sky130_mapped.py
Original Hardcoded : pdk_root = Path('/usr/bin/miniconda3/share/pdk/')
My Change: pdk_root = Path('$PDK_ROOT')
and it works... able to set things up without docker in a friend's pc...
Please let me know the correct changes...so that we won't face any issue later on pushing code to the repo... @Sakib Pathen @Chetanya GoyalLab Lecture
06/24/2024, 4:06 AMmehdi
06/24/2024, 4:14 AMChetanya Goyal
06/24/2024, 7:17 AMShubham Kumar
06/24/2024, 9:24 AMPDK_ROOT
is a variable which is also used by other open source tools...xschem is one I know of https://xschem.sourceforge.io/stefan/xschem_man/tutorial_xschem_sky130.html#:~:text=PDK_ROOT%20and%20PDK%20environment%20variables
I can see that PDK_ROOT
has also been created in docker installation...
root@c4f43b781ddd:~# $PDK_ROOT
bash: /usr/bin/miniconda3/share/pdk/: Is a directory
Shubham Kumar
06/24/2024, 9:30 AM