Commit Graph

93 Commits

Author SHA1 Message Date
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 f562d6acfd Makefile: Do not dump the environment during db-prepare
The resources.yaml file does not exists at the beginning of the db-prepare calls
but the environment wants to read it which leads to the following error:

Preparing artix7 files
============================
Traceback (most recent call last):
  File ".../prjxray/utils/create_environment.py", line 62, in <module>
    main()
  File ".../prjxray/utils/create_environment.py", line 55, in main
    environment = get_environment_variables()
  File ".../prjxray/utils/create_environment.py", line 37, in get_environment_variables
    part_info = get_part_information(db_root, part)
  File ".../prjxray/prjxray/util.py", line 44, in get_part_information
    "Mapping file {} does not exists".format(filename)
AssertionError: Mapping file .../prjxray/database/artix7/mapping/parts.yaml does not exists

Do not dump the environment during this stage because the XRAY_PART is the only
neccessary information which is set in the <family>.sh script.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-03-26 08:28:54 +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 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
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
Daniel Schultz a5ad410875 Makefile: Remove variable export
These informations are now stores in device-specific mapping files and
run_fuzzers stores them as variable.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-01-12 22:36:58 +01:00
Tomasz Michalak 6740e18a63 Add test-tools to test pseudo target
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2020-12-01 15:48:12 +01:00
Tomasz Michalak f283ac921b Add tools test
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2020-12-01 15:48:12 +01:00
Keith Rothman c7033a6a19 Clean up python install process.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-09-09 09:48:48 -07: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
Tim Ansell 1f41082937
Merge pull request #1301 from antmicro/licensing
Updating copyright headers to match current best practices
2020-05-26 09:01:50 -07:00
Tim 'mithro' Ansell 29b9896f42 Add check-license to Makefile.
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
2020-05-26 08:15:17 -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
Andrew Butt e27733b714 Added support for xc7z020clg400-1 and added an openocd config file for pynq-z1
Signed-off-by: Andrew Butt <butta@seas.upenn.edu>
2020-05-22 16:34:51 -04:00
Alessandro Comodi 60d0ec4372 tools: added INSTALL cmake command
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-05-21 13:58:45 +02: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 98a6bf3071 Make Makefile more robust by sourcing settings/artix7.sh when needed.
Signed-off-by: Tim Callahan <tcal@google.com>
2020-05-17 11:29:42 -07:00
Tim Callahan 7b4cb853d7 Enable xc7100t part db generation, add ignored wires for fuzzer 074.
Signed-off-by: Tim Callahan <tcal@google.com>
2020-04-28 15:58:35 -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 14600d771a fix artix7_200t settings source
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-04-02 11:22:21 +02: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
Alessandro Comodi 27a8e27381 run htmlgen in Travis CI
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-04-01 19:37:52 +02:00
Tim Ansell 08be5a9d01
Merge pull request #1247 from mithro/small-cleanup
Couple of small cleanup changes
2020-02-26 21:20:51 -08:00
Keith Rothman 9d9fc20d38 Add xc7a200tsbg484-1 extra data.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-19 16:34:12 -08:00
Keith Rothman 1f22d60160 Fix up Makefile dependences.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-19 16:34:12 -08:00
Keith Rothman 6bace67abf Don't double build the harnesses.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-19 16:34:11 -08:00
Keith Rothman ec6b1aa02d Fix some typo's.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-19 16:34:11 -08:00
Keith Rothman 80add259ed Fix some parallelism issues.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-19 16:34:11 -08:00
Keith Rothman 9f839a7a08 Attempt to parallelize 074 for additional parts.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-19 16:34:11 -08:00
Alessandro Comodi c20d1d46e5 re-enable artix 200T extra-part generation
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-02-19 16:32:33 -08:00
Keith Rothman 0364315e82 Avoid race in 001 fuzzer.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-18 10:45:26 -08:00
Tim 'mithro' Ansell 5165df03fe utils: Support global python environment settings.
* Move Python environment values into `utils/environment.python.sh`
 * Source the `utils/environment.python.sh` before running Python
   scripts.
 * Add `DeprecationWarning` suppression for `distutils`

Now the output of `make test-py` returns `30 passed in N.NNs` instead of
the previous `30 passed, 1 warnings in N.NNs`

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-02-18 10:27:08 -08:00
litghost e4f544eb91
Merge pull request #1231 from litghost/add_xc7a35tftg256pkg
Add xc7a35tftg256 package to extra output.
2020-02-13 07:41:25 -08:00
Keith Rothman fba82535f8 Add xc7a35tftg256 package to extra output.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-12 14:42:36 -08:00
Tim 'mithro' Ansell 21710d336f Ignore docs/env.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-02-10 08:12:43 -08:00
Alessandro Comodi 0e42957c92 enabled multi part generation
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-27 18:45:43 +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 4e7185e348 zynq: Remove harness generation
Also fixed erroneously removed Makefile lines that caused artix db to
fail

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-27 11:26:23 +01:00
Alessandro Comodi 0b623982e5 divided harness and extra parts creation
There is an issue with the roi_harness creation, for which the
multi-process make does not correctly works for roi_harness target

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi 90d88bc7a2 fix roi_only parts
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi c7cf7099a1 address review comments
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +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
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
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 e2e2d41405 MAKEFILE - FORMAT - Trailing Whitespace
`make format` now additionally removes trailing whitespace.  Also now
ignores .bit files.

Signed-off-by: Jake Mercer <jake.mercer@civica.co.uk>
2019-10-22 19:35:24 +01:00
Jake Mercer 638c174962 MAKEFILE - Check if Root
Added a check to the top-level Makefile to ensure that it has not been
invoked by ID 0 i.e. `root` or `sudo`.

Resolves #1100.

Signed-off-by: Jake Mercer <jake.mercer@civica.co.uk>
2019-10-20 00:40:35 +01:00
Tim Ansell d78b50af8b
Merge pull request #1040 from antmicro/fix-sphinx-xref-links
Fixing documentation cross-reference links
2019-09-25 10:29:07 -07:00
Tomasz Michalak ba924087eb Fix HARNESS_DIR path for db-extras-zynq7
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-09-12 09:05:25 +02:00
Tomasz Michalak 50d8c368c8 Re-enable harness generation for Zynq
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-09-09 15:12:44 +02:00