Commit Graph

75 Commits

Author SHA1 Message Date
David Shah a6b2ca91e5 Working DSP timing analysis 2018-01-26 19:08:16 +00:00
David Shah cd4352e0ce Work on timing analysis of DSPs 2018-01-26 18:35:35 +00:00
David Shah 49dfe15d8c Parse extra cells in icetime 2018-01-23 09:56:14 +00:00
David Shah 420ef041b6 More DSP timing fuzzing, start adding new tiles to icetime 2018-01-22 17:03:16 +00:00
David Shah baa7a45c2e Initial 5k support in icetime (no support for new cells yet) 2017-11-24 16:41:34 +00:00
Robert Ou 05440e4d62 Fix up build system to work with emscripten 2017-11-15 03:13:35 -08:00
Robert Ou 4111f9cca5 makefile: Make install target work for Windows 2017-07-16 20:59:55 -07:00
Cliff L. Biffle e787fa2d30 icetime: never silently truncate asc file lines
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-05-09 08:06:43 -07:00
Clifford Wolf b2b7985e81 Add LP384 support to icetime 2017-03-13 11:34:02 +01:00
Clifford Wolf 7d98cd82f9 Add "icetime -N" 2017-02-26 11:45:54 +01:00
Elvira Khabirova ea82010fbf Clean up Makefiles 2017-02-12 16:13:03 +03:00
Clifford Wolf 01b9822638 Removed icetime estimate warning 2016-11-01 11:34:50 +01:00
Salvador E. Tropea 1fb08362d9 Added a new config variable CHIPDB_SUBDIR. It determines the subdir name
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-13 16:58:21 -03:00
Clifford Wolf 9ab00ea131 Added "icetime -C <chipdb-file>" 2016-10-02 15:18:48 +02:00
Jesús Arroyo Torrens fb2b83a19b icetime: support PREFIX expansion for win32 2016-08-23 21:30:00 +02:00
Clifford Wolf 12b2295c90 Only define _GNU_SOURCE for vasprintf() when not _WIN32 2016-07-26 10:31:22 +02:00
Yury Gribov 8a7a746ca9 Explicitly ask for vasprintf where appropriate. 2016-07-26 10:26:05 +02:00
Clifford Wolf 49e3ad404a Bugfix in icetime .pcf parser 2016-06-14 09:34:06 +02:00
Clifford Wolf 6a0fabcfa8 Better icetime error message for empty designs 2016-06-14 09:22:03 +02:00
Clifford Wolf 4fbc8d20b6 Bugfix for when e.g. PLL LOCK drives longest path 2016-05-16 15:18:25 +02:00
Clifford Wolf a3510a4c11 Some icetime json format fixes 2016-05-16 11:57:13 +02:00
Clifford Wolf a9ca5ef543 icetime: only include "net" in json output if different from hwnet 2016-05-16 11:47:33 +02:00
Clifford Wolf a2f635f3f1 icetime: json now contains net and hwnet 2016-05-16 11:39:23 +02:00
Clifford Wolf bafd99bd84 Added icetime json output format (icetime -j) 2016-05-15 22:19:40 +02:00
Clifford Wolf b1d6d0a5ca Added "icetime -c" 2016-05-03 22:37:50 +02:00
Clifford Wolf 6178dfbbd6 Added Makefile support for "make STATIC=1" 2016-03-02 12:34:51 +01:00
Clifford Wolf 0ac6a3545a Fixed make_lc40 with y=0 bug #32 2016-02-29 10:53:29 +01:00
Ruben Undheim 798eb52556 fix a few spelling errors 2016-02-27 09:37:47 -07:00
Clifford Wolf a519d2ab82 Added/improved support for mxe-based win32 cross builds 2016-02-14 13:47:27 +01:00
Clifford Wolf 04e6143457 Cleanups for PREFIX patch 2016-02-10 19:02:06 +01:00
obijuan 873baf773a [Icetime] PREFIX expansion for locating the chipdb files in the user home directory 2016-02-10 11:07:00 +01:00
Clifford Wolf 81c33a343f Timing models for LP and HX devices 2016-02-01 23:32:03 +01:00
Clifford Wolf 4fb1bfd2df icetime progress 2016-01-26 00:39:25 +01:00
Clifford Wolf 93fc358cd0 icetime progress 2016-01-25 16:46:23 +01:00
Clifford Wolf 54bf7cfb05 Fixed gcc 4.7.2 compiler warning in icetime 2016-01-24 08:35:44 +01:00
Clifford Wolf da6ad20dba Improved icetime PREFIX handling 2016-01-23 14:10:26 +01:00
Sebastian Bøe f22f94619c icetime: fixed chipdb path issue for Arch Linux
Icetime was hardcoding the path to chipdb as /usr/local/share causing
icetime to not find the chip db on Arch Linux where the prefix is just
/usr/share.

With this commit the PREFIX is passed as a preprocessor define and used
in icetime.cc to create the correct path. I don't know what the
canonical way of dealing with this is, but this was the least intrusive
way I could think of to get this fixed.
2016-01-23 12:25:59 +01:00
Clifford Wolf 7a1e662a3f added icetime -o/-r options 2016-01-18 00:11:13 +01:00
Clifford Wolf 7902d3ac3d Added icetime to examples 2016-01-17 11:40:22 +01:00
Clifford Wolf c13040cf84 Bugfix in "icetime -i" 2016-01-16 22:44:30 +01:00
Clifford Wolf 639624347c icetime progress 2016-01-16 16:21:33 +01:00
Clifford Wolf bbfc66fcf3 icefuzz improvements (hacks for sbtimer device info) 2016-01-16 12:35:04 +01:00
Clifford Wolf fdaac3542c icetime progress 2016-01-15 23:36:05 +01:00
Clifford Wolf 8467e955e5 icetime progress 2016-01-15 22:23:01 +01:00
Clifford Wolf 0cfb6eed91 icetime progress 2016-01-15 18:25:02 +01:00
Clifford Wolf d939d1b92f icetime progress 2016-01-11 16:53:29 +01:00
Clifford Wolf 986b644d96 icetime progress 2016-01-10 12:50:37 +01:00
Clifford Wolf ea77c4cd92 icetime progress 2016-01-09 19:13:59 +01:00
Clifford Wolf c4e5a5e57f icetime progress 2016-01-07 17:20:52 +01:00
Clifford Wolf 22e1f33d90 icetime progress 2016-01-07 09:56:21 +01:00