Commit Graph

782 Commits

Author SHA1 Message Date
Tim 'mithro' Ansell ec6be41482 Don't close jobserver fd so retries work.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Tim 'mithro' Ansell 80f3f0ec04 Adding support for writing junit.xml files.
* Fixes #494.
 * Includes multiple runs in output.
 * Includes stdout / stderr in output.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Tim 'mithro' Ansell fa2bf16acc Add retries to run_fuzzer.py
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Tim 'mithro' Ansell 772c5cad44 Add success trailer too.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Tim 'mithro' Ansell 4f8ba05073 Use a class rather than a global.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Tim 'mithro' Ansell 09ae28be13 Adding timestamp to log line output.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Tim 'mithro' Ansell a82882a4c0 Always print minutes if displaying hours.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Tim 'mithro' Ansell 314ee62b3f Fixing number of review comments.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Tim 'mithro' Ansell 6249f24fd2 fuzzers: Use make directly when VERBOSE=Y
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Tim 'mithro' Ansell f8c3ada041 Adding wrapper to get understandable output.
* Saves stdout / stderr to log files.
 * Prefixes all messages with fuzzer name.
 * Gives regular status updates.
 * Successfully passes jobserver details down.
 * Correctly handles dry-run and question options.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Tim 'mithro' Ansell 378e5f40b1 make: Add `+` so make passes down job information.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Tim 'mithro' Ansell 7985d0c58c make: Pass the jobserver info down.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 02:43:44 -08:00
Keith Rothman 6611b1c19c Add retries to 053 and 055 INT fuzzers.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-06 11:41:33 -08:00
litghost f7c6f76bb3
Merge pull request #612 from litghost/refactor_int_fuzzers
Refactor INT fuzzers.
2019-02-05 09:53:03 -08:00
litghost f4807ebdbf
Merge pull request #608 from litghost/bram_enable_fuzzer
Add fuzzer for BRAM/FIFO enable bits.
2019-02-05 06:40:32 -08:00
Keith Rothman 1d54604656 Remove TODO_N for pip-bi solver.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-04 22:52:14 -08:00
Keith Rothman 429978a23c Add back generate.sh
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-04 20:58:26 -08:00
Keith Rothman 8e8cf174de Refactor INT fuzzers.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-04 17:45:05 -08:00
Keith Rothman 9e41f72d5a Remove additional dependencies.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-04 16:38:46 -08:00
Keith Rothman e8cecf2ced Run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-04 15:39:20 -08:00
Keith Rothman dde035c7ee Simplify bit definition.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-04 15:39:20 -08:00
Keith Rothman bf817f3548 Add fuzzer for BRAM/FIFO enable bits.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-04 15:39:20 -08:00
Keith Rothman 9b69725400 Revert Makefile changes, Fixes #582
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-04 15:07:49 -08:00
Tim 'mithro' Ansell 2eb1bf3bfe fuzzers: Add 000-init-db fuzzer.
Creates the .db files via make rather than via sourcing settings.sh
allowing pip fuzzers to interact correctly with `make clean`.

Fixes #604.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-05 00:44:09 +11:00
Tim 'mithro' Ansell 357c32a53a fuzzers: 074-dump_all depends on 005-tilegrid.
The `generate_grid.py` tool requires tilegrid.json to run.

