Commit Graph

739 Commits

Author SHA1 Message Date
Claire Wolf d05659d83a
Merge pull request #251 from mmicko/fix-vlog
Make sure that scripts find files on final install
2020-04-14 19:14:30 +02:00
Miodrag Milanovic 5e9fc56e0a Make sure that scripts find files on final install 2020-04-14 18:14:32 +02:00
Claire Wolf 9ed101d0e1
Merge pull request #249 from eine/fix-destdir
icebox: fix missing DESTDIR for icebox_chipdb
2020-04-10 19:51:02 +02:00
eine 7a7c085e9b icebox: fix missing DESTDIR for icebox_chipdb 2020-04-10 19:10:00 +02:00
Claire Wolf 879d5b261c
Merge pull request #248 from mmicko/program_prefix
Support custom PROGRAM_PREFIX
2020-04-10 14:08:39 +02:00
Miodrag Milanovic fe3086a733 Support custom PROGRAM_PREFIX 2020-04-10 10:05:17 +02:00
Claire Wolf d1cee1d4ae
Merge pull request #245 from SmallRoomLabs/iteratePLL
icepll: Add iteration over list of frequencies for best solution
2020-03-30 13:55:23 +02:00
Claire Wolf d38852b48d
Merge pull request #247 from esden/erase_block_size
Added an option to choose the erase block size.
2020-03-30 11:17:30 +02:00
Piotr Esden-Tempski 24645e91a6 Added an option to choose the erase block size.
This allows us to flash binaries at offsets that are smaller multiples.
2020-02-02 23:02:53 -08:00
Mats Engstrom c1d49fe58b Add iteration over list of frequencies for best solution
This patch adds support for icepll to try multiple input frequencies to
find the best crystal for the desired output frequency.

The values tested comes either from a specified file using-B, or from a
default set of frequencies from Mousers "normally stocked" crystal
oscillators.
2019-12-31 00:06:59 +01:00
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