********************************* Hello <!channel>...
# announcements
j
********************************* Hello <!channel> MPW-8 is now open for project submissions ( https://platform.efabless.com/shuttles/MPW-8 ). The deadline for project submissions for MPW-8 is December 31, 2022 @ 11:59pm PST. Please use the
mpw-8a
tag for caravel_user_project for creating and updating your projects. I would encourage you to get your projects submitted early as submission time will be a factor in selection for MPW-8. *********************************
🥳 4
👍 6
n
Can we submit new projects or is it only open for the prior submission?
m
MPW-8 is for new projects and resubmissions.
j
correct
m
Which PDK should be used for it, sky130A or sky130B? Thanks.
h
@jeffdi @Matt Venn I followed the instructions to setup a new caravel project, but it misses the critical step to switch to the correct tag in your git clone. Please, how can I switch the tags?
git checkout mpw-8b
does NOT work.
Please update this here so that the tag switching git command is added: https://github.com/efabless/caravel_user_project/blob/main/docs/source/index.rst#section-quickstart
m
Yes the generate thing is not going to work for fetching a particular tag. You need to clone the repo and then checkout mpw-8b. I've already let @jeffdi know
h
@Matt Venn Do you have a recipe that works for setting up a repo for MPW-8? Please, I set up a repo now a few times and I got stuck on one or the other end. This is exhausting.
m
I'll update it to explicitly test mpw-8b
h
Thanks for the recipe! However, when I follow it, I struck again one of the errors that I see:
Copy code
Harald@macpretl mpw8-test % make user_proj_example
/Library/Developer/CommandLineTools/usr/bin/make -C openlane user_proj_example
# user_proj_example
mkdir -p ./user_proj_example/runs/22_11_25_14_35
rm -rf ./user_proj_example/runs/user_proj_example
ln -s $(realpath ./user_proj_example/runs/22_11_25_14_35) ./user_proj_example/runs/user_proj_example
docker run -it -v $(realpath /Users/Harald/src/mpw8-test/..):$(realpath /Users/Harald/src/mpw8-test/..) -v /Users/Harald/src/mpw8-submission/dependencies/pdks:/Users/Harald/src/mpw8-submission/dependencies/pdks -v /Users/Harald/src/mpw8-test/caravel:/Users/Harald/src/mpw8-test/caravel -v /Users/Harald/src/mpw8-submission/dependencies/openlane_src:/openlane -v /Users/Harald/src/mpw8-test/mgmt_core_wrapper:/Users/Harald/src/mpw8-test/mgmt_core_wrapper -e PDK_ROOT=/Users/Harald/src/mpw8-submission/dependencies/pdks -e PDK=sky130A -e MISMATCHES_OK=1 -e CARAVEL_ROOT=/Users/Harald/src/mpw8-test/caravel -e OPENLANE_RUN_TAG=22_11_25_14_35 -e MCW_ROOT=/Users/Harald/src/mpw8-test/mgmt_core_wrapper -u 501:20 \
		efabless/openlane:2022.11.19 sh -c "flow.tcl -design $(realpath ./user_proj_example) -save_path $(realpath ..) -save -tag 22_11_25_14_35 -overwrite -ignore_mismatches"
OpenLane cb59d1f84deb5cedbb5b0a3e3f3b4129a967c988
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: The version of open_pdks used in building the PDK does not match the version OpenLane was tested on (installed: 0059588eebfc704681dc2368bd1d33d96281d10f, tested: 3af133706e554a740cfe60f21e773d9eaa41838c)
This may introduce some issues. You may want to re-install the PDK by invoking `make pdk`.
[ERROR]: Design /Users/harald/src/mpw8-test/openlane/user_proj_example not found.
make[1]: *** [user_proj_example] Error 255
make: *** [user_proj_example] Error 2
m
If I understand correctly, git checkout mpw-8b will not work because this tag doesn't exist in your generated repo. The easiest solution, AFAIK, is that you fork instead of generating, then checkout mpw-8b will work.
m
I'm not seeing this happen on the clean VMs in the github actions, so it could be you have old environment variables set?
scratch that, I was looking at the mismatch warning
which I also get
but you don't even have user_proj_example
I take it you do have that directory locally? ./openlane/user_proj_example ?
h
The directory is there, is is a straight clone from the caravel repo.
m
yes and I see it making a new directory insdie, which would fail if it wasn't
j
@Harald Pretl are you at the project when you run
make user_proj_example
?
h
@jeffdi After a bit of debugging I could localize the fail: If I use these instructions here https://caravel-user-project.readthedocs.io/en/latest/ everything works nicely on Ubuntu. If I run them on MacOS I get this fail:
Copy code
[ERROR]: Design /Users/harald/test/caravel_user_project/openlane/user_proj_example not found.
There seems to be an issue with the access rights out of the Docker VM to the host filesystem. @jeffdi Please look into this and propose a fix. I will meanwhile use our Ubuntu machine.
@jeffdi Adding to that: On Ubuntu, GID=20 is used for
dialout
, on MacOS GID=20 is used for
staff
, which is the default for the users. This seems to cause issues when a Docker image based on Ubuntu is built, and the outside user ID and group ID (from MacOS) is passed into the Docker VM. On CentOS, GID=20 is used for
games
, and this seems to be OK.