Dobrica Pavlinušić's random unstructured stuff
Altera: Revision 7

Bunch of references for Altera FPGA



JTAG pinout

altera-jtag-pinout.jpg

Bus Pirate programming

The Bus Pirate can program CPLDs and FPGAs using XSVF format bitstreams and XSVF player firmware. Altera might not output XSVF directly, but there is a simple converter for SVF to XSVF.

Windows binaries are provided, but the source should also compile under Linux. Source is in the Bus Pirate SVN:
https://code.google.com/p/the-bus-pirate/source/browse/#svn%2Ftrunk%2Fscripts%2FXSVF

Bus Pirate FPGA and CPLD programming with XSVF:
http://dangerousprototypes.com/docs/Bus_Pirate#FPGA_and_CPLD_programming

SVF to XSVF converter:
http://dangerousprototypes.com/docs/JTAG_SVF_to_XSVF_file_converter

USB Blaster

FX2LP firmware

Quartus

Create SVF file

http://www.altera.com/support/kdb/solutions/rd07222008_677.html

To generate an SVF file in Quartus® II software, follow the steps below:

  • Open the Quartus II programmer and add a .sof / .pof file into the programmer window.
  • Select the File Menu then select Create/Update within this menu choose Create JAM, SVF, or ISC File.
  • Input a file name for your SVF file output.
  • In the File Format drop-down select Serial Vector File (SVF) as your output file type.
  • Press ok to generate your SVF file.

manual pin assigment

edit .*qsf file and add:

set_location_assignment PIN_AP30 -to qdr_q[35]

Altera hardware