<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title><![CDATA[Dobrica Pavlinušić's random unstructured stuff: Altera]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?altera</link>
<description></description>
<pubDate>Mon, 13 Jun 2016 12:40:32 -0000</pubDate>
<webMaster>root@saturn.ffzg.hr</webMaster>
<generator>Socialtext Workspace v2.19.0.2</generator>

<item>
<title><![CDATA[Altera]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?altera</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div>Tags: FPGA</div><hr/><div class="wiki">
<p>
Bunch of references for Altera FPGA</p>
<div class="nlw_phrase"><table class="wafl_container">
  <tr>
    <td>
      <div class="wafl_box">
        
          <div class="wafl_titlebox">
            <div class="wafl_title">
              
                Contents: [Dobrica Pavlinušić's random unstructured stuff]
              
            </div>
          </div>
          <div class="wafl_items">
            
              <div class="wiki">
<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#jtag_pinout">Dobrica Pavlinušić's random unstructured stuff (JTAG pinout)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] JTAG pinout} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#bus_pirate_programming">Dobrica Pavlinušić's random unstructured stuff (Bus Pirate programming)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Bus Pirate programming} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#usb_blaster">Dobrica Pavlinušić's random unstructured stuff (USB Blaster)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] USB Blaster} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#quartus">Dobrica Pavlinušić's random unstructured stuff (Quartus)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Quartus} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#create_svf_file">Dobrica Pavlinušić's random unstructured stuff (Create SVF file)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Create SVF file} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#manual_pin_assigment">Dobrica Pavlinušić's random unstructured stuff (manual pin assigment)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] manual pin assigment} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#13_0sp1_start">Dobrica Pavlinušić's random unstructured stuff (13.0sp1 start)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] 13.0sp1 start} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#altera_hardware">Dobrica Pavlinušić's random unstructured stuff (Altera hardware)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Altera hardware} --></span></li>
</ul>
</div>

            
            
          </div>
        
      </div>
    </td>
  </tr>
</table>
<!-- wiki: {toc: }
--></div><br /><br /><h1 id="jtag_pinout">JTAG pinout</h1>
<span class="nlw_phrase"><img alt="altera-jtag-pinout.jpg" src="https://saturn.ffzg.hr/rot13/index.cgi/altera-jtag-pinout.jpg?action=attachments_download;page_name=altera;id=20140802123649-0-20679" /><!-- wiki: {image: altera-=jtag-=pinout.jpg} --></span><br /><br /><h1 id="bus_pirate_programming">Bus Pirate programming</h1>
<ul>
<li><a target="_blank" title="(external link)" href="http://dangerousprototypes.com/forum/viewtopic.php?f=4&amp;t=2505">http://dangerousprototypes.com/forum/viewtopic.php?f=4&amp;t=2505</a></li>
</ul>
<p>
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.</p>
<p>
Windows binaries are provided, but the source should also compile under Linux. Source is in the Bus Pirate SVN:<br />
<a target="_blank" title="(external link)" href="https://code.google.com/p/the-bus-pirate/source/browse/#svn%2Ftrunk%2Fscripts%2FXSVF">https://code.google.com/p/the-bus-pirate/source/browse/#svn%2Ftrunk%2Fscripts%2FXSVF</a></p>
<p>
Bus Pirate FPGA and CPLD programming with XSVF:<br />
<a target="_blank" title="(external link)" href="http://dangerousprototypes.com/docs/Bus_Pirate#FPGA_and_CPLD_programming">http://dangerousprototypes.com/docs/Bus_Pirate#FPGA_and_CPLD_programming</a></p>
<p>
SVF to XSVF converter:<br />
<a target="_blank" title="(external link)" href="http://dangerousprototypes.com/docs/JTAG_SVF_to_XSVF_file_converter">http://dangerousprototypes.com/docs/JTAG_SVF_to_XSVF_file_converter</a></p>
<h1 id="usb_blaster">USB Blaster</h1>
<p>
<a href="https://saturn.ffzg.hr/rot13/index.cgi?fx2lp" title="(118 months)  image CY7C68013A.jpg toc Cypress CY7C68013A EZ-USB FX2LP file U2CY7C68013-56.pdf 1. With CY7C68013A...">FX2LP</a> firmware</p>
<ul>
<li>libusb tools <a target="_blank" title="(external link)" href="https://github.com/swetland/jtag">https://github.com/swetland/jtag</a></li>
</ul>
<ul>
<li><a target="_blank" title="(external link)" href="https://github.com/mithro/ixo-usb-jtag">https://github.com/mithro/ixo-usb-jtag</a> usb-jtag - Altera USB Blaster Emulation with a FX2</li>
</ul>
<ul>
<li><a target="_blank" title="(external link)" href="https://github.com/binary-logic/vj-uart">https://github.com/binary-logic/vj-uart</a> - serial over JTAG USB Blaster for Cyclone IV</li>
</ul>
<h1 id="quartus">Quartus</h1>
<h2 id="create_svf_file">Create SVF file</h2>
<p>
<a target="_blank" title="(external link)" href="http://www.altera.com/support/kdb/solutions/rd07222008_677.html">http://www.altera.com/support/kdb/solutions/rd07222008_677.html</a></p>
<p>
To generate an SVF file in Quartus® II software, follow the steps below:</p>
<ul>
<li>Open the Quartus II programmer and add a .sof / .pof file into the programmer window.</li>
<li>Select the File Menu then select Create/Update within this menu choose Create JAM, SVF, or ISC File.</li>
<li>Input a file name for your SVF file output.</li>
<li>In the File Format drop-down select Serial Vector File (SVF) as your output file type.</li>
<li>Press ok to generate your SVF file.</li>
</ul>
<h2 id="manual_pin_assigment">manual pin assigment</h2>
<p>
edit .*qsf file and add:</p>
<pre>
set_location_assignment PIN_AP30 -to qdr_q[35]
</pre>
<br /><h2 id="13_0sp1_start">13.0sp1 start</h2>
<pre>
dpavlin@klin:~$ /opt/altera/13.0sp1/quartus/bin/quartus --64bit

</pre>
<br /><h1 id="altera_hardware">Altera hardware</h1>
<ul>
<li><a href="https://saturn.ffzg.hr/rot13/index.cgi?x300_dongle" title="(120 months)  toc X300 dongle [Altera] EPM3064A TC44-10N ftp ftp.altera.com outgoing download bsdl 3064at44.bsd L...">X300 dongle</a></li>
<li><a href="https://saturn.ffzg.hr/rot13/index.cgi?x300_pci" title="(121 months)  [Altera] EP1C6 Q240C8N L BCE9S0719A Altera EPM3128 ATC100-10N Samsung K4S643232H-UC60 JYEC 80 Mhz T...">X300 PCI</a></li>
<li><a href="https://saturn.ffzg.hr/rot13/index.cgi?minipcie_pci_lpc_combo_debug_card" title="(134 months) MiniPCIe PCI LPC Combo-Debug Card [Altera] MAX 3000A CPLD EPM3064ATC100 JTAG 6 pin header left of LC...">MiniPCIe/PCI/LPC Combo-Debug Card</a></li>
</ul>
</div>
<hr/><div>Attachments: altera-jtag-pinout.jpg, dongle1.vhd, rj45-pins.jpg, x300_dongle-jtag.jpg</div>]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category>FPGA</category>
<guid isPermaLink="true">https://saturn.ffzg.hr/rot13/index.cgi?altera</guid>
<pubDate>Mon, 13 Jun 2016 12:40:32 -0000</pubDate>
</item>
</channel>
</rss>