Commit Graph

3495 Commits

Author SHA1 Message Date
Alessandro Comodi 0219727e9c cells_data: add clock information on ports.json
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-03-26 13:47:38 +01:00
litghost ff1509bc89
Merge pull request #1633 from antmicro/fix-hostcheck
Fix hostcheck
2021-03-25 17:58:05 -07:00
Alessandro Comodi 865859a5f6 hostcheck: add mount to the output
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-03-25 10:55:13 +01:00
Alessandro Comodi 5ca05083d0 hostcheck: increase timeout and fix indentation
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-03-25 09:47:42 +01:00
Alessandro Comodi e418f024b9 hostcheck: apply suggestion from comment and replaced tab with spaces
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-03-24 18:40:19 +01:00
Daniel Schultz 173bb3b34a kokoro: hostcheck: Add more debug information
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-03-22 15:22:16 +01:00
Daniel Schultz a6fb88b676 kokoro: hostcheck: Wait 30 seconds at the beginning
The storage device needs a little bit of time to be attached. Wait at the
beginning to make sure the storage device is really not mounted.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-03-20 11:08:13 +01:00
litghost 086f9a1714
Merge pull request #1562 from dnltz/WIP/dnltz/new_parts
Populate all parts
2021-03-18 13:07:02 -07:00
Daniel Schultz 772c4280ac fuzzers: 025-bram-config: exclude frame 0
Add an exclusion for frame 0 because this does not contain any bits and
the database checks fails.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-03-18 08:54:22 +01:00
litghost a0dbca4da8
Merge pull request #1550 from antmicro/python-deps
setup.py: add dependencies
2021-03-16 12:55:41 -07:00
Alessandro Comodi fc196c7967 setup: add comment to remove dependency
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-03-15 17:43:40 +01:00
Daniel Schultz 3b472bd657 Makefile: ROI after all parts are generated
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-03-15 17:37:58 +01:00
Daniel Schultz 43bfaca467 gitignore: Ignore autogenerated resources.yaml file
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-03-15 17:37:58 +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 f8e2c37fe1 kokoro: Generate files during CI runs
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
Daniel Schultz 7b16929e7d README: Add new step to prepare db
This step generates all static part information files.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-03-15 17:37:58 +01:00
Daniel Schultz ef350f9216 Makefile: Update to roi all parts for a family
Adds a db-extra-X-roi command which will call a Python tool because the
part list is some kind of dynamic and Makefiles can't read from a YAML file
and iterates over all keys.

Also some minor clean-ups with the kintex and zynq extra commands.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-03-15 17:37:58 +01:00
Daniel Schultz 74ba878c25 utils: Add new tools to roi all parts
* Adds a new tool to update the parts mapping file for a family.
* Adds a new tool to update the resource file for a family.
* Adds a new tool to roi all parts by calling "make roi_only" with different
   parts

Update the Makefile to update the artix7 files with "make db-update".

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-03-15 17:37:58 +01:00
Daniel Schultz ac308170ef Revert "gitignore: Add exceptions for database/<family>/mapping"
This reverts commit ec04ccba19.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-03-15 17:37:58 +01:00
Daniel Schultz ef94cf5add gitignore: Ignore vivado .jou and .log
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-03-15 17:37:58 +01:00
Daniel Schultz df23e99e7f database: artix7: Fix wrong device fabric mapping
The xc7a35t devices does not use the xc7a50t fabric.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-03-15 17:37:58 +01:00
Alessandro Comodi dc9060df22 setup: remove non-required dependencies
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-03-15 16:48:28 +01:00
Karol Gugala 1ed87867ee setup.py: add dependencies
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2021-03-15 16:48:28 +01:00
litghost c202abb8a1
Merge pull request #1623 from dnltz/WIP/dnltz/fuzzers-clean
fuzzers: Fix some clean commands
2021-03-15 08:40:58 -07:00
litghost 9dd35a33ab
Merge pull request #1619 from litghost/defer_db_check_return
Defer exiting for db-check error until after cleanup.
2021-03-15 08:37:51 -07:00
Alessandro Comodi a56bb361c2
Merge pull request #1616 from antmicro/rework-pcie-conf-fuzzer
Rework pcie-conf fuzzer
2021-03-15 15:07:57 +01:00
Daniel Schultz 8cdc712354 fuzzers: 065(b): Makefile: Rename clean_all to clean
The fuzzer Makefile calls 'make clean' of all fuzzers. Both Makefiles
do not have a clean but a clean_all command. Rename to also clean these data.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-03-13 10:53:22 +01:00
Daniel Schultz 753eb2e3e1 fuzzers: 005: Makefile: Rename clean and clean_all comamnds
The 'make clean' command in the top-level Makefile calls 'clean' of all
fuzzers. The top-level Makefile does not source and settings file before and
therefore no XRAY_PART is set.

