-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Yay, I have success!
I managed to create a GDS file with the test AES module using FreePDK45 with the Nangate standard cell library.
It wasn't easy, so for reference for anyone else having difficulty to get the OpenROAD tools up and running, here are the steps I took. Please note the various workarounds for issues:
(1) Did
git clone https://github.com/The-OpenROAD-Project/alpha-release
Put this into ~/src/OpenROAD_alpha
(2) Did
wget https://github.com/The-OpenROAD-Project/alpha-release/releases/download/v2019-07-16_13-32/OpenROAD-2019-07-16_13-32.tar.gz
Put this into ~/src/OpenROAD_release
(3) Did
cd ~/src/OpenROAD_release/openroad
bash (I run tcsh for my environment, which doesn't work with the setup script)
source setup.sh
(4) There were issues with some of the tools; I took the easy way out and swapped the search order in PATH so that /usr/local/bin gets executed first, which finds yosys and magic in my system installation, which solves a few of the library dependency problems (old libraries used in OpenROAD, like libffi 5 instead of libffi 6).
(5) I didn't have a local copy of verilog2def, which wanted libtcl8.5 and libtk8.5 (also out of date), so I did:
cd /usr/lib/x86_64-linux-gnu
ln -s libtcl8.6.so libtcl8.5.so
ln -s libtk8.6.so libtk8.5.so".
(6) The runTritonCTS.tcl script execs python scripts with missing dependencies, so I did:
sudo pip3 install queuelib
sudo pip3 install matplotlib
(7) The runTritonCTS.tcl script calls "exec python" which runs python2, not python3, so I edited the script and changed all occurrences of "python" to "python3".
(8) With the changes made above, the entire test procedure goes like this:
cd ~/src/OpenROAD_release/openroad
bash
source setup.sh
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/home/tim/src/OpenROAD_release/openroad/OpenROAD-2019-07-16_13-32/bin:/home/tim/src/OpenROAD_release/openroad/OpenROAD-2019-07-16_13-32/bin/Linux-x86_64:/home/tim/src/OpenROAD_release/openroad/OpenROAD-2019-07-16_13-32/pdn/scripts:.
cd ~/src/OpenROAD_alpha/flow/
vi Makefile
(uncomment "DESIGN_CONFIG = ./designs/aes_nangate45.mk")
source designs/aes_nangate45.mk
make
(9) I viewed the result using magic:
magic -d XR -T platforms/nangate45/magic.tech
(at the magic prompt:)
gds read results/aes_cipher_top/finish.gds