Commit Graph

651 Commits

Author SHA1 Message Date
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
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
Alessandro Comodi 67dad57a8e 005-tilegrid: format fix
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-14 12:58:24 +01:00
Alessandro Comodi 5f59221f0b 005-tilegrid/generate_full: propagating INT
I have added a way to propagate INT_L base addresses which do not have
an adjacent block

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-14 12:58:24 +01:00
Mehdi Khairy 0906e734b9 Fix PR #507: Merged last run in the pool
Signed-off-by: Mehdi Khairy <mehdi.khairy@more-magic.org>
2019-01-12 12:27:35 +01:00
Mehdi Khairy 0168578b5a Merge remote-tracking branch 'upstream/master' 2019-01-12 03:30:23 +01:00
Mehdi Khairy e359ab6f39 Fixing Fuzzer 072: supporting all pips count
Signed-off-by: Mehdi Khairy <mehdi.khairy@more-magic.org>
2019-01-12 03:02:42 +01:00
John McMaster d007828d5c
Merge pull request #506 from mithro/remove-asserts
Remove asserts checking only artix7 / kintex7.
2019-01-12 01:42:39 +01:00
litghost f10f9141fb
Merge pull request #489 from natsfr/master
Fixing Bug #171 and #465
2019-01-11 15:24:40 -08:00
Tim 'mithro' Ansell 8d87f2ff95 Remove asserts checking only artix7 / kintex7.
Lets see how they explode on Zynq.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-01-11 15:12:23 -08:00
Mehdi Khairy 84645e8793 PR #489 Fix 072 Fuzzer by splitting jobs
Signed-off-by: Mehdi Khairy <mehdi.khairy@more-magic.org>
2019-01-11 23:23:17 +01:00
John McMaster d735f0e2b2
Merge pull request #505 from antmicro/052-fix
fuzzers: 52: retry routing if it fails
2019-01-11 19:43:33 +01:00
John McMaster 4c4e17f380
Merge pull request #502 from mcmasterg/pip-quick
pip (especially imuxlout) quick
2019-01-11 19:18:22 +01:00
Karol Gugala 9845739386 fuzzers: 52: retry routing if it fails
Sometimes randomly selected scr and dst tiles lead
to unroutable situation. This can be mitigated by
repeating the failed attempt with a new src and dst
tiles.

Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-11 19:13:05 +01:00
John McMaster d8a5160fa0 clb-ndi1mux: README update
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-11 18:56:40 +01:00
John McMaster 5f8c46a795 clb: clean up README files
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-11 18:52:42 +01:00
John McMaster f4f2a79cf9 ffconfig readme: cleanup
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-11 16:06:49 +01:00
John McMaster 09971f8bd4 ffconfig readme: import wiki
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-11 16:06:23 +01:00
John McMaster 591c3be2ac pip-imuxlout: QUICK tcl
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-11 11:42:57 +01:00
John McMaster f4edf4a198 piplist.tcl: break into functions
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-11 11:37:54 +01:00
Karol Gugala c9ced5ea47 fuzzers: int: create empty DB if it doesn't exist
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-11 10:46:54 +01:00
John McMaster 3585d98b99 int_loop: QUICK reduce TODO N
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-11 10:45:59 +01:00
Tomasz Michalak 144a0edc8c Bug #456: fix regression in CLB bit CARRY4.ACY0
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-01-11 08:13:54 +01:00
Mehdi Khairy 19a93121a6 Bug #171: Fixing build directory for Fuzzers 074
Signed-off-by: Mehdi Khairy <mehdi.khairy@more-magic.org>
2019-01-10 23:57:35 +01:00
John McMaster 9fdd4fab86 timfuz: update readme
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-10 16:01:04 +01:00
John McMaster dff1402dfa
Merge pull request #474 from antmicro/05x-fuzzers-rework
05x fuzzers rework
2019-01-10 15:03:00 +01:00
Karol Gugala 6c6e90db84 fuzzers: 05x: do not use symbolic link to int_generate.py
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-10 14:36:36 +01:00
Karol Gugala 42529b7287 fuzzers: 51: calculate 50 DB entries in each step
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-10 12:46:41 +01:00
Alessandro Comodi 65f5ddb030 005-tilegrid/add_tdb.py: use floor divide
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-10 12:04:34 +01:00
Alessandro Comodi b4ca31cd1e 005-tilegrid/add_tdb.py: added frame check
This solves issue #481. add_tdb.py now checks if all the bits in a same
tag have the same base address and, if that is the case, the first of
them is selected

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-10 11:43:53 +01:00
John McMaster 08aaa19551
Merge pull request #462 from antmicro/ps7
PS7 INT on Zynq
2019-01-10 10:47:42 +01:00
Alessandro Comodi 3738801ca3 005-tilegrid: removing unneeded comments
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-10 10:22:36 +01:00
Alessandro Comodi 39693b7958 ps7_int: rename fuzzer ps7 --> ps7_int
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-10 10:02:08 +01:00
Alessandro Comodi bd32e51a38 005-tilegrid/add_tdb.py: change ps7 --> ps7_int
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-10 10:01:32 +01:00
Alessandro Comodi f8b5de960c ps7_int/Makefile: change ps7 --> ps7_int
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-10 10:00:49 +01:00
John McMaster e9a2489c36
Merge pull request #478 from litghost/add_ppips_for_bram
Add ppips for bram
2019-01-10 09:32:02 +01:00
John McMaster 81fbb37153 bram config: DOX_REG, clean up
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-10 08:44:51 +01:00
Keith Rothman 150795d6d3 Add BRAM_INT_INTERFACE_* too.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-09 18:04:20 -08:00
Keith Rothman 55201c4d1e Add ppip output for BRAM tiles.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-09 17:10:01 -08:00
John McMaster bba4f339cc tilegrid: fix multi regression
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-09 23:29:21 +01:00
Karol Gugala a4b0c6f1de fuzzers: refactor fuzzer 51
The fuzzer is now todo files based. It is also using generic
generate.py script.
For now the fuzzer instantiates picorv and randluts besides
the logic under test. This is required for to deliver negative
examples to segmaker. Because of the size of the design this
fuzzer is taking really long to complete. We need to find a
smallest possible design that will be enough to generate the DB.

Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-09 23:16:22 +01:00
Karol Gugala 49d8a6c22c fuzzers: 56: use generic generate.py
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-09 23:16:22 +01:00
Karol Gugala bc48baa30d fuzzers: add generic generate.py
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-09 23:16:19 +01:00
Karol Gugala eb11da50e0 fuzzers: int_loop: do not mask errors
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-09 22:12:47 +01:00
Alessandro Comodi 7f6e6f1c8c 005-tilegrid/add_tdb.py: Changed frame and word params
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-09 19:07:40 +01:00
Alessandro Comodi 3ec9dd58af Merge branch 'master' into ps7 2019-01-09 18:52:28 +01:00
John McMaster 892b4fb5f7 fuzzaddr: optional dframe, dbit
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-09 18:45:37 +01:00
Alessandro Comodi 8bdf04a29d 005-tilegrid/add_tdb.py: Added ps7 tdb
There is an hack to be fixed that selects only the first bit of the
tdb lines. It has to be corrected

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-09 18:14:23 +01:00
Alessandro Comodi 6691d2dcc8 ps7/top.py: updated top generator
The top.py generates a param.csv file related to a specific tile. The
segdata_tilegrid.tdb related to ps7 now contains two different
addresses bound to a specific tile.

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-09 16:31:28 +01:00
Alessandro Comodi b6d68711d8 ps7/Makefile: updated GENERATE_ARGS
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-09 16:30:23 +01:00
Alessandro Comodi 29fbdf595f 005-fuzzer: fix Makefile
The Makefile now correctly adds the ps7 dependency when zynq7
environment is selected.

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-09 14:31:42 +01:00
Alessandro Comodi 7a0b819f50 ps7/top.py: format fix
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-09 00:55:42 +01:00
John Mcmaster ae52c3ae84
Merge pull request #464 from natsfr/master
Bug #171: Fixing build directory for Fuzzers 071
2019-01-08 23:54:59 +01:00
Mehdi Khairy a9f0e66780 Bug #171: Fixing build directory for Fuzzers 073
Signed-off-by: Mehdi Khairy <mehdi.khairy@more-magic.org>
2019-01-08 22:06:28 +01:00
Mehdi Khairy a4dd142bb9 Bug #171: Fixing build directory for Fuzzers 071
Signed-off-by: Mehdi Khairy <mehdi.khairy@more-magic.org>
2019-01-08 21:30:01 +01:00
Alessandro Comodi dc36103f5c sp7/top.py: format fix
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-08 19:19:55 +01:00
Alessandro Comodi 1c510c2388 ps7: 005-tilegrid added ps7 fuzzer
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-08 19:04:47 +01:00
Alessandro Comodi 645cd8e6ab 005-tilegrid: change Makefile
different build dependencies depending on the device part

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-08 19:03:44 +01:00
John McMaster 6d9d1687a3 iob-stag: groups.grp file
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-08 15:49:30 +01:00
John McMaster f3fade68bd iob-stag: IOB supertag
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-08 15:49:30 +01:00
John McMaster 1cc5b72ca5 minitest: clean up folders
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-07 23:31:44 +01:00
John McMaster 815c3d4af2 fuzzers: name with tile type
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-07 23:08:45 +01:00
John McMaster 80e140b278 top_generate.sh => top_generate.mk
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-07 17:38:35 +01:00
John Mcmaster dd26facddf
Merge pull request #441 from emka/clkout_divide
Add all CLKOUT1_DIVIDE bits
2019-01-06 12:29:41 +01:00
Mitja Kleider 540999acdf Add all CLKOUT1_DIVIDE bits
Signed-off-by: Mitja Kleider <mitja@kleider.name>
2019-01-06 11:41:48 +01:00
Karol Gugala 5fcfc4d61b fuzzers: 017: rename PRECYINIT_{0|1} -> PRECYINIT_{C0|C1}
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-02 21:30:56 +01:00
Karol Gugala c21b822cfb fuzzers: 074: add zynq7_ignored_wires
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-02 07:01:36 +01:00
John Mcmaster c8078e8dd5
Merge pull request #426 from emka/master
Add MMCM bool attributes
2018-12-30 13:28:56 +01:00
Mitja Kleider 7f17e85307 Add MMCM bool attributes
Signed-off-by: Mitja Kleider <mitja@kleider.name>
2018-12-30 13:19:06 +01:00
John McMaster ee803268fe xadc: fuzzer PoC
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-29 17:11:59 +01:00
John McMaster 5acda63b46 xadc: tilegrid support
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-29 17:07:18 +01:00
Felix Held 0d6e327229 introduce vivado wrapper
This fixes the problem that when sourcing the vivado settings file the
library search path is modified resulting in non-vivado binaries not working
due to being dynamically linked against the vivado libraries instead of the
system ones.

