aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Use Claire in index.htmlClaire Wolf2020-08-191-4/+4
| | | | | | | | Signed-off-by: Claire Wolf <claire@symbioticeda.com>
* | Merge pull request #264 from YosysHQ/mmicko/improvementsMiodrag Milanović2020-07-082-8/+18
|\ \ | | | | | | Support rest of parts by icetime
| * | Enable rest of lattice parts in icetimeMiodrag Milanovic2020-07-082-8/+16
| | |
| * | Prevent rebuilding timing filesMiodrag Milanovic2020-07-081-0/+2
|/ /
* | Merge pull request #263 from YosysHQ/fix_vlog_up5kDavid Shah2020-07-021-1/+4
|\ \ | | | | | | Fix icebox_vlog for up5k
| * | Fix icebox_vlog for up5kDavid Shah2020-06-291-1/+4
|/ / | | | | | | | | | | Since ce1d811, SHIFTREG_DIV_MODE is now 2 bits for the up5k Signed-off-by: David Shah <dave@ds0.me>
* | Merge pull request #262 from whitequark/icebram-fixclairexen2020-06-261-9/+19
|\ \ | | | | | | Fix icebram
| * | icebram: add WASI platform support.whitequark2020-06-261-0/+4
| | |
| * | icebram: refactor seeding logic.whitequark2020-06-261-8/+14
| | |
| * | Revert "Make icebram deterministic"whitequark2020-06-261-2/+2
|/ / | | | | | | This reverts commit 2679c91b8a158aa4aca49dd726955e8c63cf7bef.
* | Merge pull request #257 from smunaut/ice40_shiftreg_div_modeClaire Wolf2020-06-251-1/+2
|\ \ | | | | | | icebox: Add support for the bit 1 of SHIFTREG_DIV_MODE
| * | icebox: Add support for the bit 1 of SHIFTREG_DIV_MODE on UP5kSylvain Munaut2020-06-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows selection of the div-by-5 mode of the PLL. This bit can't be fuzzed because it's not supported by the lattice tools at all ... This only works for sure on the UP5k. I tested HX8k and it didn't support it, so I'm only adding this on the known working FPGA. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* | | Merge pull request #261 from whitequark/icepack-usageClaire Wolf2020-06-251-4/+4
|\ \ \ | | | | | | | | icepack: show program name in usage
| * | | icepack: show program name in usage.whitequark2020-06-241-4/+4
| |/ /
* | | Merge pull request #260 from whitequark/patch-1Claire Wolf2020-06-251-2/+2
|\ \ \ | | | | | | | | Make icebram deterministic
| * | | Make icebram deterministicwhitequark2020-06-231-2/+2
| |/ /
* | | Merge pull request #254 from per-gron/fix-oobClaire Wolf2020-06-251-4/+4
|\ \ \ | | | | | | | | Fix array out of bounds access bug
| * | | Fix array out of bounds access bugPer Grön2020-05-251-4/+4
| |/ / | | | | | | | | | This is triggered for example when icetime is invoked with an empty design.
* | | Merge pull request #253 from SolraBizna/dummy-header-targetsClaire Wolf2020-06-251-2/+2
|\ \ \ | | | | | | | | Use -MP to eliminate one way that -MD can fatally confuse make
| * | | Add -MP to CFLAGS and CXXFLAGS, making it harder for make to get confused ↵Solra Bizna2020-05-091-2/+2
| |/ / | | | | | | | | | out of even trying to build
* | | Merge pull request #256 from emaste/masterClaire Wolf2020-06-251-1/+1
|\ \ \ | |/ / |/| | icetime: avoid string + int Clang warning
| * | icetime: avoid string + int Clang warningEd Maste2020-05-281-1/+1
|/ / | | | | | | | | | | Clang warns that "adding 'int' to a string does not append to the string". Although a false positive it's trivially avoided by using the array index equivalent &PREFIX[1].
* | 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>