1. 程式人生 > >ubuntu install lattice diamond(FPGA)

ubuntu install lattice diamond(FPGA)

.tar.gz oca gnu alien spf install .sh local syn

Tried on Ubuntu16.04 x64

1. Change to debian pakage
sudo alien -d ./diamond_3_10-base_x64-111-2-x86_64-linux.rpm
2. Install deb
sudo dpkg -i diamond-3-10-base-x64_3.10-112_amd64.deb
3. Post-Process
sudo cp untar.sh /usr/local/diamond/3.10_x64
cd /usr/local/diamond/3.10_x64
sh untar.sh
cd /bin/lin64
sudo mv libpng12.so.0 libpng12.so.0.old
sudo ln -s /usr/lib/x86_64-linux-gnu/libpng12.so.0 libpng12.so.0
4. Run
./diamond

#########untar.sh

sudo tar -xvf ./tcltk/tcltk.tar.gz -C ./tcltk/
sudo tar -xvf ./synpbase/synpbase.tar.gz -C ./synpbase/
sudo tar -xvf ./examples/examples.tar.gz -C ./examples/
sudo tar -xvf ./cae_library/cae_library.tar.gz -C ./cae_library/
sudo tar -xvf ./embedded_source/embedded_source.tar.gz -C ./embedded_source/
sudo tar -xvf ./ispfpga/ispfpga.tar.gz -C ./ispfpga/
sudo tar -xvf ./data/data.tar.gz -C ./data/
sudo tar -xvf ./bin/bin.tar.gz -C ./bin/

sudo unzip ./module/pcie.zip -d ./module/
sudo unzip ./module/rldram.zip -d ./module/

Ref:

http://hardtechlife.com/installing-lattice-diamond-on-ubuntu-14-04/

ubuntu install lattice diamond(FPGA)