Commit Graph

2073 Commits

Author SHA1 Message Date
Alessandro Comodi 13e5fbdf99 clb.mk and fuzzer.mk: rerun the fuzzer in case of failure
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-17 15:35:29 +01:00
Alessandro Comodi 8b66865106 01x-clb/top.py: Added CLBN increment from env var
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-17 15:31:50 +01:00
Keith Rothman ee1a0c6b3e Filter some CLB bits that the INT fuzzers tend to include due to high correlation.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-16 15:14:14 -08:00
Keith Rothman 232d88f880 Remove TODO_N from 051 and add back TODO_N=10 for 052 to prevent unroutability.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-16 14:57:53 -08:00
Karol Gugala 1141a507a5
Merge pull request #531 from antmicro/empty-db
create empty db files if they don't exist
2019-01-16 18:05:27 +01:00
Karol Gugala 389be483b8 call init_db everytime settings are sourced
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-16 17:59:28 +01:00
Alessandro Comodi 11d42757bf fuzzers/int_loop.mk: fixed dependency in makefile
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-16 17:43:51 +01:00
Karol Gugala a2fa9fe7cc fuzzers: int_loop: always copy db files to local db
Those files should always exist - environment script creates missing ones.

Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-16 17:39:36 +01:00
Karol Gugala ea29a0ca5a utils: environment: generate empty db files if missing
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-16 17:39:03 +01:00
litghost c5afc3bcb6
Merge pull request #518 from antmicro/remove-fuzz-054
fuzzers: remove fuzzer 054
2019-01-16 07:57:21 -08:00
Keith Rothman cfdacdd193 Increase CLB match requirement.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-16 07:54:36 -08:00
Keith Rothman 21ffca87d2 Increase solved PIPs per loop to 50.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-16 07:53:35 -08:00
Alessandro Comodi bf05a19525 bipiplist.tcl: changed verilog reference
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-16 12:48:51 +01:00
Alessandro Comodi b5f7243f39 utils/environment.sh: added fuzzers dir to env variables
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-16 12:13:49 +01:00
Alessandro Comodi 3b28934d67 fuzzers/int_maketodo.py: added piplist directory
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-16 12:13:43 +01:00
Alessandro Comodi 5b7575bdd2 fuzzers/Makefiles: pips_int_*.txt now directed to piplist folder
All the fuzzers that made use of the pips_int_*.txt files now seek for
those dependencies in the fuzzers/piplist/build folder so there is no
need to regenerate them if already present

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-16 12:07:00 +01:00
Alessandro Comodi c48a5bc597 fuzzers/piplist: Moving piplist files to piplist folder
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-16 12:06:17 +01:00
litghost 3f2305c542
Merge pull request #527 from litghost/add_retries_to_bipip_fuzzer
Add retries to bidirection PIP fuzzer.
2019-01-15 12:44:56 -08:00
Keith Rothman 63b397199c Move 1-time part of loop out of loop.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-15 12:38:11 -08:00
Keith Rothman dc060064c3 Fix copy/paste error, no such var as myff.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-15 12:30:52 -08:00
Keith Rothman 4ba4c6b897 Add retries to bidirection PIP fuzzer.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-15 12:17:40 -08:00
litghost 5e23c4dfb7
Merge pull request #525 from antmicro/001-fix
fuzzers: 001: fix yaml/json file names
2019-01-15 10:52:16 -08:00
Karol Gugala d9026ba750 fuzzers: 001: fix yaml/json file names
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-15 19:48:40 +01:00
litghost d601d0e8c9
Merge pull request #522 from litghost/increase_n_for_clb_in_mux
Increase N to prevent including INT bits.
2019-01-15 10:27:32 -08:00
litghost 53511faae7
Merge pull request #520 from antmicro/todo-fix
fuzzers: Copy all the db files to build/database
2019-01-15 09:31:56 -08:00
Keith Rothman 051693b375 Increase N to prevent including INT bits.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-15 09:27:58 -08:00
Karol Gugala e7b5c4958a
Merge pull request #511 from litghost/more_verbose_db_errors
Accumulate all missing features, rather than stopping on first failure.
2019-01-15 18:23:33 +01:00
Karol Gugala e7d31b064f
Merge pull request #512 from litghost/increase_n_for_clb_mux
Increase N for NFFMUX and NOUTMUX to prevent false matches.
2019-01-15 18:22:11 +01:00
Karol Gugala e525def48c fuzzers: Copy all the db files to build/database
Local copy of the database is used to generate todo files.
Since we were not copying all the DB files, the generated
todo files contained previously solved PIPs.

Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-15 18:14:02 +01:00
Karol Gugala b753915718 fuzzers: remove fuzzer 054
The PIPs can be resolved by fuzzer 056. 056 is redundant.

Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-15 18:03:32 +01:00
Karol Gugala 8e1524c005
Merge pull request #513 from antmicro/int_loop_fix
fuzzers: int_loop: create empty DB also in seeded target
2019-01-15 17:58:03 +01:00
litghost 5a00280a60
Merge pull request #516 from antmicro/074-fix
fuzzers: 074: fix path to generate_after_dump
2019-01-15 08:56:00 -08:00
Karol Gugala 517ad6c189 fuzzers: 074: fix path to generate_after_dump
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-15 16:24:47 +01:00
Alessandro Comodi 145d2c9d61 tilegrid: format fix
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-15 11:17:32 +01:00
Alessandro Comodi 458b6b3677 tilegrid: optional int propagation for artix/kintex
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-15 11:16:01 +01:00
Karol Gugala 47f8f6e30b fuzzers: int_loop: create empty DB also in seeded target
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-15 09:58:58 +01:00
Keith Rothman e1b9ab5550 Increase N for NFFMUX and NOUTMUX to prevent false matches.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-14 17:06:37 -08:00
Keith Rothman 89bf0115cd Accumulate all missing features, rather than stopping on first failure.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-14 11:37:45 -08:00
John Mcmaster a0585e4923
Merge pull request #509 from mcmasterg/yaml_build_dir
part-yaml: build dir
2019-01-14 16:41:42 +01:00
John McMaster 14708a9821 part-yaml: build dir
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-14 16:32:40 +01:00
Alessandro Comodi 73d77396c0 005-tilegrid/generate_full.py: readded else branch
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-14 13:25:43 +01:00
Alessandro Comodi 01e5aef7cc 005-tilegrid: format fix
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-14 13:00:55 +01:00
Alessandro Comodi 9d16dae012 005-tilegrid/util.py: Added functionalities to local util
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-14 12:58:24 +01:00
Alessandro Comodi dfdb23e177 005-tilegrid/generate_full.py: post db fix
Added possibility to add INT baseaddresses which are not adjacent to any
CLB/BRAM. The addition is performed after the database is populated with
the 'segments' information.

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-14 12:58:24 +01:00
Alessandro Comodi 9c93f89662 005-tilegrid/add_tdb.py: Moved functions to util
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-14 12:58:24 +01:00
Alessandro Comodi 70c8c77f0a 005-tilegrid: change Makefile
Adding .tdb input file to parse INT deltas which are in
DWORD:*.DFRAME:*.DBIT:* format

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-14 12:58:24 +01:00
Alessandro Comodi 93bc30ac10 005-tilegrid/util.py: return after check
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-14 12:58:24 +01:00
Alessandro Comodi ccb43370fa 005-tilegrid/util.py: format fix
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-14 12:58:24 +01:00
Alessandro Comodi f79aa011c1 005-tilegrid/generate_full.py: simplified assertion
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-14 12:58:24 +01:00
Alessandro Comodi 9e6c62cb4c 005-tilegrid: created a util script
There is some shared code between add_tdb.py and generate_full.py. To
solve this I have added a util script containing shared code.

Moreover, in the case a block has to be overwritten, the add_tile_bits
function now checks if the two version of the block contain the same
information. If this does not happend the script fails.

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-14 12:58:24 +01:00