Comp4S (1).PNG
# openlane
j
Comp4S (1).PNG
m
@Juan Andres Unless you’re using special libraries, I suggest using volare to manage the pdks. https://github.com/efabless/volare
j
I do that, but when I put the last one with volare I don't know how to make everything update in all
m
use
volare enable <commit>
to set the <commit> you want to use.
j
Yes, that's what I mean, when I do that and put the newest version I get the errors shown in the images, because openlane does not install the recent one or the other tools
m
The errors in the images don’t seem related to the pdk. Are you using docker?
j
But here it says there are program-wide version issues, yes I have docker
m
Looks like your openlane environment is out of date. Can you figure out how to delete it and reintstall?
j
yes, I deleted it like that, but the version doesn't upload
m
If you’re using
caravel_user_project
can you check that you have the most recent
Makefile
?
j
Yes, but it doesn't install the new version, always an old one, that's where I change it with volare, but openlane shows me a different version, it's chaos to update that
m
I believe the
caravel_user_project
is tagged with the version of the tools intended to be used for each shuttle. These may not be the most recent version of the tools or the pdk but are the intended versions for the shuttle. Using other versions may cause problems.
j
For example, if I run I will fly, then caravel for the latest version, how do I change openlane to that same version?
m
Did you try
make openlane
?
d
@Juan Andres were you able to reslove the issue @Mitch Bailey, i installed mpw8c tagged caravel repo and latest openlane and open pdks still getting same error. [ERROR]: The version of open_pdks used in building the PDK does not match the version OpenLane was tested on (installed: 4fd675d208efed93ed984d1e28eb6457da9d3f17, tested: 3f9bdbd857564726b731760dc2c817e84ca7d8ac) This may introduce some issues. You may want to re-install the PDK by invoking
make pdk
. The version of magic used in building the PDK does not match the version OpenLane was tested on (installed: 645a8729675437c8c493a61a288026e4bd28dd47, tested: 70908a8ab5b6c914942e6e3649ff0d8574d49fd7) This may introduce some issues. You may want to re-install the PDK by invoking
make pdk
." i did make pdk still error is coming
m
i installed mpw8c tagged caravel repo and latest openlane and open pdks still getting same error.
I believe you want to install, not the latest, but the versions specified in the
user_project_wrapper/Makefile
Copy code
SKYWATER_COMMIT=f70d8ca46961ff92719d8870a18a076370b85f6c
	export OPEN_PDKS_COMMIT?=0059588eebfc704681dc2368bd1d33d96281d10f
	export OPENLANE_TAG?=2022.11.19
I may be wrong, though - that pdk is close to 2 months old. Are you using volare for your pdk management?
j
How can I know the version openlane_tag??
d
@Mitch Bailey @Tim Edwards yes i am updating latest open_pdks and openlane but when i do" make" and make install for openpdks it runs completely. but it does not show any libs inside this folder which i have in my old installation-open_pdks/sky130/sky130A/libs.ref/sky130_fd_sc_hd/lib/. And when I run "make test" after installing openlane it throws below error :But when i run openlane " make test" it shows below error [ERROR]: during executing: "python3 /openlane/scripts/mergeLib.py --output /openlane/designs/spm/runs/RUN_2022.12.30_18.32.29/tmp/synthesis/merged.lib --name sky130A_merged /usr/local/share/open_pdks/sky130/sky130A/libs.ref/sky130_fd_sc_hd/lib/sky130_fd_sc_hd__tt_025C_1v80.lib" [ERROR]: Exit code: 1 [ERROR]: Last 10 lines: rv = self.invoke(ctx) File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1395, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/local/lib/python3.6/site-packages/click/core.py", line 754, in invoke return __callback(*args, **kwargs) File "/openlane/scripts/mergeLib.py", line 51, in mergeLib file_strings = [open(input_lib).read() for input_lib in input_libs] File "/openlane/scripts/mergeLib.py", line 51, in <listcomp> file_strings = [open(input_lib).read() for input_lib in input_libs] FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/share/open_pdks/sky130/sky130A/libs.ref/sky130_fd_sc_hd/lib/sky130_fd_sc_hd__tt_025C_1v80.lib' (edited)