aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-22Fix compiler warning in icepllClaire Wolf
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
2020-04-22Merge branch 'opt_skip_powerdown' of https://github.com/smunaut/icestormClaire Wolf
2020-04-22Cleanup FpgaConfig::write_cram_pbm tile_type initializationClaire Wolf
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
2020-04-22Merge pull request #242 from The6P4C/masterClaire Wolf
icepack: Fix Windows-only stack overflow in CRAM pbm generation (fixe…
2020-04-22Merge pull request #252 from mmicko/gcc10Claire Wolf
Explicit include to compile with GCC 10
2020-04-20Update index.htmlClaire Wolf
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
2020-04-17Explicit include to compile with GCC 10Miodrag Milanovic
2020-04-14Merge pull request #251 from mmicko/fix-vlogClaire Wolf
Make sure that scripts find files on final install
2020-04-14Make sure that scripts find files on final installMiodrag Milanovic
2020-04-10Merge pull request #249 from eine/fix-destdirClaire Wolf
icebox: fix missing DESTDIR for icebox_chipdb
2020-04-10icebox: fix missing DESTDIR for icebox_chipdbeine
2020-04-10Merge pull request #248 from mmicko/program_prefixClaire Wolf
Support custom PROGRAM_PREFIX
2020-04-10Support custom PROGRAM_PREFIXMiodrag Milanovic
2020-03-30Merge pull request #245 from SmallRoomLabs/iteratePLLClaire Wolf
icepll: Add iteration over list of frequencies for best solution
2020-03-30Merge pull request #247 from esden/erase_block_sizeClaire Wolf
Added an option to choose the erase block size.
2020-02-02Added an option to choose the erase block size.Piotr Esden-Tempski
This allows us to flash binaries at offsets that are smaller multiples.
2019-12-31Add iteration over list of frequencies for best solutionMats Engstrom
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-28iceprog: Add option to keep flash powered upSylvain Munaut
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-12-08icepack: Fix Windows-only stack overflow in CRAM pbm generation (fixes #241)The6P4C
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.
2019-10-22icetime: use $(PYTHON) in MakefileSean Cross
Allow the name of the Python interpreter to be changed. Signed-off-by: Sean Cross <sean@xobs.io>
2019-10-22icefuzz: update Makefile to use $(PYTHON) variableSean Cross
Don't hardcode `python3` as the name of the Python interpreter. Signed-off-by: Sean Cross <sean@xobs.io>
2019-10-22icebox: use $(PYTHON) variable in MakefileSean Cross
Allow `python` to be provided by an interpreter other than `python3`. Signed-off-by: Sean Cross <sean@xobs.io>
2019-10-22config: add a variable for python interpreterSean Cross
This variable can be overridden on platforms where python is not called `python3`. Signed-off-by: Sean Cross <sean@xobs.io>
2019-09-13Fix typoClifford Wolf
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-08-31Merge pull request #235 from whitequark/masterClifford Wolf
Make iceprog optional
2019-08-31Make iceprog optional.whitequark
Avoids dependency on libftdi.
2019-08-15Merge pull request #230 from smunaut/fix_flash_resetClifford Wolf
iceprog: Better reset of flash
2019-08-15Merge pull request #229 from tpambor/win-pipingClifford Wolf
Fix piping on windows
2019-08-08Only dump memory initialization in icebox_vlog if present in ASC file, fixes ↵Clifford Wolf
#228 Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-08-08Only write bram data to ASCII output if bram data is present, fixes #228Clifford Wolf
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-08-05iceprog: Better reset of flashSylvain Munaut
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-05Fix piping on windowsTim Pambor
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-07-03Merge pull request #224 from daveshah1/nextpnr0299Clifford Wolf
up5k: Fix TOPADDSUB_CARRYSELECT_0 override where it swaps with osc tr…
2019-07-03up5k: Fix TOPADDSUB_CARRYSELECT_0 override where it swaps with osc trimmingDavid Shah
Signed-off-by: David Shah <dave@ds0.me>
2019-06-20Merge pull request #223 from corecode/u4kClifford Wolf
add RGB_DRV/LED_DRV_CUR for u4k
2019-06-20Merge pull request #220 from mbuesch/icepll-stdoutClifford Wolf
icepll: Add support for writing output data to stdout
2019-06-10add RGB_DRV/LED_DRV_CUR for u4kSimon Schubert
2019-06-09Merge pull request #221 from mbuesch/icebox-lru-cacheClifford Wolf
Reduce icebox build time
2019-06-08icebox_vlog: Use cached re functionsMichael Buesch
2019-06-08icebox_stat: Use cached re functionsMichael Buesch
2019-06-08icebox_maps: Use cached re functionsMichael Buesch
2019-06-08icebox_html: Use cached re functionsMichael Buesch
2019-06-08icebox_hlc2asc: Use cached re functionsMichael Buesch
2019-06-08icebox_explain: Use cached re functionsMichael Buesch
2019-06-08icebox_diff: Use cached re functionsMichael Buesch
2019-06-08icebox_colbuf: Use cached re functionsMichael Buesch
2019-06-08icebox_asc2hlc: Use cached re functionsMichael Buesch
2019-06-08icebox: Use cached re functionsMichael Buesch
2019-06-08icebox: Add helper functions to LRU cache regular expression resultsMichael Buesch
2019-06-08icebox: Use LRU cache for often called function tile_has_net()Michael Buesch