Difference between revisions of "FPGA"

From Tech
Jump to navigationJump to search
 
(5 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
See [[VHDL]]
 
See [[VHDL]]
   
  +
See [[FPGA Projects]]
=Xilinx=
 
  +
* [[Papilio]]
 
  +
=Hardware=
  +
* Info about [[Spartan 3E]]
  +
* Info about the [[Papilio]] board I've bought
 
* [[FPGA Test Board]]
 
* [[FPGA Test Board]]
* 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]
 
* [http://www.derepas.com/fabrice/hard/ examples]
 
* Butterfly One: board with schematics. [http://papilio.cc/index.php?n=Papilio.Hardware Docs at papilio (with eagle files)], [https://www.sparkfun.com/products/11158 SparkFun page], [http://forum.gadgetfactory.net/index.php?/forum/89-papilio-one/ forum], [http://www.xilinx.com/support/documentation/data_sheets/ds312.pdf XC3S500E datasheet]
 
* Xilinx constrants.ucf file info [http://www.xilinx.com/itp/xilinx10/books/docs/cgd/cgd.pdf Constraints Guide]
 
* programming (sending .bit file to FPGA) via [http://xc3sprog.sourceforge.net/hardware.php xc3sprog]?
 
* Free edition of software: [http://www.xilinx.com/products/design-tools/ise-design-suite/ise-webpack.htm ISE WebPACK]
 
#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
 
export XIL_CG_LOAD_ALL_FAMILIES=true
 
DISPLAY=:0
 
 
#starting the main app:
 
$INSTALL_DIR/Xilinx/14.4/ISE_DS/ISE/bin/lin/ise
 
 
#starting coregen:
 
$INSTALL_DIR/Xilinx/14.4/ISE_DS/ISE/bin/lin/coregen
 
Issues:
 
* When first starting <tt>ise</tt>, it will ask for a license by starting a browser (chromium on my system). But as it sets the LD_LIBRARY_PATH variable to Xilinx-compiles stdc++ library, chromium-browser cannot start 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.
 
* Coregen doesn't load the full IP library (or something). Fixed this with the [http://www.xilinx.com/support/answers/53695.htm XIL_CG_LOAD_ALL_FAMILIES=true] environment variable above
 
   
  +
=Lattice=
 
  +
=Choosing an FPGA=
 
==Xilinx==
  +
  +
* See [[Xilinx]]
 
==Lattice==
 
* [http://www.latticesemi.com/products/fpga/index.cfm Lattice Website]
 
* [http://www.latticesemi.com/products/fpga/index.cfm Lattice Website]
   
   
=Altera=
+
==Altera==
 
* [http://www.altera.com/devices/fpga/fpga-index.html Altera Website]
 
* [http://www.altera.com/devices/fpga/fpga-index.html Altera Website]
 
* [http://www.farnell.com/datasheets/1536834.pdf Cyclone III datasheet] (finally one I can somewhat understand)
 
* [http://www.farnell.com/datasheets/1536834.pdf Cyclone III datasheet] (finally one I can somewhat understand)
Line 61: Line 34:
 
/opt/altera12.1sp1/quartus/bin/quartus
 
/opt/altera12.1sp1/quartus/bin/quartus
 
* [http://nl.farnell.com/altera/dk-start-3c25n/cyclone-iii-ep3c25-fpga-dev-kit/dp/1428131 starter kit], [http://www.farnell.com/datasheets/683298.pdf User Guide]
 
* [http://nl.farnell.com/altera/dk-start-3c25n/cyclone-iii-ep3c25-fpga-dev-kit/dp/1428131 starter kit], [http://www.farnell.com/datasheets/683298.pdf User Guide]
  +
  +
=See Also=
  +
* [[Spartan 3E]]
 
* [[Papilio]]
  +
* [[FPGA Test Board]]

Latest revision as of 20:39, 20 May 2013

Stuff about VHDL

See VHDL

See FPGA Projects

Hardware


Choosing an FPGA

Xilinx

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

See Also