179 lines
7.8 KiB
HTML
179 lines
7.8 KiB
HTML
<!DOCTYPE html>
|
||
|
||
<html lang="en" data-content_root="../">
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
||
|
||
<title>Anlogic notes — openFPGALoader: universal utility for programming FPGA latest documentation</title>
|
||
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=5ecbeea2" />
|
||
<link rel="stylesheet" type="text/css" href="../_static/basic.css?v=b08954a9" />
|
||
<link rel="stylesheet" type="text/css" href="../_static/alabaster.css?v=27fed22d" />
|
||
<script src="../_static/documentation_options.js?v=c6e86fd7"></script>
|
||
<script src="../_static/doctools.js?v=fd6eb6e6"></script>
|
||
<script src="../_static/sphinx_highlight.js?v=6ffebe34"></script>
|
||
<link rel="index" title="Index" href="../genindex.html" />
|
||
<link rel="search" title="Search" href="../search.html" />
|
||
<link rel="next" title="Cologne Chip notes" href="colognechip.html" />
|
||
<link rel="prev" title="Cables" href="../compatibility/cable.html" />
|
||
|
||
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
|
||
|
||
|
||
|
||
|
||
|
||
</head><body>
|
||
|
||
|
||
<div class="document">
|
||
<div class="documentwrapper">
|
||
<div class="bodywrapper">
|
||
|
||
|
||
<div class="body" role="main">
|
||
|
||
<section id="anlogic-notes">
|
||
<span id="anlogic"></span><h1>Anlogic notes<a class="headerlink" href="#anlogic-notes" title="Link to this heading">¶</a></h1>
|
||
<section id="sipeed-lichee-tang">
|
||
<h2>Sipeed Lichee Tang<a class="headerlink" href="#sipeed-lichee-tang" title="Link to this heading">¶</a></h2>
|
||
<p>For this target, <em>openFPGALoader</em> supports <em>svf</em> and <em>bit</em>.</p>
|
||
<section id="bit-file-load-memory">
|
||
<h3>bit file load (memory)<a class="headerlink" href="#bit-file-load-memory" title="Link to this heading">¶</a></h3>
|
||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>openFPGALoader<span class="w"> </span>-m<span class="w"> </span>-b<span class="w"> </span>licheeTang<span class="w"> </span>/somewhere/project/prj/*.bit
|
||
</pre></div>
|
||
</div>
|
||
<p>Since <code class="docutils literal notranslate"><span class="pre">-m</span></code> is the default, this argument is optional.</p>
|
||
</section>
|
||
<section id="bit-file-load-spi-flash">
|
||
<h3>bit file load (spi flash)<a class="headerlink" href="#bit-file-load-spi-flash" title="Link to this heading">¶</a></h3>
|
||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>openFPGALoader<span class="w"> </span>-f<span class="w"> </span>-b<span class="w"> </span>licheeTang<span class="w"> </span>/somewhere/project/prj/*.bit
|
||
</pre></div>
|
||
</div>
|
||
</section>
|
||
<section id="svf-file-load">
|
||
<h3>svf file load<a class="headerlink" href="#svf-file-load" title="Link to this heading">¶</a></h3>
|
||
<p>It’s possible to produce this file by using <em>TD</em>:</p>
|
||
<ul class="simple">
|
||
<li><p>Tools->Device Chain</p></li>
|
||
<li><p>Add your bit file</p></li>
|
||
<li><p>Option : Create svf</p></li>
|
||
</ul>
|
||
<p>or by using <a class="reference external" href="https://github.com/mmicko/prjtang">prjtang project</a>:</p>
|
||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>mkdir<span class="w"> </span>build
|
||
<span class="nb">cd</span><span class="w"> </span>build
|
||
cmake<span class="w"> </span>../
|
||
make
|
||
</pre></div>
|
||
</div>
|
||
<p>Now a file called <em>tangbit</em> is present in current directory and has to be used as follows:</p>
|
||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>tangbit<span class="w"> </span>--input<span class="w"> </span>/somewhere.bit<span class="w"> </span>--svf<span class="w"> </span>bitstream.svf
|
||
</pre></div>
|
||
</div>
|
||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>openFPGALoader<span class="w"> </span>-b<span class="w"> </span>licheeTang<span class="w"> </span>/somewhere/*.svf
|
||
</pre></div>
|
||
</div>
|
||
</section>
|
||
</section>
|
||
</section>
|
||
|
||
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
<div class="sphinxsidebar" role="navigation" aria-label="Main">
|
||
<div class="sphinxsidebarwrapper">
|
||
<h1 class="logo"><a href="../index.html">openFPGALoader: universal utility for programming FPGA</a></h1>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<search id="searchbox" style="display: none" role="search">
|
||
<div class="searchformwrapper">
|
||
<form class="search" action="../search.html" method="get">
|
||
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" placeholder="Search"/>
|
||
<input type="submit" value="Go" />
|
||
</form>
|
||
</div>
|
||
</search>
|
||
<script>document.getElementById('searchbox').style.display = "block"</script><h3>Navigation</h3>
|
||
<p class="caption" role="heading"><span class="caption-text">User Guide</span></p>
|
||
<ul>
|
||
<li class="toctree-l1"><a class="reference internal" href="../guide/first-steps.html">First steps with openFPGALoader</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../guide/install.html">Installing openFPGALoader</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../guide/troubleshooting.html">Troubleshooting</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../guide/advanced.html">Advanced usage of openFPGALoader</a></li>
|
||
</ul>
|
||
<p class="caption" role="heading"><span class="caption-text">Compatibility</span></p>
|
||
<ul>
|
||
<li class="toctree-l1"><a class="reference internal" href="../compatibility/fpga.html">FPGAs</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../compatibility/board.html">Boards</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../compatibility/cable.html">Cables</a></li>
|
||
</ul>
|
||
<p class="caption" role="heading"><span class="caption-text">Vendors</span></p>
|
||
<ul class="current">
|
||
<li class="toctree-l1 current"><a class="current reference internal" href="#">Anlogic notes</a><ul>
|
||
<li class="toctree-l2"><a class="reference internal" href="#sipeed-lichee-tang">Sipeed Lichee Tang</a><ul>
|
||
<li class="toctree-l3"><a class="reference internal" href="#bit-file-load-memory">bit file load (memory)</a></li>
|
||
<li class="toctree-l3"><a class="reference internal" href="#bit-file-load-spi-flash">bit file load (spi flash)</a></li>
|
||
<li class="toctree-l3"><a class="reference internal" href="#svf-file-load">svf file load</a></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
<li class="toctree-l1"><a class="reference internal" href="colognechip.html">Cologne Chip notes</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="efinix.html">Efinix notes</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="gowin.html">Gowin notes</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="intel.html">Intel notes</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="lattice.html">Lattice notes</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="xilinx.html">Xilinx notes</a></li>
|
||
</ul>
|
||
<p class="caption" role="heading"><span class="caption-text">Development</span></p>
|
||
<ul>
|
||
<li class="toctree-l1"><a class="reference internal" href="../todo.html">To Do</a></li>
|
||
</ul>
|
||
|
||
<div class="relations">
|
||
<h3>Related Topics</h3>
|
||
<ul>
|
||
<li><a href="../index.html">Documentation overview</a><ul>
|
||
<li>Previous: <a href="../compatibility/cable.html" title="previous chapter">Cables</a></li>
|
||
<li>Next: <a href="colognechip.html" title="next chapter">Cologne Chip notes</a></li>
|
||
</ul></li>
|
||
</ul>
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</div>
|
||
</div>
|
||
<div class="clearer"></div>
|
||
</div>
|
||
<div class="footer">
|
||
©2019-2022, Gwenhael Goavec-Merou and contributors.
|
||
|
||
|
|
||
Powered by <a href="https://www.sphinx-doc.org/">Sphinx 9.1.0</a>
|
||
& <a href="https://alabaster.readthedocs.io">Alabaster 1.0.0</a>
|
||
|
||
|
|
||
<a href="../_sources/vendors/anlogic.rst.txt"
|
||
rel="nofollow">Page source</a>
|
||
</div>
|
||
|
||
|
||
|
||
|
||
</body>
|
||
</html> |