Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisione Revisione precedente Prossima revisione | Revisione precedente | ||
vlsi:workbook:fpga:spartan3an [12/01/2014 16:33] pacher |
vlsi:workbook:fpga:spartan3an [03/03/2015 03:08] (versione attuale) pacher |
||
---|---|---|---|
Linea 5: | Linea 5: | ||
[ __[[vlsi:workbook:fpga:spartan3an:test|Test]]__ ] | [ __[[vlsi:workbook:fpga:spartan3an:test|Test]]__ ] | ||
[ __[[vlsi:workbook:fpga:spartan3an:programming|Programming options (tmp)]]__ ] | [ __[[vlsi:workbook:fpga:spartan3an:programming|Programming options (tmp)]]__ ] | ||
+ | [ __[[vlsi:workbook:fpga:xilinx:spartan3an:ucf|UCF location constraints]]__ ] | ||
== Contents == | == Contents == | ||
Linea 40: | Linea 40: | ||
[[http://www.xilinx.com/support/index.html/content/xilinx/en/supportNav/boards_and_kits/spartan-3_kits/spartan-3an_starter_kit.html]] | [[http://www.xilinx.com/support/index.html/content/xilinx/en/supportNav/boards_and_kits/spartan-3_kits/spartan-3an_starter_kit.html]] | ||
+ | //Spartan-3A/3AN Out of the box, now what?// \\ | ||
+ | [[http://www.xilinx.com/products/boards/s3astarter/files/s3ask_out.pdf]] | ||
//Spartan-3A/3AN FPGA Starter Kit Board User Guide// \\ | //Spartan-3A/3AN FPGA Starter Kit Board User Guide// \\ | ||
Linea 113: | Linea 115: | ||
Cable drivers for UNIX/Linux ? | Cable drivers for UNIX/Linux ? | ||
+ | Official page from Xilinx: \\ | ||
+ | //Platform Cable USB/USB-II - Libusb Driver support available on Linux// \\ | ||
+ | [[http://www.xilinx.com/support/answers/29310.html]] | ||
+ | Other resources: | ||
+ | |||
+ | * [[https://m.youtube.com/watch?v=CjZ5QwyZRrY]] | ||
* [[http://www.xilinx.com/support/answers/29310.htm]] | * [[http://www.xilinx.com/support/answers/29310.htm]] | ||
* [[http://www.xilinx.com/support/answers/54381.htm]] | * [[http://www.xilinx.com/support/answers/54381.htm]] | ||
Linea 119: | Linea 127: | ||
* [[http://ashwith.wordpress.com/2012/06/10/setup-xilinx-ise-14-1-free-version-and-digilents-adept-utilities-in-fedora-17-64-bit/]] | * [[http://ashwith.wordpress.com/2012/06/10/setup-xilinx-ise-14-1-free-version-and-digilents-adept-utilities-in-fedora-17-64-bit/]] | ||
* [[http://aalonso.wordpress.com/2010/02/02/xilinx-11-4-on-fedora-12-playing-with-spartan-3e-starter-kit/]] | * [[http://aalonso.wordpress.com/2010/02/02/xilinx-11-4-on-fedora-12-playing-with-spartan-3e-starter-kit/]] | ||
+ | * [[http://forums.xilinx.com/t5/Installation-and-Licensing/How-to-install-Xilinx-ISE-and-USB-drivers-CentOS-5/td-p/54250/page/2]] | ||
+ | * [[https://www.wrbishop.com/fpga/how-to-configure-xilinx-fpga-design-suite-13-3-under-rhelcentos-6-x-fedora-15/]] | ||
+ | * [[http://www.xilinx.com/support/documentation/sw_manuals/xilinx13_1/pim_t_linux_cable_drivers.htm]] | ||
+ | * [[http://rmdir.de/~michael/xilinx/]] | ||
+ | * [[http://elinux.org/Install_Xilinx_USB_cable_drivers_for_Ubuntu]] | ||
+ | * [[http://tingcao.wordpress.com/2012/05/11/install-xilinx-cable-drivers-on-32-bit-ubuntu/]] | ||
+ | * [[http://forums.xilinx.com/t5/Installation-and-Licensing/Installing-Xilinx-14-webpack-on-Ubuntu-12-04/td-p/248770]] | ||
+ | * [[http://javispedro.com/fpga/xilinx-usb-linux.html]] | ||
+ | * [[http://forums.xilinx.com/t5/Design-Tools-Others/iMPACT-tips-for-modern-linux-distros/td-p/146486]] | ||
+ | * [[http://www.xilinx.com/support/answers/22648.html]] | ||
+ | * [[http://wiki.gentoo.org/wiki/Xilinx_USB_JTAG_Programmers]] | ||
+ | * [[http://www.george-smart.co.uk/wiki/Xilinx_JTAG_Linux]] | ||
+ | * [[https://wiki.archlinux.org/index.php/Xilinx_ISE_WebPACK]] | ||
+ | * [[http://ashwith.wordpress.com/2012/06/10/setup-xilinx-ise-14-1-free-version-and-digilents-adept-utilities-in-fedora-17-64-bit/]] | ||
+ | * [[http://www.linuxjournal.com/magazine/fpga-programming-linux]] | ||
<code> | <code> | ||
$ lsusb | $ lsusb | ||
- | Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub | + | ... |
- | Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub | + | |
- | Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub | + | |
- | Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub | + | |
- | Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub | + | |
- | Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub | + | |
- | Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub | + | |
- | Bus 006 Device 003: ID 1bcf:0007 Sunplus Innovation Technology Inc. Optical Mouse | + | |
- | Bus 007 Device 002: ID 046d:c313 Logitech, Inc. Internet 350 Keyboard | + | |
Bus 002 Device 011: ID 03fd:000d Xilinx, Inc. | Bus 002 Device 011: ID 03fd:000d Xilinx, Inc. | ||
</code> | </code> | ||
+ | |||
+ | |||
+ | Modified UDEV rule file: | ||
+ | |||
+ | <code> | ||
+ | ATTRS{idVendor}=="03fd", ATTRS{idProduct}=="0008", MODE="666" | ||
+ | SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="03fd", ATTRS{idProduct}=="0007", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusbdfwu.hex -D $tempnode" | ||
+ | SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="03fd", ATTRS{idProduct}=="0009", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xup.hex -D $tempnode" | ||
+ | SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="03fd", ATTRS{idProduct}=="000d", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_emb.hex -D $tempnode" | ||
+ | SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="03fd", ATTRS{idProduct}=="000f", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xlp.hex -D $tempnode" | ||
+ | SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="03fd", ATTRS{idProduct}=="0013", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xp2.hex -D $tempnode" | ||
+ | SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="03fd", ATTRS{idProduct}=="0015", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xse.hex -D $tempnode" | ||
+ | </code> | ||
Linea 154: | Linea 181: | ||
[[http://www.xilinx.com/support/documentation/data_sheets/ds593.pdf]] | [[http://www.xilinx.com/support/documentation/data_sheets/ds593.pdf]] | ||
- | |||
- | \\ | ||
- | :!: //**Note**// \\ | ||
- | Cable drivers for UNIX/Linux ? | ||
- | |||
- | * [[http://www.xilinx.com/support/documentation/sw_manuals/xilinx13_1/pim_t_linux_cable_drivers.htm]] | ||
- | * [[http://rmdir.de/~michael/xilinx/]] | ||
- | * [[http://elinux.org/Install_Xilinx_USB_cable_drivers_for_Ubuntu]] | ||
- | * [[http://tingcao.wordpress.com/2012/05/11/install-xilinx-cable-drivers-on-32-bit-ubuntu/]] | ||
- | * [[http://forums.xilinx.com/t5/Installation-and-Licensing/Installing-Xilinx-14-webpack-on-Ubuntu-12-04/td-p/248770]] | ||
- | * [[http://javispedro.com/fpga/xilinx-usb-linux.html]] | ||
- | * [[http://forums.xilinx.com/t5/Design-Tools-Others/iMPACT-tips-for-modern-linux-distros/td-p/146486]] | ||
- | * [[http://www.xilinx.com/support/answers/22648.html]] | ||
- | * [[http://wiki.gentoo.org/wiki/Xilinx_USB_JTAG_Programmers]] | ||
- | * [[http://www.george-smart.co.uk/wiki/Xilinx_JTAG_Linux]] | ||
- | * [[https://wiki.archlinux.org/index.php/Xilinx_ISE_WebPACK]] | ||
- | * [[http://ashwith.wordpress.com/2012/06/10/setup-xilinx-ise-14-1-free-version-and-digilents-adept-utilities-in-fedora-17-64-bit/]] | ||
- | * [[http://www.linuxjournal.com/magazine/fpga-programming-linux]] | ||
Linea 220: | Linea 229: | ||
====== Web tutorials and other resources ====== | ====== Web tutorials and other resources ====== | ||
- | [[http://therobotfix.wordpress.com/2011/06/27/getting-started-with-spartan-3e-fpga-and-verilog/|Getting Started with Spartan-3E FPGA and Verilog]] | + | Lot of examples can be found at [[http://www.fpga4fun.com/]] |
+ | |||
+ | |||
+ | |||
+ | \\ | ||
+ | **Turning on/off a simple LED with a D-FlipFlop** | ||
+ | |||
+ | * [[http://m.youtube.com/watch?v=eLOLBYxLXcE]] | ||
+ | |||
+ | |||
+ | \\ | ||
+ | **Basic LED blinking using binary counters** | ||
+ | |||
+ | * [[http://www.fpga4fun.com/ISEQuickStart.html]] | ||
+ | * [[http://therobotfix.wordpress.com/2011/06/27/getting-started-with-spartan-3e-fpga-and-verilog/]] | ||
+ | * [[http://m.youtube.com/watch?v=2qx7Xef2LGE]] | ||
+ | * [[http://m.youtube.com/watch?v=qXlM8p0u-as]] | ||
+ | |||
+ | \\ | ||
+ | A nice collection of FPGA projects by Mike Field at //hamsterworks.co.nz//, | ||
+ | [[http://hamsterworks.co.nz/mediawiki/index.php/FPGA_Projects]] | ||
====== ====== | ====== ====== |