-
Notifications
You must be signed in to change notification settings - Fork 2
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
/s/sfbuild/f4pga/ CI testing #140
Conversation
Signed-off-by: Unai Martinez-Corral <[email protected]>
Signed-off-by: Unai Martinez-Corral <[email protected]>
Signed-off-by: Unai Martinez-Corral <[email protected]>
Signed-off-by: Unai Martinez-Corral <[email protected]>
Signed-off-by: Unai Martinez-Corral <[email protected]>
Signed-off-by: Unai Martinez-Corral <[email protected]>
Signed-off-by: Unai Martinez-Corral <[email protected]>
I tried installing the environment from f4pga-examples, and activating it. However, sf_module_runner is failing: https://github.com/antmicro/f4pga-arch-defs/runs/5383595255?check_suite_focus=true#step:4:1999
@kboronski-ant, any guess? I tried isolating the snippet and testing it with multiple Python versions: https://github.com/umarcor/f4pga-arch-defs/actions/runs/1919246644 |
Signed-off-by: Unai Martinez-Corral <[email protected]>
Signed-off-by: Unai Martinez-Corral <[email protected]>
Authored-By: Krzysztof Boronski <[email protected]> Signed-off-by: Unai Martinez-Corral <[email protected]>
Signed-off-by: Unai Martinez-Corral <[email protected]>
8f0e191
to
4919d99
Compare
Got further by importing The current error is the following:
|
Signed-off-by: Unai Martinez-Corral <[email protected]>
4919d99
to
c031dd8
Compare
Another step forward: fixed the path to Now, it's failing to process one of the fields in the platform JSON file: https://github.com/antmicro/f4pga-arch-defs/runs/5385182587?check_suite_focus=true#step:4:18
|
@umarcor This I can see that you are specifying
Maybe try as a string like:
I guess @kboronski-ant should help you with that. |
Signed-off-by: Unai Martinez-Corral <[email protected]>
c031dd8
to
e6ba42d
Compare
@mkurc-ant thanks! I could work around it by hardcoding the path to the constraints file in the platform JSON file: f24273c @kboronski-ant shall I use the "relative path" in the flow JSON and revert the change to the platform JSON? |
Superseeded by chipsalliance/f4pga#530. |
/cc @kboronski-ant @acomodi @mkurc-ant @kgugala
As discussed in a meeting, this is a subset of the work-in-progress to update/continue sfbuild.
f4pga/docs
todocs/f4pga
(i.e. they are integrated in the Sphinx site, as a section).Before going into further modifications to the code, the purpose of this PR is to have a minimal CI test to ensure things are not broken during refactorisation.
Testing the scripts alone does work:
However attempting to run a build fails:
make env PYTHONPATH=$(pwd)/f4pga python3 f4pga/sfbuild.py build --platform xc7a50t -t bitstream
As discussed, the
make env
command of this repository is not the correct way to "bootstrap" an environment for testing "how to generate a bitstream from HDL sources using the F4PGA environment installed through Conda". Furthermore, I'm not even activating the environment explicitly, so CI fails.So, shall I follow the f4pga-examples.readthedocs.io: Getting F4PGA instructions and then use sfbuild?