prjxray/fuzzers/005-tilegrid
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
..
bram Move all part-specific files to dedicated directory 2020-01-24 10:13:33 +01:00
bram_block Move all part-specific files to dedicated directory 2020-01-24 10:13:33 +01:00
bram_int Move all part-specific files to dedicated directory 2020-01-24 10:13:33 +01:00
cfg Move all part-specific files to dedicated directory 2020-01-24 10:13:33 +01:00
cfg_int Move all part-specific files to dedicated directory 2020-01-24 10:13:33 +01:00
clb Move all part-specific files to dedicated directory 2020-01-24 10:13:33 +01:00
clb_int Move all part-specific files to dedicated directory 2020-01-24 10:13:33 +01:00
clk_bufg Move all part-specific files to dedicated directory 2020-01-24 10:13:33 +01:00
clk_hrow Move all part-specific files to dedicated directory 2020-01-24 10:13:33 +01:00
dsp Move all part-specific files to dedicated directory 2020-01-24 10:13:33 +01:00
dsp_int Move all part-specific files to dedicated directory 2020-01-24 10:13:33 +01:00
fifo_int Move all part-specific files to dedicated directory 2020-01-24 10:13:33 +01:00
fuzzaddr tilegrid: fix multi regression 2019-01-09 23:29:21 +01:00
hclk_cmt Move all part-specific files to dedicated directory 2020-01-24 10:13:33 +01:00
hclk_ioi Move all part-specific files to dedicated directory 2020-01-24 10:13:33 +01:00
iob Move all part-specific files to dedicated directory 2020-01-24 10:13:33 +01:00
iob_int Move all part-specific files to dedicated directory 2020-01-24 10:13:33 +01:00
ioi Move all part-specific files to dedicated directory 2020-01-24 10:13:33 +01:00
mmcm Move all part-specific files to dedicated directory 2020-01-24 10:13:33 +01:00
monitor Move all part-specific files to dedicated directory 2020-01-24 10:13:33 +01:00
monitor_int Move all part-specific files to dedicated directory 2020-01-24 10:13:33 +01:00
orphan_int_column Move all part-specific files to dedicated directory 2020-01-24 10:13:33 +01:00
pll Move all part-specific files to dedicated directory 2020-01-24 10:13:33 +01:00
ps7_int Handle A7/K7/Z7 differences gracefully. 2019-01-27 22:30:53 -08:00
Makefile 005-tilegrid: use variable for dependencies 2020-01-24 10:13:33 +01:00
README.md Makes minor documentation change. 2019-02-03 00:59:43 +10:30
add_tdb.py Add stepdown feature to HCLK_IOI. 2019-07-30 16:03:25 -07:00
generate.py Add clock_region to tilegrid.json for constructing clock networks. 2019-12-14 22:28:22 -08:00
generate.sh introduce vivado wrapper 2018-12-28 19:05:49 +01:00
generate_full.py 005-tilegrid: fixed some over-specific settings in generate_full 2020-01-24 10:13:33 +01:00
generate_tiles.tcl Enable the generation of extra part-dependents files 2020-01-24 10:13:33 +01:00
top.v tilegrid: fix IBUF define 2018-12-04 20:59:37 -08:00
util.py Remove some of the __future__.] 2019-01-28 12:54:36 -08:00
util.tcl Enable the generation of extra part-dependents files 2020-01-24 10:13:33 +01:00

README.md

Tilegrid Fuzzer

This fuzzer creates the tilegrid.json bitstream database. This database contains segment definitions including base frame address and frame offsets.

Example workflow for CLB

generate.tcl LOCs one LUT per segment column towards generating frame base addresses.

A reference bitstream is generated and then:

  • a series of bitstreams are generated each with one LUT bit toggled; then
  • these are compared to find a toggled bit in the CLB segment column; then
  • the resulting address is truncated to get the base frame address.

Finally, generate.py calculates the segment word offsets based on known segment column structure

Environment variables

XRAY_ROI

This environment variable must be set with a valid ROI. See database for example values

XRAY_ROI_FRAMES

This can be set to a specific value to speed up processing and reduce disk space If you don't know where your ROI is, just set to to include all values (0x00000000:0xfffffff)

XRAY_ROI_GRID_*

Optionally, use these as a small performance optimization:

  • XRAY_ROI_GRID_X1
  • XRAY_ROI_GRID_X2
  • XRAY_ROI_GRID_Y1
  • XRAY_ROI_GRID_Y2

These should, if unused, be set to -1, with this caveat:

WARNING: CLB test generates this based on CLBs but implicitly includes INT

Therefore, if you don't set an explicit XRAY_ROI_GRID_* it may fail if you don't have a CLB*_L at left and a CLB*_R at right.