Diamond

From ArmadeusWiki
Revision as of 17:20, 26 April 2016 by FabienM (Talk | contribs) (Install on debian 64bits)

Jump to: navigation, search

Introduction

Lattice diamond is the software used to synthesize bitstream for Lattice FPGAs. It's required for the MachXO[1,2,3] FPGA.

Installation guide

Download

Download the rpm file on Lattice website [1].

Install on debian 64bits

  • First alien is needed to convert the rpm in debian package :
sudo apt-get install alien
  • Convert it to deb package then install it:
sudo alien diamond_3_7-base_x64-96-1-x86_64-linux.rpm
sudo dpkg -i diamond-3-7-base-x64_3.7-97_amd64.deb
  • The package is not correctly installed in directory /usr/local/diamond/. All tar.gz must be deflated :
cd /usr/local/diamond/3.7_x64/
cd bin/; sudo tar -zxvf bin.tar.gz; cd ..
cd synpbase/;sudo tar -zxvf synpbase.tar.gz;cd ..
cd examples/;sudo tar -zxvf examples.tar.gz; cd ..
cd data/;sudo tar -zxvf data.tar.gz; cd ..
cd cae_library/;sudo tar -zxvf cae_library.tar.gz; cd ..
cd ispfpga/;sudo tar -zxvf ispfpga.tar.gz;cd ..
cd tcltk/;sudo tar -zxvf tcltk.tar.gz;cd ..
cd embedded_source/;sudo tar -zxvf embedded_source.tar.gz;cd ..

Ressources/links