Commit Graph

851 Commits

Author SHA1 Message Date
Michael Buesch fab366e81d icetime: Add generated timings-*.cc files to .gitignore and make clean 2019-06-07 22:55:48 +02:00
Michael Buesch 868d2ac08b icepll: Add support for writing output data to stdout 2019-05-26 17:01:41 +02:00
Clifford Wolf 710470f9d2
Merge pull request #219 from mbuesch/icepll-fix-fopen
icepll: Avoid segmentation fault, if opening of output file fails
2019-05-26 16:36:28 +02:00
Michael Buesch f848eb8b12 icepll: Avoid segmentation fault, if opening of output file fails 2019-05-26 16:18:30 +02:00
Clifford Wolf 2cee28fd47
Merge pull request #218 from mbuesch/quiet
icepll: In quiet mode don't print info about target file name
2019-05-26 10:34:16 +02:00
Michael Buesch 3b011bd326 icepll: In quiet mode don't print info about target file name 2019-05-25 22:19:16 +02:00
Clifford Wolf aa5a623bb3 Add missing C headers to timings.py
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-05-22 11:59:21 +02:00
Clifford Wolf d78e9185f8
Merge pull request #215 from bluesceada/icepack-noinit-bram
Option for icepack to skip initializing BRAM (tested for ice40hx8k) with "-n"
2019-05-15 21:15:36 +02:00
Dennis Gnad 992d8c97ea option for icepack to skip initializing BRAM (tested for ice40hx8k) 2019-05-15 16:57:17 +02:00
Clifford Wolf dd8c003e79
Merge pull request #214 from mbuesch/warningfix
Fix warnings: 'may be used uninitialized in this function'
2019-05-01 13:55:13 +02:00
Michael Buesch 9f48587713 Fix warnings: 'may be used uninitialized in this function'
icetime.cc: In member function ‘double TimingAnalysis::report(std::__cxx11::string)’:
icetime.cc:1095:15: warning: ‘last_time’ may be used uninitialized in this function [-Wmaybe-uninitialized]
        fprintf(frpt, "%10.3f ns ..%7.3f ns %s\n", first_time, last_time, last_net.c_str());
        ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