The 005's fuzzers only cleans data for a XRAY_PART file, which is not set.
Remove all fuzzer data during clean and only for a specific part during
clean_all.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-03-13 10:50:43 +01:00
Keith Rothman 1619b12056 Defer exiting for db-check error until after cleanup.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2021-03-12 08:52:17 -08:00
litghost d3e19a375d
Merge pull request #1618 from dnltz/WIP/dnltz/hostcheck
Add kokoro hostcheck
2021-03-12 08:47:26 -08:00
Jan Kowalewski ac25035fd4 061-pcie-conf: rework pcie-conf fuzzer
Included changes:
- unify params format to JSON
- add generate_ports script
- export attributes and ports to prjxray_db

Signed-off-by: Jan Kowalewski <jkowalewski@antmicro.com>
2021-03-12 16:06:21 +01:00
Daniel Schultz d258f10c3d kokoro: Add hostcheck step
This step checks the host environment. Right now, it only checks if a drive
is mounted to /tmpfs. If it's not mounted, the run will be aborted and the
dmesg printed.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-03-11 20:12:10 +01:00
litghost 0d9418a908
Merge pull request #1614 from antmicro/add-gtp-ports-attrs-file
gtp: generate attributes and ports files to add to the db
2021-03-10 09:07:49 -08:00
Alessandro Comodi 2ccada206e gtp_common: fix DRP_ENABLE and CLKSWING to be site features
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-03-09 21:08:16 +01:00
Alessandro Comodi 606489ff4e gtp: create a cells_data dir for the attrs and ports JSONs
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-03-09 20:58:15 +01:00
Alessandro Comodi 9a35b89c93 docs: add cells_data documentation
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-03-09 20:58:15 +01:00
Alessandro Comodi 6794c98cdf gtp: generate attributes and ports files to add to the db
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-03-09 16:06:19 +01:00
litghost 0ddf03b848
Merge pull request #1615 from litghost/add_disk_space_checks
Add some disk space checks in happy and sad paths.
2021-03-09 06:47:54 -08:00
Keith Rothman ebc66ac886 Add some disk space checks in happy and sad paths.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2021-03-08 13:05:58 -08:00
litghost aef20ce6dc
Merge pull request #1604 from antmicro/add-pcie-ppips
071-ppips: add pcie-related ppips
2021-03-08 12:53:47 -08:00
litghost 0941a21ddb
Merge pull request #1606 from antmicro/auto_frames_count
005-tilegrid: Extract frames count information from part's json
2021-03-08 12:53:28 -08:00
litghost 35771f4cb0
Merge pull request #1613 from antmicro/fix-gtp-pips
071-ppips: take all ppips with one uphill nodes
2021-03-08 12:12:37 -08:00
litghost e1f97dcb1f
Merge pull request #1609 from antmicro/fix-iob-only-diff
030-iob: fix un-even features in different sites
2021-03-08 12:02:39 -08:00
Alessandro Comodi 9265e5382e 071-ppips: take all ppips with one uphill nodes
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-03-08 11:25:50 +01:00
Tomasz Michalak 546441810f 005-tilegrid: Extract frames count information from part's json
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2021-03-05 15:14:47 +01:00
litghost f861e47a86
Merge pull request #1608 from antmicro/fix-gtp-inv-signals
gtp: fix inverted signals. Change ZINV feature to INV
2021-03-04 18:04:23 -08:00
litghost 8c479421be
Merge pull request #1607 from antmicro/fix-gtp-pips
071-ppips: additional fix for GTP-related PPIPs
2021-03-04 14:18:47 -08:00
litghost 847d036934
Merge pull request #1603 from antmicro/fix-gtp-common-frames
005-tilegrid: fix GTP common frames
2021-03-04 08:29:31 -08:00
litghost 67fc48ddef
Merge pull request #1599 from antmicro/fix-gtp-prefixes
segmaker: fix site_type prefixes for GTP sites
2021-03-04 08:10:43 -08:00