Commit Graph

138 Commits

Author SHA1 Message Date
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
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
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 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
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 dde83ebadb tilegrid: pll/mmcm entire major address until resolved
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-18 17:12:13 -08:00
John McMaster 3b1b587fcf tilegrid pll: basic support
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-18 16:06:53 -08:00
John McMaster b84d9a2535 tilegrid: basic mmcm support
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-18 15:42:23 -08:00
John McMaster cecba098fc tilegrid: params on fuzzaddr/generate.py
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-18 15:41:23 -08:00
John McMaster 6177c4c58d tilegrid iob: factor out generic code
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-18 13:20:57 -08:00
John McMaster 923eddb2ea tilegrid: /bin/dash compatibility
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-18 12:54:41 -08:00
John McMaster a17c8b8d1d tilegrid iob: use XRAY_DATABASE_ROOT
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-17 18:39:17 -08:00
John McMaster 358876463e tilegrid: clean iob dir
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-17 18:38:49 -08:00
John McMaster fbb464d5ba tilegrid:tilegrid_basic.json => dir/tilegrid.json for XRAY_DATABASE_ROOT
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-17 18:38:10 -08:00
Tim 'mithro' Ansell 8d3e95cd1a Move xjson / xyaml to utils instead of prjxray.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-12-17 17:03:19 -08:00
Tim 'mithro' Ansell fb2d809659 Use xjson.pprint instead of json.dump for output.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-12-17 17:03:19 -08:00
John McMaster b501c10fa2 tilegrid iob: generate addresses automatically
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-17 16:38:25 -08:00
John McMaster 54dcdf1f2e tcl: reformat existing code
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-05 16:52:56 -08:00
John McMaster 15c62ba3a0 tilegrid: propagate iob addresses across column
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-04 21:03:31 -08:00