Skip to content
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

Warnings in make env #1654

Closed
SSandeep19 opened this issue Sep 2, 2020 · 18 comments
Closed

Warnings in make env #1654

SSandeep19 opened this issue Sep 2, 2020 · 18 comments

Comments

@SSandeep19
Copy link

Hi,

I am a Phd student working on FPGA security. I am trying to use Symbiflow to generate bitstream for Xilinx Artix-7. I am facing multiple problems while installing the toolchain by following the steps given in getting started section from symbiflow (https://symbiflow.readthedocs.io/en/latest/symbiflow-arch-defs/docs/source/getting-started.html). I have cloned the repository from github and when i executed "make env" in symbiflow-arch-defs there are lot of warnings related to vivado as shown in the attached screenshot. There is another error also regarding Sanitizers which i am attaching the screenshot for. I want to know is this the right way to install the tools and please let me know if any changes are required in my approach.
My goal is to generate bitstream for a given verilog file using symbiflow for Artix 7 FPGA. I am working in Ubuntu without vivado installed in the system.
Any help would be greatly appreciated. Please point me in the right direction if this is not the place to ask.

bitse_02
bitse_01

Regards,
Sandeep
ss1548@wildcats.unh.edu

@litghost
Copy link
Contributor

litghost commented Sep 2, 2020

Did you read the warnings? Do you believe you care about what the warnings are telling you? If you do care, did you follow the instructions in the warnings?

@SSandeep19
Copy link
Author

Yes i actually tried to install Vivado for linux and the download constantly failed. I want to know if that is what the warnings are about and is Vivado needed for symbiflow to work or is there anything else to the warnings. I couldn't find any packages for Sanitizers.

@litghost
Copy link
Contributor

litghost commented Sep 2, 2020

Vivado is not required. Targets that invoke Vivado (e.g. the targets printed in the warnings) will not work without it. If you aren't invoking one of those targets, I don't believe you care.

@SSandeep19
Copy link
Author

SSandeep19 commented Sep 2, 2020

Will those targets be invoked if i am generating a bitstream for Xilinx Artix-7 ?. If i follow the next step provided by symbiflow in their website (https://symbiflow.readthedocs.io/en/latest/symbiflow-arch-defs/docs/source/getting-started.html). In the documentation it is asking to execute make all_conda but it is throwing another error.
bits_03

@litghost
Copy link
Contributor

litghost commented Sep 2, 2020

Will those targets be invoked if i am generating a bitstream for Xilinx Artix-7 ?

No

If i follow the next step provided by symbiflow in their website (https://symbiflow.readthedocs.io/en/latest/symbiflow-arch-defs/docs/source/getting-started.html). In the documentation it is asking to execute make all_conda but it is throwing another error.

That instruction is out of date, it is no longer required.

@HackerFoo
Copy link
Contributor

HackerFoo commented Sep 2, 2020

Hi Sandeep,

There is also an alternative way to build Symbiflow packages that may be easier for you, especially if have used Nix: https://github.com/hackerfoo/nix-symbiflow

You'll need to change use-vivado ? true to use-vivado ? false on the third line of default.nix.

Then:

nix-build ~/src/nix-symbiflow -A symbiflow-arch-defs

will build the toolchain on your machine.

Also note that https://github.com/SymbiFlow/symbiflow-examples will download a prebuilt toolchain, if you'd rather not wait several hours to build the toolchain.

-- Dusty

GitHub
Nix packages for SymbiFlow projects and dependencies - HackerFoo/nix-symbiflow
GitHub
Examples designs for showing different ways to use SymbiFlow toolchains. - SymbiFlow/symbiflow-examples

@SSandeep19
Copy link
Author

Hi litghost,

Is there any updated document i can refer to ? Does it mean symbiflow is build and ready to use ? if so what are the commands i should run next ?

@SSandeep19
Copy link
Author

Hi HackerFoo,

The Nix provided says that those package are only for developers and not for users. I just want to generate a bitstream for a verilog file using Symbiflow, do you think it is good for me also ?

@litghost
Copy link
Contributor

litghost commented Sep 2, 2020

Hi litghost,

Is there any updated document i can refer to ? Does it mean symbiflow is build and ready to use ? if so what are the commands i should run next ?

There is an example directly below in the getting-started you linked? There is also instructions on https://github.com/SymbiFlow/symbiflow-examples

GitHub
Examples designs for showing different ways to use SymbiFlow toolchains. - SymbiFlow/symbiflow-examples

@HackerFoo
Copy link
Contributor

HackerFoo commented Sep 3, 2020

@SSandeep19 While the Nix packages can work for users, I recommend trying https://github.com/SymbiFlow/symbiflow-examples first, as the Nix packages track current development and will take a long time to build.

GitHub
Examples designs for showing different ways to use SymbiFlow toolchains. - SymbiFlow/symbiflow-examples

@SSandeep19
Copy link
Author

SSandeep19 commented Sep 3, 2020

Hi litghost,

I tried the example provided in getting started document and i faced an error, attached screenshot of it. I want to know how to generate bitstream of the verilog file i have using symbiflow please provide if there is any documentation as such, i tried to find the verilog file of the counter provided as example and couldn't find it.
th_01

@acomodi
Copy link
Contributor

acomodi commented Sep 3, 2020

Hi @SSandeep19, this error is a result of CMake not emitting the <test>_bin targets any more due to a recent change. You can generate the bitstream using the following target:

make counter_arty_bit

If your aim though is just to generate bitstreams from a verilog design, without experimenting on the architecture itself, it might be better to make use of the symbiflow examples repository as suggested above.

@tcal-x
Copy link
Contributor

tcal-x commented Sep 3, 2020 via email

@SSandeep19
Copy link
Author

SSandeep19 commented Sep 3, 2020

Hi acomodi,

Thank you it worked. I actually need to work on the toolchain architecture like how to just run Yosis and get eblif file or just run VPR. Is there a way to do it and how to run my verilog file because i cannot figure out where to input my verilog file. Please let me know if there is any documentation. Do you still think https://github.com/SymbiFlow/symbiflow-examples will serve my purpose better.

GitHub
Examples designs for showing different ways to use SymbiFlow toolchains. - SymbiFlow/symbiflow-examples

@SSandeep19
Copy link
Author

SSandeep19 commented Sep 3, 2020

Hi tcal-x,

Thank you for your reply. I wanted to work on the tool chain architecture like to run yosys to get eblif file or give eblif file as input and run VPR to get net,place and route files. I also want to generate bit file for my verilog code not just the examples given in symbiflow. Any documentation or suggestions on this would greatly help me. Or do you think i can get this done by following symbiflow examples.

@tcal-x
Copy link
Contributor

tcal-x commented Sep 3, 2020

@SSandeep19 , I agree with the others that symbiflow-examples is the best place to start. It has a few examples for Artix 7-series devices, and the makefile structure is straightforward for copying and creating your own project.

@SSandeep19
Copy link
Author

Hi tcal-x,
Thank you and i started with SymbiFlow examples and i am facing some errors with it so i have a raised a issue in that project and this is the link for the issue chipsalliance/f4pga-examples#45 (comment). Any help would be very much appreciated.

@litghost
Copy link
Contributor

@SSandeep19 I believe this issue is resolved. Please let us know if there is still something remaining.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants