Commit Graph

46 Commits

Author SHA1 Message Date
Dr Jonathan Richard Robert Kimmitt f8b9075808 settings/virtex7.sh: default XRAY_VIVADO_SETTINGS to /opt/Xilinx
This system standardises on /opt/Xilinx/Vivado/2020.1 not the NFS share
the upstream default points at; honour the local standardisation while
remaining overridable via the env var.

Pairs with task #50 (005-tilegrid virtex7 unaligned-frame fix).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-30 07:52:09 +01:00
Dr Jonathan Richard Robert Kimmitt 3119e42d25 virtex7: off-edge ROI + graceful handling of unsolvable edge tiles
- settings/virtex7.sh: move XRAY_ROI and XRAY_ROI_GRID off the device bottom
  edge (SLICE_X0Y50:X11Y99; grid 5-20/261-312). Edge tiles at Y0 can't exercise
  features like BRAM36 ECC/cascade, and the bottom-edge BRAM is unsolvable.
- prjxray/segmaker.py: when a tile has no bitstream info (dummy tile, or an edge
  tile dropped from the tilegrid such as BRAM_L_X114Y0 on xc7vx485t), account
  for any tags on it and skip with a warning instead of asserting. Fixes the
  BRAM config/FIFO fuzzers (027, 029, ...) for virtex7; no-op for normal dummy
  tiles. Also print the unsolved tags before the all-tags-used assertion.
- fuzzers/Makefile: skip 018-clb-ram for virtex7 (Vivado 2020.1 packs SRL/RAM
  into different BEL slots than the fuzzer pins).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 16:29:42 +01:00
Dr Jonathan Richard Robert Kimmitt 39f5de415d Add Virtex-7 (xc7vx485t) family support
Port prjxray to the Virtex-7 family, modelled on Kintex-7, targeting
xc7vx485tffg1761-2 (vc707). Non-breaking for the existing families.

Family registration:
- settings/virtex7.sh, settings/virtex7/devices.yaml
- Makefile: virtex7 in DATABASES/XRAY_PARTS + db-extras-virtex7 targets
- utils/update_parts.py, update_resources.py: virtex7 choice
- CI matrix (Pipeline.yml), Vivado edition (xilinx.sh), README

Architecture adaptations for the HP-bank-only VX part (verified non-breaking):
- update_resources.tcl: fall back to HP banks when no HR banks exist
- XRAY_IOSTANDARD env (default LVCMOS33; LVCMOS18 for virtex7), parameterised
  across the fuzzer generate.tcl files
- fuzzers: enable HP-bank (iob18/ioi18) + IOI/HCLK handling for virtex7;
  GTX skipped (ffg1761 bonds only ~7 of 14 GTX quads)
- 005-tilegrid: HP/HR bank tile handling; iob18_int INT offset 3->2;
  ioi18 AUTO_FRAME; cfg PDRC-2 DRC disable; add_tdb skips unsolved edge tiles;
  per-specimen retry for transient FlexLM SIGSEGV under concurrency
- per-family Vivado version gate (virtex7 -> v2020.1.1)
- XRAY_ROI and XRAY_ROI_GRID tuned to a compact CLBLL+CLBLM region

General fixes:
- tools/bitread.cc: fix use-after-free of the mmap'd bitstream (exposed by the
  larger Virtex-7 bitstream)
