Difference between revisions of "FPGA"

From Tech
Jump to navigationJump to search
Line 5: Line 5:
 
=Xilinx=
 
=Xilinx=
 
* [[Papilio]]
 
* [[Papilio]]
  +
* [[FPGA Test Board]]
 
* Website: [http://www.xilinx.com/products/silicon-devices/fpga/ http://www.xilinx.com/products/silicon-devices/fpga/]
 
* Website: [http://www.xilinx.com/products/silicon-devices/fpga/ http://www.xilinx.com/products/silicon-devices/fpga/]
 
* Spartan 3a Starter Board: [http://nl.farnell.com/digilent/410-155/spartan-3e-basys2-fpga-eval-board/dp/2061836 SPARTAN-3E, BASYS2, FPGA, EVAL BOARD] ([http://www.xilinx.com/support/documentation/boards_and_kits/ug334.pdf Board Guide]) Spartan 3a [http://www.xilinx.com/support/documentation/user_guides/ug331.pdf user guide], [http://www.xilinx.com/support/documentation/boards_and_kits/ug334.pdf Data Sheet]
 
* Spartan 3a Starter Board: [http://nl.farnell.com/digilent/410-155/spartan-3e-basys2-fpga-eval-board/dp/2061836 SPARTAN-3E, BASYS2, FPGA, EVAL BOARD] ([http://www.xilinx.com/support/documentation/boards_and_kits/ug334.pdf Board Guide]) Spartan 3a [http://www.xilinx.com/support/documentation/user_guides/ug331.pdf user guide], [http://www.xilinx.com/support/documentation/boards_and_kits/ug334.pdf Data Sheet]

Revision as of 15:24, 18 April 2013

Stuff about VHDL

See VHDL

Xilinx

#Installing libXm.so.3:
sudo apt-get install libmotif3

#Set the env variables:
INSTALL_DIR=/opt
. $INSTALL_DIR/Xilinx/14.4/ISE_DS/settings32.sh
DISPLAY=:0

#starting the main app:
$INSTALL_DIR/Xilinx/14.4/ISE_DS/ISE/bin/lin/ise

When first starting ise, it will ask for a license. On Ubuntu, the LD_LIBRARY_PATH variable is set to Xilinx-compiles stdc++ library, that doesn't allow chromium-browser to start. I fixed this with:

cd /usr/lib/chromium-browser
mv chromium-browser chromium_browser_
cat > crhomium-browser <<EOF
#!/bin/bash
LD_LIBRARY_PATH=
set > /tmp/set
/usr/lib/chromium-browser/chromium-browser_ "$@"
EOF
chmod a+x chromium-browser.

This will of cause stop working after the next update of chromium-browser.

Lattice


Altera

cd /tmp
wget -O 12.1sp1_243_quartus_free_linux.tar.gz "http://download.altera.com/akdlm/software/acdsinst/12.1sp1/243/standalone/12.1sp1_243_quartus_free_linux.tar.gz?None&fileExt=.gz"
cd ~
tar -xvzf 12.1sp1_243_quartus_free_linux.tar.gz
cd 12.1sp1_243_quartus_free_linux
TARGET=/opt/altera12.1sp1/
altera_installer/bin/altera_installer_cmd --all --target=$TARGET --source `pwd`
altera_installer/bin/altera_installer_cmd --install=devices --target=$TARGET --source `pwd` --web
#start it up:
/opt/altera12.1sp1/quartus/bin/quartus