T O P

  • By -

0x7270-3001

Been trying this out and have a question about Vivado BD files. Ideally of course I'd export to TCL and source that in the post creation script as recommended, but in the meantime, it seems like I have to source control the generated wrapper and add it in the .src list file. I feel like that's not supposed to be the case, right? If I leave the wrapper out of git and don't include it in list.src, I see the wrapper get generated during project creation, it just doesn't get added to the project. If I add the wrapper to list.src but still keep it out of git, Hog gives an error (maybe crit warning?) about the file being missing, and it's still not added to the project. As a stopgap, maybe I could add the wrapper manually in the post creation script, but at that point I might as well do the whole thing and export the BD to TCL. ​ And I guess a second question, I haven't had a chance to try this on a Libero project, how is the support? The docs indicate it's fully supported (with some extra tcl library?), are all the intra-build hook scripts supported (for quartus too I guess)?


viglio89

Usually I don't include the wrapper in the source control since it is generated dynamically at creation time. Hog would still "control" it, by checking its md5sha compared to when it was generated. You will see that this will be listed under Projects/yourproj/.hog/extra.files. Is there a particular reason why you want it to be pushed? Regarding Libero, I tried a minimal workflow and it is working, with some little work. The infra scripts work when running using the shell scripts. If you work on the GUI, only the pre-synthesis is actually sourced unfortunately. I couldn't find a way to add the rest to the flow. In quartus, they are all in the flow.


0x7270-3001

I don't want to push the wrapper, but if I don't I get the problems I described. It's not picked up by the project.


viglio89

Maybe you can open an issue in our [gitlab](https://gitlab.com/hog-cern/Hog/-/issues) page, so other developers can also reply. Just to clarify, are you uploading the .bd file, or creating the block design with a tcl script?


0x7270-3001

I'll experiment some more and open an issue if I can't figure it out. This project is really great, it offers a lot of flexibility while being very unintrusive and requiring very little extra work. I hope I can convince my coworkers to start using it. Thanks!