Generate chip database HTML

This commit is contained in:
Miodrag Milanovic 2025-02-07 12:43:20 +01:00
parent 287f6666c8
commit 1341137372
3 changed files with 8 additions and 4 deletions

View File

@ -4,6 +4,9 @@ build:
os: ubuntu-22.04
tools:
python: '3.11'
jobs:
pre_build:
- python3 icebox/icebox_html.py -3 -d docs/source/_static/bitdocs-384
sphinx:
configuration: docs/source/conf.py

View File

@ -471,8 +471,9 @@ tiles.
- `IO Tile Documentation <io_tile.html>`__
- `RAM Tile Documentation <ram_tile.html>`__
- `The Bitstream File Format <format.html>`__
- `The iCE40 HX1K Bit Docs <bitdocs-1k/>`__
- `The iCE40 HX8K Bit Docs <bitdocs-8k/>`__
- `The iCE40 LP384 Bit Docs <_static/bitdocs-384/index.html>`__
- `The iCE40 HX1K Bit Docs <_static/bitdocs-1k/index.html>`__
- `The iCE40 HX8K Bit Docs <_static/bitdocs-8k/index.html>`__
- `Notes on UltraPlus features <ultraplus.html>`__
The iceunpack program can be used to convert the bitstream into an ASCII

View File

@ -153,7 +153,7 @@ def print_index():
print("<title>Project IceStorm &ndash; %s Overview</title>" % chipname)
print("<h1>Project IceStorm &ndash; %s Overview</h1>" % chipname)
print("""<i><a href="http://www.clifford.at/icestorm/">Project IceStorm</a> aims at documenting the bitstream format of Lattice iCE40 FPGAs
print("""<i><a href="https://prjicestorm.readthedocs.io/">Project IceStorm</a> aims at documenting the bitstream format of Lattice iCE40 FPGAs
and providing simple tools for analyzing and creating bitstream files. This is work in progress.</i>""")
print("""<p>This documentation is auto-generated by <tt>icebox_html.py</tt> from IceBox.<br/>
@ -203,7 +203,7 @@ def print_tile(tx, ty):
print("<title>Project IceStorm &ndash; %s %s Tile (%d %d)</title>" % (chipname, tile_type, tx, ty))
print("<h1>Project IceStorm &ndash; %s %s Tile (%d %d)</h1>" % (chipname, tile_type, tx, ty))
print("""<i><a href="http://www.clifford.at/icestorm/">Project IceStorm</a> aims at documenting the bitstream format of Lattice iCE40 FPGAs
print("""<i><a href="https://prjicestorm.readthedocs.io/">Project IceStorm</a> aims at documenting the bitstream format of Lattice iCE40 FPGAs
and providing simple tools for analyzing and creating bitstream files. This is work in progress.</i>""")
print("""<p>This page describes the %s Tile (%d %d), what nets and