efabless / caravel_user_project

https://caravel-user-project.readthedocs.io
Apache License 2.0
174 stars 326 forks source link

make pdk-nonnative fails: 'efabless/openlane:current' docker image not found #48

Closed urish closed 2 years ago

urish commented 2 years ago

Seems like it's trying to fetch a tag that doesn't exist on dockerhub:

...
docker run --rm -v /home/uri/p/pdk-root:/home/uri/p/pdk-root -v /home/uri/p/caravel_user_project/caravel:/home/uri/p/caravel_user_project/caravel -e CARAVEL_ROOT=/home/uri/p/caravel_user_project/caravel -e PDK_ROOT=/home/uri/p/pdk-root -u 1000:1000 efabless/openlane:current sh -c "cd /home/uri/p/caravel_user_project/caravel; make build-pdk; make gen-sources"
Unable to find image 'efabless/openlane:current' locally
docker: Error response from daemon: manifest for efabless/openlane:current not found: manifest unknown: manifest unknown.
See 'docker run --help'.
make: *** [Makefile:152: pdk-nonnative] Error 125
urish commented 2 years ago

As a workaround, I ran the following commands:

$ docker pull efabless/openlane
$ docker tag efabless/openlane:latest efabless/openlane:current

Not sure if this is the right way to go, but at least the build doesn't fail now.

I do get a bunch of warnings though:

...
  Line 11917: Found mismatch parameter 'sky130_fd_pr__nfet_01v8_lvt__vth0_slope_spectre' and replaced with 'MC_MM_SWITCH*AGAUSS(0,1.0,1)'.
  Line 11962: Found mismatch parameter 'sky130_fd_pr__nfet_01v8_lvt__voff_slope_spectre' and replaced with 'MC_MM_SWITCH*AGAUSS(0,1.0,1)'.
  Line 11963: Found mismatch parameter 'sky130_fd_pr__nfet_01v8_lvt__nfactor_slope_spectre' and replaced with 'MC_MM_SWITCH*AGAUSS(0,1.0,1)'.
  Line 12185: Found mismatch parameter 'sky130_fd_pr__nfet_01v8_lvt__toxe_slope_spectre' and replaced with 'MC_MM_SWITCH*AGAUSS(0,1.0,1)'.
  Line 12192: Found mismatch parameter 'sky130_fd_pr__nfet_01v8_lvt__vth0_slope_spectre' and replaced with 'MC_MM_SWITCH*AGAUSS(0,1.0,1)'.
  Line 12237: Found mismatch parameter 'sky130_fd_pr__nfet_01v8_lvt__voff_slope_spectre' and replaced with 'MC_MM_SWITCH*AGAUSS(0,1.0,1)'.
  Line 12238: Found mismatch parameter 'sky130_fd_pr__nfet_01v8_lvt__nfactor_slope_spectre' and replaced with 'MC_MM_SWITCH*AGAUSS(0,1.0,1)'.
  Line 12460: Found mismatch parameter 'sky130_fd_pr__nfet_01v8_lvt__toxe_slope_spectre' and replaced with 'MC_MM_SWITCH*AGAUSS(0,1.0,1)'.
...

also

Done.
Error message output from magic:
Error while reading cell "sky130_ef_sc_hd__fill_12" (byte position 372): Cell "sky130_fd_sc_hd__fill_4" is used but not defined in this file.
Error while reading cell "sky130_ef_sc_hd__fill_12" (byte position 372): Cell "sky130_fd_sc_hd__fill_2" is used but not defined in this file.
Error while reading cell "sky130_ef_sc_hd__fill_12" (byte position 372): Cell "sky130_fd_sc_hd__decap_6" is used but not defined in this file.
Error while reading cell "sky130_ef_sc_hd__fill_12" (byte position 372): cell sky130_fd_sc_hd__decap_6 was used but not defined.
Error while reading cell "sky130_ef_sc_hd__fill_12" (byte position 372): cell sky130_fd_sc_hd__fill_2 was used but not defined.
Error while reading cell "sky130_ef_sc_hd__fill_12" (byte position 372): cell sky130_fd_sc_hd__fill_4 was used but not defined.

unsure whether this is normal or not

marwaneltoukhy commented 2 years ago

make pdk-nonnative is deprecated since mpw-5b.