-
Notifications
You must be signed in to change notification settings - Fork 13
/
README
49 lines (30 loc) · 1.62 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
This project aims to develop a tool to graphically view a
place-n-routed ICE40 configuration, showing the exact placement of
every signal and logic gates. It reads the *.asc files that are also
used as input to icepack to generate the final bitstream. HX1K, HX8K, and UP5K
devices are supported.
This is still work in progress, and some connections are not shown,
eg. global nets and BRAM connections. Still, it should already be quite
functional.
The latest version is hosted on github.io for easy access:
https://knielsen.github.io/ice40_viewer/ice40_viewer.html
See the bottom of the page (below the canvas display) for instructions.
There is also a standalone version available as the program
iceview_html.py. This program reads an input *.asc file and outputs a
standalone .html page containing the viewer. Optionally, the result
can be opened directly in a browser of choice (-s option):
iceview_html.py -s firefox input.asc output.html
This should provide a convenient way to use the viewer during FPGA
development.
Instructions for installing the HTTP-server version: Dump the files
somewhere accessible through a web server, and open ice40_viewer.html
in a browser.
One really simple way, useful for development, is to use Python's
SimpleHTTPServer. Simply run it from the directory containing the
source files:
python -m SimpleHTTPServer
Then the tool is available as http://localhost:8000/ice40_viewer.html
License: ISC license, see file LICENSE.
Most of the examples are from https://github.com/nesl/ice40_examples,
and are under a GPL-v3 license, see examples/LICENSE.
Contact: Kristian Nielsen <[email protected]>