- utils/environment.python.sh: add repo root to PYTHONPATH (PEP 660 editable
  install doesn't expose the repo-root utils/ package)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 07:21:23 +01:00
Hans Baier e87c79a156 add XRAY_ROI_TILEGRIDD var in kintex7_325t.sh
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-04-30 10:16:21 +07:00
Jonathan Kimmitt 42eddb9b9e Experimental support for xc7k325t
Signed-off-by: Jonathan Kimmitt <jonathan@kimmitt.uk>
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
2024-10-25 10:11:38 +07:00
Hans Baier a1b5db694e add XC7K420T support
Signed-off-by: Hans Baier <hansfbaier@gmail.com>
2024-10-25 09:58:51 +07:00
Hans Baier ee5ffe2333 add kintex 480T support
Signed-off-by: Hans Baier <hansfbaier@gmail.com>
2024-10-25 09:58:45 +07:00
Hans Baier ace7bffb5b addjust XRAY_ROI to exactly use one tile for 018-clb-ram
Signed-off-by: Hans Baier <hansfbaier@gmail.com>
2024-01-08 14:00:20 +07:00
Hans Baier 9860350ac1 settings/kintex7.sh: revert to master ROI settings (except IO), to see where it fails
Signed-off-by: Hans Baier <hansfbaier@gmail.com>
2024-01-08 14:00:20 +07:00
Hans Baier 0570fbff1a Fix ROI settings/kintex7.sh for fuzzer 018-clb-ram
Signed-off-by: Hans Baier <hansfbaier@gmail.com>
2024-01-08 14:00:20 +07:00
Hans Baier e929e5519b add support for the kintex high performance banks
Signed-off-by: Hans Baier <hansfbaier@gmail.com>
2024-01-08 14:00:20 +07:00
Hans Baier ae58d4f1d9 settings k160t: remove non existing RIOI3 reference
Signed-off-by: Hans Baier <hansfbaier@gmail.com>
2024-01-08 14:00:20 +07:00
Hans Baier 99a4a27bae add XC7K160T part
Signed-off-by: Hans Baier <hansfbaier@gmail.com>
2024-01-08 14:00:20 +07:00
Steve f3474a2625 Add support for xc7s50
The previous xc7s50t branch was messed up. This new branch is created to re-submit xc7s50t's changes for merging.

Signed-off-by: Steve <steve.bohan.liu@outlook.com>
2021-12-13 18:39:27 +08:00
Daniel Schultz 9214855aa2 fixup! settings: Handle return code correctly
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-04-01 20:38:50 +02:00
Daniel Schultz 969f1dd5ee settings: Handle return code correctly
"eval $(python3 script.py)" does not handle the return code correctly and would try to evaluate
the complete output of the Python traceback. Temporarily save the output in a variable and check
the return code. If the RC is unequal to zero, return the RC and leave the bash script.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-03-26 08:28:54 +01:00
Daniel Schultz 1d1cf3d5e5 Move devices.yaml files
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-03-15 17:37:58 +01:00
Daniel Schultz a6c54b0b3e Remove autogenerated files
These files are now autogenerated and not needed to be deployed to the repo.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-03-15 17:37:58 +01:00
Alessandro Comodi 430e6d85e0 parts: add xc7a100tfgg484-2 part for netv2 board
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-01-29 19:16:42 +01:00
Alessandro Comodi 3d4c9addf0 environment: fix environment set up
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-01-20 11:28:56 +01:00
Daniel Schultz e24e1bc5b4 settings: Add mapping files for part resources
These files contain information about the part information used by the
fuzzers and should help to add new parts easier, later.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-01-13 08:38:22 +01:00
Daniel Schultz 4122384e74 settings: Remove XRAX_PIN_xx from Makefile
These variables are not set by run_fuzzers

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-01-12 22:36:58 +01:00
Robert Winkler 1478ab4e6b Change main fuzzed device to A100T
Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
2020-07-16 00:04:50 +02:00
Tomasz Michalak fbf4dd897d Add or fix license header
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
2020-05-26 07:33:12 -07:00
Tomasz Michalak 300bc62227 Add licensing header to bash scripts
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
2020-05-26 07:33:12 -07:00
Tim Callahan 26484851d7 Add a third IOI, LIOI_X0Y9, for special handling. Without this change,
LIOI_X0Y9 has empty "bits" in tilegrid.json.  Note there is no RIOI at Y9,
since the bottom right region of the 100T is high speed serial IO.

Signed-off-by: Tim Callahan <tcal@google.com>
2020-05-20 22:49:28 -07:00
Tim Callahan 9d0499f87a Update settings/artix7*.sh with helpful comments regarding XRAY_IOI3_TILES
and other non-obvious things.

Signed-off-by: Tim Callahan <tcal@google.com>
2020-05-18 13:14:58 -07:00
Tim Callahan 5f6d9ff84e Fix bad setting of XRAY_IOI3_TILES for 100t part.
Signed-off-by: Tim Callahan <tcal@google.com>
2020-05-17 11:29:42 -07:00
Tim Callahan a3c445e421 Initial update for artix7 100T parts, not enabled.
Signed-off-by: Tim Callahan <tcal@google.com>
2020-04-28 15:58:35 -07:00
Alessandro Comodi 8bed17b40e htmlgen: add html generation as last step of kokoro
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-04-01 20:22:58 +02:00
Keith Rothman 8964ad3b53 Convert CLB/CLB_INT tilegrid fuzzer to workaround prohibited locations.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-03-09 13:47:03 -07:00
Alessandro Comodi 77d9eba3db added LIOI tile for xc7020
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-27 13:57:27 +01: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 65090d18f6 zynq: Expand tilegrid
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-27 10:21:38 +01:00
Alessandro Comodi 0ec9df0f14 zynq: Update settings to use only bottom right of device
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-27 10:20:22 +01:00
Alessandro Comodi e03f635ed8 remove artix50t.sh settings as it is not needed anymore
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:22:04 +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
Lukasz Dalek 49c8aac143 zybo: Fix Zybq Zynq-7 roi_harness
Fixed ROI_GRID range and Y_DOUT_BASE. Updated INPUT and OUTPUT pads.

Signed-off-by: Lukasz Dalek <ldalek@antmicro.com>
2019-03-12 09:48:06 +01:00
Alessandro Comodi aaa0406c27 artix7.sh: shrinking Y_MAX to exclude BRKH tiles
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-03-06 18:40:54 +01:00
Keith Rothman f0f29956d7 Add FASM features that are outside ROI grid, but inside used frames.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-12 17:25:52 -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
Karol Gugala 70df7f02c0 settings: zynq: limit ROI to end on hclk_brk
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-21 18:35:30 +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 2c42bafd76 zynq7.sh: taking the TOP row as ROI for Zynq7
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-08 19:04:25 +01:00
Tim 'mithro' Ansell 5b1fa4133f Move the settings files out of the database into settings directory.
Fixes #421.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-12-31 10:30:36 +01:00