Commit Graph

61 Commits

Author SHA1 Message Date
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
Alessandro Comodi 887c5b67a9 exclude docs in `make test`
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-09-04 15:44:45 +02:00
Keith Rothman 9fc7adde11 Update make line for harnesses.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-08-09 16:28:33 -07:00
Keith Rothman 6f019f58a4 Add 50 MHz harness to harness list.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-08-08 08:54:31 -07:00
Karol Gugala caeeb04dc6 Makefile: install sdf_timing module in env target
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-04-28 18:53:06 -07:00
Tomasz Michalak d07cfe457f fuzzers: disable harness generation for artix7
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-04-23 16:25:13 -07:00
Tomasz Michalak d908eea23e Make Makefiles use bash shell
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-04-18 09:28:31 +02:00
Keith Rothman 36177e9599 Add make targets to build additional outputs from each database.
These targets are for:
 - Generating additional database outputs that are part, e.g. yaml files.
 - Generating harnesses

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-04-10 11:55:39 -07:00
Keith Rothman 6b4621a7d6 Fix incorrect utility name.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-03-26 15:23:12 -07:00
Tim 'mithro' Ansell 822b1af81d Update the info.md on Kokoro.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-03-22 15:16:25 -07:00
Tim 'mithro' Ansell 76b5c1c9ca Change xxxdb to db-xxx.
Makes it work better with tab completion, type db-<tab>
Groups the db related commands together.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-03-22 15:16:03 -07:00
Tim 'mithro' Ansell 14642f64f8 Don't use system's site-packages.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell fc1f36f3c0 infra: Restructure.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell 745965d4de infra: Capture test results in Kokoro.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Tim 'mithro' Ansell 4bb8ff9ebf make: Split the formatdb / checkdb into part specific targets.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 21:59:25 +11:00
Keith Rothman 1e3a136ce1 Install FASM into environment properly.
This will make sure that any requirements for the FASM library are
correctly installed into the environment too.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-02-07 13:50:39 +11:00
Keith Rothman 273c240e6c Attempt #2 to make travis happy.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-06 17:34:26 -08:00
Keith Rothman 94217d105c Update package symlinks.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-02-06 17:25:11 -08:00
Tim 'mithro' Ansell 57237d185d Makefile: Fail if formatting fails.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-01-30 17:11:54 +11:00
Tim 'mithro' Ansell a0d1c98056 Adding a `make formatdb` target.
Target will,

 * Canonicalize the database by running `./utils/sort_db.py`
 * Regenerate the [`Info.md` file](database/Info.md)

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-01-30 17:11:54 +11:00
Tim 'mithro' Ansell 0def5b2eeb infra: Add docs to make format.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-01-10 19:56:33 -08:00
Tim 'mithro' Ansell 96c1874131 infra: Make travis run tests
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-01-10 19:54:53 -08:00
Tim 'mithro' Ansell 136d367f99 Refactor Makefile.
* Split up file better.
 * Add test running.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-01-10 18:48:59 -08:00
Tim 'mithro' Ansell 841905c1e0 Adding `make test` target.
Uses [py.test](https://pytest.org) to collect all Python doctests and
unittests.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-01-10 18:48:48 -08:00
Tim 'mithro' Ansell 9ebaf01de6 Add fasm into the environment.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-01-10 18:48:48 -08:00
John McMaster d3a01f5895 python => python3
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
2018-12-23 21:09:53 -08:00
Tim 'mithro' Ansell 91a1f8ba50 Add checkdb target to top level Makefile.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-12-19 17:07:59 -08:00
Tim 'mithro' Ansell 9f6f134c66 Small Makefile cleanup.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-12-17 19:13:45 -08:00
Tim 'mithro' Ansell 4fb29753ca Check yaml *inside* the environment.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-12-17 18:50:47 -08:00
Tim 'mithro' Ansell 60e3f66674 Make sure YAML is installed.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-12-17 17:03:19 -08:00
John McMaster d92748d24e make format: fix .git
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-17 14:29:48 -08:00
Tim 'mithro' Ansell 23c435aa6e Improve `make format`.
* Use `yapf` from environment if it exists.
 * Better way to generate exclude.
 * Make TCL formatting work.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-12-13 18:31:10 -08:00
John McMaster 9a4e8a4084 make format: parallelize
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-10 17:25:43 -08:00