Commit Graph

56 Commits

Author SHA1 Message Date
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 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
Alessandro Comodi 7e68553b5b 030-iob: increase number of specimens
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-04-02 11:25:31 +02:00
Alessandro Comodi 62eaa0a091 030-iob: fix un-even features in different sites
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-03-04 15:38:36 +01:00
Alessandro Comodi 9b4f45514d 030-iob: LVDS, TMDS replace IN with IN_DIFF in process_rdb
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-02-22 16:24:01 +01:00
Alessandro Comodi 5ccd57353f 030-iob: improve rdb processing for LVDS and TMDS
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-02-22 15:34:34 +01:00
Alessandro Comodi abac14b5a0 030-iob: add LVDS_25 and TMDS_33
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-02-12 17:46:12 +01:00
Alessandro Comodi 39688725dc 030-iob: increase fuzzer efficiency
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-02-11 09:49:03 +01:00
Tomasz Michalak c66f4f4aa1 Add license headers to tcl files
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 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 0357b3e4b1 Fix formatting after updating license headers
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
Tomasz Michalak 159d6a8e88 Add licensing header to Makefiles
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 950d7534ec Add licensing header to fuzzers' python 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
Maciej Kurc 82e9a75dc3 Modified 030 to emit tags for SSTL15
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-05-07 13:38:14 +02:00
David Shah b757da0148 fuzzers: Add missing B-side IN_DIFF bits
Signed-off-by: David Shah <dave@ds0.me>
2020-03-30 17:01:48 +01:00
litghost 66916fb787
Merge pull request #1245 from antmicro/fix_1234
Fix for the lost IOB bits
2020-02-18 09:58:46 -08:00
Maciej Kurc 9183126bdd Fixed the 030 fuzzer to automatically detect where the PUDC_B site is.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-02-18 12:01:02 +01:00
Maciej Kurc 014462de26 Ported tag grouping to dbfixup.py
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-02-13 13:47:32 +01:00
Maciej Kurc 1196f67f71 Moved the group.py script to the utils dir.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-02-11 12:24:34 +01:00
Maciej Kurc b20bae5341 Added grouping of IN_TERM features so they can be decoded unambigosly.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-02-11 12:24:34 +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 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
Jake Mercer c05b4b0406 MAKE - Format Trailing Whitespace
Add `make format-trailing-ws`.  This recipe finds all _files_ (not
links) known to Git and uses `sed` to remove trailing whitespace.

Signed-off-by: Jake Mercer <jake.mercer@civica.co.uk>
2019-10-26 10:04:52 +01:00
litghost c94cb0224c
Revert "Whitespace" 2019-10-23 14:22:17 -07:00
Jake Mercer bf11f43390 FORMAT - Run `make format`
Changes after running `make format`.  Future commits which add
whitespace should be caught by CI at the PR stage.

Signed-off-by: Jake Mercer <jake.mercer@civica.co.uk>
2019-10-22 19:35:24 +01: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
Keith Rothman e9dbc39e9c Add HCLK_IOI3.INTERNAL_VREF feature.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-07-30 07:40:40 -07:00
Keith Rothman f723091e50 Add IN_TERM fuzzing.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-07-26 14:21:40 -07:00
Keith Rothman 73b3342adb Add initial DIFF_ support to IOB fuzzer.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-07-26 13:59:12 -07:00
Keith Rothman 82df57c816 Add write_io_banks.tcl for listing IO banks.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-07-25 09:40:04 -07:00
Keith Rothman e217fbb7c7 Add print on success when checking single design.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-07-23 17:27:44 -07:00
Keith Rothman fa2f61f914 Run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-07-23 17:21:26 -07:00
Keith Rothman a7ba547acb Filter out non-IOB bits.
Also add output from LiteX to verify IOB FASM features.

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-07-23 13:38:03 -07:00
Keith Rothman aa331131f2 Refactor IOB fuzzer.
- Add SSTL135
 - Refactor process_rdb to handle varying SLEW by IOSTANDARD.

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-07-23 08:36:38 -07:00
Tomasz Michalak c094640034 030-iob: don't create liob segbits file for zynq
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-05-07 13:53:17 +02:00
Tomasz Michalak 9bf9d4e0fd 030-iob: skip broken tile for zynq
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-05-07 13:36:50 +02:00
Keith Rothman 8f5fa39914 Rework stepdown bits to isolate top and bottom IOBs.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-03-01 10:56:47 -08:00
Keith Rothman 8d18665182 Fix bugs found during review.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-03-01 08:21:36 -08:00
Keith Rothman ac4accbd57 Add bit for standards that are stepdown.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-28 17:12:09 -08:00
Keith Rothman a2d32d19a3 Run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-28 16:43:49 -08:00
Keith Rothman 816bf44156 Rework IOB fuzzers.
- Add most single ended IOSTANDARD's.
- Add bits for input, output and input/output buffers for single ended
  IOBs.
- Add initial ILOGIC fuzzer.

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-28 16:36:02 -08:00
Tomasz Michalak a11abfd972 iob: Enhance fuzzer with bits for SLEW and DRIVE for LVCMOS25
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-02-18 08:50:32 +01:00
Tomasz Michalak e2b88458e8 minitest: Add csv generation script
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-02-18 08:14:21 +01:00
Keith Rothman 04011d477c Restore IOB fuzzer and add _Y0 bits.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-14 11:01:46 -08: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
Alessandro Comodi fa90a7d942 030-iob fuzzer Makefile: added dependency to target build/segbits_liob33.rdb
The Makefile of the 030-fuzzer needs to have a dependency of SPECIMEN_OK
on the build/segbits_liob33.rdb target, otherwise the test specimen would
not be created automatically

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2018-12-20 15:50:01 +01:00
John McMaster ffad776162 fuzzers: consolidate common gitignores
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-19 18:56:32 -08:00
John McMaster 160b5fc8b1 masks: tidy up
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-19 18:25:09 -08:00
John McMaster 34d0ab777f iob: fix readme comment
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-18 17:12:13 -08:00