whitequark
0dfc7130bb
Merge pull request #279 from YosysHQ/update-gitignore
...
Add more build products to .gitignore
2021-03-05 04:46:24 -08:00
whitequark
529759c4bd
Add more build products to .gitignore.
2021-03-05 12:43:57 +00:00
David Shah
7afc64b480
Merge pull request #275 from nils1603/feature/ip_support_u4k
...
added I2C and SPI for u4k to database
2020-12-04 21:39:13 +00:00
Nils Albartus
d969c333d0
added I2C and SPI for u4k to database
2020-12-04 16:47:05 +01:00
Claire Wolf
da52117ccd
Fix links and email addr in index.html
...
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
2020-08-19 10:35:39 +02:00
Claire Wolf
f8c82074d2
Use YosysHQ in index.html
...
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
2020-08-19 10:32:27 +02:00
Claire Wolf
62041701ce
Use Claire in index.html
...
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
2020-08-19 10:30:46 +02:00
Miodrag Milanović
d123087756
Merge pull request #264 from YosysHQ/mmicko/improvements
...
Support rest of parts by icetime
2020-07-08 20:38:52 +02:00
Miodrag Milanovic
af42a45b91
Enable rest of lattice parts in icetime
2020-07-08 19:48:11 +02:00
Miodrag Milanovic
4b54d341de
Prevent rebuilding timing files
2020-07-08 19:28:18 +02:00
David Shah
59ace92436
Merge pull request #263 from YosysHQ/fix_vlog_up5k
...
Fix icebox_vlog for up5k
2020-07-02 13:32:02 +01:00
David Shah
4bc68c9620
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>
2020-06-29 19:51:06 +01:00
clairexen
ed978e24e2
Merge pull request #262 from whitequark/icebram-fix
...
Fix icebram
2020-06-26 16:01:51 +02:00
whitequark
7ed94f5170
icebram: add WASI platform support.
2020-06-26 11:30:00 +00:00
whitequark
f8b8ea0f3c
icebram: refactor seeding logic.
2020-06-26 11:30:00 +00:00
whitequark
3205180fd9
Revert "Make icebram deterministic"
...
This reverts commit 2679c91b8a .
2020-06-26 10:38:41 +00:00
Claire Wolf
f138ade065
Merge pull request #257 from smunaut/ice40_shiftreg_div_mode
...
icebox: Add support for the bit 1 of SHIFTREG_DIV_MODE
2020-06-25 18:35:48 +02:00
Claire Wolf
9e44d9f1d2
Merge pull request #261 from whitequark/icepack-usage
...
icepack: show program name in usage
2020-06-25 18:31:40 +02:00
Claire Wolf
c4e9b19b0c
Merge pull request #260 from whitequark/patch-1
...
Make icebram deterministic
2020-06-25 18:31:18 +02:00
Claire Wolf
cc24caa4c6
Merge pull request #254 from per-gron/fix-oob
...
Fix array out of bounds access bug
2020-06-25 18:26:00 +02:00
Claire Wolf
3ce2673009
Merge pull request #253 from SolraBizna/dummy-header-targets
...
Use -MP to eliminate one way that -MD can fatally confuse make
2020-06-25 18:24:48 +02:00
Claire Wolf
ef4489835c
Merge pull request #256 from emaste/master
...
icetime: avoid string + int Clang warning
2020-06-25 18:24:09 +02:00
whitequark
a4b1194b3a
icepack: show program name in usage.
2020-06-24 19:57:22 +00:00
whitequark
2679c91b8a
Make icebram deterministic
2020-06-23 07:42:15 +00:00
Sylvain Munaut
ce1d811d21
icebox: Add support for the bit 1 of SHIFTREG_DIV_MODE on UP5k
...
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>
2020-06-03 10:45:31 +02:00
Ed Maste
e52149944e
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].
2020-05-28 13:33:47 -04:00
Per Grön
4590de5c7f
Fix array out of bounds access bug
...
This is triggered for example when icetime is invoked with an empty design.
2020-05-25 16:57:01 +02:00
Solra Bizna
41f75569e3
Add -MP to CFLAGS and CXXFLAGS, making it harder for make to get confused out of even trying to build
2020-05-09 02:40:08 -06:00
Claire Wolf
cd2610e0fa
Fix compiler warning in icepll
...
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
2020-04-22 18:39:38 +02:00
Claire Wolf
56a688fb8f
Merge branch 'opt_skip_powerdown' of https://github.com/smunaut/icestorm
2020-04-22 18:06:59 +02:00
Claire Wolf
df59d5997c
Cleanup FpgaConfig::write_cram_pbm tile_type initialization
...
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
2020-04-22 18:05:12 +02:00
Claire Wolf
3fb2d2f735
Merge pull request #242 from The6P4C/master
...
icepack: Fix Windows-only stack overflow in CRAM pbm generation (fixe…
2020-04-22 18:01:58 +02:00
Claire Wolf
cf3f4b53c3
Merge pull request #252 from mmicko/gcc10
...
Explicit include to compile with GCC 10
2020-04-22 18:00:29 +02:00
Claire Wolf
d983e72e8e
Update index.html
...
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
2020-04-20 13:18:10 +02:00
Miodrag Milanovic
0c97a5519b
Explicit include to compile with GCC 10
2020-04-17 12:27:17 +02:00
Claire Wolf
d05659d83a
Merge pull request #251 from mmicko/fix-vlog
...
Make sure that scripts find files on final install
2020-04-14 19:14:30 +02:00
Miodrag Milanovic
5e9fc56e0a
Make sure that scripts find files on final install
2020-04-14 18:14:32 +02:00
Claire Wolf
9ed101d0e1
Merge pull request #249 from eine/fix-destdir
...
icebox: fix missing DESTDIR for icebox_chipdb
2020-04-10 19:51:02 +02:00
eine
7a7c085e9b
icebox: fix missing DESTDIR for icebox_chipdb
2020-04-10 19:10:00 +02:00
Claire Wolf
879d5b261c
Merge pull request #248 from mmicko/program_prefix
...
Support custom PROGRAM_PREFIX
2020-04-10 14:08:39 +02:00
Miodrag Milanovic
fe3086a733
Support custom PROGRAM_PREFIX
2020-04-10 10:05:17 +02:00
Claire Wolf
d1cee1d4ae
Merge pull request #245 from SmallRoomLabs/iteratePLL
...
icepll: Add iteration over list of frequencies for best solution
2020-03-30 13:55:23 +02:00
Claire Wolf
d38852b48d
Merge pull request #247 from esden/erase_block_size
...
Added an option to choose the erase block size.
2020-03-30 11:17:30 +02:00
Piotr Esden-Tempski
24645e91a6
Added an option to choose the erase block size.
...
This allows us to flash binaries at offsets that are smaller multiples.
2020-02-02 23:02:53 -08:00
Mats Engstrom
c1d49fe58b
Add iteration over list of frequencies for best solution
...
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-31 00:06:59 +01:00
Sylvain Munaut
dcda69d9f0
iceprog: Add option to keep flash powered up
...
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-12-28 16:53:53 +01:00
The6P4C
578037dedf
icepack: Fix Windows-only stack overflow in CRAM pbm generation ( fixes #241 )
...
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-12-08 23:52:05 +10:00
Clifford Wolf
0ec00d892a
Fix typo
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-09-13 12:55:48 +02:00
Clifford Wolf
04f1eb78ed
Merge pull request #235 from whitequark/master
...
Make iceprog optional
2019-08-31 21:54:45 +02:00
whitequark
37227e2b18
Make iceprog optional.
...
Avoids dependency on libftdi.
2019-08-31 14:03:14 +00:00