-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xc7s50 #1797
xc7s50 #1797
Conversation
The original
|
Try cloning your repository without the branch flag, then switch to the branch with |
Then do a
Then do a Typing on a phone, so might be typos.... |
@acomodi and @QuantamHD can you organise to get a Spartan 7 Kokoro runner added? Just follow the Artix / Kintex examples... |
Done but I don't think anything's changed
I'll keep researching. Sorry for the trouble, first time making a PR to another repo. |
c9f3c8a
to
6fe7af7
Compare
Did something already go wrong? The checks says the presubmit database for spartan7 was successfully built in less than 2 minutes, but the other existing families are still being built even though they've spent nearly 3 hours by now. |
@acomodi Good for review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @MidsummerNight, thanks for this PR!
Apart from the comments below there is one more thing missing which is enabling CI for the spartan7
. This can be done by replacing the call to the nothing.sh
script to the db-full.sh
one here: https://github.com/SymbiFlow/prjxray/blob/60168e9b7e89956ce8a197f3cfdf6d4bc80926d3/.github/kokoro/presubmit-db-spartan7.cfg#L3 as well as here: https://github.com/SymbiFlow/prjxray/blob/60168e9b7e89956ce8a197f3cfdf6d4bc80926d3/.github/kokoro/continuous-db-spartan7.cfg#L3 similarly as it happens for the other parts.
Makefile
Outdated
ARTIX_PARTS=artix7_50t artix7_200t | ||
ZYNQ_PARTS=zynq7010 | ||
KINTEX_PARTS= | ||
SPARTAN_PARTS=spartan7_50 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are actually needed to build extra parts. By extra part is meant everything else apart from the bits documentation, e.g. tile grid, pips and wires, etc.
For instance, the main part for the artix7 that is used for the bit documentation (e.g. the one that runs the fuzzers) is the 100T: https://github.com/SymbiFlow/prjxray/blob/master/settings/artix7.sh
The 50t
and 200t
are added to generate the tilegrid and tileconn files as well.
Similarly, for the spartan7 we'd need to have a main part, in this case the 50
, which shouldn't be added here as an extra part.
settings/spartan7.sh
Outdated
# https://opensource.org/licenses/ISC | ||
# | ||
# SPDX-License-Identifier: ISC | ||
source $(dirname ${BASH_SOURCE[0]})/spartan7_50.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should already contain the spartan7_50.sh
content without sourcing it, and the spartan7_50.sh
should be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I deleted the old spartan7.sh
and renamed spartan7_50.sh
to spartan7.sh
, deleted spartan7_50
from the Makefile and changed the Kokoro config files as well. Let's see if it works this time!
Files changed according to @acomodi's comments in f4pga#1797
Files changed according to @acomodi's comments in f4pga#1797 Signed-off-by: Steve <lbh_9506@163.com>
dee3928
to
6eb45bf
Compare
30e4997
to
15e46a4
Compare
CI seems to be failing due to missing targets. I believe you may add the following to the Makefile to run successfully:
|
1cb248c
to
e37d732
Compare
2ebca85
to
b651c08
Compare
The old `/usr/share/ca-certificates/mozilla/DST_Root_CA_X3.crt` Let's Encrypt certificate that has expired. The "best" solution seems to be to delete the certificate. This is fine because the new non-expired `/usr/share/ca-certificates/mozilla/ISRG_Root_X1.crt` certificate is still available. See the post at https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/ for more explanation. Signed-off-by: Tim 'mithro' Ansell <tansell@google.com> Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Content mostly copied from `spartan7.sh` and spartan7_50.sh from @litghost's `spartan7_50` branch of `prjxray`. Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Following Project X-Ray's "Guide to adding a new device to an existing family" to add device.yaml for the Spartan-7 family. Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Added SPARTAN_PARTS Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Add `spartan7` to `DATABASES` Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Make `spartan7` an acceptable parameter Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Add `spartan7` as an acceptable argument Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Change `SPARTAN_PARTS` to `spartan7_50` from `spartan7_50t` Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Change `xc7s50t` to `xc7s50` so that `make db-prepare-spartan7` can work correctly. Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Add `clock pin` and `data pins` from @MaksRawski's `spartan7_50.sh` Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Bump 2020 to 2021 in the copyright section Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Add the ignored wires file to fuzzer 074. Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Sort the order to improve readability Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Content mostly copied from `spartan7.sh` and spartan7_50.sh from @litghost's `spartan7_50` branch of `prjxray`. Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Following Project X-Ray's "Guide to adding a new device to an existing family" to add device.yaml for the Spartan-7 family. Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Change `xc7s50t` to `xc7s50` so that `make db-prepare-spartan7` can work correctly. Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Add `clock pin` and `data pins` from @MaksRawski's `spartan7_50.sh` Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Bump 2020 to 2021 in the copyright section Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Files changed according to @acomodi's comments in f4pga#1797 Signed-off-by: Steve <lbh_9506@163.com> Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Add `${SPARTAN_PARTS}` back to `XRAY_PARTS` following how the Makefile handles Kintex Signed-off-by: Steve <lbh_9506@163.com> Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Change `nothing.sh` to `db-full.sh` Signed-off-by: Steve <lbh_9506@163.com> Signed-off-by: Steve <steve.bohan.liu@outlook.com>
CI seems to miss targets, add spartan7 targets to try fix this Signed-off-by: Steve <lbh_9506@163.com> Signed-off-by: Steve <steve.bohan.liu@outlook.com>
A reminder that you should use `tab` instead of `space` Signed-off-by: Steve <lbh_9506@163.com> Signed-off-by: Steve <steve.bohan.liu@outlook.com>
Closing, superseded by #1802 |
Attempt to add
xc7s50
support for Project X-Ray. Most fuzzers passed on my own machine (see #1789 for details), @acomodi suggested I make this PR and run it through CI for further inspection. Content ofspartan7_50.sh
was copied from @MaksRawski's repo.