Dobrica Pavlinušić's random unstructured stuff

Bunch of references for Altera FPGA

JTAG pinout


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:

Bus Pirate FPGA and CPLD programming with XSVF:

SVF to XSVF converter:

USB Blaster

FX2LP firmware


Create SVF file


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]

13.0sp1 start

dpavlin@klin:~$ /opt/altera/13.0sp1/quartus/bin/quartus --64bit

Altera hardware


Upload Files

Click "Browse" to find the file you want to upload. When you click "Upload file" your file will be uploaded and added to the list of attachments for this page.

Maximum file size: 50MB

File Name Author Date Uploaded Size

Save Page As

Enter a meaningful and distinctive title for your page.

Page Title:

Tip: You'll be able to find this page later by using the title you choose.

Page Already Exists

There is already a page named XXX. Would you like to:

Save with a different name:

Save the page with the name "XXX"

Append your text to the bottom of the existing page named: "XXX"

Upload Files

Click "Browse" to find the file you want to upload. When you click "Add file" this file will be added to the list of attachments for this page, and uploaded when you save the page.

Add Tags

Enter a tag and click "Add tag". The tag will be saved when you save the page.