Mahde Souqi
06/07/2023, 1:18 PMJosuah Demangeon
06/07/2023, 1:20 PMls -l /mnt/.../config_in.tcl
?
With /mnt/.../config_in.tcl
replaced by the file name you have.Mahde Souqi
06/07/2023, 1:44 PMMitch Bailey
06/07/2023, 1:48 PMroot
?Mahde Souqi
06/07/2023, 1:51 PMJosuah Demangeon
06/07/2023, 1:55 PM23_06_07_16_10
, could you also run ls -l 23_06_07_16_10
?Josuah Demangeon
06/07/2023, 1:56 PMconfig_in.tcl
in it that seemed to be unreadable by python...Mahde Souqi
06/07/2023, 1:59 PMJosuah Demangeon
06/07/2023, 2:02 PMopen(output, "w")
), not read it...Josuah Demangeon
06/07/2023, 2:03 PMtouch 23_06_07_16_10/config_in.tcl
?
To try to create the file?Josuah Demangeon
06/07/2023, 2:04 PM/mnt/...../
It could be a docker or any other kindof virtual environment, in which case these disks might be mounted read-only.Mahde Souqi
06/07/2023, 2:07 PMMahde Souqi
06/07/2023, 2:08 PMJosuah Demangeon
06/07/2023, 2:12 PMrm 23_06_07_16_10/config_in.tcl
Then try to use the same method as python did, as seen on the screenshot:
python3 -c "with open('23_06_07_16_10/config_in.tcl', 'w') as f: pass"
Josuah Demangeon
06/07/2023, 2:13 PM'w'
argument to open()
)Mahde Souqi
06/07/2023, 2:16 PMMahde Souqi
06/07/2023, 2:17 PMMahde Souqi
06/07/2023, 2:17 PMJosuah Demangeon
06/07/2023, 2:17 PMJosuah Demangeon
06/07/2023, 2:18 PMMahde Souqi
06/07/2023, 2:21 PMJosuah Demangeon
06/07/2023, 2:24 PMJosuah Demangeon
06/07/2023, 2:25 PMJosuah Demangeon
06/07/2023, 2:25 PMJosuah Demangeon
06/07/2023, 2:25 PMmount
would show all the state of the filesystem, giving more insight of how these /mnt/... storage are configuredMahde Souqi
06/07/2023, 2:38 PMJosuah Demangeon
06/07/2023, 2:41 PMmount
would give you a listing of what is currently mounted everywhere, and that is something I could inspect and hopefully see some "read-only" indication in here (often ro
)Josuah Demangeon
06/07/2023, 2:41 PM$ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=10240k,nr_inodes=1001506,mode=755,inode64)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,inode64)
/dev/dm-0 on / type ext4 (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,size=1607264k,nr_inodes=819200,mode=755,inode64)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
/dev/nvme0n1p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-ro)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,inode64)
Josuah Demangeon
06/07/2023, 2:42 PM...(rw,...
)Mahde Souqi
06/07/2023, 2:44 PMJosuah Demangeon
06/07/2023, 2:46 PMMahde Souqi
06/07/2023, 2:46 PMJosuah Demangeon
06/07/2023, 2:50 PMrw
... Not sure what manages these volumes, likey a pop-os thing but it does not appear to be a problem here..Mahde Souqi
06/07/2023, 2:53 PMJosuah Demangeon
06/07/2023, 2:55 PMJosuah Demangeon
06/07/2023, 2:56 PMJosuah Demangeon
06/07/2023, 2:57 PMJosuah Demangeon
06/07/2023, 2:58 PM/tmp/config_in.tcl
, most systems, dockerized or not, have a writable /tmp
...Josuah Demangeon
06/07/2023, 2:59 PM/dev/null
as a way to check. This will not work, but this should show a different error message.Josuah Demangeon
06/07/2023, 2:59 PMJosuah Demangeon
06/07/2023, 3:03 PMJosuah Demangeon
06/07/2023, 3:04 PMMahde Souqi
06/07/2023, 3:04 PMJosuah Demangeon
06/07/2023, 3:06 PM/tmp/config_in.tcl
or tmp/config_in.tcl
?Josuah Demangeon
06/07/2023, 3:07 PMJosuah Demangeon
06/07/2023, 3:12 PMhttps://open-source-silicon.slack.com/files/U05BS2K8YJV/F05C3BUTAN4/image.png▾
/tmp/config_in.tcl
we did set for testing), then tcl kept the original config location, so complains about it... Though at least, likely the python could create the TCL confg file!Josuah Demangeon
06/07/2023, 3:13 PMMahde Souqi
06/07/2023, 3:14 PMMahde Souqi
06/07/2023, 3:15 PMJosuah Demangeon
06/07/2023, 3:20 PMJosuah Demangeon
06/07/2023, 3:21 PMJosuah Demangeon
06/07/2023, 3:27 PMJosuah Demangeon
06/07/2023, 3:29 PMJosuah Demangeon
06/07/2023, 3:30 PMwith open...
you already modified:
import os; os.system(f"mount; ls -l {output}")
Mahde Souqi
06/07/2023, 3:34 PMMahde Souqi
06/07/2023, 3:34 PMJosuah Demangeon
06/07/2023, 3:36 PMJosuah Demangeon
06/07/2023, 3:37 PMJosuah Demangeon
06/07/2023, 3:38 PMoverlay on / type overlay (rw,relatime,lowerdir=/home/mahdesouqi/.local/share/docker/overlay2/l/LFMJXEENALMF6J4EC34MKKHKDP:/home/mahdesouqi/.local/share/docker/overlay2/l/63FPJU2T5UMFUVOOKA6LTABFKG:/home/mahdesouqi/.local/share/docker/overlay2/l/IKAVQ5GEHMBEMTDDGEW24ZHXWR:/home/mahdesouqi/.local/share/docker/overlay2/l/CWBSFHNRRWAN5OMWSGDCFWPOEU:/home/mahdesouqi/.local/share/docker/overlay2/l/EJBAEHVS452ZCB3ZJBZWAATDJM:/home/mahdesouqi/.local/share/docker/overlay2/l/IRVMFRHEJSK53YGYLRMI4T56C2:/home/mahdesouqi/.local/share/docker/overlay2/l/EIHCHVKMGFP27BVISYZMWPVBY5:/home/mahdesouqi/.local/share/docker/overlay2/l/BOPRBAOCTK6XUOWL4K3FNK5YRQ:/home/mahdesouqi/.local/share/docker/overlay2/l/V54OOVZFQKGOBHOYVXXKA2FXOW:/home/mahdesouqi/.local/share/docker/overlay2/l/UJNPGT2LQTJD4BOC6YTPVDWQTT:/home/mahdesouqi/.local/share/docker/overlay2/l/5B32N33W2G7VWBDBGLLY3PJA7C:/home/mahdesouqi/.local/share/docker/overlay2/l/ZRQGLEAUDTIZBJAAPCJ2M23K5A:/home/mahdesouqi/.local/share/docker/overlay2/l/FSZ66UBU6K2ENLYYBGD26P66AC:/home/mahdesouqi/.local/share/docker/overlay2/l/DNGBEAVKHLHCNB3XNJCVGPMGOR:/home/mahdesouqi/.local/share/docker/overlay2/l/I6EB6CFSB7EHKV2XU3AMQGFEAC:/home/mahdesouqi/.local/share/docker/overlay2/l/R2RZK2RR62HBBM57B7QJ7ZQKNL:/home/mahdesouqi/.local/share/docker/overlay2/l/CHY233TJM73VTYD364XZ5H6IBS:/home/mahdesouqi/.local/share/docker/overlay2/l/QXKWUYJNCGLSJBGOZI2PSG5GTD:/home/mahdesouqi/.local/share/docker/overlay2/l/V2DRHDREB5LOBPHUMRRQ7GQ5RH:/home/mahdesouqi/.local/share/docker/overlay2/l/7ELMBAE3QFG3XISJUVOKSPA4R7:/home/mahdesouqi/.local/share/docker/overlay2/l/64CYDRL5QHZLNED4VDKCDRXOWN:/home/mahdesouqi/.local/share/docker/overlay2/l/XL7OCGBHBCUMEHTLR5BR45FKDD:/home/mahdesouqi/.local/share/docker/overlay2/l/VVVXTNMNKNRTAC7YVARKSLM4MC:/home/mahdesouqi/.local/share/docker/overlay2/l/A3NI2H3TPMMXZ447FO4REDJ46U:/home/mahdesouqi/.local/share/docker/overlay2/l/FTYZPVGZLFM22ZJ6F5XDAMUYEB:/home/mahdesouqi/.local/share/docker/overlay2/l/5THLEXJYSDJKH5RZ4FFFRAYIT2:/home/mahdesouqi/.local/share/docker/overlay2/l/3N6ZTBLBTYZ7YOZ47LOSELBDEI:/home/mahdesouqi/.local/share/docker/overlay2/l/3QBZRP5RIALMGXOE673FP2Y6PX:/home/mahdesouqi/.local/share/docker/overlay2/l/RICCNM7VN77XZHMAOTEZNNSPSH:/home/mahdesouqi/.local/share/docker/overlay2/l/37PZENJJ43PD36A6ETNVJBNFCL:/home/mahdesouqi/.local/share/docker/overlay2/l/BSSUNRZR2IM7NQHAAMHEZULJRZ,upperdir=/home/mahdesouqi/.local/share/docker/overlay2/c4ceb230ed701fdd6ea6abdec35d77230a2429392a4c72e0f821381cfddc06ed/diff,workdir=/home/mahdesouqi/.local/share/docker/overlay2/c4ceb230ed701fdd6ea6abdec35d77230a2429392a4c72e0f821381cfddc06ed/work,userxattr)
Josuah Demangeon
06/07/2023, 3:38 PMJosuah Demangeon
06/07/2023, 3:41 PMlowerdir
/home/mahdesouqi/.local/share/docker/overlay2/l/LFMJXEENALMF6J4EC34MKKHKDP
/home/mahdesouqi/.local/share/docker/overlay2/l/63FPJU2T5UMFUVOOKA6LTABFKG
/home/mahdesouqi/.local/share/docker/overlay2/l/IKAVQ5GEHMBEMTDDGEW24ZHXWR
/home/mahdesouqi/.local/share/docker/overlay2/l/CWBSFHNRRWAN5OMWSGDCFWPOEU
/home/mahdesouqi/.local/share/docker/overlay2/l/EJBAEHVS452ZCB3ZJBZWAATDJM
/home/mahdesouqi/.local/share/docker/overlay2/l/IRVMFRHEJSK53YGYLRMI4T56C2
/home/mahdesouqi/.local/share/docker/overlay2/l/EIHCHVKMGFP27BVISYZMWPVBY5
/home/mahdesouqi/.local/share/docker/overlay2/l/BOPRBAOCTK6XUOWL4K3FNK5YRQ
/home/mahdesouqi/.local/share/docker/overlay2/l/V54OOVZFQKGOBHOYVXXKA2FXOW
/home/mahdesouqi/.local/share/docker/overlay2/l/UJNPGT2LQTJD4BOC6YTPVDWQTT
/home/mahdesouqi/.local/share/docker/overlay2/l/5B32N33W2G7VWBDBGLLY3PJA7C
/home/mahdesouqi/.local/share/docker/overlay2/l/ZRQGLEAUDTIZBJAAPCJ2M23K5A
/home/mahdesouqi/.local/share/docker/overlay2/l/FSZ66UBU6K2ENLYYBGD26P66AC
/home/mahdesouqi/.local/share/docker/overlay2/l/DNGBEAVKHLHCNB3XNJCVGPMGOR
/home/mahdesouqi/.local/share/docker/overlay2/l/I6EB6CFSB7EHKV2XU3AMQGFEAC
/home/mahdesouqi/.local/share/docker/overlay2/l/R2RZK2RR62HBBM57B7QJ7ZQKNL
/home/mahdesouqi/.local/share/docker/overlay2/l/CHY233TJM73VTYD364XZ5H6IBS
/home/mahdesouqi/.local/share/docker/overlay2/l/QXKWUYJNCGLSJBGOZI2PSG5GTD
/home/mahdesouqi/.local/share/docker/overlay2/l/V2DRHDREB5LOBPHUMRRQ7GQ5RH
/home/mahdesouqi/.local/share/docker/overlay2/l/7ELMBAE3QFG3XISJUVOKSPA4R7
/home/mahdesouqi/.local/share/docker/overlay2/l/64CYDRL5QHZLNED4VDKCDRXOWN
/home/mahdesouqi/.local/share/docker/overlay2/l/XL7OCGBHBCUMEHTLR5BR45FKDD
/home/mahdesouqi/.local/share/docker/overlay2/l/VVVXTNMNKNRTAC7YVARKSLM4MC
/home/mahdesouqi/.local/share/docker/overlay2/l/A3NI2H3TPMMXZ447FO4REDJ46U
/home/mahdesouqi/.local/share/docker/overlay2/l/FTYZPVGZLFM22ZJ6F5XDAMUYEB
/home/mahdesouqi/.local/share/docker/overlay2/l/5THLEXJYSDJKH5RZ4FFFRAYIT2
/home/mahdesouqi/.local/share/docker/overlay2/l/3N6ZTBLBTYZ7YOZ47LOSELBDEI
/home/mahdesouqi/.local/share/docker/overlay2/l/3QBZRP5RIALMGXOE673FP2Y6PX
/home/mahdesouqi/.local/share/docker/overlay2/l/RICCNM7VN77XZHMAOTEZNNSPSH
/home/mahdesouqi/.local/share/docker/overlay2/l/37PZENJJ43PD36A6ETNVJBNFCL
/home/mahdesouqi/.local/share/docker/overlay2/l/BSSUNRZR2IM7NQHAAMHEZULJRZ
upperdir
/home/mahdesouqi/.local/share/docker/overlay2/c4ceb230ed701fdd6ea6abdec35d77230a2429392a4c72e0f821381cfddc06ed/diff
workdir
/home/mahdesouqi/.local/share/docker/overlay2/c4ceb230ed701fdd6ea6abdec35d77230a2429392a4c72e0f821381cfddc06ed/work
Josuah Demangeon
06/07/2023, 3:41 PMJosuah Demangeon
06/07/2023, 3:43 PM/dev/sda6 on /*mnt*/0075c426-3aad-46cd-9b6c-a7ac07c801c7 type ext4 (rw,nosuid,nodev,relatime,x-gvfs-show)
Josuah Demangeon
06/07/2023, 3:44 PM/dev/sda6 on /pdk type ext4 (rw,nosuid,nodev,relatime)
/dev/sda6 on /openlane type ext4 (rw,nosuid,nodev,relatime)
/dev/sda6 on /mnt/0075c426-3aad-46cd-9b6c-a7ac07c801c7/Trainning/assignment/Dr.yacoup_Assignment/4bit_adder_assignment/4bit_adder_efabless type ext4 (rw,nosuid,nodev,relatime)
/dev/sda6 on /mnt/0075c426-3aad-46cd-9b6c-a7ac07c801c7/Trainning/assignment/Dr.yacoup_Assignment/4bit_adder_assignment/4bit_adder_efabless/dependencies/pdk type ext4 (rw,nosuid,nodev,relatime)
Josuah Demangeon
06/07/2023, 3:45 PM/mnt/0075c426-3aad-46cd-9b6c-a7ac07c801c7/Trainning/assignment/Dr.yacoup_Assignment/4bit_adder_assignment/4bit_adder_efabless
Josuah Demangeon
06/07/2023, 3:46 PMJosuah Demangeon
06/07/2023, 3:49 PMMahde Souqi
06/07/2023, 3:51 PMMahde Souqi
06/07/2023, 3:52 PMJosuah Demangeon
06/07/2023, 3:53 PMMahde Souqi
06/07/2023, 3:55 PMMahde Souqi
06/07/2023, 3:55 PMJosuah Demangeon
06/07/2023, 3:58 PMJosuah Demangeon
06/07/2023, 3:59 PMJosuah Demangeon
06/07/2023, 3:59 PMJosuah Demangeon
06/07/2023, 4:00 PMJosuah Demangeon
06/07/2023, 4:02 PMJosuah Demangeon
06/07/2023, 4:02 PMJosuah Demangeon
06/07/2023, 4:02 PMMahde Souqi
06/07/2023, 4:04 PMMahde Souqi
06/07/2023, 4:05 PMJosuah Demangeon
06/07/2023, 4:08 PMJosuah Demangeon
06/07/2023, 4:10 PMMahde Souqi
06/07/2023, 4:12 PMJosuah Demangeon
06/07/2023, 4:13 PMJosuah Demangeon
06/07/2023, 4:13 PMJosuah Demangeon
06/07/2023, 4:13 PMJosuah Demangeon
06/07/2023, 4:14 PMMahde Souqi
06/07/2023, 4:56 PMMitch Bailey
06/07/2023, 5:02 PMMahde Souqi
06/07/2023, 5:04 PMMitch Bailey
06/07/2023, 5:06 PMecho $OPENLANE_ROOT
Mahde Souqi
06/07/2023, 5:07 PMMitch Bailey
06/07/2023, 5:07 PMmake user_proj_example
from ~/forTest?4bit_adder_assignment/4bit_adder_efabless
Mahde Souqi
06/07/2023, 5:09 PMhttps://open-source-silicon.slack.com/files/U05BS2K8YJV/F05BCCX9SUV/image.png▾
Mitch Bailey
06/07/2023, 5:09 PMOPENLANE_ROOT
to be under your user project.Mahde Souqi
06/07/2023, 5:10 PMJosuah Demangeon
06/07/2023, 5:12 PMMitch Bailey
06/07/2023, 5:13 PMopenlane
.
The instructions say,
cd <project_name> # project_name is the name of your repo
mkdir dependencies
export OPENLANE_ROOT=$(pwd)/dependencies/openlane_src # you need to export this whenever you start a new shell
export PDK_ROOT=$(pwd)/dependencies/pdks # you need to export this whenever you start a new shell
# export the PDK variant depending on your shuttle, if you don't know leave it to the default
# for sky130 MPW shuttles....
export PDK=sky130A
If ~/forTest/4bit_adder_assignment/4bit_adder_efabless
caravel_user_project
, then you should have ~/forTest/4bit_adder_assignment/4bit_adder_efabless/dependencies
Josuah Demangeon
06/07/2023, 5:15 PM.../4bit_adder_efabless/openlane/dependencies/openlane_src
^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^
this is the project this should be outside the openlane directory, directly under the project directory
Mitch Bailey
06/07/2023, 5:16 PMOPENLANE_ROOT=~/forTest/4bit_adder_assignment/4bit_adder_efabless/dependencies/openlane_src
PDK_ROOT=/forTest/4bit_adder_assignment/4bit_adder_efabless/dependencies/pdks
Josuah Demangeon
06/07/2023, 5:17 PMMahde Souqi
06/07/2023, 5:18 PMMahde Souqi
06/07/2023, 5:18 PMMitch Bailey
06/07/2023, 5:20 PMcaravel_user_project
cloned directory. You may need to rerun make setup
after fixing OPENLANE_ROOT
and PDK_ROOT
.Mahde Souqi
06/07/2023, 5:22 PMMahde Souqi
06/07/2023, 5:23 PMOPENLANE_ROOT
and PDK_ROOT
and do make setup
?Mitch Bailey
06/07/2023, 5:24 PMMahde Souqi
06/07/2023, 5:50 PMmake setup
but still have the same error 😞Mahde Souqi
06/07/2023, 5:50 PMMahde Souqi
06/07/2023, 5:52 PMJosuah Demangeon
06/07/2023, 6:00 PMJosuah Demangeon
06/07/2023, 6:02 PMMahde Souqi
06/07/2023, 6:23 PMJosuah Demangeon
06/07/2023, 6:29 PMwith open(output, "w") as f:
Josuah Demangeon
06/07/2023, 6:30 PMgit status
Mahde Souqi
06/07/2023, 6:31 PMMahde Souqi
06/07/2023, 6:31 PMJosuah Demangeon
06/07/2023, 6:33 PMJosuah Demangeon
06/07/2023, 6:33 PMMahde Souqi
06/07/2023, 6:57 PMJosuah Demangeon
06/07/2023, 6:59 PMMahde Souqi
06/07/2023, 7:03 PMMahde Souqi
06/07/2023, 7:04 PMJosuah Demangeon
06/07/2023, 8:03 PMJosuah Demangeon
06/07/2023, 8:05 PMJosuah Demangeon
06/07/2023, 8:06 PMJosuah Demangeon
06/07/2023, 8:38 PMJosuah Demangeon
06/07/2023, 8:54 PMJosuah Demangeon
06/07/2023, 8:57 PMJosuah Demangeon
06/07/2023, 9:01 PMJosuah Demangeon
06/07/2023, 9:01 PMMitch Bailey
06/07/2023, 10:50 PMid -u $USER
id -g $USER
Josuah Demangeon
06/07/2023, 11:19 PM1000
for both:Josuah Demangeon
06/07/2023, 11:20 PMMitch Bailey
06/07/2023, 11:59 PMgrep :1000: /etc/passwd /etc/group
Josuah Demangeon
06/08/2023, 7:51 AM$ id
uid=1000(josuah) gid=1000(josuah)...
$ grep :1000: /etc/passwd /etc/group
/etc/passwd:josuah:x:1000:1000:josuah:/home/josuah:/bin/oksh
/etc/group:josuah:x:1000:
Maybe it is a relatively common thing to have for Linux distributions.
System groups are typically below 1000.Josuah Demangeon
06/08/2023, 8:39 AM$ id root
uid=0(root) gid=0(root)
This id
command is convenient!Mahde Souqi
06/08/2023, 7:51 PMMahde Souqi
06/08/2023, 7:52 PMJosuah Demangeon
06/08/2023, 7:53 PMid
has no action itselfJosuah Demangeon
06/08/2023, 7:53 PMMahde Souqi
06/08/2023, 8:04 PMMahde Souqi
06/08/2023, 8:04 PMMahde Souqi
06/08/2023, 8:10 PMMahde Souqi
06/08/2023, 8:10 PMMahde Souqi
06/08/2023, 8:11 PM$ ls | grep config.tcl
config.tclMahde Souqi
06/08/2023, 8:12 PMJosuah Demangeon
06/08/2023, 8:17 PMJosuah Demangeon
06/08/2023, 8:17 PMJosuah Demangeon
06/08/2023, 8:18 PMMahde Souqi
06/08/2023, 8:18 PMJosuah Demangeon
06/08/2023, 8:19 PMMahde Souqi
06/08/2023, 8:19 PMMahde Souqi
06/08/2023, 8:20 PMls | grep config.tcl
config.tcl
Josuah Demangeon
06/08/2023, 8:20 PMJosuah Demangeon
06/08/2023, 8:21 PMMahde Souqi
06/08/2023, 8:22 PMJosuah Demangeon
06/08/2023, 8:26 PMJosuah Demangeon
06/08/2023, 8:26 PMJosuah Demangeon
06/08/2023, 8:27 PMmake
there will be the command executed, along with which the docker invocation with the configuration visibleMahde Souqi
06/08/2023, 8:28 PMmake user_proj_example
make -C openlane user_proj_example
make[1]: Entering directory '/home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/openla
ne'
# user_proj_example
mkdir -p ./user_proj_example/runs/23_06_08_23_07
rm -rf ./user_proj_example/runs/user_proj_example
ln -s $(realpath ./user_proj_example/runs/23_06_08_23_07) ./user_proj_example/runs/user_proj_example
docker run -it -v $(realpath /home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/..):$(
realpath /home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/..) -v /home/mahdesouqi/fo
rTest/4bit_adder_assignment/4bit_adder_efabless-main/dependencies/pdks:/pdk -v /home/mahdesouqi/forTest/4bi
t_adder_assignment/4bit_adder_efabless-main/caravel:/home/mahdesouqi/forTest/4bit_adder_assignment/4bit_add
er_efabless-main/caravel -v /home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/depende
ncies/openlane_src:/openlane -v /home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/mgm
t_core_wrapper:/home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/mgmt_core_wrapper -e
PDK_ROOT=/pdk -e PDK=sky130A -e MISMATCHES_OK=1 -e CARAVEL_ROOT=/home/mahdesouqi/forTest/4bit_adder_assign
ment/4bit_adder_efabless-main/caravel -e OPENLANE_RUN_TAG=23_06_08_23_07 -e MCW_ROOT=/home/mahdesouqi/forTe
st/4bit_adder_assignment/4bit_adder_efabless-main/mgmt_core_wrapper \
efabless/openlane:2023.02.23 sh -c "flow.tcl -design $(realpath ./user_proj_example) -save_path $(r
ealpath ..) -save -tag 23_06_08_23_07 -overwrite -ignore_mismatches"
OpenLane a35b64aa200c91e9eb7dde56db787d6b4c0ea12a
All rights reserved. (c) 2020-2022 Efabless Corporation and contributors.
Available under the Apache License, version 2.0. See the LICENSE file for more details.
[WARNING]: OpenLane may not function properly: Failed to compare PDKs.
/pdk/sky130A not found.
Traceback (most recent call last):
File "/openlane/dependencies/verify_versions.py", line 76, in verify_versions
raise Exception(f"{pdk_dir} not found.")
Exception: /pdk/sky130A not found.
[INFO]: Using configuration in '../home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/o
penlane/user_proj_example/config.json'...
[INFO]: PDK Root: /pdk
[INFO]: Process Design Kit: sky130A
couldn't read file "/pdk/sky130A/libs.tech/openlane/config.tcl": no such file or directory
while executing
"source $pdk_config"
(procedure "prep" line 170)
invoked from within
"prep {*}$args"
(procedure "run_non_interactive_mode" line 12)
invoked from within
"run_non_interactive_mode {*}$argv"
invoked from within
"if { [info exists flags_map(-interactive)] || [info exists flags_map(-it)] } {
if { [info exists arg_values(-file)] } {
run_file [file nor..."
(file "/openlane/flow.tcl" line 408)
make[1]: *** [Makefile:75: user_proj_example] Error 1
make[1]: Leaving directory '/home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/openlan
e'
make: *** [Makefile:107: user_proj_example] Error 2
Mahde Souqi
06/08/2023, 8:28 PMmake user_proj_example
make -C openlane user_proj_example
make[1]: Entering directory '/home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/openlane'
# user_proj_example
mkdir -p ./user_proj_example/runs/23_06_08_23_07
rm -rf ./user_proj_example/runs/user_proj_example
ln -s $(realpath ./user_proj_example/runs/23_06_08_23_07) ./user_proj_example/runs/user_proj_example
docker run -it -v $(realpath /home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/..):$(realpath /home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/..) -v /home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/dependencies/pdks:/pdk -v /home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/caravel:/home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/caravel -v /home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/dependencies/openlane_src:/openlane -v /home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/mgmt_core_wrapper:/home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/mgmt_core_wrapper -e PDK_ROOT=/pdk -e PDK=sky130A -e MISMATCHES_OK=1 -e CARAVEL_ROOT=/home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/caravel -e OPENLANE_RUN_TAG=23_06_08_23_07 -e MCW_ROOT=/home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/mgmt_core_wrapper \
efabless/openlane:2023.02.23 sh -c "flow.tcl -design $(realpath ./user_proj_example) -save_path $(realpath ..) -save -tag 23_06_08_23_07 -overwrite -ignore_mismatches"
OpenLane a35b64aa200c91e9eb7dde56db787d6b4c0ea12a
All rights reserved. (c) 2020-2022 Efabless Corporation and contributors.
Available under the Apache License, version 2.0. See the LICENSE file for more details.
[WARNING]: OpenLane may not function properly: Failed to compare PDKs.
/pdk/sky130A not found.
Traceback (most recent call last):
File "/openlane/dependencies/verify_versions.py", line 76, in verify_versions
raise Exception(f"{pdk_dir} not found.")
Exception: /pdk/sky130A not found.
[INFO]: Using configuration in '../home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/openlane/user_proj_example/config.json'...
[INFO]: PDK Root: /pdk
[INFO]: Process Design Kit: sky130A
couldn't read file "/pdk/sky130A/libs.tech/openlane/config.tcl": no such file or directory
while executing
"source $pdk_config"
(procedure "prep" line 170)
invoked from within
"prep {*}$args"
(procedure "run_non_interactive_mode" line 12)
invoked from within
"run_non_interactive_mode {*}$argv"
invoked from within
"if { [info exists flags_map(-interactive)] || [info exists flags_map(-it)] } {
if { [info exists arg_values(-file)] } {
run_file [file nor..."
(file "/openlane/flow.tcl" line 408)
make[1]: *** [Makefile:75: user_proj_example] Error 1
make[1]: Leaving directory '/home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/openlane'
make: *** [Makefile:107: user_proj_example] Error 2
Mahde Souqi
06/08/2023, 8:29 PMJosuah Demangeon
06/08/2023, 8:30 PMls /home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/dependencies/pdks
Josuah Demangeon
06/08/2023, 8:30 PMMahde Souqi
06/08/2023, 8:31 PMJosuah Demangeon
06/08/2023, 8:31 PMJosuah Demangeon
06/08/2023, 8:32 PMJosuah Demangeon
06/08/2023, 8:32 PMdependencies/pdk/sky130A/libs.tech/openlane$
Mahde Souqi
06/08/2023, 8:34 PMJosuah Demangeon
06/08/2023, 8:37 PM/home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/dependencies/pdks
and this directory is emptyJosuah Demangeon
06/08/2023, 8:37 PMMahde Souqi
06/08/2023, 8:39 PMmake setup
commandMahde Souqi
06/08/2023, 8:40 PMJosuah Demangeon
06/08/2023, 8:45 PMMahde Souqi
06/08/2023, 8:47 PMJosuah Demangeon
06/08/2023, 8:52 PMMahde Souqi
06/08/2023, 8:55 PMMahde Souqi
06/08/2023, 8:56 PM/home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/dependencies/pdks
should i make it /home/mahdesouqi/forTest/4bit_adder_assignment/4bit_adder_efabless-main/dependencies/pdk
?Mahde Souqi
06/08/2023, 8:58 PMMahde Souqi
06/08/2023, 8:58 PMMahde Souqi
06/08/2023, 8:59 PMJosuah Demangeon
06/08/2023, 9:00 PMJosuah Demangeon
06/08/2023, 9:00 PMMahde Souqi
06/08/2023, 9:04 PMJosuah Demangeon
06/08/2023, 9:10 PM