Signed-off-by: Felix Held <felix-github@felixheld.de>
2018-12-28 19:05:49 +01:00
Mitja Kleider a86fd6ed1a Add segdata to MMCM Makefile
Signed-off-by: Mitja Kleider <mitja@kleider.name>
2018-12-28 17:47:05 +01:00
John McMaster bbb6d5b4a2 BITONLY
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-27 21:24:32 +01:00
Tim Ansell 4478859b59
Merge pull request #376 from antmicro/xc7z-fuzz001
001-part-yaml: Modified script and tools to generate Zynq YAML.
2018-12-24 17:54:42 -08:00
John McMaster 8047b51965 intpips: cleaniter
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-24 12:44:09 -08:00
John McMaster 2a5c85f315 int_loop: dont push until end, reducing db conflicts
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-24 09:38:00 -08:00
John McMaster 8ba1e84dfb rempips: always roll back on failure
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-24 09:37:56 -08:00
John McMaster 581f26824f
Merge pull request #401 from mcmasterg/json_import
missing json import
2018-12-23 21:28:50 -08:00
John McMaster 0cb9b1a1de missing json import
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
2018-12-23 21:10:22 -08:00
John McMaster 4cef6e4668 hclkpips: mask path
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
2018-12-23 15:26:57 -08:00
John McMaster 1d4d2e0fdd 055-gnd: fix bad makefile target
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
2018-12-23 01:33:31 -08:00
John McMaster 946892d1b1 hclkpips: ignore HCLK_CK_INOUT_*
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
2018-12-22 17:19:11 -08:00
John McMaster accb6f9c41 hclkpips: path
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
2018-12-22 17:19:11 -08:00
John McMaster b45db64102 hclkpips: HCLK bitstream workaround
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
2018-12-22 12:07:20 -08:00
Alessandro Comodi 82c6dad770 001-fuzzer: using only PERFRAMECRC bitstream
We are going to use only PERFRAMECRC bitstream from now on because the
tools cannot create a DEBUGBITSTREAM for the zynq7 devices

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2018-12-22 16:47:18 +01:00
John McMaster 7b272b89ef int_loop: unify SEGMATCH_FLAGS
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
2018-12-21 20:14:37 -08:00
John McMaster ebd5114037 gnd: fix todo path
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
2018-12-21 18:45:49 -08:00