drr
11/07/2020, 2:17 AMmake timing
in the PDK repo and got this conda error:
Collecting package metadata (repodata.json): done
Solving environment: failed
ResolvePackageNotFound:
- netlistsvg
- yosys
I don’t have experience with conda but can see these listed in environment.yml (presumably from the “symbiflow” channel?). I am on macos if there's a platform specific issue I’m not aware of. I already have yosys and the rest of the OSS FPGA toolchain in PATH
but would rather stick to the version offered here to avoid any surprisesMitch Bailey
11/07/2020, 5:33 AMdrr
11/07/2020, 7:51 AMMitch Bailey
11/07/2020, 7:57 AM20Mhz
11/07/2020, 9:43 AMMitch Bailey
11/07/2020, 1:03 PMgit clone git@github.com:efabless/openlane --branch rc4
cd openlane
docker pull efabless/openlane:rc4
There is a Makefile in openlane, and if everything is installed, make in openlane will download and install skywater-pdks
and open_pdks
. However, git didn't work inside docker, but the scripts to build the libraries only worked in docker.
2. export PDK_ROOT=<absolute path to where skywater-pdk and open_pdks will reside>
3. In the openlane directory,
make skywater-pdk
make open_pdks
This should clone the correct github repos.
4. In the $PDK_ROOT/skywater-pdk
directory, delete the following lines from environment.yml
- netlistsvg
- yosys
5. Back in the openlane directory
make skywater-library
6. Start docker
export IMAGE_NAME=efabless/openlane:rc4
docker run -it -v $(pwd):/openLANE_flow -v $PDK_ROOT:$PDK_ROOT -e PDK_ROOT=$PDK_ROOT -u $(id -u $USER):$(id -g $USER) $IMAGE_NAME
7. make build-pdk
8. Once everythings completes, you should be able to run the sample
./flow.tcl -design spm
Mitch Bailey
11/07/2020, 1:19 PMcd openlane; make build-pdk
drr
11/07/2020, 10:52 PMb.srinath Srinath
11/09/2020, 6:55 AMb.srinath Srinath
11/09/2020, 6:56 AMb.srinath Srinath
11/09/2020, 6:58 AMMitch Bailey
11/09/2020, 7:36 AMb.srinath Srinath
11/10/2020, 3:30 AMb.srinath Srinath
11/10/2020, 3:31 AMMitch Bailey
11/10/2020, 4:08 AMb.srinath Srinath
11/10/2020, 4:13 AMMitch Bailey
11/10/2020, 4:28 AMb.srinath Srinath
11/10/2020, 4:29 AMb.srinath Srinath
11/10/2020, 4:29 AMb.srinath Srinath
11/10/2020, 4:29 AMMitch Bailey
11/10/2020, 4:33 AMb.srinath Srinath
11/10/2020, 4:37 AMAnton Dyudin
11/30/2020, 3:29 AMDid you have any luck building magic on macOS?
Interested to hear if any macos users had any luck with the workflow (macos Catalina here)Belated reply on this point: I just got the
openlane/alpha-release
docker image version of magic working with XQuartz afaict fine, by installing some fonts and setting up DISPLAY forwarding. More information in links:Guri S
05/04/2021, 12:47 PMGuri S
05/04/2021, 12:48 PM