| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
[iceprog] Fixed typo in error message: "Ignorig"
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Use $(PYTHON) in Makefiles instead of `python3`
|
| | |
| | |
| | |
| | |
| | |
| | | |
Allow the name of the Python interpreter to be changed.
Signed-off-by: Sean Cross <sean@xobs.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Don't hardcode `python3` as the name of the Python interpreter.
Signed-off-by: Sean Cross <sean@xobs.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Allow `python` to be provided by an interpreter other than `python3`.
Signed-off-by: Sean Cross <sean@xobs.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This variable can be overridden on platforms where python is not called
`python3`.
Signed-off-by: Sean Cross <sean@xobs.io>
|
| | | |
|
|\ \ \
| |_|/
|/| | |
iceprog: Add write and read progress indication.
|
| | | |
|
| | |
| | |
| | |
| | | |
Signed-off-by: gatecat <gatecat@ds0.me>
|
|\ \ \
| |/ /
|/| | |
Add more build products to .gitignore
|
|/ / |
|
|\ \
| | |
| | | |
added I2C and SPI for u4k to database
|
|/ / |
|
| |
| |
| |
| | |
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
| |
| |
| |
| | |
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
| |
| |
| |
| | |
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
|\ \
| | |
| | | |
Support rest of parts by icetime
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
Fix icebox_vlog for up5k
|
|/ /
| |
| |
| |
| |
| | |
Since ce1d811, SHIFTREG_DIV_MODE is now 2 bits for the up5k
Signed-off-by: David Shah <dave@ds0.me>
|
|\ \
| | |
| | | |
Fix icebram
|
| | | |
|
| | | |
|
|/ /
| |
| |
| | |
This reverts commit 2679c91b8a158aa4aca49dd726955e8c63cf7bef.
|
|\ \
| | |
| | | |
icebox: Add support for the bit 1 of SHIFTREG_DIV_MODE
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \ \
| | | |
| | | | |
icepack: show program name in usage
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
Make icebram deterministic
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
Fix array out of bounds access bug
|
| |/ /
| | |
| | |
| | | |
This is triggered for example when icetime is invoked with an empty design.
|
|\ \ \
| | | |
| | | | |
Use -MP to eliminate one way that -MD can fatally confuse make
|
| |/ /
| | |
| | |
| | | |
out of even trying to build
|
|\ \ \
| |/ /
|/| | |
icetime: avoid string + int Clang warning
|
|/ /
| |
| |
| |
| |
| | |
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].
|
| |
| |
| |
| | |
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
|\ \ |
|
| |/
| |
| |
| | |
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
|
| |
| |
| |
| | |
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
|\ \
| | |
| | | |
icepack: Fix Windows-only stack overflow in CRAM pbm generation (fixe…
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
Explicit include to compile with GCC 10
|
| | | |
|
|/ /
| |
| |
| | |
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
|\ \
| | |
| | | |
Make sure that scripts find files on final install
|