git clone https://github.com/SymbiFlow/prjxray-db.git
git clone https://github.com/gatecat/nextpnr-xilinx.git
-## Steps to compile Yosys
-
-### Necessary software to install
-
-apt-get install -y build-essential make g++ cmake bison flex python3 \
- clang libreadline-dev gawk tcl-dev libffi-dev pkg-config zlib1g-dev \
- libboost-system-dev libboost-python-dev libboost-filesystem-dev
-
## Steps to compile prjxray
### Necessary software to install
-apt-get install -y python3-pip
+apt-get install -y build-essential make cmake python3 python3-setuptools \
+ python3-dev python3-numpy cython3 python3-pip
+
+pip3 install textx fasm
### Build prjxray
cd ..
cp -dpr utils /usr/local/nextpnr-xilinx
sed -i -e '/^# Vivado /,$d' /usr/local/nextpnr-xilinx/utils/environment.sh
-pip3 install .
+python3 setup.py develop
cd ..
## Steps to compile prjxray-db
### Necessary software to install
apt-get install -y libboost-thread-dev libboost-iostreams-dev \
- libboost-program-options-dev libeigen3-dev
+ libboost-program-options-dev libeigen3-dev libboost-python-dev \
+ libboost-filesystem-dev
### Build nextpnr-xilinx