-
Notifications
You must be signed in to change notification settings - Fork 299
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
Some fixes for fpga/ #280
Some fixes for fpga/ #280
Conversation
Rename messages.tcl to common.tcl and add a number of CPU detection based on the system's getconf with a fallback to "4". Change all invocations of "launch_run" to use this derived number of jobs instead of none or a hard-coded number of "8". To that end, an additional number of .tcl files have to include common.tcl now.
Also, use ${PROJECT} in xilinx_mem_32768x32_dp and unify the related makefiles.
Since the |
While we are at it... why are |
Hi @stefanct , I think these may be removed safely. I think we can remove and merge your changes if you manage to get this working on 2018.3... unfortunately no one in the PULP team is working actively on PULPino at the moment, so we cannot help that much I'm afraid... |
- copy the sysdef file produced by implementation to root dir - in the sw makefile refer to the copies instead of the built files within the *.runs directory
Ensure that the build order is 1. ips (in any order) 2. pulpino 3. pulpemu 4. sw (because it depends on files from pulpemu) Also, use $(MAKE) to facilitate parallel builds.
- Set default board name to em.avnet.com:zed:0.9 This corresponds to revision C of the Zedboard since at least Vivado 2015.1. - Use "board_part" property instead of just "board" as suggested by Vivado 2015.1.
Very similar fixes were applied to the Linux kernel.
4c26d68
to
b8bfaa3
Compare
Hi, |
Hey, |
Hi, Edit: one of the spiload commits had a severe bug thus I re-pushed that branch which changed the commit ID above. |
Hi @stefanct I'm currently trying to get this repository running for Vivado 2018.3. In face before I found your pull request I tried fixing whatever errors came around. Yet I cannot completly build the whole project. I changed the regarding tcl scripts for compiling (setting the floating point IP to 7.1 from 7.0, removing dirs that caused errors when existing empty, etc.). I currently get stopped by |
On Tue, 30 Apr 2019 03:04:45 -0700 saahm ***@***.***> wrote:
Hi @stefanct I'm currently trying to get this repository running for Vivado 2018.3. In face before I found your pull request I tried fixing whatever errors came around.
It seems that you did more clean-up.
Yet I cannot completly build the whole project. I changed the regarding tcl scripts for compiling (setting the floating point IP to 7.1 from 7.0, removing dirs that caused errors when existing empty, etc.).
I currently get stopped by
`
# source tcl/ips_inc_dirs.tcl
couldn't read file "tcl/ips_inc_dirs.tcl": no such file or directory
while executing
"source tcl/ips_inc_dirs.tcl"
(file "tcl/run.tcl" line 62)
`
when using `make all` in the fpga directory. Did you already encounter these problems?
Hi,
my guess would be a problem with the IPs repositories.
Pulpino does not use ordinary git submodules but have dedicated scripts
to handle/import repositories they rely on, cf. Pulpino's readme.
…--
Kind regards/Mit freundlichen Grüßen, Stefan Tauner
|
Hi, that worked thanks. I checked your commits and figured out, that my changes to get it running for Vivado 2018.3 are similar (you seem to propagate more proper changes in makefiles, etc. while I just fix whatever creates an error in the tcl scripts).
|
Yeah, I am way too thorough (to get anything done productively ;) I remember that problem with the axi crossbar. Did you try my branch or try to recreate the changes yourself? IIRC I have fixed it but I don't remember from the top of my head what the problem was. |
I have not tried your branch yet. I was pretty much all the way in the process of "porting" it to 2018.3 when I stumbled on your pull request. |
Alright, I happen to check your branch out and try your pull request changes. Sadly I encounter the axi crossbar issue as well. Do you have multiple versions of vivado on your machine that it doesnt error on the fp fma or is this dependant on the linux distribution you run? I run vivado and the riscv toolchain as well as the repository and its dependencies on a clean lubuntu 16 lts for reference. |
I was speaking about the other branch that specifically deals with Vivado 2018.3 issues, not the more general fixes of this very pull request. Sorry for the confusion. We should probably continue in the respective issue since this one is rather for the other more general issues/improvements that work with older versions of Vivado as well. |
Oh thanks. That truly clears up a lot of confusion. I will try out your fork. I quickly checked the diff to this repository and found files I havent touched my try of porting it. So it looks promising. |
hi @stefanct ive also started working on pulpino and using zedboard for implementation on FPGA purpose and and im constantly facing the following error could you please help me resolve it; ERROR: [Synth 8-1766] cannot open include file config.sv [/home/U17EC115/Downloads/pulpino-master/rtl/sp_ram_wrap.sv:11] |
Superseded. |
While working on porting pulpino to Vivado 2018.3 I was fixing a low-hanging problems in the build scripts within
fpga/
. The Makefiles of the IP cores could be made completely the same/a single file but I refrained from that for now. Also, cleaning all sub-projects on every run seems a bit silly... but I am not nearly knowledgeable enough in the context of Vivado IPs to provide a proper setup for that though. More to come when I get 2018.3 to work...