barbedo / vivado-git

A git-friendly Vivado wrapper
Other
214 stars 38 forks source link

More of a write up anywhere? #8

Open garengllc opened 3 years ago

garengllc commented 3 years ago

I've been looking for a good way to use git with Vivado and came across this today. I was excited to try it today, but am having issues. I setup the folders like you said, I create a new project via the GUI, and then when I run git init in the tcl console, it does it in the project subfolder that won't be tracked. I am sure I am missing something stupid, but I am having issues finding a write up that walks through things in more detail than the README. I am using Vivado 2020.1. Are you aware of any other write ups on your tools? TIA

garengllc commented 3 years ago

I may have found my issue, I was creating a subfolder under vivado_project. When I stopped doing that, the git init seems to work. I still wouldn't mind seeing some other write ups if there are some as I am not sure I am out of the woods yet (it has been trying to do the git commit for about 20 mins so far).

Atirat commented 3 years ago

@garengllc @barbedo Hello, did you resolve the git commit problem? I am also using Vivado 2020.1.1. It gets stuck at "common::get_param..." I do not know what the problem is. It seems the project tcl gets generated fine and is also staged for commit but I cannot commit because Vivado gets stuck. Any help would be appreciated.

garengllc commented 3 years ago

@Atirat I did get past my issues and used this setup successfully on that project. What is the last command you are running when you are having issues?

Atirat commented 3 years ago

Well, as I said, I am running the "git commit" after setting up the folder structure and staging the sources. Vivado shows the commands that it is executing. The last one it shows is "common::get_param...". There it gets stuck. When I try to cancel the process it also gets stuck and I have to relaunch it. The project generation script got generated and staged for commit. I do not know, if the script got generated completely or in the right way but when I try to use it to regenerate the project it fails to do so.

garengllc commented 3 years ago

@Atirat When you run git commit, run it with the option to put the message with it on the command line. The problem is that it is requesting the message, but it isn't being passed through the TCL window, so it sits waiting on the user to write one. If you type git commit -am "the initial commit" is should work fine. Let me know

Atirat commented 3 years ago

@garengllc Thank you very much. It worked. But now I encountered different problems related to my design. There is an AXIS Broadcaster which has an input width of 128 bit and same output widths. The generator tries to set the output width before the input width as it seems. This throws an error, because the standard input width is 8 and 128 exceeds that.

garengllc commented 3 years ago

Good, glad to hear it!

Unfortunately I can't help you with that new issue. I think the developer would need to chime in on that one. Good luck!

On Jul 15, 2021, 9:20 AM, at 9:20 AM, Tim @.> wrote: @. Thank you very much. It worked. But now I encountered

different problems related to my design. There is an AXIS Broadcaster which has an input width of 128 bit and same output widths. The generator tries to set the output width before the input width as it seems. This throws an error, because the standard input width is 8 and 128 exceeds that.

-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_barbedo_vivado-2Dgit_issues_8-23issuecomment-2D880689344&d=DwICaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=W_MQLyUWPXWHfsF4mr51mTMqpeO4RbBBLexficV9DG8&m=jpevmXIWrW33UqhAm2k9DRsQshj0fuePOYEkgs6Y_aA&s=c0DU5o13CE3OJMYWrljAnEvzumg7-NNP6Fth6MPVZEE&e=

Atirat commented 3 years ago

Well, this would be great. One more question: Did you had to add the project summary to git as well? Because for me it would complain that it is missing if I do not add it.

garengllc commented 3 years ago

I have to admit that it has been a while since I've played with it. What project summary are you referring to? When I quickly look at my project I was using this for, I don't see one in there.


From: Tim @.> Sent: Thursday, July 15, 2021 9:37 AM To: barbedo/vivado-git @.> Cc: Jason Matusiak @.>; Mention @.> Subject: Re: [barbedo/vivado-git] More of a write up anywhere? (#8)

Well, this would be great. One more question: Did you had to add the project summary to git as well? Because for me it would complain that it is missing if I do not add it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_barbedo_vivado-2Dgit_issues_8-23issuecomment-2D880701719&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=W_MQLyUWPXWHfsF4mr51mTMqpeO4RbBBLexficV9DG8&m=x-vt_3X33DIXqiTofNDOGBMFmmbpffnzGEQTpmkBj6o&s=f4DC6ejtSHe9UXRWH_YolOqj1kR_aVIK_8C6NVG-thY&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AAUCNFTLPX4C2AS7ECFEGJ3TX3QDHANCNFSM4XRGJL3A&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=W_MQLyUWPXWHfsF4mr51mTMqpeO4RbBBLexficV9DG8&m=x-vt_3X33DIXqiTofNDOGBMFmmbpffnzGEQTpmkBj6o&s=fVZV78bgeYqID_IP1jM9Pi5YxNJJ4TUbeAbxYQ_UI20&e=.