aboutsummaryrefslogtreecommitdiff
path: root/icetime
AgeCommit message (Collapse)Author
2021-09-06Update variable name to PYTHON3Miodrag Milanovic
2021-09-06Merge pull request #239 from xobs/python-bin-nameMiodrag Milanović
Use $(PYTHON) in Makefiles instead of `python3`
2020-07-08Enable rest of lattice parts in icetimeMiodrag Milanovic
2020-07-08Prevent rebuilding timing filesMiodrag Milanovic
2020-06-25Merge pull request #254 from per-gron/fix-oobClaire Wolf
Fix array out of bounds access bug
2020-05-28icetime: avoid string + int Clang warningEd Maste
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-25Fix array out of bounds access bugPer Grön
This is triggered for example when icetime is invoked with an empty design.
2020-04-17Explicit include to compile with GCC 10Miodrag Milanovic
2020-04-10Support custom PROGRAM_PREFIXMiodrag Milanovic
2019-10-22icetime: use $(PYTHON) in MakefileSean Cross
Allow the name of the Python interpreter to be changed. Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-07icetime: Add generated timings-*.cc files to .gitignore and make cleanMichael Buesch
2019-05-22Add missing C headers to timings.pyClifford Wolf
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-04-30Fix warnings: 'may be used uninitialized in this function'Michael Buesch
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-03-20icetime: Split timing 'get_delay' functions per deviceSylvain Munaut
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-10clarify empty design message. See Isse #204gojimmypi
2018-10-30Merge pull request #184 from nathanrossi/nrossi/portable-chipdbClifford Wolf
icetime: Add support for searching for chipdb relative to binary
2018-10-28Fix compile warning in icetime.ccJon Burgess
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-09-03icetime: Add support for searching for chipdb relative to binaryNathan Rossi
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-07-30Also install text timing databasesClifford Wolf
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-19icetime: Remove non-existent paths from ce/sr to ltoutDavid Shah
Signed-off-by: David Shah <davey1576@gmail.com>
2018-06-14icetime: Output where the chipdb should be found.Tim 'mithro' Ansell
Makes it easier to know where it can't be.
2018-06-13Fix icetime for .asc files that do not contain all tilesClifford Wolf
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-11icetime: Lowercase the device type information.Tim 'mithro' Ansell
Makes `-d HX1K` work as well as `-d hx1k`.
2018-03-31Mount NODEFS if using emscripten and nodejsRobert Ou
Mounts root directory on `/hostfs` and the current working directory on `/hostcwd`
2018-02-28Fix handling of a port name like CLKHF_FABRIC in icetimeDavid Shah
Signed-off-by: David Shah <davey1576@gmail.com>
2018-02-19Properly ignore unsupported cell typesDavid Shah
2018-02-09Fix compiler warning (comparison between signed and unsigned int) in icetimeClifford Wolf
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-01-30Misc UltraPlus fixesDavid Shah
2018-01-29Updated 5k timing data, icetime regression fixDavid Shah
2018-01-28DSP related fixesDavid Shah
2018-01-26Working DSP timing analysisDavid Shah
2018-01-26Work on timing analysis of DSPsDavid Shah
2018-01-23Parse extra cells in icetimeDavid Shah
2018-01-22More DSP timing fuzzing, start adding new tiles to icetimeDavid Shah
2017-11-24Initial 5k support in icetime (no support for new cells yet)David Shah
2017-11-15Fix up build system to work with emscriptenRobert Ou
2017-07-16makefile: Make install target work for WindowsRobert Ou
2017-05-09icetime: never silently truncate asc file linesCliff L. Biffle
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.
2017-03-13Add LP384 support to icetimeClifford Wolf
2017-02-26Add "icetime -N"Clifford Wolf
2017-02-12Clean up MakefilesElvira Khabirova
2016-11-01Removed icetime estimate warningClifford Wolf
2016-10-13Added a new config variable CHIPDB_SUBDIR. It determines the subdir nameSalvador E. Tropea
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.
2016-10-02Added "icetime -C <chipdb-file>"Clifford Wolf
2016-08-23icetime: support PREFIX expansion for win32Jesús Arroyo Torrens
2016-07-26Only define _GNU_SOURCE for vasprintf() when not _WIN32Clifford Wolf
2016-07-26Explicitly ask for vasprintf where appropriate.Yury Gribov
2016-06-14Bugfix in icetime .pcf parserClifford Wolf
2016-06-14Better icetime error message for empty designsClifford Wolf
2016-05-16Bugfix for when e.g. PLL LOCK drives longest pathClifford Wolf