Clifford Wolf
43c38447c9
Fix icepack debug output
2017-07-31 15:53:59 +02:00
Clifford Wolf
872e333cf7
Merge branch 'master' into ice5k
2017-07-31 14:57:24 +02:00
Clifford Wolf
81e943e050
Add "DSP iCE board" to board list
2017-07-21 18:21:47 +02:00
Clifford Wolf
4ac8fff26c
Use better error pattern in icestick checker example
2017-07-21 17:43:05 +02:00
Clifford Wolf
6124133269
Add icestick "checker" example
2017-07-21 16:57:11 +02:00
Clifford Wolf
cb0a0f7ef8
Improve rs232demo test bench
2017-07-19 15:27:41 +02:00
Clifford Wolf
70e01c1802
Add pre- and post-synthesis testbench examples
2017-07-18 18:38:01 +02:00
Clifford Wolf
50915bf151
Merge pull request #88 from rqou/master
...
Remove use of err.h
2017-07-17 11:23:04 +02:00
Robert Ou
4e653c3b7e
iceprog: Make errors print only the program name
...
Previously, the entire argv[0] would be printed.
2017-07-17 01:43:27 -07:00
Robert Ou
9acaac752a
iceprog: Do not use nonstandard err.h
...
This header does not exist under MinGW. Replace these functions with
standard functions.
2017-07-17 01:28:59 -07:00
Clifford Wolf
f06de9a436
Merge pull request #87 from rqou/master
...
Make install target work for Windows
2017-07-17 09:03:55 +02:00
Robert Ou
4111f9cca5
makefile: Make install target work for Windows
2017-07-16 20:59:55 -07:00
Robert Ou
917afd1a85
makefile: Do not ignore user-provided CFLAGS
2017-07-16 18:51:54 -07:00
Scott Shawcroft
f704149b72
Fix routing issues by normalizing the net names in the tiles.
2017-07-07 19:10:41 -07:00
Scott Shawcroft
b019ae4e65
Rework bram indexing to unbreak 8k. Still not sure if its correct for 5k.
2017-07-07 17:00:20 -07:00
Scott Shawcroft
f16265c662
Work in progress DB. Having trouble getting group_segments to work without error.
2017-07-07 16:50:11 -07:00
Clifford Wolf
3c42bdbf66
Fix coding style in iceprog.c (mostly line breaks and indenting)
2017-07-05 18:34:57 +02:00
Clifford Wolf
82f9fdb575
Merge pull request #82 from rlutz/master
...
`iceprog' improvements, documentation fixes
2017-07-05 18:26:33 +02:00
Roland Lutz
53a8bcce35
iceprog: Keep name space clean
2017-07-04 18:21:54 +02:00
Roland Lutz
62e7089710
iceprog: Remove trailing newline
2017-07-04 18:21:54 +02:00
Roland Lutz
f36652689f
iceprog: Break overlong lines
2017-07-04 18:21:54 +02:00
Roland Lutz
64e129bee9
iceprog: Fix coding style inconsistencies
2017-07-04 18:21:54 +02:00
Roland Lutz
0a8d98f36a
iceprog: Fix error messages
2017-07-04 18:21:54 +02:00
Clifford Wolf
502611016c
Fix coding style in icepll.cc
2017-07-04 12:25:41 +02:00
Clifford Wolf
3fb5934d54
Merge branch 'tannewt'
2017-07-04 12:24:38 +02:00
Clifford Wolf
96511b32b1
Indenting fixes in icepack.cc
2017-07-04 12:24:28 +02:00
Scott Shawcroft
15bcbb7c33
Correct cram mapping so glbcheck actually passes.
2017-07-04 12:12:13 +02:00
C-Elegans
e395b74799
Update PLL DIVF range to be [0,127]
...
As discussed in issue #83 , the range of the DIVF parameter in the
iCE40 PLL Usage Guide is incorrectly listed as being 0-63, when it
should actually be 0-127 when used in the SIMPLE feedback mode. This
however does apply in other feedback modes, where the DIVF range should
still be restricted to 0-63
2017-07-04 12:12:13 +02:00
Clifford Wolf
832bcbe4a2
Merge pull request #84 from C-Elegans/pll_divf
...
Update PLL DIVF range to be [0,127]
2017-07-03 17:32:08 +02:00
Scott Shawcroft
b00ffb1c09
Introduce device class into fuxx workign directories and have glbcheck handle unsupported 5k tiles ok.
2017-07-02 15:38:44 -07:00
Roland Lutz
b61cfb8a01
iceprog: Add manpage
2017-07-02 14:56:07 +02:00
Roland Lutz
eef1731d2b
iceprog: Return a meaningful exit status
2017-07-02 14:56:07 +02:00
Roland Lutz
7b97eb4177
iceprog: When reading, don't write more bytes than requested
2017-07-02 14:56:07 +02:00
Roland Lutz
8413b2c689
iceprog: Allow programming from pipe
2017-07-02 14:56:07 +02:00
Roland Lutz
0bd8876d7f
iceprog: Allow programming from standard input
2017-07-02 14:49:37 +02:00
Roland Lutz
47c9cd4ac1
iceprog: Open input/output files before talking to hardware
2017-07-02 14:49:37 +02:00
Roland Lutz
6741d93245
iceprog: Overhaul `--help' text
2017-07-02 14:49:37 +02:00
Roland Lutz
703a913bd1
iceprog: Add option `--help'
2017-07-02 14:49:37 +02:00
C-Elegans
7201da8cfd
Update PLL DIVF range to be [0,127]
...
As discussed in issue #83 , the range of the DIVF parameter in the
iCE40 PLL Usage Guide is incorrectly listed as being 0-63, when it
should actually be 0-127 when used in the SIMPLE feedback mode. This
however does apply in other feedback modes, where the DIVF range should
still be restricted to 0-63
2017-06-24 16:30:10 -04:00
Scott Shawcroft
a25c8679ac
More work figuring out values in icebox.py
2017-06-23 22:53:54 -07:00
Scott Shawcroft
2a7139115c
work in progress chipdb
2017-06-23 15:43:38 -07:00
Scott Shawcroft
58a6110be1
Add icefuzz support for the UP5K and rework underlying device specification for more flexibility.
2017-06-22 17:38:38 -07:00
Scott Shawcroft
ed8c4e8c03
initial packing and unpacking parameters
2017-06-20 16:50:52 -07:00
Scott Shawcroft
5dd8d1172c
icefuzz support for ice40UP5k FPGA
2017-06-20 00:28:34 -07:00
Roland Lutz
86af65cc32
iceprog: Check for non-applicable options
2017-06-19 20:37:44 +02:00
Roland Lutz
90381332e2
iceprog: Check for invalid offset/size arguments
2017-06-08 21:01:45 +02:00
Roland Lutz
dbdc65b65b
iceprog: Give more information about invocation errors
2017-06-08 21:01:45 +02:00
Roland Lutz
1fefe35545
Fix I/O tile documentation
2017-06-07 16:33:36 +02:00
Clifford Wolf
8611d612d4
Merge pull request #81 from cbiffle/allow-long-sym-lines
...
icetime: allow longer lines in input asc files
2017-05-11 11:06:27 +02:00
Cliff L. Biffle
e787fa2d30
icetime: never silently truncate asc file lines
...
icetime was reading the asc configuration file using a 128-byte line
buffer -- which is usually fine, but can cause it to truncate the names
of nets given in .sym lines if those names are very, very long. The way
fgets was being used meant this went undetected.
Long net names like this can arise in deeply hierarchical designs,
particularly if there's a code generator involved.
This change:
1. Increases the buffer size to 64kiB.
2. Adds a truncation check that causes icetime to fail.
A more robust solution would manage the line buffer on the heap, since
the symbol gets copied into a std::string anyway, but this is a
workaround for now.
2017-05-09 08:06:43 -07:00