Fixes #601.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-03 20:49:28 +11:00
Paul Schulz 0d0116b6eb Makes minor documentation change.
Signed-off-by: Paul Schulz <paul@mawsonlakes.org>
2019-02-03 00:59:43 +10:30
Paul Schulz d964d8a363 Makes minor formatting chamges to documentation
Signed-off-by: Paul Schulz <paul@mawsonlakes.org>
2019-02-03 00:46:45 +10:30
Keith Rothman 0c4cde2004 Increase sample counter for BRAM config.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-01 15:15:15 -08:00
Keith Rothman 950d9f5c74 Lower sample count.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-01 13:57:55 -08:00
Keith Rothman 570b99dd4f Run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-01 13:57:55 -08:00
Keith Rothman 6caa47202b Output FIFO bits at tile instead of site.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-01 13:57:55 -08:00
Keith Rothman 0edc3facde Add initial FIFO configuration.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-01 13:57:47 -08:00
Tim 'mithro' Ansell 93ffa6f827 fuzzers: Fix including Makefiles.
Fixes #593.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-01-31 18:24:33 -08:00
Tim Ansell 32d0d56f78
Merge pull request #587 from litghost/fix_typo_in_dsp_mskpat
Fix typo in 100-dsp-mskpat.
2019-02-01 12:26:17 +13:00
litghost c614a52d2e
Merge pull request #581 from litghost/bram_cascade-fuzzer
BRAM Cascade pip fuzzer.
2019-01-31 13:55:35 -08:00
Keith Rothman ad53bd6b4c Remove _R_ zero db, not required anymore.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-31 11:01:13 -08:00
Keith Rothman 6f13ee4155 Merge BRAM_L and BRAM_R solving and decrease maximum candidate count from 4 to 2.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-31 10:47:55 -08:00
litghost a82bb99068
Merge pull request #586 from antmicro/fuzz-all
fuzzers: Makefile: add explicit all target
2019-01-31 09:55:54 -08:00
Keith Rothman 290df3249c Fix type in 100-dsp-mskpat.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-31 09:30:55 -08:00
Karol Gugala 96bac6bf00 fuzzers: Makefile: add explicit all target
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-31 17:20:22 +01:00
Karol Gugala d807216da7 Fuzzers: 019: set N=3
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-31 11:13:01 +01:00
Keith Rothman 7e0eab8b94 Add remaining bits.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-30 21:41:31 -08:00
Keith Rothman 7469df937a Run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-30 17:52:55 -08:00
Keith Rothman 19fc8f109a More bits!
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-30 17:52:17 -08:00
Keith Rothman 74893fae4d Add even more zero bits!
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-30 17:17:02 -08:00
Keith Rothman 7f2fa3f801 Add more zero bits, and fix address emission.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-30 16:50:34 -08:00
Keith Rothman 741715851a Initial cascade pip fuzzer.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-30 14:53:05 -08:00
Keith Rothman 90bec29590 Increase N to avoid noise.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-29 18:45:04 -08:00
Keith Rothman 14090764eb Run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-29 18:35:05 -08:00
Keith Rothman 15f411a42b Add EN_ECC_READ/WRITE bits.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-29 18:34:12 -08:00
Keith Rothman 1fc6cc7007 Add RAM extension bits for 1 bit cascades.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-29 18:21:34 -08:00
Keith Rothman 1cb067046a Reformat and run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-29 18:11:49 -08:00
Keith Rothman a20f6cdb4c Add REG priority and RDADDR collision settings.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-29 18:08:28 -08:00
Keith Rothman 890a14e6df Add ZINV bits for REG CLK's.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-29 15:50:19 -08:00
Karol Gugala 88646806ed Fuzzers: Makefile: use single colon target for run.ok targets
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-29 16:45:07 +01:00
Alessandro Comodi 060b71cc5b pips-hclk: add run.ok to Makefile
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-29 12:35:02 +01:00
Keith Rothman ff3839f2b1 Remove some of the __future__.]
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-28 12:54:36 -08:00
Keith Rothman 2b223ac86c Run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-28 11:32:16 -08:00
Keith Rothman bf8fd49ba4 Remove remaining usage of height, as words is the key.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-28 11:31:44 -08:00
Keith Rothman 3c211aa462 Port 100-dsp-mskpat to top.py structure.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-28 11:30:49 -08:00
Keith Rothman 44ce9a46e8 Disable DSP INT fuzzer on kintex7.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-27 22:52:52 -08:00
Keith Rothman d6fbee2e4d Run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-27 22:32:07 -08:00
Keith Rothman 32b9da0d97 Handle A7/K7/Z7 differences gracefully.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-27 22:30:53 -08:00
Keith Rothman da08dfb99f Add back INT propagation.
All INT tiles are now populated for artix7 and the INT propagation
sanity checks output of fuzzers to ensure consistency.

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-27 16:17:31 -08:00
Keith Rothman 3a4fc5eedc Add FIFO INT fuzzer.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-27 11:07:30 -08:00
Keith Rothman a83fadf2a6 run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-27 08:20:48 -08:00
Keith Rothman 40e7771fa5 Add HCLK back to tilegrid.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-27 08:20:48 -08:00
Keith Rothman be334a38df Run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-27 08:20:48 -08:00
Keith Rothman 6424e5a701 Add DSP INT fuzzer.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-27 08:20:48 -08:00
Keith Rothman 0c94434db7 Add DSP back to tilegrid.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-27 08:20:48 -08:00
Keith Rothman b6c2e1ccb7 Make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-27 08:20:48 -08:00
Keith Rothman 598c180a9f Add INT tile fuzzers for CLB, IOB and BRAM tiles.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-27 08:20:48 -08:00
Keith Rothman 8cbbbfc4f8 Add INT tiles for IOB.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-27 08:20:48 -08:00
Keith Rothman 6a7acd4b23 Refactor all existing tiles to fuzzer approach.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-27 08:20:48 -08:00
Keith Rothman 8cbac3ee7a Add monitor bits to tilegrid.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-27 08:20:48 -08:00
Keith Rothman 48b39c8c4e make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-27 08:20:48 -08:00
Keith Rothman d6754069bd Expand tilegrid to entire grid.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-27 08:20:48 -08:00
Keith Rothman 739886c934 Increase 056 strictness.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-23 22:25:57 -08:00
litghost 8c7e648f41
Merge pull request #556 from natsfr/patch074
Fuzzer 074 support integer multiple of nbBlocks
2019-01-23 11:54:34 -08:00
Mehdi Khairy 83dde348b4 Fuzzer 074 support integer multiple of nbBlocks
Signed-off-by: Mehdi Khairy <mehdi.khairy@more-magic.org>
2019-01-19 03:25:35 +01:00
Mehdi Khairy 3b4df2e883 Adding modular arguments for parallel Fuzzer 072
Signed-off-by: Mehdi Khairy <mehdi.khairy@more-magic.org>
2019-01-19 02:53:38 +01:00
litghost f61ccd1f2a
Merge pull request #549 from litghost/accelerate_post_processing
Refactor 074 post-processing
2019-01-18 07:09:59 -08:00
litghost 4efea261dd
Merge pull request #526 from natsfr/master
Reworking Fuzzer 074 for multi thread process
2019-01-18 07:09:31 -08:00
Mehdi Khairy 9f4c26c280 Fuzzer 074 Multi Thread optimisation
Signed-off-by: Mehdi Khairy <mehdi.khairy@more-magic.org>
2019-01-18 09:17:17 +01:00
Keith Rothman 9e585ef227 make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-17 21:48:34 -08:00
Keith Rothman da10417946 Refactor 074 post-processing.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-17 21:46:19 -08:00
litghost 549b21d533
Merge pull request #539 from litghost/filter_clb_bits
Filter some CLB bits that the INT fuzzers tend to include due to high correlation
2019-01-17 18:50:47 -08:00
litghost 7c1ac325fa
Merge pull request #548 from antmicro/01x-clb-improvement
fuzzer.mk: remove not needed echo
2019-01-17 16:07:27 -08:00
Alessandro Comodi 812689d64c fuzzer.mk: remove not needed echo
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-18 01:03:05 +01:00
litghost 80fefc8324
Merge pull request #538 from litghost/change_int_termination_criteria_to_progress
Change INT termination criteria to progress
2019-01-17 15:28:02 -08:00
litghost 748580a1f2
Merge pull request #544 from antmicro/051-bypalts
051 bypalts
2019-01-17 14:01:50 -08:00
litghost c2fbf27f84
Merge pull request #536 from litghost/increase_clb_match_requirement
Increase CLB match requirement.
2019-01-17 14:01:26 -08:00
litghost 2f1790e637
Merge pull request #543 from antmicro/01x-clb-improvement
01x CLB rerun if pushdb fails
2019-01-17 14:01:14 -08:00
Karol Gugala 74f1f0a484 fuzzers: update 051 folder name in Makefile
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-17 22:54:03 +01:00
Karol Gugala 95e9a3b99e raname fuzzer 051 to what it actually does
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-17 22:49:23 +01:00
Karol Gugala d172087a5a fuzzers: adjust fuzzer 051 so it can solve BYP_ALTs
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-17 22:49:23 +01:00
Keith Rothman c6963694f1 Fix clean not working in 005-tilegrid.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-17 13:31:43 -08:00
Keith Rothman caccbd39e0 Terminate when minimum progress is not achieved rather than stability.
050 does wait until PIPs matching "(IMUX.*GFAN)" are solved, as other
fuzzers do not find these PIPs.

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-17 12:52:03 -08:00
litghost a24e75d63c
Merge pull request #503 from antmicro/propagate-int-ps7
005-tilegrid/generate_full: propagating INT_L base addrs
2019-01-17 12:48:21 -08:00
Keith Rothman 4ccb89307a Use correct envvar for picking bitfilter.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-17 12:42:41 -08:00