<https://opensource.googleblog.com/2022/10/announc...
# announcements
k
Looking at the latest version of Caravel SoC on Github, it appears sky130 cells are still hand instantiated. I'm assuming a big merge is pending which makes it parameterizable? Without it, I'm struggling to see how a submission to GF180 can be made. In order to test user project gate level simulations we need Caravel SoC.
p
efabless (/cc @jeffdi) created a separate repo for the gf180mcu caravel, see https://github.com/efabless/caravel-gf180mcu/ (and https://github.com/efabless/caravel_mgmt_soc_gf180mcu for the mgmt soc)
πŸ‘ 1
those are being selected by the
caravel_user_project
depending on the
PDK
environment variable: https://github.com/efabless/caravel_user_project/blob/main/Makefile#L69
r
@proppy I still got sky130A and sky130B in
dependencies/pdks
after
make pdk-with-volare
even $PDK=gf180mcuC and caravel is on tag: gfmpw-0a Maybe the Makefile is not clean?
m
I'm also unable to get the gf180 pdk installed
p
I suspect they got the OPEN_PDKS_COMMIT wrong in the Makefile
Let's send a PR!
πŸ‘ 1
Did that from my phone, so no guarantee:p
🀣 1
cc @jeffdi
r
No, I still got sky130, there must be something wrong.
https://github.com/efabless/caravel-gf180mcu/blob/c61f1cedc03907c1097df9a81f7b4fee0d110f4f/Makefile#L1267
@volare enable ${OPEN_PDKS_COMMIT}
should be
@volare enable --pdk gf180mcu ${OPEN_PDKS_COMMIT}
p
Oh yes that too!
Let's make sure we reference it from the other one as well.
πŸ‘€ 1
@Ruige Lee @Matt Venn I don't have access to either of the repo so this will need to wait for one of the efabless staff to review (/cc @jeffdi @Tim Edwards @mkk @donn)
πŸ‘ 1
j
@proppy the pdk in the PR is incorrect. the issue is the pdk is not built and pushed to volare. fixing this now.
in the interim, you can use
volare build 0059588eebfc704681dc2368bd1d33d96281d10f
to build the pdk locally after
make setup
Note - you must also
export PDK=gf180mcuC
per the quickstart instructions before running
make setup
p
I think you would also have to pass
--pdk gf180mcu
and this would take a looong time.
Any reason we don't point yo the gf180mcu pre-release referenced in https://github.com/efabless/caravel_user_project/pull/175 in the interim, I believe that one has been extensively tested.
e
@jeffdi We are burning useful days as is let's use the pre-release unless there's a good reason not to.
@Tim 'mithro' Ansell For awareness.
l
I think the caraval user project repo is broken for sky130 now (may be due to gf180mcuC). Tried to harden my IP after checking out fresh today. Got the error: [ERROR]: The version of open_pdks used in building the PDK does not match the version OpenLane was tested on (installed: 120b0bd69c745825a0b8b76f364043a1cd08bb6a, tested: 41c0908b47130d5675ff8484255b43f66463a7d6) This may introduce some issues. You may want to re-install the PDK by invoking
make pdk
. [ERROR]: Please update your environment. OpenLane will now quit.
p
@Lab Lecture ah interesting I was looking at a recent change to the Makefile and it should disable the mismatches check, see https://github.com/efabless/caravel_user_project/blob/8562ed8e49e90ff46a8fb53d56a82023147e817c/openlane/Makefile#L31
Can you confirm the command that are invoked with the full log?
l
git clone <my public github repo> cd <my dir> export OPENLANE_ROOT=$PWD/dependencies/openlane_src export PDK_ROOT=$PWD/dependencies/pdks make setup (no issues till here) make <myIP> - Error
p
@Lab Lecture do you mind filing an issue against https://github.com/efabless/caravel_user_project with the complete output logs?
I suspect it's related to what we discussed in https://github.com/efabless/caravel_user_project/pull/175
filed an issue to collect the current state of things https://github.com/efabless/caravel_user_project/issues/179 (cc @Andrew Wright)
l
Today I was able to run the full flow with sky130B. It seems, the problem is resolved
πŸ‘ 1