Commit Graph

260 Commits

Author SHA1 Message Date
Keith Rothman 61d4a43b3f Remove some unused targets from fuzzaddr/common.mk
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-19 16:34:12 -08:00
Keith Rothman 6a50598cdc Sort tilegrid_tdb.json for better debugging.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-19 16:34:12 -08:00
Keith Rothman 32833e6f93 Add diagnostic to find 005 instability.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-19 16:34:12 -08:00
Keith Rothman 850d16fa02 Don't clobber other parts build directories on run target.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-19 16:34:11 -08:00
Keith Rothman 9f839a7a08 Attempt to parallelize 074 for additional parts.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-19 16:34:11 -08:00
Alessandro Comodi 31cfa88344 generate both xc7010 and xc7020 parts
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-27 11:26:55 +01:00
Alessandro Comodi b211908e26 zynq: fuzzers: Remove Zynq specific workarounds
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-27 10:21:38 +01:00
Alessandro Comodi fb26896dcb zynq: Allow LIOB baseaddr
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-27 10:21:38 +01:00
Tomasz Michalak 13ba74194a zynq: Add BRKH_INT_PSS tile type to fix assertion
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2020-01-27 10:20:22 +01:00
Alessandro Comodi 4849f49724 005-tilegrid: added comment on EXCLUDE_ROI env variable
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi cb9944d392 005-tilegrid: use variable for dependencies
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi 127412b5b9 fix wrong location of tilegrid and yaml
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi e44027bcaf Move all part-specific files to dedicated directory
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi c5a33cb161 005-tilegrid: further increasing to 6 number of specimens for mmcm
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi e8a2777a17 005-tilegrid: reduce number of specimens
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi 5c829daa8c 005-tilegrid: fixed some over-specific settings in generate_full
Also added specimens to make some rquired fuzzers find all necessary
features

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi 93d1ae82f7 Enable the generation of extra part-dependents files
This change affects the extra-db target, by adding also the generation
of other part-dependent files, such as tilegrid, tileconn, and others.

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Keith Rothman cce638930c Add clock_region to tilegrid.json for constructing clock networks.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-12-14 22:28:22 -08:00
Keith Rothman 97699e4e93 Add HCLK_[LR]_BOT_UTURN aliases.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-10-23 15:30:27 -07:00
Keith Rothman c0b8aef3a9 Add pin functions to tilegrid.
- Add support to emit PUDC_B pullup if unused (for A7 and Z7 fabrics).

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-10-14 16:38:02 -07:00
Keith Rothman 4efb540d96 Add stepdown feature to HCLK_IOI.
- Also narrow HCLK_IOI tilegrid size to avoid coupling into [RL]IOI3.

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-07-30 16:03:25 -07:00
Tomasz Michalak 5de6e16b29 005-tilegrid: Add alias for IOI3_SING tiles
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-07-26 13:34:44 +02:00
litghost 05ef773e60
Merge pull request #938 from antmicro/mmcme2-base-addr-fix
fuzzers: tilegrid: mmcme: LOC mmcme2_adv instances
2019-07-09 21:14:29 -07:00
Karol Gugala b989c2fc05 fuzzers: tilegrid: mmcme: LOC mmcme2_adv instances
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-07-09 18:42:04 +02:00
Keith Rothman f92fb52576 Merge branch 'master' into add_pll_interconnect_fuzzer 2019-07-08 11:22:49 -07:00
Keith Rothman b77c47b155 Fixes for zynq7 and PLL fuzzing.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-07-03 13:19:03 -07:00
Keith Rothman 30648d554a Complete initial PLL fuzzer.
This solves for all unknown bits, but results in a large "IN_USE"
feature for apparently constant bits.

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-07-03 13:18:58 -07:00
Tomasz Michalak e096d9c172 005-tilegrid: Add HCLK_IOI base addresses calculation
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-07-01 08:58:45 +02:00
Tomasz Michalak 86164fdc18 005-tilegrid: propagate IOI SING and Y9 tiles
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-06-25 12:12:37 +02:00
Tomasz Michalak 9fb26b6915 005-tilegrid: calculate IOI base address
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-06-25 11:32:32 +02:00
Tomasz Michalak 369362f8c8 005-tilegrid: add CFG_CENTER_MID tile base address calculation
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-05-31 09:40:40 +02:00
Keith Rothman 66c7c4c3ab Add fuzzers for HCLK_CMT tiles.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-03-15 18:43:21 -07:00
Keith Rothman c2df5c97eb Working complete HROW pip fuzzer.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-03-14 20:05:27 -07:00
Keith Rothman 1307e11397 IOB_SING solution via segbit aliases.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-03-01 17:02:18 -08:00
Keith Rothman 095d8c86ff Fix missing IOB base address.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-13 22:47:29 -08:00
litghost 51100d0ced
Merge pull request #648 from litghost/rework_tilegrid
Sort tiles and revamp gen_fuzz_states to be more efficient.
2019-02-13 18:42:06 -08:00
Keith Rothman 7c467920e6 Convert BRAM block tilegrid fuzzer to use first RAMB18E1.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-13 18:25:09 -08:00
Keith Rothman ab7347877f Run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-13 18:08:23 -08:00
Keith Rothman 7e4e4b19fc Sort tiles and revamp gen_fuzz_states to be more efficient.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-13 17:59:37 -08:00
Keith Rothman 457c0cde6f Make generic generate_top for tilegrid.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-12 16:43:02 -08:00
Keith Rothman 73a5c04544 Add _ACTIVE bits to HROW bits.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-12 16:33:59 -08:00
Keith Rothman 9ccc58b077 Run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-12 15:18:25 -08:00
Keith Rothman 88b2fc6d35 Fix 043 to document remaining bits.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-12 15:15:46 -08:00
Keith Rothman 5bebeb6c0d Add CLK_BUFG to tilegrid.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-12 15:15:34 -08:00
Keith Rothman f29fe77ea9 Add initial REBUF pips.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-12 15:15:34 -08:00
Keith Rothman 1011a90769 Run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-08 14:28:54 -08:00
Keith Rothman 00d9e1f314 Add CLK_HROW config fuzzer, and adjust tilegrid definition.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-08 14:23:39 -08:00
Keith Rothman 5e9cb60917 Add base addresses for CLK_HROW tiles. Word offset may be wrong.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-08 13:00:54 -08:00
Keith Rothman b04598da26 Solve orphan INT columns in Kintex7.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-07 15:01:09 -08:00
Keith Rothman bcd41b8d08 Add XADC INT and ICAP INT fuzzers to solve 2 of 4 missing INT columns.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-07 09:36:02 -08: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 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 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 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
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
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
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 bba4f339cc tilegrid: fix multi regression
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-09 23:29:21 +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
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