Mitch Bailey
02/03/2022, 6:18 AMexport OPENLANE_ROOT=$PWD/OpenLane
export PDK_ROOT=$OPENLANE_ROOT/pdks
git clone <https://github.com/efabless/caravel_user_project.git> my_chip
cd my_chip
git remote rename origin upstream
git remote add origin <https://github.com/><my_github>/my_chip.git
git checkout -b mpw5
git push -u origin mpw5
make install
make install_mcw
make openlane
pushd $OPENLANE_ROOT
export IMAGE_NAME=efabless/openlane:2021.11.23_01.42.34
sed -i.bak -e 's/endpoint.com/endpointdev.com/' -e '/endpoint/s/-1.7-1//' docker/{base,openlane}/Dockerfile
make openlane
sed -i.bak '/enable-sram/s/.=/+=/' Makefile
export INSTALL_SRAM=enable
make full-pdk
popd
make user_project_wrapper
1. Clone the repo on your GitHub first.
2. Installs openlane in a directory parallel to my_chip instead of a subdirectory. (Won’t installing in a subdirectory make things crazy?)
3. $(PWD) and $(OPENLANE) are makefile syntax and didn't work in shell.
4. Fixes the endpoint capability error.
5. Installs the sram modules. (You can skip this if not needed.)
6. Installs all available skywater libraries (make pdk
for just the defaults).
7. make pdk
does not work from my_chip. make pdk-nonnative
installs a version that does not match openlane installation.Harald Pretl
02/03/2022, 5:57 PMmake install_mcw
?Mitch Bailey
02/03/2022, 6:30 PMmake install_mcw
was on the slides and installs the mgmt_project_wrapper
which is eventually included in the full caravel chip. It's probably needed if you want to run full chip simulations.Harald Pretl
02/03/2022, 7:02 PM