aboutsummaryrefslogtreecommitdiffstats
path: root/icetime
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #291 from maikmerten/masterMiodrag Milanović2022-05-301-0/+10
|\ | | | | icetime: Parse PCF files with -pullup and -pullup_resistor in set_io directives
| * icetime: indent with tabsMaik Merten2022-03-051-9/+9
| |
| * icetime PCF parsing: handle -pullup and -pullup_resistor in set_io constraintsMaik Merten2022-03-051-0/+10
| |
* | icetime: Ignore false paths through LUTs based on functiongatecat2022-03-291-5/+38
|/ | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Update variable name to PYTHON3Miodrag Milanovic2021-09-061-2/+2
|
* Merge pull request #239 from xobs/python-bin-nameMiodrag Milanović2021-09-061-1/+1
|\ | | | | Use $(PYTHON) in Makefiles instead of `python3`
| * icetime: use $(PYTHON) in MakefileSean Cross2019-10-221-1/+1
| | | | | | | | | | | | Allow the name of the Python interpreter to be changed. Signed-off-by: Sean Cross <sean@xobs.io>
* | Enable rest of lattice parts in icetimeMiodrag Milanovic2020-07-082-8/+16
| |
* | Prevent rebuilding timing filesMiodrag Milanovic2020-07-081-0/+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.
* | | 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].
* | Explicit include to compile with GCC 10Miodrag Milanovic2020-04-171-0/+1
| |
* | Support custom PROGRAM_PREFIXMiodrag Milanovic2020-04-101-8/+8
|/
* icetime: Add generated timings-*.cc files to .gitignore and make cleanMichael Buesch2019-06-072-1/+2
|
* Add missing C headers to timings.pyClifford Wolf2019-05-221-0/+2
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Fix warnings: 'may be used uninitialized in this function'Michael Buesch2019-04-301-1/+1
| | | | | | | | 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]
* icetime: Split timing 'get_delay' functions per deviceSylvain Munaut2019-03-203-10/+20
| | | | | | | 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>
* clarify empty design message. See Isse #204gojimmypi2019-03-101-1/+1
|
* Merge pull request #184 from nathanrossi/nrossi/portable-chipdbClifford Wolf2018-10-303-25/+190
|\ | | | | icetime: Add support for searching for chipdb relative to binary
| * icetime: Add support for searching for chipdb relative to binaryNathan Rossi2018-09-033-25/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Fix compile warning in icetime.ccJon Burgess2018-10-281-1/+1
|/ | | | | | 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
* Also install text timing databasesClifford Wolf2018-07-301-0/+2
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* icetime: Remove non-existent paths from ce/sr to ltoutDavid Shah2018-07-191-0/+5
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* icetime: Output where the chipdb should be found.Tim 'mithro' Ansell2018-06-141-1/+3
| | | | Makes it easier to know where it can't be.
* Fix icetime for .asc files that do not contain all tilesClifford Wolf2018-06-131-11/+28
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* icetime: Lowercase the device type information.Tim 'mithro' Ansell2018-06-111-3/+8
| | | | Makes `-d HX1K` work as well as `-d hx1k`.
* Mount NODEFS if using emscripten and nodejsRobert Ou2018-03-311-0/+16
| | | | | Mounts root directory on `/hostfs` and the current working directory on `/hostcwd`
* Fix handling of a port name like CLKHF_FABRIC in icetimeDavid Shah2018-02-281-4/+10
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Properly ignore unsupported cell typesDavid Shah2018-02-191-4/+8
|
* Fix compiler warning (comparison between signed and unsigned int) in icetimeClifford Wolf2018-02-091-1/+1
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Misc UltraPlus fixesDavid Shah2018-01-301-29/+35
|
* Updated 5k timing data, icetime regression fixDavid Shah2018-01-291-4/+7
|
* DSP related fixesDavid Shah2018-01-281-1/+2
|
* Working DSP timing analysisDavid Shah2018-01-262-3/+33
|
* Work on timing analysis of DSPsDavid Shah2018-01-261-8/+196
|
* Parse extra cells in icetimeDavid Shah2018-01-231-1/+50
|
* More DSP timing fuzzing, start adding new tiles to icetimeDavid Shah2018-01-221-2/+14
|
* Initial 5k support in icetime (no support for new cells yet)David Shah2017-11-243-7/+28
|
* Fix up build system to work with emscriptenRobert Ou2017-11-151-1/+17
|
* makefile: Make install target work for WindowsRobert Ou2017-07-161-2/+2
|
* icetime: never silently truncate asc file linesCliff L. Biffle2017-05-091-2/+10
| | | | | | | | | | | | | | | | | | icetime was reading the asc configuration file using a 128-byte line buffer -- which is usually fine, but can cause it to truncate the names of nets given in .sym lines if those names are very, very long. The way fgets was being used meant this went undetected. Long net names like this can arise in deeply hierarchical designs, particularly if there's a code generator involved. This change: 1. Increases the buffer size to 64kiB. 2. Adds a truncation check that causes icetime to fail. A more robust solution would manage the line buffer on the heap, since the symbol gets copied into a std::string anyway, but this is a workaround for now.
* Add LP384 support to icetimeClifford Wolf2017-03-132-2/+9
|
* Add "icetime -N"Clifford Wolf2017-02-261-2/+13
|
* Clean up MakefilesElvira Khabirova2017-02-121-2/+2
|
* Removed icetime estimate warningClifford Wolf2016-11-011-3/+4
|
* Added a new config variable CHIPDB_SUBDIR. It determines the subdir nameSalvador E. Tropea2016-10-132-3/+3
| | | | | | used in $(PREFIX)/share/ to install the chip database. This provides a mechanism to choose a directory different than icebox (default). I.e. fpga-icestorm/chipdb for Debian.
* Added "icetime -C <chipdb-file>"Clifford Wolf2016-10-021-4/+12
|
* icetime: support PREFIX expansion for win32Jesús Arroyo Torrens2016-08-231-2/+18
|
* Only define _GNU_SOURCE for vasprintf() when not _WIN32Clifford Wolf2016-07-261-0/+3
|