Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | icepack: show program name in usage. | whitequark | 2020-06-24 | 1 | -4/+4 |
| | |||||
* | Cleanup FpgaConfig::write_cram_pbm tile_type initialization | Claire Wolf | 2020-04-22 | 1 | -11/+3 |
| | | | | Signed-off-by: Claire Wolf <claire@symbioticeda.com> | ||||
* | Merge pull request #242 from The6P4C/master | Claire Wolf | 2020-04-22 | 1 | -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) | The6P4C | 2019-12-08 | 1 | -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. | ||||
* | | Support custom PROGRAM_PREFIX | Miodrag Milanovic | 2020-04-10 | 1 | -12/+12 |
|/ | |||||
* | Fix typo | Clifford Wolf | 2019-09-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | ||||
* | Only write bram data to ASCII output if bram data is present, fixes #228 | Clifford Wolf | 2019-08-08 | 1 | -1/+1 |
| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | ||||
* | option for icepack to skip initializing BRAM (tested for ice40hx8k) | Dennis Gnad | 2019-05-15 | 1 | -12/+23 |
| | |||||
* | Add lm4k detection support to icepack. | Andrew Wygle | 2018-05-06 | 1 | -1/+12 |
| | |||||
* | Mount NODEFS if using emscripten and nodejs | Robert Ou | 2018-03-31 | 1 | -0/+16 |
| | | | | | Mounts root directory on `/hostfs` and the current working directory on `/hostcwd` | ||||
* | Add iCE40 Ultra (ice5lp) support to icepack | David Shah | 2018-02-13 | 1 | -2/+26 |
| | |||||
* | Enable writing nosleep config bit into output bitstream. | William D. Jones | 2017-12-31 | 1 | -11/+30 |
| | |||||
* | Add nosleep field to FpgaConfig- read_bits recognizes the option. | William D. Jones | 2017-12-31 | 1 | -9/+35 |
| | |||||
* | Fix whitespace and a couple of typos | David Shah | 2017-11-20 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' into up5k | David Shah | 2017-11-18 | 1 | -4/+4 |
|\ | |||||
| * | Fix up build system to work with emscripten | Robert Ou | 2017-11-15 | 1 | -4/+4 |
| | | |||||
* | | Preparations for DSP and IpCon fuzzing | David Shah | 2017-11-08 | 1 | -5/+5 |
|/ | |||||
* | 5k-related fixes to icepack | David Shah | 2017-11-05 | 1 | -22/+64 |
| | |||||
* | Fix BRAM initialisation on 5k parts | David Shah | 2017-11-01 | 1 | -4/+5 |
| | |||||
* | Add DSP and IPConnect tile support to icepack and glbcheck | David Shah | 2017-10-21 | 1 | -4/+16 |
| | |||||
* | icepack: Add support for non-warmboot images | Roland Lutz | 2017-09-04 | 1 | -0/+14 |
| | |||||
* | Fix icepack debug output | Clifford Wolf | 2017-07-31 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into ice5k | Clifford Wolf | 2017-07-31 | 1 | -4/+4 |
|\ | |||||
| * | makefile: Make install target work for Windows | Robert Ou | 2017-07-16 | 1 | -4/+4 |
| | | |||||
* | | Rework bram indexing to unbreak 8k. Still not sure if its correct for 5k. | Scott Shawcroft | 2017-07-07 | 1 | -4/+7 |
| | | |||||
* | | Indenting fixes in icepack.cc | Clifford Wolf | 2017-07-04 | 1 | -45/+43 |
| | | |||||
* | | Correct cram mapping so glbcheck actually passes. | Scott Shawcroft | 2017-07-04 | 1 | -11/+63 |
| | | |||||
* | | More work figuring out values in icebox.py | Scott Shawcroft | 2017-06-23 | 1 | -7/+23 |
| | | |||||
* | | Add icefuzz support for the UP5K and rework underlying device specification ↵ | Scott Shawcroft | 2017-06-22 | 1 | -8/+8 |
| | | | | | | | | for more flexibility. | ||||
* | | initial packing and unpacking parameters | Scott Shawcroft | 2017-06-20 | 1 | -15/+50 |
|/ | |||||
* | Fix trailing whitespace in icepack.cc | Clifford Wolf | 2017-03-07 | 1 | -1/+1 |
| | |||||
* | Disabling BRAM commands in bitsream for LP384 | hermitsoft | 2017-03-06 | 1 | -36/+39 |
| | |||||
* | LP384 support in icepack - log_level back to 0 | hermitsoft | 2017-03-06 | 1 | -1/+1 |
| | |||||
* | LP384 support in icepack (tested on real chip) | Mihály Horváth | 2017-03-05 | 1 | -2/+15 |
| | | | | | | LP384 is now supported in icepack, it was fairly easy to realize as only the main chip dimensions are required that could be found out from the .bin bitsream file generated by iCEcube. Tested by creating .asc then packing it back to .bin. The testcase is just a simple LED on/off on a port though but that shows geometries are fine. Now I'm trying to have and support chipdb-384.txt hopefully with some help from the authors and anyone who already knows the internals of IceStorm well. I need info, how to reverse-engineer iCE40 chips the easiest way. Scripts maybe. I'm trying to reach my goal in any way coz iCEcube sucks and IceStorm integrates well into commandline... | ||||
* | Clean up Makefiles | Elvira Khabirova | 2017-02-12 | 1 | -3/+1 |
| | |||||
* | Only define _GNU_SOURCE for vasprintf() when not _WIN32 | Clifford Wolf | 2016-07-26 | 1 | -0/+3 |
| | |||||
* | Explicitly ask for vasprintf where appropriate. | Yury Gribov | 2016-07-26 | 1 | -0/+2 |
| | |||||
* | Added Makefile support for "make STATIC=1" | Clifford Wolf | 2016-03-02 | 1 | -0/+4 |
| | |||||
* | fix a few spelling mistakes in error messages | Ruben Undheim | 2016-02-27 | 1 | -7/+7 |
| | |||||
* | Added/improved support for mxe-based win32 cross builds | Clifford Wolf | 2016-02-14 | 2 | -5/+7 |
| | |||||
* | Added config.mk, correct DESTDIR/PREFIX usage | Clifford Wolf | 2015-12-31 | 1 | -8/+6 |
| | |||||
* | Added mxe-based win32 build | Clifford Wolf | 2015-12-15 | 1 | -0/+5 |
| | |||||
* | cleaned up VS2013 fixes | Clifford Wolf | 2015-08-21 | 1 | -16/+2 |
| | |||||
* | fixed for VS2013 | Antti Lukats | 2015-08-21 | 1 | -0/+20 |
| | |||||
* | variablize CXX and PYTHON and add -L and -I | Aaron Bieber | 2015-08-18 | 1 | -1/+2 |
| | |||||
* | Removed "icepack -C" (use "icebox_colbuf -f" instead) | Clifford Wolf | 2015-08-06 | 1 | -52/+0 |
| | |||||
* | Imply "icepack -C" for 8k devices (temporary workaround) | Clifford Wolf | 2015-07-30 | 1 | -1/+1 |
| | |||||
* | Added icepack -C | Clifford Wolf | 2015-07-30 | 1 | -0/+52 |
| | |||||
* | Define and use DESTDIR for installation (by Larry Doolittle) | Clifford Wolf | 2015-07-27 | 1 | -4/+5 |
| | |||||
* | Various Makefile cleanups | Clifford Wolf | 2015-07-18 | 2 | -0/+5 |
| |