Commit Graph

729 Commits

Author SHA1 Message Date
Clifford Wolf 0ec00d892a Fix typo
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-09-13 12:55:48 +02:00
Clifford Wolf 04f1eb78ed
Merge pull request #235 from whitequark/master
Make iceprog optional
2019-08-31 21:54:45 +02:00
whitequark 37227e2b18 Make iceprog optional.
Avoids dependency on libftdi.
2019-08-31 14:03:14 +00:00
Clifford Wolf 9594931536
Merge pull request #230 from smunaut/fix_flash_reset
iceprog: Better reset of flash
2019-08-15 13:31:53 +02:00
Clifford Wolf c59638c624
Merge pull request #229 from tpambor/win-piping
Fix piping on windows
2019-08-15 13:29:46 +02:00
Clifford Wolf 2ccae0d386 Only dump memory initialization in icebox_vlog if present in ASC file, fixes #228
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-08-08 17:07:52 +02:00
Clifford Wolf 6943ad7afa Only write bram data to ASCII output if bram data is present, fixes #228
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-08-08 17:02:44 +02:00
Sylvain Munaut a7c42cd29b iceprog: Better reset of flash
If the flash was in a 'weird' mode (like CRM, QPI, ...), sending
a continuous stream of 0xff should take it out of it.

It looks like the previous code was trying to do that, but
was only transferring 8 bits and then 2 bits which is way
too short.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-08-05 14:34:49 +02:00
Tim Pambor 26a40d0e11 Fix piping on windows
On windows stdin and stdout have to be set to binary as otherwise windows treats it as text and converts occurences of CRLF to LF
2019-08-05 11:51:03 +02:00
Clifford Wolf 792cef084a
Merge pull request #224 from daveshah1/nextpnr0299
up5k: Fix TOPADDSUB_CARRYSELECT_0 override where it swaps with osc tr…
2019-07-03 16:21:33 +02:00
David Shah 1cec1328e0 up5k: Fix TOPADDSUB_CARRYSELECT_0 override where it swaps with osc trimming
Signed-off-by: David Shah <dave@ds0.me>
2019-07-03 12:54:00 +01:00
Clifford Wolf cfac9f9504
Merge pull request #223 from corecode/u4k
add RGB_DRV/LED_DRV_CUR for u4k
2019-06-20 15:08:48 +02:00
Clifford Wolf 2a26cfac3e
Merge pull request #220 from mbuesch/icepll-stdout
icepll: Add support for writing output data to stdout
2019-06-20 15:07:34 +02:00
Simon Schubert 56978cde58 add RGB_DRV/LED_DRV_CUR for u4k 2019-06-10 13:06:11 +02:00
Clifford Wolf 0f5feeaae9
Merge pull request #221 from mbuesch/icebox-lru-cache
Reduce icebox build time
2019-06-09 10:31:09 +02:00
Michael Buesch eec6555603 icebox_vlog: Use cached re functions 2019-06-08 16:12:16 +02:00
Michael Buesch 00213ed9c3 icebox_stat: Use cached re functions 2019-06-08 16:12:16 +02:00
Michael Buesch 51a11ffc81 icebox_maps: Use cached re functions 2019-06-08 16:12:16 +02:00
Michael Buesch e0642ba06e icebox_html: Use cached re functions 2019-06-08 16:12:16 +02:00
Michael Buesch c9e741cfbc icebox_hlc2asc: Use cached re functions 2019-06-08 16:12:16 +02:00
Michael Buesch 30769bbfd0 icebox_explain: Use cached re functions 2019-06-08 16:12:16 +02:00
Michael Buesch 52bbe0f469 icebox_diff: Use cached re functions 2019-06-08 16:12:16 +02:00
Michael Buesch c4ac25e096 icebox_colbuf: Use cached re functions 2019-06-08 16:12:16 +02:00
Michael Buesch d26ac8d09e icebox_asc2hlc: Use cached re functions 2019-06-08 16:12:16 +02:00
Michael Buesch 2aff52f10a icebox: Use cached re functions 2019-06-08 16:12:16 +02:00
Michael Buesch 795e0003f2 icebox: Add helper functions to LRU cache regular expression results 2019-06-08 16:12:16 +02:00
Michael Buesch 5f49bea71c icebox: Use LRU cache for often called function tile_has_net() 2019-06-08 16:12:07 +02:00
Clifford Wolf 625105c0d1
Merge pull request #222 from mbuesch/icetime-gitignore
icetime: Add generated timings-*.cc files to .gitignore and 'make clean'
2019-06-07 23:09:42 +02:00
Michael Buesch fab366e81d icetime: Add generated timings-*.cc files to .gitignore and make clean 2019-06-07 22:55:48 +02:00
Michael Buesch 868d2ac08b icepll: Add support for writing output data to stdout 2019-05-26 17:01:41 +02:00
Clifford Wolf 710470f9d2
Merge pull request #219 from mbuesch/icepll-fix-fopen
icepll: Avoid segmentation fault, if opening of output file fails
2019-05-26 16:36:28 +02:00
Michael Buesch f848eb8b12 icepll: Avoid segmentation fault, if opening of output file fails 2019-05-26 16:18:30 +02:00
Clifford Wolf 2cee28fd47
Merge pull request #218 from mbuesch/quiet
icepll: In quiet mode don't print info about target file name
2019-05-26 10:34:16 +02:00
Michael Buesch 3b011bd326 icepll: In quiet mode don't print info about target file name 2019-05-25 22:19:16 +02:00
Clifford Wolf aa5a623bb3 Add missing C headers to timings.py
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-05-22 11:59:21 +02:00
Clifford Wolf d78e9185f8
Merge pull request #215 from bluesceada/icepack-noinit-bram
Option for icepack to skip initializing BRAM (tested for ice40hx8k) with "-n"
2019-05-15 21:15:36 +02:00
Dennis Gnad 992d8c97ea option for icepack to skip initializing BRAM (tested for ice40hx8k) 2019-05-15 16:57:17 +02:00
Clifford Wolf dd8c003e79
Merge pull request #214 from mbuesch/warningfix
Fix warnings: 'may be used uninitialized in this function'
2019-05-01 13:55:13 +02:00
Michael Buesch 9f48587713 Fix warnings: 'may be used uninitialized in this function'
icetime.cc: In member function ‘double TimingAnalysis::report(std::__cxx11::string)’:
icetime.cc:1095:15: warning: ‘last_time’ may be used uninitialized in this function [-Wmaybe-uninitialized]
        fprintf(frpt, "%10.3f ns ..%7.3f ns %s\n", first_time, last_time, last_net.c_str());
        ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
