aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix compiler warning in icepllClaire Wolf2020-04-221-1/+1
| | | | Signed-off-by: Claire Wolf <claire@symbioticeda.com>
* Merge branch 'opt_skip_powerdown' of https://github.com/smunaut/icestormClaire Wolf2020-04-221-2/+8
|\
| * iceprog: Add option to keep flash powered upSylvain Munaut2019-12-281-2/+8
| | | | | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* | Cleanup FpgaConfig::write_cram_pbm tile_type initializationClaire Wolf2020-04-221-11/+3
| | | | | | | | Signed-off-by: Claire Wolf <claire@symbioticeda.com>
* | Merge pull request #242 from The6P4C/masterClaire Wolf2020-04-221-1/+19
|\ \ | | | | | | icepack: Fix Windows-only stack overflow in CRAM pbm generation (fixe…
| * | icepack: Fix Windows-only stack overflow in CRAM pbm generation (fixes #241)The6P4C2019-12-081-1/+19
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows, attempting to generate a netpbm image of the CRAM with `icepack -b` causes the tool to crash after writing only the netpbm header due to a stack overflow. The bug did not appear on Linux. This was traced to a large stack-allocated variable length array (`tile_type`) inside `FpgaConfig::write_cram_pbm`. For an 8k ice40 with 4 banks, `cram_width = 872` and `cram_height = 272` the `tile_type` array ends up at `4 * 872 * 272 * sizeof(uint32_t) =` 3794944 bytes, or about 3.6 MiB. The fix replaces the large stack VLA with an array of 4 (bank) 2D C++ vectors, moving the large amount of data to the heap. Even though the fix is not in a Windows-specific code path (and hence applies to all platforms), I think it's wise to eliminate such a large stack allocation entirely. The fix has been tested working on both Windows and an Ubuntu WSL install.
* | Merge pull request #252 from mmicko/gcc10Claire Wolf2020-04-221-0/+1
|\ \ | | | | | | Explicit include to compile with GCC 10
| * | Explicit include to compile with GCC 10Miodrag Milanovic2020-04-171-0/+1
| | |
* | | Update index.htmlClaire Wolf2020-04-201-8/+10
|/ / | | | | | | Signed-off-by: Claire Wolf <claire@symbioticeda.com>
* | Merge pull request #251 from mmicko/fix-vlogClaire Wolf2020-04-141-1/+1
|\ \ | | | | | | Make sure that scripts find files on final install
| * | Make sure that scripts find files on final installMiodrag Milanovic2020-04-141-1/+1
|/ /
* | Merge pull request #249 from eine/fix-destdirClaire Wolf2020-04-101-6/+6
|\ \ | | | | | | icebox: fix missing DESTDIR for icebox_chipdb
| * | icebox: fix missing DESTDIR for icebox_chipdbeine2020-04-101-6/+6
|/ /
* | Merge pull request #248 from mmicko/program_prefixClaire Wolf2020-04-1019-123/+146
|\ \ | | | | | | Support custom PROGRAM_PREFIX
| * | Support custom PROGRAM_PREFIXMiodrag Milanovic2020-04-1019-123/+146
|/ /
* | Merge pull request #245 from SmallRoomLabs/iteratePLLClaire Wolf2020-03-301-54/+153
|\ \ | | | | | | icepll: Add iteration over list of frequencies for best solution
| * | Add iteration over list of frequencies for best solutionMats Engstrom2019-12-311-54/+153
| |/ | | | | | | | | | | | | | | | | 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.
* | Merge pull request #247 from esden/erase_block_sizeClaire Wolf2020-03-301-5/+53
|\ \ | |/ |/| Added an option to choose the erase block size.
| * Added an option to choose the erase block size.Piotr Esden-Tempski2020-02-021-5/+53
|/ | | | This allows us to flash binaries at offsets that are smaller multiples.
* Fix typoClifford Wolf2019-09-131-1/+1
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Merge pull request #235 from whitequark/masterClifford Wolf2019-08-312-2/+6
|\ | | | | Make iceprog optional
| * Make iceprog optional.whitequark2019-08-312-2/+6
|/ | | | Avoids dependency on libftdi.
* Merge pull request #230 from smunaut/fix_flash_resetClifford Wolf2019-08-151-4/+2
|\ | | | | iceprog: Better reset of flash
| * iceprog: Better reset of flashSylvain Munaut2019-08-051-4/+2
| | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #229 from tpambor/win-pipingClifford Wolf2019-08-151-0/+10
|\ \ | | | | | | Fix piping on windows
| * | Fix piping on windowsTim Pambor2019-08-051-0/+10
| |/ | | | | | | 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
* | Only dump memory initialization in icebox_vlog if present in ASC file, fixes ↵Clifford Wolf2019-08-081-2/+3
| | | | | | | | | | | | #228 Signed-off-by: Clifford Wolf <clifford@clifford.at>
* | Only write bram data to ASCII output if bram data is present, fixes #228Clifford Wolf2019-08-081-1/+1
|/ | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Merge pull request #224 from daveshah1/nextpnr0299Clifford Wolf2019-07-031-1/+2
|\ | | | | up5k: Fix TOPADDSUB_CARRYSELECT_0 override where it swaps with osc tr…
| * up5k: Fix TOPADDSUB_CARRYSELECT_0 override where it swaps with osc trimmingDavid Shah2019-07-031-1/+2
|/ | | | Signed-off-by: David Shah <dave@ds0.me>
* Merge pull request #223 from corecode/u4kClifford Wolf2019-06-2011-37/+329
|\ | | | | add RGB_DRV/LED_DRV_CUR for u4k
| * add RGB_DRV/LED_DRV_CUR for u4kSimon Schubert2019-06-1011-37/+329
| |
* | Merge pull request #220 from mbuesch/icepll-stdoutClifford Wolf2019-06-201-14/+34
|\ \ | |/ |/| icepll: Add support for writing output data to stdout
| * icepll: Add support for writing output data to stdoutMichael Buesch2019-05-261-14/+34
| |
* | Merge pull request #221 from mbuesch/icebox-lru-cacheClifford Wolf2019-06-0910-136/+173
|\ \ | | | | | | Reduce icebox build time
| * | icebox_vlog: Use cached re functionsMichael Buesch2019-06-081-20/+21
| | |
| * | icebox_stat: Use cached re functionsMichael Buesch2019-06-081-6/+7
| | |
| * | icebox_maps: Use cached re functionsMichael Buesch2019-06-081-2/+3
| | |
| * | icebox_html: Use cached re functionsMichael Buesch2019-06-081-5/+6
| | |
| * | icebox_hlc2asc: Use cached re functionsMichael Buesch2019-06-081-15/+16
| | |
| * | icebox_explain: Use cached re functionsMichael Buesch2019-06-081-3/+4
| | |
| * | icebox_diff: Use cached re functionsMichael Buesch2019-06-081-1/+2
| | |
| * | icebox_colbuf: Use cached re functionsMichael Buesch2019-06-081-2/+3
| | |
| * | icebox_asc2hlc: Use cached re functionsMichael Buesch2019-06-081-18/+19
| | |
| * | icebox: Use cached re functionsMichael Buesch2019-06-081-63/+63
| | |
| * | icebox: Add helper functions to LRU cache regular expression resultsMichael Buesch2019-06-081-0/+26
| | |
| * | icebox: Use LRU cache for often called function tile_has_net()Michael Buesch2019-06-081-1/+3
| | |
* | | Merge pull request #222 from mbuesch/icetime-gitignoreClifford Wolf2019-06-072-1/+2
|\| | | |/ |/| icetime: Add generated timings-*.cc files to .gitignore and 'make clean'
| * icetime: Add generated timings-*.cc files to .gitignore and make cleanMichael Buesch2019-06-072-1/+2
|/
* Merge pull request #219 from mbuesch/icepll-fix-fopenClifford Wolf2019-05-261-0/+7
|\ | | | | icepll: Avoid segmentation fault, if opening of output file fails