aboutsummaryrefslogtreecommitdiffstats
path: root/icepack
Commit message (Collapse)AuthorAgeFilesLines
* Add more build products to .gitignore.whitequark2021-03-051-0/+3
|
* icepack: show program name in usage.whitequark2020-06-241-4/+4
|
* 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.
* | Support custom PROGRAM_PREFIXMiodrag Milanovic2020-04-101-12/+12
|/
* Fix typoClifford Wolf2019-09-131-1/+1
| | | | 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>
* option for icepack to skip initializing BRAM (tested for ice40hx8k)Dennis Gnad2019-05-151-12/+23
|
* Add lm4k detection support to icepack.Andrew Wygle2018-05-061-1/+12
|
* Mount NODEFS if using emscripten and nodejsRobert Ou2018-03-311-0/+16
| | | | | Mounts root directory on `/hostfs` and the current working directory on `/hostcwd`
* Add iCE40 Ultra (ice5lp) support to icepackDavid Shah2018-02-131-2/+26
|
* Enable writing nosleep config bit into output bitstream.William D. Jones2017-12-311-11/+30
|
* Add nosleep field to FpgaConfig- read_bits recognizes the option.William D. Jones2017-12-311-9/+35
|
* Fix whitespace and a couple of typosDavid Shah2017-11-201-2/+2
|
* Merge branch 'master' into up5kDavid Shah2017-11-181-4/+4
|\
| * Fix up build system to work with emscriptenRobert Ou2017-11-151-4/+4
| |
* | Preparations for DSP and IpCon fuzzingDavid Shah2017-11-081-5/+5
|/
* 5k-related fixes to icepackDavid Shah2017-11-051-22/+64
|
* Fix BRAM initialisation on 5k partsDavid Shah2017-11-011-4/+5
|
* Add DSP and IPConnect tile support to icepack and glbcheckDavid Shah2017-10-211-4/+16
|
* icepack: Add support for non-warmboot imagesRoland Lutz2017-09-041-0/+14
|
* Fix icepack debug outputClifford Wolf2017-07-311-1/+1
|
* Merge branch 'master' into ice5kClifford Wolf2017-07-311-4/+4
|\
| * makefile: Make install target work for WindowsRobert Ou2017-07-161-4/+4
| |
* | Rework bram indexing to unbreak 8k. Still not sure if its correct for 5k.Scott Shawcroft2017-07-071-4/+7
| |
* | Indenting fixes in icepack.ccClifford Wolf2017-07-041-45/+43
| |
* | Correct cram mapping so glbcheck actually passes.Scott Shawcroft2017-07-041-11/+63
| |
* | More work figuring out values in icebox.pyScott Shawcroft2017-06-231-7/+23
| |
* | Add icefuzz support for the UP5K and rework underlying device specification ↵Scott Shawcroft2017-06-221-8/+8
| | | | | | | | for more flexibility.
* | initial packing and unpacking parametersScott Shawcroft2017-06-201-15/+50
|/
* Fix trailing whitespace in icepack.ccClifford Wolf2017-03-071-1/+1
|
* Disabling BRAM commands in bitsream for LP384hermitsoft2017-03-061-36/+39
|
* LP384 support in icepack - log_level back to 0hermitsoft2017-03-061-1/+1
|
* LP384 support in icepack (tested on real chip)Mihály Horváth2017-03-051-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 MakefilesElvira Khabirova2017-02-121-3/+1
|
* Only define _GNU_SOURCE for vasprintf() when not _WIN32Clifford Wolf2016-07-261-0/+3
|
* Explicitly ask for vasprintf where appropriate.Yury Gribov2016-07-261-0/+2
|
* Added Makefile support for "make STATIC=1"Clifford Wolf2016-03-021-0/+4
|
* fix a few spelling mistakes in error messagesRuben Undheim2016-02-271-7/+7
|
* Added/improved support for mxe-based win32 cross buildsClifford Wolf2016-02-142-5/+7
|
* Added config.mk, correct DESTDIR/PREFIX usageClifford Wolf2015-12-311-8/+6
|
* Added mxe-based win32 buildClifford Wolf2015-12-151-0/+5
|
* cleaned up VS2013 fixesClifford Wolf2015-08-211-16/+2
|
* fixed for VS2013Antti Lukats2015-08-211-0/+20
|
* variablize CXX and PYTHON and add -L and -IAaron Bieber2015-08-181-1/+2
|
* Removed "icepack -C" (use "icebox_colbuf -f" instead)Clifford Wolf2015-08-061-52/+0
|
* Imply "icepack -C" for 8k devices (temporary workaround)Clifford Wolf2015-07-301-1/+1
|
* Added icepack -CClifford Wolf2015-07-301-0/+52
|
* Define and use DESTDIR for installation (by Larry Doolittle)Clifford Wolf2015-07-271-4/+5
|