Commit Graph

349 Commits

Author SHA1 Message Date
Roland Lutz 0a8d98f36a iceprog: Fix error messages 2017-07-04 18:21:54 +02: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
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
Clifford Wolf 0f64fdf573 Merge pull request #80 from set-soft/less_latency
Reduced the timer latency to 1 (minimum allowed) some users are repor…
2017-05-03 20:54:33 +02:00
Salvador E. Tropea 08d2c63485 Reduced the timer latency to 1 (minimum allowed) some users are reporting better results 2017-05-03 12:57:22 -03:00
Clifford Wolf dc93d5805a Merge pull request #79 from set-soft/fix_latency_timer
Fix latency timer
2017-05-03 17:00:44 +02:00
Salvador E. Tropea 05f0f33c1c Added code to restore the original timer latency. In this way the user can avoid 500 Hz interrupts. 2017-05-03 10:25:09 -03:00
Salvador E. Tropea 73fffc21fa Added a call to ftdi_set_latency_timer to make iceprog performance independent of system settings 2017-05-03 10:08:26 -03:00
Clifford Wolf 587363b64a Add missing .rpt file to iceblink example "make clean" 2017-04-23 16:00:41 +02:00
Clifford Wolf bb42a74f90 Fix 32c3 video link in docs 2017-03-19 14:04:29 +01:00
Clifford Wolf 3eb2bf12bf Merge pull request #75 from joshhead/icepll-comma
Remove trailing comma in icepll module output.
2017-03-14 11:29:20 +01:00
Josh Headapohl 5bde6134ce Remove trailing comma in icepll module output. 2017-03-13 23:01:56 -04:00
Clifford Wolf efbf7846fe Add LP384 to list of supported devices 2017-03-13 11:40:19 +01:00
Clifford Wolf b2b7985e81 Add LP384 support to icetime 2017-03-13 11:34:02 +01:00
Clifford Wolf 314628ffd3 Disable propagation of LP384 ieren bits into iceboxdb.py 2017-03-11 11:16:23 +01:00
Clifford Wolf ca19eafe7a Merge branch 'master' of https://github.com/hermitsoft/icestorm 2017-03-11 11:06:53 +01:00
hermitsoft e832acc445 icefuzz data and test scripts for LP384-CM49 2017-03-10 02:09:46 +01:00
hermitsoft dacf221f3b make_mesh.py fix for even pin-distribution 2017-03-09 15:40:43 +01:00
hermitsoft f7334fcf4a Maximized icefuzz testcases for LP384-CM49 2017-03-09 15:23:54 +01:00
hermitsoft 62b7f71319 ieren and pin info for all LP384 2017-03-09 13:53:34 +01:00
Clifford Wolf 1f1f10b7f0 Merge branch 'hermitsoft' 2017-03-09 10:29:23 +01:00
Clifford Wolf 9efea90b1a Add icecube.sh support for lp384-cm36 and lp384-cm49, make cm49 default 2017-03-09 10:28:57 +01:00
hermitsoft 89fe3abc45 Icebox builds chipdb-384, icebox.py data still to refine. 2017-03-08 20:30:45 +01:00
hermitsoft 1a50795c2d filled LP384 fields in icebox.py but data needs refinement 2017-03-08 17:45:18 +01:00
hermitsoft 3099287094 Some LP384 data added to icebox.py 2017-03-08 15:23:57 +01:00
Clifford Wolf d4a3c95543 Fix icecube.sh -384 2017-03-08 14:05:45 +01:00
Clifford Wolf 4a4be48c34 Merge branch 'hermitsoft' 2017-03-08 13:40:35 +01:00
Clifford Wolf 038bf76caa Fix some of the obvious 384 todos in icebox.py 2017-03-08 13:39:15 +01:00
Clifford Wolf a2e8c06d68 Remove some trailing whitespaces 2017-03-08 13:31:32 +01:00
hermitsoft cdaab84e63 Merge remote-tracking branch 'upstream/master' 2017-03-07 23:35:22 +01:00
hermitsoft 85cdeeb441 tmedges.txt added, icebox-Makefile buildable 2017-03-07 23:12:00 +01:00
hermitsoft 873c092714 LP384 timings exported too by Makefile 2017-03-07 23:06:32 +01:00
hermitsoft f8934de8d5 icefuzz make_xxx.py files are ready for LP384. 2017-03-07 22:39:04 +01:00
hermitsoft 2ca9f929ac Fixes for LP384 in some make_xx.py, etc 2017-03-07 18:11:07 +01:00
hermitsoft 2281f91536 LP384 support in icefuzz (Makefile,icebox.sh,etc) 2017-03-07 15:58:09 +01:00
hermitsoft d3e368828e LP384 support in icefuzz (Makefile,icebox.sh,etc) 2017-03-07 15:56:17 +01:00
Clifford Wolf de563bdd95 Merge branch 'hermitsoft-master' 2017-03-07 08:09:49 +01:00
Clifford Wolf 2931984587 Fix trailing whitespace in icepack.cc 2017-03-07 08:08:10 +01:00