icetime.cc:1095:15: warning: ‘first_time’ may be used uninitialized in this function [-Wmaybe-uninitialized]
2019-04-30 22:08:47 +02:00
Clifford Wolf b1026f8b75
Merge pull request #212 from pcossutta/master
Add -X option to iceprog
2019-04-29 11:27:32 +02:00
Pablo Cossutta bd88dfe418 Add -X option to iceprog
In my setup, in OSX I have problems reading from libftdi but not writing. In case of a failure iceprog exits and leaves the FPGA in an useless state. I think it would be a good option to have the possibility to skip the verification process.
2019-04-27 19:33:07 -03:00
Clifford Wolf d9ea2e15fc
Merge pull request #206 from smunaut/icetime
icetime: Split timing 'get_delay' functions per device
2019-04-16 10:25:04 +02:00
Clifford Wolf 1caaec363a
Merge pull request #211 from daveshah1/eigen3
docs: Add new Eigen3 dependency
2019-04-16 10:20:52 +02:00
David Shah 1c1e0c06bd docs: Add new Eigen3 dependency
Signed-off-by: David Shah <dave@ds0.me>
2019-04-02 14:53:52 +01:00
Sylvain Munaut 472fd1a56f icetime: Split timing 'get_delay' functions per device
This should reduce the memory requirement during build of icetime, not
trying to compile one huge file all at once

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-03-20 11:38:36 +01:00
Clifford Wolf fa1c932452
Merge pull request #205 from gojimmypi/master
clarify empty design message. See Issue #204
2019-03-11 01:12:55 -07:00
gojimmypi 865cb895bf clarify empty design message. See Isse #204 2019-03-10 15:56:54 -07:00
Clifford Wolf 15c9bfd751 Minor cleanups in iceprog/mpsse.h
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-03-02 13:56:49 -08:00
Clifford Wolf 082152ba4b
Merge pull request #196 from esden/iceprog-mpsse-refactor
Iceprog mpsse refactor
2019-03-02 13:55:56 -08:00
Clifford Wolf 3a2bfee5cb
Merge pull request #202 from corecode/u4k
iCE40 Ultra = iCE5LP = u4k port
2019-02-23 08:35:26 -08:00
Simon Schubert be0bca0230 u4k: add SMCCLK cell location
icecube uses SMCCLK.CLK to "legalize" output cells.  Unclear what this
is for, but it appears in almost all outputs.
2019-02-22 22:35:55 +01:00
Simon Schubert d76ac32ec9 iCE40 Ultra = iCE5LP = u4k port 2019-02-22 22:35:55 +01:00
Clifford Wolf a2c8be7948 Website updates
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-02-19 20:18:41 +01:00
Clifford Wolf 377127dd53 Website updates
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-02-19 20:14:23 +01:00
Clifford Wolf faf21ffd9f Improve icestick rs232demo example
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-02-14 02:45:25 +01:00
Clifford Wolf c0cbae88ab
Merge pull request #197 from delvers/master
add boost dependencie for fedora
2018-12-31 15:51:00 +01:00
David Elvers f43f88cf24
add boost dependencies for fedora 2018-12-29 16:48:46 +01:00
Piotr Esden-Tempski 8d9fa0fc77 Split the hardware specific gpio functions. 2018-12-24 09:36:37 +01:00
Piotr Esden-Tempski 61bc31bbdc Factored out mpsse functions for easier reusability. 2018-12-24 09:10:59 +01:00
Clifford Wolf 9671b760f8 Merge branch 'master' of github.com:cliffordwolf/icestorm 2018-11-09 12:08:47 +01:00
Clifford Wolf 06c11f9c77
Merge pull request #188 from esden/docs-nextpnr
Added NextPNR deps and install instructions to docs.
2018-11-09 12:08:07 +01:00
Piotr Esden-Tempski e57ad02afb Added NextPNR deps and install instructions to docs. 2018-11-08 16:38:58 -08:00
Clifford Wolf 8eedb8cf04 Build optimized binaries by default
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-10-30 11:33:36 +01:00
Clifford Wolf 90f0e40cb8
Merge pull request #184 from nathanrossi/nrossi/portable-chipdb
icetime: Add support for searching for chipdb relative to binary
2018-10-30 11:28:34 +01:00
Clifford Wolf 8f738342bc
Merge pull request #187 from jburgess777/icebox-compile-warning
Fix compile warning in icetime.cc
2018-10-30 11:26:26 +01:00
Jon Burgess ccb2b40412 Fix compile warning in icetime.cc
icetime.cc: In function ‘std::__cxx11::string ecnetname_to_vlog(std::__cxx11::string)’:
icetime.cc:1323:32: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=]
  } catch(std::invalid_argument e) { // Not numeric and stoi throws exception
2018-10-28 19:27:56 +00:00
Clifford Wolf 5ab07ed32a
Merge pull request #178 from elmsfu/hlc/add_symbols_support
hlc: parse '.sym>' to track signal names from HLC to ASC
2018-10-10 13:46:31 +02:00
Clifford Wolf 8f61acd055 Reference latest Lattice iCE Technology Library
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-09-04 15:28:56 +02:00
Nathan Rossi c1c13f3b3e icetime: Add support for searching for chipdb relative to binary
Like yosys and arachne-pnr, allow for searching for the desired chipdb
file relative to the executing binaries directory. This allows for
portable builds of icetime without needing to specify the exact path to
the needed chipdb file with the -C arg.

In order to support this icetime must be able to get the
"proc_self_dirname" path just like yosys and arachne-pnr. As such copy
the equivalent code to get this path information. To avoid cluttering
the icetime.cc file with this code, place it in a separate iceutil.cc
file.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2018-09-03 23:11:26 +10:00
Clifford Wolf 3681ade2c7 Force flash to exist QPI mode in iceprog
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-09-02 17:11:52 +02:00
Clifford Wolf 9df21fcb02 iceprog: switch to SPI mode 0, add -s option, add flash_reset
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-09-02 16:29:18 +02:00
Clifford Wolf b153645922
Merge pull request #182 from awygle/lm
Add support for cm36 and swg25tr lm4k packages.
2018-08-30 10:25:40 +02:00
Andrew Wygle 9dbc14410f Add support for cm36 and swg25tr lm4k packages. 2018-08-28 08:29:53 -07:00
Clifford Wolf c02a4000f4 Merge branch 'esden-iceprog-work' 2018-08-19 15:21:18 +02:00
Clifford Wolf 22e8b744da Minor style changes in iceprog
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-08-19 15:21:04 +02:00
Clifford Wolf 65ae583b3e iceprog coding style, don't use "assert" as variable name
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-08-19 15:12:51 +02:00
Piotr Esden-Tempski 9a58588772 Slightly more robust flash wait function.
In cases when the FLASH chip is bit flaky and the status register
"bounces" this flash_wait should be able to perform a bit better.

Also added more verbose output around block erase.
2018-08-18 16:13:27 -07:00
Piotr Esden-Tempski 868ac2d93f Add a function to read and decode the status register.
Very useful for debugging purposes. ;)
2018-08-18 15:53:38 -07:00