icetime.cc:1095:15: warning: ‘first_time’ may be used uninitialized in this function [-Wmaybe-uninitialized]
2019-04-30 22:08:47 +02:00
Clifford Wolf b1026f8b75
Merge pull request #212 from pcossutta/master
Add -X option to iceprog
2019-04-29 11:27:32 +02:00
Pablo Cossutta bd88dfe418 Add -X option to iceprog
In my setup, in OSX I have problems reading from libftdi but not writing. In case of a failure iceprog exits and leaves the FPGA in an useless state. I think it would be a good option to have the possibility to skip the verification process.
2019-04-27 19:33:07 -03:00
Clifford Wolf d9ea2e15fc
Merge pull request #206 from smunaut/icetime
icetime: Split timing 'get_delay' functions per device
2019-04-16 10:25:04 +02:00
Clifford Wolf 1caaec363a
Merge pull request #211 from daveshah1/eigen3
docs: Add new Eigen3 dependency
2019-04-16 10:20:52 +02:00
David Shah 1c1e0c06bd docs: Add new Eigen3 dependency
Signed-off-by: David Shah <dave@ds0.me>
2019-04-02 14:53:52 +01:00
Sylvain Munaut 472fd1a56f icetime: Split timing 'get_delay' functions per device
This should reduce the memory requirement during build of icetime, not
trying to compile one huge file all at once

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-03-20 11:38:36 +01:00
Clifford Wolf fa1c932452
Merge pull request #205 from gojimmypi/master
clarify empty design message. See Issue #204
2019-03-11 01:12:55 -07:00
gojimmypi 865cb895bf clarify empty design message. See Isse #204 2019-03-10 15:56:54 -07:00
Clifford Wolf 15c9bfd751 Minor cleanups in iceprog/mpsse.h
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-03-02 13:56:49 -08:00
Clifford Wolf 082152ba4b
Merge pull request #196 from esden/iceprog-mpsse-refactor
Iceprog mpsse refactor
2019-03-02 13:55:56 -08:00
Clifford Wolf 3a2bfee5cb
Merge pull request #202 from corecode/u4k
iCE40 Ultra = iCE5LP = u4k port
2019-02-23 08:35:26 -08:00